1 AC_INIT([mod_waklog], [1.1.0])
2 AC_CONFIG_SRCDIR([mod_waklog.c])
7 AC_ARG_WITH([afs-libs],
8 [AC_HELP_STRING([--with-afs-libs],[path to afs libraries])],
10 [AFS_LIBS=/usr/lib/afs])
13 AC_ARG_WITH([afs-headers],
14 [AC_HELP_STRING([--with-afs-headers],[path to afs headers])],
16 [AFS_INC=/usr/include/afs])
19 AC_ARG_WITH([apr-headers],
20 [AC_HELP_STRING([--with-apr-headers],[path to apr headers])],
22 [APR_INC=/usr/include/apr-1])
25 AC_ARG_WITH([krb5-libs],
26 [AC_HELP_STRING([--with-krb5-libs],[path to krb5 libraries])],
28 [KRB5_LIBS=/usr/lib/])
31 AC_ARG_WITH([krb5-headers],
32 [AC_HELP_STRING([--with-krb5-headers],[path to krb5 headers])],
34 [KRB5_INC=/usr/include/])
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/])
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])
50 [AC_HELP_STRING([--with-apxs],[path to apxs])],
56 [ --enable-debug uncomment this if you want an insane amount of debug information
58 [ WAKLOG_DEBUG=-DWAKLOG_DEBUG
60 AC_SUBST(WAKLOG_DEBUG)