2 AM_INIT_AUTOMAKE(mod_waklog_so,1.0)
5 AC_PATH_PROGS(APXS, apxs)
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([krb5-libs],
20 [AC_HELP_STRING([--with-krb5-libs],[path to krb5 libraries])],
22 [KRB5_LIBS=/usr/lib/])
25 AC_ARG_WITH([krb5-headers],
26 [AC_HELP_STRING([--with-krb5-headers],[path to krb5 headers])],
28 [KRB5_INC=/usr/include/])
31 AC_ARG_WITH([apache-libs],
32 [AC_HELP_STRING([--with-apache-libs],[path to apache libraries])],
33 [APACHE_LIBS=$withval],
34 [APACHE_LIBS=/usr/lib/])
37 AC_ARG_WITH([apache-headers],
38 [AC_HELP_STRING([--with-apache-headers],[path to apache headers])],
39 [APACHE_INC=$withval],
40 [APACHE_INC=/usr/include/apache-1.3])
44 [AC_HELP_STRING([--with-apxs],[path to apxs])],
50 [ --enable-debug uncomment this if you want an insane amount of debug information
52 [ WAKLOG_DEBUG=-DWAKLOG_DEBUG
54 AC_SUBST(WAKLOG_DEBUG)