]> granicus.if.org Git - php/commitdiff
Relax autoconf support from 2.60 to 2.59. This is the version available on Centos...
authorChristopher Jones <sixd@php.net>
Wed, 8 Jun 2011 01:25:35 +0000 (01:25 +0000)
committerChristopher Jones <sixd@php.net>
Wed, 8 Jun 2011 01:25:35 +0000 (01:25 +0000)
build/buildcheck.sh
configure.in
scripts/phpize.m4

index 2815e3e0e6118dc2105f96bd4ed8577c0c4bb5ae..8754e3a292aec15266ae41ed8bffdb09d11deed8 100755 (executable)
@@ -28,18 +28,18 @@ if test -z "$PHP_AUTOCONF"; then
   PHP_AUTOCONF='autoconf'
 fi
 
-# autoconf 2.60 or newer
+# autoconf 2.59 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.60 or newer installed"
+echo "           You need autoconf version 2.59 or newer installed"
 echo "           to build PHP from SVN."
 exit 1
 fi
 IFS=.; set $ac_version; IFS=' '
-if test "$1" = "2" -a "$2" -lt "60" || test "$1" -lt "2"; then
+if test "$1" = "2" -a "$2" -lt "59" || test "$1" -lt "2"; then
 echo "buildconf: autoconf version $ac_version found."
-echo "           You need autoconf version 2.60 or newer installed"
+echo "           You need autoconf version 2.59 or newer installed"
 echo "           to build PHP from SVN."
 exit 1
 else
index a905cede231af6f0d6822083e55db90576155328..0b0eb200ae19e5e9ed74de5750ff744c613a2860 100644 (file)
@@ -8,9 +8,9 @@ sinclude(Zend/acinclude.m4)
 dnl Basic autoconf + automake initialization, generation of config.nice.
 dnl -------------------------------------------------------------------------
 
-AC_PREREQ(2.60)
+AC_PREREQ(2.59)
 AC_INIT(README.SVN-RULES)
-AC_PRESERVE_HELP_ORDER
+ifdef([AC_PRESERVE_HELP_ORDER], [AC_PRESERVE_HELP_ORDER], [])
 
 PHP_CONFIG_NICE(config.nice)
 
index 7faf6231da07fa20ef18bb23c8010131381c4a3f..d745ca744381eaaa39a3ba6040212df79bb0dc74 100644 (file)
@@ -1,8 +1,8 @@
 dnl This file becomes configure.in for self-contained extensions.
 
-AC_PREREQ(2.60)
+AC_PREREQ(2.59)
 AC_INIT(config.m4)
-AC_PRESERVE_HELP_ORDER
+ifdef([AC_PRESERVE_HELP_ORDER], [AC_PRESERVE_HELP_ORDER], [])
 
 PHP_CONFIG_NICE(config.nice)