1 |
# Required initializer |
2 |
AC_INIT |
3 |
|
4 |
AC_CANONICAL_TARGET |
5 |
|
6 |
# Automake initialization |
7 |
AM_INIT_AUTOMAKE(mod_smtpd, 0.9) |
8 |
|
9 |
# Add a test for a compiler. |
10 |
AC_PROG_CC |
11 |
AM_PROG_LIBTOOL |
12 |
AC_PROG_INSTALL |
13 |
|
14 |
AP_VERSION=2.0.40 |
15 |
CHECK_APACHE(,$AP_VERSION, |
16 |
:,:, |
17 |
AC_MSG_ERROR([*** Apache version $AP_VERSION not found!]) |
18 |
) |
19 |
prefix=${AP_PREFIX} |
20 |
|
21 |
CHECK_APREQ2() |
22 |
|
23 |
AC_CONFIG_FILES([ |
24 |
Makefile |
25 |
src/Makefile |
26 |
m4/Makefile |
27 |
modules/Makefile |
28 |
modules/access/Makefile |
29 |
modules/access/rbl/Makefile |
30 |
modules/access/mod_dnsbl_lookup/Makefile |
31 |
modules/auth/Makefile |
32 |
modules/misc/Makefile |
33 |
modules/queue/Makefile |
34 |
modules/queue/postfix/Makefile |
35 |
modules/queue/smtp/Makefile |
36 |
modules/rcpt/Makefile |
37 |
modules/rcpt/ok/Makefile |
38 |
modules/vrfy/Makefile |
39 |
]) |
40 |
# Write config.status and the Makefile |
41 |
AC_OUTPUT |