]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* configure.in: Disallow use of bundled APR with external APR-util, or
authorJoe Orton <jorton@apache.org>
Fri, 20 May 2005 11:01:13 +0000 (11:01 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 20 May 2005 11:01:13 +0000 (11:01 +0000)
bundled APR-util with external APR, another cause of the dreaded
PR21718.

Reviewed by: jorton, nd, trawick, pquerna

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@171097 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index fffc863f4d8094a3c483e4067b84cd94879b294a..f1cccd46ea04260402a10f2c73b6f8573ad9a664 100644 (file)
@@ -94,6 +94,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],