ea3e8708 |
1 | AC_INIT(mod_waklog.c) |
2 | AM_INIT_AUTOMAKE(mod_waklog_so,1.0) |
3 | AC_PROG_CC |
4 | AC_PROG_INSTALL |
ea3e8708 |
5 | |
6 | AC_ARG_WITH([afs-libs], |
7 | [AC_HELP_STRING([--with-afs-libs],[path to afs libraries])], |
8 | [AFS_LIBS=$withval], |
9 | [AFS_LIBS=/usr/lib/afs]) |
10 | AC_SUBST(AFS_LIBS) |
11 | |
12 | AC_ARG_WITH([afs-headers], |
13 | [AC_HELP_STRING([--with-afs-headers],[path to afs headers])], |
14 | [AFS_INC=$withval], |
15 | [AFS_INC=/usr/include/afs]) |
16 | AC_SUBST(AFS_INC) |
17 | |
18 | AC_ARG_WITH([krb5-libs], |
19 | [AC_HELP_STRING([--with-krb5-libs],[path to krb5 libraries])], |
20 | [KRB5_LIBS=$withval], |
21 | [KRB5_LIBS=/usr/lib/]) |
22 | AC_SUBST(KRB5_LIBS) |
23 | |
24 | AC_ARG_WITH([krb5-headers], |
25 | [AC_HELP_STRING([--with-krb5-headers],[path to krb5 headers])], |
26 | [KRB5_INC=$withval], |
27 | [KRB5_INC=/usr/include/]) |
28 | AC_SUBST(KRB5_INC) |
29 | |
30 | AC_ARG_WITH([apache-libs], |
31 | [AC_HELP_STRING([--with-apache-libs],[path to apache libraries])], |
32 | [APACHE_LIBS=$withval], |
33 | [APACHE_LIBS=/usr/lib/]) |
34 | AC_SUBST(APACHE_LIBS) |
35 | |
36 | AC_ARG_WITH([apache-headers], |
37 | [AC_HELP_STRING([--with-apache-headers],[path to apache headers])], |
38 | [APACHE_INC=$withval], |
39 | [APACHE_INC=/usr/include/apache-1.3]) |
40 | AC_SUBST(APACHE_INC) |
41 | |
42 | AC_ARG_WITH([apxs], |
43 | [AC_HELP_STRING([--with-apxs],[path to apxs])], |
44 | [APXS=$withval], |
45 | [APXS=apxs]) |
46 | AC_SUBST(APXS) |
47 | |
48 | AC_ARG_ENABLE(debug, |
49 | [ --enable-debug uncomment this if you want an insane amount of debug information |
50 | ], |
51 | [ WAKLOG_DEBUG=-DWAKLOG_DEBUG |
52 | ]) |
53 | AC_SUBST(WAKLOG_DEBUG) |
54 | |
55 | AC_OUTPUT(Makefile) |