0N/Adnl ## Process this file with autoconf to produce a configure script
0N/AAM_INIT_AUTOMAKE(apache, 2.0-dev)
0N/Adnl This would be in
src/include, but I think I've found an autoheader bug
0N/Adnl ## This is the central place where Apache's version should be kept.
0N/AAPACHE_VERSION=$VERSION
0N/AAC_SUBST(APACHE_VERSION)
0N/Adnl XXX - make will sometimes die as annoyingly as automake with this option
0N/Adnl just remake and continue
0N/Adnl We want this one before the checks, so the checks can modify CFLAGS
0N/Atest -z "$CFLAGS" && auto_cflags=1
0N/Adnl Needed for APACHE_MODULE() to work
0N/Adnl ## Check for programs
0N/Adnl AC_PATH_PROG(PERL_PATH, perl)
0N/Adnl various OS checks that apparently set required flags
0N/Adnl ## Check for libraries
0N/Adnl ## Check for header files
0N/Adnl I think these are just used all over the place, so just check for
0N/Adnl them at the base of the tree. If some are specific to a single
0N/Adnl directory, they should be moved (Comment #Spoon)
1467N/Adnl ## Check for C preprocessor symbols
1467N/Adnl ## Check for typedefs, structures, and compiler characteristics.
1467N/Adnl ## Check for library functions
0N/AAC_CHECK_FUNCS(inet_addr inet_network, break, [
1467N/A AC_MSG_ERROR(inet_addr function not found)
0N/AAC_FUNC_SELECT_ARGTYPES
0N/Adnl Check if we'll actually need to cast select args all the time
0N/Aif test "$ac_cv_func_select_arg1" != "int" \
1467N/A -o "$ac_cv_func_select_arg234" != "fd_set *" \
0N/A -o "$ac_cv_func_select_arg5" != "struct timeval *" ; then
1467N/A AC_DEFINE(SELECT_NEEDS_CAST)
0N/Adnl ## Checking command-line options
0N/Atest -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \
0N/A CFLAGS="$CFLAGS -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
0N/Adnl reading config stubs
0N/AINCLUDES="$INCLUDES -I\$(top_srcdir)/\$(OS_DIR)"
0N/A $APACHE_OUTPUT_FILES])