From: Sascha Schumann Date: Tue, 1 Jul 2003 04:25:32 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.3RC2~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ba98ed5d3c3d7e5232cec58cc2aa948fc99930e;p=php MFH (jason) Prevent lines following the version output from confusing the version test --- diff --git a/build/buildcheck.sh b/build/buildcheck.sh index f537b1bf2f..c0a09593a9 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -16,7 +16,7 @@ # | Sascha Schumann | # +----------------------------------------------------------------------+ # -# $Id: buildcheck.sh,v 1.21.2.4 2003-06-27 00:19:26 sas Exp $ +# $Id: buildcheck.sh,v 1.21.2.5 2003-07-01 04:25:32 sas Exp $ # echo "buildconf: checking installation..." @@ -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|sed -e 's/^[^0-9]*//'` +lt_pversion=`$libtoolize --version 2>/dev/null|head -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"