httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <>
Subject [BUG] [Apache 2] configure options get discarded
Date Mon, 25 Feb 2002 16:01:33 GMT
Using a clean checkout of Apache2 (also tested with the 2.0.32-alpha
tarball) it appears that most of the "Directory and file names" options get
overwritten when configure invokes APACHE_LAYOUT()
This is because no check is made to see whether --enable-layout has been
passed to configure before the layout extraction code is run with the
"Apache" layout as the default. 
The attached patch checks for this; with the patch you have to specifically
enable a layout.
Thom May	         || [...] and the French an excuse to use their traditional	 || battle cry. -- Firebeard 
+44(0)7736773209         || "We Surrender, here, have my daughter."? -- Paul Tomblin

--- acinclude.m4.orig	Mon Feb 25 15:48:57 2002
+++ acinclude.m4	Mon Feb 25 15:53:23 2002
@@ -337,10 +337,14 @@
 if test -z "$LAYOUT"; then
-APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
+if test ! -z "$enableval"; then
+  APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
-AC_MSG_CHECKING(for chosen layout)
+  AC_MSG_CHECKING(for chosen layout)
+  AC_MSG_RESULT($layout_name)
+  echo "Not enabling a Layout"

View raw message