summaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: 84fbf9698f0d7f8ce1d73089aaf9a0c8389ba16b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
dnl Required initializer
AC_INIT(mod_log_sql, 1.91)
AC_PREREQ(2.53)
AC_CONFIG_HEADERS(config.h)

AC_CONFIG_SRCDIR(mod_log_sql.c)

dnl Add a test for a compiler.
AC_PROG_CC

APACHE_VERSION=2.0.44
CHECK_PATH_APACHE($APACHE_VERSION,
   		:,
   		AC_MSG_ERROR([*** Apache version $APACHE_VERSION not found!])
  		)

CHECK_PATH_MYSQL(:,
		AC_MSG_ERROR([*** Mysql client libraries not found!])
		)
AC_CHECK_HEADERS(limits.h)

AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])

dnl Write config.status and the Makefile

AC_OUTPUT(Makefile Documentation/Makefile)