httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r730717 - /httpd/httpd/trunk/modules/session/config.m4
Date Fri, 02 Jan 2009 13:54:54 GMT
Author: rjung
Date: Fri Jan  2 05:54:54 2009
New Revision: 730717

URL: http://svn.apache.org/viewvc?rev=730717&view=rev
Log:
Add a header check for apr_ssl.h to mod_session_crypto.

The modules needs the header which is at the moment
only part of the ssl-evp branch of APR.

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=730717&r1=730716&r2=730717&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/session/config.m4 (original)
+++ httpd/httpd/trunk/modules/session/config.m4 Fri Jan  2 05:54:54 2009
@@ -17,7 +17,13 @@
 dnl
 APACHE_MODULE(session, session module, , , most)
 APACHE_MODULE(session_cookie, session cookie module, , , $session_mods_enable)
-APACHE_MODULE(session_crypto, session crypto module, , , no)
+APACHE_MODULE(session_crypto, session crypto module, , , no, [
+  AC_CHECK_HEADERS(apr_ssl.h, [], [ap_HAVE_APR_SSL_H="no"])
+  if test $ap_HAVE_APR_SSL_H = "no"; then
+    AC_MSG_WARN([Your APR does not include SSL/EVP support.])
+    enable_session_crypto="no"
+  fi
+])
 APACHE_MODULE(session_dbd, session dbd module, , , $session_mods_enable)
 dnl APACHE_MODULE(session_ldap, session ldap module, , , $session_mods_enable)
 



Mime
View raw message