summaryrefslogtreecommitdiffstats
path: root/rubbos/app/httpd-2.0.64/configure
diff options
context:
space:
mode:
Diffstat (limited to 'rubbos/app/httpd-2.0.64/configure')
-rwxr-xr-xrubbos/app/httpd-2.0.64/configure20186
1 files changed, 20186 insertions, 0 deletions
diff --git a/rubbos/app/httpd-2.0.64/configure b/rubbos/app/httpd-2.0.64/configure
new file mode 100755
index 00000000..8e27feb5
--- /dev/null
+++ b/rubbos/app/httpd-2.0.64/configure
@@ -0,0 +1,20186 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.63.
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+
+
+# PATH needs CR
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+case $0 in
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ { (exit 1); exit 1; }
+fi
+
+# Work around bugs in pre-3.0 UWIN ksh.
+for as_var in ENV MAIL MAILPATH
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# CDPATH.
+$as_unset CDPATH
+
+
+if test "x$CONFIG_SHELL" = x; then
+ if (eval ":") 2>/dev/null; then
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+
+ if test $as_have_required = yes && (eval ":
+(as_func_return () {
+ (exit \$1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test \$exitcode = 0) || { (exit 1); exit 1; }
+
+(
+ as_lineno_1=\$LINENO
+ as_lineno_2=\$LINENO
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
+") 2> /dev/null; then
+ :
+else
+ as_candidate_shells=
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ case $as_dir in
+ /*)
+ for as_base in sh bash ksh sh5; do
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
+ done;;
+ esac
+done
+IFS=$as_save_IFS
+
+
+ for as_shell in $as_candidate_shells $SHELL; do
+ # Try only shells that exist, to save several forks.
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+:
+_ASEOF
+}; then
+ CONFIG_SHELL=$as_shell
+ as_have_required=yes
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+:
+(as_func_return () {
+ (exit $1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = "$1" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test $exitcode = 0) || { (exit 1); exit 1; }
+
+(
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
+
+_ASEOF
+}; then
+ break
+fi
+
+fi
+
+ done
+
+ if test "x$CONFIG_SHELL" != x; then
+ for as_var in BASH_ENV ENV
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+ done
+ export CONFIG_SHELL
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+fi
+
+
+ if test $as_have_required = no; then
+ echo This script requires a shell more modern than all the
+ echo shells that I found on your system. Please install a
+ echo modern shell, or manually run the script under such a
+ echo shell if you do have one.
+ { (exit 1); exit 1; }
+fi
+
+
+fi
+
+fi
+
+
+
+(eval "as_func_return () {
+ (exit \$1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test \$exitcode = 0") || {
+ echo No shell found that supports shell functions.
+ echo Please tell bug-autoconf@gnu.org about your system,
+ echo including any error possibly output before this message.
+ echo This can help us improve future autoconf versions.
+ echo Configuration will now proceed without shell functions.
+}
+
+
+
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line after each line using $LINENO; the second 'sed'
+ # does the real work. The second script uses 'N' to pair each
+ # line-number line with the line containing $LINENO, and appends
+ # trailing '-' during substitution so that $LINENO is not a special
+ # case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
+ # E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in
+-n*)
+ case `echo 'x\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ *) ECHO_C='\c';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -p'
+ fi
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+
+exec 7<&0 </dev/null 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+# Identity of this package.
+PACKAGE_NAME=
+PACKAGE_TARNAME=
+PACKAGE_VERSION=
+PACKAGE_STRING=
+PACKAGE_BUGREPORT=
+
+ac_unique_file="ABOUT_APACHE"
+ac_default_prefix=/usr/local/apache2
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='LTLIBOBJS
+LIBOBJS
+HTTPD_VERSION
+ap_make_delimiter
+ap_make_include
+perlbin
+APU_INCLUDEDIR
+APU_BINDIR
+APR_INCLUDEDIR
+APR_BINDIR
+DSO_MODULES
+INSTALL_PROG_FLAGS
+MK_IMPLIB
+SH_LIBTOOL
+SH_LIBS
+CORE_IMPLIB
+CORE_IMPLIB_FILE
+nonssl_listen_stmt_2
+nonssl_listen_stmt_1
+PORT
+MODULE_CLEANDIRS
+MODULE_DIRS
+LIBTOOL
+NOTEST_LIBS
+NOTEST_LDFLAGS
+NOTEST_CXXFLAGS
+NOTEST_CFLAGS
+NOTEST_CPPFLAGS
+INCLUDES
+UTIL_LDFLAGS
+HTTPD_LDFLAGS
+SH_LDFLAGS
+LT_LDFLAGS
+LTFLAGS
+CXXFLAGS
+CXX
+other_targets
+proxycachedir
+runtimedir
+installbuilddir
+iconsdir
+errordir
+manualdir
+htdocsdir
+logfiledir
+cgidir
+abs_srcdir
+EXTRA_INCLUDES
+EXTRA_LIBS
+EXTRA_LDFLAGS
+EXTRA_CXXFLAGS
+EXTRA_CFLAGS
+EXTRA_CPPFLAGS
+AP_SIG_GRACEFUL_SHORT
+AP_SIG_GRACEFUL_STRING
+AP_SIG_GRACEFUL
+AP_CLEAN_SRCLIB_DIRS
+AP_BUILD_SRCLIB_DIRS
+AP_LIBS
+shared_build
+POST_SHARED_CMDS
+PRE_SHARED_CMDS
+OS_SPECIFIC_VARS
+SHLIBPATH_VAR
+BUILTIN_LIBS
+OS_DIR
+OS
+MPM_LIB
+progname
+MOD_SO_LDADD
+MOD_REWRITE_LDADD
+MOD_ALIAS_LDADD
+MOD_USERDIR_LDADD
+MOD_SPELING_LDADD
+MOD_ACTIONS_LDADD
+MOD_IMAP_LDADD
+MOD_DIR_LDADD
+MOD_NEGOTIATION_LDADD
+MOD_VHOST_ALIAS_LDADD
+MOD_DAV_FS_LDADD
+MOD_CGI_LDADD
+MOD_CGID_LDADD
+MOD_SUEXEC_LDADD
+MOD_INFO_LDADD
+MOD_ASIS_LDADD
+MOD_AUTOINDEX_LDADD
+MOD_STATUS_LDADD
+MOD_DAV_LDADD
+MOD_MIME_LDADD
+MOD_HTTP_LDADD
+APACHECTL_ULIMIT
+checkgid_LTFLAGS
+ab_LTFLAGS
+htdbm_LTFLAGS
+logresolve_LTFLAGS
+rotatelogs_LTFLAGS
+htdigest_LTFLAGS
+htpasswd_LTFLAGS
+MPM_SUBDIR_NAME
+MPM_NAME
+MOD_BUCKETEER_LDADD
+MOD_OPTIONAL_FN_EXPORT_LDADD
+MOD_OPTIONAL_FN_IMPORT_LDADD
+MOD_OPTIONAL_HOOK_IMPORT_LDADD
+MOD_OPTIONAL_HOOK_EXPORT_LDADD
+MOD_SSL_LDADD
+SSL_LIBS
+MOD_PROXY_HTTP_LDADD
+MOD_PROXY_FTP_LDADD
+MOD_PROXY_CONNECT_LDADD
+MOD_PROXY_LDADD
+MOD_VERSION_LDADD
+MOD_SETENVIF_LDADD
+MOD_UNIQUE_ID_LDADD
+MOD_USERTRACK_LDADD
+MOD_HEADERS_LDADD
+MOD_EXPIRES_LDADD
+MOD_CERN_META_LDADD
+MOD_MIME_MAGIC_LDADD
+MOD_ENV_LDADD
+MOD_LOGIO_LDADD
+MOD_LOG_FORENSIC_LDADD
+MOD_LOG_CONFIG_LDADD
+MOD_DEFLATE_LDADD
+MOD_INCLUDE_LDADD
+MOD_EXT_FILTER_LDADD
+MOD_AUTH_LDAP_LDADD
+MOD_LDAP_LDADD
+MOD_DUMPIO_LDADD
+MOD_CASE_FILTER_IN_LDADD
+MOD_CASE_FILTER_LDADD
+MOD_EXAMPLE_LDADD
+MOD_MEM_CACHE_LDADD
+MOD_DISK_CACHE_LDADD
+MOD_CACHE_LDADD
+MOD_CHARSET_LITE_LDADD
+MOD_ECHO_LDADD
+MOD_FILE_CACHE_LDADD
+MOD_ISAPI_LDADD
+MOD_AUTH_DIGEST_LDADD
+MOD_AUTH_DBM_LDADD
+MOD_AUTH_ANON_LDADD
+MOD_AUTH_LDADD
+MOD_ACCESS_LDADD
+EGREP
+GREP
+RANLIB
+LN_S
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+AWK
+RM
+LTCFLAGS
+SHLTCFLAGS
+CPP
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
+target_os
+target_vendor
+target_cpu
+target
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+rel_proxycachedir
+exp_proxycachedir
+rel_logfiledir
+exp_logfiledir
+rel_runtimedir
+exp_runtimedir
+rel_localstatedir
+exp_localstatedir
+rel_includedir
+exp_includedir
+rel_cgidir
+exp_cgidir
+rel_manualdir
+exp_manualdir
+rel_htdocsdir
+exp_htdocsdir
+rel_iconsdir
+exp_iconsdir
+rel_errordir
+exp_errordir
+rel_installbuilddir
+exp_installbuilddir
+rel_datadir
+exp_datadir
+rel_sysconfdir
+exp_sysconfdir
+rel_mandir
+exp_mandir
+rel_libexecdir
+exp_libexecdir
+rel_libdir
+exp_libdir
+rel_sbindir
+exp_sbindir
+rel_bindir
+exp_bindir
+rel_exec_prefix
+exp_exec_prefix
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_layout
+with_apr
+with_apr_util
+with_port
+enable_v4_mapped
+enable_exception_hook
+enable_maintainer_mode
+enable_modules
+enable_mods_shared
+enable_access
+enable_auth
+enable_auth_anon
+enable_auth_dbm
+enable_auth_digest
+enable_isapi
+enable_file_cache
+enable_echo
+enable_charset_lite
+enable_cache
+enable_disk_cache
+enable_mem_cache
+enable_example
+enable_case_filter
+enable_case_filter_in
+enable_dumpio
+enable_ldap
+enable_auth_ldap
+enable_ext_filter
+enable_include
+enable_deflate
+with_z
+enable_log_config
+enable_log_forensic
+enable_logio
+enable_env
+enable_mime_magic
+enable_cern_meta
+enable_expires
+enable_headers
+enable_usertrack
+enable_unique_id
+enable_setenvif
+enable_version
+enable_proxy
+enable_proxy_connect
+enable_proxy_ftp
+enable_proxy_http
+enable_ssl
+with_ssl
+enable_optional_hook_export
+enable_optional_hook_import
+enable_optional_fn_import
+enable_optional_fn_export
+enable_bucketeer
+with_mpm
+enable_static_support
+enable_static_htpasswd
+enable_static_htdigest
+enable_static_rotatelogs
+enable_static_logresolve
+enable_static_htdbm
+enable_static_ab
+enable_static_checkgid
+enable_http
+enable_mime
+with_module
+enable_dav
+enable_status
+enable_autoindex
+enable_asis
+enable_info
+enable_suexec
+enable_cgid
+enable_cgi
+enable_dav_fs
+enable_vhost_alias
+enable_negotiation
+enable_dir
+enable_imap
+enable_actions
+enable_speling
+enable_userdir
+enable_alias
+enable_rewrite
+enable_so
+with_program_name
+with_suexec_bin
+with_suexec_caller
+with_suexec_userdir
+with_suexec_docroot
+with_suexec_uidmin
+with_suexec_gidmin
+with_suexec_logfile
+with_suexec_safepath
+with_suexec_umask
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CC
+CFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CPP'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; }
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+ { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+ { (exit 1); exit 1; }; }
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ { $as_echo "$as_me: error: missing argument to $ac_option" >&2
+ { (exit 1); exit 1; }; }
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
+ { (exit 1); exit 1; }; } ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+ { (exit 1); exit 1; }; }
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used." >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ { $as_echo "$as_me: error: working directory cannot be determined" >&2
+ { (exit 1); exit 1; }; }
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
+ { (exit 1); exit 1; }; }
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+ { (exit 1); exit 1; }; }
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
+ { (exit 1); exit 1; }; }
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures this package to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+ --target=TARGET configure for building compilers for TARGET [HOST]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-layout=LAYOUT
+ --enable-v4-mapped Allow IPv6 sockets to handle IPv4 connections
+ --enable-exception-hook Enable fatal exception hook
+ --enable-maintainer-mode
+ Turn on debugging and compile time warnings
+ --enable-modules=MODULE-LIST
+ Modules to enable
+ --enable-mods-shared=MODULE-LIST
+ Shared modules to enable
+ --disable-access host-based access control
+ --disable-auth user-based access control
+ --enable-auth-anon anonymous user access
+ --enable-auth-dbm DBM-based access databases
+ --enable-auth-digest RFC2617 Digest authentication
+ --enable-isapi isapi extension support
+ --enable-file-cache File cache
+ --enable-echo ECHO server
+ --disable-charset-lite character set translation
+ --enable-charset-lite character set translation
+ --enable-cache dynamic file caching
+ --enable-disk-cache disk caching module
+ --enable-mem-cache memory caching module
+ --enable-example example and demo module
+ --enable-case-filter example uppercase conversion filter
+ --enable-case-filter-in example uppercase conversion input filter
+ --enable-dumpio I/O dump filter
+ --enable-ldap LDAP caching and connection pooling services
+ --enable-auth-ldap LDAP based authentication
+ --enable-ext-filter external filter module
+ --disable-include Server Side Includes
+ --enable-deflate Deflate transfer encoding support
+ --disable-log-config logging configuration
+ --enable-log-forensic forensic logging
+ --enable-logio input and output logging
+ --disable-env clearing/setting of ENV vars
+ --enable-mime-magic automagically determining MIME type
+ --enable-cern-meta CERN-type meta files
+ --enable-expires Expires header control
+ --enable-headers HTTP header control
+ --enable-usertrack user-session tracking
+ --enable-unique-id per-request unique ids
+ --disable-setenvif basing ENV vars on headers
+ --enable-version determining httpd version in config files
+ --enable-proxy Apache proxy module
+ --enable-proxy-connect Apache proxy CONNECT module
+ --enable-proxy-ftp Apache proxy FTP module
+ --enable-proxy-http Apache proxy HTTP module
+ --enable-ssl SSL/TLS support (mod_ssl)
+ --enable-optional-hook-export
+ example optional hook exporter
+ --enable-optional-hook-import
+ example optional hook importer
+ --enable-optional-fn-import
+ example optional function importer
+ --enable-optional-fn-export
+ example optional function exporter
+ --enable-bucketeer buckets manipulation filter
+ --enable-static-support Build a statically linked version the support
+ binaries
+ --enable-static-htpasswd
+ Build a statically linked version of htpasswd
+ --enable-static-htdigest
+ Build a statically linked version of htdigest
+ --enable-static-rotatelogs
+ Build a statically linked version of rotatelogs
+ --enable-static-logresolve
+ Build a statically linked version of logresolve
+ --enable-static-htdbm Build a statically linked version of htdbm
+ --enable-static-ab Build a statically linked version of ab
+ --enable-static-checkgid
+ Build a statically linked version of checkgid
+ --enable-http HTTP protocol handling
+ --disable-mime mapping of file-extension to MIME
+ --enable-dav WebDAV protocol handling
+ --disable-status process/thread monitoring
+ --disable-autoindex directory listing
+ --disable-asis as-is filetypes
+ --enable-info server information
+ --enable-suexec set uid and gid for spawned processes
+ --disable-cgid CGI scripts
+ --enable-cgi CGI scripts
+ --disable-cgi CGI scripts
+ --enable-cgid CGI scripts
+ --enable-dav-fs DAV provider for the filesystem
+ --enable-vhost-alias mass virtual hosting module
+ --disable-negotiation content negotiation
+ --disable-dir directory request handling
+ --disable-imap server-side imagemaps
+ --disable-actions Action triggering on requests
+ --enable-speling correct common URL misspellings
+ --disable-userdir mapping of requests to user-specific directories
+ --disable-alias mapping of requests to different filesystem parts
+ --enable-rewrite rule based URL manipulation
+ --enable-so DSO capability
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-apr=DIR|FILE prefix for installed APR, path to APR build tree,
+ or the full path to apr-config
+ --with-apr-util=DIR prefix for installed APU, or path to APU build tree
+ --with-port=PORT Port on which to listen (default is 80)
+ --with-z=DIR use a specific zlib library
+ --with-ssl=DIR SSL/TLS toolkit (OpenSSL)
+ --with-mpm=MPM Choose the process model for Apache to use.
+ MPM={beos|worker|prefork|mpmt_os2|perchild|leader|threadpool}
+ --with-module=module-type:module-file
+ Enable module-file in the modules/<module-type>
+ directory.
+ --with-program-name alternate executable name
+ --with-suexec-bin Path to suexec binary
+ --with-suexec-caller User allowed to call SuExec
+ --with-suexec-userdir User subdirectory
+ --with-suexec-docroot SuExec root directory
+ --with-suexec-uidmin Minimal allowed UID
+ --with-suexec-gidmin Minimal allowed GID
+ --with-suexec-logfile Set the logfile
+ --with-suexec-safepath Set the safepath
+ --with-suexec-umask umask for suexec'd process
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+configure
+generated by GNU Autoconf 2.63
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by $as_me, which was
+generated by GNU Autoconf 2.63. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
+ 2)
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ ac_configure_args="$ac_configure_args '$ac_arg'"
+ ;;
+ esac
+ done
+done
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ cat <<\_ASBOX
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+_ASBOX
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ cat <<\_ASBOX
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ cat <<\_ASBOX
+## ------------------- ##
+## File substitutions. ##
+## ------------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ cat <<\_ASBOX
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+_ASBOX
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ ac_site_file1=$CONFIG_SITE
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test -r "$ac_site_file"; then
+ { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file"
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ac_config_headers="$ac_config_headers include/ap_config_auto.h"
+
+ac_aux_dir=
+for ac_dir in build "$srcdir"/build; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&5
+$as_echo "$as_me: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# Check whether --enable-layout was given.
+if test "${enable_layout+set}" = set; then
+ enableval=$enable_layout;
+ LAYOUT=$enableval
+
+fi
+
+
+if test -z "$LAYOUT"; then
+ LAYOUT="Apache"
+fi
+
+ if test ! -f $srcdir/config.layout; then
+ echo "** Error: Layout file $srcdir/config.layout not found"
+ echo "** Error: Cannot use undefined layout '$LAYOUT'"
+ exit 1
+ fi
+ pldconf=./config.pld
+
+ sed -e "1,/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*/d" \
+ -e '/[ ]*<\/Layout>[ ]*/,$d' \
+ -e "s/^[ ]*//g" \
+ -e "s/:[ ]*/=\'/g" \
+ -e "s/[ ]*$/'/g" \
+ $srcdir/config.layout > $pldconf
+ layout_name=$LAYOUT
+ . $pldconf
+ rm $pldconf
+ for var in prefix exec_prefix bindir sbindir libexecdir mandir \
+ sysconfdir datadir errordir iconsdir htdocsdir cgidir \
+ includedir localstatedir runtimedir logfiledir libdir \
+ manualdir proxycachedir installbuilddir; do
+ eval "val=\"\$$var\""
+ case $val in
+ *+)
+ val=`echo $val | sed -e 's;\+$;;'`
+ eval "$var=\"\$val\""
+ autosuffix=yes
+ ;;
+ *)
+ autosuffix=no
+ ;;
+ esac
+ val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
+ val=`echo $val | sed -e 's:[\$]\([a-z_]*\):$\1:g'`
+ if test "$autosuffix" = "yes"; then
+ if echo $val | grep apache >/dev/null; then
+ addtarget=no
+ else
+ addtarget=yes
+ fi
+ if test "$addtarget" = "yes"; then
+ val="$val/apache2"
+ fi
+ fi
+ eval "$var='$val'"
+ done
+
+
+
+{ $as_echo "$as_me:$LINENO: checking for chosen layout" >&5
+$as_echo_n "checking for chosen layout... " >&6; }
+{ $as_echo "$as_me:$LINENO: result: $layout_name" >&5
+$as_echo "$layout_name" >&6; }
+
+
+
+ac_prev=
+# Retrieve the command-line arguments. The eval is needed because
+# the arguments are quoted to preserve accuracy.
+eval "set x $ac_configure_args"
+shift
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval "$ac_prev=\$ac_option"
+ ac_prev=
+ continue
+ fi
+
+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
+
+ case $ac_option in
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir="$ac_optarg" ;;
+
+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
+ | --da=*)
+ datadir="$ac_optarg" ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix="$ac_optarg" ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir="$ac_optarg" ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir="$ac_optarg" ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir="$ac_optarg" ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir="$ac_optarg" ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst \
+ | --locals | --local | --loca | --loc | --lo)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \
+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
+ localstatedir="$ac_optarg" ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir="$ac_optarg" ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix="$ac_optarg" ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir="$ac_optarg" ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir="$ac_optarg" ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir="$ac_optarg" ;;
+
+ esac
+done
+
+# Be sure to have absolute paths.
+for ac_var in exec_prefix prefix
+do
+ eval ac_val=$`echo $ac_var`
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
+ *) { { $as_echo "$as_me:$LINENO: error: expected an absolute path for --$ac_var: $ac_val" >&5
+$as_echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
+done
+
+
+
+
+
+
+ap_last=
+ap_cur="$exec_prefix"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_exec_prefix="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_exec_prefix"
+
+
+
+ap_stripped=`echo $exp_exec_prefix | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_exec_prefix" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_exec_prefix="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_exec_prefix="$exp_exec_prefix"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_exec_prefix"
+
+
+
+
+
+ap_last=
+ap_cur="$bindir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_bindir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_bindir"
+
+
+
+ap_stripped=`echo $exp_bindir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_bindir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_bindir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_bindir="$exp_bindir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_bindir"
+
+
+
+
+
+ap_last=
+ap_cur="$sbindir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_sbindir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_sbindir"
+
+
+
+ap_stripped=`echo $exp_sbindir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_sbindir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_sbindir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_sbindir="$exp_sbindir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_sbindir"
+
+
+
+
+
+ap_last=
+ap_cur="$libdir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_libdir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_libdir"
+
+
+
+ap_stripped=`echo $exp_libdir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_libdir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_libdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_libdir="$exp_libdir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_libdir"
+
+
+
+
+
+ap_last=
+ap_cur="$libexecdir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_libexecdir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_libexecdir"
+
+
+
+ap_stripped=`echo $exp_libexecdir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_libexecdir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_libexecdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_libexecdir="$exp_libexecdir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_libexecdir"
+
+
+
+
+
+ap_last=
+ap_cur="$mandir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_mandir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_mandir"
+
+
+
+ap_stripped=`echo $exp_mandir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_mandir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_mandir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_mandir="$exp_mandir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_mandir"
+
+
+
+
+
+ap_last=
+ap_cur="$sysconfdir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_sysconfdir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_sysconfdir"
+
+
+
+ap_stripped=`echo $exp_sysconfdir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_sysconfdir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_sysconfdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_sysconfdir="$exp_sysconfdir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_sysconfdir"
+
+
+
+
+
+ap_last=
+ap_cur="$datadir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_datadir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_datadir"
+
+
+
+ap_stripped=`echo $exp_datadir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_datadir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_datadir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_datadir="$exp_datadir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_datadir"
+
+
+
+
+
+ap_last=
+ap_cur="$installbuilddir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_installbuilddir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_installbuilddir"
+
+
+
+ap_stripped=`echo $exp_installbuilddir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_installbuilddir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_installbuilddir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_installbuilddir="$exp_installbuilddir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_installbuilddir"
+
+
+
+
+
+ap_last=
+ap_cur="$errordir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_errordir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_errordir"
+
+
+
+ap_stripped=`echo $exp_errordir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_errordir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_errordir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_errordir="$exp_errordir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_errordir"
+
+
+
+
+
+ap_last=
+ap_cur="$iconsdir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_iconsdir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_iconsdir"
+
+
+
+ap_stripped=`echo $exp_iconsdir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_iconsdir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_iconsdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_iconsdir="$exp_iconsdir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_iconsdir"
+
+
+
+
+
+ap_last=
+ap_cur="$htdocsdir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_htdocsdir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_htdocsdir"
+
+
+
+ap_stripped=`echo $exp_htdocsdir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_htdocsdir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_htdocsdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_htdocsdir="$exp_htdocsdir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_htdocsdir"
+
+
+
+
+
+ap_last=
+ap_cur="$manualdir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_manualdir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_manualdir"
+
+
+
+ap_stripped=`echo $exp_manualdir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_manualdir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_manualdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_manualdir="$exp_manualdir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_manualdir"
+
+
+
+
+
+ap_last=
+ap_cur="$cgidir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_cgidir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_cgidir"
+
+
+
+ap_stripped=`echo $exp_cgidir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_cgidir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_cgidir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_cgidir="$exp_cgidir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_cgidir"
+
+
+
+
+
+ap_last=
+ap_cur="$includedir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_includedir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_includedir"
+
+
+
+ap_stripped=`echo $exp_includedir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_includedir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_includedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_includedir="$exp_includedir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_includedir"
+
+
+
+
+
+ap_last=
+ap_cur="$localstatedir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_localstatedir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_localstatedir"
+
+
+
+ap_stripped=`echo $exp_localstatedir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_localstatedir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_localstatedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_localstatedir="$exp_localstatedir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_localstatedir"
+
+
+
+
+
+ap_last=
+ap_cur="$runtimedir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_runtimedir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_runtimedir"
+
+
+
+ap_stripped=`echo $exp_runtimedir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_runtimedir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_runtimedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_runtimedir="$exp_runtimedir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_runtimedir"
+
+
+
+
+
+ap_last=
+ap_cur="$logfiledir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_logfiledir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_logfiledir"
+
+
+
+ap_stripped=`echo $exp_logfiledir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_logfiledir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_logfiledir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_logfiledir="$exp_logfiledir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_logfiledir"
+
+
+
+
+
+ap_last=
+ap_cur="$proxycachedir"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+exp_proxycachedir="${ap_cur}"
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_proxycachedir"
+
+
+
+ap_stripped=`echo $exp_proxycachedir | sed -e "s#^${prefix}##"`
+# check if the stripping was successful
+if test "x$exp_proxycachedir" != "x${ap_stripped}"; then
+ # it was, so strip of any leading slashes
+ rel_proxycachedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
+else
+ # it wasn't so return the original
+ rel_proxycachedir="$exp_proxycachedir"
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_proxycachedir"
+
+
+
+
+
+
+ apr_ste_save_CPPFLAGS="$CPPFLAGS"
+
+
+ apr_ste_save_CFLAGS="$CFLAGS"
+
+
+ apr_ste_save_CXXFLAGS="$CXXFLAGS"
+
+
+ apr_ste_save_LDFLAGS="$LDFLAGS"
+
+
+ apr_ste_save_LIBS="$LIBS"
+
+
+ apr_ste_save_INCLUDES="$INCLUDES"
+
+
+
+ rm -f config.nice
+ cat >config.nice<<EOF
+#! /bin/sh
+#
+# Created by configure
+
+EOF
+ if test -n "$CC"; then
+ echo "CC=\"$CC\"; export CC" >> config.nice
+ fi
+ if test -n "$CFLAGS"; then
+ echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> config.nice
+ fi
+ if test -n "$CPPFLAGS"; then
+ echo "CPPFLAGS=\"$CPPFLAGS\"; export CPPFLAGS" >> config.nice
+ fi
+ if test -n "$LDFLAGS"; then
+ echo "LDFLAGS=\"$LDFLAGS\"; export LDFLAGS" >> config.nice
+ fi
+ if test -n "$LIBS"; then
+ echo "LIBS=\"$LIBS\"; export LIBS" >> config.nice
+ fi
+ if test -n "$INCLUDES"; then
+ echo "INCLUDES=\"$INCLUDES\"; export INCLUDES" >> config.nice
+ fi
+ if test -n "$NOTEST_CFLAGS"; then
+ echo "NOTEST_CFLAGS=\"$NOTEST_CFLAGS\"; export NOTEST_CFLAGS" >> config.nice
+ fi
+ if test -n "$NOTEST_CPPFLAGS"; then
+ echo "NOTEST_CPPFLAGS=\"$NOTEST_CPPFLAGS\"; export NOTEST_CPPFLAGS" >> config.nice
+ fi
+ if test -n "$NOTEST_LDFLAGS"; then
+ echo "NOTEST_LDFLAGS=\"$NOTEST_LDFLAGS\"; export NOTEST_LDFLAGS" >> config.nice
+ fi
+ if test -n "$NOTEST_LIBS"; then
+ echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> config.nice
+ fi
+
+ # Retrieve command-line arguments.
+ eval "set x $0 $ac_configure_args"
+ shift
+
+ for arg
+ do
+
+ap_last=
+ap_cur="$arg"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+arg="${ap_cur}"
+
+ echo "\"$arg\" \\" >> config.nice
+ done
+ echo '"$@"' >> config.nice
+ chmod +x config.nice
+
+
+nl='
+'
+
+ { $as_echo "$as_me:$LINENO: checking for working mkdir -p" >&5
+$as_echo_n "checking for working mkdir -p... " >&6; }
+if test "${ac_cv_mkdir_p+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+
+ test -d conftestdir && rm -rf conftestdir
+ mkdir -p conftestdir/somedir >/dev/null 2>&1
+ if test -d conftestdir/somedir; then
+ ac_cv_mkdir_p=yes
+ else
+ ac_cv_mkdir_p=no
+ fi
+ rm -rf conftestdir
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_mkdir_p" >&5
+$as_echo "$ac_cv_mkdir_p" >&6; }
+ if test "$ac_cv_mkdir_p" = "yes"; then
+ mkdir_p="mkdir -p"
+ else
+ mkdir_p="$top_srcdir/build/mkdir.sh"
+ fi
+
+
+
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
+$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
+ { (exit 1); exit 1; }; }
+
+{ $as_echo "$as_me:$LINENO: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if test "${ac_cv_build+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+ { (exit 1); exit 1; }; }
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
+$as_echo "$as_me: error: invalid value of canonical build" >&2;}
+ { (exit 1); exit 1; }; };;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:$LINENO: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if test "${ac_cv_host+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
+$as_echo "$as_me: error: invalid value of canonical host" >&2;}
+ { (exit 1); exit 1; }; };;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:$LINENO: checking target system type" >&5
+$as_echo_n "checking target system type... " >&6; }
+if test "${ac_cv_target+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$target_alias" = x; then
+ ac_cv_target=$ac_cv_host
+else
+ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
+ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
+$as_echo "$ac_cv_target" >&6; }
+case $ac_cv_target in
+*-*-*) ;;
+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
+$as_echo "$as_me: error: invalid value of canonical target" >&2;}
+ { (exit 1); exit 1; }; };;
+esac
+target=$ac_cv_target
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_target
+shift
+target_cpu=$1
+target_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+target_os=$*
+IFS=$ac_save_IFS
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
+
+
+# The aliases save the names the user supplied, while $host etc.
+# will get canonicalized.
+test -n "$target_alias" &&
+ test "$program_prefix$program_suffix$program_transform_name" = \
+ NONENONEs,x,x, &&
+ program_prefix=${target_alias}-
+
+orig_prefix="$prefix"
+
+echo $ac_n "${nl}Configuring Apache Portable Runtime library ...${nl}"
+
+
+ apr_found="no"
+
+ if test "$ac_cv_emxos2" = "yes"; then
+ # Scripts don't pass test -x on OS/2
+ TEST_X="test -f"
+ else
+ TEST_X="test -x"
+ fi
+
+ { $as_echo "$as_me:$LINENO: checking for APR" >&5
+$as_echo_n "checking for APR... " >&6; }
+
+# Check whether --with-apr was given.
+if test "${with_apr+set}" = set; then
+ withval=$with_apr;
+ if test "$withval" = "no" || test "$withval" = "yes"; then
+ { { $as_echo "$as_me:$LINENO: error: --with-apr requires a directory to be provided" >&5
+$as_echo "$as_me: error: --with-apr requires a directory to be provided" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+ if $TEST_X "$withval/bin/apr-config"; then
+ apr_found="yes"
+ apr_config="$withval/bin/apr-config"
+ elif $TEST_X "$withval/apr-config"; then
+ apr_found="yes"
+ apr_config="$withval/apr-config"
+ elif $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
+ apr_found="yes"
+ apr_config="$withval"
+ fi
+
+ if test "$apr_found" != "yes"; then
+ { { $as_echo "$as_me:$LINENO: error: the --with-apr parameter is incorrect. It must specify an install prefix, a
+build directory, or an apr-config file." >&5
+$as_echo "$as_me: error: the --with-apr parameter is incorrect. It must specify an install prefix, a
+build directory, or an apr-config file." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+else
+
+ if test -d ""$srcdir/srclib/apr""; then
+ apr_temp_abs_srcdir="`cd "$srcdir/srclib/apr" && pwd`"
+ apr_found="reconfig"
+ if test -n ""./srclib/apr""; then
+ apr_config=""./srclib/apr"/apr-config"
+ else
+ apr_config=""$srcdir/srclib/apr"/apr-config"
+ fi
+ fi
+ if test "$apr_found" = "no" && test -n "1" && test "1" = "1"; then
+ if apr-config --help > /dev/null 2>&1 ; then
+ apr_found="yes"
+ apr_config="apr-config"
+ else
+ for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
+ if $TEST_X "$lookdir/bin/apr-config"; then
+ apr_found="yes"
+ apr_config="$lookdir/bin/apr-config"
+ break
+ fi
+ done
+ fi
+ fi
+
+fi
+
+
+ { $as_echo "$as_me:$LINENO: result: $apr_found" >&5
+$as_echo "$apr_found" >&6; }
+
+
+if test "$apr_found" = "no"; then
+ { { $as_echo "$as_me:$LINENO: error: APR not found. Please read the documentation." >&5
+$as_echo "$as_me: error: APR not found. Please read the documentation." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+if test "$apr_found" = "reconfig"; then
+
+ # save our work to this point; this allows the sub-package to use it
+ cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+ echo "configuring package in srclib/apr now"
+ ac_popdir=`pwd`
+ apr_config_subdirs="srclib/apr"
+ test -d srclib/apr || $mkdir_p srclib/apr
+ ac_abs_srcdir=`(cd $srcdir/srclib/apr && pwd)`
+ cd srclib/apr
+
+ # A "../" for each directory in /$config_subdirs.
+ ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
+
+ # Make the cache file pathname absolute for the subdirs
+ # required to correctly handle subdirs that might actually
+ # be symlinks
+ case "$cache_file" in
+ /*) # already absolute
+ ac_sub_cache_file=$cache_file ;;
+ *) # Was relative path.
+ ac_sub_cache_file="$ac_popdir/$cache_file" ;;
+ esac
+
+
+ apr_configure_args=
+ apr_sep=
+ for apr_configure_arg in $ac_configure_args
+ do
+ case "$apr_configure_arg" in
+ --enable-layout=*|\'--enable-layout=*)
+ continue ;;
+ esac
+ apr_configure_args="$apr_configure_args$apr_sep'$apr_configure_arg'"
+ apr_sep=" "
+ done
+
+
+ test "x$silent" = "xyes" && apr_configure_args="$apr_configure_args --silent"
+
+ apr_configure_args="--disable-option-checking $apr_configure_args"
+
+ if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir $apache_apr_flags --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir --datadir=$datadir --with-installbuilddir=$installbuilddir
+ then :
+ echo "srclib/apr configured properly"
+ else
+ echo "configure failed for srclib/apr"
+ exit 1
+ fi
+
+ cd $ac_popdir
+
+ # grab any updates from the sub-package
+ if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+
+ AP_BUILD_SRCLIB_DIRS="apr $AP_BUILD_SRCLIB_DIRS"
+ AP_CLEAN_SRCLIB_DIRS="$AP_CLEAN_SRCLIB_DIRS apr"
+fi
+
+
+ if test -z "$CC"; then
+ echo " setting CC to \"`$apr_config --cc`\""
+ CC="`$apr_config --cc`"
+ fi
+
+
+ if test -z "$CPP"; then
+ echo " setting CPP to \"`$apr_config --cpp`\""
+ CPP="`$apr_config --cpp`"
+ fi
+
+
+ if test "x$CFLAGS" = "x"; then
+ echo " setting CFLAGS to \"`$apr_config --cflags`\""
+ CFLAGS="`$apr_config --cflags`"
+ else
+ apr_addto_bugger="`$apr_config --cflags`"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $CFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to CFLAGS"
+ CFLAGS="$CFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$CPPFLAGS" = "x"; then
+ echo " setting CPPFLAGS to \"`$apr_config --cppflags`\""
+ CPPFLAGS="`$apr_config --cppflags`"
+ else
+ apr_addto_bugger="`$apr_config --cppflags`"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $CPPFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$LDFLAGS" = "x"; then
+ echo " setting LDFLAGS to \"`$apr_config --ldflags`\""
+ LDFLAGS="`$apr_config --ldflags`"
+ else
+ apr_addto_bugger="`$apr_config --ldflags`"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LDFLAGS"
+ LDFLAGS="$LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"`$apr_config --includes`\""
+ INCLUDES="`$apr_config --includes`"
+ else
+ apr_addto_bugger="`$apr_config --includes`"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+SHLIBPATH_VAR=`$apr_config --shlib-path-var`
+APR_BINDIR=`$apr_config --bindir`
+APR_INCLUDEDIR=`$apr_config --includedir`
+
+echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}"
+
+
+ apu_found="no"
+
+ { $as_echo "$as_me:$LINENO: checking for APR-util" >&5
+$as_echo_n "checking for APR-util... " >&6; }
+
+# Check whether --with-apr-util was given.
+if test "${with_apr_util+set}" = set; then
+ withval=$with_apr_util;
+ if test "$withval" = "no" || test "$withval" = "yes"; then
+ { { $as_echo "$as_me:$LINENO: error: --with-apr-util requires a directory to be provided" >&5
+$as_echo "$as_me: error: --with-apr-util requires a directory to be provided" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+ if test -x "$withval/bin/apu-config"; then
+ apu_found="yes"
+ apu_config="$withval/bin/apu-config"
+ elif test -x "$withval/apu-config"; then
+ apu_found="yes"
+ apu_config="$withval/apu-config"
+ elif test -x "$withval" && $withval --help > /dev/null 2>&1 ; then
+ apu_found="yes"
+ apu_config="$withval"
+ fi
+
+ if test "$apu_found" != "yes"; then
+ { { $as_echo "$as_me:$LINENO: error:
+The directory given to --with-apr-util does not specify a prefix for an
+installed APU, nor an APR-util build directory." >&5
+$as_echo "$as_me: error:
+The directory given to --with-apr-util does not specify a prefix for an
+installed APU, nor an APR-util build directory." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+else
+
+ if test -d ""$srcdir/srclib/apr-util""; then
+ apu_found="reconfig"
+ if test -n ""./srclib/apr-util""; then
+ apu_config=""./srclib/apr-util"/apu-config"
+ else
+ apu_config=""$srcdir/srclib/apr-util"/apu-config"
+ fi
+ fi
+ if test "$apu_found" = "no" && test -n "1" && test "1" = "1"; then
+ if apu-config --help > /dev/null 2>&1 ; then
+ apu_found="yes"
+ apu_config="apu-config"
+ else
+ for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
+ if test -x "$lookdir/bin/apu-config"; then
+ apu_found="yes"
+ apu_config="$lookdir/bin/apu-config"
+ break
+ fi
+ done
+ fi
+ fi
+
+fi
+
+
+ { $as_echo "$as_me:$LINENO: result: $apu_found" >&5
+$as_echo "$apu_found" >&6; }
+
+
+if test "$apu_found" = "no"; then
+ { { $as_echo "$as_me:$LINENO: error: APR-util not found. Please read the documentation." >&5
+$as_echo "$as_me: error: APR-util not found. Please read the documentation." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+# Catch some misconfigurations:
+case ${apr_found}.${apu_found} in
+reconfig.yes)
+ { { $as_echo "$as_me:$LINENO: error: Cannot use an external APR-util with the bundled APR" >&5
+$as_echo "$as_me: error: Cannot use an external APR-util with the bundled APR" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;
+yes.reconfig)
+ { { $as_echo "$as_me:$LINENO: error: Cannot use an external APR with the bundled APR-util" >&5
+$as_echo "$as_me: error: Cannot use an external APR with the bundled APR-util" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;
+esac
+
+if test "$apu_found" = "reconfig"; then
+
+ # save our work to this point; this allows the sub-package to use it
+ cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+ echo "configuring package in srclib/apr-util now"
+ ac_popdir=`pwd`
+ apr_config_subdirs="srclib/apr-util"
+ test -d srclib/apr-util || $mkdir_p srclib/apr-util
+ ac_abs_srcdir=`(cd $srcdir/srclib/apr-util && pwd)`
+ cd srclib/apr-util
+
+ # A "../" for each directory in /$config_subdirs.
+ ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
+
+ # Make the cache file pathname absolute for the subdirs
+ # required to correctly handle subdirs that might actually
+ # be symlinks
+ case "$cache_file" in
+ /*) # already absolute
+ ac_sub_cache_file=$cache_file ;;
+ *) # Was relative path.
+ ac_sub_cache_file="$ac_popdir/$cache_file" ;;
+ esac
+
+
+ apr_configure_args=
+ apr_sep=
+ for apr_configure_arg in $ac_configure_args
+ do
+ case "$apr_configure_arg" in
+ --enable-layout=*|\'--enable-layout=*)
+ continue ;;
+ esac
+ apr_configure_args="$apr_configure_args$apr_sep'$apr_configure_arg'"
+ apr_sep=" "
+ done
+
+
+ test "x$silent" = "xyes" && apr_configure_args="$apr_configure_args --silent"
+
+ apr_configure_args="--disable-option-checking $apr_configure_args"
+
+ if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --with-apr=../apr --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir
+ then :
+ echo "srclib/apr-util configured properly"
+ else
+ echo "configure failed for srclib/apr-util"
+ exit 1
+ fi
+
+ cd $ac_popdir
+
+ # grab any updates from the sub-package
+ if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+
+ AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS apr-util"
+ AP_CLEAN_SRCLIB_DIRS="apr-util $AP_CLEAN_SRCLIB_DIRS"
+fi
+
+
+ if test "x$LDFLAGS" = "x"; then
+ echo " setting LDFLAGS to \"`$apu_config --ldflags`\""
+ LDFLAGS="`$apu_config --ldflags`"
+ else
+ apr_addto_bugger="`$apu_config --ldflags`"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LDFLAGS"
+ LDFLAGS="$LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"`$apu_config --includes`\""
+ INCLUDES="`$apu_config --includes`"
+ else
+ apr_addto_bugger="`$apu_config --includes`"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+APU_BINDIR=`$apu_config --bindir`
+APU_INCLUDEDIR=`$apu_config --includedir`
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { (ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+
+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+if test -z "$ac_file"; then
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: C compiler cannot create executables
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+fi
+
+ac_exeext=$ac_cv_exeext
+
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+ if { ac_try='./$ac_file'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
+fi
+
+rm -f conftest$ac_cv_exeext
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if test "${ac_cv_objext+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
+fi
+
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_c89=$ac_arg
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if test "${ac_cv_prog_CPP+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ :
+else
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+echo $ac_n "${nl}Configuring PCRE regular expression library ...${nl}"
+
+
+ # save our work to this point; this allows the sub-package to use it
+ cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+ echo "configuring package in srclib/pcre now"
+ ac_popdir=`pwd`
+ apr_config_subdirs="srclib/pcre"
+ test -d srclib/pcre || $mkdir_p srclib/pcre
+ ac_abs_srcdir=`(cd $srcdir/srclib/pcre && pwd)`
+ cd srclib/pcre
+
+ # A "../" for each directory in /$config_subdirs.
+ ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
+
+ # Make the cache file pathname absolute for the subdirs
+ # required to correctly handle subdirs that might actually
+ # be symlinks
+ case "$cache_file" in
+ /*) # already absolute
+ ac_sub_cache_file=$cache_file ;;
+ *) # Was relative path.
+ ac_sub_cache_file="$ac_popdir/$cache_file" ;;
+ esac
+
+ apr_configure_args=$ac_configure_args
+
+ test "x$silent" = "xyes" && apr_configure_args="$apr_configure_args --silent"
+
+ apr_configure_args="--disable-option-checking $apr_configure_args"
+
+ if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir
+ then :
+ echo "srclib/pcre configured properly"
+ else
+ echo "configure failed for srclib/pcre"
+ exit 1
+ fi
+
+ cd $ac_popdir
+
+ # grab any updates from the sub-package
+ if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+
+
+echo $ac_n "${nl}Configuring Apache httpd ...${nl}"
+
+abs_srcdir=`(cd $srcdir && pwd)`
+abs_builddir=`pwd`
+
+
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I.\""
+ INCLUDES="-I."
+ else
+ apr_addto_bugger="-I."
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+
+if test "$abs_builddir" != "$abs_srcdir"; then
+ USE_VPATH=1
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I\$(srcdir) -I\$(top_builddir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_builddir)/include\""
+ INCLUDES="-I\$(srcdir) -I\$(top_builddir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_builddir)/include"
+ else
+ apr_addto_bugger="-I\$(srcdir) -I\$(top_builddir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_builddir)/include"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+fi
+
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/modules/filters -I\$(top_srcdir)/modules/proxy -I\$(top_srcdir)/include -I\$(top_srcdir)/modules/generators\""
+ INCLUDES="-I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/modules/filters -I\$(top_srcdir)/modules/proxy -I\$(top_srcdir)/include -I\$(top_srcdir)/modules/generators"
+ else
+ apr_addto_bugger="-I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/modules/filters -I\$(top_srcdir)/modules/proxy -I\$(top_srcdir)/include -I\$(top_srcdir)/modules/generators"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+
+echo $ac_n "${nl}Applying OS-specific hints for httpd ...${nl}"
+
+case $host in
+ *os2*)
+ # Use a custom made libtool replacement
+ echo "using aplibtool"
+ LIBTOOL="$abs_srcdir/srclib/apr/build/aplibtool"
+ SH_LIBTOOL="$LIBTOOL --shared --export-all"
+ SH_LIBS="\$(ALL_LIBS)"
+ CORE_IMPLIB_FILE="ApacheCoreOS2.la"
+ CORE_IMPLIB="$abs_srcdir/server/$CORE_IMPLIB_FILE"
+ MK_IMPLIB="emximp"
+ other_targets="$other_targets os2core"
+ INSTALL_PROG_FLAGS="-e .exe"
+ SHLTCFLAGS=""
+ LTCFLAGS=""
+ ;;
+ *)
+ if test "x$LTFLAGS" = "x"; then
+ LTFLAGS='--silent'
+ fi
+ my_libtool=`$apr_config --apr-libtool`
+ LIBTOOL="$my_libtool \$(LTFLAGS)"
+ libtoolversion=`$my_libtool --version`
+ case $libtoolversion in
+ *1.[45]*)
+ SH_LIBTOOL='$(LIBTOOL)'
+ SHLTCFLAGS="-prefer-pic"
+ LTCFLAGS="-prefer-non-pic -static"
+ ;;
+ *)
+ SH_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool $(LTFLAGS)'
+ SHLTCFLAGS=""
+ LTCFLAGS=""
+ ;;
+ esac
+ ;;
+esac
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST SHLTCFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST LTCFLAGS"
+
+
+
+AP_SIG_GRACEFUL=USR1
+
+case $host in
+ *-apple-aux3*)
+
+ echo " forcing APACHE_MPM to \"prefork\""
+ APACHE_MPM="prefork"
+
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+ *-beos*)
+
+ echo " forcing APACHE_MPM to \"beos\""
+ APACHE_MPM="beos"
+
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+ *os2_emx*)
+
+ echo " forcing APACHE_MPM to \"mpmt_os2\""
+ APACHE_MPM="mpmt_os2"
+
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+ *-linux-*)
+ case `uname -r` in
+ 2.0* )
+ AP_SIG_GRACEFUL=WINCH
+ ;;
+ 2.[2-9]* )
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+ * )
+ ;;
+ esac
+ ;;
+ *486-*-bsdi* | *-netbsd* | *-freebsd* | *-apple-darwin* | *-dec-osf* | *-qnx)
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+ *-solaris2*)
+ ap_platform_runtime_link_flag="-R"
+ case `uname -r` in
+ 5.567*)
+ ;;
+ * )
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+ esac
+ ;;
+ *cygwin*)
+
+ echo " forcing APACHE_MPM to \"prefork\""
+ APACHE_MPM="prefork"
+
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+ *aix*)
+ aixver=`echo $host | sed 's/^[^0-9]*//' | sed 's/\.//g'`
+ if test $aixver -ge 4320; then
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ fi
+ ;;
+ *os390*)
+
+ echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
+ SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
+
+ ;;
+esac
+
+
+ echo " forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to \"1\""
+ AP_NONBLOCK_WHEN_MULTI_LISTEN="1"
+
+
+
+
+# Extract the first word of "rm", so it can be a program name with args.
+set dummy rm; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_RM+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ case $RM in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_RM="$RM" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+RM=$ac_cv_path_RM
+if test -n "$RM"; then
+ { $as_echo "$as_me:$LINENO: result: $RM" >&5
+$as_echo "$RM" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_AWK+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:$LINENO: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if test "${ac_cv_path_install+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in
+ ./ | .// | /cC/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_RANLIB+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB="true"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+
+
+
+
+{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if test "${ac_cv_path_GREP+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_stdc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_stdc=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+
+
+
+
+
+
+
+
+
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+ if test "${ac_cv_header_minix_config_h+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
+$as_echo_n "checking for minix/config.h... " >&6; }
+if test "${ac_cv_header_minix_config_h+set}" = set; then
+ $as_echo_n "(cached) " >&6
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
+$as_echo "$ac_cv_header_minix_config_h" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
+$as_echo_n "checking minix/config.h usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <minix/config.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
+$as_echo_n "checking minix/config.h presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <minix/config.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
+$as_echo_n "checking for minix/config.h... " >&6; }
+if test "${ac_cv_header_minix_config_h+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_header_minix_config_h=$ac_header_preproc
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
+$as_echo "$ac_cv_header_minix_config_h" >&6; }
+
+fi
+if test "x$ac_cv_header_minix_config_h" = x""yes; then
+ MINIX=yes
+else
+ MINIX=
+fi
+
+
+ if test "$MINIX" = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define _POSIX_SOURCE 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define _POSIX_1_SOURCE 2
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define _MINIX 1
+_ACEOF
+
+ fi
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
+if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+# define __EXTENSIONS__ 1
+ $ac_includes_default
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_safe_to_define___extensions__=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_safe_to_define___extensions__=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
+ test $ac_cv_safe_to_define___extensions__ = yes &&
+ cat >>confdefs.h <<\_ACEOF
+#define __EXTENSIONS__ 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define _ALL_SOURCE 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define _GNU_SOURCE 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define _POSIX_PTHREAD_SEMANTICS 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define _TANDEM_SOURCE 1
+_ACEOF
+
+
+
+
+{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
+$as_echo_n "checking for library containing strerror... " >&6; }
+if test "${ac_cv_search_strerror+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char strerror ();
+int
+main ()
+{
+return strerror ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' cposix; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_search_strerror=$ac_res
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext
+ if test "${ac_cv_search_strerror+set}" = set; then
+ break
+fi
+done
+if test "${ac_cv_search_strerror+set}" = set; then
+ :
+else
+ ac_cv_search_strerror=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
+$as_echo "$ac_cv_search_strerror" >&6; }
+ac_res=$ac_cv_search_strerror
+if test "$ac_res" != no; then
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+fi
+
+
+
+
+
+
+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_stdc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_stdc=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+
+
+
+
+
+
+
+
+
+
+for ac_header in \
+string.h \
+limits.h \
+unistd.h \
+sys/socket.h \
+pwd.h \
+grp.h \
+strings.h \
+sys/prctl.h \
+sys/processor.h \
+sys/sem.h
+
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
+$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
+if test "${ac_cv_header_sys_wait_h+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <sys/types.h>
+#include <sys/wait.h>
+#ifndef WEXITSTATUS
+# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
+#endif
+#ifndef WIFEXITED
+# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
+#endif
+
+int
+main ()
+{
+ int s;
+ wait (&s);
+ s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_sys_wait_h=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_sys_wait_h=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
+$as_echo "$ac_cv_header_sys_wait_h" >&6; }
+if test $ac_cv_header_sys_wait_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_SYS_WAIT_H 1
+_ACEOF
+
+fi
+
+
+
+{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
+if test "${ac_cv_c_const+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+/* FIXME: Include the comments suggested by Paul. */
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this. */
+ typedef int charset[2];
+ const charset cs;
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this. */
+ char *t;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; };
+ struct s *b; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_const=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_const=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
+$as_echo "$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+cat >>confdefs.h <<\_ACEOF
+#define const /**/
+_ACEOF
+
+fi
+
+if test "$ac_cv_c_compiler_gnu" = "yes"; then
+
+ if test "x$NOTEST_CPPFLAGS" = "x"; then
+ echo " setting NOTEST_CPPFLAGS to \"-DAP_HAVE_DESIGNATED_INITIALIZER\""
+ NOTEST_CPPFLAGS="-DAP_HAVE_DESIGNATED_INITIALIZER"
+ else
+ apr_addto_bugger="-DAP_HAVE_DESIGNATED_INITIALIZER"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $NOTEST_CPPFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to NOTEST_CPPFLAGS"
+ NOTEST_CPPFLAGS="$NOTEST_CPPFLAGS $i"
+ fi
+ done
+ fi
+
+fi
+
+
+
+
+
+
+
+
+
+for ac_func in \
+getpwnam \
+getgrnam \
+initgroups \
+bindprocessor \
+prctl \
+timegm \
+
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+{ $as_echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
+$as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
+if test "${ac_cv_struct_tm_gmtoff+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <sys/types.h>
+#include <time.h>
+int
+main ()
+{
+struct tm tm; tm.tm_gmtoff;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_struct_tm_gmtoff=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_struct_tm_gmtoff=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm_gmtoff" >&5
+$as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
+if test "$ac_cv_struct_tm_gmtoff" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_GMTOFF 1
+_ACEOF
+
+fi
+
+
+case $host in
+ *aix*)
+ # for 32-bit builds, increase MAXDATA to allow lots of threads
+ if test x$OBJECT_MODE != x64; then
+ OS_SPECIFIC_VARS="LDR_CNTRL=\"MAXDATA=0x80000000\" ; export LDR_CNTRL ;"
+ fi
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS AIXTHREAD_SCOPE=S ; export AIXTHREAD_SCOPE"
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; AIXTHREAD_MUTEX_DEBUG=OFF ; export AIXTHREAD_MUTEX_DEBUG"
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; AIXTHREAD_RWLOCK_DEBUG=OFF ; export AIXTHREAD_RWLOCK_DEBUG"
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; AIXTHREAD_COND_DEBUG=OFF ; export AIXTHREAD_COND_DEBUG"
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; SPINLOOPTIME=1000 ; export SPINLOOPTIME"
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; YIELDLOOPTIME=8 ; export YIELDLOOPTIME"
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; MALLOCMULTIHEAP=considersize,heaps:8 ; export MALLOCMULTIHEAP"
+ ;;
+ *os390*)
+ OS_SPECIFIC_VARS="export _CEE_RUNOPTS=\"STACK(,,ANY)\" ; export _EDC_ADD_ERRNO2=1"
+ ;;
+ *)
+ OS_SPECIFIC_VARS=""
+esac
+
+
+# Check whether --with-port was given.
+if test "${with_port+set}" = set; then
+ withval=$with_port; if test "$withval" = "yes"; then { { $as_echo "$as_me:$LINENO: error: 'option --with-port requires a value (the TCP port number)'" >&5
+$as_echo "$as_me: error: 'option --with-port requires a value (the TCP port number)'" >&2;}
+ { (exit 1); exit 1; }; }; else PORT="$withval"; fi
+else
+ PORT=80
+fi
+
+
+
+apr_old_cppflags=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <apr.h>
+#if APR_HAVE_IPV6
+YES_IS_DEFINED
+#endif
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
+ ac_cv_define_APR_HAVE_IPV6=yes
+else
+ ac_cv_define_APR_HAVE_IPV6=no
+fi
+rm -f conftest*
+
+CPPFLAGS=$apr_old_cppflags
+
+
+# Check whether --enable-v4-mapped was given.
+if test "${enable_v4_mapped+set}" = set; then
+ enableval=$enable_v4_mapped;
+ v4mapped=$enableval
+
+else
+
+ case $host in
+ *freebsd5*|*netbsd*|*openbsd*)
+ v4mapped=no
+ ;;
+ *)
+ v4mapped=yes
+ ;;
+esac
+
+fi
+
+
+if test $v4mapped = "yes" -o $ac_cv_define_APR_HAVE_IPV6 = "no"; then
+ nonssl_listen_stmt_1=""
+ nonssl_listen_stmt_2="Listen @@Port@@"
+ if test $ac_cv_define_APR_HAVE_IPV6 = "yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define AP_ENABLE_V4_MAPPED 1
+_ACEOF
+
+ fi
+else
+ nonssl_listen_stmt_1="Listen 0.0.0.0:@@Port@@"
+ nonssl_listen_stmt_2="Listen [::]:@@Port@@"
+fi
+
+# Check whether --enable-exception-hook was given.
+if test "${enable_exception_hook+set}" = set; then
+ enableval=$enable_exception_hook;
+
+cat >>confdefs.h <<\_ACEOF
+#define AP_ENABLE_EXCEPTION_HOOK 1
+_ACEOF
+
+
+fi
+
+# Check whether --enable-maintainer-mode was given.
+if test "${enable_maintainer_mode+set}" = set; then
+ enableval=$enable_maintainer_mode;
+
+ if test "x$CPPFLAGS" = "x"; then
+ echo " setting CPPFLAGS to \"-DAP_DEBUG\""
+ CPPFLAGS="-DAP_DEBUG"
+ else
+ apr_addto_bugger="-DAP_DEBUG"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $CPPFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $i"
+ fi
+ done
+ fi
+
+
+fi
+
+prefix="$orig_prefix"
+
+ module_selection=default
+ module_default=yes
+
+ # Check whether --enable-modules was given.
+if test "${enable_modules+set}" = set; then
+ enableval=$enable_modules;
+ for i in $enableval; do
+ if test "$i" = "all" -o "$i" = "most"; then
+ module_selection=$i
+ else
+ eval "enable_$i=yes"
+ fi
+ done
+
+fi
+
+
+ # Check whether --enable-mods-shared was given.
+if test "${enable_mods_shared+set}" = set; then
+ enableval=$enable_mods_shared;
+ for i in $enableval; do
+ if test "$i" = "all" -o "$i" = "most"; then
+ module_selection=$i
+ module_default=shared
+ else
+ i=`echo $i | sed 's/-/_/g'`
+ eval "enable_$i=shared"
+ fi
+ done
+
+fi
+
+
+
+
+
+
+ current_dir=aaa
+ modpath_current=modules/aaa
+ modpath_static=
+ modpath_shared=
+ test -d aaa || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_access" >&5
+$as_echo_n "checking whether to enable mod_access... " >&6; }
+ # Check whether --enable-access was given.
+if test "${enable_access+set}" = set; then
+ enableval=$enable_access;
+else
+ enable_access=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_access" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_access" = "static"; then
+ enable_access=yes
+ elif test "$enable_access" = "yes"; then
+ enable_access=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_access" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_access=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_access" != "yes"; then
+ enable_access=no
+ fi
+ elif test "$enable_access" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_access=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_access=no
+ fi
+ fi
+ if test "$enable_access" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_access$_apmod_extra_msg" >&5
+$as_echo "$enable_access$_apmod_extra_msg" >&6; }
+ if test "$enable_access" != "no"; then
+ case "$enable_access" in
+ shared*)
+ enable_access=`echo $ac_n $enable_access$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES access"
+ ;;
+ *)
+ MODLIST="$MODLIST access"
+ if test "access" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_access.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_access.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_ACCESS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_access.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ACCESS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ACCESS_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_auth" >&5
+$as_echo_n "checking whether to enable mod_auth... " >&6; }
+ # Check whether --enable-auth was given.
+if test "${enable_auth+set}" = set; then
+ enableval=$enable_auth;
+else
+ enable_auth=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_auth" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_auth" = "static"; then
+ enable_auth=yes
+ elif test "$enable_auth" = "yes"; then
+ enable_auth=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_auth=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth" != "yes"; then
+ enable_auth=no
+ fi
+ elif test "$enable_auth" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_auth=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_auth=no
+ fi
+ fi
+ if test "$enable_auth" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_auth$_apmod_extra_msg" >&5
+$as_echo "$enable_auth$_apmod_extra_msg" >&6; }
+ if test "$enable_auth" != "no"; then
+ case "$enable_auth" in
+ shared*)
+ enable_auth=`echo $ac_n $enable_auth$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES auth"
+ ;;
+ *)
+ MODLIST="$MODLIST auth"
+ if test "auth" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_auth.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_auth.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_AUTH_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_auth.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTH_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_auth_anon" >&5
+$as_echo_n "checking whether to enable mod_auth_anon... " >&6; }
+ # Check whether --enable-auth-anon was given.
+if test "${enable_auth_anon+set}" = set; then
+ enableval=$enable_auth_anon;
+else
+ enable_auth_anon=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_auth_anon" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_auth_anon" = "static"; then
+ enable_auth_anon=yes
+ elif test "$enable_auth_anon" = "yes"; then
+ enable_auth_anon=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_anon" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_auth_anon=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_anon" != "yes"; then
+ enable_auth_anon=no
+ fi
+ elif test "$enable_auth_anon" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_auth_anon=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_auth_anon=no
+ fi
+ fi
+ if test "$enable_auth_anon" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_auth_anon$_apmod_extra_msg" >&5
+$as_echo "$enable_auth_anon$_apmod_extra_msg" >&6; }
+ if test "$enable_auth_anon" != "no"; then
+ case "$enable_auth_anon" in
+ shared*)
+ enable_auth_anon=`echo $ac_n $enable_auth_anon$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES auth_anon"
+ ;;
+ *)
+ MODLIST="$MODLIST auth_anon"
+ if test "auth_anon" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_auth_anon.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_auth_anon.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_AUTH_ANON_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_auth_anon.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTH_ANON_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_ANON_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_auth_dbm" >&5
+$as_echo_n "checking whether to enable mod_auth_dbm... " >&6; }
+ # Check whether --enable-auth-dbm was given.
+if test "${enable_auth_dbm+set}" = set; then
+ enableval=$enable_auth_dbm;
+else
+ enable_auth_dbm=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_auth_dbm" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_auth_dbm" = "static"; then
+ enable_auth_dbm=yes
+ elif test "$enable_auth_dbm" = "yes"; then
+ enable_auth_dbm=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_dbm" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_auth_dbm=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_dbm" != "yes"; then
+ enable_auth_dbm=no
+ fi
+ elif test "$enable_auth_dbm" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_auth_dbm=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_auth_dbm=no
+ fi
+ fi
+ if test "$enable_auth_dbm" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_auth_dbm$_apmod_extra_msg" >&5
+$as_echo "$enable_auth_dbm$_apmod_extra_msg" >&6; }
+ if test "$enable_auth_dbm" != "no"; then
+ case "$enable_auth_dbm" in
+ shared*)
+ enable_auth_dbm=`echo $ac_n $enable_auth_dbm$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES auth_dbm"
+ ;;
+ *)
+ MODLIST="$MODLIST auth_dbm"
+ if test "auth_dbm" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_auth_dbm.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_auth_dbm.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_AUTH_DBM_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_auth_dbm.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTH_DBM_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_DBM_LDADD"
+
+
+
+ fi
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_auth_digest" >&5
+$as_echo_n "checking whether to enable mod_auth_digest... " >&6; }
+ # Check whether --enable-auth-digest was given.
+if test "${enable_auth_digest+set}" = set; then
+ enableval=$enable_auth_digest;
+else
+ enable_auth_digest=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_auth_digest" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_auth_digest" = "static"; then
+ enable_auth_digest=yes
+ elif test "$enable_auth_digest" = "yes"; then
+ enable_auth_digest=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_digest" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_auth_digest=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_digest" != "yes"; then
+ enable_auth_digest=no
+ fi
+ elif test "$enable_auth_digest" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_auth_digest=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_auth_digest=no
+ fi
+ fi
+ if test "$enable_auth_digest" != "no"; then
+ { $as_echo "$as_me:$LINENO: result: checking dependencies" >&5
+$as_echo "checking dependencies" >&6; }
+
+
+apr_old_cppflags=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <apr.h>
+#if APR_HAS_RANDOM
+YES_IS_DEFINED
+#endif
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
+ ac_cv_define_APR_HAS_RANDOM=yes
+else
+ ac_cv_define_APR_HAS_RANDOM=no
+fi
+rm -f conftest*
+
+CPPFLAGS=$apr_old_cppflags
+
+ if test $ac_cv_define_APR_HAS_RANDOM = "no"; then
+ echo "You need APR random support to use mod_auth_digest."
+ echo "Look at APR configure options --with-egd and --with-devrandom."
+ enable_auth_digest="no"
+ fi
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_auth_digest" >&5
+$as_echo_n "checking whether to enable mod_auth_digest... " >&6; }
+ if test "$enable_auth_digest" = "no"; then
+ if test "$_apmod_error_fatal" = "no"; then
+ _apmod_extra_msg=" (disabled)"
+ else
+ { { $as_echo "$as_me:$LINENO: error: mod_auth_digest has been requested but can not be built due to prerequisite failures" >&5
+$as_echo "$as_me: error: mod_auth_digest has been requested but can not be built due to prerequisite failures" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_auth_digest$_apmod_extra_msg" >&5
+$as_echo "$enable_auth_digest$_apmod_extra_msg" >&6; }
+ if test "$enable_auth_digest" != "no"; then
+ case "$enable_auth_digest" in
+ shared*)
+ enable_auth_digest=`echo $ac_n $enable_auth_digest$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES auth_digest"
+ ;;
+ *)
+ MODLIST="$MODLIST auth_digest"
+ if test "auth_digest" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_auth_digest.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_auth_digest.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_AUTH_DIGEST_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_auth_digest.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTH_DIGEST_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_DIGEST_LDADD"
+
+
+
+ fi
+
+
+
+ if test "x$LT_LDFLAGS" = "x"; then
+ echo " setting LT_LDFLAGS to \"-export-dynamic\""
+ LT_LDFLAGS="-export-dynamic"
+ else
+ apr_addto_bugger="-export-dynamic"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LT_LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LT_LDFLAGS"
+ LT_LDFLAGS="$LT_LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=arch/win32
+ modpath_current=modules/arch/win32
+ modpath_static=
+ modpath_shared=
+ test -d arch/win32 || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_isapi" >&5
+$as_echo_n "checking whether to enable mod_isapi... " >&6; }
+ # Check whether --enable-isapi was given.
+if test "${enable_isapi+set}" = set; then
+ enableval=$enable_isapi;
+else
+ enable_isapi=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_isapi" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_isapi" = "static"; then
+ enable_isapi=yes
+ elif test "$enable_isapi" = "yes"; then
+ enable_isapi=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_isapi" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_isapi=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_isapi" != "yes"; then
+ enable_isapi=no
+ fi
+ elif test "$enable_isapi" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_isapi=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_isapi=no
+ fi
+ fi
+ if test "$enable_isapi" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_isapi$_apmod_extra_msg" >&5
+$as_echo "$enable_isapi$_apmod_extra_msg" >&6; }
+ if test "$enable_isapi" != "no"; then
+ case "$enable_isapi" in
+ shared*)
+ enable_isapi=`echo $ac_n $enable_isapi$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES isapi"
+ ;;
+ *)
+ MODLIST="$MODLIST isapi"
+ if test "isapi" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_isapi.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_isapi.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_ISAPI_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_isapi.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ISAPI_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ISAPI_LDADD"
+
+
+
+ fi
+
+
+
+ if test "x$LT_LDFLAGS" = "x"; then
+ echo " setting LT_LDFLAGS to \"-export-dynamic\""
+ LT_LDFLAGS="-export-dynamic"
+ else
+ apr_addto_bugger="-export-dynamic"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LT_LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LT_LDFLAGS"
+ LT_LDFLAGS="$LT_LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=cache
+ modpath_current=modules/cache
+ modpath_static=
+ modpath_shared=
+ test -d cache || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_file_cache" >&5
+$as_echo_n "checking whether to enable mod_file_cache... " >&6; }
+ # Check whether --enable-file-cache was given.
+if test "${enable_file_cache+set}" = set; then
+ enableval=$enable_file_cache;
+else
+ enable_file_cache=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_file_cache" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_file_cache" = "static"; then
+ enable_file_cache=yes
+ elif test "$enable_file_cache" = "yes"; then
+ enable_file_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_file_cache" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_file_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_file_cache" != "yes"; then
+ enable_file_cache=no
+ fi
+ elif test "$enable_file_cache" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_file_cache=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_file_cache=no
+ fi
+ fi
+ if test "$enable_file_cache" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_file_cache$_apmod_extra_msg" >&5
+$as_echo "$enable_file_cache$_apmod_extra_msg" >&6; }
+ if test "$enable_file_cache" != "no"; then
+ case "$enable_file_cache" in
+ shared*)
+ enable_file_cache=`echo $ac_n $enable_file_cache$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES file_cache"
+ ;;
+ *)
+ MODLIST="$MODLIST file_cache"
+ if test "file_cache" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_file_cache.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_file_cache.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_FILE_CACHE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_file_cache.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_FILE_CACHE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_FILE_CACHE_LDADD"
+
+
+
+ fi
+
+
+
+ if test "x$LT_LDFLAGS" = "x"; then
+ echo " setting LT_LDFLAGS to \"-export-dynamic\""
+ LT_LDFLAGS="-export-dynamic"
+ else
+ apr_addto_bugger="-export-dynamic"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LT_LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LT_LDFLAGS"
+ LT_LDFLAGS="$LT_LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=echo
+ modpath_current=modules/echo
+ modpath_static=
+ modpath_shared=
+ test -d echo || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_echo" >&5
+$as_echo_n "checking whether to enable mod_echo... " >&6; }
+ # Check whether --enable-echo was given.
+if test "${enable_echo+set}" = set; then
+ enableval=$enable_echo;
+else
+ enable_echo=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_echo" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_echo" = "static"; then
+ enable_echo=yes
+ elif test "$enable_echo" = "yes"; then
+ enable_echo=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_echo" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_echo=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_echo" != "yes"; then
+ enable_echo=no
+ fi
+ elif test "$enable_echo" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_echo=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_echo=no
+ fi
+ fi
+ if test "$enable_echo" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_echo$_apmod_extra_msg" >&5
+$as_echo "$enable_echo$_apmod_extra_msg" >&6; }
+ if test "$enable_echo" != "no"; then
+ case "$enable_echo" in
+ shared*)
+ enable_echo=`echo $ac_n $enable_echo$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES echo"
+ ;;
+ *)
+ MODLIST="$MODLIST echo"
+ if test "echo" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_echo.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_echo.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_ECHO_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_echo.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ECHO_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ECHO_LDADD"
+
+
+
+ fi
+
+
+
+ if test "x$LT_LDFLAGS" = "x"; then
+ echo " setting LT_LDFLAGS to \"-export-dynamic\""
+ LT_LDFLAGS="-export-dynamic"
+ else
+ apr_addto_bugger="-export-dynamic"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LT_LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LT_LDFLAGS"
+ LT_LDFLAGS="$LT_LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+ current_dir=experimental
+ modpath_current=modules/experimental
+ modpath_static=
+ modpath_shared=
+ test -d experimental || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+if test "$ac_cv_ebcdic" = "yes"; then
+# mod_charset_lite can be very useful on an ebcdic system,
+# so include it by default
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_charset_lite" >&5
+$as_echo_n "checking whether to enable mod_charset_lite... " >&6; }
+ # Check whether --enable-charset-lite was given.
+if test "${enable_charset_lite+set}" = set; then
+ enableval=$enable_charset_lite;
+else
+ enable_charset_lite=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_charset_lite" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_charset_lite" = "static"; then
+ enable_charset_lite=yes
+ elif test "$enable_charset_lite" = "yes"; then
+ enable_charset_lite=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_charset_lite" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_charset_lite=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_charset_lite" != "yes"; then
+ enable_charset_lite=no
+ fi
+ elif test "$enable_charset_lite" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_charset_lite=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_charset_lite=no
+ fi
+ fi
+ if test "$enable_charset_lite" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_charset_lite$_apmod_extra_msg" >&5
+$as_echo "$enable_charset_lite$_apmod_extra_msg" >&6; }
+ if test "$enable_charset_lite" != "no"; then
+ case "$enable_charset_lite" in
+ shared*)
+ enable_charset_lite=`echo $ac_n $enable_charset_lite$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES charset_lite"
+ ;;
+ *)
+ MODLIST="$MODLIST charset_lite"
+ if test "charset_lite" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_charset_lite.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_charset_lite.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CHARSET_LITE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_charset_lite.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CHARSET_LITE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CHARSET_LITE_LDADD"
+
+
+
+ fi
+
+else
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_charset_lite" >&5
+$as_echo_n "checking whether to enable mod_charset_lite... " >&6; }
+ # Check whether --enable-charset-lite was given.
+if test "${enable_charset_lite+set}" = set; then
+ enableval=$enable_charset_lite;
+else
+ enable_charset_lite=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_charset_lite" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_charset_lite" = "static"; then
+ enable_charset_lite=yes
+ elif test "$enable_charset_lite" = "yes"; then
+ enable_charset_lite=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_charset_lite" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_charset_lite=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_charset_lite" != "yes"; then
+ enable_charset_lite=no
+ fi
+ elif test "$enable_charset_lite" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_charset_lite=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_charset_lite=no
+ fi
+ fi
+ if test "$enable_charset_lite" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_charset_lite$_apmod_extra_msg" >&5
+$as_echo "$enable_charset_lite$_apmod_extra_msg" >&6; }
+ if test "$enable_charset_lite" != "no"; then
+ case "$enable_charset_lite" in
+ shared*)
+ enable_charset_lite=`echo $ac_n $enable_charset_lite$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES charset_lite"
+ ;;
+ *)
+ MODLIST="$MODLIST charset_lite"
+ if test "charset_lite" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_charset_lite.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_charset_lite.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CHARSET_LITE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_charset_lite.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CHARSET_LITE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CHARSET_LITE_LDADD"
+
+
+
+ fi
+
+fi
+
+cache_objs="mod_cache.lo cache_storage.lo cache_util.lo "
+mem_cache_objs="mod_mem_cache.lo cache_cache.lo cache_pqueue.lo cache_hash.lo "
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_cache" >&5
+$as_echo_n "checking whether to enable mod_cache... " >&6; }
+ # Check whether --enable-cache was given.
+if test "${enable_cache+set}" = set; then
+ enableval=$enable_cache;
+else
+ enable_cache=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_cache" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_cache" = "static"; then
+ enable_cache=yes
+ elif test "$enable_cache" = "yes"; then
+ enable_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cache" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cache" != "yes"; then
+ enable_cache=no
+ fi
+ elif test "$enable_cache" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_cache=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_cache=no
+ fi
+ fi
+ if test "$enable_cache" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_cache$_apmod_extra_msg" >&5
+$as_echo "$enable_cache$_apmod_extra_msg" >&6; }
+ if test "$enable_cache" != "no"; then
+ case "$enable_cache" in
+ shared*)
+ enable_cache=`echo $ac_n $enable_cache$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES cache"
+ ;;
+ *)
+ MODLIST="$MODLIST cache"
+ if test "cache" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$cache_objs"; then
+ objects="mod_cache.lo"
+ else
+ objects="$cache_objs"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_cache.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CACHE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_cache.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CACHE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CACHE_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_disk_cache" >&5
+$as_echo_n "checking whether to enable mod_disk_cache... " >&6; }
+ # Check whether --enable-disk-cache was given.
+if test "${enable_disk_cache+set}" = set; then
+ enableval=$enable_disk_cache;
+else
+ enable_disk_cache=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_disk_cache" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_disk_cache" = "static"; then
+ enable_disk_cache=yes
+ elif test "$enable_disk_cache" = "yes"; then
+ enable_disk_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_disk_cache" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_disk_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_disk_cache" != "yes"; then
+ enable_disk_cache=no
+ fi
+ elif test "$enable_disk_cache" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_disk_cache=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_disk_cache=no
+ fi
+ fi
+ if test "$enable_disk_cache" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_disk_cache$_apmod_extra_msg" >&5
+$as_echo "$enable_disk_cache$_apmod_extra_msg" >&6; }
+ if test "$enable_disk_cache" != "no"; then
+ case "$enable_disk_cache" in
+ shared*)
+ enable_disk_cache=`echo $ac_n $enable_disk_cache$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES disk_cache"
+ ;;
+ *)
+ MODLIST="$MODLIST disk_cache"
+ if test "disk_cache" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_disk_cache.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_disk_cache.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_DISK_CACHE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_disk_cache.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DISK_CACHE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DISK_CACHE_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_mem_cache" >&5
+$as_echo_n "checking whether to enable mod_mem_cache... " >&6; }
+ # Check whether --enable-mem-cache was given.
+if test "${enable_mem_cache+set}" = set; then
+ enableval=$enable_mem_cache;
+else
+ enable_mem_cache=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_mem_cache" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_mem_cache" = "static"; then
+ enable_mem_cache=yes
+ elif test "$enable_mem_cache" = "yes"; then
+ enable_mem_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_mem_cache" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_mem_cache=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_mem_cache" != "yes"; then
+ enable_mem_cache=no
+ fi
+ elif test "$enable_mem_cache" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_mem_cache=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_mem_cache=no
+ fi
+ fi
+ if test "$enable_mem_cache" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_mem_cache$_apmod_extra_msg" >&5
+$as_echo "$enable_mem_cache$_apmod_extra_msg" >&6; }
+ if test "$enable_mem_cache" != "no"; then
+ case "$enable_mem_cache" in
+ shared*)
+ enable_mem_cache=`echo $ac_n $enable_mem_cache$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES mem_cache"
+ ;;
+ *)
+ MODLIST="$MODLIST mem_cache"
+ if test "mem_cache" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$mem_cache_objs"; then
+ objects="mod_mem_cache.lo"
+ else
+ objects="$mem_cache_objs"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_mem_cache.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_MEM_CACHE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_mem_cache.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_MEM_CACHE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_MEM_CACHE_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_example" >&5
+$as_echo_n "checking whether to enable mod_example... " >&6; }
+ # Check whether --enable-example was given.
+if test "${enable_example+set}" = set; then
+ enableval=$enable_example;
+else
+ enable_example=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_example" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_example" = "static"; then
+ enable_example=yes
+ elif test "$enable_example" = "yes"; then
+ enable_example=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_example" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_example=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_example" != "yes"; then
+ enable_example=no
+ fi
+ elif test "$enable_example" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_example=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_example=no
+ fi
+ fi
+ if test "$enable_example" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_example$_apmod_extra_msg" >&5
+$as_echo "$enable_example$_apmod_extra_msg" >&6; }
+ if test "$enable_example" != "no"; then
+ case "$enable_example" in
+ shared*)
+ enable_example=`echo $ac_n $enable_example$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES example"
+ ;;
+ *)
+ MODLIST="$MODLIST example"
+ if test "example" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_example.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_example.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_EXAMPLE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_example.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_EXAMPLE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_EXAMPLE_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_case_filter" >&5
+$as_echo_n "checking whether to enable mod_case_filter... " >&6; }
+ # Check whether --enable-case-filter was given.
+if test "${enable_case_filter+set}" = set; then
+ enableval=$enable_case_filter;
+else
+ enable_case_filter=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_case_filter" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_case_filter" = "static"; then
+ enable_case_filter=yes
+ elif test "$enable_case_filter" = "yes"; then
+ enable_case_filter=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_case_filter" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_case_filter=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_case_filter" != "yes"; then
+ enable_case_filter=no
+ fi
+ elif test "$enable_case_filter" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_case_filter=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_case_filter=no
+ fi
+ fi
+ if test "$enable_case_filter" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_case_filter$_apmod_extra_msg" >&5
+$as_echo "$enable_case_filter$_apmod_extra_msg" >&6; }
+ if test "$enable_case_filter" != "no"; then
+ case "$enable_case_filter" in
+ shared*)
+ enable_case_filter=`echo $ac_n $enable_case_filter$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES case_filter"
+ ;;
+ *)
+ MODLIST="$MODLIST case_filter"
+ if test "case_filter" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_case_filter.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_case_filter.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CASE_FILTER_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_case_filter.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CASE_FILTER_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CASE_FILTER_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_case_filter_in" >&5
+$as_echo_n "checking whether to enable mod_case_filter_in... " >&6; }
+ # Check whether --enable-case-filter-in was given.
+if test "${enable_case_filter_in+set}" = set; then
+ enableval=$enable_case_filter_in;
+else
+ enable_case_filter_in=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_case_filter_in" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_case_filter_in" = "static"; then
+ enable_case_filter_in=yes
+ elif test "$enable_case_filter_in" = "yes"; then
+ enable_case_filter_in=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_case_filter_in" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_case_filter_in=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_case_filter_in" != "yes"; then
+ enable_case_filter_in=no
+ fi
+ elif test "$enable_case_filter_in" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_case_filter_in=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_case_filter_in=no
+ fi
+ fi
+ if test "$enable_case_filter_in" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_case_filter_in$_apmod_extra_msg" >&5
+$as_echo "$enable_case_filter_in$_apmod_extra_msg" >&6; }
+ if test "$enable_case_filter_in" != "no"; then
+ case "$enable_case_filter_in" in
+ shared*)
+ enable_case_filter_in=`echo $ac_n $enable_case_filter_in$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES case_filter_in"
+ ;;
+ *)
+ MODLIST="$MODLIST case_filter_in"
+ if test "case_filter_in" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_case_filter_in.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_case_filter_in.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CASE_FILTER_IN_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_case_filter_in.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CASE_FILTER_IN_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CASE_FILTER_IN_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_dumpio" >&5
+$as_echo_n "checking whether to enable mod_dumpio... " >&6; }
+ # Check whether --enable-dumpio was given.
+if test "${enable_dumpio+set}" = set; then
+ enableval=$enable_dumpio;
+else
+ enable_dumpio=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_dumpio" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_dumpio" = "static"; then
+ enable_dumpio=yes
+ elif test "$enable_dumpio" = "yes"; then
+ enable_dumpio=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dumpio" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_dumpio=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dumpio" != "yes"; then
+ enable_dumpio=no
+ fi
+ elif test "$enable_dumpio" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_dumpio=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_dumpio=no
+ fi
+ fi
+ if test "$enable_dumpio" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_dumpio$_apmod_extra_msg" >&5
+$as_echo "$enable_dumpio$_apmod_extra_msg" >&6; }
+ if test "$enable_dumpio" != "no"; then
+ case "$enable_dumpio" in
+ shared*)
+ enable_dumpio=`echo $ac_n $enable_dumpio$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES dumpio"
+ ;;
+ *)
+ MODLIST="$MODLIST dumpio"
+ if test "dumpio" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_dumpio.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_dumpio.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_DUMPIO_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_dumpio.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DUMPIO_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DUMPIO_LDADD"
+
+
+
+ fi
+
+
+ldap_objects="util_ldap.lo util_ldap_cache.lo util_ldap_cache_mgr.lo"
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_ldap" >&5
+$as_echo_n "checking whether to enable mod_ldap... " >&6; }
+ # Check whether --enable-ldap was given.
+if test "${enable_ldap+set}" = set; then
+ enableval=$enable_ldap;
+else
+ enable_ldap=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_ldap" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_ldap" = "static"; then
+ enable_ldap=yes
+ elif test "$enable_ldap" = "yes"; then
+ enable_ldap=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_ldap" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_ldap=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_ldap" != "yes"; then
+ enable_ldap=no
+ fi
+ elif test "$enable_ldap" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_ldap=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_ldap=no
+ fi
+ fi
+ if test "$enable_ldap" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_ldap$_apmod_extra_msg" >&5
+$as_echo "$enable_ldap$_apmod_extra_msg" >&6; }
+ if test "$enable_ldap" != "no"; then
+ case "$enable_ldap" in
+ shared*)
+ enable_ldap=`echo $ac_n $enable_ldap$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES ldap"
+ ;;
+ *)
+ MODLIST="$MODLIST ldap"
+ if test "ldap" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$ldap_objects"; then
+ objects="mod_ldap.lo"
+ else
+ objects="$ldap_objects"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_ldap.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_LDAP_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_ldap.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LDAP_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LDAP_LDADD"
+
+
+
+ fi
+
+
+auth_ldap_objects="mod_auth_ldap.lo"
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_auth_ldap" >&5
+$as_echo_n "checking whether to enable mod_auth_ldap... " >&6; }
+ # Check whether --enable-auth-ldap was given.
+if test "${enable_auth_ldap+set}" = set; then
+ enableval=$enable_auth_ldap;
+else
+ enable_auth_ldap=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_auth_ldap" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_auth_ldap" = "static"; then
+ enable_auth_ldap=yes
+ elif test "$enable_auth_ldap" = "yes"; then
+ enable_auth_ldap=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_ldap" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_auth_ldap=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_auth_ldap" != "yes"; then
+ enable_auth_ldap=no
+ fi
+ elif test "$enable_auth_ldap" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_auth_ldap=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_auth_ldap=no
+ fi
+ fi
+ if test "$enable_auth_ldap" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_auth_ldap$_apmod_extra_msg" >&5
+$as_echo "$enable_auth_ldap$_apmod_extra_msg" >&6; }
+ if test "$enable_auth_ldap" != "no"; then
+ case "$enable_auth_ldap" in
+ shared*)
+ enable_auth_ldap=`echo $ac_n $enable_auth_ldap$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES auth_ldap"
+ ;;
+ *)
+ MODLIST="$MODLIST auth_ldap"
+ if test "auth_ldap" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$auth_ldap_objects"; then
+ objects="mod_auth_ldap.lo"
+ else
+ objects="$auth_ldap_objects"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_auth_ldap.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_AUTH_LDAP_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_auth_ldap.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTH_LDAP_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_LDAP_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=filters
+ modpath_current=modules/filters
+ modpath_static=
+ modpath_shared=
+ test -d filters || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_ext_filter" >&5
+$as_echo_n "checking whether to enable mod_ext_filter... " >&6; }
+ # Check whether --enable-ext-filter was given.
+if test "${enable_ext_filter+set}" = set; then
+ enableval=$enable_ext_filter;
+else
+ enable_ext_filter=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_ext_filter" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_ext_filter" = "static"; then
+ enable_ext_filter=yes
+ elif test "$enable_ext_filter" = "yes"; then
+ enable_ext_filter=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_ext_filter" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_ext_filter=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_ext_filter" != "yes"; then
+ enable_ext_filter=no
+ fi
+ elif test "$enable_ext_filter" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_ext_filter=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_ext_filter=no
+ fi
+ fi
+ if test "$enable_ext_filter" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_ext_filter$_apmod_extra_msg" >&5
+$as_echo "$enable_ext_filter$_apmod_extra_msg" >&6; }
+ if test "$enable_ext_filter" != "no"; then
+ case "$enable_ext_filter" in
+ shared*)
+ enable_ext_filter=`echo $ac_n $enable_ext_filter$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES ext_filter"
+ ;;
+ *)
+ MODLIST="$MODLIST ext_filter"
+ if test "ext_filter" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_ext_filter.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_ext_filter.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_EXT_FILTER_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_ext_filter.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_EXT_FILTER_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_EXT_FILTER_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_include" >&5
+$as_echo_n "checking whether to enable mod_include... " >&6; }
+ # Check whether --enable-include was given.
+if test "${enable_include+set}" = set; then
+ enableval=$enable_include;
+else
+ enable_include=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_include" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_include" = "static"; then
+ enable_include=yes
+ elif test "$enable_include" = "yes"; then
+ enable_include=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_include" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_include=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_include" != "yes"; then
+ enable_include=no
+ fi
+ elif test "$enable_include" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_include=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_include=no
+ fi
+ fi
+ if test "$enable_include" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_include$_apmod_extra_msg" >&5
+$as_echo "$enable_include$_apmod_extra_msg" >&6; }
+ if test "$enable_include" != "no"; then
+ case "$enable_include" in
+ shared*)
+ enable_include=`echo $ac_n $enable_include$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES include"
+ ;;
+ *)
+ MODLIST="$MODLIST include"
+ if test "include" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_include.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_include.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_INCLUDE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_include.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_INCLUDE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_INCLUDE_LDADD"
+
+
+
+ fi
+
+
+
+ if test "x$LT_LDFLAGS" = "x"; then
+ echo " setting LT_LDFLAGS to \"-export-dynamic\""
+ LT_LDFLAGS="-export-dynamic"
+ else
+ apr_addto_bugger="-export-dynamic"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LT_LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LT_LDFLAGS"
+ LT_LDFLAGS="$LT_LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_deflate" >&5
+$as_echo_n "checking whether to enable mod_deflate... " >&6; }
+ # Check whether --enable-deflate was given.
+if test "${enable_deflate+set}" = set; then
+ enableval=$enable_deflate;
+else
+ enable_deflate=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_deflate" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_deflate" = "static"; then
+ enable_deflate=yes
+ elif test "$enable_deflate" = "yes"; then
+ enable_deflate=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_deflate" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_deflate=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_deflate" != "yes"; then
+ enable_deflate=no
+ fi
+ elif test "$enable_deflate" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_deflate=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_deflate=no
+ fi
+ fi
+ if test "$enable_deflate" != "no"; then
+ { $as_echo "$as_me:$LINENO: result: checking dependencies" >&5
+$as_echo "checking dependencies" >&6; }
+
+
+# Check whether --with-z was given.
+if test "${with_z+set}" = set; then
+ withval=$with_z;
+ if test "x$withval" != "xyes" && test "x$withval" != "x"; then
+ ap_zlib_base="$withval"
+ fi
+
+fi
+
+ if test "x$ap_zlib_base" = "x"; then
+ { $as_echo "$as_me:$LINENO: checking for zlib location" >&5
+$as_echo_n "checking for zlib location... " >&6; }
+ if test "${ap_cv_zlib+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+
+ for dir in /usr/local /usr ; do
+ if test -d $dir && test -f $dir/include/zlib.h; then
+ ap_cv_zlib=$dir
+ break
+ fi
+ done
+
+fi
+
+ ap_zlib_base=$ap_cv_zlib
+ if test "x$ap_zlib_base" = "x"; then
+ enable_deflate=no
+ { $as_echo "$as_me:$LINENO: result: not found" >&5
+$as_echo "not found" >&6; }
+ else
+ { $as_echo "$as_me:$LINENO: result: $ap_zlib_base" >&5
+$as_echo "$ap_zlib_base" >&6; }
+ fi
+ fi
+ if test "$enable_deflate" != "no"; then
+ ap_save_includes=$INCLUDE
+ ap_save_ldflags=$LDFLAGS
+ ap_save_libs=$LIBS
+ ap_save_cppflags=$CPPFLAGS
+ if test "$ap_zlib_base" != "/usr"; then
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I${ap_zlib_base}/include\""
+ INCLUDES="-I${ap_zlib_base}/include"
+ else
+ apr_addto_bugger="-I${ap_zlib_base}/include"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+ CPPFLAGS="$CPPFLAGS $INCLUDES"
+
+ if test "x$LDFLAGS" = "x"; then
+ echo " setting LDFLAGS to \"-L${ap_zlib_base}/lib\""
+ LDFLAGS="-L${ap_zlib_base}/lib"
+ else
+ apr_addto_bugger="-L${ap_zlib_base}/lib"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LDFLAGS"
+ LDFLAGS="$LDFLAGS $i"
+ fi
+ done
+ fi
+
+ if test "x$ap_platform_runtime_link_flag" != "x"; then
+
+ if test "x$LDFLAGS" = "x"; then
+ echo " setting LDFLAGS to \"$ap_platform_runtime_link_flag${ap_zlib_base}/lib\""
+ LDFLAGS="$ap_platform_runtime_link_flag${ap_zlib_base}/lib"
+ else
+ apr_addto_bugger="$ap_platform_runtime_link_flag${ap_zlib_base}/lib"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LDFLAGS"
+ LDFLAGS="$LDFLAGS $i"
+ fi
+ done
+ fi
+
+ fi
+ fi
+
+ if test "x$LIBS" = "x"; then
+ echo " setting LIBS to \"-lz\""
+ LIBS="-lz"
+ else
+ apr_addto_bugger="-lz"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LIBS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LIBS"
+ LIBS="$LIBS $i"
+ fi
+ done
+ fi
+
+ { $as_echo "$as_me:$LINENO: checking for zlib library" >&5
+$as_echo_n "checking for zlib library... " >&6; }
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <zlib.h>
+int
+main ()
+{
+int i = Z_OK;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ { $as_echo "$as_me:$LINENO: result: found" >&5
+$as_echo "found" >&6; }
+
+for ac_header in zutil.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ { $as_echo "$as_me:$LINENO: result: not found" >&5
+$as_echo "not found" >&6; }
+ enable_deflate=no
+ INCLUDES=$ap_save_includes
+ LDFLAGS=$ap_save_ldflags
+ LIBS=$ap_save_libs
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CPPFLAGS=$ap_save_cppflags
+ fi
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_deflate" >&5
+$as_echo_n "checking whether to enable mod_deflate... " >&6; }
+ if test "$enable_deflate" = "no"; then
+ if test "$_apmod_error_fatal" = "no"; then
+ _apmod_extra_msg=" (disabled)"
+ else
+ { { $as_echo "$as_me:$LINENO: error: mod_deflate has been requested but can not be built due to prerequisite failures" >&5
+$as_echo "$as_me: error: mod_deflate has been requested but can not be built due to prerequisite failures" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_deflate$_apmod_extra_msg" >&5
+$as_echo "$enable_deflate$_apmod_extra_msg" >&6; }
+ if test "$enable_deflate" != "no"; then
+ case "$enable_deflate" in
+ shared*)
+ enable_deflate=`echo $ac_n $enable_deflate$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES deflate"
+ ;;
+ *)
+ MODLIST="$MODLIST deflate"
+ if test "deflate" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_deflate.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_deflate.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_DEFLATE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_deflate.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DEFLATE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DEFLATE_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=loggers
+ modpath_current=modules/loggers
+ modpath_static=
+ modpath_shared=
+ test -d loggers || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_log_config" >&5
+$as_echo_n "checking whether to enable mod_log_config... " >&6; }
+ # Check whether --enable-log-config was given.
+if test "${enable_log_config+set}" = set; then
+ enableval=$enable_log_config;
+else
+ enable_log_config=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_log_config" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_log_config" = "static"; then
+ enable_log_config=yes
+ elif test "$enable_log_config" = "yes"; then
+ enable_log_config=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_log_config" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_log_config=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_log_config" != "yes"; then
+ enable_log_config=no
+ fi
+ elif test "$enable_log_config" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_log_config=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_log_config=no
+ fi
+ fi
+ if test "$enable_log_config" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_log_config$_apmod_extra_msg" >&5
+$as_echo "$enable_log_config$_apmod_extra_msg" >&6; }
+ if test "$enable_log_config" != "no"; then
+ case "$enable_log_config" in
+ shared*)
+ enable_log_config=`echo $ac_n $enable_log_config$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES log_config"
+ ;;
+ *)
+ MODLIST="$MODLIST log_config"
+ if test "log_config" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_log_config.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_log_config.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_LOG_CONFIG_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_log_config.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LOG_CONFIG_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LOG_CONFIG_LDADD"
+
+
+
+ fi
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_log_forensic" >&5
+$as_echo_n "checking whether to enable mod_log_forensic... " >&6; }
+ # Check whether --enable-log-forensic was given.
+if test "${enable_log_forensic+set}" = set; then
+ enableval=$enable_log_forensic;
+else
+ enable_log_forensic=maybe-all
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_log_forensic" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_log_forensic" = "static"; then
+ enable_log_forensic=yes
+ elif test "$enable_log_forensic" = "yes"; then
+ enable_log_forensic=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_log_forensic" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_log_forensic=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_log_forensic" != "yes"; then
+ enable_log_forensic=no
+ fi
+ elif test "$enable_log_forensic" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_log_forensic=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_log_forensic=no
+ fi
+ fi
+ if test "$enable_log_forensic" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_log_forensic$_apmod_extra_msg" >&5
+$as_echo "$enable_log_forensic$_apmod_extra_msg" >&6; }
+ if test "$enable_log_forensic" != "no"; then
+ case "$enable_log_forensic" in
+ shared*)
+ enable_log_forensic=`echo $ac_n $enable_log_forensic$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES log_forensic"
+ ;;
+ *)
+ MODLIST="$MODLIST log_forensic"
+ if test "log_forensic" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_log_forensic.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_log_forensic.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_LOG_FORENSIC_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_log_forensic.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LOG_FORENSIC_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LOG_FORENSIC_LDADD"
+
+
+
+ fi
+
+
+if test "x$enable_log_forensic" != "xno"; then
+ # mod_log_forensic needs test_char.h
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I\$(top_builddir)/server\""
+ INCLUDES="-I\$(top_builddir)/server"
+ else
+ apr_addto_bugger="-I\$(top_builddir)/server"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_logio" >&5
+$as_echo_n "checking whether to enable mod_logio... " >&6; }
+ # Check whether --enable-logio was given.
+if test "${enable_logio+set}" = set; then
+ enableval=$enable_logio;
+else
+ enable_logio=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_logio" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_logio" = "static"; then
+ enable_logio=yes
+ elif test "$enable_logio" = "yes"; then
+ enable_logio=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_logio" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_logio=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_logio" != "yes"; then
+ enable_logio=no
+ fi
+ elif test "$enable_logio" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_logio=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_logio=no
+ fi
+ fi
+ if test "$enable_logio" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_logio$_apmod_extra_msg" >&5
+$as_echo "$enable_logio$_apmod_extra_msg" >&6; }
+ if test "$enable_logio" != "no"; then
+ case "$enable_logio" in
+ shared*)
+ enable_logio=`echo $ac_n $enable_logio$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES logio"
+ ;;
+ *)
+ MODLIST="$MODLIST logio"
+ if test "logio" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_logio.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_logio.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_LOGIO_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_logio.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LOGIO_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LOGIO_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=metadata
+ modpath_current=modules/metadata
+ modpath_static=
+ modpath_shared=
+ test -d metadata || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_env" >&5
+$as_echo_n "checking whether to enable mod_env... " >&6; }
+ # Check whether --enable-env was given.
+if test "${enable_env+set}" = set; then
+ enableval=$enable_env;
+else
+ enable_env=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_env" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_env" = "static"; then
+ enable_env=yes
+ elif test "$enable_env" = "yes"; then
+ enable_env=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_env" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_env=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_env" != "yes"; then
+ enable_env=no
+ fi
+ elif test "$enable_env" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_env=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_env=no
+ fi
+ fi
+ if test "$enable_env" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_env$_apmod_extra_msg" >&5
+$as_echo "$enable_env$_apmod_extra_msg" >&6; }
+ if test "$enable_env" != "no"; then
+ case "$enable_env" in
+ shared*)
+ enable_env=`echo $ac_n $enable_env$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES env"
+ ;;
+ *)
+ MODLIST="$MODLIST env"
+ if test "env" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_env.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_env.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_ENV_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_env.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ENV_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ENV_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_mime_magic" >&5
+$as_echo_n "checking whether to enable mod_mime_magic... " >&6; }
+ # Check whether --enable-mime-magic was given.
+if test "${enable_mime_magic+set}" = set; then
+ enableval=$enable_mime_magic;
+else
+ enable_mime_magic=maybe-all
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_mime_magic" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_mime_magic" = "static"; then
+ enable_mime_magic=yes
+ elif test "$enable_mime_magic" = "yes"; then
+ enable_mime_magic=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_mime_magic" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_mime_magic=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_mime_magic" != "yes"; then
+ enable_mime_magic=no
+ fi
+ elif test "$enable_mime_magic" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_mime_magic=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_mime_magic=no
+ fi
+ fi
+ if test "$enable_mime_magic" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_mime_magic$_apmod_extra_msg" >&5
+$as_echo "$enable_mime_magic$_apmod_extra_msg" >&6; }
+ if test "$enable_mime_magic" != "no"; then
+ case "$enable_mime_magic" in
+ shared*)
+ enable_mime_magic=`echo $ac_n $enable_mime_magic$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES mime_magic"
+ ;;
+ *)
+ MODLIST="$MODLIST mime_magic"
+ if test "mime_magic" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_mime_magic.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_mime_magic.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_MIME_MAGIC_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_mime_magic.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_MIME_MAGIC_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_MIME_MAGIC_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_cern_meta" >&5
+$as_echo_n "checking whether to enable mod_cern_meta... " >&6; }
+ # Check whether --enable-cern-meta was given.
+if test "${enable_cern_meta+set}" = set; then
+ enableval=$enable_cern_meta;
+else
+ enable_cern_meta=maybe-all
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_cern_meta" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_cern_meta" = "static"; then
+ enable_cern_meta=yes
+ elif test "$enable_cern_meta" = "yes"; then
+ enable_cern_meta=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cern_meta" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_cern_meta=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cern_meta" != "yes"; then
+ enable_cern_meta=no
+ fi
+ elif test "$enable_cern_meta" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_cern_meta=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_cern_meta=no
+ fi
+ fi
+ if test "$enable_cern_meta" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_cern_meta$_apmod_extra_msg" >&5
+$as_echo "$enable_cern_meta$_apmod_extra_msg" >&6; }
+ if test "$enable_cern_meta" != "no"; then
+ case "$enable_cern_meta" in
+ shared*)
+ enable_cern_meta=`echo $ac_n $enable_cern_meta$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES cern_meta"
+ ;;
+ *)
+ MODLIST="$MODLIST cern_meta"
+ if test "cern_meta" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_cern_meta.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_cern_meta.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CERN_META_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_cern_meta.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CERN_META_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CERN_META_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_expires" >&5
+$as_echo_n "checking whether to enable mod_expires... " >&6; }
+ # Check whether --enable-expires was given.
+if test "${enable_expires+set}" = set; then
+ enableval=$enable_expires;
+else
+ enable_expires=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_expires" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_expires" = "static"; then
+ enable_expires=yes
+ elif test "$enable_expires" = "yes"; then
+ enable_expires=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_expires" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_expires=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_expires" != "yes"; then
+ enable_expires=no
+ fi
+ elif test "$enable_expires" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_expires=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_expires=no
+ fi
+ fi
+ if test "$enable_expires" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_expires$_apmod_extra_msg" >&5
+$as_echo "$enable_expires$_apmod_extra_msg" >&6; }
+ if test "$enable_expires" != "no"; then
+ case "$enable_expires" in
+ shared*)
+ enable_expires=`echo $ac_n $enable_expires$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES expires"
+ ;;
+ *)
+ MODLIST="$MODLIST expires"
+ if test "expires" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_expires.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_expires.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_EXPIRES_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_expires.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_EXPIRES_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_EXPIRES_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_headers" >&5
+$as_echo_n "checking whether to enable mod_headers... " >&6; }
+ # Check whether --enable-headers was given.
+if test "${enable_headers+set}" = set; then
+ enableval=$enable_headers;
+else
+ enable_headers=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_headers" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_headers" = "static"; then
+ enable_headers=yes
+ elif test "$enable_headers" = "yes"; then
+ enable_headers=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_headers" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_headers=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_headers" != "yes"; then
+ enable_headers=no
+ fi
+ elif test "$enable_headers" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_headers=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_headers=no
+ fi
+ fi
+ if test "$enable_headers" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_headers$_apmod_extra_msg" >&5
+$as_echo "$enable_headers$_apmod_extra_msg" >&6; }
+ if test "$enable_headers" != "no"; then
+ case "$enable_headers" in
+ shared*)
+ enable_headers=`echo $ac_n $enable_headers$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES headers"
+ ;;
+ *)
+ MODLIST="$MODLIST headers"
+ if test "headers" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_headers.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_headers.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_HEADERS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_headers.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_HEADERS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_HEADERS_LDADD"
+
+
+
+ fi
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_usertrack" >&5
+$as_echo_n "checking whether to enable mod_usertrack... " >&6; }
+ # Check whether --enable-usertrack was given.
+if test "${enable_usertrack+set}" = set; then
+ enableval=$enable_usertrack;
+else
+ enable_usertrack=maybe-all
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_usertrack" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_usertrack" = "static"; then
+ enable_usertrack=yes
+ elif test "$enable_usertrack" = "yes"; then
+ enable_usertrack=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_usertrack" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_usertrack=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_usertrack" != "yes"; then
+ enable_usertrack=no
+ fi
+ elif test "$enable_usertrack" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_usertrack=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_usertrack=no
+ fi
+ fi
+ if test "$enable_usertrack" != "no"; then
+ { $as_echo "$as_me:$LINENO: result: checking dependencies" >&5
+$as_echo "checking dependencies" >&6; }
+
+
+for ac_header in sys/times.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_func in times
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_usertrack" >&5
+$as_echo_n "checking whether to enable mod_usertrack... " >&6; }
+ if test "$enable_usertrack" = "no"; then
+ if test "$_apmod_error_fatal" = "no"; then
+ _apmod_extra_msg=" (disabled)"
+ else
+ { { $as_echo "$as_me:$LINENO: error: mod_usertrack has been requested but can not be built due to prerequisite failures" >&5
+$as_echo "$as_me: error: mod_usertrack has been requested but can not be built due to prerequisite failures" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_usertrack$_apmod_extra_msg" >&5
+$as_echo "$enable_usertrack$_apmod_extra_msg" >&6; }
+ if test "$enable_usertrack" != "no"; then
+ case "$enable_usertrack" in
+ shared*)
+ enable_usertrack=`echo $ac_n $enable_usertrack$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES usertrack"
+ ;;
+ *)
+ MODLIST="$MODLIST usertrack"
+ if test "usertrack" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_usertrack.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_usertrack.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_USERTRACK_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_usertrack.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_USERTRACK_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_USERTRACK_LDADD"
+
+
+
+ fi
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_unique_id" >&5
+$as_echo_n "checking whether to enable mod_unique_id... " >&6; }
+ # Check whether --enable-unique-id was given.
+if test "${enable_unique_id+set}" = set; then
+ enableval=$enable_unique_id;
+else
+ enable_unique_id=maybe-all
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_unique_id" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_unique_id" = "static"; then
+ enable_unique_id=yes
+ elif test "$enable_unique_id" = "yes"; then
+ enable_unique_id=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_unique_id" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_unique_id=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_unique_id" != "yes"; then
+ enable_unique_id=no
+ fi
+ elif test "$enable_unique_id" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_unique_id=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_unique_id=no
+ fi
+ fi
+ if test "$enable_unique_id" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_unique_id$_apmod_extra_msg" >&5
+$as_echo "$enable_unique_id$_apmod_extra_msg" >&6; }
+ if test "$enable_unique_id" != "no"; then
+ case "$enable_unique_id" in
+ shared*)
+ enable_unique_id=`echo $ac_n $enable_unique_id$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES unique_id"
+ ;;
+ *)
+ MODLIST="$MODLIST unique_id"
+ if test "unique_id" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_unique_id.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_unique_id.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_UNIQUE_ID_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_unique_id.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_UNIQUE_ID_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_UNIQUE_ID_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_setenvif" >&5
+$as_echo_n "checking whether to enable mod_setenvif... " >&6; }
+ # Check whether --enable-setenvif was given.
+if test "${enable_setenvif+set}" = set; then
+ enableval=$enable_setenvif;
+else
+ enable_setenvif=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_setenvif" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_setenvif" = "static"; then
+ enable_setenvif=yes
+ elif test "$enable_setenvif" = "yes"; then
+ enable_setenvif=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_setenvif" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_setenvif=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_setenvif" != "yes"; then
+ enable_setenvif=no
+ fi
+ elif test "$enable_setenvif" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_setenvif=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_setenvif=no
+ fi
+ fi
+ if test "$enable_setenvif" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_setenvif$_apmod_extra_msg" >&5
+$as_echo "$enable_setenvif$_apmod_extra_msg" >&6; }
+ if test "$enable_setenvif" != "no"; then
+ case "$enable_setenvif" in
+ shared*)
+ enable_setenvif=`echo $ac_n $enable_setenvif$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES setenvif"
+ ;;
+ *)
+ MODLIST="$MODLIST setenvif"
+ if test "setenvif" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_setenvif.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_setenvif.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_SETENVIF_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_setenvif.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SETENVIF_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SETENVIF_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_version" >&5
+$as_echo_n "checking whether to enable mod_version... " >&6; }
+ # Check whether --enable-version was given.
+if test "${enable_version+set}" = set; then
+ enableval=$enable_version;
+else
+ enable_version=maybe-all
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_version" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_version" = "static"; then
+ enable_version=yes
+ elif test "$enable_version" = "yes"; then
+ enable_version=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_version" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_version=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_version" != "yes"; then
+ enable_version=no
+ fi
+ elif test "$enable_version" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_version=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_version=no
+ fi
+ fi
+ if test "$enable_version" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_version$_apmod_extra_msg" >&5
+$as_echo "$enable_version$_apmod_extra_msg" >&6; }
+ if test "$enable_version" != "no"; then
+ case "$enable_version" in
+ shared*)
+ enable_version=`echo $ac_n $enable_version$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES version"
+ ;;
+ *)
+ MODLIST="$MODLIST version"
+ if test "version" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_version.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_version.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_VERSION_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_version.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_VERSION_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_VERSION_LDADD"
+
+
+
+ fi
+
+
+
+ if test "x$LT_LDFLAGS" = "x"; then
+ echo " setting LT_LDFLAGS to \"-export-dynamic\""
+ LT_LDFLAGS="-export-dynamic"
+ else
+ apr_addto_bugger="-export-dynamic"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LT_LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LT_LDFLAGS"
+ LT_LDFLAGS="$LT_LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+ current_dir=proxy
+ modpath_current=modules/proxy
+ modpath_static=
+ modpath_shared=
+ test -d proxy || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+if test "$enable_proxy" = "shared"; then
+ proxy_mods_enable=shared
+elif test "$enable_proxy" = "yes"; then
+ proxy_mods_enable=yes
+else
+ proxy_mods_enable=no
+fi
+
+proxy_objs="mod_proxy.lo proxy_util.lo"
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_proxy" >&5
+$as_echo_n "checking whether to enable mod_proxy... " >&6; }
+ # Check whether --enable-proxy was given.
+if test "${enable_proxy+set}" = set; then
+ enableval=$enable_proxy;
+else
+ enable_proxy=$proxy_mods_enable
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_proxy" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_proxy" = "static"; then
+ enable_proxy=yes
+ elif test "$enable_proxy" = "yes"; then
+ enable_proxy=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_proxy=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy" != "yes"; then
+ enable_proxy=no
+ fi
+ elif test "$enable_proxy" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_proxy=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_proxy=no
+ fi
+ fi
+ if test "$enable_proxy" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_proxy$_apmod_extra_msg" >&5
+$as_echo "$enable_proxy$_apmod_extra_msg" >&6; }
+ if test "$enable_proxy" != "no"; then
+ case "$enable_proxy" in
+ shared*)
+ enable_proxy=`echo $ac_n $enable_proxy$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES proxy"
+ ;;
+ *)
+ MODLIST="$MODLIST proxy"
+ if test "proxy" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$proxy_objs"; then
+ objects="mod_proxy.lo"
+ else
+ objects="$proxy_objs"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_proxy.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_PROXY_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_proxy.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_LDADD"
+
+
+
+ fi
+
+
+proxy_connect_objs="proxy_connect.lo"
+proxy_ftp_objs="proxy_ftp.lo"
+proxy_http_objs="proxy_http.lo"
+
+case "$host" in
+ *os2*)
+ # OS/2 DLLs must resolve all symbols at build time and
+ # these sub-modules need some from the main proxy module
+ proxy_connect_objs="$proxy_connect_objs mod_proxy.la"
+ proxy_ftp_objs="$proxy_ftp_objs mod_proxy.la"
+ proxy_http_objs="$proxy_http_objs mod_proxy.la"
+ ;;
+esac
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_proxy_connect" >&5
+$as_echo_n "checking whether to enable mod_proxy_connect... " >&6; }
+ # Check whether --enable-proxy-connect was given.
+if test "${enable_proxy_connect+set}" = set; then
+ enableval=$enable_proxy_connect;
+else
+ enable_proxy_connect=$proxy_mods_enable
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_proxy_connect" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_proxy_connect" = "static"; then
+ enable_proxy_connect=yes
+ elif test "$enable_proxy_connect" = "yes"; then
+ enable_proxy_connect=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy_connect" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_proxy_connect=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy_connect" != "yes"; then
+ enable_proxy_connect=no
+ fi
+ elif test "$enable_proxy_connect" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_proxy_connect=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_proxy_connect=no
+ fi
+ fi
+ if test "$enable_proxy_connect" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_proxy_connect$_apmod_extra_msg" >&5
+$as_echo "$enable_proxy_connect$_apmod_extra_msg" >&6; }
+ if test "$enable_proxy_connect" != "no"; then
+ case "$enable_proxy_connect" in
+ shared*)
+ enable_proxy_connect=`echo $ac_n $enable_proxy_connect$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES proxy_connect"
+ ;;
+ *)
+ MODLIST="$MODLIST proxy_connect"
+ if test "proxy_connect" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$proxy_connect_objs"; then
+ objects="mod_proxy_connect.lo"
+ else
+ objects="$proxy_connect_objs"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_proxy_connect.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_PROXY_CONNECT_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_proxy_connect.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_CONNECT_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_CONNECT_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_proxy_ftp" >&5
+$as_echo_n "checking whether to enable mod_proxy_ftp... " >&6; }
+ # Check whether --enable-proxy-ftp was given.
+if test "${enable_proxy_ftp+set}" = set; then
+ enableval=$enable_proxy_ftp;
+else
+ enable_proxy_ftp=$proxy_mods_enable
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_proxy_ftp" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_proxy_ftp" = "static"; then
+ enable_proxy_ftp=yes
+ elif test "$enable_proxy_ftp" = "yes"; then
+ enable_proxy_ftp=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy_ftp" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_proxy_ftp=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy_ftp" != "yes"; then
+ enable_proxy_ftp=no
+ fi
+ elif test "$enable_proxy_ftp" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_proxy_ftp=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_proxy_ftp=no
+ fi
+ fi
+ if test "$enable_proxy_ftp" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_proxy_ftp$_apmod_extra_msg" >&5
+$as_echo "$enable_proxy_ftp$_apmod_extra_msg" >&6; }
+ if test "$enable_proxy_ftp" != "no"; then
+ case "$enable_proxy_ftp" in
+ shared*)
+ enable_proxy_ftp=`echo $ac_n $enable_proxy_ftp$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES proxy_ftp"
+ ;;
+ *)
+ MODLIST="$MODLIST proxy_ftp"
+ if test "proxy_ftp" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$proxy_ftp_objs"; then
+ objects="mod_proxy_ftp.lo"
+ else
+ objects="$proxy_ftp_objs"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_proxy_ftp.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_PROXY_FTP_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_proxy_ftp.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_FTP_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_FTP_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_proxy_http" >&5
+$as_echo_n "checking whether to enable mod_proxy_http... " >&6; }
+ # Check whether --enable-proxy-http was given.
+if test "${enable_proxy_http+set}" = set; then
+ enableval=$enable_proxy_http;
+else
+ enable_proxy_http=$proxy_mods_enable
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_proxy_http" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_proxy_http" = "static"; then
+ enable_proxy_http=yes
+ elif test "$enable_proxy_http" = "yes"; then
+ enable_proxy_http=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy_http" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_proxy_http=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_proxy_http" != "yes"; then
+ enable_proxy_http=no
+ fi
+ elif test "$enable_proxy_http" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_proxy_http=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_proxy_http=no
+ fi
+ fi
+ if test "$enable_proxy_http" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_proxy_http$_apmod_extra_msg" >&5
+$as_echo "$enable_proxy_http$_apmod_extra_msg" >&6; }
+ if test "$enable_proxy_http" != "no"; then
+ case "$enable_proxy_http" in
+ shared*)
+ enable_proxy_http=`echo $ac_n $enable_proxy_http$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES proxy_http"
+ ;;
+ *)
+ MODLIST="$MODLIST proxy_http"
+ if test "proxy_http" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$proxy_http_objs"; then
+ objects="mod_proxy_http.lo"
+ else
+ objects="$proxy_http_objs"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_proxy_http.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_PROXY_HTTP_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_proxy_http.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_HTTP_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_HTTP_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+ current_dir=ssl
+ modpath_current=modules/ssl
+ modpath_static=
+ modpath_shared=
+ test -d ssl || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+ssl_objs="mod_ssl.lo ssl_engine_config.lo ssl_engine_dh.lo ssl_engine_init.lo ssl_engine_io.lo ssl_engine_kernel.lo ssl_engine_log.lo ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_rand.lo ssl_engine_vars.lo ssl_expr.lo ssl_expr_eval.lo ssl_expr_parse.lo ssl_expr_scan.lo ssl_scache.lo ssl_scache_dbm.lo ssl_scache_shmcb.lo ssl_scache_shmht.lo ssl_util.lo ssl_util_ssl.lo ssl_util_table.lo "
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_ssl" >&5
+$as_echo_n "checking whether to enable mod_ssl... " >&6; }
+ # Check whether --enable-ssl was given.
+if test "${enable_ssl+set}" = set; then
+ enableval=$enable_ssl;
+else
+ enable_ssl=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_ssl" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_ssl" = "static"; then
+ enable_ssl=yes
+ elif test "$enable_ssl" = "yes"; then
+ enable_ssl=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_ssl" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_ssl=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_ssl" != "yes"; then
+ enable_ssl=no
+ fi
+ elif test "$enable_ssl" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_ssl=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_ssl=no
+ fi
+ fi
+ if test "$enable_ssl" != "no"; then
+ { $as_echo "$as_me:$LINENO: result: checking dependencies" >&5
+$as_echo "checking dependencies" >&6; }
+
+
+if test "x$ap_ssltk_base" = "x"; then
+ { $as_echo "$as_me:$LINENO: checking for SSL/TLS toolkit base" >&5
+$as_echo_n "checking for SSL/TLS toolkit base... " >&6; }
+ ap_ssltk_base=""
+
+# Check whether --with-ssl was given.
+if test "${with_ssl+set}" = set; then
+ withval=$with_ssl;
+ if test "x$withval" != "xyes" -a "x$withval" != "x"; then
+ ap_ssltk_base="$withval"
+ if test -f "$ap_ssltk_base/bin/openssl"; then
+ ap_ssltk_version="`$ap_ssltk_base/bin/openssl version`"
+ else
+ ap_ssltk_version="unknown"
+ fi
+ fi
+
+fi
+
+ if test "x$ap_ssltk_base" = "x"; then
+ if test "${ap_cv_ssltk+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # shotgun approach: find all occurrences of the openssl program
+ #
+ # The IFS=... trick eliminates the colons from $PATH, without using an external program
+ for p in `IFS=":$IFS"; echo $PATH` /usr/local/openssl/bin /usr/local/ssl/bin; do
+ if test -f "$p/openssl"; then
+ ap_ssltk_version="`$p/openssl version`"
+ if test "x$ap_ssltk_version" != "x"; then
+ ap_cv_ssltk="`(cd $p/.. && pwd)`"
+ break
+ fi
+ fi
+ done
+ if test "x$ap_cv_ssltk" = "x"; then
+ { { $as_echo "$as_me:$LINENO: error: requires OpenSSL 0.9.6e or higher" >&5
+$as_echo "$as_me: error: requires OpenSSL 0.9.6e or higher" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+fi
+
+ ap_ssltk_base="$ap_cv_ssltk"
+ fi
+ if test ! -d $ap_ssltk_base; then
+ { { $as_echo "$as_me:$LINENO: error: invalid SSL/TLS toolkit base directory $ap_ssltk_base" >&5
+$as_echo "$as_me: error: invalid SSL/TLS toolkit base directory $ap_ssltk_base" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ { $as_echo "$as_me:$LINENO: result: $ap_ssltk_base" >&5
+$as_echo "$ap_ssltk_base" >&6; }
+
+ { $as_echo "$as_me:$LINENO: checking for SSL/TLS toolkit version" >&5
+$as_echo_n "checking for SSL/TLS toolkit version... " >&6; }
+ { $as_echo "$as_me:$LINENO: result: $ap_ssltk_version" >&5
+$as_echo "$ap_ssltk_version" >&6; }
+ case "$ap_ssltk_version" in
+ "OpenSSL "[1-9]* | \
+ "OpenSSL "0.9.6[e-z]* | \
+ "OpenSSL "0.9.[7-9]* | \
+ "OpenSSL "0.[1-9][0-9]* )
+ # okay versions that do not have known security holes
+ ;;
+ "OpenSSL"*)
+ { $as_echo "$as_me:$LINENO: WARNING: OpenSSL versions prior to 0.9.6e have known security holes" >&5
+$as_echo "$as_me: WARNING: OpenSSL versions prior to 0.9.6e have known security holes" >&2;}
+ ;;
+ *)
+ # unknown version -- assume the user knows what they are doing
+ ;;
+ esac
+
+ { $as_echo "$as_me:$LINENO: checking for SSL/TLS toolkit includes" >&5
+$as_echo_n "checking for SSL/TLS toolkit includes... " >&6; }
+ ap_ssltk_incdir=""
+ for p in $ap_ssltk_base/include /usr/local/openssl/include \
+ /usr/local/ssl/include /usr/local/include /usr/include; do
+ if test -f "$p/openssl/ssl.h"; then
+ ap_ssltk_incdir="$p"
+ break
+ elif test -f "$p/ssl.h"; then
+ ap_ssltk_incdir="$p"
+ break
+ fi
+ done
+ if test "x$ap_ssltk_incdir" = "x"; then
+ { { $as_echo "$as_me:$LINENO: error: OpenSSL headers not found" >&5
+$as_echo "$as_me: error: OpenSSL headers not found" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ { $as_echo "$as_me:$LINENO: result: $ap_ssltk_incdir" >&5
+$as_echo "$ap_ssltk_incdir" >&6; }
+
+ { $as_echo "$as_me:$LINENO: checking for SSL/TLS toolkit libraries" >&5
+$as_echo_n "checking for SSL/TLS toolkit libraries... " >&6; }
+ ap_ssltk_libdir=""
+ for p in $ap_ssltk_base/lib /usr/local/openssl/lib \
+ /usr/local/ssl/lib /usr/local/lib /usr/lib /lib /usr/lib64; do
+ if test -f "$p/libssl.a" -o -f "$p/libssl.so" -o -f "$p/libssl.dylib"; then
+ ap_ssltk_libdir="$p"
+ break
+ fi
+ done
+ if test ".$ap_ssltk_libdir" = .; then
+ { { $as_echo "$as_me:$LINENO: error: OpenSSL libraries not found" >&5
+$as_echo "$as_me: error: OpenSSL libraries not found" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ { $as_echo "$as_me:$LINENO: result: $ap_ssltk_libdir" >&5
+$as_echo "$ap_ssltk_libdir" >&6; }
+
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I$ap_ssltk_incdir/openssl\""
+ INCLUDES="-I$ap_ssltk_incdir/openssl"
+ else
+ apr_addto_bugger="-I$ap_ssltk_incdir/openssl"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+ if test "x$ap_ssltk_incdir" != "x/usr/include"; then
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I$ap_ssltk_incdir\""
+ INCLUDES="-I$ap_ssltk_incdir"
+ else
+ apr_addto_bugger="-I$ap_ssltk_incdir"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+ fi
+ if test "x$ap_ssltk_libdir" != "x/usr/lib"; then
+
+ if test "x$LDFLAGS" = "x"; then
+ echo " setting LDFLAGS to \"-L$ap_ssltk_libdir\""
+ LDFLAGS="-L$ap_ssltk_libdir"
+ else
+ apr_addto_bugger="-L$ap_ssltk_libdir"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LDFLAGS"
+ LDFLAGS="$LDFLAGS $i"
+ fi
+ done
+ fi
+
+ if test "x$ap_platform_runtime_link_flag" != "x"; then
+
+ if test "x$LDFLAGS" = "x"; then
+ echo " setting LDFLAGS to \"$ap_platform_runtime_link_flag$ap_ssltk_libdir\""
+ LDFLAGS="$ap_platform_runtime_link_flag$ap_ssltk_libdir"
+ else
+ apr_addto_bugger="$ap_platform_runtime_link_flag$ap_ssltk_libdir"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LDFLAGS"
+ LDFLAGS="$LDFLAGS $i"
+ fi
+ done
+ fi
+
+ fi
+ fi
+ # Put SSL libraries in SSL_LIBS.
+
+ echo " forcing SSL_LIBS to \"-lssl -lcrypto\""
+ SSL_LIBS="-lssl -lcrypto"
+
+ pkg-config openssl 2> /dev/null
+ if test $? -eq 0; then
+ ap_ssltk_incdep=`pkg-config --cflags-only-I openssl`
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"$ap_ssltk_incdep\""
+ INCLUDES="$ap_ssltk_incdep"
+ else
+ apr_addto_bugger="$ap_ssltk_incdep"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+ ap_ssltk_libdep=`pkg-config --libs openssl`
+
+ echo " forcing SSL_LIBS to \"$ap_ssltk_libdep\""
+ SSL_LIBS="$ap_ssltk_libdep"
+
+ fi
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST SSL_LIBS"
+
+
+ ap_cv_ssltk="$ap_ssltk_base"
+fi
+
+
+ echo " forcing MOD_SSL_LDADD to \"\$(SSL_LIBS)\""
+ MOD_SSL_LDADD="\$(SSL_LIBS)"
+
+
+for ac_func in SSL_set_state
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+for ac_func in SSL_set_cert_store
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_ssl" >&5
+$as_echo_n "checking whether to enable mod_ssl... " >&6; }
+ if test "$enable_ssl" = "no"; then
+ if test "$_apmod_error_fatal" = "no"; then
+ _apmod_extra_msg=" (disabled)"
+ else
+ { { $as_echo "$as_me:$LINENO: error: mod_ssl has been requested but can not be built due to prerequisite failures" >&5
+$as_echo "$as_me: error: mod_ssl has been requested but can not be built due to prerequisite failures" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_ssl$_apmod_extra_msg" >&5
+$as_echo "$enable_ssl$_apmod_extra_msg" >&6; }
+ if test "$enable_ssl" != "no"; then
+ case "$enable_ssl" in
+ shared*)
+ enable_ssl=`echo $ac_n $enable_ssl$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES ssl"
+ ;;
+ *)
+ MODLIST="$MODLIST ssl"
+ if test "ssl" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$ssl_objs"; then
+ objects="mod_ssl.lo"
+ else
+ objects="$ssl_objs"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_ssl.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_SSL_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_ssl.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SSL_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SSL_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=test
+ modpath_current=modules/test
+ modpath_static=
+ modpath_shared=
+ test -d test || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_optional_hook_export" >&5
+$as_echo_n "checking whether to enable mod_optional_hook_export... " >&6; }
+ # Check whether --enable-optional-hook-export was given.
+if test "${enable_optional_hook_export+set}" = set; then
+ enableval=$enable_optional_hook_export;
+else
+ enable_optional_hook_export=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_optional_hook_export" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_optional_hook_export" = "static"; then
+ enable_optional_hook_export=yes
+ elif test "$enable_optional_hook_export" = "yes"; then
+ enable_optional_hook_export=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_hook_export" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_optional_hook_export=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_hook_export" != "yes"; then
+ enable_optional_hook_export=no
+ fi
+ elif test "$enable_optional_hook_export" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_optional_hook_export=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_optional_hook_export=no
+ fi
+ fi
+ if test "$enable_optional_hook_export" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_optional_hook_export$_apmod_extra_msg" >&5
+$as_echo "$enable_optional_hook_export$_apmod_extra_msg" >&6; }
+ if test "$enable_optional_hook_export" != "no"; then
+ case "$enable_optional_hook_export" in
+ shared*)
+ enable_optional_hook_export=`echo $ac_n $enable_optional_hook_export$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES optional_hook_export"
+ ;;
+ *)
+ MODLIST="$MODLIST optional_hook_export"
+ if test "optional_hook_export" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_optional_hook_export.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_optional_hook_export.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_OPTIONAL_HOOK_EXPORT_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_optional_hook_export.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_HOOK_EXPORT_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_HOOK_EXPORT_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_optional_hook_import" >&5
+$as_echo_n "checking whether to enable mod_optional_hook_import... " >&6; }
+ # Check whether --enable-optional-hook-import was given.
+if test "${enable_optional_hook_import+set}" = set; then
+ enableval=$enable_optional_hook_import;
+else
+ enable_optional_hook_import=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_optional_hook_import" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_optional_hook_import" = "static"; then
+ enable_optional_hook_import=yes
+ elif test "$enable_optional_hook_import" = "yes"; then
+ enable_optional_hook_import=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_hook_import" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_optional_hook_import=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_hook_import" != "yes"; then
+ enable_optional_hook_import=no
+ fi
+ elif test "$enable_optional_hook_import" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_optional_hook_import=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_optional_hook_import=no
+ fi
+ fi
+ if test "$enable_optional_hook_import" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_optional_hook_import$_apmod_extra_msg" >&5
+$as_echo "$enable_optional_hook_import$_apmod_extra_msg" >&6; }
+ if test "$enable_optional_hook_import" != "no"; then
+ case "$enable_optional_hook_import" in
+ shared*)
+ enable_optional_hook_import=`echo $ac_n $enable_optional_hook_import$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES optional_hook_import"
+ ;;
+ *)
+ MODLIST="$MODLIST optional_hook_import"
+ if test "optional_hook_import" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_optional_hook_import.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_optional_hook_import.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_OPTIONAL_HOOK_IMPORT_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_optional_hook_import.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_HOOK_IMPORT_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_HOOK_IMPORT_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_optional_fn_import" >&5
+$as_echo_n "checking whether to enable mod_optional_fn_import... " >&6; }
+ # Check whether --enable-optional-fn-import was given.
+if test "${enable_optional_fn_import+set}" = set; then
+ enableval=$enable_optional_fn_import;
+else
+ enable_optional_fn_import=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_optional_fn_import" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_optional_fn_import" = "static"; then
+ enable_optional_fn_import=yes
+ elif test "$enable_optional_fn_import" = "yes"; then
+ enable_optional_fn_import=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_fn_import" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_optional_fn_import=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_fn_import" != "yes"; then
+ enable_optional_fn_import=no
+ fi
+ elif test "$enable_optional_fn_import" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_optional_fn_import=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_optional_fn_import=no
+ fi
+ fi
+ if test "$enable_optional_fn_import" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_optional_fn_import$_apmod_extra_msg" >&5
+$as_echo "$enable_optional_fn_import$_apmod_extra_msg" >&6; }
+ if test "$enable_optional_fn_import" != "no"; then
+ case "$enable_optional_fn_import" in
+ shared*)
+ enable_optional_fn_import=`echo $ac_n $enable_optional_fn_import$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES optional_fn_import"
+ ;;
+ *)
+ MODLIST="$MODLIST optional_fn_import"
+ if test "optional_fn_import" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_optional_fn_import.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_optional_fn_import.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_OPTIONAL_FN_IMPORT_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_optional_fn_import.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_FN_IMPORT_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_FN_IMPORT_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_optional_fn_export" >&5
+$as_echo_n "checking whether to enable mod_optional_fn_export... " >&6; }
+ # Check whether --enable-optional-fn-export was given.
+if test "${enable_optional_fn_export+set}" = set; then
+ enableval=$enable_optional_fn_export;
+else
+ enable_optional_fn_export=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_optional_fn_export" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_optional_fn_export" = "static"; then
+ enable_optional_fn_export=yes
+ elif test "$enable_optional_fn_export" = "yes"; then
+ enable_optional_fn_export=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_fn_export" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_optional_fn_export=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_optional_fn_export" != "yes"; then
+ enable_optional_fn_export=no
+ fi
+ elif test "$enable_optional_fn_export" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_optional_fn_export=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_optional_fn_export=no
+ fi
+ fi
+ if test "$enable_optional_fn_export" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_optional_fn_export$_apmod_extra_msg" >&5
+$as_echo "$enable_optional_fn_export$_apmod_extra_msg" >&6; }
+ if test "$enable_optional_fn_export" != "no"; then
+ case "$enable_optional_fn_export" in
+ shared*)
+ enable_optional_fn_export=`echo $ac_n $enable_optional_fn_export$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES optional_fn_export"
+ ;;
+ *)
+ MODLIST="$MODLIST optional_fn_export"
+ if test "optional_fn_export" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_optional_fn_export.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_optional_fn_export.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_OPTIONAL_FN_EXPORT_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_optional_fn_export.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_FN_EXPORT_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_FN_EXPORT_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_bucketeer" >&5
+$as_echo_n "checking whether to enable mod_bucketeer... " >&6; }
+ # Check whether --enable-bucketeer was given.
+if test "${enable_bucketeer+set}" = set; then
+ enableval=$enable_bucketeer;
+else
+ enable_bucketeer=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_bucketeer" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_bucketeer" = "static"; then
+ enable_bucketeer=yes
+ elif test "$enable_bucketeer" = "yes"; then
+ enable_bucketeer=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_bucketeer" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_bucketeer=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_bucketeer" != "yes"; then
+ enable_bucketeer=no
+ fi
+ elif test "$enable_bucketeer" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_bucketeer=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_bucketeer=no
+ fi
+ fi
+ if test "$enable_bucketeer" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_bucketeer$_apmod_extra_msg" >&5
+$as_echo "$enable_bucketeer$_apmod_extra_msg" >&6; }
+ if test "$enable_bucketeer" != "no"; then
+ case "$enable_bucketeer" in
+ shared*)
+ enable_bucketeer=`echo $ac_n $enable_bucketeer$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES bucketeer"
+ ;;
+ *)
+ MODLIST="$MODLIST bucketeer"
+ if test "bucketeer" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_bucketeer.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_bucketeer.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_BUCKETEER_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_bucketeer.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_BUCKETEER_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_BUCKETEER_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+if test "$OS" = "beos" ; then
+
+ if test "x$CFLAGS" = "x"; then
+ echo " setting CFLAGS to \"-DBEOS\""
+ CFLAGS="-DBEOS"
+ else
+ apr_addto_bugger="-DBEOS"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $CFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to CFLAGS"
+ CFLAGS="$CFLAGS $i"
+ fi
+ done
+ fi
+
+fi
+
+{ $as_echo "$as_me:$LINENO: checking for target platform" >&5
+$as_echo_n "checking for target platform... " >&6; }
+
+case $host in
+*beos*)
+ OS="beos"
+ OS_DIR=$OS
+ ;;
+*pc-os2_emx*)
+ OS="os2"
+ OS_DIR=$OS
+ ;;
+bs2000*)
+ OS="unix"
+ OS_DIR=bs2000 # only the OS_DIR is platform specific.
+ ;;
+*cygwin*)
+ OS="cygwin"
+ OS_DIR="unix"
+ ;;
+*)
+ OS="unix"
+ OS_DIR=$OS;;
+esac
+
+{ $as_echo "$as_me:$LINENO: result: $OS" >&5
+$as_echo "$OS" >&6; }
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES os/$OS_DIR/Makefile"
+
+
+if test "$OS" = "os2" ; then
+
+ if test "x$CFLAGS" = "x"; then
+ echo " setting CFLAGS to \"-DOS2 -O2\""
+ CFLAGS="-DOS2 -O2"
+ else
+ apr_addto_bugger="-DOS2 -O2"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $CFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to CFLAGS"
+ CFLAGS="$CFLAGS $i"
+ fi
+ done
+ fi
+
+fi
+
+if test "$OS" = "unix" ; then
+
+ { $as_echo "$as_me:$LINENO: checking for rlim_t" >&5
+$as_echo_n "checking for rlim_t... " >&6; }
+if test "${ac_cv_type_rlim_t+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/resource.h>
+
+int
+main ()
+{
+rlim_t spoon;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ ac_cv_type_rlim_t=yes
+
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_rlim_t=no
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
+$as_echo "$ac_cv_type_rlim_t" >&6; }
+ if test "$ac_cv_type_rlim_t" = "no" ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define rlim_t int
+_ACEOF
+
+ fi
+
+
+
+
+
+
+for ac_header in sys/time.h sys/resource.h sys/sem.h sys/ipc.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+for ac_func in setsid killpg
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+fi
+
+
+
+
+
+for ac_header in bstring.h unistd.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+
+for ac_func in syslog
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+
+for ac_header in sys/times.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_func in times
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+{ $as_echo "$as_me:$LINENO: checking which MPM to use" >&5
+$as_echo_n "checking which MPM to use... " >&6; }
+
+# Check whether --with-mpm was given.
+if test "${with_mpm+set}" = set; then
+ withval=$with_mpm;
+ APACHE_MPM=$withval
+
+else
+
+ if test "x$APACHE_MPM" = "x"; then
+ APACHE_MPM=prefork
+ fi
+
+fi
+
+{ $as_echo "$as_me:$LINENO: result: $APACHE_MPM" >&5
+$as_echo "$APACHE_MPM" >&6; }
+
+apache_cv_mpm=$APACHE_MPM
+
+if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild" -o "$apache_cv_mpm" = "leader" -o "$apache_cv_mpm" = "threadpool" ; then
+
+apr_old_cppflags=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <apr.h>
+#if APR_HAS_THREADS
+YES_IS_DEFINED
+#endif
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
+ ac_cv_define_APR_HAS_THREADS=yes
+else
+ ac_cv_define_APR_HAS_THREADS=no
+fi
+rm -f conftest*
+
+CPPFLAGS=$apr_old_cppflags
+
+
+ if test "x$ac_cv_define_APR_HAS_THREADS" = "xno"; then
+ { $as_echo "$as_me:$LINENO: result: The currently selected MPM requires threads which your system seems to lack" >&5
+$as_echo "The currently selected MPM requires threads which your system seems to lack" >&6; }
+ { $as_echo "$as_me:$LINENO: checking checking for replacement" >&5
+$as_echo_n "checking checking for replacement... " >&6; }
+ { $as_echo "$as_me:$LINENO: result: prefork selected" >&5
+$as_echo "prefork selected" >&6; }
+ apache_cv_mpm=prefork
+ fi
+fi
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/Makefile"
+
+
+MPM_NAME=$apache_cv_mpm
+if test "$MPM_NAME" = "leader" -o "$MPM_NAME" = "threadpool" -o "$MPM_NAME" = "perchild"; then
+ { $as_echo "$as_me:$LINENO: WARNING: You have selected an EXPERIMENTAL MPM. Be warned!" >&5
+$as_echo "$as_me: WARNING: You have selected an EXPERIMENTAL MPM. Be warned!" >&2;}
+ MPM_SUBDIR_NAME=experimental/$MPM_NAME
+else
+ MPM_SUBDIR_NAME=$MPM_NAME
+fi
+MPM_DIR=server/mpm/$MPM_SUBDIR_NAME
+MPM_LIB=$MPM_DIR/lib${MPM_NAME}.la
+
+if test ! -f "$abs_srcdir/$MPM_DIR/mpm.h"; then
+ { { $as_echo "$as_me:$LINENO: error: the selected mpm -- $apache_cv_mpm -- is not supported" >&5
+$as_echo "$as_me: error: the selected mpm -- $apache_cv_mpm -- is not supported" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MPM_NAME"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MPM_SUBDIR_NAME"
+
+
+MODLIST="$MODLIST mpm_${MPM_NAME}"
+
+
+if test "$MPM_NAME" = "prefork" ; then
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
+
+fi
+
+htpasswd_LTFLAGS=""
+htdigest_LTFLAGS=""
+rotatelogs_LTFLAGS=""
+logresolve_LTFLAGS=""
+htdbm_LTFLAGS=""
+ab_LTFLAGS=""
+checkgid_LTFLAGS=""
+
+# Check whether --enable-static-support was given.
+if test "${enable_static_support+set}" = set; then
+ enableval=$enable_static_support;
+if test "$enableval" = "yes" ; then
+
+ if test "x$htpasswd_LTFLAGS" = "x"; then
+ echo " setting htpasswd_LTFLAGS to \"-static\""
+ htpasswd_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $htpasswd_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to htpasswd_LTFLAGS"
+ htpasswd_LTFLAGS="$htpasswd_LTFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$htdigest_LTFLAGS" = "x"; then
+ echo " setting htdigest_LTFLAGS to \"-static\""
+ htdigest_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $htdigest_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to htdigest_LTFLAGS"
+ htdigest_LTFLAGS="$htdigest_LTFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$rotatelogs_LTFLAGS" = "x"; then
+ echo " setting rotatelogs_LTFLAGS to \"-static\""
+ rotatelogs_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $rotatelogs_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to rotatelogs_LTFLAGS"
+ rotatelogs_LTFLAGS="$rotatelogs_LTFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$logresolve_LTFLAGS" = "x"; then
+ echo " setting logresolve_LTFLAGS to \"-static\""
+ logresolve_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $logresolve_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to logresolve_LTFLAGS"
+ logresolve_LTFLAGS="$logresolve_LTFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$htdbm_LTFLAGS" = "x"; then
+ echo " setting htdbm_LTFLAGS to \"-static\""
+ htdbm_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $htdbm_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to htdbm_LTFLAGS"
+ htdbm_LTFLAGS="$htdbm_LTFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$ab_LTFLAGS" = "x"; then
+ echo " setting ab_LTFLAGS to \"-static\""
+ ab_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $ab_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to ab_LTFLAGS"
+ ab_LTFLAGS="$ab_LTFLAGS $i"
+ fi
+ done
+ fi
+
+
+ if test "x$checkgid_LTFLAGS" = "x"; then
+ echo " setting checkgid_LTFLAGS to \"-static\""
+ checkgid_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $checkgid_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to checkgid_LTFLAGS"
+ checkgid_LTFLAGS="$checkgid_LTFLAGS $i"
+ fi
+ done
+ fi
+
+fi
+
+fi
+
+
+# Check whether --enable-static-htpasswd was given.
+if test "${enable_static_htpasswd+set}" = set; then
+ enableval=$enable_static_htpasswd;
+if test "$enableval" = "yes" ; then
+
+ if test "x$htpasswd_LTFLAGS" = "x"; then
+ echo " setting htpasswd_LTFLAGS to \"-static\""
+ htpasswd_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $htpasswd_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to htpasswd_LTFLAGS"
+ htpasswd_LTFLAGS="$htpasswd_LTFLAGS $i"
+ fi
+ done
+ fi
+
+else
+
+ if test "x$htpasswd_LTFLAGS" = "x-static"; then
+ echo " nulling htpasswd_LTFLAGS"
+ htpasswd_LTFLAGS=""
+ else
+ apr_new_bugger=""
+ apr_removed=0
+ for i in $htpasswd_LTFLAGS; do
+ if test "x$i" != "x-static"; then
+ apr_new_bugger="$apr_new_bugger $i"
+ else
+ apr_removed=1
+ fi
+ done
+ if test $apr_removed = "1"; then
+ echo " removed \"-static\" from htpasswd_LTFLAGS"
+ htpasswd_LTFLAGS=$apr_new_bugger
+ fi
+ fi
+
+fi
+
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST htpasswd_LTFLAGS"
+
+
+
+# Check whether --enable-static-htdigest was given.
+if test "${enable_static_htdigest+set}" = set; then
+ enableval=$enable_static_htdigest;
+if test "$enableval" = "yes" ; then
+
+ if test "x$htdigest_LTFLAGS" = "x"; then
+ echo " setting htdigest_LTFLAGS to \"-static\""
+ htdigest_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $htdigest_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to htdigest_LTFLAGS"
+ htdigest_LTFLAGS="$htdigest_LTFLAGS $i"
+ fi
+ done
+ fi
+
+else
+
+ if test "x$htdigest_LTFLAGS" = "x-static"; then
+ echo " nulling htdigest_LTFLAGS"
+ htdigest_LTFLAGS=""
+ else
+ apr_new_bugger=""
+ apr_removed=0
+ for i in $htdigest_LTFLAGS; do
+ if test "x$i" != "x-static"; then
+ apr_new_bugger="$apr_new_bugger $i"
+ else
+ apr_removed=1
+ fi
+ done
+ if test $apr_removed = "1"; then
+ echo " removed \"-static\" from htdigest_LTFLAGS"
+ htdigest_LTFLAGS=$apr_new_bugger
+ fi
+ fi
+
+fi
+
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST htdigest_LTFLAGS"
+
+
+
+# Check whether --enable-static-rotatelogs was given.
+if test "${enable_static_rotatelogs+set}" = set; then
+ enableval=$enable_static_rotatelogs;
+if test "$enableval" = "yes" ; then
+
+ if test "x$rotatelogs_LTFLAGS" = "x"; then
+ echo " setting rotatelogs_LTFLAGS to \"-static\""
+ rotatelogs_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $rotatelogs_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to rotatelogs_LTFLAGS"
+ rotatelogs_LTFLAGS="$rotatelogs_LTFLAGS $i"
+ fi
+ done
+ fi
+
+else
+
+ if test "x$rotatelogs_LTFLAGS" = "x-static"; then
+ echo " nulling rotatelogs_LTFLAGS"
+ rotatelogs_LTFLAGS=""
+ else
+ apr_new_bugger=""
+ apr_removed=0
+ for i in $rotatelogs_LTFLAGS; do
+ if test "x$i" != "x-static"; then
+ apr_new_bugger="$apr_new_bugger $i"
+ else
+ apr_removed=1
+ fi
+ done
+ if test $apr_removed = "1"; then
+ echo " removed \"-static\" from rotatelogs_LTFLAGS"
+ rotatelogs_LTFLAGS=$apr_new_bugger
+ fi
+ fi
+
+fi
+
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST rotatelogs_LTFLAGS"
+
+
+
+# Check whether --enable-static-logresolve was given.
+if test "${enable_static_logresolve+set}" = set; then
+ enableval=$enable_static_logresolve;
+if test "$enableval" = "yes" ; then
+
+ if test "x$logresolve_LTFLAGS" = "x"; then
+ echo " setting logresolve_LTFLAGS to \"-static\""
+ logresolve_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $logresolve_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to logresolve_LTFLAGS"
+ logresolve_LTFLAGS="$logresolve_LTFLAGS $i"
+ fi
+ done
+ fi
+
+else
+
+ if test "x$logresolve_LTFLAGS" = "x-static"; then
+ echo " nulling logresolve_LTFLAGS"
+ logresolve_LTFLAGS=""
+ else
+ apr_new_bugger=""
+ apr_removed=0
+ for i in $logresolve_LTFLAGS; do
+ if test "x$i" != "x-static"; then
+ apr_new_bugger="$apr_new_bugger $i"
+ else
+ apr_removed=1
+ fi
+ done
+ if test $apr_removed = "1"; then
+ echo " removed \"-static\" from logresolve_LTFLAGS"
+ logresolve_LTFLAGS=$apr_new_bugger
+ fi
+ fi
+
+fi
+
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST logresolve_LTFLAGS"
+
+
+
+# Check whether --enable-static-htdbm was given.
+if test "${enable_static_htdbm+set}" = set; then
+ enableval=$enable_static_htdbm;
+if test "$enableval" = "yes" ; then
+
+ if test "x$htdbm_LTFLAGS" = "x"; then
+ echo " setting htdbm_LTFLAGS to \"-static\""
+ htdbm_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $htdbm_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to htdbm_LTFLAGS"
+ htdbm_LTFLAGS="$htdbm_LTFLAGS $i"
+ fi
+ done
+ fi
+
+else
+
+ if test "x$htdbm_LTFLAGS" = "x-static"; then
+ echo " nulling htdbm_LTFLAGS"
+ htdbm_LTFLAGS=""
+ else
+ apr_new_bugger=""
+ apr_removed=0
+ for i in $htdbm_LTFLAGS; do
+ if test "x$i" != "x-static"; then
+ apr_new_bugger="$apr_new_bugger $i"
+ else
+ apr_removed=1
+ fi
+ done
+ if test $apr_removed = "1"; then
+ echo " removed \"-static\" from htdbm_LTFLAGS"
+ htdbm_LTFLAGS=$apr_new_bugger
+ fi
+ fi
+
+fi
+
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST htdbm_LTFLAGS"
+
+
+
+# Check whether --enable-static-ab was given.
+if test "${enable_static_ab+set}" = set; then
+ enableval=$enable_static_ab;
+if test "$enableval" = "yes" ; then
+
+ if test "x$ab_LTFLAGS" = "x"; then
+ echo " setting ab_LTFLAGS to \"-static\""
+ ab_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $ab_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to ab_LTFLAGS"
+ ab_LTFLAGS="$ab_LTFLAGS $i"
+ fi
+ done
+ fi
+
+else
+
+ if test "x$ab_LTFLAGS" = "x-static"; then
+ echo " nulling ab_LTFLAGS"
+ ab_LTFLAGS=""
+ else
+ apr_new_bugger=""
+ apr_removed=0
+ for i in $ab_LTFLAGS; do
+ if test "x$i" != "x-static"; then
+ apr_new_bugger="$apr_new_bugger $i"
+ else
+ apr_removed=1
+ fi
+ done
+ if test $apr_removed = "1"; then
+ echo " removed \"-static\" from ab_LTFLAGS"
+ ab_LTFLAGS=$apr_new_bugger
+ fi
+ fi
+
+fi
+
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST ab_LTFLAGS"
+
+
+
+# Check whether --enable-static-checkgid was given.
+if test "${enable_static_checkgid+set}" = set; then
+ enableval=$enable_static_checkgid;
+if test "$enableval" = "yes" ; then
+
+ if test "x$checkgid_LTFLAGS" = "x"; then
+ echo " setting checkgid_LTFLAGS to \"-static\""
+ checkgid_LTFLAGS="-static"
+ else
+ apr_addto_bugger="-static"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $checkgid_LTFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to checkgid_LTFLAGS"
+ checkgid_LTFLAGS="$checkgid_LTFLAGS $i"
+ fi
+ done
+ fi
+
+else
+
+ if test "x$checkgid_LTFLAGS" = "x-static"; then
+ echo " nulling checkgid_LTFLAGS"
+ checkgid_LTFLAGS=""
+ else
+ apr_new_bugger=""
+ apr_removed=0
+ for i in $checkgid_LTFLAGS; do
+ if test "x$i" != "x-static"; then
+ apr_new_bugger="$apr_new_bugger $i"
+ else
+ apr_removed=1
+ fi
+ done
+ if test $apr_removed = "1"; then
+ echo " removed \"-static\" from checkgid_LTFLAGS"
+ checkgid_LTFLAGS=$apr_new_bugger
+ fi
+ fi
+
+fi
+
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST checkgid_LTFLAGS"
+
+
+
+case $host in
+ *aix*)
+ # this works in any locale, unlike the default command below, which
+ # fails in a non-English locale if the hard limit is unlimited
+ # since the display of the limit will translate "unlimited", but
+ # ulimit only accepts English "unlimited" on input
+ APACHECTL_ULIMIT="ulimit -S -n unlimited"
+ ;;
+ *alpha*-dec-osf*)
+ # Tru64: -H is for setting, not retrieving
+ APACHECTL_ULIMIT="ulimit -S -n \`ulimit -h -n\`"
+ ;;
+ *)
+ if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT ; then
+ APACHECTL_ULIMIT="ulimit -S -n \`ulimit -H -n\`"
+ else
+ APACHECTL_ULIMIT=""
+ fi
+ ;;
+esac
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST APACHECTL_ULIMIT"
+
+
+
+
+
+ current_dir=http
+ modpath_current=modules/http
+ modpath_static=
+ modpath_shared=
+ test -d http || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+http_objects="http_core.lo http_protocol.lo http_request.lo"
+
+if test "$enable_http" = "yes"; then
+ enable_http="static"
+elif test "$enable_http" = "shared"; then
+ { { $as_echo "$as_me:$LINENO: error: mod_http can not be built as a shared DSO" >&5
+$as_echo "$as_me: error: mod_http can not be built as a shared DSO" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_http" >&5
+$as_echo_n "checking whether to enable mod_http... " >&6; }
+ # Check whether --enable-http was given.
+if test "${enable_http+set}" = set; then
+ enableval=$enable_http;
+else
+ enable_http=static
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_http" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_http" = "static"; then
+ enable_http=yes
+ elif test "$enable_http" = "yes"; then
+ enable_http=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_http" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_http=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_http" != "yes"; then
+ enable_http=no
+ fi
+ elif test "$enable_http" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_http=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_http=no
+ fi
+ fi
+ if test "$enable_http" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_http$_apmod_extra_msg" >&5
+$as_echo "$enable_http$_apmod_extra_msg" >&6; }
+ if test "$enable_http" != "no"; then
+ case "$enable_http" in
+ shared*)
+ enable_http=`echo $ac_n $enable_http$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES http"
+ ;;
+ *)
+ MODLIST="$MODLIST http"
+ if test "http" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$http_objects"; then
+ objects="mod_http.lo"
+ else
+ objects="$http_objects"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_http.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_HTTP_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_http.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_HTTP_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_HTTP_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_mime" >&5
+$as_echo_n "checking whether to enable mod_mime... " >&6; }
+ # Check whether --enable-mime was given.
+if test "${enable_mime+set}" = set; then
+ enableval=$enable_mime;
+else
+ enable_mime=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_mime" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_mime" = "static"; then
+ enable_mime=yes
+ elif test "$enable_mime" = "yes"; then
+ enable_mime=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_mime" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_mime=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_mime" != "yes"; then
+ enable_mime=no
+ fi
+ elif test "$enable_mime" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_mime=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_mime=no
+ fi
+ fi
+ if test "$enable_mime" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_mime$_apmod_extra_msg" >&5
+$as_echo "$enable_mime$_apmod_extra_msg" >&6; }
+ if test "$enable_mime" != "no"; then
+ case "$enable_mime" in
+ shared*)
+ enable_mime=`echo $ac_n $enable_mime$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES mime"
+ ;;
+ *)
+ MODLIST="$MODLIST mime"
+ if test "mime" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_mime.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_mime.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_MIME_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_mime.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_MIME_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_MIME_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+{ $as_echo "$as_me:$LINENO: checking for extra modules" >&5
+$as_echo_n "checking for extra modules... " >&6; }
+
+# Check whether --with-module was given.
+if test "${with_module+set}" = set; then
+ withval=$with_module;
+ as_save_IFS="$IFS"; IFS=","
+ for mod in $withval
+ do
+ modtype=`echo $mod | sed -e's/\(.*\):.*/\1/'`
+ pkg=`echo $mod | sed -e's/.*:\(.*\)/\1/'`
+ modfilec=`echo $pkg | sed -e 's;^.*/;;'`
+ modfileo=`echo $pkg | sed -e 's;^.*/;;' -e 's;\.c$;.o;'`
+ modpath_current="modules/$modtype"
+ if test "x$mod" != "x$modpath_current/$modfilec"; then
+ if test ! -d "$modpath_current"; then
+ mkdir $modpath_current
+ echo 'include $(top_srcdir)/build/special.mk' > $modpath_current/Makefile.in
+ fi
+ cp $pkg $modpath_current/$modfilec
+ fi
+ module=`echo $pkg | sed -e 's;\(.*/\)*mod_\(.*\).c;\2;'`
+ objects="mod_$module.lo"
+ libname="mod_$module.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ if test ! -s "$modpath_current/modules.mk"; then
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects
+DISTCLEAN_TARGETS = modules.mk
+static = $libname
+shared =
+EOF
+ else
+ cat >>$modpath_current/modules.mk.tmp<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects
+EOF
+ cat $modpath_current/modules.mk >> $modpath_current/modules.mk.tmp
+ rm $modpath_current/modules.mk
+ mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
+ sed -e "s/\(static =.*\)/\1 $libname/" $modpath_current/modules.mk > $modpath_current/modules.mk.tmp
+ rm $modpath_current/modules.mk
+ mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
+ fi
+ MODLIST="$MODLIST $module"
+ EXTRA_MODLIST="$EXTRA_MODLIST $modtype:$modfilec"
+ MODULE_DIRS="$MODULE_DIRS $modtype"
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+ done
+ if test ! -z "$EXTRA_MODLIST"; then
+ { $as_echo "$as_me:$LINENO: result: added:$EXTRA_MODLIST" >&5
+$as_echo "added:$EXTRA_MODLIST" >&6; }
+ fi
+ IFS="$as_save_IFS"
+
+else
+ { $as_echo "$as_me:$LINENO: result: none" >&5
+$as_echo "none" >&6; }
+
+fi
+
+
+
+
+ current_dir=dav/main
+ modpath_current=modules/dav/main
+ modpath_static=
+ modpath_shared=
+ test -d dav/main || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+dav_objects="mod_dav.lo props.lo util.lo util_lock.lo liveprop.lo providers.lo std_liveprop.lo"
+
+if test "$enable_http" = "no"; then
+ dav_enable=no
+else
+ dav_enable=most
+fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_dav" >&5
+$as_echo_n "checking whether to enable mod_dav... " >&6; }
+ # Check whether --enable-dav was given.
+if test "${enable_dav+set}" = set; then
+ enableval=$enable_dav;
+else
+ enable_dav=$dav_enable
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_dav" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_dav" = "static"; then
+ enable_dav=yes
+ elif test "$enable_dav" = "yes"; then
+ enable_dav=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dav" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_dav=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dav" != "yes"; then
+ enable_dav=no
+ fi
+ elif test "$enable_dav" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_dav=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_dav=no
+ fi
+ fi
+ if test "$enable_dav" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_dav$_apmod_extra_msg" >&5
+$as_echo "$enable_dav$_apmod_extra_msg" >&6; }
+ if test "$enable_dav" != "no"; then
+ case "$enable_dav" in
+ shared*)
+ enable_dav=`echo $ac_n $enable_dav$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES dav"
+ ;;
+ *)
+ MODLIST="$MODLIST dav"
+ if test "dav" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$dav_objects"; then
+ objects="mod_dav.lo"
+ else
+ objects="$dav_objects"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_dav.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_DAV_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_dav.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DAV_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DAV_LDADD"
+
+
+
+ fi
+
+
+if test "$dav_enable" != "no" -o "$enable_dav" != "no"; then
+ apache_need_expat=yes
+
+
+ if test "x$INCLUDES" = "x"; then
+ echo " setting INCLUDES to \"-I\$(top_srcdir)/$modpath_current\""
+ INCLUDES="-I\$(top_srcdir)/$modpath_current"
+ else
+ apr_addto_bugger="-I\$(top_srcdir)/$modpath_current"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=generators
+ modpath_current=modules/generators
+ modpath_static=
+ modpath_shared=
+ test -d generators || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_status" >&5
+$as_echo_n "checking whether to enable mod_status... " >&6; }
+ # Check whether --enable-status was given.
+if test "${enable_status+set}" = set; then
+ enableval=$enable_status;
+else
+ enable_status=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_status" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_status" = "static"; then
+ enable_status=yes
+ elif test "$enable_status" = "yes"; then
+ enable_status=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_status" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_status=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_status" != "yes"; then
+ enable_status=no
+ fi
+ elif test "$enable_status" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_status=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_status=no
+ fi
+ fi
+ if test "$enable_status" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_status$_apmod_extra_msg" >&5
+$as_echo "$enable_status$_apmod_extra_msg" >&6; }
+ if test "$enable_status" != "no"; then
+ case "$enable_status" in
+ shared*)
+ enable_status=`echo $ac_n $enable_status$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES status"
+ ;;
+ *)
+ MODLIST="$MODLIST status"
+ if test "status" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_status.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_status.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_STATUS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_status.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_STATUS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_STATUS_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_autoindex" >&5
+$as_echo_n "checking whether to enable mod_autoindex... " >&6; }
+ # Check whether --enable-autoindex was given.
+if test "${enable_autoindex+set}" = set; then
+ enableval=$enable_autoindex;
+else
+ enable_autoindex=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_autoindex" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_autoindex" = "static"; then
+ enable_autoindex=yes
+ elif test "$enable_autoindex" = "yes"; then
+ enable_autoindex=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_autoindex" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_autoindex=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_autoindex" != "yes"; then
+ enable_autoindex=no
+ fi
+ elif test "$enable_autoindex" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_autoindex=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_autoindex=no
+ fi
+ fi
+ if test "$enable_autoindex" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_autoindex$_apmod_extra_msg" >&5
+$as_echo "$enable_autoindex$_apmod_extra_msg" >&6; }
+ if test "$enable_autoindex" != "no"; then
+ case "$enable_autoindex" in
+ shared*)
+ enable_autoindex=`echo $ac_n $enable_autoindex$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES autoindex"
+ ;;
+ *)
+ MODLIST="$MODLIST autoindex"
+ if test "autoindex" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_autoindex.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_autoindex.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_AUTOINDEX_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_autoindex.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTOINDEX_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTOINDEX_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_asis" >&5
+$as_echo_n "checking whether to enable mod_asis... " >&6; }
+ # Check whether --enable-asis was given.
+if test "${enable_asis+set}" = set; then
+ enableval=$enable_asis;
+else
+ enable_asis=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_asis" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_asis" = "static"; then
+ enable_asis=yes
+ elif test "$enable_asis" = "yes"; then
+ enable_asis=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_asis" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_asis=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_asis" != "yes"; then
+ enable_asis=no
+ fi
+ elif test "$enable_asis" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_asis=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_asis=no
+ fi
+ fi
+ if test "$enable_asis" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_asis$_apmod_extra_msg" >&5
+$as_echo "$enable_asis$_apmod_extra_msg" >&6; }
+ if test "$enable_asis" != "no"; then
+ case "$enable_asis" in
+ shared*)
+ enable_asis=`echo $ac_n $enable_asis$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES asis"
+ ;;
+ *)
+ MODLIST="$MODLIST asis"
+ if test "asis" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_asis.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_asis.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_ASIS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_asis.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ASIS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ASIS_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_info" >&5
+$as_echo_n "checking whether to enable mod_info... " >&6; }
+ # Check whether --enable-info was given.
+if test "${enable_info+set}" = set; then
+ enableval=$enable_info;
+else
+ enable_info=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_info" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_info" = "static"; then
+ enable_info=yes
+ elif test "$enable_info" = "yes"; then
+ enable_info=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_info" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_info=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_info" != "yes"; then
+ enable_info=no
+ fi
+ elif test "$enable_info" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_info=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_info=no
+ fi
+ fi
+ if test "$enable_info" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_info$_apmod_extra_msg" >&5
+$as_echo "$enable_info$_apmod_extra_msg" >&6; }
+ if test "$enable_info" != "no"; then
+ case "$enable_info" in
+ shared*)
+ enable_info=`echo $ac_n $enable_info$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES info"
+ ;;
+ *)
+ MODLIST="$MODLIST info"
+ if test "info" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_info.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_info.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_INFO_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_info.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_INFO_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_INFO_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_suexec" >&5
+$as_echo_n "checking whether to enable mod_suexec... " >&6; }
+ # Check whether --enable-suexec was given.
+if test "${enable_suexec+set}" = set; then
+ enableval=$enable_suexec;
+else
+ enable_suexec=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_suexec" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_suexec" = "static"; then
+ enable_suexec=yes
+ elif test "$enable_suexec" = "yes"; then
+ enable_suexec=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_suexec" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_suexec=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_suexec" != "yes"; then
+ enable_suexec=no
+ fi
+ elif test "$enable_suexec" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_suexec=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_suexec=no
+ fi
+ fi
+ if test "$enable_suexec" != "no"; then
+ { $as_echo "$as_me:$LINENO: result: checking dependencies" >&5
+$as_echo "checking dependencies" >&6; }
+
+ other_targets=suexec
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_suexec" >&5
+$as_echo_n "checking whether to enable mod_suexec... " >&6; }
+ if test "$enable_suexec" = "no"; then
+ if test "$_apmod_error_fatal" = "no"; then
+ _apmod_extra_msg=" (disabled)"
+ else
+ { { $as_echo "$as_me:$LINENO: error: mod_suexec has been requested but can not be built due to prerequisite failures" >&5
+$as_echo "$as_me: error: mod_suexec has been requested but can not be built due to prerequisite failures" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_suexec$_apmod_extra_msg" >&5
+$as_echo "$enable_suexec$_apmod_extra_msg" >&6; }
+ if test "$enable_suexec" != "no"; then
+ case "$enable_suexec" in
+ shared*)
+ enable_suexec=`echo $ac_n $enable_suexec$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES suexec"
+ ;;
+ *)
+ MODLIST="$MODLIST suexec"
+ if test "suexec" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_suexec.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_suexec.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_SUEXEC_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_suexec.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SUEXEC_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SUEXEC_LDADD"
+
+
+
+ fi
+
+
+
+ if test "x$LT_LDFLAGS" = "x"; then
+ echo " setting LT_LDFLAGS to \"-export-dynamic\""
+ LT_LDFLAGS="-export-dynamic"
+ else
+ apr_addto_bugger="-export-dynamic"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $LT_LDFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to LT_LDFLAGS"
+ LT_LDFLAGS="$LT_LDFLAGS $i"
+ fi
+ done
+ fi
+
+
+if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild"; then
+# if we are using a threaded MPM, we will get better performance with
+# mod_cgid, so make it the default.
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_cgid" >&5
+$as_echo_n "checking whether to enable mod_cgid... " >&6; }
+ # Check whether --enable-cgid was given.
+if test "${enable_cgid+set}" = set; then
+ enableval=$enable_cgid;
+else
+ enable_cgid=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_cgid" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_cgid" = "static"; then
+ enable_cgid=yes
+ elif test "$enable_cgid" = "yes"; then
+ enable_cgid=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgid" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_cgid=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgid" != "yes"; then
+ enable_cgid=no
+ fi
+ elif test "$enable_cgid" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_cgid=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_cgid=no
+ fi
+ fi
+ if test "$enable_cgid" != "no"; then
+ { $as_echo "$as_me:$LINENO: result: checking dependencies" >&5
+$as_echo "checking dependencies" >&6; }
+
+ case $host in
+ *-solaris2*)
+ case `uname -r` in
+ 5.10)
+ case `uname -p` in
+ i386)
+ patch_id="120665"
+ ;;
+ sparc)
+ patch_id="120664"
+ ;;
+ *)
+ { $as_echo "$as_me:$LINENO: WARNING: Unknown platform" >&5
+$as_echo "$as_me: WARNING: Unknown platform" >&2;}
+ patch_id="120664"
+ ;;
+ esac
+ { $as_echo "$as_me:$LINENO: checking for Solaris patch $patch_id" >&5
+$as_echo_n "checking for Solaris patch $patch_id... " >&6; }
+ showrev -p | grep "$patch_id" >/dev/null 2>&1
+ if test $? -eq 1; then
+ { { $as_echo "$as_me:$LINENO: error: Please apply either patch # 120664 (Sparc) or # 120665 (x86).
+Without these patches, mod_cgid is non-functional on Solaris 10 due to an OS
+bug with AF_UNIX sockets.
+If you can not apply these patches, you can do one of the following:
+ - run configure with --disable-cgid
+ - switch to the prefork MPM
+For more info: <http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>" >&5
+$as_echo "$as_me: error: Please apply either patch # 120664 (Sparc) or # 120665 (x86).
+Without these patches, mod_cgid is non-functional on Solaris 10 due to an OS
+bug with AF_UNIX sockets.
+If you can not apply these patches, you can do one of the following:
+ - run configure with --disable-cgid
+ - switch to the prefork MPM
+For more info: <http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+ fi
+ ;;
+ esac
+ ;;
+ esac
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_cgid" >&5
+$as_echo_n "checking whether to enable mod_cgid... " >&6; }
+ if test "$enable_cgid" = "no"; then
+ if test "$_apmod_error_fatal" = "no"; then
+ _apmod_extra_msg=" (disabled)"
+ else
+ { { $as_echo "$as_me:$LINENO: error: mod_cgid has been requested but can not be built due to prerequisite failures" >&5
+$as_echo "$as_me: error: mod_cgid has been requested but can not be built due to prerequisite failures" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_cgid$_apmod_extra_msg" >&5
+$as_echo "$enable_cgid$_apmod_extra_msg" >&6; }
+ if test "$enable_cgid" != "no"; then
+ case "$enable_cgid" in
+ shared*)
+ enable_cgid=`echo $ac_n $enable_cgid$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES cgid"
+ ;;
+ *)
+ MODLIST="$MODLIST cgid"
+ if test "cgid" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_cgid.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_cgid.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CGID_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_cgid.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGID_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGID_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_cgi" >&5
+$as_echo_n "checking whether to enable mod_cgi... " >&6; }
+ # Check whether --enable-cgi was given.
+if test "${enable_cgi+set}" = set; then
+ enableval=$enable_cgi;
+else
+ enable_cgi=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_cgi" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_cgi" = "static"; then
+ enable_cgi=yes
+ elif test "$enable_cgi" = "yes"; then
+ enable_cgi=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgi" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_cgi=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgi" != "yes"; then
+ enable_cgi=no
+ fi
+ elif test "$enable_cgi" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_cgi=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_cgi=no
+ fi
+ fi
+ if test "$enable_cgi" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_cgi$_apmod_extra_msg" >&5
+$as_echo "$enable_cgi$_apmod_extra_msg" >&6; }
+ if test "$enable_cgi" != "no"; then
+ case "$enable_cgi" in
+ shared*)
+ enable_cgi=`echo $ac_n $enable_cgi$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES cgi"
+ ;;
+ *)
+ MODLIST="$MODLIST cgi"
+ if test "cgi" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_cgi.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_cgi.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CGI_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_cgi.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGI_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGI_LDADD"
+
+
+
+ fi
+
+else
+# if we are using a non-threaded MPM, it makes little sense to use
+# mod_cgid, and it just opens up holes we don't need. Make mod_cgi the
+# default
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_cgi" >&5
+$as_echo_n "checking whether to enable mod_cgi... " >&6; }
+ # Check whether --enable-cgi was given.
+if test "${enable_cgi+set}" = set; then
+ enableval=$enable_cgi;
+else
+ enable_cgi=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_cgi" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_cgi" = "static"; then
+ enable_cgi=yes
+ elif test "$enable_cgi" = "yes"; then
+ enable_cgi=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgi" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_cgi=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgi" != "yes"; then
+ enable_cgi=no
+ fi
+ elif test "$enable_cgi" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_cgi=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_cgi=no
+ fi
+ fi
+ if test "$enable_cgi" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_cgi$_apmod_extra_msg" >&5
+$as_echo "$enable_cgi$_apmod_extra_msg" >&6; }
+ if test "$enable_cgi" != "no"; then
+ case "$enable_cgi" in
+ shared*)
+ enable_cgi=`echo $ac_n $enable_cgi$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES cgi"
+ ;;
+ *)
+ MODLIST="$MODLIST cgi"
+ if test "cgi" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_cgi.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_cgi.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CGI_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_cgi.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGI_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGI_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_cgid" >&5
+$as_echo_n "checking whether to enable mod_cgid... " >&6; }
+ # Check whether --enable-cgid was given.
+if test "${enable_cgid+set}" = set; then
+ enableval=$enable_cgid;
+else
+ enable_cgid=no
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_cgid" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_cgid" = "static"; then
+ enable_cgid=yes
+ elif test "$enable_cgid" = "yes"; then
+ enable_cgid=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgid" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_cgid=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_cgid" != "yes"; then
+ enable_cgid=no
+ fi
+ elif test "$enable_cgid" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_cgid=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_cgid=no
+ fi
+ fi
+ if test "$enable_cgid" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_cgid$_apmod_extra_msg" >&5
+$as_echo "$enable_cgid$_apmod_extra_msg" >&6; }
+ if test "$enable_cgid" != "no"; then
+ case "$enable_cgid" in
+ shared*)
+ enable_cgid=`echo $ac_n $enable_cgid$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES cgid"
+ ;;
+ *)
+ MODLIST="$MODLIST cgid"
+ if test "cgid" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_cgid.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_cgid.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_CGID_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_cgid.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGID_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGID_LDADD"
+
+
+
+ fi
+
+fi
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+if test "$MPM_NAME" = "beos" ; then
+ apache_apr_flags="--enable-threads"
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
+
+fi
+
+
+if test "$MPM_NAME" = "leader" ; then
+
+for ac_func in pthread_kill
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_SUBDIR_NAME/Makefile"
+
+fi
+
+
+if test "$MPM_NAME" = "perchild" ; then
+
+for ac_func in pthread_kill
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_SUBDIR_NAME/Makefile"
+
+fi
+
+
+if test "$MPM_NAME" = "threadpool" ; then
+
+for ac_func in pthread_kill
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_SUBDIR_NAME/Makefile"
+
+fi
+
+if test "$MPM_NAME" = "mpmt_os2" ; then
+ cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
+
+
+ if test "x$CFLAGS" = "x"; then
+ echo " setting CFLAGS to \"-Zmt\""
+ CFLAGS="-Zmt"
+ else
+ apr_addto_bugger="-Zmt"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $CFLAGS; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ echo " adding \"$i\" to CFLAGS"
+ CFLAGS="$CFLAGS $i"
+ fi
+ done
+ fi
+
+fi
+
+
+if test "$MPM_NAME" = "worker" ; then
+
+for ac_func in pthread_kill
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
+
+fi
+
+
+
+ current_dir=dav/fs
+ modpath_current=modules/dav/fs
+ modpath_static=
+ modpath_shared=
+ test -d dav/fs || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+dav_fs_objects="mod_dav_fs.lo dbm.lo lock.lo repos.lo"
+
+if test "x$enable_dav" != "x"; then
+ dav_fs_enable=$enable_dav
+else
+ dav_fs_enable=$dav_enable
+fi
+
+case "$host" in
+ *os2*)
+ # OS/2 DLLs must resolve all symbols at build time
+ # and we need some from main DAV module
+ dav_fs_objects="$dav_fs_objects ../main/mod_dav.la"
+ ;;
+esac
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_dav_fs" >&5
+$as_echo_n "checking whether to enable mod_dav_fs... " >&6; }
+ # Check whether --enable-dav-fs was given.
+if test "${enable_dav_fs+set}" = set; then
+ enableval=$enable_dav_fs;
+else
+ enable_dav_fs=$dav_fs_enable
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_dav_fs" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_dav_fs" = "static"; then
+ enable_dav_fs=yes
+ elif test "$enable_dav_fs" = "yes"; then
+ enable_dav_fs=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dav_fs" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_dav_fs=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dav_fs" != "yes"; then
+ enable_dav_fs=no
+ fi
+ elif test "$enable_dav_fs" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_dav_fs=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_dav_fs=no
+ fi
+ fi
+ if test "$enable_dav_fs" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_dav_fs$_apmod_extra_msg" >&5
+$as_echo "$enable_dav_fs$_apmod_extra_msg" >&6; }
+ if test "$enable_dav_fs" != "no"; then
+ case "$enable_dav_fs" in
+ shared*)
+ enable_dav_fs=`echo $ac_n $enable_dav_fs$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES dav_fs"
+ ;;
+ *)
+ MODLIST="$MODLIST dav_fs"
+ if test "dav_fs" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z "$dav_fs_objects"; then
+ objects="mod_dav_fs.lo"
+ else
+ objects="$dav_fs_objects"
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_dav_fs.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_DAV_FS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_dav_fs.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DAV_FS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DAV_FS_LDADD"
+
+
+
+ fi
+
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ current_dir=mappers
+ modpath_current=modules/mappers
+ modpath_static=
+ modpath_shared=
+ test -d mappers || $srcdir/build/mkdir.sh $modpath_current
+ > $modpath_current/modules.mk
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_vhost_alias" >&5
+$as_echo_n "checking whether to enable mod_vhost_alias... " >&6; }
+ # Check whether --enable-vhost-alias was given.
+if test "${enable_vhost_alias+set}" = set; then
+ enableval=$enable_vhost_alias;
+else
+ enable_vhost_alias=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_vhost_alias" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_vhost_alias" = "static"; then
+ enable_vhost_alias=yes
+ elif test "$enable_vhost_alias" = "yes"; then
+ enable_vhost_alias=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_vhost_alias" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_vhost_alias=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_vhost_alias" != "yes"; then
+ enable_vhost_alias=no
+ fi
+ elif test "$enable_vhost_alias" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_vhost_alias=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_vhost_alias=no
+ fi
+ fi
+ if test "$enable_vhost_alias" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_vhost_alias$_apmod_extra_msg" >&5
+$as_echo "$enable_vhost_alias$_apmod_extra_msg" >&6; }
+ if test "$enable_vhost_alias" != "no"; then
+ case "$enable_vhost_alias" in
+ shared*)
+ enable_vhost_alias=`echo $ac_n $enable_vhost_alias$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES vhost_alias"
+ ;;
+ *)
+ MODLIST="$MODLIST vhost_alias"
+ if test "vhost_alias" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_vhost_alias.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_vhost_alias.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_VHOST_ALIAS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_vhost_alias.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_VHOST_ALIAS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_VHOST_ALIAS_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_negotiation" >&5
+$as_echo_n "checking whether to enable mod_negotiation... " >&6; }
+ # Check whether --enable-negotiation was given.
+if test "${enable_negotiation+set}" = set; then
+ enableval=$enable_negotiation;
+else
+ enable_negotiation=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_negotiation" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_negotiation" = "static"; then
+ enable_negotiation=yes
+ elif test "$enable_negotiation" = "yes"; then
+ enable_negotiation=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_negotiation" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_negotiation=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_negotiation" != "yes"; then
+ enable_negotiation=no
+ fi
+ elif test "$enable_negotiation" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_negotiation=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_negotiation=no
+ fi
+ fi
+ if test "$enable_negotiation" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_negotiation$_apmod_extra_msg" >&5
+$as_echo "$enable_negotiation$_apmod_extra_msg" >&6; }
+ if test "$enable_negotiation" != "no"; then
+ case "$enable_negotiation" in
+ shared*)
+ enable_negotiation=`echo $ac_n $enable_negotiation$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES negotiation"
+ ;;
+ *)
+ MODLIST="$MODLIST negotiation"
+ if test "negotiation" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_negotiation.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_negotiation.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_NEGOTIATION_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_negotiation.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_NEGOTIATION_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_NEGOTIATION_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_dir" >&5
+$as_echo_n "checking whether to enable mod_dir... " >&6; }
+ # Check whether --enable-dir was given.
+if test "${enable_dir+set}" = set; then
+ enableval=$enable_dir;
+else
+ enable_dir=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_dir" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_dir" = "static"; then
+ enable_dir=yes
+ elif test "$enable_dir" = "yes"; then
+ enable_dir=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dir" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_dir=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_dir" != "yes"; then
+ enable_dir=no
+ fi
+ elif test "$enable_dir" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_dir=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_dir=no
+ fi
+ fi
+ if test "$enable_dir" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_dir$_apmod_extra_msg" >&5
+$as_echo "$enable_dir$_apmod_extra_msg" >&6; }
+ if test "$enable_dir" != "no"; then
+ case "$enable_dir" in
+ shared*)
+ enable_dir=`echo $ac_n $enable_dir$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES dir"
+ ;;
+ *)
+ MODLIST="$MODLIST dir"
+ if test "dir" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_dir.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_dir.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_DIR_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_dir.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DIR_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DIR_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_imap" >&5
+$as_echo_n "checking whether to enable mod_imap... " >&6; }
+ # Check whether --enable-imap was given.
+if test "${enable_imap+set}" = set; then
+ enableval=$enable_imap;
+else
+ enable_imap=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_imap" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_imap" = "static"; then
+ enable_imap=yes
+ elif test "$enable_imap" = "yes"; then
+ enable_imap=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_imap" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_imap=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_imap" != "yes"; then
+ enable_imap=no
+ fi
+ elif test "$enable_imap" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_imap=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_imap=no
+ fi
+ fi
+ if test "$enable_imap" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_imap$_apmod_extra_msg" >&5
+$as_echo "$enable_imap$_apmod_extra_msg" >&6; }
+ if test "$enable_imap" != "no"; then
+ case "$enable_imap" in
+ shared*)
+ enable_imap=`echo $ac_n $enable_imap$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES imap"
+ ;;
+ *)
+ MODLIST="$MODLIST imap"
+ if test "imap" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_imap.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_imap.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_IMAP_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_imap.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_IMAP_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_IMAP_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_actions" >&5
+$as_echo_n "checking whether to enable mod_actions... " >&6; }
+ # Check whether --enable-actions was given.
+if test "${enable_actions+set}" = set; then
+ enableval=$enable_actions;
+else
+ enable_actions=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_actions" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_actions" = "static"; then
+ enable_actions=yes
+ elif test "$enable_actions" = "yes"; then
+ enable_actions=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_actions" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_actions=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_actions" != "yes"; then
+ enable_actions=no
+ fi
+ elif test "$enable_actions" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_actions=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_actions=no
+ fi
+ fi
+ if test "$enable_actions" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_actions$_apmod_extra_msg" >&5
+$as_echo "$enable_actions$_apmod_extra_msg" >&6; }
+ if test "$enable_actions" != "no"; then
+ case "$enable_actions" in
+ shared*)
+ enable_actions=`echo $ac_n $enable_actions$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES actions"
+ ;;
+ *)
+ MODLIST="$MODLIST actions"
+ if test "actions" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_actions.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_actions.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_ACTIONS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_actions.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ACTIONS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ACTIONS_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_speling" >&5
+$as_echo_n "checking whether to enable mod_speling... " >&6; }
+ # Check whether --enable-speling was given.
+if test "${enable_speling+set}" = set; then
+ enableval=$enable_speling;
+else
+ enable_speling=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_speling" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_speling" = "static"; then
+ enable_speling=yes
+ elif test "$enable_speling" = "yes"; then
+ enable_speling=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_speling" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_speling=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_speling" != "yes"; then
+ enable_speling=no
+ fi
+ elif test "$enable_speling" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_speling=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_speling=no
+ fi
+ fi
+ if test "$enable_speling" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_speling$_apmod_extra_msg" >&5
+$as_echo "$enable_speling$_apmod_extra_msg" >&6; }
+ if test "$enable_speling" != "no"; then
+ case "$enable_speling" in
+ shared*)
+ enable_speling=`echo $ac_n $enable_speling$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES speling"
+ ;;
+ *)
+ MODLIST="$MODLIST speling"
+ if test "speling" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_speling.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_speling.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_SPELING_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_speling.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SPELING_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SPELING_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_userdir" >&5
+$as_echo_n "checking whether to enable mod_userdir... " >&6; }
+ # Check whether --enable-userdir was given.
+if test "${enable_userdir+set}" = set; then
+ enableval=$enable_userdir;
+else
+ enable_userdir=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_userdir" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_userdir" = "static"; then
+ enable_userdir=yes
+ elif test "$enable_userdir" = "yes"; then
+ enable_userdir=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_userdir" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_userdir=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_userdir" != "yes"; then
+ enable_userdir=no
+ fi
+ elif test "$enable_userdir" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_userdir=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_userdir=no
+ fi
+ fi
+ if test "$enable_userdir" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_userdir$_apmod_extra_msg" >&5
+$as_echo "$enable_userdir$_apmod_extra_msg" >&6; }
+ if test "$enable_userdir" != "no"; then
+ case "$enable_userdir" in
+ shared*)
+ enable_userdir=`echo $ac_n $enable_userdir$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES userdir"
+ ;;
+ *)
+ MODLIST="$MODLIST userdir"
+ if test "userdir" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_userdir.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_userdir.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_USERDIR_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_userdir.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_USERDIR_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_USERDIR_LDADD"
+
+
+
+ fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_alias" >&5
+$as_echo_n "checking whether to enable mod_alias... " >&6; }
+ # Check whether --enable-alias was given.
+if test "${enable_alias+set}" = set; then
+ enableval=$enable_alias;
+else
+ enable_alias=yes
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_alias" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_alias" = "static"; then
+ enable_alias=yes
+ elif test "$enable_alias" = "yes"; then
+ enable_alias=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_alias" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_alias=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_alias" != "yes"; then
+ enable_alias=no
+ fi
+ elif test "$enable_alias" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_alias=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_alias=no
+ fi
+ fi
+ if test "$enable_alias" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_alias$_apmod_extra_msg" >&5
+$as_echo "$enable_alias$_apmod_extra_msg" >&6; }
+ if test "$enable_alias" != "no"; then
+ case "$enable_alias" in
+ shared*)
+ enable_alias=`echo $ac_n $enable_alias$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES alias"
+ ;;
+ *)
+ MODLIST="$MODLIST alias"
+ if test "alias" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_alias.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_alias.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_ALIAS_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_alias.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ALIAS_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ALIAS_LDADD"
+
+
+
+ fi
+
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_rewrite" >&5
+$as_echo_n "checking whether to enable mod_rewrite... " >&6; }
+ # Check whether --enable-rewrite was given.
+if test "${enable_rewrite+set}" = set; then
+ enableval=$enable_rewrite;
+else
+ enable_rewrite=most
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_rewrite" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_rewrite" = "static"; then
+ enable_rewrite=yes
+ elif test "$enable_rewrite" = "yes"; then
+ enable_rewrite=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_rewrite" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_rewrite=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_rewrite" != "yes"; then
+ enable_rewrite=no
+ fi
+ elif test "$enable_rewrite" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_rewrite=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_rewrite=no
+ fi
+ fi
+ if test "$enable_rewrite" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_rewrite$_apmod_extra_msg" >&5
+$as_echo "$enable_rewrite$_apmod_extra_msg" >&6; }
+ if test "$enable_rewrite" != "no"; then
+ case "$enable_rewrite" in
+ shared*)
+ enable_rewrite=`echo $ac_n $enable_rewrite$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES rewrite"
+ ;;
+ *)
+ MODLIST="$MODLIST rewrite"
+ if test "rewrite" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_rewrite.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_rewrite.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_REWRITE_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_rewrite.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_REWRITE_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_REWRITE_LDADD"
+
+
+
+ fi
+
+
+
+
+apr_old_cppflags=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <apr.h>
+#if APR_HAS_DSO
+YES_IS_DEFINED
+#endif
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
+ ac_cv_define_APR_HAS_DSO=yes
+else
+ ac_cv_define_APR_HAS_DSO=no
+fi
+rm -f conftest*
+
+CPPFLAGS=$apr_old_cppflags
+
+
+case "x$enable_so" in
+ "xyes")
+ if test $ac_cv_define_APR_HAS_DSO = "no"; then
+ { { $as_echo "$as_me:$LINENO: error: mod_so has been requested but cannot be built on your system" >&5
+$as_echo "$as_me: error: mod_so has been requested but cannot be built on your system" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ ;;
+ "xshared")
+ { { $as_echo "$as_me:$LINENO: error: mod_so can not be built as a shared DSO" >&5
+$as_echo "$as_me: error: mod_so can not be built as a shared DSO" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;
+ "xno")
+ ;;
+ "x")
+ enable_so=$ac_cv_define_APR_HAS_DSO
+ ;;
+esac
+
+if test "x$enable_so" = "xyes"; then
+ enable_so="static"
+fi
+
+if test "$sharedobjs" = "yes"; then
+ if test $ac_cv_define_APR_HAS_DSO = "no"; then
+ { { $as_echo "$as_me:$LINENO: error: shared objects have been requested but cannot be built since mod_so cannot be built" >&5
+$as_echo "$as_me: error: shared objects have been requested but cannot be built since mod_so cannot be built" >&2;}
+ { (exit 1); exit 1; }; }
+ elif test $enable_so = "no"; then
+ { { $as_echo "$as_me:$LINENO: error: shared objects have been requested but cannot be built since mod_so was disabled" >&5
+$as_echo "$as_me: error: shared objects have been requested but cannot be built since mod_so was disabled" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether to enable mod_so" >&5
+$as_echo_n "checking whether to enable mod_so... " >&6; }
+ # Check whether --enable-so was given.
+if test "${enable_so+set}" = set; then
+ enableval=$enable_so;
+else
+ enable_so=$enable_so
+fi
+
+ _apmod_extra_msg=""
+ if test "$module_selection" = "most" -a "$enable_so" = "most"; then
+ _apmod_error_fatal="no"
+ else
+ _apmod_error_fatal="yes"
+ fi
+ if test "$enable_so" = "static"; then
+ enable_so=yes
+ elif test "$enable_so" = "yes"; then
+ enable_so=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_so" = "most"; then
+ if test "$module_selection" = "most" -o "$module_selection" = "all"; then
+ enable_so=$module_default
+ _apmod_extra_msg=" ($module_selection)"
+ elif test "$enable_so" != "yes"; then
+ enable_so=no
+ fi
+ elif test "$enable_so" = "maybe-all"; then
+ if test "$module_selection" = "all"; then
+ enable_so=$module_default
+ _apmod_extra_msg=" (all)"
+ else
+ enable_so=no
+ fi
+ fi
+ if test "$enable_so" != "no"; then
+ :
+ fi
+ { $as_echo "$as_me:$LINENO: result: $enable_so$_apmod_extra_msg" >&5
+$as_echo "$enable_so$_apmod_extra_msg" >&6; }
+ if test "$enable_so" != "no"; then
+ case "$enable_so" in
+ shared*)
+ enable_so=`echo $ac_n $enable_so$ac_c|sed 's/shared,*//'`
+ sharedobjs=yes
+ shared=yes
+ DSO_MODULES="$DSO_MODULES so"
+ ;;
+ *)
+ MODLIST="$MODLIST so"
+ if test "so" = "so"; then
+ sharedobjs=yes
+ fi
+ shared="";;
+ esac
+
+
+ if test -z ""; then
+ objects="mod_so.lo"
+ else
+ objects=""
+ fi
+
+ if test -z "$module_standalone"; then
+ if test -z "$shared"; then
+ libname="mod_so.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ modpath_static="$modpath_static $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $objects
+ \$(MOD_LINK) $objects \$(MOD_SO_LDADD)
+EOF
+ else
+ apache_need_shared=yes
+ libname="mod_so.la"
+ shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
+ modpath_shared="$modpath_shared $libname"
+ cat >>$modpath_current/modules.mk<<EOF
+$libname: $shobjects
+ \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SO_LDADD)
+EOF
+ fi
+ fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SO_LDADD"
+
+
+
+ fi
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
+ echo "static = $modpath_static" >> $modpath_current/modules.mk
+ echo "shared = $modpath_shared" >> $modpath_current/modules.mk
+ if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
+ MODULE_DIRS="$MODULE_DIRS $current_dir"
+ else
+ MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
+ fi
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
+
+
+
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST progname"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MPM_LIB"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST OS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST OS_DIR"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST BUILTIN_LIBS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST SHLIBPATH_VAR"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST OS_SPECIFIC_VARS"
+
+
+
+PRE_SHARED_CMDS='echo ""'
+POST_SHARED_CMDS='echo ""'
+
+
+if test "$apache_need_shared" = "yes"; then
+ if test -f $ac_aux_dir/ltconfig; then
+ $SHELL $ac_aux_dir/ltconfig --output=shlibtool --disable-static --srcdir=$ac_aux_dir --cache-file=./config.cache $ac_aux_dir/ltmain.sh
+ fi
+ shared_build="shared-build"
+fi
+
+
+if test "$enable_so" = "yes"; then
+ case $host in
+ *-ibm-aix*)
+ HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp"
+ SH_LDFLAGS="$SH_LDFLAGS \$(EXTRA_LDFLAGS) \$(EXTRA_LIBS)"
+ UTIL_LDFLAGS="$UTIL_LDFLAGS -Wl,-uXML_Parse"
+ ;;
+ *beos)
+ SH_LDFLAGS='$(top_builddir)/_APP_'
+ PRE_SHARED_CMDS='ln -s $(top_builddir)/httpd $(top_builddir)/_APP_'
+ POST_SHARED_CMDS='rm $(top_builddir)/_APP_'
+ ;;
+ *os390)
+ HTTPD_LDFLAGS="$HTTPD_LDFLAGS --main=$abs_srcdir/server/main.o --core-dll=$abs_srcdir/apachecore.dll"
+ SH_LDFLAGS="$SH_LDFLAGS --core-dll=$abs_srcdir/apachecore.dll"
+ esac
+fi
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST PRE_SHARED_CMDS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST POST_SHARED_CMDS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST shared_build"
+
+
+
+
+# Check whether --with-program-name was given.
+if test "${with_program_name+set}" = set; then
+ withval=$with_program_name;
+ progname="$withval"
+else
+
+ progname="httpd"
+fi
+
+
+# SuExec parameters
+
+# Check whether --with-suexec-bin was given.
+if test "${with_suexec_bin+set}" = set; then
+ withval=$with_suexec_bin;
+
+cat >>confdefs.h <<_ACEOF
+#define SUEXEC_BIN "$withval"
+_ACEOF
+
+
+fi
+
+
+
+# Check whether --with-suexec-caller was given.
+if test "${with_suexec_caller+set}" = set; then
+ withval=$with_suexec_caller;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_HTTPD_USER "$withval"
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-suexec-userdir was given.
+if test "${with_suexec_userdir+set}" = set; then
+ withval=$with_suexec_userdir;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_USERDIR_SUFFIX "$withval"
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-suexec-docroot was given.
+if test "${with_suexec_docroot+set}" = set; then
+ withval=$with_suexec_docroot;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_DOC_ROOT "$withval"
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-suexec-uidmin was given.
+if test "${with_suexec_uidmin+set}" = set; then
+ withval=$with_suexec_uidmin;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_UID_MIN $withval
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-suexec-gidmin was given.
+if test "${with_suexec_gidmin+set}" = set; then
+ withval=$with_suexec_gidmin;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_GID_MIN $withval
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-suexec-logfile was given.
+if test "${with_suexec_logfile+set}" = set; then
+ withval=$with_suexec_logfile;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_LOG_EXEC "$withval"
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-suexec-safepath was given.
+if test "${with_suexec_safepath+set}" = set; then
+ withval=$with_suexec_safepath;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_SAFE_PATH "$withval"
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-suexec-umask was given.
+if test "${with_suexec_umask+set}" = set; then
+ withval=$with_suexec_umask;
+
+cat >>confdefs.h <<_ACEOF
+#define AP_SUEXEC_UMASK 0$withval
+_ACEOF
+
+fi
+
+
+AP_LIBS="$abs_builddir/srclib/pcre/libpcre.la $AP_LIBS"
+
+AP_LIBS="$AP_LIBS `$apu_config --link-libtool --libs` `$apr_config --link-libtool --libs`"
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST AP_LIBS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST AP_BUILD_SRCLIB_DIRS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST AP_CLEAN_SRCLIB_DIRS"
+
+
+
+
+cat >>confdefs.h <<\_ACEOF
+#define AP_USING_AUTOCONF 1
+_ACEOF
+
+
+if test "$SINGLE_LISTEN_UNSERIALIZED_ACCEPT" = "1"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define SINGLE_LISTEN_UNSERIALIZED_ACCEPT 1
+_ACEOF
+
+fi
+
+if test "$AP_NONBLOCK_WHEN_MULTI_LISTEN" = "1"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define AP_NONBLOCK_WHEN_MULTI_LISTEN 1
+_ACEOF
+
+fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define AP_SIG_GRACEFUL SIG$AP_SIG_GRACEFUL
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define AP_SIG_GRACEFUL_STRING "SIG$AP_SIG_GRACEFUL"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define AP_SIG_GRACEFUL_SHORT $AP_SIG_GRACEFUL
+_ACEOF
+
+AP_SIG_GRACEFUL_SHORT=$AP_SIG_GRACEFUL
+AP_SIG_GRACEFUL=SIG$AP_SIG_GRACEFUL_SHORT
+
+
+
+
+if test "$cross_compiling" = "no"; then
+
+ { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
+if test "${ac_cv_c_bigendian+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_c_bigendian=unknown
+ # See if we're dealing with a universal compiler.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifndef __APPLE_CC__
+ not a universal capable compiler
+ #endif
+ typedef int dummy;
+
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ # Check for potential -arch flags. It is not universal unless
+ # there are some -arch flags. Note that *ppc* also matches
+ # ppc64. This check is also rather less than ideal.
+ case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
+ *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
+ esac
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test $ac_cv_c_bigendian = unknown; then
+ # See if sys/param.h defines the BYTE_ORDER macro.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <sys/types.h>
+ #include <sys/param.h>
+
+int
+main ()
+{
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
+ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
+ && LITTLE_ENDIAN)
+ bogus endian macros
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ # It does; now see whether it defined to BIG_ENDIAN or not.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <sys/types.h>
+ #include <sys/param.h>
+
+int
+main ()
+{
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_bigendian=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_bigendian=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ if test $ac_cv_c_bigendian = unknown; then
+ # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <limits.h>
+
+int
+main ()
+{
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
+ bogus endian macros
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ # It does; now see whether it defined to _BIG_ENDIAN or not.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <limits.h>
+
+int
+main ()
+{
+#ifndef _BIG_ENDIAN
+ not big endian
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_bigendian=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_bigendian=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ if test $ac_cv_c_bigendian = unknown; then
+ # Compile a test program.
+ if test "$cross_compiling" = yes; then
+ # Try to guess by grepping values from an object file.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+short int ascii_mm[] =
+ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+ short int ascii_ii[] =
+ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
+ int use_ascii (int i) {
+ return ascii_mm[i] + ascii_ii[i];
+ }
+ short int ebcdic_ii[] =
+ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+ short int ebcdic_mm[] =
+ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+ int use_ebcdic (int i) {
+ return ebcdic_mm[i] + ebcdic_ii[i];
+ }
+ extern int foo;
+
+int
+main ()
+{
+return use_ascii (foo) == use_ebcdic (foo);
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
+ ac_cv_c_bigendian=yes
+ fi
+ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+ if test "$ac_cv_c_bigendian" = unknown; then
+ ac_cv_c_bigendian=no
+ else
+ # finding both strings is unlikely to happen, but who knows?
+ ac_cv_c_bigendian=unknown
+ fi
+ fi
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+
+ /* Are we little or big endian? From Harbison&Steele. */
+ union
+ {
+ long int l;
+ char c[sizeof (long int)];
+ } u;
+ u.l = 1;
+ return u.c[sizeof (long int) - 1] == 1;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_c_bigendian=no
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_c_bigendian=yes
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+ fi
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
+$as_echo "$ac_cv_c_bigendian" >&6; }
+ case $ac_cv_c_bigendian in #(
+ yes)
+ cat >>confdefs.h <<\_ACEOF
+#define WORDS_BIGENDIAN 1
+_ACEOF
+;; #(
+ no)
+ ;; #(
+ universal)
+
+cat >>confdefs.h <<\_ACEOF
+#define AC_APPLE_UNIVERSAL_BUILD 1
+_ACEOF
+
+ ;; #(
+ *)
+ { { $as_echo "$as_me:$LINENO: error: unknown endianness
+ presetting ac_cv_c_bigendian=no (or yes) will help" >&5
+$as_echo "$as_me: error: unknown endianness
+ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
+ { (exit 1); exit 1; }; } ;;
+ esac
+
+else
+
+cat >>confdefs.h <<\_ACEOF
+#define AP_UNKNOWN_BYTE_ORDER 1
+_ACEOF
+
+fi
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES Makefile modules/Makefile srclib/Makefile"
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES os/beos/Makefile os/os2/Makefile os/Makefile"
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES os/unix/Makefile server/Makefile"
+
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES support/Makefile srclib/pcre/Makefile"
+
+
+if test -d ./test; then
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES test/Makefile"
+
+fi
+
+echo $ac_n "${nl}Restore user-defined environment settings...${nl}"
+
+
+if test "x$apr_ste_save_CPPFLAGS" = "x"; then
+ EXTRA_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS=
+else
+ if test "x$apr_ste_save_CPPFLAGS" = "x$CPPFLAGS"; then
+ EXTRA_CPPFLAGS=
+ else
+ EXTRA_CPPFLAGS=`echo $CPPFLAGS | sed -e "s%${apr_ste_save_CPPFLAGS}%%"`
+ CPPFLAGS="$apr_ste_save_CPPFLAGS"
+ fi
+fi
+echo " restoring CPPFLAGS to \"$CPPFLAGS\""
+echo " setting EXTRA_CPPFLAGS to \"$EXTRA_CPPFLAGS\""
+
+
+
+if test "x$apr_ste_save_CFLAGS" = "x"; then
+ EXTRA_CFLAGS="$CFLAGS"
+ CFLAGS=
+else
+ if test "x$apr_ste_save_CFLAGS" = "x$CFLAGS"; then
+ EXTRA_CFLAGS=
+ else
+ EXTRA_CFLAGS=`echo $CFLAGS | sed -e "s%${apr_ste_save_CFLAGS}%%"`
+ CFLAGS="$apr_ste_save_CFLAGS"
+ fi
+fi
+echo " restoring CFLAGS to \"$CFLAGS\""
+echo " setting EXTRA_CFLAGS to \"$EXTRA_CFLAGS\""
+
+
+
+if test "x$apr_ste_save_CXXFLAGS" = "x"; then
+ EXTRA_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS=
+else
+ if test "x$apr_ste_save_CXXFLAGS" = "x$CXXFLAGS"; then
+ EXTRA_CXXFLAGS=
+ else
+ EXTRA_CXXFLAGS=`echo $CXXFLAGS | sed -e "s%${apr_ste_save_CXXFLAGS}%%"`
+ CXXFLAGS="$apr_ste_save_CXXFLAGS"
+ fi
+fi
+echo " restoring CXXFLAGS to \"$CXXFLAGS\""
+echo " setting EXTRA_CXXFLAGS to \"$EXTRA_CXXFLAGS\""
+
+
+
+if test "x$apr_ste_save_LDFLAGS" = "x"; then
+ EXTRA_LDFLAGS="$LDFLAGS"
+ LDFLAGS=
+else
+ if test "x$apr_ste_save_LDFLAGS" = "x$LDFLAGS"; then
+ EXTRA_LDFLAGS=
+ else
+ EXTRA_LDFLAGS=`echo $LDFLAGS | sed -e "s%${apr_ste_save_LDFLAGS}%%"`
+ LDFLAGS="$apr_ste_save_LDFLAGS"
+ fi
+fi
+echo " restoring LDFLAGS to \"$LDFLAGS\""
+echo " setting EXTRA_LDFLAGS to \"$EXTRA_LDFLAGS\""
+
+
+
+if test "x$apr_ste_save_LIBS" = "x"; then
+ EXTRA_LIBS="$LIBS"
+ LIBS=
+else
+ if test "x$apr_ste_save_LIBS" = "x$LIBS"; then
+ EXTRA_LIBS=
+ else
+ EXTRA_LIBS=`echo $LIBS | sed -e "s%${apr_ste_save_LIBS}%%"`
+ LIBS="$apr_ste_save_LIBS"
+ fi
+fi
+echo " restoring LIBS to \"$LIBS\""
+echo " setting EXTRA_LIBS to \"$EXTRA_LIBS\""
+
+
+
+if test "x$apr_ste_save_INCLUDES" = "x"; then
+ EXTRA_INCLUDES="$INCLUDES"
+ INCLUDES=
+else
+ if test "x$apr_ste_save_INCLUDES" = "x$INCLUDES"; then
+ EXTRA_INCLUDES=
+ else
+ EXTRA_INCLUDES=`echo $INCLUDES | sed -e "s%${apr_ste_save_INCLUDES}%%"`
+ INCLUDES="$apr_ste_save_INCLUDES"
+ fi
+fi
+echo " restoring INCLUDES to \"$INCLUDES\""
+echo " setting EXTRA_INCLUDES to \"$EXTRA_INCLUDES\""
+
+
+
+echo $ac_n "${nl}Construct makefiles and header files...${nl}"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST abs_srcdir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST bindir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST sbindir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST cgidir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST logfiledir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST exec_prefix"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST datadir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST localstatedir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST mandir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST libdir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST libexecdir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST htdocsdir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST manualdir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST includedir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST errordir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST iconsdir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST sysconfdir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST installbuilddir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST runtimedir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST proxycachedir"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST other_targets"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST progname"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST prefix"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST AWK"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CC"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CPP"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CXX"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CPPFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CXXFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST LTFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST LDFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST LT_LDFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST SH_LDFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST HTTPD_LDFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST UTIL_LDFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST LIBS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST DEFS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST INCLUDES"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_CPPFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_CFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_CXXFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_LDFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_LIBS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_CPPFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_CFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_CXXFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_LDFLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_LIBS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_INCLUDES"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST LIBTOOL"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST SHELL"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MODULE_DIRS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MODULE_CLEANDIRS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST PORT"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST nonssl_listen_stmt_1"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST nonssl_listen_stmt_2"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CORE_IMPLIB_FILE"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST CORE_IMPLIB"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST SH_LIBS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST SH_LIBTOOL"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST MK_IMPLIB"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST INSTALL_PROG_FLAGS"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST DSO_MODULES"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST APR_BINDIR"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST APR_INCLUDEDIR"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST APU_BINDIR"
+
+
+
+ APACHE_VAR_SUBST="$APACHE_VAR_SUBST APU_INCLUDEDIR"
+
+
+
+ abs_srcdir="`(cd $srcdir && pwd)`"
+
+ echo creating config_vars.mk
+ test -d build || $mkdir_p build
+ > build/config_vars.mk
+ for i in $APACHE_VAR_SUBST; do
+ eval echo "$i = \$$i" >> build/config_vars.mk
+ done
+
+
+rm -f modules.c
+echo $MODLIST | $AWK -f $srcdir/build/build-modules-c.awk > modules.c
+
+
+ap_last=
+ap_cur="$prefix"
+while test "x${ap_cur}" != "x${ap_last}";
+do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+done
+ap_prefix="${ap_cur}"
+
+
+cat >>confdefs.h <<_ACEOF
+#define HTTPD_ROOT "${ap_prefix}"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define SERVER_CONFIG_FILE "${rel_sysconfdir}/${progname}.conf"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define AP_TYPES_CONFIG_FILE "${rel_sysconfdir}/mime.types"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define APACHE_MPM_DIR "$MPM_DIR"
+_ACEOF
+
+
+perlbin=`$ac_aux_dir/PrintPath perl`
+if test "x$perlbin" = "x"; then
+ perlbin="/replace/with/path/to/perl/interpreter"
+fi
+
+
+
+BSD_MAKEFILE=no
+ap_make_include=include
+ap_make_delimiter=' '
+case $host in
+*bsdi*)
+ # Check whether they've installed GNU make
+ if make --version > /dev/null 2>&1; then
+ true
+ else
+ BSD_MAKEFILE=yes
+ ap_make_include=.include
+ ap_make_delimiter='"'
+ fi
+ ;;
+esac
+
+
+
+test -d docs/conf||$mkdir_p docs/conf
+
+HTTPD_VERSION=`$srcdir/build/get-version.sh all $srcdir/include/ap_release.h AP_SERVER`
+
+
+ac_config_files="$ac_config_files $APACHE_OUTPUT_FILES docs/conf/httpd-std.conf docs/conf/ssl-std.conf include/ap_config_layout.h support/apxs support/apachectl support/dbmmanage support/envvars-std support/log_server_status support/logresolve.pl support/phf_abuse_log.cgi support/split-logfile build/rules.mk build/pkg/pkginfo"
+
+ac_config_commands="$ac_config_commands default"
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+
+
+: ${CONFIG_STATUS=./config.status}
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+SHELL=\${CONFIG_SHELL-$SHELL}
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+
+
+# PATH needs CR
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+case $0 in
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ { (exit 1); exit 1; }
+fi
+
+# Work around bugs in pre-3.0 UWIN ksh.
+for as_var in ENV MAIL MAILPATH
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# CDPATH.
+$as_unset CDPATH
+
+
+
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line after each line using $LINENO; the second 'sed'
+ # does the real work. The second script uses 'N' to pair each
+ # line-number line with the line containing $LINENO, and appends
+ # trailing '-' during substitution so that $LINENO is not a special
+ # case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
+ # E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in
+-n*)
+ case `echo 'x\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ *) ECHO_C='\c';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -p'
+ fi
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+
+# Save the log message, to keep $[0] and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by $as_me, which was
+generated by GNU Autoconf 2.63. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files from templates according to the
+current configuration.
+
+Usage: $0 [OPTION]... [FILE]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <bug-autoconf@gnu.org>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_version="\\
+config.status
+configured by $0, generated by GNU Autoconf 2.63,
+ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+
+Copyright (C) 2008 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ { $as_echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) { $as_echo "$as_me: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; } ;;
+
+ *) ac_config_targets="$ac_config_targets $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+
+
+ $SHELL $srcdir/build/fastgen.sh $srcdir $ac_cv_mkdir_p $BSD_MAKEFILE $APACHE_FAST_OUTPUT_FILES
+
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "include/ap_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS include/ap_config_auto.h" ;;
+ "$APACHE_OUTPUT_FILES") CONFIG_FILES="$CONFIG_FILES $APACHE_OUTPUT_FILES" ;;
+ "docs/conf/httpd-std.conf") CONFIG_FILES="$CONFIG_FILES docs/conf/httpd-std.conf" ;;
+ "docs/conf/ssl-std.conf") CONFIG_FILES="$CONFIG_FILES docs/conf/ssl-std.conf" ;;
+ "include/ap_config_layout.h") CONFIG_FILES="$CONFIG_FILES include/ap_config_layout.h" ;;
+ "support/apxs") CONFIG_FILES="$CONFIG_FILES support/apxs" ;;
+ "support/apachectl") CONFIG_FILES="$CONFIG_FILES support/apachectl" ;;
+ "support/dbmmanage") CONFIG_FILES="$CONFIG_FILES support/dbmmanage" ;;
+ "support/envvars-std") CONFIG_FILES="$CONFIG_FILES support/envvars-std" ;;
+ "support/log_server_status") CONFIG_FILES="$CONFIG_FILES support/log_server_status" ;;
+ "support/logresolve.pl") CONFIG_FILES="$CONFIG_FILES support/logresolve.pl" ;;
+ "support/phf_abuse_log.cgi") CONFIG_FILES="$CONFIG_FILES support/phf_abuse_log.cgi" ;;
+ "support/split-logfile") CONFIG_FILES="$CONFIG_FILES support/split-logfile" ;;
+ "build/rules.mk") CONFIG_FILES="$CONFIG_FILES build/rules.mk" ;;
+ "build/pkg/pkginfo") CONFIG_FILES="$CONFIG_FILES build/pkg/pkginfo" ;;
+ "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
+
+ *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp=
+ trap 'exit_status=$?
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+' 0
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} ||
+{
+ $as_echo "$as_me: cannot create a temporary directory in ." >&2
+ { (exit 1); exit 1; }
+}
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=' '
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\).*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\).*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
+ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
+ { (exit 1); exit 1; }; }
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
+s/:*\$(srcdir):*/:/
+s/:*\${srcdir}:*/:/
+s/:*@srcdir@:*/:/
+s/^\([^=]*=[ ]*\):*/\1/
+s/:*$//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_t=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_t"; then
+ break
+ elif $ac_last_try; then
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
+$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
+ { (exit 1); exit 1; }; }
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
+$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
+ { (exit 1); exit 1; }; };;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ ac_file_inputs="$ac_file_inputs '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$tmp/stdin" \
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; } ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ { as_dir="$ac_dir"
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
+ { (exit 1); exit 1; }; }; }
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p
+'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined." >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined." >&2;}
+
+ rm -f "$tmp/stdin"
+ case $ac_file in
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
+ esac \
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
+ } >"$tmp/config.h" \
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$tmp/config.h" "$ac_file" \
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
+ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
+$as_echo "$as_me: error: could not create -" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ ;;
+
+ :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "default":C) true ;;
+
+ esac
+done # for ac_tag
+
+
+{ (exit 0); exit 0; }
+_ACEOF
+chmod +x $CONFIG_STATUS
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || { (exit 1); exit 1; }
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+