httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r649256 - /httpd/httpd/trunk/modules/session/config.m4
Date Thu, 17 Apr 2008 20:04:11 GMT
Author: rpluem
Date: Thu Apr 17 13:04:09 2008
New Revision: 649256

URL: http://svn.apache.org/viewvc?rev=649256&view=rev
Log:
* Fix r649054: Do the correct thing when neither enable nor disable is specfied.

Modified:
    httpd/httpd/trunk/modules/session/config.m4

Modified: httpd/httpd/trunk/modules/session/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/config.m4?rev=649256&r1=649255&r2=649256&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/session/config.m4 (original)
+++ httpd/httpd/trunk/modules/session/config.m4 Thu Apr 17 13:04:09 2008
@@ -1,5 +1,14 @@
 dnl modules enabled in this directory by default
 
+if test "$enable_session" = "shared"; then
+  session_mods_enable=shared
+elif test "$enable_proxy" = "yes"; then
+  session_mods_enable=yes
+else
+  session_mods_enable=no
+fi
+
+
 dnl Session
 
 dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
@@ -10,10 +19,10 @@
 dnl various places, such as databases, LDAP, or cookies.
 dnl
 APACHE_MODULE(session, session module, , , most)
-APACHE_MODULE(session_cookie, session cookie module, , , $enable_session)
-APACHE_MODULE(session_crypto, session crypto module, , , $enable_session)
-APACHE_MODULE(session_dbd, session dbd module, , , $enable_session)
-dnl APACHE_MODULE(session_ldap, session ldap module, , , $enable_session)
+APACHE_MODULE(session_cookie, session cookie module, , , $session_mods_enable)
+APACHE_MODULE(session_crypto, session crypto module, , , $session_mods_enable)
+APACHE_MODULE(session_dbd, session dbd module, , , $session_mods_enable)
+dnl APACHE_MODULE(session_ldap, session ldap module, , , $session_mods_enable)
 
 APACHE_MODPATH_FINISH
 



Mime
View raw message