dnl ## Process this file with autoconf to produce a configure script
AM_INIT_AUTOMAKE(apache, 2.0-dev)
dnl This would be in
src/include, but I think I've found an autoheader bug
dnl ## This is the central place where Apache's version should be kept.
dnl XXX - doesn't actually work, because of the APACHE_OUTPUT_FILES error
dnl We want this one before the checks, so the checks can modify CFLAGS
test -z "$CFLAGS" && auto_cflags=1
dnl Needed for APACHE_MODULE() to work
dnl ## Check for programs
dnl AC_PATH_PROG(PERL_PATH, perl)
dnl info autoconf says AIX needs this. Okay.
dnl ## Check for libraries
dnl ## Check for header files
dnl I think these are just used all over the place, so just check for
dnl them at the base of the tree. If some are specific to a single
dnl directory, they should be moved (Comment #Spoon)
dnl ## Check for typedefs, structures, and compiler characteristics.
dnl ## Check for library functions
dnl ## Checking command-line options
test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \
CFLAGS="$CFLAGS -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
INCLUDES="$INCLUDES -I\$(top_srcdir)/\$(OS_DIR)"