summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2012-06-08 12:04:44 +0200
committerJoe Orton <jorton@apache.org>2012-06-08 12:04:44 +0200
commit48b343524e9ac5d88626092ca91d81687a80f759 (patch)
tree8678560b31df0be9b759288b9fbc1f3fb5cfbc21 /configure.in
parentxforms (diff)
downloadapache2-48b343524e9ac5d88626092ca91d81687a80f759.tar.xz
apache2-48b343524e9ac5d88626092ca91d81687a80f759.zip
* configure.in: Enforce 1.4.0 as minimum APR version requirement.
PR: 52748 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1347998 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1c61b190c3..6611e2c018 100644
--- a/configure.in
+++ b/configure.in
@@ -93,7 +93,16 @@ if test "x$with_included_apr" = "xyes"; then
AC_MSG_ERROR([Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.])
fi
else
- APR_FIND_APR("$srcdir/srclib/apr", "./srclib/apr", 1, 1 2)
+ APR_FIND_APR("$srcdir/srclib/apr", "./srclib/apr", 1, 1 2, [
+ version=`$apr_config --version`
+ case x${version} in
+ x1.[[0-3]].*)
+ AC_MSG_WARN([APR version 1.4.0 or later is required, found $version])
+ apr_acceptable=no
+ ;;
+ esac
+ unset version
+ ])
fi
if test "$apr_found" = "no"; then