There was a thread about this previously; just checking for consensus,
is there any objection to bumping the apr/apr-util version requirements
to 1.2.x? (1.2.x is already required for mod_dbd, event MP, and it will
simplify the code to allow unconditional use of 1.2.x features)
Index: configure.in
===================================================================
--- configure.in (revision 328042)
+++ configure.in (working copy)
@@ -87,6 +87,11 @@
APR_VERSION=`$apr_config --version`
APR_CONFIG="$APR_BINDIR/apr-`echo ${APR_VERSION} | sed 's,\..*,,'`-config"
+if test "${apr_found}" = "yes"; then
+ # Require APR 1.2.x otherwise fail
+ APACHE_CHECK_APxVER([apr], 1, 2)
+fi
+
echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}"
APR_FIND_APU("$srcdir/srclib/apr-util", "./srclib/apr-util", 1, 1)
@@ -112,6 +117,9 @@
dnl We must be the last to build and the first to be cleaned
AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS apr-util"
AP_CLEAN_SRCLIB_DIRS="apr-util $AP_CLEAN_SRCLIB_DIRS"
+else
+ # Require APR-util 1.2.x otherwise fail
+ APACHE_CHECK_APxVER([apu], 1, 2)
fi
APR_ADDTO(LDFLAGS, `$apu_config --ldflags`)