summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2012-10-10 03:04:36 +0200
committerJeff Trawick <trawick@apache.org>2012-10-10 03:04:36 +0200
commit864d3d0d878deea713ae3ff3a134b5affe6ab9b0 (patch)
treee3f04ae5b60f0db2a8581180f1b19ab378904222 /acinclude.m4
parentFollow up r1393976: Fix typo in enablement of mod_systemd that caused it to b... (diff)
downloadapache2-864d3d0d878deea713ae3ff3a134b5affe6ab9b0.tar.xz
apache2-864d3d0d878deea713ae3ff3a134b5affe6ab9b0.zip
Follow on to r1393976 and r1396424:
mod_systemd: Specify "all" instead of "yes" (on Unix) so that APACHE_MODULE doesn't act as if the user requested it. General: Fix APACHE_MODULE so that failed prereqs will disable a module unless the user requested it explicitly. Result: By default systemd will be enabled where it actually works and disabled otherwise, but if the user requests it and the prereqs fail then configure will halt. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1396440 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m413
1 files changed, 3 insertions, 10 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 86d2e08c51..91f54f16ff 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -335,22 +335,15 @@ AC_DEFUN(APACHE_MODULE,[
AC_ARG_ENABLE(translit($1,_,-),APACHE_HELP_STRING(optname(),$2),force_$1=$enableval,enable_$1=ifelse($5,,maybe-all,$5))
undefine([optname])dnl
_apmod_extra_msg=""
- dnl When --enable-modules=most or --enable-modules=(really)all is set and the
- dnl module was not explicitly requested, allow a module to disable itself if
+ dnl If the module was not explicitly requested, allow it to disable itself if
dnl its pre-reqs fail.
case "$enable_$1" in
yes|static|shared)
_apmod_required="yes"
;;
*)
- case "$module_selection" in
- reallyall|all|most)
- _apmod_required="no"
- ;;
- *)
- _apmod_required="yes"
- ;;
- esac
+ _apmod_required="no"
+ ;;
esac
if test "$enable_$1" = "static"; then
enable_$1=static