httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r170029 - /httpd/httpd/trunk/configure.in
Date Fri, 13 May 2005 14:44:22 GMT
Author: jorton
Date: Fri May 13 07:44:21 2005
New Revision: 170029

URL: http://svn.apache.org/viewcvs?rev=170029&view=rev
Log:
* configure.in: Disallow use of bundled APR with external APR-util, or
bundled APR-util with external APR, another cause of the dreaded
PR21718.

Modified:
    httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/configure.in?rev=170029&r1=170028&r2=170029&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Fri May 13 07:44:21 2005
@@ -95,6 +95,16 @@
   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],



Mime
View raw message