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