#! /bin/sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
BIN_SH=xpg4; export BIN_SH DUALCASE=1; export DUALCASE
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
if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh
echo "exit 0" >>conf$$.sh
chmod +x conf$$.sh
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
rm -f conf$$.sh
fi
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
as_unset=unset
else
as_unset=false
fi
as_nl='
'
IFS=" "" $as_nl"
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
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
{ (exit 1); exit 1; }
fi
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '
for as_var in \
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
LC_TELEPHONE LC_TIME
do
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
else
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
fi
done
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
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
$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 /usr/bin/posix$PATH_SEPARATOR/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
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=:
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
BIN_SH=xpg4; export BIN_SH DUALCASE=1; export DUALCASE
:
_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=:
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
BIN_SH=xpg4; export BIN_SH DUALCASE=1; export DUALCASE
:
(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 autoconf@gnu.org about your system,
echo including any error possibly output before this
echo message
}
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" || {
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" ||
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
{ (exit 1); exit 1; }; }
. "./$as_me.lineno"
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_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
fi
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
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
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
cat >conf$$.file <<_ASEOF
#! /bin/sh
exit 0
_ASEOF
chmod +x conf$$.file
if test -x conf$$.file >/dev/null 2>&1; then
as_executable_p="test -x"
else
as_executable_p=:
fi
rm -f conf$$.file
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
exec 7<&0 </dev/null 6>&1
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
ac_default_prefix=/usr/local
ac_clean_files=
ac_config_libobj_dir=.
LIBOBJS=
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
PACKAGE_NAME=
PACKAGE_TARNAME=
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=
ac_unique_file="ABOUT_APACHE"
ac_default_prefix=/usr/local/apache2
ac_includes_default="\
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#if HAVE_STDINT_H
# include <stdint.h>
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif"
ac_subst_vars='SHELL
PATH_SEPARATOR
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
exp_exec_prefix
rel_exec_prefix
exp_bindir
rel_bindir
exp_sbindir
rel_sbindir
exp_libdir
rel_libdir
exp_libexecdir
rel_libexecdir
exp_mandir
rel_mandir
exp_sysconfdir
rel_sysconfdir
exp_datadir
rel_datadir
exp_installbuilddir
rel_installbuilddir
exp_errordir
rel_errordir
exp_iconsdir
rel_iconsdir
exp_htdocsdir
rel_htdocsdir
exp_manualdir
rel_manualdir
exp_cgidir
rel_cgidir
exp_includedir
rel_includedir
exp_localstatedir
rel_localstatedir
exp_runtimedir
rel_runtimedir
exp_logfiledir
rel_logfiledir
exp_proxycachedir
rel_proxycachedir
build
build_cpu
build_vendor
build_os
host
host_cpu
host_vendor
host_os
target
target_cpu
target_vendor
target_os
CC
CFLAGS
LDFLAGS
CPPFLAGS
ac_ct_CC
EXEEXT
OBJEXT
CPP
PCRE_CONFIG
SHLTCFLAGS
LTCFLAGS
RM
PKGCONFIG
RSYNC
AWK
LN_S
RANLIB
LYNX_PATH
MKINSTALLDIRS
INSTALL
GREP
EGREP
MKDEP
PICFLAGS
PILDFLAGS
MOD_AUTHN_FILE_LDADD
MOD_AUTHN_DBM_LDADD
MOD_AUTHN_ANON_LDADD
MOD_AUTHN_DBD_LDADD
MOD_AUTHN_DEFAULT_LDADD
MOD_AUTHN_ALIAS_LDADD
MOD_AUTHZ_HOST_LDADD
MOD_AUTHZ_GROUPFILE_LDADD
MOD_AUTHZ_USER_LDADD
MOD_AUTHZ_DBM_LDADD
MOD_AUTHZ_OWNER_LDADD
MOD_AUTHNZ_LDAP_LDADD
MOD_AUTHZ_DEFAULT_LDADD
MOD_AUTH_BASIC_LDADD
MOD_AUTH_DIGEST_LDADD
MOD_ISAPI_LDADD
MOD_FILE_CACHE_LDADD
MOD_CACHE_LDADD
MOD_DISK_CACHE_LDADD
MOD_MEM_CACHE_LDADD
MOD_DBD_LDADD
MOD_BUCKETEER_LDADD
MOD_DUMPIO_LDADD
MOD_ECHO_LDADD
MOD_EXAMPLE_LDADD
MOD_CASE_FILTER_LDADD
MOD_CASE_FILTER_IN_LDADD
MOD_EXT_FILTER_LDADD
MOD_INCLUDE_LDADD
MOD_FILTER_LDADD
MOD_SUBSTITUTE_LDADD
MOD_CHARSET_LITE_LDADD
MOD_DEFLATE_LDADD
MOD_LDAP_LDADD
MOD_LOG_CONFIG_LDADD
MOD_LOG_FORENSIC_LDADD
MOD_LOGIO_LDADD
MOD_ENV_LDADD
MOD_MIME_MAGIC_LDADD
MOD_CERN_META_LDADD
MOD_EXPIRES_LDADD
MOD_HEADERS_LDADD
MOD_IDENT_LDADD
MOD_USERTRACK_LDADD
MOD_UNIQUE_ID_LDADD
MOD_SETENVIF_LDADD
MOD_VERSION_LDADD
MOD_PROXY_LDADD
MOD_PROXY_CONNECT_LDADD
MOD_PROXY_FTP_LDADD
MOD_PROXY_HTTP_LDADD
MOD_PROXY_AJP_LDADD
MOD_PROXY_BALANCER_LDADD
SSL_LIBS
MOD_SSL_LDADD
MOD_OPTIONAL_HOOK_EXPORT_LDADD
MOD_OPTIONAL_HOOK_IMPORT_LDADD
MOD_OPTIONAL_FN_IMPORT_LDADD
MOD_OPTIONAL_FN_EXPORT_LDADD
MPM_NAME
MPM_SUBDIR_NAME
htpasswd_LTFLAGS
htdigest_LTFLAGS
rotatelogs_LTFLAGS
logresolve_LTFLAGS
htdbm_LTFLAGS
ab_LTFLAGS
checkgid_LTFLAGS
htcacheclean_LTFLAGS
httxt2dbm_LTFLAGS
APACHECTL_ULIMIT
MOD_HTTP_LDADD
MOD_MIME_LDADD
MOD_DAV_LDADD
MOD_STATUS_LDADD
MOD_AUTOINDEX_LDADD
MOD_ASIS_LDADD
MOD_INFO_LDADD
MOD_SUEXEC_LDADD
MOD_CGID_LDADD
MOD_CGI_LDADD
MOD_DAV_FS_LDADD
MOD_DAV_LOCK_LDADD
MOD_VHOST_ALIAS_LDADD
MOD_NEGOTIATION_LDADD
MOD_DIR_LDADD
MOD_IMAGEMAP_LDADD
MOD_ACTIONS_LDADD
MOD_SPELING_LDADD
MOD_USERDIR_LDADD
MOD_ALIAS_LDADD
MOD_REWRITE_LDADD
INSTALL_DSO
MOD_SO_LDADD
progname
MPM_LIB
OS
OS_DIR
BUILTIN_LIBS
SHLIBPATH_VAR
OS_SPECIFIC_VARS
PRE_SHARED_CMDS
POST_SHARED_CMDS
shared_build
AP_LIBS
AP_BUILD_SRCLIB_DIRS
AP_CLEAN_SRCLIB_DIRS
EXTRA_CPPFLAGS
EXTRA_CFLAGS
EXTRA_CXXFLAGS
EXTRA_LDFLAGS
EXTRA_LIBS
EXTRA_INCLUDES
abs_srcdir
cgidir
logfiledir
htdocsdir
manualdir
errordir
iconsdir
installbuilddir
runtimedir
proxycachedir
other_targets
CXX
CXXFLAGS
LTFLAGS
LT_LDFLAGS
SH_LDFLAGS
HTTPD_LDFLAGS
UTIL_LDFLAGS
INCLUDES
NOTEST_CPPFLAGS
NOTEST_CFLAGS
NOTEST_CXXFLAGS
NOTEST_LDFLAGS
NOTEST_LIBS
LIBTOOL
MODULE_DIRS
MODULE_CLEANDIRS
PORT
nonssl_listen_stmt_1
nonssl_listen_stmt_2
CORE_IMPLIB_FILE
CORE_IMPLIB
SH_LIBS
SH_LIBTOOL
MK_IMPLIB
INSTALL_PROG_FLAGS
DSO_MODULES
APR_BINDIR
APR_INCLUDEDIR
APR_VERSION
APR_CONFIG
APU_BINDIR
APU_INCLUDEDIR
APU_VERSION
APU_CONFIG
perlbin
ap_make_include
ap_make_delimiter
HTTPD_VERSION
LIBOBJS
LTLIBOBJS'
ac_subst_files=''
ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
CPPFLAGS
CPP'
ac_init_help=
ac_init_version=false
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
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 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
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_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
{ (exit 1); exit 1; }; }
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
eval enable_$ac_feature=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_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
{ (exit 1); exit 1; }; }
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
eval enable_$ac_feature=\$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)
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)
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_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2
{ (exit 1); exit 1; }; }
ac_package=`echo $ac_package| sed 's/-/_/g'`
eval with_$ac_package=\$ac_optarg ;;
-without-* | --without-*)
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2
{ (exit 1); exit 1; }; }
ac_package=`echo $ac_package | sed 's/-/_/g'`
eval with_$ac_package=no ;;
--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 ;;
-*) { 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\([^=]*\)='`
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
{ (exit 1); exit 1; }; }
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
*)
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
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'`
{ echo "$as_me: error: missing argument to $ac_option" >&2
{ (exit 1); exit 1; }; }
fi
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
case $ac_val in
[\\/$]* | ?:[\\/]* ) continue;;
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
esac
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
{ (exit 1); exit 1; }; }
done
build=$build_alias
host=$host_alias
target=$target_alias
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
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 .` ||
{ echo "$as_me: error: Working directory cannot be determined" >&2
{ (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
{ echo "$as_me: error: pwd does not report name of working directory" >&2
{ (exit 1); exit 1; }; }
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
ac_confdir=`$as_dirname -- "$0" ||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$0" : 'X\(//\)[^/]' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$0" |
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 .."
{ 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" || { echo "$as_me: error: $ac_msg" >&2
{ (exit 1); exit 1; }; }
pwd)`
if test "$ac_abs_confdir" = "$ac_pwd"; then
srcdir=.
fi
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
if test "$ac_init_help" = "long"; then
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-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-pie Build httpd as a Position Independent Executable
--enable-modules=MODULE-LIST
Space-separated list of modules to enable | "all" |
"most"
--enable-mods-shared=MODULE-LIST
Space-separated list of shared modules to enable |
"all" | "most"
--disable-authn-file file-based authentication control
--enable-authn-dbm DBM-based authentication control
--enable-authn-anon anonymous user authentication control
--enable-authn-dbd SQL-based authentication control
--disable-authn-default authentication backstopper
--enable-authn-alias auth provider alias
--disable-authz-host host-based authorization control
--disable-authz-groupfile
'require group' authorization control
--disable-authz-user 'require user' authorization control
--enable-authz-dbm DBM-based authorization control
--enable-authz-owner 'require file-owner' authorization control
--enable-authnz-ldap LDAP based authentication
--disable-authz-default authorization control backstopper
--disable-auth-basic basic authentication
--enable-auth-digest RFC2617 Digest authentication
--enable-isapi isapi extension support
--enable-file-cache File cache
--enable-cache dynamic file caching
--enable-disk-cache disk caching module
--enable-mem-cache memory caching module
--enable-dbd Apache DBD Framework
--enable-bucketeer buckets manipulation filter
--enable-dumpio I/O dump filter
--enable-echo ECHO server
--enable-example example and demo module
--enable-case-filter example uppercase conversion filter
--enable-case-filter-in example uppercase conversion input filter
--enable-ext-filter external filter module
--disable-include Server Side Includes
--disable-filter Smart Filtering
--enable-substitute response content rewrite-like filtering
--disable-charset-lite character set translation
--enable-charset-lite character set translation
--enable-deflate Deflate transfer encoding support
--enable-ldap LDAP caching and connection pooling services
--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-ident RFC 1413 identity check
--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-proxy-ajp Apache proxy AJP module
--enable-proxy-balancer Apache proxy BALANCER module
--enable-ssl SSL/TLS support (mod_ssl)
--enable-distcache Select distcache support in 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-static-support Build a statically linked version of 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-static-htcacheclean
Build a statically linked version of htcacheclean
--enable-static-httxt2dbm
Build a statically linked version of httxt2dbm
--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-dav-lock DAV provider for generic locking
--enable-vhost-alias mass virtual hosting module
--disable-negotiation content negotiation
--disable-dir directory request handling
--enable-imagemap 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-included-apr Use bundled copies of APR/APR-Util
--with-apr=PATH prefix for installed APR, path to APR build tree,
or the full path to apr-config
--with-apr-util=PATH prefix for installed APU, path to APU build tree,
or the full path to apu-config
--with-pcre=PATH Use external PCRE library
--with-port=PORT Port on which to listen (default is 80)
--with-z=DIR use a specific zlib library
--with-sslc=DIR RSA SSL-C SSL/TLS toolkit
--with-ssl=DIR OpenSSL SSL/TLS toolkit
--with-mpm=MPM Choose the process model for Apache to use.
MPM={beos|event|worker|prefork|mpmt_os2}
--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>
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
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
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=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
ac_top_builddir_sub=`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
ac_top_builddir=$ac_top_build_prefix
case $srcdir in
.) ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) 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; }
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
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.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 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.60. Invocation command line was
$ $0 $@
_ACEOF
exec 5>>config.log
{
cat <<_ASUNAME
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=.
echo "PATH: $as_dir"
done
IFS=$as_save_IFS
} >&5
cat >&5 <<_ACEOF
_ACEOF
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=`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 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; }
trap 'exit_status=$?
{
echo
cat <<\_ASBOX
_ASBOX
echo
(
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_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
esac
case $ac_var in _ | IFS | as_nl) ;; *) $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
_ASBOX
echo
for ac_var in $ac_subst_vars
do
eval ac_val=\$$ac_var
case $ac_val in
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
echo "$ac_var='\''$ac_val'\''"
done | sort
echo
if test -n "$ac_subst_files"; then
cat <<\_ASBOX
_ASBOX
echo
for ac_var in $ac_subst_files
do
eval ac_val=\$$ac_var
case $ac_val in
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
echo "$ac_var='\''$ac_val'\''"
done | sort
echo
fi
if test -s confdefs.h; then
cat <<\_ASBOX
_ASBOX
echo
cat confdefs.h
echo
fi
test "$ac_signal" != 0 &&
echo "$as_me: caught signal $ac_signal"
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
rm -f -r conftest* confdefs.h
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
if test -n "$CONFIG_SITE"; then
set x "$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
set x "$prefix/share/config.site" "$prefix/etc/config.site"
else
set x "$ac_default_prefix/share/config.site" \
"$ac_default_prefix/etc/config.site"
fi
shift
for ac_site_file
do
if test -r "$ac_site_file"; then
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
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
if test -f "$cache_file"; then
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
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,)
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
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
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
echo "$as_me: former value: $ac_old_val" >&2;}
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
echo "$as_me: current value: $ac_new_val" >&2;}
ac_cache_corrupted=:
fi;;
esac
if test "$ac_new_set" = set; then
case $ac_new_val in
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
*) ac_arg=$ac_var=$ac_new_val ;;
esac
case " $ac_configure_args " in
*" '$ac_arg' "*) ;; *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
esac
fi
done
if $ac_cache_corrupted; then
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
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
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&5
echo "$as_me: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&2;}
{ (exit 1); exit 1; }; }
fi
ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure"
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
case $LAYOUT in
*/*)
echo "** Error: $LAYOUT is not a valid layout name"
exit 1 ;;
esac
pldconf=./config.pld
sed -e "1s/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*//;1t" \
-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
if test ! -s $pldconf; then
echo "** Error: unable to find layout $layout_name"
exit 1
fi
. $pldconf
rm $pldconf
for var in prefix exec_prefix bindir sbindir libexecdir mandir \
sysconfdir datadir includedir localstatedir runtimedir \
logfiledir libdir installbuilddir libsuffix errordir iconsdir htdocsdir cgidir; 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
{ echo "$as_me:$LINENO: checking for chosen layout" >&5
echo $ECHO_N "checking for chosen layout... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $layout_name" >&5
echo "${ECHO_T}$layout_name" >&6; }
ac_prev=
eval "set x $ac_configure_args"
shift
for ac_option
do
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
for ac_var in exec_prefix prefix
do
eval ac_val=$`echo $ac_var`
case $ac_val in
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
*) { { echo "$as_me:$LINENO: error: expected an absolute path for --$ac_var: $ac_val" >&5
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}##"`
if test "x$exp_exec_prefix" != "x${ap_stripped}"; then
rel_exec_prefix="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_bindir" != "x${ap_stripped}"; then
rel_bindir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_sbindir" != "x${ap_stripped}"; then
rel_sbindir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_libdir" != "x${ap_stripped}"; then
rel_libdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_libexecdir" != "x${ap_stripped}"; then
rel_libexecdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_mandir" != "x${ap_stripped}"; then
rel_mandir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_sysconfdir" != "x${ap_stripped}"; then
rel_sysconfdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_datadir" != "x${ap_stripped}"; then
rel_datadir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_installbuilddir" != "x${ap_stripped}"; then
rel_installbuilddir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_errordir" != "x${ap_stripped}"; then
rel_errordir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_iconsdir" != "x${ap_stripped}"; then
rel_iconsdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_htdocsdir" != "x${ap_stripped}"; then
rel_htdocsdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_manualdir" != "x${ap_stripped}"; then
rel_manualdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_cgidir" != "x${ap_stripped}"; then
rel_cgidir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_includedir" != "x${ap_stripped}"; then
rel_includedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_localstatedir" != "x${ap_stripped}"; then
rel_localstatedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_runtimedir" != "x${ap_stripped}"; then
rel_runtimedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_logfiledir" != "x${ap_stripped}"; then
rel_logfiledir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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}##"`
if test "x$exp_proxycachedir" != "x${ap_stripped}"; then
rel_proxycachedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
else
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
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 "$LTFLAGS"; then
echo "LTFLAGS=\"$LTFLAGS\"; export LTFLAGS" >> 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
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='
'
{ echo "$as_me:$LINENO: checking for working mkdir -p" >&5
echo $ECHO_N "checking for working mkdir -p... $ECHO_C" >&6; }
if test "${ac_cv_mkdir_p+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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
{ echo "$as_me:$LINENO: result: $ac_cv_mkdir_p" >&5
echo "${ECHO_T}$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
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
{ (exit 1); exit 1; }; }
{ echo "$as_me:$LINENO: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
if test "${ac_cv_build+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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 &&
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
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` ||
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6; }
case $ac_cv_build in
*-*-*) ;;
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
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
build_os=$*
IFS=$ac_save_IFS
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
{ echo "$as_me:$LINENO: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
if test "${ac_cv_host+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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` ||
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6; }
case $ac_cv_host in
*-*-*) ;;
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
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
host_os=$*
IFS=$ac_save_IFS
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
{ echo "$as_me:$LINENO: checking target system type" >&5
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
if test "${ac_cv_target+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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` ||
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
echo "${ECHO_T}$ac_cv_target" >&6; }
case $ac_cv_target in
*-*-*) ;;
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
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
target_os=$*
IFS=$ac_save_IFS
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
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}"
if test "${with_included_apr+set}" = set; then
withval=$with_included_apr;
fi
apr_version=1
if test "x$with_included_apr" = "xyes"; then
apr_found=reconfig
apr_config="$srcdir/srclib/apr/apr-${apr_version}-config"
else
apr_found="no"
if test "$target_os" = "os2-emx"; then
TEST_X="test -f"
else
TEST_X="test -x"
fi
acceptable_majors="${apr_version}"
apr_temp_acceptable_apr_config=""
for apr_temp_major in $acceptable_majors
do
case $apr_temp_major in
0)
apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
;;
*)
apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
;;
esac
done
{ echo "$as_me:$LINENO: checking for APR" >&5
echo $ECHO_N "checking for APR... $ECHO_C" >&6; }
if test "${with_apr+set}" = set; then
withval=$with_apr;
if test "$withval" = "no" || test "$withval" = "yes"; then
{ { echo "$as_me:$LINENO: error: --with-apr requires a directory or file to be provided" >&5
echo "$as_me: error: --with-apr requires a directory or file to be provided" >&2;}
{ (exit 1); exit 1; }; }
fi
for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
do
for lookdir in "$withval/bin" "$withval"
do
if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
apr_found="yes"
apr_config="$lookdir/$apr_temp_apr_config_file"
break 2
fi
done
done
if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
apr_found="yes"
apr_config="$withval"
fi
if test "$apr_found" != "yes"; then
{ { 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
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 -n "1" && test "1" = "1"; then
for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
do
if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
apr_found="yes"
apr_config="$apr_temp_apr_config_file"
break
else
for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
apr_found="yes"
apr_config="$lookdir/bin/$apr_temp_apr_config_file"
break 2
fi
done
fi
done
fi
if test "$apr_found" = "no" && test -d ""$srcdir/srclib/apr""; then
apr_temp_abs_srcdir="`cd "$srcdir/srclib/apr" && pwd`"
apr_found="reconfig"
apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \""$srcdir/srclib/apr"/include/apr_version.h\"`"
case $apr_bundled_major in
"")
{ { echo "$as_me:$LINENO: error: failed to find major version of bundled APR" >&5
echo "$as_me: error: failed to find major version of bundled APR" >&2;}
{ (exit 1); exit 1; }; }
;;
0)
apr_temp_apr_config_file="apr-config"
;;
*)
apr_temp_apr_config_file="apr-$apr_bundled_major-config"
;;
esac
if test -n ""./srclib/apr""; then
apr_config=""./srclib/apr"/$apr_temp_apr_config_file"
else
apr_config=""$srcdir/srclib/apr"/$apr_temp_apr_config_file"
fi
fi
fi
{ echo "$as_me:$LINENO: result: $apr_found" >&5
echo "${ECHO_T}$apr_found" >&6; }
fi
if test "$apr_found" = "no"; then
{ { echo "$as_me:$LINENO: error: APR not found. Please read the documentation." >&5
echo "$as_me: error: APR not found. Please read the documentation." >&2;}
{ (exit 1); exit 1; }; }
fi
if test "$apr_found" = "reconfig"; then
cat >confcache <<\_ACEOF
_ACEOF
(
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_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
esac
case $ac_var in _ | IFS | as_nl) ;; *) $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
) |
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" &&
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file
else
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
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
ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
case "$cache_file" in
/*) ac_sub_cache_file=$cache_file ;;
*) 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"
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
if test -r "$cache_file"; then
if test -f "$cache_file"; then
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
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
test "x$silent" != "xyes" && echo " setting CC to \"`$apr_config --cc`\""
CC="`$apr_config --cc`"
fi
if test -z "$CPP"; then
test "x$silent" != "xyes" && echo " setting CPP to \"`$apr_config --cpp`\""
CPP="`$apr_config --cpp`"
fi
if test "x$CFLAGS" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS"
CFLAGS="$CFLAGS $i"
fi
done
fi
if test "x$CPPFLAGS" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to CPPFLAGS"
CPPFLAGS="$CPPFLAGS $i"
fi
done
fi
if test "x$LDFLAGS" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
LDFLAGS="$LDFLAGS $i"
fi
done
fi
SHLIBPATH_VAR=`$apr_config --shlib-path-var`
APR_BINDIR=`$apr_config --bindir`
APR_INCLUDEDIR=`$apr_config --includedir`
APR_VERSION=`$apr_config --version`
APR_CONFIG="$APR_BINDIR/apr-`echo ${APR_VERSION} | sed 's,\..*,,'`-config"
echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}"
apu_version=1
if test "x$with_included_apr" = "xyes"; then
apu_found=reconfig
apu_config="${srcdir}/srclib/apr-util/apu-${apu_version}-config"
else
apu_found="no"
if test "$target_os" = "os2-emx"; then
TEST_X="test -f"
else
TEST_X="test -x"
fi
acceptable_majors="${apu_version}"
apu_temp_acceptable_apu_config=""
for apu_temp_major in $acceptable_majors
do
case $apu_temp_major in
0)
apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-config"
;;
*)
apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-$apu_temp_major-config"
;;
esac
done
{ echo "$as_me:$LINENO: checking for APR-util" >&5
echo $ECHO_N "checking for APR-util... $ECHO_C" >&6; }
if test "${with_apr_util+set}" = set; then
withval=$with_apr_util;
if test "$withval" = "no" || test "$withval" = "yes"; then
{ { echo "$as_me:$LINENO: error: --with-apr-util requires a directory or file to be provided" >&5
echo "$as_me: error: --with-apr-util requires a directory or file to be provided" >&2;}
{ (exit 1); exit 1; }; }
fi
for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
do
for lookdir in "$withval/bin" "$withval"
do
if $TEST_X "$lookdir/$apu_temp_apu_config_file"; then
apu_found="yes"
apu_config="$lookdir/$apu_temp_apu_config_file"
break 2
fi
done
done
if test "$apu_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
apu_found="yes"
apu_config="$withval"
fi
if test "$apu_found" != "yes"; then
{ { echo "$as_me:$LINENO: error: the --with-apr-util parameter is incorrect. It must specify an install prefix, a build directory, or an apu-config file." >&5
echo "$as_me: error: the --with-apr-util parameter is incorrect. It must specify an install prefix, a build directory, or an apu-config file." >&2;}
{ (exit 1); exit 1; }; }
fi
else
if test -n "1" && test "1" = "1"; then
for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
do
if $apu_temp_apu_config_file --help > /dev/null 2>&1 ; then
apu_found="yes"
apu_config="$apu_temp_apu_config_file"
break
else
for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
if $TEST_X "$lookdir/bin/$apu_temp_apu_config_file"; then
apu_found="yes"
apu_config="$lookdir/bin/$apu_temp_apu_config_file"
break 2
fi
done
fi
done
fi
if test "$apu_found" = "no" && test -d ""$srcdir/srclib/apr-util""; then
apu_temp_abs_srcdir="`cd "$srcdir/srclib/apr-util" && pwd`"
apu_found="reconfig"
apu_bundled_major="`sed -n '/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \""$srcdir/srclib/apr-util"/include/apu_version.h\"`"
case $apu_bundled_major in
"")
{ { echo "$as_me:$LINENO: error: failed to find major version of bundled APU" >&5
echo "$as_me: error: failed to find major version of bundled APU" >&2;}
{ (exit 1); exit 1; }; }
;;
0)
apu_temp_apu_config_file="apu-config"
;;
*)
apu_temp_apu_config_file="apu-$apu_bundled_major-config"
;;
esac
if test -n ""./srclib/apr-util""; then
apu_config=""./srclib/apr-util"/$apu_temp_apu_config_file"
else
apu_config=""$srcdir/srclib/apr-util"/$apu_temp_apu_config_file"
fi
fi
fi
{ echo "$as_me:$LINENO: result: $apu_found" >&5
echo "${ECHO_T}$apu_found" >&6; }
fi
if test "$apu_found" = "no"; then
{ { echo "$as_me:$LINENO: error: APR-util not found. Please read the documentation." >&5
echo "$as_me: error: APR-util not found. Please read the documentation." >&2;}
{ (exit 1); exit 1; }; }
fi
case ${apr_found}.${apu_found} in
reconfig.yes)
{ { echo "$as_me:$LINENO: error: Cannot use an external APR-util with the bundled APR" >&5
echo "$as_me: error: Cannot use an external APR-util with the bundled APR" >&2;}
{ (exit 1); exit 1; }; }
;;
yes.reconfig)
{ { echo "$as_me:$LINENO: error: Cannot use an external APR with the bundled APR-util" >&5
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
cat >confcache <<\_ACEOF
_ACEOF
(
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_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
esac
case $ac_var in _ | IFS | as_nl) ;; *) $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
) |
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" &&
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file
else
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
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
ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
case "$cache_file" in
/*) ac_sub_cache_file=$cache_file ;;
*) 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"
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
if test -r "$cache_file"; then
if test -f "$cache_file"; then
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
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
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
LDFLAGS="$LDFLAGS $i"
fi
done
fi
APU_BINDIR=`$apu_config --bindir`
APU_INCLUDEDIR=`$apu_config --includedir`
APU_VERSION=`$apu_config --version`
APU_CONFIG="$APU_BINDIR/apu-`echo ${APU_VERSION} | sed 's,\..*,,'`-config"
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
set dummy ${ac_tool_prefix}gcc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="${ac_tool_prefix}gcc"
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
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
set dummy gcc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CC="gcc"
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
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&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
set dummy ${ac_tool_prefix}cc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="${ac_tool_prefix}cc"
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
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
fi
if test -z "$CC"; then
set dummy cc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" 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_executable_p "$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"
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
set dummy $ac_cv_prog_CC
shift
if test $ shift
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
for ac_prog in cl.exe
do
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
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
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}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
set dummy $ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CC="$ac_prog"
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
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}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:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
fi
fi
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&5
echo "$as_me: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
echo "$as_me:$LINENO: checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compiler --version >&5") 2>&5
ac_status=$?
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compiler -v >&5") 2>&5
ac_status=$?
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compiler -V >&5") 2>&5
ac_status=$?
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.exe b.out"
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
ac_rmfiles=
for ac_file in $ac_files
do
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link_default") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
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 | *.o | *.obj )
;;
[ab].out )
break;;
*.* )
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
then :; else
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fi
break;;
* )
break;;
esac
done
test "$ac_cv_exeext" = no && ac_cv_exeext=
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
See \`config.log' for more details." >&5
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
{ echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6; }
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
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
{ { 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
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
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
rm -f a.out a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6; }
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
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 | *.o | *.obj ) ;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
break;;
* ) break;;
esac
done
else
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&5
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
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>&5
ac_status=$?
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 ) ;;
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
break;;
esac
done
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&5
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
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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 ()
{
choke me
;
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$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
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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. */
/* 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. */
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_c89=$ac_arg
else
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
case "x$ac_cv_prog_cc_c89" in
x)
{ echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6; } ;;
xno)
{ echo "$as_me:$LINENO: result: unsupported" >&5
echo "${ECHO_T}unsupported" >&6; } ;;
*)
CC="$CC $ac_cv_prog_cc_c89"
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
echo "${ECHO_T}$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
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
if test "${ac_cv_prog_CPP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
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
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
continue
fi
rm -f conftest.err conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
continue
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext
done
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
{ echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6; }
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
continue
fi
rm -f conftest.err conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
continue
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext
done
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
:
else
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&5
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
if test "x${cache_file}" = "x/dev/null"; then
export CC; export CPP
fi
abs_srcdir=`(cd $srcdir && pwd)`
abs_builddir=`pwd`
if test "${with_pcre+set}" = set; then
withval=$with_pcre;
fi
case $with_pcre in
yes) set dummy pcre-config; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_path_PCRE_CONFIG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $PCRE_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PCRE_CONFIG="$PCRE_CONFIG" ;;
*)
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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PCRE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
test -z "$ac_cv_path_PCRE_CONFIG" && ac_cv_path_PCRE_CONFIG="false"
;;
esac
fi
PCRE_CONFIG=$ac_cv_path_PCRE_CONFIG
if test -n "$PCRE_CONFIG"; then
{ echo "$as_me:$LINENO: result: $PCRE_CONFIG" >&5
echo "${ECHO_T}$PCRE_CONFIG" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
;;
/*) if test -d "$with_pcre" && test -x "$with_pcre/bin/pcre-config"; then
PCRE_CONFIG=$with_pcre/bin/pcre-config
elif test -x "$with_pcre"; then
PCRE_CONFIG=$with_pcre
fi
if $PCRE_CONFIG --version >/dev/null 2>&1; then :; else
{ { echo "$as_me:$LINENO: error: Did not find pcre-config script at $PCRE_CONFIG" >&5
echo "$as_me: error: Did not find pcre-config script at $PCRE_CONFIG" >&2;}
{ (exit 1); exit 1; }; }
fi
;;
*) PCRE_CONFIG=false ;;
esac
if test "$PCRE_CONFIG" != "false"; then
{ echo "$as_me:$LINENO: Using external PCRE library from $PCRE_CONFIG" >&5
echo "$as_me: Using external PCRE library from $PCRE_CONFIG" >&6;}
if test "x$CFLAGS" = "x"; then
test "x$silent" != "xyes" && echo " setting CFLAGS to \"`$PCRE_CONFIG --cflags`\""
CFLAGS="`$PCRE_CONFIG --cflags`"
else
apr_addto_bugger="`$PCRE_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
test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS"
CFLAGS="$CFLAGS $i"
fi
done
fi
if test "x$LIBS" = "x"; then
test "x$silent" != "xyes" && echo " setting LIBS to \"`$PCRE_CONFIG --libs`\""
LIBS="`$PCRE_CONFIG --libs`"
else
apr_addto_bugger="`$PCRE_CONFIG --libs`"
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
test "x$silent" != "xyes" && echo " adding \"$i\" to LIBS"
LIBS="$LIBS $i"
fi
done
fi
else
{ echo "$as_me:$LINENO: Configuring PCRE regular expression library" >&5
echo "$as_me: Configuring PCRE regular expression library" >&6;}
cat >confcache <<\_ACEOF
_ACEOF
(
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_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
esac
case $ac_var in _ | IFS | as_nl) ;; *) $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
) |
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" &&
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file
else
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
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
ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
case "$cache_file" in
/*) ac_sub_cache_file=$cache_file ;;
*) 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"
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
if test -r "$cache_file"; then
if test -f "$cache_file"; then
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
if test "x$AP_LIBS" = "x"; then
test "x$silent" != "xyes" && echo " setting AP_LIBS to \"$abs_builddir/srclib/pcre/libpcre.la\""
AP_LIBS="$abs_builddir/srclib/pcre/libpcre.la"
else
apr_addto_bugger="$abs_builddir/srclib/pcre/libpcre.la"
for i in $apr_addto_bugger; do
apr_addto_duplicate="0"
for j in $AP_LIBS; do
if test "x$i" = "x$j"; then
apr_addto_duplicate="1"
break
fi
done
if test $apr_addto_duplicate = "0"; then
test "x$silent" != "xyes" && echo " adding \"$i\" to AP_LIBS"
AP_LIBS="$AP_LIBS $i"
fi
done
fi
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_builddir)/srclib/pcre\""
INCLUDES="-I\$(top_builddir)/srclib/pcre"
else
apr_addto_bugger="-I\$(top_builddir)/srclib/pcre"
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
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
INCLUDES="$INCLUDES $i"
fi
done
fi
AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS pcre"
AP_CLEAN_SRCLIB_DIRS="$AP_CLEAN_SRCLIB_DIRS pcre"
fi
echo $ac_n "${nl}Configuring Apache httpd ...${nl}"
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
INCLUDES="$INCLUDES $i"
fi
done
fi
if test "$abs_builddir" != "$abs_srcdir"; then
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_builddir)/include\""
INCLUDES="-I\$(top_builddir)/include"
else
apr_addto_bugger="-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
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
INCLUDES="$INCLUDES $i"
fi
done
fi
fi
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && 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 -I\$(top_srcdir)/modules/mappers -I\$(top_srcdir)/modules/database\""
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 -I\$(top_srcdir)/modules/mappers -I\$(top_srcdir)/modules/database"
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 -I\$(top_srcdir)/modules/mappers -I\$(top_srcdir)/modules/database"
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
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
INCLUDES="$INCLUDES $i"
fi
done
fi
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
INCLUDES="$INCLUDES $i"
fi
done
fi
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && 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*)
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=""
LTCFLAGS="-mdynamic-no-pic"
;;
*)
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"
case $host in
*-apple-aux3*)
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"prefork\""
APACHE_MPM="prefork"
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
;;
*-beos*)
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"beos\""
APACHE_MPM="beos"
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
;;
*os2-emx*)
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"mpmt_os2\""
APACHE_MPM="mpmt_os2"
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
;;
*-linux-*)
case `uname -r` in
2.[2-9]* )
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
;;
* )
;;
esac
;;
*486-*-bsdi* | *-netbsd* | *-freebsd* | *-apple-darwin* | *-dec-osf* | *-qnx)
test "x$silent" != "xyes" && 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*)
;;
* )
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
;;
esac
;;
*cygwin*)
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"prefork\""
APACHE_MPM="prefork"
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
fi
;;
*os390*)
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
;;
esac
test "x$silent" != "xyes" && echo " forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to \"1\""
AP_NONBLOCK_WHEN_MULTI_LISTEN="1"
set dummy rm; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_path_RM+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $RM in
[\\/]* | ?:[\\/]*)
ac_cv_path_RM="$RM" ;;
*)
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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
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
{ echo "$as_me:$LINENO: result: $RM" >&5
echo "${ECHO_T}$RM" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
set dummy pkg-config; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_path_PKGCONFIG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKGCONFIG="$PKGCONFIG" ;;
*)
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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKGCONFIG=$ac_cv_path_PKGCONFIG
if test -n "$PKGCONFIG"; then
{ echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
echo "${ECHO_T}$PKGCONFIG" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
set dummy rsync; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_path_RSYNC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $RSYNC in
[\\/]* | ?:[\\/]*)
ac_cv_path_RSYNC="$RSYNC" ;;
*)
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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
RSYNC=$ac_cv_path_RSYNC
if test -n "$RSYNC"; then
{ echo "$as_me:$LINENO: result: $RSYNC" >&5
echo "${ECHO_T}$RSYNC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
for ac_prog in gawk mawk nawk awk
do
set dummy $ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_AWK+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_AWK="$ac_prog"
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
{ echo "$as_me:$LINENO: result: $AWK" >&5
echo "${ECHO_T}$AWK" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
test -n "$AWK" && break
done
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
else
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6; }
fi
if test -n "$ac_tool_prefix"; then
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
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
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB
set dummy ranlib; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_RANLIB="ranlib"
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
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
if test "x$ac_ct_RANLIB" = x; then
RANLIB="true"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
RANLIB=$ac_ct_RANLIB
fi
else
RANLIB="$ac_cv_prog_RANLIB"
fi
for ac_prog in lynx links elinks
do
set dummy $ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_LYNX_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$LYNX_PATH"; then
ac_cv_prog_LYNX_PATH="$LYNX_PATH" 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_LYNX_PATH="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
LYNX_PATH=$ac_cv_prog_LYNX_PATH
if test -n "$LYNX_PATH"; then
{ echo "$as_me:$LINENO: result: $LYNX_PATH" >&5
echo "${ECHO_T}$LYNX_PATH" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
test -n "$LYNX_PATH" && break
done
test -n "$LYNX_PATH" || LYNX_PATH="lynx"
MKINSTALLDIRS="\$(abs_srcdir)/build/mkdir.sh"
INSTALL="\$(LIBTOOL) --mode=install \$(abs_srcdir)/build/install.sh -c"
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MKINSTALLDIRS"
APACHE_VAR_SUBST="$APACHE_VAR_SUBST INSTALL"
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
if test "${ac_cv_path_GREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -z "$GREP"; then
set dummy grep ggrep; ac_prog_name=$2
if test "${ac_cv_path_GREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_path_GREP_found=false
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_executable_p "$ac_path_GREP"; } || continue
case `"$ac_path_GREP" --version 2>&1` in
*GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
ac_count=0
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
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
ac_cv_path_GREP="$ac_path_GREP"
ac_path_GREP_max=$ac_count
fi
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
fi
GREP="$ac_cv_path_GREP"
if test -z "$GREP"; then
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
{ (exit 1); exit 1; }; }
fi
else
ac_cv_path_GREP=$GREP
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
{ echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_path_EGREP_found=false
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_executable_p "$ac_path_EGREP"; } || continue
case `"$ac_path_EGREP" --version 2>&1` in
*GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
ac_count=0
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
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
ac_cv_path_EGREP="$ac_path_EGREP"
ac_path_EGREP_max=$ac_count
fi
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
fi
EGREP="$ac_cv_path_EGREP"
if test -z "$EGREP"; then
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name 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
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
{ echo "$as_me:$LINENO: checking for AIX" >&5
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
yes
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "yes" >/dev/null 2>&1; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
cat >>confdefs.h <<\_ACEOF
_ACEOF
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
rm -f conftest*
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
if test "${ac_cv_search_strerror+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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. */
extern "C"
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_search_strerror=$ac_res
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext \
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
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
echo "${ECHO_T}$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
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_header_stdc=yes
else
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
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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
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. */
(('a' <= (c) && (c) <= 'i') \
|| ('j' <= (c) && (c) <= 'r') \
|| ('s' <= (c) && (c) <= 'z'))
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
ac_cv_header_stdc=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
if test $ac_cv_header_stdc = yes; then
cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
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=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&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
_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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_Header=yes"
else
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 echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
_ACEOF
fi
done
if test "${ac_cv_header_minix_config_h+set}" = set; then
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
if test "${ac_cv_header_minix_config_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
else
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&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
_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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
;;
esac
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
if test "${ac_cv_header_minix_config_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_cv_header_minix_config_h=$ac_header_preproc
fi
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
fi
if test $ac_cv_header_minix_config_h = yes; then
MINIX=yes
else
MINIX=
fi
if test "$MINIX" = yes; then
cat >>confdefs.h <<\_ACEOF
_ACEOF
cat >>confdefs.h <<\_ACEOF
_ACEOF
cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
if test "${apr_found}" = "yes"; then
ap_ckver_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS `$apr_config --includes`"
{ echo "$as_me:$LINENO: checking for APR version 1.2.0 or later" >&5
echo $ECHO_N "checking for APR version 1.2.0 or later... $ECHO_C" >&6; }
if test "${ap_cv_aprver12+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
good
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "good" >/dev/null 2>&1; then
ap_cv_aprver12=yes
else
ap_cv_aprver12=no
fi
rm -f conftest*
fi
{ echo "$as_me:$LINENO: result: $ap_cv_aprver12" >&5
echo "${ECHO_T}$ap_cv_aprver12" >&6; }
if test "$ap_cv_aprver12" = "yes"; then
:
else
{ { echo "$as_me:$LINENO: error: APR version 1.2.0 or later is required" >&5
echo "$as_me: error: APR version 1.2.0 or later is required" >&2;}
{ (exit 1); exit 1; }; }
fi
CPPFLAGS="$ap_ckver_CPPFLAGS"
fi
if test "${apu_found}" = "yes"; then
ap_ckver_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS `$apu_config --includes`"
{ echo "$as_me:$LINENO: checking for APR-util version 1.2.0 or later" >&5
echo $ECHO_N "checking for APR-util version 1.2.0 or later... $ECHO_C" >&6; }
if test "${ap_cv_apuver12+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
good
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "good" >/dev/null 2>&1; then
ap_cv_apuver12=yes
else
ap_cv_apuver12=no
fi
rm -f conftest*
fi
{ echo "$as_me:$LINENO: result: $ap_cv_apuver12" >&5
echo "${ECHO_T}$ap_cv_apuver12" >&6; }
if test "$ap_cv_apuver12" = "yes"; then
:
else
{ { echo "$as_me:$LINENO: error: APR-util version 1.2.0 or later is required" >&5
echo "$as_me: error: APR-util version 1.2.0 or later is required" >&2;}
{ (exit 1); exit 1; }; }
fi
CPPFLAGS="$ap_ckver_CPPFLAGS"
fi
if test "$GCC" = "yes"; then
MKDEP='$(CC) -MM'
else
rm -f conftest.c
cat > conftest.c <<EOF
int main() { return 0; }
EOF
MKDEP="true"
for i in "$CC -MM" "$CC -M" "$CPP -MM" "$CPP -M" "cpp -M"; do
{ echo "$as_me:$LINENO: checking if $i can create proper make dependencies" >&5
echo $ECHO_N "checking if $i can create proper make dependencies... $ECHO_C" >&6; }
if $i conftest.c 2>/dev/null | grep 'conftest.o: conftest.c' >/dev/null; then
MKDEP=$i
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
break;
fi
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
done
rm -f conftest.c
fi
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_header_stdc=yes
else
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
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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
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. */
(('a' <= (c) && (c) <= 'i') \
|| ('j' <= (c) && (c) <= 'r') \
|| ('s' <= (c) && (c) <= 'z'))
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
ac_cv_header_stdc=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
if test $ac_cv_header_stdc = yes; then
cat >>confdefs.h <<\_ACEOF
_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=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
else
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&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
_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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
;;
esac
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
_ACEOF
fi
done
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
if test "${ac_cv_header_sys_wait_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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 ()
{
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_header_sys_wait_h=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
if test $ac_cv_header_sys_wait_h = yes; then
cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
if test "${ac_cv_c_const+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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. */
/* Ultrix mips cc rejects this. */
typedef int charset[2];
const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
/* 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";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* 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 !x[0] && !zero.x;
;
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_const=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
echo "${ECHO_T}$ac_cv_c_const" >&6; }
if test $ac_cv_c_const = no; then
cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
{ echo "$as_me:$LINENO: checking for library containing sqrt" >&5
echo $ECHO_N "checking for library containing sqrt... $ECHO_C" >&6; }
if test "${ac_cv_search_sqrt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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. */
extern "C"
char sqrt ();
int
main ()
{
return sqrt ();
;
return 0;
}
_ACEOF
for ac_lib in '' m; 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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_search_sqrt=$ac_res
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_sqrt+set}" = set; then
break
fi
done
if test "${ac_cv_search_sqrt+set}" = set; then
:
else
ac_cv_search_sqrt=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ echo "$as_me:$LINENO: result: $ac_cv_search_sqrt" >&5
echo "${ECHO_T}$ac_cv_search_sqrt" >&6; }
ac_res=$ac_cv_search_sqrt
if test "$ac_res" != no; then
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
for ac_func in \
getpwnam \
getgrnam \
initgroups \
bindprocessor \
prctl \
timegm \
getpgid
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&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. */
/* 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. */
/* 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. */
extern "C"
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. */
choke me
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
cat >>confdefs.h <<_ACEOF
_ACEOF
fi
done
{ echo "$as_me:$LINENO: checking for void pointer length" >&5
echo $ECHO_N "checking for void pointer length... $ECHO_C" >&6; }
if test "${ap_void_ptr_lt_long+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test "$cross_compiling" = yes; then
ap_void_ptr_lt_long=yes
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(void)
{
return sizeof(void *) < sizeof(long);
}
_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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ap_void_ptr_lt_long=no
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
ap_void_ptr_lt_long=yes
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
{ echo "$as_me:$LINENO: result: $ap_void_ptr_lt_long" >&5
echo "${ECHO_T}$ap_void_ptr_lt_long" >&6; }
if test "$ap_void_ptr_lt_long" = "yes"; then
{ { echo "$as_me:$LINENO: error: Size of \"void *\" is less than size of \"long\"" >&5
echo "$as_me: error: Size of \"void *\" is less than size of \"long\"" >&2;}
{ (exit 1); exit 1; }; }
fi
{ echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
if test "${ac_cv_struct_tm_gmtoff+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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 ()
{
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_struct_tm_gmtoff=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm_gmtoff" >&5
echo "${ECHO_T}$ac_cv_struct_tm_gmtoff" >&6; }
if test "$ac_cv_struct_tm_gmtoff" = "yes"; then
cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
case $host in
*aix*)
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
if test "${with_port+set}" = set; then
withval=$with_port; if test "$withval" = "yes"; then { { echo "$as_me:$LINENO: error: 'option --with-port requires a value (the TCP port number)'" >&5
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. */
YES_IS_DEFINED
_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
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" -a $ac_cv_define_APR_HAVE_IPV6 = "yes"; then
cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
if test "${enable_exception_hook+set}" = set; then
enableval=$enable_exception_hook;
cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
if test "${enable_maintainer_mode+set}" = set; then
enableval=$enable_maintainer_mode;
if test "x$CPPFLAGS" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to CPPFLAGS"
CPPFLAGS="$CPPFLAGS $i"
fi
done
fi
fi
if test "${enable_pie+set}" = set; then
enableval=$enable_pie;
fi
if test "$enable_pie" = "yes"; then
{ echo "$as_me:$LINENO: checking whether $CC accepts PIE flags" >&5
echo $ECHO_N "checking whether $CC accepts PIE flags... $ECHO_C" >&6; }
if test "${ap_cv_cc_pie+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
CFLAGS="$CFLAGS -fPIE"
LDFLAGS="$LDFLAGS -pie"
if test "$cross_compiling" = yes; then
ap_cv_cc_pie=yes
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
static int foo[30000]; int main () { 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ap_cv_cc_pie=yes
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
ap_cv_cc_pie=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
fi
{ echo "$as_me:$LINENO: result: $ap_cv_cc_pie" >&5
echo "${ECHO_T}$ap_cv_cc_pie" >&6; }
if test "$ap_cv_cc_pie" = "yes"; then
PICFLAGS="-fPIE"
PILDFLAGS="-pie"
else
{ { echo "$as_me:$LINENO: error: --enable-pie requested but $CC failed using PIE flags" >&5
echo "$as_me: error: --enable-pie requested but $CC failed using PIE flags" >&2;}
{ (exit 1); exit 1; }; }
fi
fi
prefix="$orig_prefix"
module_selection=default
module_default=yes
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
i=`echo $i | sed 's/-/_/g'`
eval "enable_$i=yes"
fi
done
fi
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
{ echo "$as_me:$LINENO: checking whether to enable mod_authn_file" >&5
echo $ECHO_N "checking whether to enable mod_authn_file... $ECHO_C" >&6; }
if test "${enable_authn_file+set}" = set; then
enableval=$enable_authn_file;
else
enable_authn_file=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authn_file" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authn_file" = "static"; then
enable_authn_file=yes
elif test "$enable_authn_file" = "yes"; then
enable_authn_file=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_file" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authn_file=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_file" != "yes"; then
enable_authn_file=no
fi
elif test "$enable_authn_file" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authn_file=$module_default
_apmod_extra_msg=" (all)"
else
enable_authn_file=no
fi
fi
if test "$enable_authn_file" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authn_file$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authn_file$_apmod_extra_msg" >&6; }
if test "$enable_authn_file" != "no"; then
case "$enable_authn_file" in
shared*)
enable_authn_file=`echo $enable_authn_file|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authn_file"
;;
*)
MODLIST="$MODLIST authn_file"
if test "authn_file" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authn_file.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authn_file.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_AUTHN_FILE_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authn_file.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_AUTHN_FILE_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_FILE_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authn_dbm" >&5
echo $ECHO_N "checking whether to enable mod_authn_dbm... $ECHO_C" >&6; }
if test "${enable_authn_dbm+set}" = set; then
enableval=$enable_authn_dbm;
else
enable_authn_dbm=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authn_dbm" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authn_dbm" = "static"; then
enable_authn_dbm=yes
elif test "$enable_authn_dbm" = "yes"; then
enable_authn_dbm=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_dbm" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authn_dbm=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_dbm" != "yes"; then
enable_authn_dbm=no
fi
elif test "$enable_authn_dbm" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authn_dbm=$module_default
_apmod_extra_msg=" (all)"
else
enable_authn_dbm=no
fi
fi
if test "$enable_authn_dbm" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authn_dbm$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authn_dbm$_apmod_extra_msg" >&6; }
if test "$enable_authn_dbm" != "no"; then
case "$enable_authn_dbm" in
shared*)
enable_authn_dbm=`echo $enable_authn_dbm|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authn_dbm"
;;
*)
MODLIST="$MODLIST authn_dbm"
if test "authn_dbm" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authn_dbm.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authn_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_AUTHN_DBM_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authn_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_AUTHN_DBM_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_DBM_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authn_anon" >&5
echo $ECHO_N "checking whether to enable mod_authn_anon... $ECHO_C" >&6; }
if test "${enable_authn_anon+set}" = set; then
enableval=$enable_authn_anon;
else
enable_authn_anon=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authn_anon" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authn_anon" = "static"; then
enable_authn_anon=yes
elif test "$enable_authn_anon" = "yes"; then
enable_authn_anon=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_anon" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authn_anon=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_anon" != "yes"; then
enable_authn_anon=no
fi
elif test "$enable_authn_anon" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authn_anon=$module_default
_apmod_extra_msg=" (all)"
else
enable_authn_anon=no
fi
fi
if test "$enable_authn_anon" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authn_anon$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authn_anon$_apmod_extra_msg" >&6; }
if test "$enable_authn_anon" != "no"; then
case "$enable_authn_anon" in
shared*)
enable_authn_anon=`echo $enable_authn_anon|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authn_anon"
;;
*)
MODLIST="$MODLIST authn_anon"
if test "authn_anon" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authn_anon.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authn_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_AUTHN_ANON_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authn_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_AUTHN_ANON_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_ANON_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authn_dbd" >&5
echo $ECHO_N "checking whether to enable mod_authn_dbd... $ECHO_C" >&6; }
if test "${enable_authn_dbd+set}" = set; then
enableval=$enable_authn_dbd;
else
enable_authn_dbd=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authn_dbd" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authn_dbd" = "static"; then
enable_authn_dbd=yes
elif test "$enable_authn_dbd" = "yes"; then
enable_authn_dbd=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_dbd" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authn_dbd=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_dbd" != "yes"; then
enable_authn_dbd=no
fi
elif test "$enable_authn_dbd" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authn_dbd=$module_default
_apmod_extra_msg=" (all)"
else
enable_authn_dbd=no
fi
fi
if test "$enable_authn_dbd" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authn_dbd$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authn_dbd$_apmod_extra_msg" >&6; }
if test "$enable_authn_dbd" != "no"; then
case "$enable_authn_dbd" in
shared*)
enable_authn_dbd=`echo $enable_authn_dbd|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authn_dbd"
;;
*)
MODLIST="$MODLIST authn_dbd"
if test "authn_dbd" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authn_dbd.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authn_dbd.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_AUTHN_DBD_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authn_dbd.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_AUTHN_DBD_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_DBD_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authn_default" >&5
echo $ECHO_N "checking whether to enable mod_authn_default... $ECHO_C" >&6; }
if test "${enable_authn_default+set}" = set; then
enableval=$enable_authn_default;
else
enable_authn_default=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authn_default" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authn_default" = "static"; then
enable_authn_default=yes
elif test "$enable_authn_default" = "yes"; then
enable_authn_default=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_default" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authn_default=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_default" != "yes"; then
enable_authn_default=no
fi
elif test "$enable_authn_default" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authn_default=$module_default
_apmod_extra_msg=" (all)"
else
enable_authn_default=no
fi
fi
if test "$enable_authn_default" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authn_default$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authn_default$_apmod_extra_msg" >&6; }
if test "$enable_authn_default" != "no"; then
case "$enable_authn_default" in
shared*)
enable_authn_default=`echo $enable_authn_default|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authn_default"
;;
*)
MODLIST="$MODLIST authn_default"
if test "authn_default" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authn_default.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authn_default.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_AUTHN_DEFAULT_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authn_default.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_AUTHN_DEFAULT_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_DEFAULT_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authn_alias" >&5
echo $ECHO_N "checking whether to enable mod_authn_alias... $ECHO_C" >&6; }
if test "${enable_authn_alias+set}" = set; then
enableval=$enable_authn_alias;
else
enable_authn_alias=no
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authn_alias" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authn_alias" = "static"; then
enable_authn_alias=yes
elif test "$enable_authn_alias" = "yes"; then
enable_authn_alias=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_alias" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authn_alias=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authn_alias" != "yes"; then
enable_authn_alias=no
fi
elif test "$enable_authn_alias" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authn_alias=$module_default
_apmod_extra_msg=" (all)"
else
enable_authn_alias=no
fi
fi
if test "$enable_authn_alias" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authn_alias$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authn_alias$_apmod_extra_msg" >&6; }
if test "$enable_authn_alias" != "no"; then
case "$enable_authn_alias" in
shared*)
enable_authn_alias=`echo $enable_authn_alias|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authn_alias"
;;
*)
MODLIST="$MODLIST authn_alias"
if test "authn_alias" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authn_alias.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authn_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_AUTHN_ALIAS_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authn_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_AUTHN_ALIAS_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_ALIAS_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authz_host" >&5
echo $ECHO_N "checking whether to enable mod_authz_host... $ECHO_C" >&6; }
if test "${enable_authz_host+set}" = set; then
enableval=$enable_authz_host;
else
enable_authz_host=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authz_host" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authz_host" = "static"; then
enable_authz_host=yes
elif test "$enable_authz_host" = "yes"; then
enable_authz_host=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_host" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authz_host=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_host" != "yes"; then
enable_authz_host=no
fi
elif test "$enable_authz_host" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authz_host=$module_default
_apmod_extra_msg=" (all)"
else
enable_authz_host=no
fi
fi
if test "$enable_authz_host" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authz_host$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authz_host$_apmod_extra_msg" >&6; }
if test "$enable_authz_host" != "no"; then
case "$enable_authz_host" in
shared*)
enable_authz_host=`echo $enable_authz_host|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authz_host"
;;
*)
MODLIST="$MODLIST authz_host"
if test "authz_host" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authz_host.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authz_host.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_AUTHZ_HOST_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authz_host.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_AUTHZ_HOST_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_HOST_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authz_groupfile" >&5
echo $ECHO_N "checking whether to enable mod_authz_groupfile... $ECHO_C" >&6; }
if test "${enable_authz_groupfile+set}" = set; then
enableval=$enable_authz_groupfile;
else
enable_authz_groupfile=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authz_groupfile" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authz_groupfile" = "static"; then
enable_authz_groupfile=yes
elif test "$enable_authz_groupfile" = "yes"; then
enable_authz_groupfile=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_groupfile" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authz_groupfile=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_groupfile" != "yes"; then
enable_authz_groupfile=no
fi
elif test "$enable_authz_groupfile" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authz_groupfile=$module_default
_apmod_extra_msg=" (all)"
else
enable_authz_groupfile=no
fi
fi
if test "$enable_authz_groupfile" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authz_groupfile$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authz_groupfile$_apmod_extra_msg" >&6; }
if test "$enable_authz_groupfile" != "no"; then
case "$enable_authz_groupfile" in
shared*)
enable_authz_groupfile=`echo $enable_authz_groupfile|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authz_groupfile"
;;
*)
MODLIST="$MODLIST authz_groupfile"
if test "authz_groupfile" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authz_groupfile.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authz_groupfile.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_AUTHZ_GROUPFILE_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authz_groupfile.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_AUTHZ_GROUPFILE_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_GROUPFILE_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authz_user" >&5
echo $ECHO_N "checking whether to enable mod_authz_user... $ECHO_C" >&6; }
if test "${enable_authz_user+set}" = set; then
enableval=$enable_authz_user;
else
enable_authz_user=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authz_user" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authz_user" = "static"; then
enable_authz_user=yes
elif test "$enable_authz_user" = "yes"; then
enable_authz_user=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_user" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authz_user=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_user" != "yes"; then
enable_authz_user=no
fi
elif test "$enable_authz_user" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authz_user=$module_default
_apmod_extra_msg=" (all)"
else
enable_authz_user=no
fi
fi
if test "$enable_authz_user" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authz_user$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authz_user$_apmod_extra_msg" >&6; }
if test "$enable_authz_user" != "no"; then
case "$enable_authz_user" in
shared*)
enable_authz_user=`echo $enable_authz_user|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authz_user"
;;
*)
MODLIST="$MODLIST authz_user"
if test "authz_user" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authz_user.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authz_user.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_AUTHZ_USER_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authz_user.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_AUTHZ_USER_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_USER_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authz_dbm" >&5
echo $ECHO_N "checking whether to enable mod_authz_dbm... $ECHO_C" >&6; }
if test "${enable_authz_dbm+set}" = set; then
enableval=$enable_authz_dbm;
else
enable_authz_dbm=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authz_dbm" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authz_dbm" = "static"; then
enable_authz_dbm=yes
elif test "$enable_authz_dbm" = "yes"; then
enable_authz_dbm=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_dbm" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authz_dbm=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_dbm" != "yes"; then
enable_authz_dbm=no
fi
elif test "$enable_authz_dbm" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authz_dbm=$module_default
_apmod_extra_msg=" (all)"
else
enable_authz_dbm=no
fi
fi
if test "$enable_authz_dbm" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authz_dbm$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authz_dbm$_apmod_extra_msg" >&6; }
if test "$enable_authz_dbm" != "no"; then
case "$enable_authz_dbm" in
shared*)
enable_authz_dbm=`echo $enable_authz_dbm|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authz_dbm"
;;
*)
MODLIST="$MODLIST authz_dbm"
if test "authz_dbm" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authz_dbm.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authz_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_AUTHZ_DBM_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authz_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_AUTHZ_DBM_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_DBM_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authz_owner" >&5
echo $ECHO_N "checking whether to enable mod_authz_owner... $ECHO_C" >&6; }
if test "${enable_authz_owner+set}" = set; then
enableval=$enable_authz_owner;
else
enable_authz_owner=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authz_owner" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authz_owner" = "static"; then
enable_authz_owner=yes
elif test "$enable_authz_owner" = "yes"; then
enable_authz_owner=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_owner" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authz_owner=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_owner" != "yes"; then
enable_authz_owner=no
fi
elif test "$enable_authz_owner" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authz_owner=$module_default
_apmod_extra_msg=" (all)"
else
enable_authz_owner=no
fi
fi
if test "$enable_authz_owner" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authz_owner$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authz_owner$_apmod_extra_msg" >&6; }
if test "$enable_authz_owner" != "no"; then
case "$enable_authz_owner" in
shared*)
enable_authz_owner=`echo $enable_authz_owner|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authz_owner"
;;
*)
MODLIST="$MODLIST authz_owner"
if test "authz_owner" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authz_owner.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authz_owner.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_AUTHZ_OWNER_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authz_owner.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_AUTHZ_OWNER_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_OWNER_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authnz_ldap" >&5
echo $ECHO_N "checking whether to enable mod_authnz_ldap... $ECHO_C" >&6; }
if test "${enable_authnz_ldap+set}" = set; then
enableval=$enable_authnz_ldap;
else
enable_authnz_ldap=no
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authnz_ldap" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authnz_ldap" = "static"; then
enable_authnz_ldap=yes
elif test "$enable_authnz_ldap" = "yes"; then
enable_authnz_ldap=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authnz_ldap" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authnz_ldap=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authnz_ldap" != "yes"; then
enable_authnz_ldap=no
fi
elif test "$enable_authnz_ldap" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authnz_ldap=$module_default
_apmod_extra_msg=" (all)"
else
enable_authnz_ldap=no
fi
fi
if test "$enable_authnz_ldap" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authnz_ldap$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authnz_ldap$_apmod_extra_msg" >&6; }
if test "$enable_authnz_ldap" != "no"; then
case "$enable_authnz_ldap" in
shared*)
enable_authnz_ldap=`echo $enable_authnz_ldap|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authnz_ldap"
;;
*)
MODLIST="$MODLIST authnz_ldap"
if test "authnz_ldap" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authnz_ldap.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authnz_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_AUTHNZ_LDAP_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authnz_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_AUTHNZ_LDAP_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHNZ_LDAP_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_authz_default" >&5
echo $ECHO_N "checking whether to enable mod_authz_default... $ECHO_C" >&6; }
if test "${enable_authz_default+set}" = set; then
enableval=$enable_authz_default;
else
enable_authz_default=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_authz_default" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_authz_default" = "static"; then
enable_authz_default=yes
elif test "$enable_authz_default" = "yes"; then
enable_authz_default=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_default" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_authz_default=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_authz_default" != "yes"; then
enable_authz_default=no
fi
elif test "$enable_authz_default" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_authz_default=$module_default
_apmod_extra_msg=" (all)"
else
enable_authz_default=no
fi
fi
if test "$enable_authz_default" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_authz_default$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_authz_default$_apmod_extra_msg" >&6; }
if test "$enable_authz_default" != "no"; then
case "$enable_authz_default" in
shared*)
enable_authz_default=`echo $enable_authz_default|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES authz_default"
;;
*)
MODLIST="$MODLIST authz_default"
if test "authz_default" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_authz_default.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_authz_default.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_AUTHZ_DEFAULT_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_authz_default.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_AUTHZ_DEFAULT_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_DEFAULT_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_auth_basic" >&5
echo $ECHO_N "checking whether to enable mod_auth_basic... $ECHO_C" >&6; }
if test "${enable_auth_basic+set}" = set; then
enableval=$enable_auth_basic;
else
enable_auth_basic=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_auth_basic" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_auth_basic" = "static"; then
enable_auth_basic=yes
elif test "$enable_auth_basic" = "yes"; then
enable_auth_basic=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_auth_basic" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_auth_basic=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_auth_basic" != "yes"; then
enable_auth_basic=no
fi
elif test "$enable_auth_basic" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_auth_basic=$module_default
_apmod_extra_msg=" (all)"
else
enable_auth_basic=no
fi
fi
if test "$enable_auth_basic" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_auth_basic$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_auth_basic$_apmod_extra_msg" >&6; }
if test "$enable_auth_basic" != "no"; then
case "$enable_auth_basic" in
shared*)
enable_auth_basic=`echo $enable_auth_basic|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES auth_basic"
;;
*)
MODLIST="$MODLIST auth_basic"
if test "auth_basic" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_auth_basic.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_auth_basic.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_BASIC_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_auth_basic.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_BASIC_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_BASIC_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_auth_digest" >&5
echo $ECHO_N "checking whether to enable mod_auth_digest... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: checking dependencies" >&5
echo "${ECHO_T}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. */
YES_IS_DEFINED
_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
{ echo "$as_me:$LINENO: checking whether to enable mod_auth_digest" >&5
echo $ECHO_N "checking whether to enable mod_auth_digest... $ECHO_C" >&6; }
if test "$enable_auth_digest" = "no"; then
if test "$_apmod_error_fatal" = "no"; then
_apmod_extra_msg=" (disabled)"
else
{ { echo "$as_me:$LINENO: error: mod_auth_digest has been requested but can not be built due to prerequisite failures" >&5
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
{ echo "$as_me:$LINENO: result: $enable_auth_digest$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_auth_digest$_apmod_extra_msg" >&6; }
if test "$enable_auth_digest" != "no"; then
case "$enable_auth_digest" in
shared*)
enable_auth_digest=`echo $enable_auth_digest|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="libmod_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
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
{ echo "$as_me:$LINENO: checking whether to enable mod_isapi" >&5
echo $ECHO_N "checking whether to enable mod_isapi... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_isapi$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_isapi$_apmod_extra_msg" >&6; }
if test "$enable_isapi" != "no"; then
case "$enable_isapi" in
shared*)
enable_isapi=`echo $enable_isapi|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="libmod_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
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
{ echo "$as_me:$LINENO: checking whether to enable mod_file_cache" >&5
echo $ECHO_N "checking whether to enable mod_file_cache... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_file_cache$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_file_cache$_apmod_extra_msg" >&6; }
if test "$enable_file_cache" != "no"; then
case "$enable_file_cache" in
shared*)
enable_file_cache=`echo $enable_file_cache|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="libmod_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
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 "
{ echo "$as_me:$LINENO: checking whether to enable mod_cache" >&5
echo $ECHO_N "checking whether to enable mod_cache... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_cache$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_cache$_apmod_extra_msg" >&6; }
if test "$enable_cache" != "no"; then
case "$enable_cache" in
shared*)
enable_cache=`echo $enable_cache|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_disk_cache" >&5
echo $ECHO_N "checking whether to enable mod_disk_cache... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_disk_cache$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_disk_cache$_apmod_extra_msg" >&6; }
if test "$enable_disk_cache" != "no"; then
case "$enable_disk_cache" in
shared*)
enable_disk_cache=`echo $enable_disk_cache|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_mem_cache" >&5
echo $ECHO_N "checking whether to enable mod_mem_cache... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_mem_cache$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_mem_cache$_apmod_extra_msg" >&6; }
if test "$enable_mem_cache" != "no"; then
case "$enable_mem_cache" in
shared*)
enable_mem_cache=`echo $enable_mem_cache|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="libmod_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
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=database
modpath_current=modules/database
modpath_static=
modpath_shared=
test -d database || $srcdir/build/mkdir.sh $modpath_current
> $modpath_current/modules.mk
{ echo "$as_me:$LINENO: checking whether to enable mod_dbd" >&5
echo $ECHO_N "checking whether to enable mod_dbd... $ECHO_C" >&6; }
if test "${enable_dbd+set}" = set; then
enableval=$enable_dbd;
else
enable_dbd=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_dbd" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_dbd" = "static"; then
enable_dbd=yes
elif test "$enable_dbd" = "yes"; then
enable_dbd=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_dbd" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_dbd=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_dbd" != "yes"; then
enable_dbd=no
fi
elif test "$enable_dbd" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_dbd=$module_default
_apmod_extra_msg=" (all)"
else
enable_dbd=no
fi
fi
if test "$enable_dbd" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_dbd$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_dbd$_apmod_extra_msg" >&6; }
if test "$enable_dbd" != "no"; then
case "$enable_dbd" in
shared*)
enable_dbd=`echo $enable_dbd|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES dbd"
;;
*)
MODLIST="$MODLIST dbd"
if test "dbd" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_dbd.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_dbd.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_DBD_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_dbd.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_DBD_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DBD_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=debug
modpath_current=modules/debug
modpath_static=
modpath_shared=
test -d debug || $srcdir/build/mkdir.sh $modpath_current
> $modpath_current/modules.mk
{ echo "$as_me:$LINENO: checking whether to enable mod_bucketeer" >&5
echo $ECHO_N "checking whether to enable mod_bucketeer... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_bucketeer$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_bucketeer$_apmod_extra_msg" >&6; }
if test "$enable_bucketeer" != "no"; then
case "$enable_bucketeer" in
shared*)
enable_bucketeer=`echo $enable_bucketeer|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="libmod_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 "$as_me:$LINENO: checking whether to enable mod_dumpio" >&5
echo $ECHO_N "checking whether to enable mod_dumpio... $ECHO_C" >&6; }
if test "${enable_dumpio+set}" = set; then
enableval=$enable_dumpio;
else
enable_dumpio=most
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
{ echo "$as_me:$LINENO: result: $enable_dumpio$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_dumpio$_apmod_extra_msg" >&6; }
if test "$enable_dumpio" != "no"; then
case "$enable_dumpio" in
shared*)
enable_dumpio=`echo $enable_dumpio|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="libmod_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
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
{ echo "$as_me:$LINENO: checking whether to enable mod_echo" >&5
echo $ECHO_N "checking whether to enable mod_echo... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_echo$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_echo$_apmod_extra_msg" >&6; }
if test "$enable_echo" != "no"; then
case "$enable_echo" in
shared*)
enable_echo=`echo $enable_echo|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="libmod_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
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
{ echo "$as_me:$LINENO: checking whether to enable mod_example" >&5
echo $ECHO_N "checking whether to enable mod_example... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_example$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_example$_apmod_extra_msg" >&6; }
if test "$enable_example" != "no"; then
case "$enable_example" in
shared*)
enable_example=`echo $enable_example|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_case_filter" >&5
echo $ECHO_N "checking whether to enable mod_case_filter... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_case_filter$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_case_filter$_apmod_extra_msg" >&6; }
if test "$enable_case_filter" != "no"; then
case "$enable_case_filter" in
shared*)
enable_case_filter=`echo $enable_case_filter|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_case_filter_in" >&5
echo $ECHO_N "checking whether to enable mod_case_filter_in... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_case_filter_in$_apmod_extra_msg" >&5
echo "${ECHO_T}$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 $enable_case_filter_in|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="libmod_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
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
{ echo "$as_me:$LINENO: checking whether to enable mod_ext_filter" >&5
echo $ECHO_N "checking whether to enable mod_ext_filter... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_ext_filter$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_ext_filter$_apmod_extra_msg" >&6; }
if test "$enable_ext_filter" != "no"; then
case "$enable_ext_filter" in
shared*)
enable_ext_filter=`echo $enable_ext_filter|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_include" >&5
echo $ECHO_N "checking whether to enable mod_include... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_include$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_include$_apmod_extra_msg" >&6; }
if test "$enable_include" != "no"; then
case "$enable_include" in
shared*)
enable_include=`echo $enable_include|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_filter" >&5
echo $ECHO_N "checking whether to enable mod_filter... $ECHO_C" >&6; }
if test "${enable_filter+set}" = set; then
enableval=$enable_filter;
else
enable_filter=yes
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_filter" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_filter" = "static"; then
enable_filter=yes
elif test "$enable_filter" = "yes"; then
enable_filter=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_filter" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_filter=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_filter" != "yes"; then
enable_filter=no
fi
elif test "$enable_filter" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_filter=$module_default
_apmod_extra_msg=" (all)"
else
enable_filter=no
fi
fi
if test "$enable_filter" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_filter$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_filter$_apmod_extra_msg" >&6; }
if test "$enable_filter" != "no"; then
case "$enable_filter" in
shared*)
enable_filter=`echo $enable_filter|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES filter"
;;
*)
MODLIST="$MODLIST filter"
if test "filter" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_filter.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_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_FILTER_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_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_FILTER_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_FILTER_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_substitute" >&5
echo $ECHO_N "checking whether to enable mod_substitute... $ECHO_C" >&6; }
if test "${enable_substitute+set}" = set; then
enableval=$enable_substitute;
else
enable_substitute=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_substitute" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_substitute" = "static"; then
enable_substitute=yes
elif test "$enable_substitute" = "yes"; then
enable_substitute=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_substitute" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_substitute=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_substitute" != "yes"; then
enable_substitute=no
fi
elif test "$enable_substitute" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_substitute=$module_default
_apmod_extra_msg=" (all)"
else
enable_substitute=no
fi
fi
if test "$enable_substitute" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_substitute$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_substitute$_apmod_extra_msg" >&6; }
if test "$enable_substitute" != "no"; then
case "$enable_substitute" in
shared*)
enable_substitute=`echo $enable_substitute|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES substitute"
;;
*)
MODLIST="$MODLIST substitute"
if test "substitute" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_substitute.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_substitute.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_SUBSTITUTE_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_substitute.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_SUBSTITUTE_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SUBSTITUTE_LDADD"
fi
if test "$ac_cv_ebcdic" = "yes"; then
{ echo "$as_me:$LINENO: checking whether to enable mod_charset_lite" >&5
echo $ECHO_N "checking whether to enable mod_charset_lite... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_charset_lite$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_charset_lite$_apmod_extra_msg" >&6; }
if test "$enable_charset_lite" != "no"; then
case "$enable_charset_lite" in
shared*)
enable_charset_lite=`echo $enable_charset_lite|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_charset_lite" >&5
echo $ECHO_N "checking whether to enable mod_charset_lite... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_charset_lite$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_charset_lite$_apmod_extra_msg" >&6; }
if test "$enable_charset_lite" != "no"; then
case "$enable_charset_lite" in
shared*)
enable_charset_lite=`echo $enable_charset_lite|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_deflate" >&5
echo $ECHO_N "checking whether to enable mod_deflate... $ECHO_C" >&6; }
if test "${enable_deflate+set}" = set; then
enableval=$enable_deflate;
else
enable_deflate=most
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
{ echo "$as_me:$LINENO: result: checking dependencies" >&5
echo "${ECHO_T}checking dependencies" >&6; }
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
{ echo "$as_me:$LINENO: checking for zlib location" >&5
echo $ECHO_N "checking for zlib location... $ECHO_C" >&6; }
if test "${ap_cv_zlib+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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
{ echo "$as_me:$LINENO: result: not found" >&5
echo "${ECHO_T}not found" >&6; }
else
{ echo "$as_me:$LINENO: result: $ap_zlib_base" >&5
echo "${ECHO_T}$ap_zlib_base" >&6; }
fi
fi
if test "$enable_deflate" != "no"; then
ap_save_includes=$INCLUDES
ap_save_ldflags=$LDFLAGS
ap_save_cppflags=$CPPFLAGS
if test "$ap_zlib_base" != "/usr"; then
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
INCLUDES="$INCLUDES $i"
fi
done
fi
CPPFLAGS="$CPPFLAGS $INCLUDES"
if test "x$LDFLAGS" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
LDFLAGS="$LDFLAGS $i"
fi
done
fi
fi
fi
if test "x$LIBS" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to LIBS"
LIBS="$LIBS $i"
fi
done
fi
{ echo "$as_me:$LINENO: checking for zlib library" >&5
echo $ECHO_N "checking for zlib library... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
{ echo "$as_me:$LINENO: result: found" >&5
echo "${ECHO_T}found" >&6; }
test "x$silent" != "xyes" && echo " forcing MOD_DEFLATE_LDADD to \"-lz\""
MOD_DEFLATE_LDADD="-lz"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ echo "$as_me:$LINENO: result: not found" >&5
echo "${ECHO_T}not found" >&6; }
enable_deflate=no
INCLUDES=$ap_save_includes
LDFLAGS=$ap_save_ldflags
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
if test "x$LIBS" = "x-lz"; then
test "x$silent" != "xyes" && echo " nulling LIBS"
LIBS=""
else
apr_new_bugger=""
apr_removed=0
for i in $LIBS; do
if test "x$i" != "x-lz"; then
apr_new_bugger="$apr_new_bugger $i"
else
apr_removed=1
fi
done
if test $apr_removed = "1"; then
test "x$silent" != "xyes" && echo " removed \"-lz\" from LIBS"
LIBS=$apr_new_bugger
fi
fi
CPPFLAGS=$ap_save_cppflags
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_deflate" >&5
echo $ECHO_N "checking whether to enable mod_deflate... $ECHO_C" >&6; }
if test "$enable_deflate" = "no"; then
if test "$_apmod_error_fatal" = "no"; then
_apmod_extra_msg=" (disabled)"
else
{ { echo "$as_me:$LINENO: error: mod_deflate has been requested but can not be built due to prerequisite failures" >&5
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
{ echo "$as_me:$LINENO: result: $enable_deflate$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_deflate$_apmod_extra_msg" >&6; }
if test "$enable_deflate" != "no"; then
case "$enable_deflate" in
shared*)
enable_deflate=`echo $enable_deflate|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="libmod_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=ldap
modpath_current=modules/ldap
modpath_static=
modpath_shared=
test -d ldap || $srcdir/build/mkdir.sh $modpath_current
> $modpath_current/modules.mk
ldap_objects="util_ldap.lo util_ldap_cache.lo util_ldap_cache_mgr.lo"
{ echo "$as_me:$LINENO: checking whether to enable mod_ldap" >&5
echo $ECHO_N "checking whether to enable mod_ldap... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_ldap$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_ldap$_apmod_extra_msg" >&6; }
if test "$enable_ldap" != "no"; then
case "$enable_ldap" in
shared*)
enable_ldap=`echo $enable_ldap|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="libmod_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
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
{ echo "$as_me:$LINENO: checking whether to enable mod_log_config" >&5
echo $ECHO_N "checking whether to enable mod_log_config... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_log_config$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_log_config$_apmod_extra_msg" >&6; }
if test "$enable_log_config" != "no"; then
case "$enable_log_config" in
shared*)
enable_log_config=`echo $enable_log_config|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_log_forensic" >&5
echo $ECHO_N "checking whether to enable mod_log_forensic... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_log_forensic$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_log_forensic$_apmod_extra_msg" >&6; }
if test "$enable_log_forensic" != "no"; then
case "$enable_log_forensic" in
shared*)
enable_log_forensic=`echo $enable_log_forensic|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="libmod_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
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && 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
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
INCLUDES="$INCLUDES $i"
fi
done
fi
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_logio" >&5
echo $ECHO_N "checking whether to enable mod_logio... $ECHO_C" >&6; }
if test "${enable_logio+set}" = set; then
enableval=$enable_logio;
else
enable_logio=most
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
{ echo "$as_me:$LINENO: result: $enable_logio$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_logio$_apmod_extra_msg" >&6; }
if test "$enable_logio" != "no"; then
case "$enable_logio" in
shared*)
enable_logio=`echo $enable_logio|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_env" >&5
echo $ECHO_N "checking whether to enable mod_env... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_env$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_env$_apmod_extra_msg" >&6; }
if test "$enable_env" != "no"; then
case "$enable_env" in
shared*)
enable_env=`echo $enable_env|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_mime_magic" >&5
echo $ECHO_N "checking whether to enable mod_mime_magic... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_mime_magic$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_mime_magic$_apmod_extra_msg" >&6; }
if test "$enable_mime_magic" != "no"; then
case "$enable_mime_magic" in
shared*)
enable_mime_magic=`echo $enable_mime_magic|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_cern_meta" >&5
echo $ECHO_N "checking whether to enable mod_cern_meta... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_cern_meta$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_cern_meta$_apmod_extra_msg" >&6; }
if test "$enable_cern_meta" != "no"; then
case "$enable_cern_meta" in
shared*)
enable_cern_meta=`echo $enable_cern_meta|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_expires" >&5
echo $ECHO_N "checking whether to enable mod_expires... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_expires$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_expires$_apmod_extra_msg" >&6; }
if test "$enable_expires" != "no"; then
case "$enable_expires" in
shared*)
enable_expires=`echo $enable_expires|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_headers" >&5
echo $ECHO_N "checking whether to enable mod_headers... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_headers$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_headers$_apmod_extra_msg" >&6; }
if test "$enable_headers" != "no"; then
case "$enable_headers" in
shared*)
enable_headers=`echo $enable_headers|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_ident" >&5
echo $ECHO_N "checking whether to enable mod_ident... $ECHO_C" >&6; }
if test "${enable_ident+set}" = set; then
enableval=$enable_ident;
else
enable_ident=most
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_ident" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_ident" = "static"; then
enable_ident=yes
elif test "$enable_ident" = "yes"; then
enable_ident=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_ident" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_ident=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_ident" != "yes"; then
enable_ident=no
fi
elif test "$enable_ident" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_ident=$module_default
_apmod_extra_msg=" (all)"
else
enable_ident=no
fi
fi
if test "$enable_ident" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_ident$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_ident$_apmod_extra_msg" >&6; }
if test "$enable_ident" != "no"; then
case "$enable_ident" in
shared*)
enable_ident=`echo $enable_ident|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES ident"
;;
*)
MODLIST="$MODLIST ident"
if test "ident" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z ""; then
objects="mod_ident.lo"
else
objects=""
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_ident.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_IDENT_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_ident.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_IDENT_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_IDENT_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_usertrack" >&5
echo $ECHO_N "checking whether to enable mod_usertrack... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: checking dependencies" >&5
echo "${ECHO_T}checking dependencies" >&6; }
for ac_header in sys/times.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
else
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&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
_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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
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
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
;;
esac
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
_ACEOF
fi
done
for ac_func in times
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&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. */
/* 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. */
/* 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. */
extern "C"
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. */
choke me
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 "echo \"\$as_me:$LINENO: $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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
cat >>confdefs.h <<_ACEOF
_ACEOF
fi
done
{ echo "$as_me:$LINENO: checking whether to enable mod_usertrack" >&5
echo $ECHO_N "checking whether to enable mod_usertrack... $ECHO_C" >&6; }
if test "$enable_usertrack" = "no"; then
if test "$_apmod_error_fatal" = "no"; then
_apmod_extra_msg=" (disabled)"
else
{ { echo "$as_me:$LINENO: error: mod_usertrack has been requested but can not be built due to prerequisite failures" >&5
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
{ echo "$as_me:$LINENO: result: $enable_usertrack$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_usertrack$_apmod_extra_msg" >&6; }
if test "$enable_usertrack" != "no"; then
case "$enable_usertrack" in
shared*)
enable_usertrack=`echo $enable_usertrack|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_unique_id" >&5
echo $ECHO_N "checking whether to enable mod_unique_id... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_unique_id$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_unique_id$_apmod_extra_msg" >&6; }
if test "$enable_unique_id" != "no"; then
case "$enable_unique_id" in
shared*)
enable_unique_id=`echo $enable_unique_id|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_setenvif" >&5
echo $ECHO_N "checking whether to enable mod_setenvif... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_setenvif$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_setenvif$_apmod_extra_msg" >&6; }
if test "$enable_setenvif" != "no"; then
case "$enable_setenvif" in
shared*)
enable_setenvif=`echo $enable_setenvif|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_version" >&5
echo $ECHO_N "checking whether to enable mod_version... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_version$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_version$_apmod_extra_msg" >&6; }
if test "$enable_version" != "no"; then
case "$enable_version" in
shared*)
enable_version=`echo $enable_version|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="libmod_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
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"
{ echo "$as_me:$LINENO: checking whether to enable mod_proxy" >&5
echo $ECHO_N "checking whether to enable mod_proxy... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_proxy$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_proxy$_apmod_extra_msg" >&6; }
if test "$enable_proxy" != "no"; then
case "$enable_proxy" in
shared*)
enable_proxy=`echo $enable_proxy|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="libmod_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="mod_proxy_connect.lo"
proxy_ftp_objs="mod_proxy_ftp.lo"
proxy_http_objs="mod_proxy_http.lo"
proxy_ajp_objs="mod_proxy_ajp.lo ajp_header.lo ajp_link.lo ajp_msg.lo ajp_utils.lo"
proxy_balancer_objs="mod_proxy_balancer.lo"
case "$host" in
*os2*)
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"
proxy_ajp_objs="$proxy_ajp_objs mod_proxy.la"
proxy_balancer_objs="$proxy_balancer_objs mod_proxy.la"
;;
esac
{ echo "$as_me:$LINENO: checking whether to enable mod_proxy_connect" >&5
echo $ECHO_N "checking whether to enable mod_proxy_connect... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_proxy_connect$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_proxy_connect$_apmod_extra_msg" >&6; }
if test "$enable_proxy_connect" != "no"; then
case "$enable_proxy_connect" in
shared*)
enable_proxy_connect=`echo $enable_proxy_connect|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_proxy_ftp" >&5
echo $ECHO_N "checking whether to enable mod_proxy_ftp... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_proxy_ftp$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_proxy_ftp$_apmod_extra_msg" >&6; }
if test "$enable_proxy_ftp" != "no"; then
case "$enable_proxy_ftp" in
shared*)
enable_proxy_ftp=`echo $enable_proxy_ftp|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="libmod_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
{ echo "$as_me:$LINENO: checking whether to enable mod_proxy_http" >&5
echo $ECHO_N "checking whether to enable mod_proxy_http... $ECHO_C" >&6; }
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
{ echo "$as_me:$LINENO: result: $enable_proxy_http$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_proxy_http$_apmod_extra_msg" >&6; }
if test "$enable_proxy_http" != "no"; then
case "$enable_proxy_http" in
shared*)
enable_proxy_http=`echo $enable_proxy_http|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="libmod_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 "$as_me:$LINENO: checking whether to enable mod_proxy_ajp" >&5
echo $ECHO_N "checking whether to enable mod_proxy_ajp... $ECHO_C" >&6; }
if test "${enable_proxy_ajp+set}" = set; then
enableval=$enable_proxy_ajp;
else
enable_proxy_ajp=$proxy_mods_enable
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_proxy_ajp" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_proxy_ajp" = "static"; then
enable_proxy_ajp=yes
elif test "$enable_proxy_ajp" = "yes"; then
enable_proxy_ajp=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_proxy_ajp" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_proxy_ajp=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_proxy_ajp" != "yes"; then
enable_proxy_ajp=no
fi
elif test "$enable_proxy_ajp" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_proxy_ajp=$module_default
_apmod_extra_msg=" (all)"
else
enable_proxy_ajp=no
fi
fi
if test "$enable_proxy_ajp" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_proxy_ajp$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_proxy_ajp$_apmod_extra_msg" >&6; }
if test "$enable_proxy_ajp" != "no"; then
case "$enable_proxy_ajp" in
shared*)
enable_proxy_ajp=`echo $enable_proxy_ajp|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES proxy_ajp"
;;
*)
MODLIST="$MODLIST proxy_ajp"
if test "proxy_ajp" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z "$proxy_ajp_objs"; then
objects="mod_proxy_ajp.lo"
else
objects="$proxy_ajp_objs"
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_proxy_ajp.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_AJP_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_proxy_ajp.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_AJP_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_AJP_LDADD"
fi
{ echo "$as_me:$LINENO: checking whether to enable mod_proxy_balancer" >&5
echo $ECHO_N "checking whether to enable mod_proxy_balancer... $ECHO_C" >&6; }
if test "${enable_proxy_balancer+set}" = set; then
enableval=$enable_proxy_balancer;
else
enable_proxy_balancer=$proxy_mods_enable
fi
_apmod_extra_msg=""
if test "$module_selection" = "most" -a "$enable_proxy_balancer" = "most"; then
_apmod_error_fatal="no"
else
_apmod_error_fatal="yes"
fi
if test "$enable_proxy_balancer" = "static"; then
enable_proxy_balancer=yes
elif test "$enable_proxy_balancer" = "yes"; then
enable_proxy_balancer=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_proxy_balancer" = "most"; then
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
enable_proxy_balancer=$module_default
_apmod_extra_msg=" ($module_selection)"
elif test "$enable_proxy_balancer" != "yes"; then
enable_proxy_balancer=no
fi
elif test "$enable_proxy_balancer" = "maybe-all"; then
if test "$module_selection" = "all"; then
enable_proxy_balancer=$module_default
_apmod_extra_msg=" (all)"
else
enable_proxy_balancer=no
fi
fi
if test "$enable_proxy_balancer" != "no"; then
:
fi
{ echo "$as_me:$LINENO: result: $enable_proxy_balancer$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_proxy_balancer$_apmod_extra_msg" >&6; }
if test "$enable_proxy_balancer" != "no"; then
case "$enable_proxy_balancer" in
shared*)
enable_proxy_balancer=`echo $enable_proxy_balancer|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES proxy_balancer"
;;
*)
MODLIST="$MODLIST proxy_balancer"
if test "proxy_balancer" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
if test -z "$proxy_balancer_objs"; then
objects="mod_proxy_balancer.lo"
else
objects="$proxy_balancer_objs"
fi
if test -z "$module_standalone"; then
if test -z "$shared"; then
libname="libmod_proxy_balancer.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_BALANCER_LDADD)
EOF
else
apache_need_shared=yes
libname="mod_proxy_balancer.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_BALANCER_LDADD)
EOF
fi
fi
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_BALANCER_LDADD"
fi
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_srcdir)/$modpath_current/../generators\""
INCLUDES="-I\$(top_srcdir)/$modpath_current/../generators"
else
apr_addto_bugger="-I\$(top_srcdir)/$modpath_current/../generators"
for i in $apr_addto_bugger; do
apr_addto_duplicate="0"