3 AC_INIT(mod_domaintree, 1.4, mike@iworks.at)
5 AC_CONFIG_SRCDIR([mod_domaintree.c])
6 AC_CONFIG_HEADER([config.h])
8 AC_CHECK_HEADERS([unistd.h])
12 AC_CHECK_FUNCS([memmove strchr])
14 AC_ARG_WITH([apxs2], AC_HELP_STRING([--with-apxs2], [where the apxs2 tool is located]))
16 AC_MSG_CHECKING([for apxs2])
18 if test "$with_apxs2" -a -x "$with_apxs2"; then
20 AC_MSG_RESULT([$APXS2])
23 if test $? -eq 1; then
25 AC_MSG_RESULT([in \$PATH])
28 AC_MSG_ERROR([please specify path to the apxs2 tool through --with-apxs2])