diff --git a/build/buildcheck.sh b/build/buildcheck.sh index 7db31e2c0ce..6601fc9943c 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -25,18 +25,18 @@ if test -z "$PHP_AUTOCONF"; then PHP_AUTOCONF='autoconf' fi -# autoconf 2.64 or newer +# autoconf 2.68 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.64 or newer installed" +echo " You need autoconf version 2.68 or newer installed" echo " to build PHP from Git." exit 1 fi IFS=.; set $ac_version; IFS=' ' -if test "$1" = "2" -a "$2" -lt "64" || test "$1" -lt "2"; then +if test "$1" = "2" -a "$2" -lt "68" || test "$1" -lt "2"; then echo "buildconf: autoconf version $ac_version found." -echo " You need autoconf version 2.64 or newer installed" +echo " You need autoconf version 2.68 or newer installed" echo " to build PHP from Git." exit 1 else diff --git a/configure.ac b/configure.ac index 54144917a23..81c7f9ccc3d 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ sinclude(Zend/acinclude.m4) dnl Basic autoconf + automake initialization, generation of config.nice. dnl ------------------------------------------------------------------------- -AC_PREREQ([2.64]) +AC_PREREQ([2.68]) AC_INIT(README.GIT-RULES) ifdef([AC_PRESERVE_HELP_ORDER], [AC_PRESERVE_HELP_ORDER], []) diff --git a/scripts/phpize.m4 b/scripts/phpize.m4 index f234e68ea8a..55fa08d7c45 100644 --- a/scripts/phpize.m4 +++ b/scripts/phpize.m4 @@ -1,6 +1,6 @@ dnl This file becomes configure.ac for self-contained extensions. -AC_PREREQ(2.59) +AC_PREREQ([2.68]) AC_INIT(config.m4) ifdef([AC_PRESERVE_HELP_ORDER], [AC_PRESERVE_HELP_ORDER], [])