* configure.in: Require apr >= 1.2.0 and apr-util >= 1.2.0.
* configure.in: Move apr/apr-util version checks later to fix in-tree
apr/apr-util build failures due to $EGREP not getting set early
enough.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@331606
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.1.10
+ *) Require use of APR >= 1.2.0 and APR-util >= 1.2.0 when configured
+ to use external copies of the libraries. [Joe Orton]
+
*) Fix DESTDIR=... installation when using bundled copy of APR.
[Torsten Foertsch <torsten.foertsch gmx.net>]
AC_ISC_POSIX
AC_MINIX
+# Ensure that satisfactory versions of apr and apr-util are
+# found if external copies are configured.
+if test "${apr_found}" = "yes"; then
+ # Require APR 1.2.x otherwise fail
+ APACHE_CHECK_APxVER([apr], 1, 2)
+fi
+
+if test "${apu_found}" = "yes"; then
+ # Require APR-util 1.2.x otherwise fail
+ APACHE_CHECK_APxVER([apu], 1, 2)
+fi
+
dnl Check for what we can generate dependency files with
APR_CHECK_DEPEND