summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac40
1 files changed, 20 insertions, 20 deletions
diff --git a/configure.ac b/configure.ac
index 7dd9489..b8a7318 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
1dnl Required initializer 1dnl Required initializer
2AC_INIT(mod_log_sql, 1.99) 2AC_INIT(mod_log_sql, 1.100)
3OOO_CONFIG_NICE(config.nice) 3OOO_CONFIG_NICE(config.nice)
4AC_PREREQ(2.53) 4AC_PREREQ(2.53)
5AC_CONFIG_HEADERS(config.h) 5AC_CONFIG_HEADERS(config.h)
@@ -14,18 +14,18 @@ AC_PROG_CC
14APACHE20_VERSION=2.0.40 14APACHE20_VERSION=2.0.40
15APACHE13_VERSION=1.3.20 15APACHE13_VERSION=1.3.20
16CHECK_APACHE($APACHE13_VERSION,$APACHE20_VERSION, 16CHECK_APACHE($APACHE13_VERSION,$APACHE20_VERSION,
17 :, 17 :,
18 :, 18 :,
19 AC_MSG_ERROR([*** The correct version Apache was not found!]) 19 AC_MSG_ERROR([*** The correct version Apache was not found!])
20 AC_MSG_ERROR([*** You need either Apache 1.3 version $APACHE13_VERSION or greater]) 20 AC_MSG_ERROR([*** You need either Apache 1.3 version $APACHE13_VERSION or greater])
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
24CHECK_MYSQL( 24CHECK_MYSQL(
25 WANT_MYSQL_MOD=1, 25 WANT_MYSQL_MOD=1,
26 AC_MSG_WARN([*** Mysql client libraries not found!]) 26 AC_MSG_WARN([*** Mysql client libraries not found!])
27 WANT_MYSQL_MOD=0 27 WANT_MYSQL_MOD=0
28 ) 28 )
29 29
30AC_SUBST(WANT_MYSQL_MOD) 30AC_SUBST(WANT_MYSQL_MOD)
31 31
@@ -41,22 +41,22 @@ AC_SUBST(WANT_PGSQL_MOD)
41 41
42 42
43CHECK_MOD_SSL( 43CHECK_MOD_SSL(
44 WANT_SSL_MOD=1, 44 WANT_SSL_MOD=1,
45 AC_MSG_WARN([** mod_ssl.h not found or missing SSL headers!]) 45 AC_MSG_WARN([** mod_ssl.h not found or missing SSL headers!])
46 WANT_SSL_MOD=0 46 WANT_SSL_MOD=0
47 ) 47 )
48 48
49AC_SUBST(WANT_SSL_MOD) 49AC_SUBST(WANT_SSL_MOD)
50 50
51case "$target" in 51case "$target" in
52 *-*-solaris* | *-*-osf* ) 52 *-*-solaris* | *-*-osf* )
53 if test $AP_VERSION -eq 1.3; then 53 if test $AP_VERSION -eq 1.3; then
54 RT_LIBS=-lrt 54 RT_LIBS=-lrt
55 fi 55 fi
56 ;; 56 ;;
57 *) 57 *)
58 RT_LIBS="" 58 RT_LIBS=""
59 ;; 59 ;;
60esac 60esac
61 61
62AC_SUBST(RT_LIBS) 62AC_SUBST(RT_LIBS)