From: Joe Orton Date: Wed, 26 Oct 2005 12:33:16 +0000 (+0000) Subject: * configure.in: Require apr >= 1.2.0 and apr-util >= 1.2.0. X-Git-Tag: 2.3.0~2827 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa23b6a5c476b25a471f1227c810ab4223632e85;p=apache * configure.in: Require apr >= 1.2.0 and apr-util >= 1.2.0. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328641 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 3234797648..dcdafb5bba 100644 --- a/configure.in +++ b/configure.in @@ -87,6 +87,11 @@ APR_INCLUDEDIR=`$apr_config --includedir` 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 @@ if test "$apu_found" = "reconfig"; then 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`)