Ticket #2504: scummvm_configure_tail.patch

File scummvm_configure_tail.patch, 553 bytes (added by SF/lblume, 18 years ago)

Configure patch to use XPG4 tail on Solaris

  • scummvm/configure

    old new  
    561561
    562562echocheck "compiler version"
    563563
    564 cxx_name=`( $cc -v ) 2>&1 | tail -1l | cut -d ' ' -f 1`
     564case $_host_os in
     565        # On Solaris, use Unix-compliant tail
     566        solaris*)
     567                tail=/usr/xpg4/bin/tail
     568                ;;
     569
     570        # All other OSes: use the tail in PATH
     571        *)
     572                tail=tail
     573                ;;
     574esac
     575
     576
     577cxx_name=`( $cc -v ) 2>&1 | $tail -n 1 | cut -d ' ' -f 1`
    565578cxx_version=`( $CXX -dumpversion ) 2>&1`
    566579if test "$?" -gt 0; then
    567580        cxx_version="not found"