diff options
author | Edward Rudd | 2004-07-26 03:07:33 +0000 |
---|---|---|
committer | Edward Rudd | 2004-07-26 03:07:33 +0000 |
commit | 94c629f6f1ec92a77ee9c24f0fab28378c319b73 (patch) | |
tree | 8919c1ad019974e155ef48b7370a237dfd8faba4 | |
parent | 197e405e8e8ae8e11bb251305043810c7fa93e4e (diff) |
defaulted ssl to on, added checks for libdbi and better mysql checks
-rw-r--r-- | configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index f2c0df2..1dd1b34 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -21,14 +21,14 @@ CHECK_APACHE($APACHE13_VERSION,$APACHE20_VERSION, | |||
21 | AC_MSG_ERROR([*** or Apache 2.0/2.1 version $APACHE20_VERSION or greater!]) | 21 | AC_MSG_ERROR([*** or Apache 2.0/2.1 version $APACHE20_VERSION or greater!]) |
22 | ) | 22 | ) |
23 | 23 | ||
24 | CHECK_PATH_MYSQL( | 24 | CHECK_MYSQL( |
25 | WANT_MYSQL_MOD=1, | 25 | WANT_MYSQL_MOD=1, |
26 | AC_MSG_ERROR([*** Mysql client libraries not found!]) | 26 | AC_MSG_ERROR([*** Mysql client libraries not found!]) |
27 | WANT_MYSQL_MOD=0 | 27 | WANT_MYSQL_MOD=0 |
28 | ) | 28 | ) |
29 | AC_SUBST(WANT_MYSQL_MOD) | 29 | AC_SUBST(WANT_MYSQL_MOD) |
30 | 30 | ||
31 | CHECK_PATH_LIBDBI(WANT_DBI_MOD=1, | 31 | CHECK_LIBDBI(WANT_DBI_MOD=1, |
32 | AC_MSG_ERROR([** libDBI client libraries not found!]) | 32 | AC_MSG_ERROR([** libDBI client libraries not found!]) |
33 | WANT_DBI_MOD=0 | 33 | WANT_DBI_MOD=0 |
34 | ) | 34 | ) |
@@ -39,16 +39,16 @@ WANT_PGSQL_MOD=0 | |||
39 | AC_SUBST(WANT_PGSQL_MOD) | 39 | AC_SUBST(WANT_PGSQL_MOD) |
40 | 40 | ||
41 | 41 | ||
42 | CHECK_PATH_MOD_SSL( | 42 | CHECK_MOD_SSL( |
43 | AC_DEFINE(WANT_SSL_LOGGING,,[Define if we want to compile in SSL support.]) | ||
44 | WANT_SSL_MOD=1, | 43 | WANT_SSL_MOD=1, |
44 | AC_MSG_ERROR([** mod_ssl.h not found or missing SSL headers!]) | ||
45 | WANT_SSL_MOD=0 | 45 | WANT_SSL_MOD=0 |
46 | ) | 46 | ) |
47 | AC_SUBST(WANT_SSL_MOD) | 47 | AC_SUBST(WANT_SSL_MOD) |
48 | 48 | ||
49 | case "$target" in | 49 | case "$target" in |
50 | *-*-solaris* | *-*-osf* ) | 50 | *-*-solaris* | *-*-osf* ) |
51 | if test $APACHE_VERSION -eq 1.3; then | 51 | if test $AP_VERSION -eq 1.3; then |
52 | RT_LIBS=-lrt | 52 | RT_LIBS=-lrt |
53 | fi | 53 | fi |
54 | ;; | 54 | ;; |
@@ -77,7 +77,7 @@ if test $WANT_SSL_MOD -eq 1; then | |||
77 | AC_MSG_RESULT([SSL Support : yes]) | 77 | AC_MSG_RESULT([SSL Support : yes]) |
78 | else | 78 | else |
79 | AC_MSG_RESULT([SSL Support : no]) | 79 | AC_MSG_RESULT([SSL Support : no]) |
80 | AC_MSG_RESULT([*** Use --enable-ssl to enable SSL support]) | 80 | AC_MSG_RESULT([*** Make sure OpenSSL headers, and mod_ssl.h are installed.]) |
81 | fi | 81 | fi |
82 | AC_MSG_RESULT([Enabled drivers :]) | 82 | AC_MSG_RESULT([Enabled drivers :]) |
83 | if test $WANT_MYSQL_MOD -eq 1; then | 83 | if test $WANT_MYSQL_MOD -eq 1; then |