diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index b8a7318..ee2d474 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,5 +1,5 @@ | |||
1 | dnl Required initializer | 1 | dnl Required initializer |
2 | AC_INIT(mod_log_sql, 1.100) | 2 | AC_INIT(mod_log_sql, 1.101) |
3 | OOO_CONFIG_NICE(config.nice) | 3 | OOO_CONFIG_NICE(config.nice) |
4 | AC_PREREQ(2.53) | 4 | AC_PREREQ(2.53) |
5 | AC_CONFIG_HEADERS(config.h) | 5 | AC_CONFIG_HEADERS(config.h) |
@@ -21,6 +21,13 @@ 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 | if test $AP_VERSION = "2.0"; then | ||
25 | WANT_LOGIO_MOD=1 | ||
26 | else | ||
27 | WANT_LOGIO_MOD=0 | ||
28 | fi | ||
29 | AC_SUBST(WANT_LOGIO_MOD) | ||
30 | |||
24 | CHECK_MYSQL( | 31 | CHECK_MYSQL( |
25 | WANT_MYSQL_MOD=1, | 32 | WANT_MYSQL_MOD=1, |
26 | AC_MSG_WARN([*** Mysql client libraries not found!]) | 33 | AC_MSG_WARN([*** Mysql client libraries not found!]) |
@@ -50,7 +57,7 @@ AC_SUBST(WANT_SSL_MOD) | |||
50 | 57 | ||
51 | case "$target" in | 58 | case "$target" in |
52 | *-*-solaris* | *-*-osf* ) | 59 | *-*-solaris* | *-*-osf* ) |
53 | if test $AP_VERSION -eq 1.3; then | 60 | if test $AP_VERSION = "1.3"; then |
54 | RT_LIBS=-lrt | 61 | RT_LIBS=-lrt |
55 | fi | 62 | fi |
56 | ;; | 63 | ;; |
@@ -81,6 +88,13 @@ else | |||
81 | AC_MSG_RESULT([SSL Support : no]) | 88 | AC_MSG_RESULT([SSL Support : no]) |
82 | AC_MSG_RESULT([*** Make sure OpenSSL headers, and mod_ssl.h are installed.]) | 89 | AC_MSG_RESULT([*** Make sure OpenSSL headers, and mod_ssl.h are installed.]) |
83 | fi | 90 | fi |
91 | if test $WANT_LOGIO_MOD -eq 1; then | ||
92 | AC_MSG_RESULT([LogIO Module : yes]) | ||
93 | else | ||
94 | AC_MSG_RESULT([LogIO Module : no]) | ||
95 | AC_MSG_RESULT([*** Logio does not work with Apache 1.3.]) | ||
96 | fi | ||
97 | |||
84 | AC_MSG_RESULT([Enabled drivers :]) | 98 | AC_MSG_RESULT([Enabled drivers :]) |
85 | if test $WANT_MYSQL_MOD -eq 1; then | 99 | if test $WANT_MYSQL_MOD -eq 1; then |
86 | AC_MSG_RESULT([ MySQL Driver]) | 100 | AC_MSG_RESULT([ MySQL Driver]) |