diff options
author | Stefan Fritsch <sf@apache.org> | 2010-06-14 18:53:02 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2010-06-14 18:53:02 +0000 |
commit | ca23fa130c766ce0febf610b0e02ffbcab6bdb82 (patch) | |
tree | fe0eeea3e488c918c36cb6149c0cf1b93413f149 /buildconf | |
parent | ed06b71981674c609e3520e0f475d7358067fb12 (diff) | |
download | httpd-ca23fa130c766ce0febf610b0e02ffbcab6bdb82.tar.gz |
prevent an error message if an old autoconf without AC_PROG_CC_C99 is used but
print a meaningful warning instead
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -19,6 +19,18 @@ # buildconf: Build the support scripts needed to compile from a # checked-out version of the source code. +# version check for AC_PROG_CC_C99 +ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;q'` +case "$ac_version" in +# versions older than 2.50 are denied by AC_PREREQ +2.5*) + echo WARNING: You are using an outdated version of autoconf. + echo WARNING: This may lead to less than optimal performance of httpd. + echo WARNING: You should use autoconf 2.60 or newer. + sleep 1 + ;; +esac + # set a couple of defaults for where we should be looking for our support libs. # can be overridden with --with-apr=[dir] and --with-apr-util=[dir] |