4a1711ab536d965e63d7be80e29f912287fe70b2rbowendnl modules enabled in this directory by default
4a1711ab536d965e63d7be80e29f912287fe70b2rbowen
4a1711ab536d965e63d7be80e29f912287fe70b2rbowenif test -z "$enable_session" ; then
d3e250aab242db84d14060985b5db675a731d548nd session_mods_enable=most
4a1711ab536d965e63d7be80e29f912287fe70b2rbowenelse
4a1711ab536d965e63d7be80e29f912287fe70b2rbowen session_mods_enable=$enable_session
4a1711ab536d965e63d7be80e29f912287fe70b2rbowenfi
4a1711ab536d965e63d7be80e29f912287fe70b2rbowen
4a1711ab536d965e63d7be80e29f912287fe70b2rbowendnl Session
4a1711ab536d965e63d7be80e29f912287fe70b2rbowen
4a1711ab536d965e63d7be80e29f912287fe70b2rbowendnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
4a1711ab536d965e63d7be80e29f912287fe70b2rbowen
APACHE_MODPATH_INIT(session)
dnl Session modules; modules that are capable of storing key value pairs in
dnl various places, such as databases, LDAP, or cookies.
dnl
session_cookie_objects='mod_session_cookie.lo'
session_crypto_objects='mod_session_crypto.lo'
session_dbd_objects='mod_session_dbd.lo'
case "$host" in
*os2*)
# OS/2 DLLs must resolve all symbols at build time
# and we need some from main session module
session_cookie_objects="$session_cookie_objects mod_session.la"
session_crypto_objects="$session_crypto_objects mod_session.la"
session_dbd_objects="$session_dbd_objects mod_session.la"
;;
esac
APACHE_MODULE(session, session module, , , most)
APACHE_MODULE(session_cookie, session cookie module, $session_cookie_objects, , $session_mods_enable,,session)
if test "$enable_session_crypto" != ""; then
session_mods_enable_crypto=$enable_session_crypto
else
session_mods_enable_crypto=$session_mods_enable
fi
if test "$session_mods_enable_crypto" != "no"; then
saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $APR_INCLUDES $APU_INCLUDES"
AC_TRY_COMPILE([#include <apr_crypto.h>],[
#if APU_HAVE_CRYPTO == 0
#error no crypto support
#endif
], [ap_HAVE_APR_CRYPTO="yes"], [ap_HAVE_APR_CRYPTO="no"])
CPPFLAGS="$saved_CPPFLAGS"
if test $ap_HAVE_APR_CRYPTO = "no"; then
AC_MSG_WARN([Your APR does not include SSL/EVP support. To enable it: configure --with-crypto])
if test "$enable_session_crypto" != "" -a "$enable_session_crypto" != "no"; then
AC_MSG_ERROR([mod_session_crypto cannot be enabled])
fi
session_mods_enable_crypto="no"
fi
fi
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
],session)
APACHE_MODULE(session_dbd, session dbd module, $session_dbd_objects, , $session_mods_enable,,session)
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
APACHE_MODPATH_FINISH