]> granicus.if.org Git - php/commitdiff
Fixed bug #75142 buildcheck.sh check for autoconf version needs to be updated for...
authorRemi Collet <remi@php.net>
Tue, 5 Sep 2017 06:16:33 +0000 (08:16 +0200)
committerRemi Collet <remi@php.net>
Tue, 5 Sep 2017 06:16:33 +0000 (08:16 +0200)
build/buildcheck.sh

index a6b202d17f133dc0fb45959244c53ec88fbc7cbb..09d30c77b407e553f8887c2a32b71ebaca1b39de 100755 (executable)
@@ -28,18 +28,18 @@ if test -z "$PHP_AUTOCONF"; then
   PHP_AUTOCONF='autoconf'
 fi
 
-# autoconf 2.59 or newer
+# autoconf 2.64 or newer
 ac_version=`$PHP_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.59 or newer installed"
+echo "           You need autoconf version 2.64 or newer installed"
 echo "           to build PHP from Git."
 exit 1
 fi
 IFS=.; set $ac_version; IFS=' '
-if test "$1" = "2" -a "$2" -lt "59" || test "$1" -lt "2"; then
+if test "$1" = "2" -a "$2" -lt "64" || test "$1" -lt "2"; then
 echo "buildconf: autoconf version $ac_version found."
-echo "           You need autoconf version 2.59 or newer installed"
+echo "           You need autoconf version 2.64 or newer installed"
 echo "           to build PHP from Git."
 exit 1
 else