summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2011-06-08 01:25:35 +0000
committerChristopher Jones <sixd@php.net>2011-06-08 01:25:35 +0000
commit9622d0050d6143da338ce9fc518ee8475f4f3613 (patch)
tree0748a71b2c31eaf6ba48749df08cdd6d4f32c903 /build
parentddaddf6c2ad337b6b2140c82cdeca56f30333947 (diff)
downloadphp-git-9622d0050d6143da338ce9fc518ee8475f4f3613.tar.gz
Relax autoconf support from 2.60 to 2.59. This is the version available on Centos/RHEL/Oracle Linux 5.6
Diffstat (limited to 'build')
-rwxr-xr-xbuild/buildcheck.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh
index 2815e3e0e6..8754e3a292 100755
--- a/build/buildcheck.sh
+++ b/build/buildcheck.sh
@@ -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