Bug #13674 Updated: build/buildcheck.sh fails if automake version strings contains dashes
| From: | sniper@php.net | Date: | Wed, 24 Oct 2001 09:59:12 +0000 |
| Subject: | Bug #13674 Updated: build/buildcheck.sh fails if automake version strings contains dashes | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68930@lists.php.net to get a copy of this message | ||
ID: 13674
Updated by: sniper
Reported By: marco@esiway.net
Old Status: Feedback
Status: Closed
Bug Type: *Configuration Issues
Operating System: RedHat Linux 6.2 + updates
PHP Version: 4.0.6
New Comment:
This is fixed in CVS long time ago. :)
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-10-20 20:25:02] sniper@php.net
What is this automake version? I have stock RH 6.2 automake
installed and it reports the version to be 1.4
--Jani
------------------------------------------------------------------------
[2001-10-15 15:40:07] marco@esiway.net
automake version here is 1.4-p1, and buildcheck fails to
parse it.
build/buildcheck.sh: test: integer expression expected
before -lt
the following patch fixes it (maybe also \. and caps should
be added):
--- php-4.0.6/build/buildcheck.sh.ver Sat May 12 11:03:58 2001
+++ php-4.0.6/build/buildcheck.sh Mon Oct 15 21:21:57 2001
@@ -22,7 +22,7 @@
echo "buildconf: checking installation..."
# 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 -1|sed -e
's/^[^0-9]*//' -e 's/[-a-z][-0-9a-z]* *$//'`
if test -z "$ac_version"; then
echo "buildconf: autoconf not found."
echo " You need autoconf version 2.13 or newer
installed"
@@ -40,7 +40,7 @@
fi
# automake 1.4 or newer
-am_version=`automake --version 2>/dev/null|head -1|sed -e
's/^[^0-9]*//' -e 's/[a-z]* *$//'`
+am_version=`automake --version 2>/dev/null|head -1|sed -e
's/^[^0-9]*//' -e 's/[-a-z][-0-9a-z]* *$//'`
if test "$am_version" = ""; then
echo "buildconf: automake not found."
echo " You need automake version 1.4 or newer
installed"
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13674&edit=1