diff options
author | Edward Rudd | 2004-01-22 05:26:56 +0000 |
---|---|---|
committer | Edward Rudd | 2004-01-22 05:26:56 +0000 |
commit | f230d2468cdc8ee3d290d34a36593b154f51aee1 (patch) | |
tree | d823f819136bd34dfa5bb0cba94c6c8c03e852d6 /m4/mod_ssl.m4 | |
parent | b19a5851171395e196ed686977482d79d7140cfd (diff) |
SSL support working under 1.3 and 2.0 as a separate module
preparsing of logformat completed.
updated configure scripts to detect mod_ssl.h for 1.3 (mostly)
Diffstat (limited to 'm4/mod_ssl.m4')
-rw-r--r-- | m4/mod_ssl.m4 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/m4/mod_ssl.m4 b/m4/mod_ssl.m4 index 6a852b9..a8c6103 100644 --- a/m4/mod_ssl.m4 +++ b/m4/mod_ssl.m4 | |||
@@ -14,6 +14,11 @@ AC_ARG_WITH( | |||
14 | [AC_HELP_STRING([--with-ssl-inc=DIR],[Location of SSL header files])], | 14 | [AC_HELP_STRING([--with-ssl-inc=DIR],[Location of SSL header files])], |
15 | ssl_incdir="$withval", | 15 | ssl_incdir="$withval", |
16 | ) | 16 | ) |
17 | AC_ARG_WITH( | ||
18 | db-inc, | ||
19 | [AC_HELP_STRING([--with-db-inc=DIR],[Location of DB header files])], | ||
20 | db_incdir="$withval", | ||
21 | ) | ||
17 | 22 | ||
18 | if test "x$ssl_val" = "xyes"; then | 23 | if test "x$ssl_val" = "xyes"; then |
19 | ac_save_CFLAGS=$CFLAGS | 24 | ac_save_CFLAGS=$CFLAGS |
@@ -22,9 +27,11 @@ AC_ARG_WITH( | |||
22 | if test "x$ssl_incdir" != "x"; then | 27 | if test "x$ssl_incdir" != "x"; then |
23 | MOD_SSL_CFLAGS="-I$ssl_incdir -I$ssl_incdir/openssl $MOD_SSL_CFLAGS" | 28 | MOD_SSL_CFLAGS="-I$ssl_incdir -I$ssl_incdir/openssl $MOD_SSL_CFLAGS" |
24 | fi | 29 | fi |
25 | 30 | if test "x$db_incdir" != "x"; then | |
26 | CFLAGS="-I$APACHE_INCDIR $MOD_SSL_CFLAGS $CFLAGS" | 31 | MOD_SSL_CFLAGS="-I$db_incdir $MOD_SSL_CFLAGS" |
27 | CPPFLAGS="-I$APACHE_INCDIR $MOD_SSL_CFLAGS $CPPFLAGS" | 32 | fi |
33 | CFLAGS="$APACHE_CFLAGS $APACHE_CPPFLAGS $MOD_SSL_CFLAGS $CFLAGS" | ||
34 | CPPFLAGS="$APACHE_CFLAGS $APACHE_CPPFLAGS $MOD_SSL_CFLAGS $CPPFLAGS" | ||
28 | AC_CHECK_HEADERS([mod_ssl.h], | 35 | AC_CHECK_HEADERS([mod_ssl.h], |
29 | mod_ssl_h=yes | 36 | mod_ssl_h=yes |
30 | ) | 37 | ) |