"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "configure.ac":
1.100_vs_1.101.
1 dnl Required initializer
2 AC_INIT(mod_log_sql, 1.101)
3 OOO_CONFIG_NICE(config.nice)
4 AC_PREREQ(2.53)
5 AC_CONFIG_HEADERS(config.h)
6
7 AC_CONFIG_SRCDIR(mod_log_sql.c)
8
9 OOO_MAINTAIN_MODE
10
11 dnl Add a test for a compiler.
12 AC_PROG_CC
13
14 APACHE20_VERSION=2.0.40
15 APACHE13_VERSION=1.3.20
16 CHECK_APACHE($APACHE13_VERSION,$APACHE20_VERSION,
17 :,
18 :,
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])
21 AC_MSG_ERROR([*** or Apache 2.0/2.1 version $APACHE20_VERSION or greater!])
22 )
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
31 CHECK_MYSQL(
32 WANT_MYSQL_MOD=1,
33 AC_MSG_WARN([*** Mysql client libraries not found!])
34 WANT_MYSQL_MOD=0
35 )
36
37 AC_SUBST(WANT_MYSQL_MOD)
38
39 CHECK_LIBDBI(WANT_DBI_MOD=1,
40 AC_MSG_WARN([** libDBI client libraries not found!])
41 WANT_DBI_MOD=0
42 )
43 AC_SUBST(WANT_DBI_MOD)
44
45 dnl to write, checking for pgsql libs
46 WANT_PGSQL_MOD=0
47 AC_SUBST(WANT_PGSQL_MOD)
48
49
50 CHECK_MOD_SSL(
51 WANT_SSL_MOD=1,
52 AC_MSG_WARN([** mod_ssl.h not found or missing SSL headers!])
53 WANT_SSL_MOD=0
54 )
55
56 AC_SUBST(WANT_SSL_MOD)
57
58 case "$target" in
59 *-*-solaris* | *-*-osf* )
60 if test $AP_VERSION = "1.3"; then
61 RT_LIBS=-lrt
62 fi
63 ;;
64 *)
65 RT_LIBS=""
66 ;;
67 esac
68
69 AC_SUBST(RT_LIBS)
70
71
72 AC_CHECK_HEADERS(limits.h)
73
74 AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])
75
76 dnl Write config.status and the Makefile
77
78 AC_OUTPUT(Makefile
79 docs/Makefile
80 contrib/Makefile)
81
82
83 AC_MSG_RESULT([------------------------------------])
84 AC_MSG_RESULT([Apache version : $AP_VERSION])
85 if test $WANT_SSL_MOD -eq 1; then
86 AC_MSG_RESULT([SSL Support : yes])
87 else
88 AC_MSG_RESULT([SSL Support : no])
89 AC_MSG_RESULT([*** Make sure OpenSSL headers, and mod_ssl.h are installed.])
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
98 AC_MSG_RESULT([Enabled drivers :])
99 if test $WANT_MYSQL_MOD -eq 1; then
100 AC_MSG_RESULT([ MySQL Driver])
101 fi
102 if test $WANT_PGSQL_MOD -eq 1; then
103 AC_MSG_RESULT([ PostgreSQL Driver])
104 fi
105 if test $WANT_DBI_MOD -eq 1; then
106 AC_MSG_RESULT([ libDBI Driver])
107 fi
108 if test $OOO_MAINTAIN -eq 1; then
109 AC_MSG_RESULT([Maintainer mode is on. -Werror is in effect])
110 fi
111 AC_MSG_RESULT([------------------------------------])