Commit ecfcb5c3 authored by Jean-Frederic Clere's avatar Jean-Frederic Clere
Browse files

Allow apr and apr-util to be in 2 different location.

Otherwise: apr_version.h is not found when apr-util is tested.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091330 13f79535-47bb-0310-9956-ffa450edef68
parent c7a57f26
Loading
Loading
Loading
Loading
+8 −0
Changes for configure.in: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -367,8 +367,16 @@ fi

if test "${apu_found}" = "yes"; then
  # Require at least APR-util 1.3.x otherwise fail
  if test "${apr_found}" = "yes"; then
    # we need to add the APR includes to CPPFLAGS
    apu_ckver_CPPFLAGS="$CPPFLAGS"
    CPPFLAGS="$CPPFLAGS `$apr_config --includes`"
    APACHE_CHECK_APxVER([apu], 1, 3)
    CPPFLAGS="$apu_ckver_CPPFLAGS"
  else
    APACHE_CHECK_APxVER([apu], 1, 3)
  fi
fi

dnl Check for what we can generate dependency files with
APR_CHECK_DEPEND