]> granicus.if.org Git - apache/commitdiff
fix some bugs that appeared once some APACHE_MODULE() invocations were
authorGreg Stein <gstein@apache.org>
Sun, 18 Feb 2001 00:20:25 +0000 (00:20 +0000)
committerGreg Stein <gstein@apache.org>
Sun, 18 Feb 2001 00:20:25 +0000 (00:20 +0000)
changed in the config.m4 files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88220 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4

index bcd88a727234f3607563d527b125565b993e5066..c5d7b7be4f8eb2d09b83c40ae6ade25716204f12 100644 (file)
@@ -281,18 +281,18 @@ AC_DEFUN(APACHE_MODULE,[
   undefine([optname])dnl
   _apmod_extra_msg=""
   if test "$enable_$1" = "most"; then
-    if "$module_selection" = "most"; then
-      $enable_$1=$module_default
-      _apmod_extra_msg=" (most)"
+    if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+      enable_$1=$module_default
+      _apmod_extra_msg=" ($module_selection)"
     else
-      $enable_$1=no
+      enable_$1=no
     fi
   elif test "$enable_$1" = "maybe-all"; then
-    if "$module_selection" = "all"; then
-      $enable_$1=$module_default
+    if test "$module_selection" = "all"; then
+      enable_$1=$module_default
       _apmod_extra_msg=" (all)"
     else
-      $enable_$1=no
+      enable_$1=no
     fi
   fi
   AC_MSG_RESULT($enable_$1$_apmod_extra_msg)