cvs: php4 /build buildcheck.sh
| From: | Sascha Schumann | Date: | Thu, 24 May 2001 12:36:09 +0000 |
| Subject: | cvs: php4 /build buildcheck.sh | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5984@lists.php.net to get a copy of this message | ||
sas Thu May 24 05:36:09 2001 EDT
Modified files:
/php4/build buildcheck.sh
Log:
Display the correct automake version
Index: php4/build/buildcheck.sh
diff -u php4/build/buildcheck.sh:1.10 php4/build/buildcheck.sh:1.11
--- php4/build/buildcheck.sh:1.10 Wed May 23 12:13:24 2001
+++ php4/build/buildcheck.sh Thu May 24 05:36:09 2001
@@ -16,7 +16,7 @@
# | Sascha Schumann <sascha@schumann.cx> |
# +----------------------------------------------------------------------+
#
-# $Id: buildcheck.sh,v 1.10 2001/05/23 19:13:24 sas Exp $
+# $Id: buildcheck.sh,v 1.11 2001/05/24 12:36:09 sas Exp $
#
echo "buildconf: checking installation..."
@@ -40,14 +40,15 @@
fi
# automake 1.4 or newer
-am_version=
automake --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e
's/[a-z]* *$//' -e 's/-p[0-9]*$//'
+am_version=automake --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e
's/[a-z]* *$//'
+am_version_clean=echo $am_version|sed -e 's/-p[0-9]*$//'
if test "$am_version" = ""; then
echo "buildconf: automake not found."
echo " You need automake version 1.4 or newer installed"
echo " to build PHP from CVS."
exit 1
fi
-IFS=.; set $am_version; IFS=' '
+IFS=.; set $am_version_clean; IFS=' '
if test "$1" = "1" -a "$2" -lt "4" || test "$1"
-lt "1"; then
echo "buildconf: automake version $am_version found."
echo " You need automake version 1.4 or newer installed"