]> granicus.if.org Git - apache/commitdiff
* configure.in: Require apr >= 1.2.0 and apr-util >= 1.2.0.
authorJoe Orton <jorton@apache.org>
Wed, 26 Oct 2005 12:33:16 +0000 (12:33 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 26 Oct 2005 12:33:16 +0000 (12:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328641 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 3234797648ed23728b4e76b6ebc17e5f5d4a8738..dcdafb5bbaa32d631cc0999cd159eb99620619a1 100644 (file)
@@ -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`)