]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* configure.in: Enforce 1.4.0 as minimum APR version requirement.
authorJoe Orton <jorton@apache.org>
Fri, 8 Jun 2012 10:04:44 +0000 (10:04 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 8 Jun 2012 10:04:44 +0000 (10:04 +0000)
PR: 52748

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1347998 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 1c61b190c39aafbfbeac682a15cf1d68a563cb7e..6611e2c018d8cff89a1072b9b89ebfa51aa3330c 100644 (file)
@@ -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