httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1201306 - in /httpd/httpd/trunk: configure.in docs/manual/programs/configure.xml
Date Sat, 12 Nov 2011 19:13:45 GMT
Author: rjung
Date: Sat Nov 12 19:13:44 2011
New Revision: 1201306

URL: http://svn.apache.org/viewvc?rev=1201306&view=rev
Log:
Set --enable-load-all-modules implicitely in
maintainer mode unless disabled explicitely.

Modified:
    httpd/httpd/trunk/configure.in
    httpd/httpd/trunk/docs/manual/programs/configure.xml

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1201306&r1=1201305&r2=1201306&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Sat Nov 12 19:13:44 2011
@@ -540,7 +540,16 @@ AC_ARG_ENABLE(exception-hook,APACHE_HELP
               [Allow modules to run hook after a fatal exception])
 ])dnl
 
-AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn on debugging
and compile time warnings),
+AC_ARG_ENABLE(load-all-modules,APACHE_HELP_STRING(--enable-load-all-modules,Load all modules),
+[
+  LOAD_ALL_MODULES=$enableval
+  AC_MSG_NOTICE([Setting "LOAD_ALL_MODULES" to $LOAD_ALL_MODULES])
+],
+[
+  LOAD_ALL_MODULES="no"
+])
+
+AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn on debugging
and compile time warnings and load all compiled modules),
 [
   APR_ADDTO(CPPFLAGS, -DAP_DEBUG)
   if test "$GCC" = "yes"; then
@@ -553,6 +562,10 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HEL
   elif test "$AIX_XLC" = "yes"; then
     APR_ADDTO(CFLAGS,-qfullpath -qinitauto=FE -qcheck=all -qinfo=pro)
   fi
+  if test "x$enable_load_all_modules" = "x"; then
+    LOAD_ALL_MODULES=yes
+    AC_MSG_NOTICE([Maintainer mode setting "LOAD_ALL_MODULES" to $LOAD_ALL_MODULES])
+  fi
 ])dnl
 
 AC_ARG_ENABLE(debugger-mode,APACHE_HELP_STRING(--enable-debugger-mode,Turn on debugging and
compile time warnings and turn off optimization),
@@ -730,14 +743,6 @@ if test $v4mapped = "yes" -a $ac_cv_defi
               [Allow IPv4 connections on IPv6 listening sockets])
 fi
 
-AC_ARG_ENABLE(load-all-modules,APACHE_HELP_STRING(--enable-load-all-modules,Load all modules),
-[ 
-  LOAD_ALL_MODULES=$enableval
-],
-[
-  LOAD_ALL_MODULES="no"
-])
-
 ### libapreq build integration.
 if test -d $abs_srcdir/srclib/libapreq && false; then
    get_version="$abs_srcdir/build/get-version.sh"

Modified: httpd/httpd/trunk/docs/manual/programs/configure.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/programs/configure.xml?rev=1201306&r1=1201305&r2=1201306&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/programs/configure.xml (original)
+++ httpd/httpd/trunk/docs/manual/programs/configure.xml Sat Nov 12 19:13:44 2011
@@ -388,7 +388,8 @@
     <section id="otheroptfeat"><title>Cumulative and other options</title>
       <dl>
         <dt><code>--enable-maintainer-mode</code></dt>
-        <dd>Turn on debugging and compile time warnings.</dd>
+        <dd>Turn on debugging and compile time warnings
+            and load all compiled modules.</dd>
 
         <dt><code>--enable-mods-shared=<var>MODULE-LIST</var></code></dt>
         <dd>



Mime
View raw message