configure.in revision aa811cad2eb3fc01d17a5c8eba274b915ab8cd20
0N/Adnl ## Process this file with autoconf to produce a configure script
0N/A
0N/AAC_PREREQ(2.13)
0N/AAC_INIT(main/http_main.c)
0N/AAM_INIT_AUTOMAKE(apache, 2.0-dev)
0N/A
0N/Adnl This would be in src/include, but I think I've found an autoheader bug
0N/AAM_CONFIG_HEADER(ap_config_auto.h)
0N/A
0N/Adnl ## This is the central place where Apache's version should be kept.
0N/A
0N/AAPACHE_VERSION=$VERSION
0N/AAC_SUBST(APACHE_VERSION)
0N/A
0N/Adnl XXX - make will sometimes die as annoyingly as automake with this option
0N/Adnl just remake and continue
0N/AAM_MAINTAINER_MODE
0N/A
0N/Adnl We want this one before the checks, so the checks can modify CFLAGS
0N/Atest -z "$CFLAGS" && auto_cflags=1
0N/A
0N/Adnl Needed for APACHE_MODULE() to work
0N/Acwd=`pwd`
0N/A
0N/Adnl ## Check for programs
0N/A
0N/Adnl AC_PROG_AWK
0N/AAC_PROG_CC
0N/AAC_PROG_CPP
0N/AAC_PROG_INSTALL
0N/Adnl AC_PROG_RANLIB
0N/Adnl AC_PATH_PROG(PERL_PATH, perl)
0N/A
0N/Adnl various OS checks that apparently set required flags
0N/AAC_AIX
1467N/AAC_ISC_POSIX
1467N/AAC_MINIX
0N/A
0N/Adnl ## Check for libraries
0N/A
0N/Adnl ## Check for header files
0N/A
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/A
1467N/AAC_HEADER_STDC
1467N/AAC_CHECK_HEADERS( \
1467N/Aunistd.h \
1467N/Asys/stat.h \
1467N/Asys/time.h \
1467N/Asys/types.h \
1467N/Asys/socket.h \
1467N/Anetinet/in.h \
1467N/Aarpa/inet.h \
1467N/Anetdb.h \
1467N/Apwd.h \
1467N/Agrp.h \
1467N/A)
1467N/AAC_HEADER_SYS_WAIT
1467N/A
1467N/Adnl ## Check for C preprocessor symbols
1771N/A
0N/AAC_CHECK_DEFINE(EAGAIN, errno.h)
1467N/A
1467N/Adnl ## Check for typedefs, structures, and compiler characteristics.
1467N/A
1467N/AAC_C_CONST
1467N/AAC_C_INLINE
1467N/AAC_TYPE_PID_T
1467N/A
1467N/Adnl ## Check for library functions
1467N/A
1467N/Adnl See Comment #Spoon
0N/A
0N/AAC_CHECK_FUNCS( \
1467N/Astrdup \
1467N/Astrcasecmp \
1467N/Astrncasecmp \
1467N/Astrstr \
1467N/Astrerror \
1467N/Ainitgroups \
1467N/Awaitpid \
1467N/Adifftime \
1467N/Agettimeofday \
1467N/Amemmove \
1467N/Abzero \
0N/A)
0N/A
0N/AAC_CHECK_FUNCS(inet_addr inet_network, break, [
1467N/A AC_MSG_ERROR(inet_addr function not found)
1467N/A])
1467N/A
0N/AAC_FUNC_SELECT_ARGTYPES
0N/A
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
0N/A
1467N/A AC_DEFINE(SELECT_NEEDS_CAST)
0N/Afi
0N/A
1467N/AAM_PROG_LIBTOOL
0N/A
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/A
0N/AINCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/lib/apr/include"
0N/AAC_SUBST(INCLUDES)
0N/A
0N/Adnl reading config stubs
0N/Aesyscmd(./helpers/config-stubs .)
0N/A
0N/AINCLUDES="$INCLUDES -I\$(top_srcdir)/\$(OS_DIR)"
0N/AAC_SUBST(EXTRA_LIBS)
0N/AAC_SUBST(REGEX_DIR)
0N/AAC_SUBST(REGEX_LIB)
0N/AAC_SUBST(MPM_LIB)
0N/AAC_SUBST(OS)
0N/AAC_SUBST(OS_DIR)
0N/A
0N/AAC_OUTPUT([Makefile ap/Makefile main/Makefile os/Makefile
0N/A $APACHE_OUTPUT_FILES])
0N/A