* Added suexec hook and DomainTreeSuexec directory configuration directive
[m6w6/mod-domaintree] / configure.in
1
2 AC_PREREQ(2.59)
3 AC_INIT(mod_domaintree, 1.5, mike@iworks.at)
4
5 AC_CONFIG_SRCDIR([mod_domaintree.c])
6 AC_CONFIG_HEADER([config.h])
7
8 AC_CHECK_HEADERS([unistd.h])
9 AC_C_CONST
10 AC_TYPE_SIZE_T
11 AC_HEADER_STDC
12 AC_CHECK_FUNCS([memmove strchr])
13
14 AC_ARG_WITH([apxs2], AC_HELP_STRING([--with-apxs2], [where the apxs2 tool is located]))
15
16 AC_MSG_CHECKING([for apxs2])
17 APXS2=apxs2
18 if test "$with_apxs2" -a -x "$with_apxs2"; then
19 APXS2=$with_apxs2
20 AC_MSG_RESULT([$APXS2])
21 else
22 apxs2 >/dev/null 2>&1
23 if test $? -eq 1; then
24 APXS2=apxs2
25 AC_MSG_RESULT([in \$PATH])
26 else
27 AC_MSG_RESULT([ ])
28 AC_MSG_ERROR([please specify path to the apxs2 tool through --with-apxs2])
29 fi
30 fi
31
32 AC_SUBST(APXS2)
33
34 AC_OUTPUT(Makefile)