mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
Set --enable-load-all-modules implicitely in
maintainer mode unless disabled explicitely. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1201306 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
23
configure.in
23
configure.in
@@ -540,7 +540,16 @@ AC_ARG_ENABLE(exception-hook,APACHE_HELP_STRING(--enable-exception-hook,Enable f
|
||||
[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_HELP_STRING(--enable-maintainer-mode,Turn o
|
||||
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_define_APR_HAVE_IPV6 = "yes"; then
|
||||
[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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user