diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2008-06-20 17:31:41 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2008-06-20 17:31:41 +0000 |
commit | 7f20c6e0c218caa7d7fffe03d3c55eb99c75bd9e (patch) | |
tree | f18552e5903404c370b849a0f2e860fa3da035b6 /build | |
parent | 39907fa4936310de9aa6beb7d161b59c0eba743a (diff) | |
download | apr-7f20c6e0c218caa7d7fffe03d3c55eb99c75bd9e.tar.gz |
Back out the 2.60 requirement, adopt conditional handling for the
new AC_USE_SYSTEM_EXTENSIONS as of 2.60.
Submitted by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@670000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rwxr-xr-x | build/buildcheck.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh index 637ef140a..62fe931ae 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -14,18 +14,18 @@ py_version=`python -c 'import sys; print sys.version' 2>&1|sed 's/ .*//;q'` echo "buildconf: python version $py_version (ok)" fi -# autoconf 2.60 or newer +# autoconf 2.50 or newer ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;q'` 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.50 or newer installed" echo " to build APR 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 "50" || 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.50 or newer installed" echo " to build APR from SVN." exit 1 else |