|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13674 build/ fails if automake version strings contains dashes
Submitted: 2001-10-15 15:40 UTC Modified: 2001-10-24 05:59 UTC
From: marco at esiway dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0.6 OS: RedHat Linux 6.2 + updates
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
16 - 14 = ?
Subscribe to this entry?

 [2001-10-15 15:40 UTC] marco at esiway dot net
automake version here is 1.4-p1, and buildcheck fails to
parse it.

build/ test: integer expression expected
before -lt

the following patch fixes it (maybe also \. and caps should
be added):

--- php-4.0.6/build/	Sat May 12 11:03:58 2001
+++ php-4.0.6/build/	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
@@ -40,7 +40,7 @@
 # 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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 20:25 UTC]
What is this automake version? I have stock RH 6.2 automake
installed and it reports the version to be 1.4


 [2001-10-24 05:59 UTC]
This is fixed in CVS long time ago. :)


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 00:01:31 2024 UTC