]> granicus.if.org Git - apache/commitdiff
We still have to pass the dependency check to APACHE_MODULE to ensure
authorStefan Fritsch <sf@apache.org>
Tue, 8 Nov 2011 01:34:58 +0000 (01:34 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 8 Nov 2011 01:34:58 +0000 (01:34 +0000)
that mod_session_crypto is disabled with --enable-mods-shared=reallyall

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

modules/session/config.m4

index 1f6f364ebad4e3e93be7614d8fd967c564753c1b..373df4761a647a884e6c68656f2716987133cbe2 100644 (file)
@@ -54,7 +54,11 @@ if test "$session_mods_enable_crypto" != "no"; then
     session_mods_enable_crypto="no"
   fi
 fi
-APACHE_MODULE(session_crypto, session crypto module, $session_crypto_objects, , $session_mods_enable_crypto)
+APACHE_MODULE(session_crypto, session crypto module, $session_crypto_objects, , $session_mods_enable_crypto, [
+if test "$session_mods_enable_crypto" = "no" ; then
+  enable_session_crypto=no
+fi
+])
 
 APACHE_MODULE(session_dbd, session dbd module, $session_dbd_objects, , $session_mods_enable)