diff options
author | Tal Peer <tal@php.net> | 2003-09-28 10:32:13 +0000 |
---|---|---|
committer | Tal Peer <tal@php.net> | 2003-09-28 10:32:13 +0000 |
commit | aa5f0bdfd28771944ecf137e372a7cea1714f02f (patch) | |
tree | a831c2b29b04561bc62956a31812872a337d59f2 /build/buildcheck.sh | |
parent | 0c9a167beaa56032dd8840bcd0f3cffe3cae2a81 (diff) | |
download | php-git-aa5f0bdfd28771944ecf137e372a7cea1714f02f.tar.gz |
Fix buildconf for systems using coreutils-5.0
Diffstat (limited to 'build/buildcheck.sh')
-rwxr-xr-x | build/buildcheck.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh index b51b328632..7597e0ed2a 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -16,7 +16,7 @@ # | Sascha Schumann <sascha@schumann.cx> | # +----------------------------------------------------------------------+ # -# $Id: buildcheck.sh,v 1.28 2003-07-01 03:08:16 jason Exp $ +# $Id: buildcheck.sh,v 1.29 2003-09-28 10:32:13 tal Exp $ # echo "buildconf: checking installation..." @@ -24,7 +24,7 @@ echo "buildconf: checking installation..." stamp=$1 # autoconf 2.13 or newer -ac_version=`autoconf --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` +ac_version=`autoconf --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` if test -z "$ac_version"; then echo "buildconf: autoconf not found." echo " You need autoconf version 2.13 or newer installed" @@ -53,7 +53,7 @@ fi # libtoolize 1.4.3 or newer # Prefer glibtoolize over libtoolize for Mac OS X compatibility libtoolize=`./build/shtool path glibtoolize libtoolize 2> /dev/null` -lt_pversion=`$libtoolize --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//'` +lt_pversion=`$libtoolize --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//'` if test "$lt_pversion" = ""; then echo "buildconf: libtool not found." echo " You need libtool version 1.4.3 or newer installed" |