From: Joe Orton Date: Fri, 13 May 2005 14:44:21 +0000 (+0000) Subject: * configure.in: Disallow use of bundled APR with external APR-util, or X-Git-Tag: 2.1.5~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e3e8896830f86ce175e7729c2caf200fdd90eb;p=thirdparty%2Fapache%2Fhttpd.git * configure.in: Disallow use of bundled APR with external APR-util, or bundled APR-util with external APR, another cause of the dreaded PR21718. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170029 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 422d59d7470..c7e43e9a32d 100644 --- a/configure.in +++ b/configure.in @@ -95,6 +95,16 @@ if test "$apu_found" = "no"; then AC_MSG_ERROR([APR-util not found. Please read the documentation.]) fi +# Catch some misconfigurations: +case ${apr_found}.${apu_found} in +reconfig.yes) + AC_MSG_ERROR([Cannot use an external APR-util with the bundled APR]) + ;; +yes.reconfig) + AC_MSG_ERROR([Cannot use an external APR with the bundled APR-util]) + ;; +esac + if test "$apu_found" = "reconfig"; then APR_SUBDIR_CONFIG(srclib/apr-util, [--with-apr=../apr --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir],