Commit ca4e8cc1 authored by Joe Orton's avatar Joe Orton
Browse files

* 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
parent a0092a5b
Loading
Loading
Loading
Loading
+8 −0
Changes for configure.in: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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`)