From: Ruediger Pluem Date: Thu, 17 Apr 2008 20:24:52 +0000 (+0000) Subject: * The previous patch did not work correctly with neither enable nor disable X-Git-Tag: 2.3.0~698 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7aff7e99b38426bd6e8144724c9bca86dce64c;p=thirdparty%2Fapache%2Fhttpd.git * The previous patch did not work correctly with neither enable nor disable set. It just set all mod_session_* to 'no'. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649262 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/session/config.m4 b/modules/session/config.m4 index 5b191bb6075..dbfde56dda1 100644 --- a/modules/session/config.m4 +++ b/modules/session/config.m4 @@ -1,14 +1,11 @@ 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 +if test -z "$enable_session" ; then + session_mods_enable=most else - session_mods_enable=no + session_mods_enable=$enable_session fi - dnl Session dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])