From 94c629f6f1ec92a77ee9c24f0fab28378c319b73 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Mon, 26 Jul 2004 03:07:33 +0000 Subject: defaulted ssl to on, added checks for libdbi and better mysql checks --- configure.ac | 12 ++++++------ 1 file 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, AC_MSG_ERROR([*** or Apache 2.0/2.1 version $APACHE20_VERSION or greater!]) ) -CHECK_PATH_MYSQL( +CHECK_MYSQL( WANT_MYSQL_MOD=1, AC_MSG_ERROR([*** Mysql client libraries not found!]) WANT_MYSQL_MOD=0 ) AC_SUBST(WANT_MYSQL_MOD) -CHECK_PATH_LIBDBI(WANT_DBI_MOD=1, +CHECK_LIBDBI(WANT_DBI_MOD=1, AC_MSG_ERROR([** libDBI client libraries not found!]) WANT_DBI_MOD=0 ) @@ -39,16 +39,16 @@ WANT_PGSQL_MOD=0 AC_SUBST(WANT_PGSQL_MOD) -CHECK_PATH_MOD_SSL( - AC_DEFINE(WANT_SSL_LOGGING,,[Define if we want to compile in SSL support.]) +CHECK_MOD_SSL( WANT_SSL_MOD=1, + AC_MSG_ERROR([** mod_ssl.h not found or missing SSL headers!]) WANT_SSL_MOD=0 ) AC_SUBST(WANT_SSL_MOD) case "$target" in *-*-solaris* | *-*-osf* ) - if test $APACHE_VERSION -eq 1.3; then + if test $AP_VERSION -eq 1.3; then RT_LIBS=-lrt fi ;; @@ -77,7 +77,7 @@ if test $WANT_SSL_MOD -eq 1; then AC_MSG_RESULT([SSL Support : yes]) else AC_MSG_RESULT([SSL Support : no]) - AC_MSG_RESULT([*** Use --enable-ssl to enable SSL support]) + AC_MSG_RESULT([*** Make sure OpenSSL headers, and mod_ssl.h are installed.]) fi AC_MSG_RESULT([Enabled drivers :]) if test $WANT_MYSQL_MOD -eq 1; then -- cgit