2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete. It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
267
# Identity of this package.
274
ac_unique_file="ABOUT_APACHE"
275
ac_default_prefix=/usr/local/apache2
276
# Factoring default headers for most tests.
277
ac_includes_default="\
280
# include <sys/types.h>
283
# include <sys/stat.h>
294
# if !STDC_HEADERS && HAVE_MEMORY_H
300
# include <strings.h>
303
# include <inttypes.h>
313
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 datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 ac_ct_RANLIB LYNX_PATH MKINSTALLDIRS INSTALL 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_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 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'
316
# Initialize some variables set by options.
318
ac_init_version=false
319
# The variables have the same names as the options, with
320
# dashes changed to underlines.
328
program_transform_name=s,x,x,
336
# Installation directory options.
337
# These are left unexpanded so users can "make install exec_prefix=/foo"
338
# and all the variables that are supposed to be based on exec_prefix
339
# by default will actually change.
340
# Use braces instead of parens because sh, perl, etc. also accept them.
341
bindir='${exec_prefix}/bin'
342
sbindir='${exec_prefix}/sbin'
343
libexecdir='${exec_prefix}/libexec'
344
datadir='${prefix}/share'
345
sysconfdir='${prefix}/etc'
346
sharedstatedir='${prefix}/com'
347
localstatedir='${prefix}/var'
348
libdir='${exec_prefix}/lib'
349
includedir='${prefix}/include'
350
oldincludedir='/usr/include'
351
infodir='${prefix}/info'
352
mandir='${prefix}/man'
357
# If the previous option needs an argument, assign it.
358
if test -n "$ac_prev"; then
359
eval "$ac_prev=\$ac_option"
364
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
# Accept the important Cygnus configure options, so we can diagnose typos.
370
-bindir | --bindir | --bindi | --bind | --bin | --bi)
372
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375
-build | --build | --buil | --bui | --bu)
376
ac_prev=build_alias ;;
377
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
378
build_alias=$ac_optarg ;;
380
-cache-file | --cache-file | --cache-fil | --cache-fi \
381
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382
ac_prev=cache_file ;;
383
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385
cache_file=$ac_optarg ;;
388
cache_file=config.cache ;;
390
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
datadir=$ac_optarg ;;
396
-disable-* | --disable-*)
397
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398
# Reject names that are not valid shell variable names.
399
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
401
{ (exit 1); exit 1; }; }
402
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403
eval "enable_$ac_feature=no" ;;
405
-enable-* | --enable-*)
406
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407
# Reject names that are not valid shell variable names.
408
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
410
{ (exit 1); exit 1; }; }
411
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416
eval "enable_$ac_feature='$ac_optarg'" ;;
418
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420
| --exec | --exe | --ex)
421
ac_prev=exec_prefix ;;
422
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424
| --exec=* | --exe=* | --ex=*)
425
exec_prefix=$ac_optarg ;;
427
-gas | --gas | --ga | --g)
428
# Obsolete; use --with-gas.
431
-help | --help | --hel | --he | -h)
433
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434
ac_init_help=recursive ;;
435
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436
ac_init_help=short ;;
438
-host | --host | --hos | --ho)
439
ac_prev=host_alias ;;
440
-host=* | --host=* | --hos=* | --ho=*)
441
host_alias=$ac_optarg ;;
443
-includedir | --includedir | --includedi | --included | --include \
444
| --includ | --inclu | --incl | --inc)
445
ac_prev=includedir ;;
446
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447
| --includ=* | --inclu=* | --incl=* | --inc=*)
448
includedir=$ac_optarg ;;
450
-infodir | --infodir | --infodi | --infod | --info | --inf)
452
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453
infodir=$ac_optarg ;;
455
-libdir | --libdir | --libdi | --libd)
457
-libdir=* | --libdir=* | --libdi=* | --libd=*)
460
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461
| --libexe | --libex | --libe)
462
ac_prev=libexecdir ;;
463
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464
| --libexe=* | --libex=* | --libe=*)
465
libexecdir=$ac_optarg ;;
467
-localstatedir | --localstatedir | --localstatedi | --localstated \
468
| --localstate | --localstat | --localsta | --localst \
469
| --locals | --local | --loca | --loc | --lo)
470
ac_prev=localstatedir ;;
471
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
473
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474
localstatedir=$ac_optarg ;;
476
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482
# Obsolete; use --without-fp.
485
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
486
| --no-cr | --no-c | -n)
489
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
490
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495
| --oldin | --oldi | --old | --ol | --o)
496
ac_prev=oldincludedir ;;
497
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500
oldincludedir=$ac_optarg ;;
502
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507
-program-prefix | --program-prefix | --program-prefi | --program-pref \
508
| --program-pre | --program-pr | --program-p)
509
ac_prev=program_prefix ;;
510
-program-prefix=* | --program-prefix=* | --program-prefi=* \
511
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512
program_prefix=$ac_optarg ;;
514
-program-suffix | --program-suffix | --program-suffi | --program-suff \
515
| --program-suf | --program-su | --program-s)
516
ac_prev=program_suffix ;;
517
-program-suffix=* | --program-suffix=* | --program-suffi=* \
518
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519
program_suffix=$ac_optarg ;;
521
-program-transform-name | --program-transform-name \
522
| --program-transform-nam | --program-transform-na \
523
| --program-transform-n | --program-transform- \
524
| --program-transform | --program-transfor \
525
| --program-transfo | --program-transf \
526
| --program-trans | --program-tran \
527
| --progr-tra | --program-tr | --program-t)
528
ac_prev=program_transform_name ;;
529
-program-transform-name=* | --program-transform-name=* \
530
| --program-transform-nam=* | --program-transform-na=* \
531
| --program-transform-n=* | --program-transform-=* \
532
| --program-transform=* | --program-transfor=* \
533
| --program-transfo=* | --program-transf=* \
534
| --program-trans=* | --program-tran=* \
535
| --progr-tra=* | --program-tr=* | --program-t=*)
536
program_transform_name=$ac_optarg ;;
538
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
539
| -silent | --silent | --silen | --sile | --sil)
542
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546
sbindir=$ac_optarg ;;
548
-sharedstatedir | --sharedstatedir | --sharedstatedi \
549
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550
| --sharedst | --shareds | --shared | --share | --shar \
552
ac_prev=sharedstatedir ;;
553
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557
sharedstatedir=$ac_optarg ;;
559
-site | --site | --sit)
561
-site=* | --site=* | --sit=*)
564
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570
| --syscon | --sysco | --sysc | --sys | --sy)
571
ac_prev=sysconfdir ;;
572
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574
sysconfdir=$ac_optarg ;;
576
-target | --target | --targe | --targ | --tar | --ta | --t)
577
ac_prev=target_alias ;;
578
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579
target_alias=$ac_optarg ;;
581
-v | -verbose | --verbose | --verbos | --verbo | --verb)
584
-version | --version | --versio | --versi | --vers | -V)
588
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589
# Reject names that are not valid shell variable names.
590
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591
{ echo "$as_me: error: invalid package name: $ac_package" >&2
592
{ (exit 1); exit 1; }; }
593
ac_package=`echo $ac_package| sed 's/-/_/g'`
595
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598
eval "with_$ac_package='$ac_optarg'" ;;
600
-without-* | --without-*)
601
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602
# Reject names that are not valid shell variable names.
603
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604
{ echo "$as_me: error: invalid package name: $ac_package" >&2
605
{ (exit 1); exit 1; }; }
606
ac_package=`echo $ac_package | sed 's/-/_/g'`
607
eval "with_$ac_package=no" ;;
610
# Obsolete; use --with-x.
613
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614
| --x-incl | --x-inc | --x-in | --x-i)
615
ac_prev=x_includes ;;
616
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618
x_includes=$ac_optarg ;;
620
-x-libraries | --x-libraries | --x-librarie | --x-librari \
621
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622
ac_prev=x_libraries ;;
623
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625
x_libraries=$ac_optarg ;;
627
-*) { echo "$as_me: error: unrecognized option: $ac_option
628
Try \`$0 --help' for more information." >&2
629
{ (exit 1); exit 1; }; }
633
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634
# Reject names that are not valid shell variable names.
635
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637
{ (exit 1); exit 1; }; }
638
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639
eval "$ac_envvar='$ac_optarg'"
643
# FIXME: should be removed in autoconf 3.0.
644
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653
if test -n "$ac_prev"; then
654
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655
{ echo "$as_me: error: missing argument to $ac_option" >&2
656
{ (exit 1); exit 1; }; }
659
# Be sure to have absolute paths.
660
for ac_var in exec_prefix prefix
662
eval ac_val=$`echo $ac_var`
664
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666
{ (exit 1); exit 1; }; };;
670
# Be sure to have absolute paths.
671
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
localstatedir libdir includedir oldincludedir infodir mandir
674
eval ac_val=$`echo $ac_var`
676
[\\/$]* | ?:[\\/]* ) ;;
677
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678
{ (exit 1); exit 1; }; };;
682
# There might be people who depend on the old broken behavior: `$host'
683
# used to hold the argument of --host etc.
684
# FIXME: To remove some day.
689
# FIXME: To remove some day.
690
if test "x$host_alias" != x; then
691
if test "x$build_alias" = x; then
692
cross_compiling=maybe
693
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694
If a cross compiler is detected then cross compile mode will be used." >&2
695
elif test "x$build_alias" != "x$host_alias"; then
701
test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
test "$silent" = yes && exec 6>/dev/null
706
# Find the source files, if location was not specified.
707
if test -z "$srcdir"; then
708
ac_srcdir_defaulted=yes
709
# Try the directory containing this script, then its parent.
710
ac_confdir=`(dirname "$0") 2>/dev/null ||
711
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
X"$0" : 'X\(//\)[^/]' \| \
713
X"$0" : 'X\(//\)$' \| \
714
X"$0" : 'X\(/\)' \| \
715
. : '\(.\)' 2>/dev/null ||
717
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
719
/^X\(\/\/\)$/{ s//\1/; q; }
720
/^X\(\/\).*/{ s//\1/; q; }
723
if test ! -r $srcdir/$ac_unique_file; then
727
ac_srcdir_defaulted=no
729
if test ! -r $srcdir/$ac_unique_file; then
730
if test "$ac_srcdir_defaulted" = yes; then
731
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732
{ (exit 1); exit 1; }; }
734
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735
{ (exit 1); exit 1; }; }
738
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740
{ (exit 1); exit 1; }; }
741
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742
ac_env_build_alias_set=${build_alias+set}
743
ac_env_build_alias_value=$build_alias
744
ac_cv_env_build_alias_set=${build_alias+set}
745
ac_cv_env_build_alias_value=$build_alias
746
ac_env_host_alias_set=${host_alias+set}
747
ac_env_host_alias_value=$host_alias
748
ac_cv_env_host_alias_set=${host_alias+set}
749
ac_cv_env_host_alias_value=$host_alias
750
ac_env_target_alias_set=${target_alias+set}
751
ac_env_target_alias_value=$target_alias
752
ac_cv_env_target_alias_set=${target_alias+set}
753
ac_cv_env_target_alias_value=$target_alias
754
ac_env_CC_set=${CC+set}
756
ac_cv_env_CC_set=${CC+set}
757
ac_cv_env_CC_value=$CC
758
ac_env_CFLAGS_set=${CFLAGS+set}
759
ac_env_CFLAGS_value=$CFLAGS
760
ac_cv_env_CFLAGS_set=${CFLAGS+set}
761
ac_cv_env_CFLAGS_value=$CFLAGS
762
ac_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_env_LDFLAGS_value=$LDFLAGS
764
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765
ac_cv_env_LDFLAGS_value=$LDFLAGS
766
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_env_CPPFLAGS_value=$CPPFLAGS
768
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770
ac_env_CPP_set=${CPP+set}
771
ac_env_CPP_value=$CPP
772
ac_cv_env_CPP_set=${CPP+set}
773
ac_cv_env_CPP_value=$CPP
776
# Report the --help message.
778
if test "$ac_init_help" = "long"; then
779
# Omit some internal or obsolete options to make the list less imposing.
780
# This message is too long to be a string in the A/UX 3.1 sh.
782
\`configure' configures this package to adapt to many kinds of systems.
784
Usage: $0 [OPTION]... [VAR=VALUE]...
786
To assign environment variables (e.g., CC, CFLAGS...), specify them as
787
VAR=VALUE. See below for descriptions of some of the useful variables.
789
Defaults for the options are specified in brackets.
792
-h, --help display this help and exit
793
--help=short display options specific to this package
794
--help=recursive display the short help of all the included packages
795
-V, --version display version information and exit
796
-q, --quiet, --silent do not print \`checking...' messages
797
--cache-file=FILE cache test results in FILE [disabled]
798
-C, --config-cache alias for \`--cache-file=config.cache'
799
-n, --no-create do not create output files
800
--srcdir=DIR find the sources in DIR [configure dir or \`..']
805
Installation directories:
806
--prefix=PREFIX install architecture-independent files in PREFIX
808
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811
By default, \`make install' will install all the files in
812
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814
for instance \`--prefix=\$HOME'.
816
For better control, use the options below.
818
Fine tuning of the installation directories:
819
--bindir=DIR user executables [EPREFIX/bin]
820
--sbindir=DIR system admin executables [EPREFIX/sbin]
821
--libexecdir=DIR program executables [EPREFIX/libexec]
822
--datadir=DIR read-only architecture-independent data [PREFIX/share]
823
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
826
--libdir=DIR object code libraries [EPREFIX/lib]
827
--includedir=DIR C header files [PREFIX/include]
828
--oldincludedir=DIR C header files for non-gcc [/usr/include]
829
--infodir=DIR info documentation [PREFIX/info]
830
--mandir=DIR man documentation [PREFIX/man]
836
--build=BUILD configure for building on BUILD [guessed]
837
--host=HOST cross-compile to build programs to run on HOST [BUILD]
838
--target=TARGET configure for building compilers for TARGET [HOST]
842
if test -n "$ac_init_help"; then
847
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
848
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
849
--enable-layout=LAYOUT
850
--enable-v4-mapped Allow IPv6 sockets to handle IPv4 connections
851
--enable-exception-hook Enable fatal exception hook
852
--enable-maintainer-mode
853
Turn on debugging and compile time warnings
854
--enable-pie Build httpd as a Position Independent Executable
855
--enable-modules=MODULE-LIST
856
Space-separated list of modules to enable | "all" |
858
--enable-mods-shared=MODULE-LIST
859
Space-separated list of shared modules to enable |
861
--disable-authn-file file-based authentication control
862
--enable-authn-dbm DBM-based authentication control
863
--enable-authn-anon anonymous user authentication control
864
--enable-authn-dbd SQL-based authentication control
865
--disable-authn-default authentication backstopper
866
--enable-authn-alias auth provider alias
867
--disable-authz-host host-based authorization control
868
--disable-authz-groupfile
869
'require group' authorization control
870
--disable-authz-user 'require user' authorization control
871
--enable-authz-dbm DBM-based authorization control
872
--enable-authz-owner 'require file-owner' authorization control
873
--enable-authnz-ldap LDAP based authentication
874
--disable-authz-default authorization control backstopper
875
--disable-auth-basic basic authentication
876
--enable-auth-digest RFC2617 Digest authentication
877
--enable-isapi isapi extension support
878
--enable-file-cache File cache
879
--enable-cache dynamic file caching
880
--enable-disk-cache disk caching module
881
--enable-mem-cache memory caching module
882
--enable-dbd Apache DBD Framework
883
--enable-bucketeer buckets manipulation filter
884
--enable-dumpio I/O dump filter
885
--enable-echo ECHO server
886
--enable-example example and demo module
887
--enable-case-filter example uppercase conversion filter
888
--enable-case-filter-in example uppercase conversion input filter
889
--enable-ext-filter external filter module
890
--disable-include Server Side Includes
891
--disable-filter Smart Filtering
892
--disable-charset-lite character set translation
893
--enable-charset-lite character set translation
894
--enable-deflate Deflate transfer encoding support
895
--enable-ldap LDAP caching and connection pooling services
896
--disable-log-config logging configuration
897
--enable-log-forensic forensic logging
898
--enable-logio input and output logging
899
--disable-env clearing/setting of ENV vars
900
--enable-mime-magic automagically determining MIME type
901
--enable-cern-meta CERN-type meta files
902
--enable-expires Expires header control
903
--enable-headers HTTP header control
904
--enable-ident RFC 1413 identity check
905
--enable-usertrack user-session tracking
906
--enable-unique-id per-request unique ids
907
--disable-setenvif basing ENV vars on headers
908
--enable-version determining httpd version in config files
909
--enable-proxy Apache proxy module
910
--enable-proxy-connect Apache proxy CONNECT module
911
--enable-proxy-ftp Apache proxy FTP module
912
--enable-proxy-http Apache proxy HTTP module
913
--enable-proxy-ajp Apache proxy AJP module
914
--enable-proxy-balancer Apache proxy BALANCER module
915
--enable-ssl SSL/TLS support (mod_ssl)
916
--enable-distcache Select distcache support in mod_ssl
917
--enable-optional-hook-export
918
example optional hook exporter
919
--enable-optional-hook-import
920
example optional hook importer
921
--enable-optional-fn-import
922
example optional function importer
923
--enable-optional-fn-export
924
example optional function exporter
925
--enable-static-support Build a statically linked version of the support
927
--enable-static-htpasswd
928
Build a statically linked version of htpasswd
929
--enable-static-htdigest
930
Build a statically linked version of htdigest
931
--enable-static-rotatelogs
932
Build a statically linked version of rotatelogs
933
--enable-static-logresolve
934
Build a statically linked version of logresolve
935
--enable-static-htdbm Build a statically linked version of htdbm
936
--enable-static-ab Build a statically linked version of ab
937
--enable-static-checkgid
938
Build a statically linked version of checkgid
939
--enable-http HTTP protocol handling
940
--disable-mime mapping of file-extension to MIME
941
--enable-dav WebDAV protocol handling
942
--disable-status process/thread monitoring
943
--disable-autoindex directory listing
944
--disable-asis as-is filetypes
945
--enable-info server information
946
--enable-suexec set uid and gid for spawned processes
947
--disable-cgid CGI scripts
948
--enable-cgi CGI scripts
949
--disable-cgi CGI scripts
950
--enable-cgid CGI scripts
951
--enable-dav-fs DAV provider for the filesystem
952
--enable-dav-lock DAV provider for generic locking
953
--enable-vhost-alias mass virtual hosting module
954
--disable-negotiation content negotiation
955
--disable-dir directory request handling
956
--enable-imagemap server-side imagemaps
957
--disable-actions Action triggering on requests
958
--enable-speling correct common URL misspellings
959
--disable-userdir mapping of requests to user-specific directories
960
--disable-alias mapping of requests to different filesystem parts
961
--enable-rewrite rule based URL manipulation
962
--enable-so DSO capability
965
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
966
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
967
--with-included-apr Use bundled copies of APR/APR-Util
968
--with-apr=PATH prefix for installed APR, path to APR build tree,
969
or the full path to apr-config
970
--with-apr-util=PATH prefix for installed APU, path to APU build tree,
971
or the full path to apu-config
972
--with-pcre=PATH Use external PCRE library
973
--with-port=PORT Port on which to listen (default is 80)
974
--with-z=DIR use a specific zlib library
975
--with-sslc=DIR RSA SSL-C SSL/TLS toolkit
976
--with-ssl=DIR OpenSSL SSL/TLS toolkit
977
--with-mpm=MPM Choose the process model for Apache to use.
978
MPM={beos|event|worker|prefork|mpmt_os2}
979
--with-module=module-type:module-file
980
Enable module-file in the modules/<module-type>
982
--with-program-name alternate executable name
983
--with-suexec-bin Path to suexec binary
984
--with-suexec-caller User allowed to call SuExec
985
--with-suexec-userdir User subdirectory
986
--with-suexec-docroot SuExec root directory
987
--with-suexec-uidmin Minimal allowed UID
988
--with-suexec-gidmin Minimal allowed GID
989
--with-suexec-logfile Set the logfile
990
--with-suexec-safepath Set the safepath
991
--with-suexec-umask umask for suexec'd process
993
Some influential environment variables:
994
CC C compiler command
995
CFLAGS C compiler flags
996
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
997
nonstandard directory <lib dir>
998
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
999
headers in a nonstandard directory <include dir>
1002
Use these variables to override the choices made by `configure' or to help
1003
it to find libraries and programs with nonstandard names/locations.
1008
if test "$ac_init_help" = "recursive"; then
1009
# If there are subdirs, report their specific --help.
1011
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1012
test -d $ac_dir || continue
1015
if test "$ac_dir" != .; then
1016
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1017
# A "../" for each directory in $ac_dir_suffix.
1018
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1020
ac_dir_suffix= ac_top_builddir=
1024
.) # No --srcdir option. We are building in place.
1026
if test -z "$ac_top_builddir"; then
1029
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1031
[\\/]* | ?:[\\/]* ) # Absolute path.
1032
ac_srcdir=$srcdir$ac_dir_suffix;
1033
ac_top_srcdir=$srcdir ;;
1035
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1036
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1039
# Do not use `cd foo && pwd` to compute absolute paths, because
1040
# the directories may not exist.
1042
.) ac_abs_builddir="$ac_dir";;
1045
.) ac_abs_builddir=`pwd`;;
1046
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1047
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1050
case $ac_abs_builddir in
1051
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1053
case ${ac_top_builddir}. in
1054
.) ac_abs_top_builddir=$ac_abs_builddir;;
1055
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1056
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1059
case $ac_abs_builddir in
1060
.) ac_abs_srcdir=$ac_srcdir;;
1063
.) ac_abs_srcdir=$ac_abs_builddir;;
1064
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1065
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1068
case $ac_abs_builddir in
1069
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1071
case $ac_top_srcdir in
1072
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1073
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1074
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1079
# Check for guested configure; otherwise get Cygnus style configure.
1080
if test -f $ac_srcdir/configure.gnu; then
1082
$SHELL $ac_srcdir/configure.gnu --help=recursive
1083
elif test -f $ac_srcdir/configure; then
1085
$SHELL $ac_srcdir/configure --help=recursive
1086
elif test -f $ac_srcdir/configure.ac ||
1087
test -f $ac_srcdir/configure.in; then
1089
$ac_configure --help
1091
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1097
test -n "$ac_init_help" && exit 0
1098
if $ac_init_version; then
1101
Copyright (C) 2003 Free Software Foundation, Inc.
1102
This configure script is free software; the Free Software Foundation
1103
gives unlimited permission to copy, distribute and modify it.
1109
This file contains any messages produced by compilers while
1110
running configure, to aid debugging if configure makes a mistake.
1112
It was created by $as_me, which was
1113
generated by GNU Autoconf 2.59. Invocation command line was
1124
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1125
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1126
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1127
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1128
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1130
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1131
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1133
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1134
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1135
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1136
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1137
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1138
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1139
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1147
test -z "$as_dir" && as_dir=.
1148
echo "PATH: $as_dir"
1163
# Keep a trace of the command line.
1164
# Strip out --no-create and --no-recursion so they do not pile up.
1165
# Strip out --silent because we don't want to record it for future runs.
1166
# Also quote any args containing shell meta-characters.
1167
# Make two passes to allow for proper duplicate-argument suppression.
1172
ac_must_keep_next=false
1178
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1179
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1180
| -silent | --silent | --silen | --sile | --sil)
1182
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1183
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1186
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1188
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1189
if test $ac_must_keep_next = true; then
1190
ac_must_keep_next=false # Got value, back to normal.
1193
*=* | --config-cache | -C | -disable-* | --disable-* \
1194
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1195
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1196
| -with-* | --with-* | -without-* | --without-* | --x)
1197
case "$ac_configure_args0 " in
1198
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1201
-* ) ac_must_keep_next=true ;;
1204
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1205
# Get rid of the leading space.
1211
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1212
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1214
# When interrupted or exit'd, cleanup temporary files, and complete
1215
# config.log. We remove comments because anyway the quotes in there
1216
# would cause problems or look ugly.
1217
# WARNING: Be sure not to use single quotes in there, as some shells,
1218
# such as our DU 5.0 friend, will then `close' the trap.
1219
trap 'exit_status=$?
1220
# Save into config.log some information that might help in debugging.
1225
## ---------------- ##
1226
## Cache variables. ##
1227
## ---------------- ##
1230
# The following way of writing the cache mishandles newlines in values,
1233
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1236
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1237
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1241
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1248
## ----------------- ##
1249
## Output variables. ##
1250
## ----------------- ##
1253
for ac_var in $ac_subst_vars
1255
eval ac_val=$`echo $ac_var`
1256
echo "$ac_var='"'"'$ac_val'"'"'"
1260
if test -n "$ac_subst_files"; then
1267
for ac_var in $ac_subst_files
1269
eval ac_val=$`echo $ac_var`
1270
echo "$ac_var='"'"'$ac_val'"'"'"
1275
if test -s confdefs.h; then
1282
sed "/^$/d" confdefs.h | sort
1285
test "$ac_signal" != 0 &&
1286
echo "$as_me: caught signal $ac_signal"
1287
echo "$as_me: exit $exit_status"
1289
rm -f core *.core &&
1290
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1293
for ac_signal in 1 2 13 15; do
1294
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1298
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1299
rm -rf conftest* confdefs.h
1300
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1303
# Predefined preprocessor variables.
1305
cat >>confdefs.h <<_ACEOF
1306
#define PACKAGE_NAME "$PACKAGE_NAME"
1310
cat >>confdefs.h <<_ACEOF
1311
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1315
cat >>confdefs.h <<_ACEOF
1316
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1320
cat >>confdefs.h <<_ACEOF
1321
#define PACKAGE_STRING "$PACKAGE_STRING"
1325
cat >>confdefs.h <<_ACEOF
1326
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1330
# Let the site file select an alternate cache file if it wants to.
1331
# Prefer explicitly selected file to automatically selected ones.
1332
if test -z "$CONFIG_SITE"; then
1333
if test "x$prefix" != xNONE; then
1334
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1336
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1339
for ac_site_file in $CONFIG_SITE; do
1340
if test -r "$ac_site_file"; then
1341
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1342
echo "$as_me: loading site script $ac_site_file" >&6;}
1343
sed 's/^/| /' "$ac_site_file" >&5
1348
if test -r "$cache_file"; then
1349
# Some versions of bash will fail to source /dev/null (special
1350
# files actually), so we avoid doing that.
1351
if test -f "$cache_file"; then
1352
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1353
echo "$as_me: loading cache $cache_file" >&6;}
1355
[\\/]* | ?:[\\/]* ) . $cache_file;;
1356
*) . ./$cache_file;;
1360
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1361
echo "$as_me: creating cache $cache_file" >&6;}
1365
# Check that the precious variables saved in the cache have kept the same
1367
ac_cache_corrupted=false
1368
for ac_var in `(set) 2>&1 |
1369
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1370
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1371
eval ac_new_set=\$ac_env_${ac_var}_set
1372
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1373
eval ac_new_val="\$ac_env_${ac_var}_value"
1374
case $ac_old_set,$ac_new_set in
1376
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1377
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1378
ac_cache_corrupted=: ;;
1380
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1381
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1382
ac_cache_corrupted=: ;;
1385
if test "x$ac_old_val" != "x$ac_new_val"; then
1386
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1387
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1388
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1389
echo "$as_me: former value: $ac_old_val" >&2;}
1390
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1391
echo "$as_me: current value: $ac_new_val" >&2;}
1392
ac_cache_corrupted=:
1395
# Pass precious variables to config.status.
1396
if test "$ac_new_set" = set; then
1398
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1399
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1400
*) ac_arg=$ac_var=$ac_new_val ;;
1402
case " $ac_configure_args " in
1403
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1404
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1408
if $ac_cache_corrupted; then
1409
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1410
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1411
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1412
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1413
{ (exit 1); exit 1; }; }
1417
ac_cpp='$CPP $CPPFLAGS'
1418
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1419
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1420
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1441
ac_config_headers="$ac_config_headers include/ap_config_auto.h"
1444
for ac_dir in build $srcdir/build; do
1445
if test -f $ac_dir/install-sh; then
1447
ac_install_sh="$ac_aux_dir/install-sh -c"
1449
elif test -f $ac_dir/install.sh; then
1451
ac_install_sh="$ac_aux_dir/install.sh -c"
1453
elif test -f $ac_dir/shtool; then
1455
ac_install_sh="$ac_aux_dir/shtool install -c"
1459
if test -z "$ac_aux_dir"; then
1460
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build $srcdir/build" >&5
1461
echo "$as_me: error: cannot find install-sh or install.sh in build $srcdir/build" >&2;}
1462
{ (exit 1); exit 1; }; }
1464
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1465
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1466
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1586
# Check whether --enable-layout or --disable-layout was given.
1587
if test "${enable_layout+set}" = set; then
1588
enableval="$enable_layout"
1594
if test -z "$LAYOUT"; then
1598
if test ! -f $srcdir/config.layout; then
1599
echo "** Error: Layout file $srcdir/config.layout not found"
1600
echo "** Error: Cannot use undefined layout '$LAYOUT'"
1603
# Catch layout names including a slash which will otherwise
1604
# confuse the heck out of the sed script.
1607
echo "** Error: $LAYOUT is not a valid layout name"
1610
pldconf=./config.pld
1612
sed -e "1s/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*//;1t" \
1613
-e "1,/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*/d" \
1614
-e '/[ ]*<\/Layout>[ ]*/,$d' \
1616
-e "s/:[ ]*/=\'/g" \
1618
$srcdir/config.layout > $pldconf
1620
if test ! -s $pldconf; then
1621
echo "** Error: unable to find layout $layout_name"
1626
for var in prefix exec_prefix bindir sbindir libexecdir mandir \
1627
sysconfdir datadir includedir localstatedir runtimedir \
1628
logfiledir libdir installbuilddir libsuffix errordir iconsdir htdocsdir cgidir; do
1629
eval "val=\"\$$var\""
1632
val=`echo $val | sed -e 's;\+$;;'`
1633
eval "$var=\"\$val\""
1640
val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
1641
val=`echo $val | sed -e 's:[\$]\([a-z_]*\):$\1:g'`
1642
if test "$autosuffix" = "yes"; then
1643
if echo $val | grep apache >/dev/null; then
1648
if test "$addtarget" = "yes"; then
1657
echo "$as_me:$LINENO: checking for chosen layout" >&5
1658
echo $ECHO_N "checking for chosen layout... $ECHO_C" >&6
1659
echo "$as_me:$LINENO: result: $layout_name" >&5
1660
echo "${ECHO_T}$layout_name" >&6
1667
# If the previous option needs an argument, assign it.
1668
if test -n "$ac_prev"; then
1669
eval "$ac_prev=\$ac_option"
1674
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1678
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1680
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1681
bindir="$ac_optarg" ;;
1683
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1685
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1687
datadir="$ac_optarg" ;;
1689
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1690
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1691
| --exec | --exe | --ex)
1692
ac_prev=exec_prefix ;;
1693
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1694
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1695
| --exec=* | --exe=* | --ex=*)
1696
exec_prefix="$ac_optarg" ;;
1698
-includedir | --includedir | --includedi | --included | --include \
1699
| --includ | --inclu | --incl | --inc)
1700
ac_prev=includedir ;;
1701
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1702
| --includ=* | --inclu=* | --incl=* | --inc=*)
1703
includedir="$ac_optarg" ;;
1705
-infodir | --infodir | --infodi | --infod | --info | --inf)
1707
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1708
infodir="$ac_optarg" ;;
1710
-libdir | --libdir | --libdi | --libd)
1712
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1713
libdir="$ac_optarg" ;;
1715
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1716
| --libexe | --libex | --libe)
1717
ac_prev=libexecdir ;;
1718
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1719
| --libexe=* | --libex=* | --libe=*)
1720
libexecdir="$ac_optarg" ;;
1722
-localstatedir | --localstatedir | --localstatedi | --localstated \
1723
| --localstate | --localstat | --localsta | --localst \
1724
| --locals | --local | --loca | --loc | --lo)
1725
ac_prev=localstatedir ;;
1726
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1727
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
1728
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1729
localstatedir="$ac_optarg" ;;
1731
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1733
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1734
mandir="$ac_optarg" ;;
1736
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1738
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1739
prefix="$ac_optarg" ;;
1741
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1743
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1745
sbindir="$ac_optarg" ;;
1747
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1748
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1749
| --sharedst | --shareds | --shared | --share | --shar \
1751
ac_prev=sharedstatedir ;;
1752
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1753
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1754
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1756
sharedstatedir="$ac_optarg" ;;
1758
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1759
| --syscon | --sysco | --sysc | --sys | --sy)
1760
ac_prev=sysconfdir ;;
1761
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1762
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1763
sysconfdir="$ac_optarg" ;;
1768
# Be sure to have absolute paths.
1769
for ac_var in exec_prefix prefix
1771
eval ac_val=$`echo $ac_var`
1773
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1774
*) { { echo "$as_me:$LINENO: error: expected an absolute path for --$ac_var: $ac_val" >&5
1775
echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
1776
{ (exit 1); exit 1; }; };;
1786
ap_cur="$exec_prefix"
1787
while test "x${ap_cur}" != "x${ap_last}";
1790
ap_cur=`eval "echo ${ap_cur}"`
1792
exp_exec_prefix="${ap_cur}"
1795
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_exec_prefix"
1799
ap_stripped=`echo $exp_exec_prefix | sed -e "s#^${prefix}##"`
1800
# check if the stripping was successful
1801
if test "x$exp_exec_prefix" != "x${ap_stripped}"; then
1802
# it was, so strip of any leading slashes
1803
rel_exec_prefix="`echo ${ap_stripped} | sed -e 's#^/*##'`"
1805
# it wasn't so return the original
1806
rel_exec_prefix="$exp_exec_prefix"
1810
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_exec_prefix"
1818
while test "x${ap_cur}" != "x${ap_last}";
1821
ap_cur=`eval "echo ${ap_cur}"`
1823
exp_bindir="${ap_cur}"
1826
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_bindir"
1830
ap_stripped=`echo $exp_bindir | sed -e "s#^${prefix}##"`
1831
# check if the stripping was successful
1832
if test "x$exp_bindir" != "x${ap_stripped}"; then
1833
# it was, so strip of any leading slashes
1834
rel_bindir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
1836
# it wasn't so return the original
1837
rel_bindir="$exp_bindir"
1841
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_bindir"
1849
while test "x${ap_cur}" != "x${ap_last}";
1852
ap_cur=`eval "echo ${ap_cur}"`
1854
exp_sbindir="${ap_cur}"
1857
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_sbindir"
1861
ap_stripped=`echo $exp_sbindir | sed -e "s#^${prefix}##"`
1862
# check if the stripping was successful
1863
if test "x$exp_sbindir" != "x${ap_stripped}"; then
1864
# it was, so strip of any leading slashes
1865
rel_sbindir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
1867
# it wasn't so return the original
1868
rel_sbindir="$exp_sbindir"
1872
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_sbindir"
1880
while test "x${ap_cur}" != "x${ap_last}";
1883
ap_cur=`eval "echo ${ap_cur}"`
1885
exp_libdir="${ap_cur}"
1888
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_libdir"
1892
ap_stripped=`echo $exp_libdir | sed -e "s#^${prefix}##"`
1893
# check if the stripping was successful
1894
if test "x$exp_libdir" != "x${ap_stripped}"; then
1895
# it was, so strip of any leading slashes
1896
rel_libdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
1898
# it wasn't so return the original
1899
rel_libdir="$exp_libdir"
1903
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_libdir"
1910
ap_cur="$libexecdir"
1911
while test "x${ap_cur}" != "x${ap_last}";
1914
ap_cur=`eval "echo ${ap_cur}"`
1916
exp_libexecdir="${ap_cur}"
1919
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_libexecdir"
1923
ap_stripped=`echo $exp_libexecdir | sed -e "s#^${prefix}##"`
1924
# check if the stripping was successful
1925
if test "x$exp_libexecdir" != "x${ap_stripped}"; then
1926
# it was, so strip of any leading slashes
1927
rel_libexecdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
1929
# it wasn't so return the original
1930
rel_libexecdir="$exp_libexecdir"
1934
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_libexecdir"
1942
while test "x${ap_cur}" != "x${ap_last}";
1945
ap_cur=`eval "echo ${ap_cur}"`
1947
exp_mandir="${ap_cur}"
1950
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_mandir"
1954
ap_stripped=`echo $exp_mandir | sed -e "s#^${prefix}##"`
1955
# check if the stripping was successful
1956
if test "x$exp_mandir" != "x${ap_stripped}"; then
1957
# it was, so strip of any leading slashes
1958
rel_mandir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
1960
# it wasn't so return the original
1961
rel_mandir="$exp_mandir"
1965
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_mandir"
1972
ap_cur="$sysconfdir"
1973
while test "x${ap_cur}" != "x${ap_last}";
1976
ap_cur=`eval "echo ${ap_cur}"`
1978
exp_sysconfdir="${ap_cur}"
1981
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_sysconfdir"
1985
ap_stripped=`echo $exp_sysconfdir | sed -e "s#^${prefix}##"`
1986
# check if the stripping was successful
1987
if test "x$exp_sysconfdir" != "x${ap_stripped}"; then
1988
# it was, so strip of any leading slashes
1989
rel_sysconfdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
1991
# it wasn't so return the original
1992
rel_sysconfdir="$exp_sysconfdir"
1996
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_sysconfdir"
2004
while test "x${ap_cur}" != "x${ap_last}";
2007
ap_cur=`eval "echo ${ap_cur}"`
2009
exp_datadir="${ap_cur}"
2012
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_datadir"
2016
ap_stripped=`echo $exp_datadir | sed -e "s#^${prefix}##"`
2017
# check if the stripping was successful
2018
if test "x$exp_datadir" != "x${ap_stripped}"; then
2019
# it was, so strip of any leading slashes
2020
rel_datadir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2022
# it wasn't so return the original
2023
rel_datadir="$exp_datadir"
2027
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_datadir"
2034
ap_cur="$installbuilddir"
2035
while test "x${ap_cur}" != "x${ap_last}";
2038
ap_cur=`eval "echo ${ap_cur}"`
2040
exp_installbuilddir="${ap_cur}"
2043
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_installbuilddir"
2047
ap_stripped=`echo $exp_installbuilddir | sed -e "s#^${prefix}##"`
2048
# check if the stripping was successful
2049
if test "x$exp_installbuilddir" != "x${ap_stripped}"; then
2050
# it was, so strip of any leading slashes
2051
rel_installbuilddir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2053
# it wasn't so return the original
2054
rel_installbuilddir="$exp_installbuilddir"
2058
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_installbuilddir"
2066
while test "x${ap_cur}" != "x${ap_last}";
2069
ap_cur=`eval "echo ${ap_cur}"`
2071
exp_errordir="${ap_cur}"
2074
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_errordir"
2078
ap_stripped=`echo $exp_errordir | sed -e "s#^${prefix}##"`
2079
# check if the stripping was successful
2080
if test "x$exp_errordir" != "x${ap_stripped}"; then
2081
# it was, so strip of any leading slashes
2082
rel_errordir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2084
# it wasn't so return the original
2085
rel_errordir="$exp_errordir"
2089
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_errordir"
2097
while test "x${ap_cur}" != "x${ap_last}";
2100
ap_cur=`eval "echo ${ap_cur}"`
2102
exp_iconsdir="${ap_cur}"
2105
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_iconsdir"
2109
ap_stripped=`echo $exp_iconsdir | sed -e "s#^${prefix}##"`
2110
# check if the stripping was successful
2111
if test "x$exp_iconsdir" != "x${ap_stripped}"; then
2112
# it was, so strip of any leading slashes
2113
rel_iconsdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2115
# it wasn't so return the original
2116
rel_iconsdir="$exp_iconsdir"
2120
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_iconsdir"
2128
while test "x${ap_cur}" != "x${ap_last}";
2131
ap_cur=`eval "echo ${ap_cur}"`
2133
exp_htdocsdir="${ap_cur}"
2136
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_htdocsdir"
2140
ap_stripped=`echo $exp_htdocsdir | sed -e "s#^${prefix}##"`
2141
# check if the stripping was successful
2142
if test "x$exp_htdocsdir" != "x${ap_stripped}"; then
2143
# it was, so strip of any leading slashes
2144
rel_htdocsdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2146
# it wasn't so return the original
2147
rel_htdocsdir="$exp_htdocsdir"
2151
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_htdocsdir"
2159
while test "x${ap_cur}" != "x${ap_last}";
2162
ap_cur=`eval "echo ${ap_cur}"`
2164
exp_manualdir="${ap_cur}"
2167
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_manualdir"
2171
ap_stripped=`echo $exp_manualdir | sed -e "s#^${prefix}##"`
2172
# check if the stripping was successful
2173
if test "x$exp_manualdir" != "x${ap_stripped}"; then
2174
# it was, so strip of any leading slashes
2175
rel_manualdir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2177
# it wasn't so return the original
2178
rel_manualdir="$exp_manualdir"
2182
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_manualdir"
2190
while test "x${ap_cur}" != "x${ap_last}";
2193
ap_cur=`eval "echo ${ap_cur}"`
2195
exp_cgidir="${ap_cur}"
2198
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_cgidir"
2202
ap_stripped=`echo $exp_cgidir | sed -e "s#^${prefix}##"`
2203
# check if the stripping was successful
2204
if test "x$exp_cgidir" != "x${ap_stripped}"; then
2205
# it was, so strip of any leading slashes
2206
rel_cgidir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2208
# it wasn't so return the original
2209
rel_cgidir="$exp_cgidir"
2213
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_cgidir"
2220
ap_cur="$includedir"
2221
while test "x${ap_cur}" != "x${ap_last}";
2224
ap_cur=`eval "echo ${ap_cur}"`
2226
exp_includedir="${ap_cur}"
2229
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_includedir"
2233
ap_stripped=`echo $exp_includedir | sed -e "s#^${prefix}##"`
2234
# check if the stripping was successful
2235
if test "x$exp_includedir" != "x${ap_stripped}"; then
2236
# it was, so strip of any leading slashes
2237
rel_includedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2239
# it wasn't so return the original
2240
rel_includedir="$exp_includedir"
2244
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_includedir"
2251
ap_cur="$localstatedir"
2252
while test "x${ap_cur}" != "x${ap_last}";
2255
ap_cur=`eval "echo ${ap_cur}"`
2257
exp_localstatedir="${ap_cur}"
2260
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_localstatedir"
2264
ap_stripped=`echo $exp_localstatedir | sed -e "s#^${prefix}##"`
2265
# check if the stripping was successful
2266
if test "x$exp_localstatedir" != "x${ap_stripped}"; then
2267
# it was, so strip of any leading slashes
2268
rel_localstatedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2270
# it wasn't so return the original
2271
rel_localstatedir="$exp_localstatedir"
2275
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_localstatedir"
2282
ap_cur="$runtimedir"
2283
while test "x${ap_cur}" != "x${ap_last}";
2286
ap_cur=`eval "echo ${ap_cur}"`
2288
exp_runtimedir="${ap_cur}"
2291
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_runtimedir"
2295
ap_stripped=`echo $exp_runtimedir | sed -e "s#^${prefix}##"`
2296
# check if the stripping was successful
2297
if test "x$exp_runtimedir" != "x${ap_stripped}"; then
2298
# it was, so strip of any leading slashes
2299
rel_runtimedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2301
# it wasn't so return the original
2302
rel_runtimedir="$exp_runtimedir"
2306
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_runtimedir"
2313
ap_cur="$logfiledir"
2314
while test "x${ap_cur}" != "x${ap_last}";
2317
ap_cur=`eval "echo ${ap_cur}"`
2319
exp_logfiledir="${ap_cur}"
2322
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_logfiledir"
2326
ap_stripped=`echo $exp_logfiledir | sed -e "s#^${prefix}##"`
2327
# check if the stripping was successful
2328
if test "x$exp_logfiledir" != "x${ap_stripped}"; then
2329
# it was, so strip of any leading slashes
2330
rel_logfiledir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2332
# it wasn't so return the original
2333
rel_logfiledir="$exp_logfiledir"
2337
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_logfiledir"
2344
ap_cur="$proxycachedir"
2345
while test "x${ap_cur}" != "x${ap_last}";
2348
ap_cur=`eval "echo ${ap_cur}"`
2350
exp_proxycachedir="${ap_cur}"
2353
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_proxycachedir"
2357
ap_stripped=`echo $exp_proxycachedir | sed -e "s#^${prefix}##"`
2358
# check if the stripping was successful
2359
if test "x$exp_proxycachedir" != "x${ap_stripped}"; then
2360
# it was, so strip of any leading slashes
2361
rel_proxycachedir="`echo ${ap_stripped} | sed -e 's#^/*##'`"
2363
# it wasn't so return the original
2364
rel_proxycachedir="$exp_proxycachedir"
2368
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_proxycachedir"
2375
apr_ste_save_CPPFLAGS="$CPPFLAGS"
2378
apr_ste_save_CFLAGS="$CFLAGS"
2381
apr_ste_save_CXXFLAGS="$CXXFLAGS"
2384
apr_ste_save_LDFLAGS="$LDFLAGS"
2387
apr_ste_save_LIBS="$LIBS"
2390
apr_ste_save_INCLUDES="$INCLUDES"
2395
cat >config.nice<<EOF
2398
# Created by configure
2401
if test -n "$CC"; then
2402
echo "CC=\"$CC\"; export CC" >> config.nice
2404
if test -n "$CFLAGS"; then
2405
echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> config.nice
2407
if test -n "$CPPFLAGS"; then
2408
echo "CPPFLAGS=\"$CPPFLAGS\"; export CPPFLAGS" >> config.nice
2410
if test -n "$LDFLAGS"; then
2411
echo "LDFLAGS=\"$LDFLAGS\"; export LDFLAGS" >> config.nice
2413
if test -n "$LTFLAGS"; then
2414
echo "LTFLAGS=\"$LTFLAGS\"; export LTFLAGS" >> config.nice
2416
if test -n "$LIBS"; then
2417
echo "LIBS=\"$LIBS\"; export LIBS" >> config.nice
2419
if test -n "$INCLUDES"; then
2420
echo "INCLUDES=\"$INCLUDES\"; export INCLUDES" >> config.nice
2422
if test -n "$NOTEST_CFLAGS"; then
2423
echo "NOTEST_CFLAGS=\"$NOTEST_CFLAGS\"; export NOTEST_CFLAGS" >> config.nice
2425
if test -n "$NOTEST_CPPFLAGS"; then
2426
echo "NOTEST_CPPFLAGS=\"$NOTEST_CPPFLAGS\"; export NOTEST_CPPFLAGS" >> config.nice
2428
if test -n "$NOTEST_LDFLAGS"; then
2429
echo "NOTEST_LDFLAGS=\"$NOTEST_LDFLAGS\"; export NOTEST_LDFLAGS" >> config.nice
2431
if test -n "$NOTEST_LIBS"; then
2432
echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> config.nice
2435
for arg in $0 "$@"; do
2439
while test "x${ap_cur}" != "x${ap_last}";
2442
ap_cur=`eval "echo ${ap_cur}"`
2446
echo "\"$arg\" \\" >> config.nice
2448
echo '"$@"' >> config.nice
2449
chmod +x config.nice
2455
echo "$as_me:$LINENO: checking for working mkdir -p" >&5
2456
echo $ECHO_N "checking for working mkdir -p... $ECHO_C" >&6
2457
if test "${ac_cv_mkdir_p+set}" = set; then
2458
echo $ECHO_N "(cached) $ECHO_C" >&6
2461
test -d conftestdir && rm -rf conftestdir
2462
mkdir -p conftestdir/somedir >/dev/null 2>&1
2463
if test -d conftestdir/somedir; then
2471
echo "$as_me:$LINENO: result: $ac_cv_mkdir_p" >&5
2472
echo "${ECHO_T}$ac_cv_mkdir_p" >&6
2473
if test "$ac_cv_mkdir_p" = "yes"; then
2476
mkdir_p="$top_srcdir/build/mkdir.sh"
2482
# Make sure we can run config.sub.
2483
$ac_config_sub sun4 >/dev/null 2>&1 ||
2484
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2485
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2486
{ (exit 1); exit 1; }; }
2488
echo "$as_me:$LINENO: checking build system type" >&5
2489
echo $ECHO_N "checking build system type... $ECHO_C" >&6
2490
if test "${ac_cv_build+set}" = set; then
2491
echo $ECHO_N "(cached) $ECHO_C" >&6
2493
ac_cv_build_alias=$build_alias
2494
test -z "$ac_cv_build_alias" &&
2495
ac_cv_build_alias=`$ac_config_guess`
2496
test -z "$ac_cv_build_alias" &&
2497
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2498
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2499
{ (exit 1); exit 1; }; }
2500
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2501
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2502
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2503
{ (exit 1); exit 1; }; }
2506
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2507
echo "${ECHO_T}$ac_cv_build" >&6
2509
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2510
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2511
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2514
echo "$as_me:$LINENO: checking host system type" >&5
2515
echo $ECHO_N "checking host system type... $ECHO_C" >&6
2516
if test "${ac_cv_host+set}" = set; then
2517
echo $ECHO_N "(cached) $ECHO_C" >&6
2519
ac_cv_host_alias=$host_alias
2520
test -z "$ac_cv_host_alias" &&
2521
ac_cv_host_alias=$ac_cv_build_alias
2522
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2523
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2524
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2525
{ (exit 1); exit 1; }; }
2528
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2529
echo "${ECHO_T}$ac_cv_host" >&6
2531
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2532
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2533
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2536
echo "$as_me:$LINENO: checking target system type" >&5
2537
echo $ECHO_N "checking target system type... $ECHO_C" >&6
2538
if test "${ac_cv_target+set}" = set; then
2539
echo $ECHO_N "(cached) $ECHO_C" >&6
2541
ac_cv_target_alias=$target_alias
2542
test "x$ac_cv_target_alias" = "x" &&
2543
ac_cv_target_alias=$ac_cv_host_alias
2544
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2545
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2546
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2547
{ (exit 1); exit 1; }; }
2550
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2551
echo "${ECHO_T}$ac_cv_target" >&6
2552
target=$ac_cv_target
2553
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2554
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2555
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2558
# The aliases save the names the user supplied, while $host etc.
2559
# will get canonicalized.
2560
test -n "$target_alias" &&
2561
test "$program_prefix$program_suffix$program_transform_name" = \
2563
program_prefix=${target_alias}-
2565
orig_prefix="$prefix"
2567
echo $ac_n "${nl}Configuring Apache Portable Runtime library ...${nl}"
2570
# Check whether --with-included-apr or --without-included-apr was given.
2571
if test "${with_included_apr+set}" = set; then
2572
withval="$with_included_apr"
2576
# Only APR 1.x is supported.
2579
if test "x$with_included_apr" = "xyes"; then
2581
apr_config="$srcdir/srclib/apr/apr-${apr_version}-config"
2586
if test "$target_os" = "os2-emx"; then
2587
# Scripts don't pass test -x on OS/2
2593
acceptable_majors="${apr_version}"
2595
apr_temp_acceptable_apr_config=""
2596
for apr_temp_major in $acceptable_majors
2598
case $apr_temp_major in
2600
apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
2603
apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
2608
echo "$as_me:$LINENO: checking for APR" >&5
2609
echo $ECHO_N "checking for APR... $ECHO_C" >&6
2611
# Check whether --with-apr or --without-apr was given.
2612
if test "${with_apr+set}" = set; then
2615
if test "$withval" = "no" || test "$withval" = "yes"; then
2616
{ { echo "$as_me:$LINENO: error: --with-apr requires a directory or file to be provided" >&5
2617
echo "$as_me: error: --with-apr requires a directory or file to be provided" >&2;}
2618
{ (exit 1); exit 1; }; }
2621
for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
2623
for lookdir in "$withval/bin" "$withval"
2625
if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
2627
apr_config="$lookdir/$apr_temp_apr_config_file"
2633
if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
2635
apr_config="$withval"
2638
if test "$apr_found" != "yes"; then
2639
{ { 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
2640
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;}
2641
{ (exit 1); exit 1; }; }
2646
if test -n "1" && test "1" = "1"; then
2647
for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
2649
if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
2651
apr_config="$apr_temp_apr_config_file"
2654
for lookdir in /usr /usr/local /usr/local/apr /opt/apr /usr/local/apache2; do
2655
if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
2657
apr_config="$lookdir/bin/$apr_temp_apr_config_file"
2664
if test "$apr_found" = "no" && test -d ""$srcdir/srclib/apr""; then
2665
apr_temp_abs_srcdir="`cd "$srcdir/srclib/apr" && pwd`"
2666
apr_found="reconfig"
2667
apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \""$srcdir/srclib/apr"/include/apr_version.h\"`"
2668
case $apr_bundled_major in
2670
{ { echo "$as_me:$LINENO: error: failed to find major version of bundled APR" >&5
2671
echo "$as_me: error: failed to find major version of bundled APR" >&2;}
2672
{ (exit 1); exit 1; }; }
2675
apr_temp_apr_config_file="apr-config"
2678
apr_temp_apr_config_file="apr-$apr_bundled_major-config"
2681
if test -n ""./srclib/apr""; then
2682
apr_config=""./srclib/apr"/$apr_temp_apr_config_file"
2684
apr_config=""$srcdir/srclib/apr"/$apr_temp_apr_config_file"
2690
echo "$as_me:$LINENO: result: $apr_found" >&5
2691
echo "${ECHO_T}$apr_found" >&6
2695
if test "$apr_found" = "no"; then
2696
{ { echo "$as_me:$LINENO: error: APR not found. Please read the documentation." >&5
2697
echo "$as_me: error: APR not found. Please read the documentation." >&2;}
2698
{ (exit 1); exit 1; }; }
2701
if test "$apr_found" = "reconfig"; then
2703
# save our work to this point; this allows the sub-package to use it
2704
cat >confcache <<\_ACEOF
2705
# This file is a shell script that caches the results of configure
2706
# tests run on this system so they can be shared between configure
2707
# scripts and configure runs, see configure's option --config-cache.
2708
# It is not useful on other systems. If it contains results you don't
2709
# want to keep, you may remove or edit it.
2711
# config.status only pays attention to the cache file if you give it
2712
# the --recheck option to rerun configure.
2714
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2715
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2720
# The following way of writing the cache mishandles newlines in values,
2721
# but we know of no workaround that is simple, portable, and efficient.
2722
# So, don't put newlines in cache variables' values.
2723
# Ultrix sh set writes to stderr and can't be redirected directly,
2724
# and sets the high bit in the cache file unless we assign to the vars.
2727
case `(ac_space=' '; set | grep ac_space) 2>&1` in
2729
# `set' does not quote correctly, so add quotes (double-quote
2730
# substitution turns \\\\ into \\, and sed turns \\ into \).
2733
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2736
# `set' quotes correctly as required by POSIX, so do not add quotes.
2738
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2745
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2747
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2749
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2750
if test -w $cache_file; then
2751
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2752
cat confcache >$cache_file
2754
echo "not updating unwritable cache $cache_file"
2759
echo "configuring package in srclib/apr now"
2761
apr_config_subdirs="srclib/apr"
2762
test -d srclib/apr || $mkdir_p srclib/apr
2763
ac_abs_srcdir=`(cd $srcdir/srclib/apr && pwd)`
2766
# A "../" for each directory in /$config_subdirs.
2767
ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
2769
# Make the cache file pathname absolute for the subdirs
2770
# required to correctly handle subdirs that might actually
2772
case "$cache_file" in
2773
/*) # already absolute
2774
ac_sub_cache_file=$cache_file ;;
2775
*) # Was relative path.
2776
ac_sub_cache_file="$ac_popdir/$cache_file" ;;
2782
for apr_configure_arg in $ac_configure_args
2784
case "$apr_configure_arg" in
2785
--enable-layout=*|\'--enable-layout=*)
2788
apr_configure_args="$apr_configure_args$apr_sep'$apr_configure_arg'"
2793
# autoconf doesn't add --silent to ac_configure_args; explicitly pass it
2794
test "x$silent" = "xyes" && apr_configure_args="$apr_configure_args --silent"
2796
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
2798
echo "srclib/apr configured properly"
2800
echo "configure failed for srclib/apr"
2806
# grab any updates from the sub-package
2807
if test -r "$cache_file"; then
2808
# Some versions of bash will fail to source /dev/null (special
2809
# files actually), so we avoid doing that.
2810
if test -f "$cache_file"; then
2811
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
2812
echo "$as_me: loading cache $cache_file" >&6;}
2814
[\\/]* | ?:[\\/]* ) . $cache_file;;
2815
*) . ./$cache_file;;
2819
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
2820
echo "$as_me: creating cache $cache_file" >&6;}
2825
AP_BUILD_SRCLIB_DIRS="apr $AP_BUILD_SRCLIB_DIRS"
2826
AP_CLEAN_SRCLIB_DIRS="$AP_CLEAN_SRCLIB_DIRS apr"
2830
if test -z "$CC"; then
2831
test "x$silent" != "xyes" && echo " setting CC to \"`$apr_config --cc`\""
2832
CC="`$apr_config --cc`"
2836
if test -z "$CPP"; then
2837
test "x$silent" != "xyes" && echo " setting CPP to \"`$apr_config --cpp`\""
2838
CPP="`$apr_config --cpp`"
2842
if test "x$CFLAGS" = "x"; then
2843
test "x$silent" != "xyes" && echo " setting CFLAGS to \"`$apr_config --cflags`\""
2844
CFLAGS="`$apr_config --cflags`"
2846
apr_addto_bugger="`$apr_config --cflags`"
2847
for i in $apr_addto_bugger; do
2848
apr_addto_duplicate="0"
2849
for j in $CFLAGS; do
2850
if test "x$i" = "x$j"; then
2851
apr_addto_duplicate="1"
2855
if test $apr_addto_duplicate = "0"; then
2856
test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS"
2863
if test "x$CPPFLAGS" = "x"; then
2864
test "x$silent" != "xyes" && echo " setting CPPFLAGS to \"`$apr_config --cppflags`\""
2865
CPPFLAGS="`$apr_config --cppflags`"
2867
apr_addto_bugger="`$apr_config --cppflags`"
2868
for i in $apr_addto_bugger; do
2869
apr_addto_duplicate="0"
2870
for j in $CPPFLAGS; do
2871
if test "x$i" = "x$j"; then
2872
apr_addto_duplicate="1"
2876
if test $apr_addto_duplicate = "0"; then
2877
test "x$silent" != "xyes" && echo " adding \"$i\" to CPPFLAGS"
2878
CPPFLAGS="$CPPFLAGS $i"
2884
if test "x$LDFLAGS" = "x"; then
2885
test "x$silent" != "xyes" && echo " setting LDFLAGS to \"`$apr_config --ldflags`\""
2886
LDFLAGS="`$apr_config --ldflags`"
2888
apr_addto_bugger="`$apr_config --ldflags`"
2889
for i in $apr_addto_bugger; do
2890
apr_addto_duplicate="0"
2891
for j in $LDFLAGS; do
2892
if test "x$i" = "x$j"; then
2893
apr_addto_duplicate="1"
2897
if test $apr_addto_duplicate = "0"; then
2898
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
2899
LDFLAGS="$LDFLAGS $i"
2904
SHLIBPATH_VAR=`$apr_config --shlib-path-var`
2905
APR_BINDIR=`$apr_config --bindir`
2906
APR_INCLUDEDIR=`$apr_config --includedir`
2907
APR_VERSION=`$apr_config --version`
2908
APR_CONFIG="$APR_BINDIR/apr-`echo ${APR_VERSION} | sed 's,\..*,,'`-config"
2910
echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}"
2912
# Only APR-util 1.x is supported.
2915
if test "x$with_included_apr" = "xyes"; then
2917
apu_config="${srcdir}/srclib/apr-util/apu-${apu_version}-config"
2922
if test "$target_os" = "os2-emx"; then
2923
# Scripts don't pass test -x on OS/2
2929
acceptable_majors="${apu_version}"
2931
apu_temp_acceptable_apu_config=""
2932
for apu_temp_major in $acceptable_majors
2934
case $apu_temp_major in
2936
apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-config"
2939
apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-$apu_temp_major-config"
2944
echo "$as_me:$LINENO: checking for APR-util" >&5
2945
echo $ECHO_N "checking for APR-util... $ECHO_C" >&6
2947
# Check whether --with-apr-util or --without-apr-util was given.
2948
if test "${with_apr_util+set}" = set; then
2949
withval="$with_apr_util"
2951
if test "$withval" = "no" || test "$withval" = "yes"; then
2952
{ { echo "$as_me:$LINENO: error: --with-apr-util requires a directory or file to be provided" >&5
2953
echo "$as_me: error: --with-apr-util requires a directory or file to be provided" >&2;}
2954
{ (exit 1); exit 1; }; }
2957
for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
2959
for lookdir in "$withval/bin" "$withval"
2961
if $TEST_X "$lookdir/$apu_temp_apu_config_file"; then
2963
apu_config="$lookdir/$apu_temp_apu_config_file"
2969
if test "$apu_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
2971
apu_config="$withval"
2974
if test "$apu_found" != "yes"; then
2975
{ { 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
2976
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;}
2977
{ (exit 1); exit 1; }; }
2982
if test -n "1" && test "1" = "1"; then
2983
for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
2985
if $apu_temp_apu_config_file --help > /dev/null 2>&1 ; then
2987
apu_config="$apu_temp_apu_config_file"
2990
for lookdir in /usr /usr/local /usr/local/apr /opt/apr /usr/local/apache2 ; do
2991
if $TEST_X "$lookdir/bin/$apu_temp_apu_config_file"; then
2993
apu_config="$lookdir/bin/$apu_temp_apu_config_file"
3000
if test "$apu_found" = "no" && test -d ""$srcdir/srclib/apr-util""; then
3001
apu_temp_abs_srcdir="`cd "$srcdir/srclib/apr-util" && pwd`"
3002
apu_found="reconfig"
3003
apu_bundled_major="`sed -n '/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \""$srcdir/srclib/apr-util"/include/apu_version.h\"`"
3004
case $apu_bundled_major in
3006
{ { echo "$as_me:$LINENO: error: failed to find major version of bundled APU" >&5
3007
echo "$as_me: error: failed to find major version of bundled APU" >&2;}
3008
{ (exit 1); exit 1; }; }
3011
apu_temp_apu_config_file="apu-config"
3014
apu_temp_apu_config_file="apu-$apu_bundled_major-config"
3017
if test -n ""./srclib/apr-util""; then
3018
apu_config=""./srclib/apr-util"/$apu_temp_apu_config_file"
3020
apu_config=""$srcdir/srclib/apr-util"/$apu_temp_apu_config_file"
3026
echo "$as_me:$LINENO: result: $apu_found" >&5
3027
echo "${ECHO_T}$apu_found" >&6
3031
if test "$apu_found" = "no"; then
3032
{ { echo "$as_me:$LINENO: error: APR-util not found. Please read the documentation." >&5
3033
echo "$as_me: error: APR-util not found. Please read the documentation." >&2;}
3034
{ (exit 1); exit 1; }; }
3037
# Catch some misconfigurations:
3038
case ${apr_found}.${apu_found} in
3040
{ { echo "$as_me:$LINENO: error: Cannot use an external APR-util with the bundled APR" >&5
3041
echo "$as_me: error: Cannot use an external APR-util with the bundled APR" >&2;}
3042
{ (exit 1); exit 1; }; }
3045
{ { echo "$as_me:$LINENO: error: Cannot use an external APR with the bundled APR-util" >&5
3046
echo "$as_me: error: Cannot use an external APR with the bundled APR-util" >&2;}
3047
{ (exit 1); exit 1; }; }
3051
if test "$apu_found" = "reconfig"; then
3053
# save our work to this point; this allows the sub-package to use it
3054
cat >confcache <<\_ACEOF
3055
# This file is a shell script that caches the results of configure
3056
# tests run on this system so they can be shared between configure
3057
# scripts and configure runs, see configure's option --config-cache.
3058
# It is not useful on other systems. If it contains results you don't
3059
# want to keep, you may remove or edit it.
3061
# config.status only pays attention to the cache file if you give it
3062
# the --recheck option to rerun configure.
3064
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3065
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3070
# The following way of writing the cache mishandles newlines in values,
3071
# but we know of no workaround that is simple, portable, and efficient.
3072
# So, don't put newlines in cache variables' values.
3073
# Ultrix sh set writes to stderr and can't be redirected directly,
3074
# and sets the high bit in the cache file unless we assign to the vars.
3077
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3079
# `set' does not quote correctly, so add quotes (double-quote
3080
# substitution turns \\\\ into \\, and sed turns \\ into \).
3083
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3086
# `set' quotes correctly as required by POSIX, so do not add quotes.
3088
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3095
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3097
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3099
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3100
if test -w $cache_file; then
3101
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3102
cat confcache >$cache_file
3104
echo "not updating unwritable cache $cache_file"
3109
echo "configuring package in srclib/apr-util now"
3111
apr_config_subdirs="srclib/apr-util"
3112
test -d srclib/apr-util || $mkdir_p srclib/apr-util
3113
ac_abs_srcdir=`(cd $srcdir/srclib/apr-util && pwd)`
3116
# A "../" for each directory in /$config_subdirs.
3117
ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3119
# Make the cache file pathname absolute for the subdirs
3120
# required to correctly handle subdirs that might actually
3122
case "$cache_file" in
3123
/*) # already absolute
3124
ac_sub_cache_file=$cache_file ;;
3125
*) # Was relative path.
3126
ac_sub_cache_file="$ac_popdir/$cache_file" ;;
3132
for apr_configure_arg in $ac_configure_args
3134
case "$apr_configure_arg" in
3135
--enable-layout=*|\'--enable-layout=*)
3138
apr_configure_args="$apr_configure_args$apr_sep'$apr_configure_arg'"
3143
# autoconf doesn't add --silent to ac_configure_args; explicitly pass it
3144
test "x$silent" = "xyes" && apr_configure_args="$apr_configure_args --silent"
3146
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
3148
echo "srclib/apr-util configured properly"
3150
echo "configure failed for srclib/apr-util"
3156
# grab any updates from the sub-package
3157
if test -r "$cache_file"; then
3158
# Some versions of bash will fail to source /dev/null (special
3159
# files actually), so we avoid doing that.
3160
if test -f "$cache_file"; then
3161
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
3162
echo "$as_me: loading cache $cache_file" >&6;}
3164
[\\/]* | ?:[\\/]* ) . $cache_file;;
3165
*) . ./$cache_file;;
3169
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
3170
echo "$as_me: creating cache $cache_file" >&6;}
3175
AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS apr-util"
3176
AP_CLEAN_SRCLIB_DIRS="apr-util $AP_CLEAN_SRCLIB_DIRS"
3180
if test "x$LDFLAGS" = "x"; then
3181
test "x$silent" != "xyes" && echo " setting LDFLAGS to \"`$apu_config --ldflags`\""
3182
LDFLAGS="`$apu_config --ldflags`"
3184
apr_addto_bugger="`$apu_config --ldflags`"
3185
for i in $apr_addto_bugger; do
3186
apr_addto_duplicate="0"
3187
for j in $LDFLAGS; do
3188
if test "x$i" = "x$j"; then
3189
apr_addto_duplicate="1"
3193
if test $apr_addto_duplicate = "0"; then
3194
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
3195
LDFLAGS="$LDFLAGS $i"
3200
APU_BINDIR=`$apu_config --bindir`
3201
APU_INCLUDEDIR=`$apu_config --includedir`
3202
APU_VERSION=`$apu_config --version`
3203
APU_CONFIG="$APU_BINDIR/apu-`echo ${APU_VERSION} | sed 's,\..*,,'`-config"
3206
ac_cpp='$CPP $CPPFLAGS'
3207
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3210
if test -n "$ac_tool_prefix"; then
3211
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3212
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3213
echo "$as_me:$LINENO: checking for $ac_word" >&5
3214
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3215
if test "${ac_cv_prog_CC+set}" = set; then
3216
echo $ECHO_N "(cached) $ECHO_C" >&6
3218
if test -n "$CC"; then
3219
ac_cv_prog_CC="$CC" # Let the user override the test.
3221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225
test -z "$as_dir" && as_dir=.
3226
for ac_exec_ext in '' $ac_executable_extensions; do
3227
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3229
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238
if test -n "$CC"; then
3239
echo "$as_me:$LINENO: result: $CC" >&5
3240
echo "${ECHO_T}$CC" >&6
3242
echo "$as_me:$LINENO: result: no" >&5
3243
echo "${ECHO_T}no" >&6
3247
if test -z "$ac_cv_prog_CC"; then
3249
# Extract the first word of "gcc", so it can be a program name with args.
3250
set dummy gcc; ac_word=$2
3251
echo "$as_me:$LINENO: checking for $ac_word" >&5
3252
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3254
echo $ECHO_N "(cached) $ECHO_C" >&6
3256
if test -n "$ac_ct_CC"; then
3257
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263
test -z "$as_dir" && as_dir=.
3264
for ac_exec_ext in '' $ac_executable_extensions; do
3265
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266
ac_cv_prog_ac_ct_CC="gcc"
3267
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3275
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3276
if test -n "$ac_ct_CC"; then
3277
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3278
echo "${ECHO_T}$ac_ct_CC" >&6
3280
echo "$as_me:$LINENO: result: no" >&5
3281
echo "${ECHO_T}no" >&6
3289
if test -z "$CC"; then
3290
if test -n "$ac_tool_prefix"; then
3291
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3292
set dummy ${ac_tool_prefix}cc; ac_word=$2
3293
echo "$as_me:$LINENO: checking for $ac_word" >&5
3294
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3295
if test "${ac_cv_prog_CC+set}" = set; then
3296
echo $ECHO_N "(cached) $ECHO_C" >&6
3298
if test -n "$CC"; then
3299
ac_cv_prog_CC="$CC" # Let the user override the test.
3301
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305
test -z "$as_dir" && as_dir=.
3306
for ac_exec_ext in '' $ac_executable_extensions; do
3307
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308
ac_cv_prog_CC="${ac_tool_prefix}cc"
3309
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3318
if test -n "$CC"; then
3319
echo "$as_me:$LINENO: result: $CC" >&5
3320
echo "${ECHO_T}$CC" >&6
3322
echo "$as_me:$LINENO: result: no" >&5
3323
echo "${ECHO_T}no" >&6
3327
if test -z "$ac_cv_prog_CC"; then
3329
# Extract the first word of "cc", so it can be a program name with args.
3330
set dummy cc; ac_word=$2
3331
echo "$as_me:$LINENO: checking for $ac_word" >&5
3332
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3333
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3334
echo $ECHO_N "(cached) $ECHO_C" >&6
3336
if test -n "$ac_ct_CC"; then
3337
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3339
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343
test -z "$as_dir" && as_dir=.
3344
for ac_exec_ext in '' $ac_executable_extensions; do
3345
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346
ac_cv_prog_ac_ct_CC="cc"
3347
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3356
if test -n "$ac_ct_CC"; then
3357
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3358
echo "${ECHO_T}$ac_ct_CC" >&6
3360
echo "$as_me:$LINENO: result: no" >&5
3361
echo "${ECHO_T}no" >&6
3370
if test -z "$CC"; then
3371
# Extract the first word of "cc", so it can be a program name with args.
3372
set dummy cc; ac_word=$2
3373
echo "$as_me:$LINENO: checking for $ac_word" >&5
3374
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3375
if test "${ac_cv_prog_CC+set}" = set; then
3376
echo $ECHO_N "(cached) $ECHO_C" >&6
3378
if test -n "$CC"; then
3379
ac_cv_prog_CC="$CC" # Let the user override the test.
3382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386
test -z "$as_dir" && as_dir=.
3387
for ac_exec_ext in '' $ac_executable_extensions; do
3388
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3390
ac_prog_rejected=yes
3394
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400
if test $ac_prog_rejected = yes; then
3401
# We found a bogon in the path, so make sure we never use it.
3402
set dummy $ac_cv_prog_CC
3404
if test $# != 0; then
3405
# We chose a different compiler from the bogus one.
3406
# However, it has the same basename, so the bogon will be chosen
3407
# first if we set CC to just the basename; use the full file name.
3409
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3415
if test -n "$CC"; then
3416
echo "$as_me:$LINENO: result: $CC" >&5
3417
echo "${ECHO_T}$CC" >&6
3419
echo "$as_me:$LINENO: result: no" >&5
3420
echo "${ECHO_T}no" >&6
3424
if test -z "$CC"; then
3425
if test -n "$ac_tool_prefix"; then
3428
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3429
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3430
echo "$as_me:$LINENO: checking for $ac_word" >&5
3431
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3432
if test "${ac_cv_prog_CC+set}" = set; then
3433
echo $ECHO_N "(cached) $ECHO_C" >&6
3435
if test -n "$CC"; then
3436
ac_cv_prog_CC="$CC" # Let the user override the test.
3438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442
test -z "$as_dir" && as_dir=.
3443
for ac_exec_ext in '' $ac_executable_extensions; do
3444
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3445
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3446
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455
if test -n "$CC"; then
3456
echo "$as_me:$LINENO: result: $CC" >&5
3457
echo "${ECHO_T}$CC" >&6
3459
echo "$as_me:$LINENO: result: no" >&5
3460
echo "${ECHO_T}no" >&6
3463
test -n "$CC" && break
3466
if test -z "$CC"; then
3470
# Extract the first word of "$ac_prog", so it can be a program name with args.
3471
set dummy $ac_prog; ac_word=$2
3472
echo "$as_me:$LINENO: checking for $ac_word" >&5
3473
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3474
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3475
echo $ECHO_N "(cached) $ECHO_C" >&6
3477
if test -n "$ac_ct_CC"; then
3478
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3480
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484
test -z "$as_dir" && as_dir=.
3485
for ac_exec_ext in '' $ac_executable_extensions; do
3486
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3487
ac_cv_prog_ac_ct_CC="$ac_prog"
3488
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3496
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3497
if test -n "$ac_ct_CC"; then
3498
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3499
echo "${ECHO_T}$ac_ct_CC" >&6
3501
echo "$as_me:$LINENO: result: no" >&5
3502
echo "${ECHO_T}no" >&6
3505
test -n "$ac_ct_CC" && break
3514
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3515
See \`config.log' for more details." >&5
3516
echo "$as_me: error: no acceptable C compiler found in \$PATH
3517
See \`config.log' for more details." >&2;}
3518
{ (exit 1); exit 1; }; }
3520
# Provide some information about the compiler.
3521
echo "$as_me:$LINENO:" \
3522
"checking for C compiler version" >&5
3523
ac_compiler=`set X $ac_compile; echo $2`
3524
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3525
(eval $ac_compiler --version </dev/null >&5) 2>&5
3527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528
(exit $ac_status); }
3529
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3530
(eval $ac_compiler -v </dev/null >&5) 2>&5
3532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533
(exit $ac_status); }
3534
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3535
(eval $ac_compiler -V </dev/null >&5) 2>&5
3537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538
(exit $ac_status); }
3540
cat >conftest.$ac_ext <<_ACEOF
3543
cat confdefs.h >>conftest.$ac_ext
3544
cat >>conftest.$ac_ext <<_ACEOF
3545
/* end confdefs.h. */
3555
ac_clean_files_save=$ac_clean_files
3556
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3557
# Try to create an executable without -o first, disregard a.out.
3558
# It will help us diagnose broken compilers, and finding out an intuition
3560
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3561
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3562
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3563
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3564
(eval $ac_link_default) 2>&5
3566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567
(exit $ac_status); }; then
3568
# Find the output, starting from the most likely. This scheme is
3569
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
3572
# Be careful to initialize this variable, since it used to be cached.
3573
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3575
# b.out is created by i960 compilers.
3576
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3578
test -f "$ac_file" || continue
3580
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3583
# This is the source file.
3586
# We found the default executable, but exeext='' is most
3590
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3591
# FIXME: I believe we export ac_cv_exeext for Libtool,
3592
# but it would be cool to find out if it's true. Does anybody
3593
# maintain Libtool? --akim.
3601
echo "$as_me: failed program was:" >&5
3602
sed 's/^/| /' conftest.$ac_ext >&5
3604
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3605
See \`config.log' for more details." >&5
3606
echo "$as_me: error: C compiler cannot create executables
3607
See \`config.log' for more details." >&2;}
3608
{ (exit 77); exit 77; }; }
3611
ac_exeext=$ac_cv_exeext
3612
echo "$as_me:$LINENO: result: $ac_file" >&5
3613
echo "${ECHO_T}$ac_file" >&6
3615
# Check the compiler produces executables we can run. If not, either
3616
# the compiler is broken, or we cross compile.
3617
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3618
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3619
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3620
# If not cross compiling, check that we can run a simple program.
3621
if test "$cross_compiling" != yes; then
3622
if { ac_try='./$ac_file'
3623
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627
(exit $ac_status); }; }; then
3630
if test "$cross_compiling" = maybe; then
3633
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3634
If you meant to cross compile, use \`--host'.
3635
See \`config.log' for more details." >&5
3636
echo "$as_me: error: cannot run C compiled programs.
3637
If you meant to cross compile, use \`--host'.
3638
See \`config.log' for more details." >&2;}
3639
{ (exit 1); exit 1; }; }
3643
echo "$as_me:$LINENO: result: yes" >&5
3644
echo "${ECHO_T}yes" >&6
3646
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3647
ac_clean_files=$ac_clean_files_save
3648
# Check the compiler produces executables we can run. If not, either
3649
# the compiler is broken, or we cross compile.
3650
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3651
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3652
echo "$as_me:$LINENO: result: $cross_compiling" >&5
3653
echo "${ECHO_T}$cross_compiling" >&6
3655
echo "$as_me:$LINENO: checking for suffix of executables" >&5
3656
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3657
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3658
(eval $ac_link) 2>&5
3660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661
(exit $ac_status); }; then
3662
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3663
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3664
# work properly (i.e., refer to `conftest.exe'), while it won't with
3666
for ac_file in conftest.exe conftest conftest.*; do
3667
test -f "$ac_file" || continue
3669
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3670
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3677
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3678
See \`config.log' for more details." >&5
3679
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3680
See \`config.log' for more details." >&2;}
3681
{ (exit 1); exit 1; }; }
3684
rm -f conftest$ac_cv_exeext
3685
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3686
echo "${ECHO_T}$ac_cv_exeext" >&6
3688
rm -f conftest.$ac_ext
3689
EXEEXT=$ac_cv_exeext
3691
echo "$as_me:$LINENO: checking for suffix of object files" >&5
3692
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3693
if test "${ac_cv_objext+set}" = set; then
3694
echo $ECHO_N "(cached) $ECHO_C" >&6
3696
cat >conftest.$ac_ext <<_ACEOF
3699
cat confdefs.h >>conftest.$ac_ext
3700
cat >>conftest.$ac_ext <<_ACEOF
3701
/* end confdefs.h. */
3711
rm -f conftest.o conftest.obj
3712
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713
(eval $ac_compile) 2>&5
3715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716
(exit $ac_status); }; then
3717
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3719
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3720
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3725
echo "$as_me: failed program was:" >&5
3726
sed 's/^/| /' conftest.$ac_ext >&5
3728
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3729
See \`config.log' for more details." >&5
3730
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3731
See \`config.log' for more details." >&2;}
3732
{ (exit 1); exit 1; }; }
3735
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3737
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3738
echo "${ECHO_T}$ac_cv_objext" >&6
3739
OBJEXT=$ac_cv_objext
3741
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3742
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3743
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3744
echo $ECHO_N "(cached) $ECHO_C" >&6
3746
cat >conftest.$ac_ext <<_ACEOF
3749
cat confdefs.h >>conftest.$ac_ext
3750
cat >>conftest.$ac_ext <<_ACEOF
3751
/* end confdefs.h. */
3764
rm -f conftest.$ac_objext
3765
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3766
(eval $ac_compile) 2>conftest.er1
3768
grep -v '^ *+' conftest.er1 >conftest.err
3770
cat conftest.err >&5
3771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772
(exit $ac_status); } &&
3773
{ ac_try='test -z "$ac_c_werror_flag"
3774
|| test ! -s conftest.err'
3775
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
(exit $ac_status); }; } &&
3780
{ ac_try='test -s conftest.$ac_objext'
3781
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785
(exit $ac_status); }; }; then
3788
echo "$as_me: failed program was:" >&5
3789
sed 's/^/| /' conftest.$ac_ext >&5
3793
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3794
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3797
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3798
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3799
GCC=`test $ac_compiler_gnu = yes && echo yes`
3800
ac_test_CFLAGS=${CFLAGS+set}
3801
ac_save_CFLAGS=$CFLAGS
3803
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3804
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3805
if test "${ac_cv_prog_cc_g+set}" = set; then
3806
echo $ECHO_N "(cached) $ECHO_C" >&6
3808
cat >conftest.$ac_ext <<_ACEOF
3811
cat confdefs.h >>conftest.$ac_ext
3812
cat >>conftest.$ac_ext <<_ACEOF
3813
/* end confdefs.h. */
3823
rm -f conftest.$ac_objext
3824
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3825
(eval $ac_compile) 2>conftest.er1
3827
grep -v '^ *+' conftest.er1 >conftest.err
3829
cat conftest.err >&5
3830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831
(exit $ac_status); } &&
3832
{ ac_try='test -z "$ac_c_werror_flag"
3833
|| test ! -s conftest.err'
3834
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838
(exit $ac_status); }; } &&
3839
{ ac_try='test -s conftest.$ac_objext'
3840
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844
(exit $ac_status); }; }; then
3847
echo "$as_me: failed program was:" >&5
3848
sed 's/^/| /' conftest.$ac_ext >&5
3852
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3854
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3855
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3856
if test "$ac_test_CFLAGS" = set; then
3857
CFLAGS=$ac_save_CFLAGS
3858
elif test $ac_cv_prog_cc_g = yes; then
3859
if test "$GCC" = yes; then
3865
if test "$GCC" = yes; then
3871
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3872
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3873
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3874
echo $ECHO_N "(cached) $ECHO_C" >&6
3876
ac_cv_prog_cc_stdc=no
3878
cat >conftest.$ac_ext <<_ACEOF
3881
cat confdefs.h >>conftest.$ac_ext
3882
cat >>conftest.$ac_ext <<_ACEOF
3883
/* end confdefs.h. */
3886
#include <sys/types.h>
3887
#include <sys/stat.h>
3888
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3889
struct buf { int x; };
3890
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3891
static char *e (p, i)
3897
static char *f (char * (*g) (char **, int), char **p, ...)
3902
s = g (p, va_arg (v,int));
3907
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3908
function prototypes and stuff, but not '\xHH' hex character constants.
3909
These don't provoke an error unfortunately, instead are silently treated
3910
as 'x'. The following induces an error, until -std1 is added to get
3911
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3912
array size at least. It's necessary to write '\x00'==0 to get something
3913
that's true only with -std1. */
3914
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3916
int test (int i, double x);
3917
struct s1 {int (*f) (int a);};
3918
struct s2 {int (*f) (double a);};
3919
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3925
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3930
# Don't try gcc -ansi; that turns off useful extensions and
3931
# breaks some systems' header files.
3932
# AIX -qlanglvl=ansi
3933
# Ultrix and OSF/1 -std1
3934
# HP-UX 10.20 and later -Ae
3935
# HP-UX older versions -Aa -D_HPUX_SOURCE
3936
# SVR4 -Xc -D__EXTENSIONS__
3937
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3939
CC="$ac_save_CC $ac_arg"
3940
rm -f conftest.$ac_objext
3941
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3942
(eval $ac_compile) 2>conftest.er1
3944
grep -v '^ *+' conftest.er1 >conftest.err
3946
cat conftest.err >&5
3947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948
(exit $ac_status); } &&
3949
{ ac_try='test -z "$ac_c_werror_flag"
3950
|| test ! -s conftest.err'
3951
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955
(exit $ac_status); }; } &&
3956
{ ac_try='test -s conftest.$ac_objext'
3957
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961
(exit $ac_status); }; }; then
3962
ac_cv_prog_cc_stdc=$ac_arg
3965
echo "$as_me: failed program was:" >&5
3966
sed 's/^/| /' conftest.$ac_ext >&5
3969
rm -f conftest.err conftest.$ac_objext
3971
rm -f conftest.$ac_ext conftest.$ac_objext
3976
case "x$ac_cv_prog_cc_stdc" in
3978
echo "$as_me:$LINENO: result: none needed" >&5
3979
echo "${ECHO_T}none needed" >&6 ;;
3981
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3982
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3983
CC="$CC $ac_cv_prog_cc_stdc" ;;
3986
# Some people use a C++ compiler to compile C. Since we use `exit',
3987
# in C++ we need to declare it. In case someone uses the same compiler
3988
# for both compiling C and C++ we need to have the C++ compiler decide
3989
# the declaration of exit, since it's the most demanding environment.
3990
cat >conftest.$ac_ext <<_ACEOF
3995
rm -f conftest.$ac_objext
3996
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3997
(eval $ac_compile) 2>conftest.er1
3999
grep -v '^ *+' conftest.er1 >conftest.err
4001
cat conftest.err >&5
4002
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003
(exit $ac_status); } &&
4004
{ ac_try='test -z "$ac_c_werror_flag"
4005
|| test ! -s conftest.err'
4006
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
(exit $ac_status); }; } &&
4011
{ ac_try='test -s conftest.$ac_objext'
4012
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016
(exit $ac_status); }; }; then
4017
for ac_declaration in \
4019
'extern "C" void std::exit (int) throw (); using std::exit;' \
4020
'extern "C" void std::exit (int); using std::exit;' \
4021
'extern "C" void exit (int) throw ();' \
4022
'extern "C" void exit (int);' \
4025
cat >conftest.$ac_ext <<_ACEOF
4028
cat confdefs.h >>conftest.$ac_ext
4029
cat >>conftest.$ac_ext <<_ACEOF
4030
/* end confdefs.h. */
4041
rm -f conftest.$ac_objext
4042
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4043
(eval $ac_compile) 2>conftest.er1
4045
grep -v '^ *+' conftest.er1 >conftest.err
4047
cat conftest.err >&5
4048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049
(exit $ac_status); } &&
4050
{ ac_try='test -z "$ac_c_werror_flag"
4051
|| test ! -s conftest.err'
4052
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056
(exit $ac_status); }; } &&
4057
{ ac_try='test -s conftest.$ac_objext'
4058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062
(exit $ac_status); }; }; then
4065
echo "$as_me: failed program was:" >&5
4066
sed 's/^/| /' conftest.$ac_ext >&5
4070
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4071
cat >conftest.$ac_ext <<_ACEOF
4074
cat confdefs.h >>conftest.$ac_ext
4075
cat >>conftest.$ac_ext <<_ACEOF
4076
/* end confdefs.h. */
4086
rm -f conftest.$ac_objext
4087
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4088
(eval $ac_compile) 2>conftest.er1
4090
grep -v '^ *+' conftest.er1 >conftest.err
4092
cat conftest.err >&5
4093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094
(exit $ac_status); } &&
4095
{ ac_try='test -z "$ac_c_werror_flag"
4096
|| test ! -s conftest.err'
4097
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101
(exit $ac_status); }; } &&
4102
{ ac_try='test -s conftest.$ac_objext'
4103
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107
(exit $ac_status); }; }; then
4110
echo "$as_me: failed program was:" >&5
4111
sed 's/^/| /' conftest.$ac_ext >&5
4114
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4117
if test -n "$ac_declaration"; then
4118
echo '#ifdef __cplusplus' >>confdefs.h
4119
echo $ac_declaration >>confdefs.h
4120
echo '#endif' >>confdefs.h
4124
echo "$as_me: failed program was:" >&5
4125
sed 's/^/| /' conftest.$ac_ext >&5
4128
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4130
ac_cpp='$CPP $CPPFLAGS'
4131
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136
ac_cpp='$CPP $CPPFLAGS'
4137
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4141
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4142
# On Suns, sometimes $CPP names a directory.
4143
if test -n "$CPP" && test -d "$CPP"; then
4146
if test -z "$CPP"; then
4147
if test "${ac_cv_prog_CPP+set}" = set; then
4148
echo $ECHO_N "(cached) $ECHO_C" >&6
4150
# Double quotes because CPP needs to be expanded
4151
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4154
for ac_c_preproc_warn_flag in '' yes
4156
# Use a header file that comes with gcc, so configuring glibc
4157
# with a fresh cross-compiler works.
4158
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4159
# <limits.h> exists even on freestanding compilers.
4160
# On the NeXT, cc -E runs the code through the compiler's parser,
4161
# not just through cpp. "Syntax error" is here to catch this case.
4162
cat >conftest.$ac_ext <<_ACEOF
4165
cat confdefs.h >>conftest.$ac_ext
4166
cat >>conftest.$ac_ext <<_ACEOF
4167
/* end confdefs.h. */
4169
# include <limits.h>
4171
# include <assert.h>
4175
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4176
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4178
grep -v '^ *+' conftest.er1 >conftest.err
4180
cat conftest.err >&5
4181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182
(exit $ac_status); } >/dev/null; then
4183
if test -s conftest.err; then
4184
ac_cpp_err=$ac_c_preproc_warn_flag
4185
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4192
if test -z "$ac_cpp_err"; then
4195
echo "$as_me: failed program was:" >&5
4196
sed 's/^/| /' conftest.$ac_ext >&5
4198
# Broken: fails on valid input.
4201
rm -f conftest.err conftest.$ac_ext
4203
# OK, works on sane cases. Now check whether non-existent headers
4204
# can be detected and how.
4205
cat >conftest.$ac_ext <<_ACEOF
4208
cat confdefs.h >>conftest.$ac_ext
4209
cat >>conftest.$ac_ext <<_ACEOF
4210
/* end confdefs.h. */
4211
#include <ac_nonexistent.h>
4213
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4214
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4216
grep -v '^ *+' conftest.er1 >conftest.err
4218
cat conftest.err >&5
4219
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220
(exit $ac_status); } >/dev/null; then
4221
if test -s conftest.err; then
4222
ac_cpp_err=$ac_c_preproc_warn_flag
4223
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4230
if test -z "$ac_cpp_err"; then
4231
# Broken: success on invalid input.
4234
echo "$as_me: failed program was:" >&5
4235
sed 's/^/| /' conftest.$ac_ext >&5
4237
# Passes both tests.
4241
rm -f conftest.err conftest.$ac_ext
4244
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4245
rm -f conftest.err conftest.$ac_ext
4246
if $ac_preproc_ok; then
4258
echo "$as_me:$LINENO: result: $CPP" >&5
4259
echo "${ECHO_T}$CPP" >&6
4261
for ac_c_preproc_warn_flag in '' yes
4263
# Use a header file that comes with gcc, so configuring glibc
4264
# with a fresh cross-compiler works.
4265
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4266
# <limits.h> exists even on freestanding compilers.
4267
# On the NeXT, cc -E runs the code through the compiler's parser,
4268
# not just through cpp. "Syntax error" is here to catch this case.
4269
cat >conftest.$ac_ext <<_ACEOF
4272
cat confdefs.h >>conftest.$ac_ext
4273
cat >>conftest.$ac_ext <<_ACEOF
4274
/* end confdefs.h. */
4276
# include <limits.h>
4278
# include <assert.h>
4282
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4283
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4285
grep -v '^ *+' conftest.er1 >conftest.err
4287
cat conftest.err >&5
4288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289
(exit $ac_status); } >/dev/null; then
4290
if test -s conftest.err; then
4291
ac_cpp_err=$ac_c_preproc_warn_flag
4292
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4299
if test -z "$ac_cpp_err"; then
4302
echo "$as_me: failed program was:" >&5
4303
sed 's/^/| /' conftest.$ac_ext >&5
4305
# Broken: fails on valid input.
4308
rm -f conftest.err conftest.$ac_ext
4310
# OK, works on sane cases. Now check whether non-existent headers
4311
# can be detected and how.
4312
cat >conftest.$ac_ext <<_ACEOF
4315
cat confdefs.h >>conftest.$ac_ext
4316
cat >>conftest.$ac_ext <<_ACEOF
4317
/* end confdefs.h. */
4318
#include <ac_nonexistent.h>
4320
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4321
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4323
grep -v '^ *+' conftest.er1 >conftest.err
4325
cat conftest.err >&5
4326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327
(exit $ac_status); } >/dev/null; then
4328
if test -s conftest.err; then
4329
ac_cpp_err=$ac_c_preproc_warn_flag
4330
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4337
if test -z "$ac_cpp_err"; then
4338
# Broken: success on invalid input.
4341
echo "$as_me: failed program was:" >&5
4342
sed 's/^/| /' conftest.$ac_ext >&5
4344
# Passes both tests.
4348
rm -f conftest.err conftest.$ac_ext
4351
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4352
rm -f conftest.err conftest.$ac_ext
4353
if $ac_preproc_ok; then
4356
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4357
See \`config.log' for more details." >&5
4358
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4359
See \`config.log' for more details." >&2;}
4360
{ (exit 1); exit 1; }; }
4364
ac_cpp='$CPP $CPPFLAGS'
4365
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370
if test "x${cache_file}" = "x/dev/null"; then
4371
# Likewise, ensure that CC and CPP are passed through to the pcre
4372
# configure script iff caching is disabled (the autoconf 2.5x default).
4373
export CC; export CPP
4376
abs_srcdir=`(cd $srcdir && pwd)`
4380
# Check whether --with-pcre or --without-pcre was given.
4381
if test "${with_pcre+set}" = set; then
4382
withval="$with_pcre"
4387
yes) # Extract the first word of "pcre-config", so it can be a program name with args.
4388
set dummy pcre-config; ac_word=$2
4389
echo "$as_me:$LINENO: checking for $ac_word" >&5
4390
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4391
if test "${ac_cv_path_PCRE_CONFIG+set}" = set; then
4392
echo $ECHO_N "(cached) $ECHO_C" >&6
4394
case $PCRE_CONFIG in
4396
ac_cv_path_PCRE_CONFIG="$PCRE_CONFIG" # Let the user override the test with a path.
4399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403
test -z "$as_dir" && as_dir=.
4404
for ac_exec_ext in '' $ac_executable_extensions; do
4405
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406
ac_cv_path_PCRE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4407
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4413
test -z "$ac_cv_path_PCRE_CONFIG" && ac_cv_path_PCRE_CONFIG="false"
4417
PCRE_CONFIG=$ac_cv_path_PCRE_CONFIG
4419
if test -n "$PCRE_CONFIG"; then
4420
echo "$as_me:$LINENO: result: $PCRE_CONFIG" >&5
4421
echo "${ECHO_T}$PCRE_CONFIG" >&6
4423
echo "$as_me:$LINENO: result: no" >&5
4424
echo "${ECHO_T}no" >&6
4427
/*) if test -d "$with_pcre" && test -x "$with_pcre/bin/pcre-config"; then
4428
PCRE_CONFIG=$with_pcre/bin/pcre-config
4429
elif test -x "$with_pcre"; then
4430
PCRE_CONFIG=$with_pcre
4433
if $PCRE_CONFIG --version >/dev/null 2>&1; then :; else
4434
{ { echo "$as_me:$LINENO: error: Did not find pcre-config script at $PCRE_CONFIG" >&5
4435
echo "$as_me: error: Did not find pcre-config script at $PCRE_CONFIG" >&2;}
4436
{ (exit 1); exit 1; }; }
4439
*) PCRE_CONFIG=false ;;
4442
if test "$PCRE_CONFIG" != "false"; then
4443
{ echo "$as_me:$LINENO: Using external PCRE library from $PCRE_CONFIG" >&5
4444
echo "$as_me: Using external PCRE library from $PCRE_CONFIG" >&6;}
4446
if test "x$CFLAGS" = "x"; then
4447
test "x$silent" != "xyes" && echo " setting CFLAGS to \"`$PCRE_CONFIG --cflags`\""
4448
CFLAGS="`$PCRE_CONFIG --cflags`"
4450
apr_addto_bugger="`$PCRE_CONFIG --cflags`"
4451
for i in $apr_addto_bugger; do
4452
apr_addto_duplicate="0"
4453
for j in $CFLAGS; do
4454
if test "x$i" = "x$j"; then
4455
apr_addto_duplicate="1"
4459
if test $apr_addto_duplicate = "0"; then
4460
test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS"
4467
if test "x$LIBS" = "x"; then
4468
test "x$silent" != "xyes" && echo " setting LIBS to \"`$PCRE_CONFIG --libs`\""
4469
LIBS="`$PCRE_CONFIG --libs`"
4471
apr_addto_bugger="`$PCRE_CONFIG --libs`"
4472
for i in $apr_addto_bugger; do
4473
apr_addto_duplicate="0"
4475
if test "x$i" = "x$j"; then
4476
apr_addto_duplicate="1"
4480
if test $apr_addto_duplicate = "0"; then
4481
test "x$silent" != "xyes" && echo " adding \"$i\" to LIBS"
4488
# Build the bundled PCRE
4489
{ echo "$as_me:$LINENO: Configuring PCRE regular expression library" >&5
4490
echo "$as_me: Configuring PCRE regular expression library" >&6;}
4493
# save our work to this point; this allows the sub-package to use it
4494
cat >confcache <<\_ACEOF
4495
# This file is a shell script that caches the results of configure
4496
# tests run on this system so they can be shared between configure
4497
# scripts and configure runs, see configure's option --config-cache.
4498
# It is not useful on other systems. If it contains results you don't
4499
# want to keep, you may remove or edit it.
4501
# config.status only pays attention to the cache file if you give it
4502
# the --recheck option to rerun configure.
4504
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4505
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4510
# The following way of writing the cache mishandles newlines in values,
4511
# but we know of no workaround that is simple, portable, and efficient.
4512
# So, don't put newlines in cache variables' values.
4513
# Ultrix sh set writes to stderr and can't be redirected directly,
4514
# and sets the high bit in the cache file unless we assign to the vars.
4517
case `(ac_space=' '; set | grep ac_space) 2>&1` in
4519
# `set' does not quote correctly, so add quotes (double-quote
4520
# substitution turns \\\\ into \\, and sed turns \\ into \).
4523
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4526
# `set' quotes correctly as required by POSIX, so do not add quotes.
4528
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4535
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4537
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4539
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4540
if test -w $cache_file; then
4541
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4542
cat confcache >$cache_file
4544
echo "not updating unwritable cache $cache_file"
4549
echo "configuring package in srclib/pcre now"
4551
apr_config_subdirs="srclib/pcre"
4552
test -d srclib/pcre || $mkdir_p srclib/pcre
4553
ac_abs_srcdir=`(cd $srcdir/srclib/pcre && pwd)`
4556
# A "../" for each directory in /$config_subdirs.
4557
ac_dots=`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
4559
# Make the cache file pathname absolute for the subdirs
4560
# required to correctly handle subdirs that might actually
4562
case "$cache_file" in
4563
/*) # already absolute
4564
ac_sub_cache_file=$cache_file ;;
4565
*) # Was relative path.
4566
ac_sub_cache_file="$ac_popdir/$cache_file" ;;
4569
apr_configure_args=$ac_configure_args
4571
# autoconf doesn't add --silent to ac_configure_args; explicitly pass it
4572
test "x$silent" = "xyes" && apr_configure_args="$apr_configure_args --silent"
4574
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
4576
echo "srclib/pcre configured properly"
4578
echo "configure failed for srclib/pcre"
4584
# grab any updates from the sub-package
4585
if test -r "$cache_file"; then
4586
# Some versions of bash will fail to source /dev/null (special
4587
# files actually), so we avoid doing that.
4588
if test -f "$cache_file"; then
4589
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
4590
echo "$as_me: loading cache $cache_file" >&6;}
4592
[\\/]* | ?:[\\/]* ) . $cache_file;;
4593
*) . ./$cache_file;;
4597
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
4598
echo "$as_me: creating cache $cache_file" >&6;}
4605
if test "x$AP_LIBS" = "x"; then
4606
test "x$silent" != "xyes" && echo " setting AP_LIBS to \"$abs_builddir/srclib/pcre/libpcre.la\""
4607
AP_LIBS="$abs_builddir/srclib/pcre/libpcre.la"
4609
apr_addto_bugger="$abs_builddir/srclib/pcre/libpcre.la"
4610
for i in $apr_addto_bugger; do
4611
apr_addto_duplicate="0"
4612
for j in $AP_LIBS; do
4613
if test "x$i" = "x$j"; then
4614
apr_addto_duplicate="1"
4618
if test $apr_addto_duplicate = "0"; then
4619
test "x$silent" != "xyes" && echo " adding \"$i\" to AP_LIBS"
4620
AP_LIBS="$AP_LIBS $i"
4626
if test "x$INCLUDES" = "x"; then
4627
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_builddir)/srclib/pcre\""
4628
INCLUDES="-I\$(top_builddir)/srclib/pcre"
4630
apr_addto_bugger="-I\$(top_builddir)/srclib/pcre"
4631
for i in $apr_addto_bugger; do
4632
apr_addto_duplicate="0"
4633
for j in $INCLUDES; do
4634
if test "x$i" = "x$j"; then
4635
apr_addto_duplicate="1"
4639
if test $apr_addto_duplicate = "0"; then
4640
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
4641
INCLUDES="$INCLUDES $i"
4647
AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS pcre"
4648
AP_CLEAN_SRCLIB_DIRS="$AP_CLEAN_SRCLIB_DIRS pcre"
4651
echo $ac_n "${nl}Configuring Apache httpd ...${nl}"
4655
if test "x$INCLUDES" = "x"; then
4656
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I.\""
4659
apr_addto_bugger="-I."
4660
for i in $apr_addto_bugger; do
4661
apr_addto_duplicate="0"
4662
for j in $INCLUDES; do
4663
if test "x$i" = "x$j"; then
4664
apr_addto_duplicate="1"
4668
if test $apr_addto_duplicate = "0"; then
4669
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
4670
INCLUDES="$INCLUDES $i"
4676
if test "$abs_builddir" != "$abs_srcdir"; then
4678
if test "x$INCLUDES" = "x"; then
4679
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_builddir)/include\""
4680
INCLUDES="-I\$(top_builddir)/include"
4682
apr_addto_bugger="-I\$(top_builddir)/include"
4683
for i in $apr_addto_bugger; do
4684
apr_addto_duplicate="0"
4685
for j in $INCLUDES; do
4686
if test "x$i" = "x$j"; then
4687
apr_addto_duplicate="1"
4691
if test $apr_addto_duplicate = "0"; then
4692
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
4693
INCLUDES="$INCLUDES $i"
4701
if test "x$INCLUDES" = "x"; then
4702
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\""
4703
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"
4705
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"
4706
for i in $apr_addto_bugger; do
4707
apr_addto_duplicate="0"
4708
for j in $INCLUDES; do
4709
if test "x$i" = "x$j"; then
4710
apr_addto_duplicate="1"
4714
if test $apr_addto_duplicate = "0"; then
4715
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
4716
INCLUDES="$INCLUDES $i"
4722
# apr/apr-util --includes may pick up system paths for dependent
4723
# libraries, so ensure these are later in INCLUDES than local source
4726
if test "x$INCLUDES" = "x"; then
4727
test "x$silent" != "xyes" && echo " setting INCLUDES to \"`$apr_config --includes`\""
4728
INCLUDES="`$apr_config --includes`"
4730
apr_addto_bugger="`$apr_config --includes`"
4731
for i in $apr_addto_bugger; do
4732
apr_addto_duplicate="0"
4733
for j in $INCLUDES; do
4734
if test "x$i" = "x$j"; then
4735
apr_addto_duplicate="1"
4739
if test $apr_addto_duplicate = "0"; then
4740
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
4741
INCLUDES="$INCLUDES $i"
4747
if test "x$INCLUDES" = "x"; then
4748
test "x$silent" != "xyes" && echo " setting INCLUDES to \"`$apu_config --includes`\""
4749
INCLUDES="`$apu_config --includes`"
4751
apr_addto_bugger="`$apu_config --includes`"
4752
for i in $apr_addto_bugger; do
4753
apr_addto_duplicate="0"
4754
for j in $INCLUDES; do
4755
if test "x$i" = "x$j"; then
4756
apr_addto_duplicate="1"
4760
if test $apr_addto_duplicate = "0"; then
4761
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
4762
INCLUDES="$INCLUDES $i"
4768
echo $ac_n "${nl}Applying OS-specific hints for httpd ...${nl}"
4772
# Use a custom made libtool replacement
4773
echo "using aplibtool"
4774
LIBTOOL="$abs_srcdir/srclib/apr/build/aplibtool"
4775
SH_LIBTOOL="$LIBTOOL --shared --export-all"
4776
SH_LIBS="\$(ALL_LIBS)"
4777
CORE_IMPLIB_FILE="ApacheCoreOS2.la"
4778
CORE_IMPLIB="$abs_srcdir/server/$CORE_IMPLIB_FILE"
4780
other_targets="$other_targets os2core"
4781
INSTALL_PROG_FLAGS="-e .exe"
4786
if test "x$LTFLAGS" = "x"; then
4789
my_libtool=`$apr_config --apr-libtool`
4790
LIBTOOL="$my_libtool \$(LTFLAGS)"
4791
libtoolversion=`$my_libtool --version`
4792
case $libtoolversion in
4794
SH_LIBTOOL='$(LIBTOOL)'
4795
SHLTCFLAGS="-prefer-pic"
4796
LTCFLAGS="-prefer-non-pic -static"
4799
SH_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool $(LTFLAGS)'
4807
APACHE_VAR_SUBST="$APACHE_VAR_SUBST SHLTCFLAGS"
4811
APACHE_VAR_SUBST="$APACHE_VAR_SUBST LTCFLAGS"
4818
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"prefork\""
4819
APACHE_MPM="prefork"
4822
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4823
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4828
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"beos\""
4832
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4833
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4838
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"mpmt_os2\""
4839
APACHE_MPM="mpmt_os2"
4842
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4843
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4850
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4851
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4858
*486-*-bsdi* | *-netbsd* | *-freebsd* | *-apple-darwin* | *-dec-osf* | *-qnx)
4860
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4861
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4865
ap_platform_runtime_link_flag="-R"
4871
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4872
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4879
test "x$silent" != "xyes" && echo " forcing APACHE_MPM to \"prefork\""
4880
APACHE_MPM="prefork"
4883
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4884
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4888
aixver=`echo $host | sed 's/^[^0-9]*//' | sed 's/\.//g'`
4889
if test $aixver -ge 4320; then
4891
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4892
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4898
test "x$silent" != "xyes" && echo " forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to \"1\""
4899
SINGLE_LISTEN_UNSERIALIZED_ACCEPT="1"
4905
test "x$silent" != "xyes" && echo " forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to \"1\""
4906
AP_NONBLOCK_WHEN_MULTI_LISTEN="1"
4911
# Extract the first word of "rm", so it can be a program name with args.
4912
set dummy rm; ac_word=$2
4913
echo "$as_me:$LINENO: checking for $ac_word" >&5
4914
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4915
if test "${ac_cv_path_RM+set}" = set; then
4916
echo $ECHO_N "(cached) $ECHO_C" >&6
4920
ac_cv_path_RM="$RM" # Let the user override the test with a path.
4923
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927
test -z "$as_dir" && as_dir=.
4928
for ac_exec_ext in '' $ac_executable_extensions; do
4929
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4930
ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4931
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4942
if test -n "$RM"; then
4943
echo "$as_me:$LINENO: result: $RM" >&5
4944
echo "${ECHO_T}$RM" >&6
4946
echo "$as_me:$LINENO: result: no" >&5
4947
echo "${ECHO_T}no" >&6
4950
# Extract the first word of "pkg-config", so it can be a program name with args.
4951
set dummy pkg-config; ac_word=$2
4952
echo "$as_me:$LINENO: checking for $ac_word" >&5
4953
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4954
if test "${ac_cv_path_PKGCONFIG+set}" = set; then
4955
echo $ECHO_N "(cached) $ECHO_C" >&6
4959
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
4962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966
test -z "$as_dir" && as_dir=.
4967
for ac_exec_ext in '' $ac_executable_extensions; do
4968
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
4970
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4979
PKGCONFIG=$ac_cv_path_PKGCONFIG
4981
if test -n "$PKGCONFIG"; then
4982
echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
4983
echo "${ECHO_T}$PKGCONFIG" >&6
4985
echo "$as_me:$LINENO: result: no" >&5
4986
echo "${ECHO_T}no" >&6
4989
# Extract the first word of "rsync", so it can be a program name with args.
4990
set dummy rsync; ac_word=$2
4991
echo "$as_me:$LINENO: checking for $ac_word" >&5
4992
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4993
if test "${ac_cv_path_RSYNC+set}" = set; then
4994
echo $ECHO_N "(cached) $ECHO_C" >&6
4998
ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
5001
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005
test -z "$as_dir" && as_dir=.
5006
for ac_exec_ext in '' $ac_executable_extensions; do
5007
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5008
ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
5009
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5018
RSYNC=$ac_cv_path_RSYNC
5020
if test -n "$RSYNC"; then
5021
echo "$as_me:$LINENO: result: $RSYNC" >&5
5022
echo "${ECHO_T}$RSYNC" >&6
5024
echo "$as_me:$LINENO: result: no" >&5
5025
echo "${ECHO_T}no" >&6
5028
for ac_prog in gawk mawk nawk awk
5030
# Extract the first word of "$ac_prog", so it can be a program name with args.
5031
set dummy $ac_prog; ac_word=$2
5032
echo "$as_me:$LINENO: checking for $ac_word" >&5
5033
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5034
if test "${ac_cv_prog_AWK+set}" = set; then
5035
echo $ECHO_N "(cached) $ECHO_C" >&6
5037
if test -n "$AWK"; then
5038
ac_cv_prog_AWK="$AWK" # Let the user override the test.
5040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044
test -z "$as_dir" && as_dir=.
5045
for ac_exec_ext in '' $ac_executable_extensions; do
5046
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047
ac_cv_prog_AWK="$ac_prog"
5048
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5057
if test -n "$AWK"; then
5058
echo "$as_me:$LINENO: result: $AWK" >&5
5059
echo "${ECHO_T}$AWK" >&6
5061
echo "$as_me:$LINENO: result: no" >&5
5062
echo "${ECHO_T}no" >&6
5065
test -n "$AWK" && break
5068
echo "$as_me:$LINENO: checking whether ln -s works" >&5
5069
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5071
if test "$LN_S" = "ln -s"; then
5072
echo "$as_me:$LINENO: result: yes" >&5
5073
echo "${ECHO_T}yes" >&6
5075
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5076
echo "${ECHO_T}no, using $LN_S" >&6
5079
if test -n "$ac_tool_prefix"; then
5080
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5081
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5082
echo "$as_me:$LINENO: checking for $ac_word" >&5
5083
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5084
if test "${ac_cv_prog_RANLIB+set}" = set; then
5085
echo $ECHO_N "(cached) $ECHO_C" >&6
5087
if test -n "$RANLIB"; then
5088
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5090
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094
test -z "$as_dir" && as_dir=.
5095
for ac_exec_ext in '' $ac_executable_extensions; do
5096
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5098
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5106
RANLIB=$ac_cv_prog_RANLIB
5107
if test -n "$RANLIB"; then
5108
echo "$as_me:$LINENO: result: $RANLIB" >&5
5109
echo "${ECHO_T}$RANLIB" >&6
5111
echo "$as_me:$LINENO: result: no" >&5
5112
echo "${ECHO_T}no" >&6
5116
if test -z "$ac_cv_prog_RANLIB"; then
5117
ac_ct_RANLIB=$RANLIB
5118
# Extract the first word of "ranlib", so it can be a program name with args.
5119
set dummy ranlib; ac_word=$2
5120
echo "$as_me:$LINENO: checking for $ac_word" >&5
5121
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5122
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5123
echo $ECHO_N "(cached) $ECHO_C" >&6
5125
if test -n "$ac_ct_RANLIB"; then
5126
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132
test -z "$as_dir" && as_dir=.
5133
for ac_exec_ext in '' $ac_executable_extensions; do
5134
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5135
ac_cv_prog_ac_ct_RANLIB="ranlib"
5136
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5142
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="true"
5145
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5146
if test -n "$ac_ct_RANLIB"; then
5147
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5148
echo "${ECHO_T}$ac_ct_RANLIB" >&6
5150
echo "$as_me:$LINENO: result: no" >&5
5151
echo "${ECHO_T}no" >&6
5154
RANLIB=$ac_ct_RANLIB
5156
RANLIB="$ac_cv_prog_RANLIB"
5159
for ac_prog in lynx links elinks
5161
# Extract the first word of "$ac_prog", so it can be a program name with args.
5162
set dummy $ac_prog; ac_word=$2
5163
echo "$as_me:$LINENO: checking for $ac_word" >&5
5164
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5165
if test "${ac_cv_prog_LYNX_PATH+set}" = set; then
5166
echo $ECHO_N "(cached) $ECHO_C" >&6
5168
if test -n "$LYNX_PATH"; then
5169
ac_cv_prog_LYNX_PATH="$LYNX_PATH" # Let the user override the test.
5171
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175
test -z "$as_dir" && as_dir=.
5176
for ac_exec_ext in '' $ac_executable_extensions; do
5177
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178
ac_cv_prog_LYNX_PATH="$ac_prog"
5179
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187
LYNX_PATH=$ac_cv_prog_LYNX_PATH
5188
if test -n "$LYNX_PATH"; then
5189
echo "$as_me:$LINENO: result: $LYNX_PATH" >&5
5190
echo "${ECHO_T}$LYNX_PATH" >&6
5192
echo "$as_me:$LINENO: result: no" >&5
5193
echo "${ECHO_T}no" >&6
5196
test -n "$LYNX_PATH" && break
5198
test -n "$LYNX_PATH" || LYNX_PATH="lynx"
5201
# Hard-coded install programs
5202
MKINSTALLDIRS="\$(abs_srcdir)/build/mkdir.sh"
5203
INSTALL="\$(LIBTOOL) --mode=install \$(abs_srcdir)/build/install.sh -c"
5205
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MKINSTALLDIRS"
5209
APACHE_VAR_SUBST="$APACHE_VAR_SUBST INSTALL"
5215
echo "$as_me:$LINENO: checking for egrep" >&5
5216
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5217
if test "${ac_cv_prog_egrep+set}" = set; then
5218
echo $ECHO_N "(cached) $ECHO_C" >&6
5220
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5221
then ac_cv_prog_egrep='grep -E'
5222
else ac_cv_prog_egrep='egrep'
5225
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5226
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5227
EGREP=$ac_cv_prog_egrep
5231
echo "$as_me:$LINENO: checking for AIX" >&5
5232
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
5233
cat >conftest.$ac_ext <<_ACEOF
5236
cat confdefs.h >>conftest.$ac_ext
5237
cat >>conftest.$ac_ext <<_ACEOF
5238
/* end confdefs.h. */
5244
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5245
$EGREP "yes" >/dev/null 2>&1; then
5246
echo "$as_me:$LINENO: result: yes" >&5
5247
echo "${ECHO_T}yes" >&6
5248
cat >>confdefs.h <<\_ACEOF
5249
#define _ALL_SOURCE 1
5253
echo "$as_me:$LINENO: result: no" >&5
5254
echo "${ECHO_T}no" >&6
5259
echo "$as_me:$LINENO: checking for library containing strerror" >&5
5260
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
5261
if test "${ac_cv_search_strerror+set}" = set; then
5262
echo $ECHO_N "(cached) $ECHO_C" >&6
5264
ac_func_search_save_LIBS=$LIBS
5265
ac_cv_search_strerror=no
5266
cat >conftest.$ac_ext <<_ACEOF
5269
cat confdefs.h >>conftest.$ac_ext
5270
cat >>conftest.$ac_ext <<_ACEOF
5271
/* end confdefs.h. */
5273
/* Override any gcc2 internal prototype to avoid an error. */
5277
/* We use char because int might match the return type of a gcc2
5278
builtin and then its argument prototype would still apply. */
5288
rm -f conftest.$ac_objext conftest$ac_exeext
5289
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5290
(eval $ac_link) 2>conftest.er1
5292
grep -v '^ *+' conftest.er1 >conftest.err
5294
cat conftest.err >&5
5295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296
(exit $ac_status); } &&
5297
{ ac_try='test -z "$ac_c_werror_flag"
5298
|| test ! -s conftest.err'
5299
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303
(exit $ac_status); }; } &&
5304
{ ac_try='test -s conftest$ac_exeext'
5305
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309
(exit $ac_status); }; }; then
5310
ac_cv_search_strerror="none required"
5312
echo "$as_me: failed program was:" >&5
5313
sed 's/^/| /' conftest.$ac_ext >&5
5316
rm -f conftest.err conftest.$ac_objext \
5317
conftest$ac_exeext conftest.$ac_ext
5318
if test "$ac_cv_search_strerror" = no; then
5319
for ac_lib in cposix; do
5320
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5321
cat >conftest.$ac_ext <<_ACEOF
5324
cat confdefs.h >>conftest.$ac_ext
5325
cat >>conftest.$ac_ext <<_ACEOF
5326
/* end confdefs.h. */
5328
/* Override any gcc2 internal prototype to avoid an error. */
5332
/* We use char because int might match the return type of a gcc2
5333
builtin and then its argument prototype would still apply. */
5343
rm -f conftest.$ac_objext conftest$ac_exeext
5344
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5345
(eval $ac_link) 2>conftest.er1
5347
grep -v '^ *+' conftest.er1 >conftest.err
5349
cat conftest.err >&5
5350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351
(exit $ac_status); } &&
5352
{ ac_try='test -z "$ac_c_werror_flag"
5353
|| test ! -s conftest.err'
5354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358
(exit $ac_status); }; } &&
5359
{ ac_try='test -s conftest$ac_exeext'
5360
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364
(exit $ac_status); }; }; then
5365
ac_cv_search_strerror="-l$ac_lib"
5368
echo "$as_me: failed program was:" >&5
5369
sed 's/^/| /' conftest.$ac_ext >&5
5372
rm -f conftest.err conftest.$ac_objext \
5373
conftest$ac_exeext conftest.$ac_ext
5376
LIBS=$ac_func_search_save_LIBS
5378
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
5379
echo "${ECHO_T}$ac_cv_search_strerror" >&6
5380
if test "$ac_cv_search_strerror" != no; then
5381
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
5385
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5386
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5387
if test "${ac_cv_header_stdc+set}" = set; then
5388
echo $ECHO_N "(cached) $ECHO_C" >&6
5390
cat >conftest.$ac_ext <<_ACEOF
5393
cat confdefs.h >>conftest.$ac_ext
5394
cat >>conftest.$ac_ext <<_ACEOF
5395
/* end confdefs.h. */
5409
rm -f conftest.$ac_objext
5410
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5411
(eval $ac_compile) 2>conftest.er1
5413
grep -v '^ *+' conftest.er1 >conftest.err
5415
cat conftest.err >&5
5416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
(exit $ac_status); } &&
5418
{ ac_try='test -z "$ac_c_werror_flag"
5419
|| test ! -s conftest.err'
5420
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424
(exit $ac_status); }; } &&
5425
{ ac_try='test -s conftest.$ac_objext'
5426
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430
(exit $ac_status); }; }; then
5431
ac_cv_header_stdc=yes
5433
echo "$as_me: failed program was:" >&5
5434
sed 's/^/| /' conftest.$ac_ext >&5
5436
ac_cv_header_stdc=no
5438
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5440
if test $ac_cv_header_stdc = yes; then
5441
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5442
cat >conftest.$ac_ext <<_ACEOF
5445
cat confdefs.h >>conftest.$ac_ext
5446
cat >>conftest.$ac_ext <<_ACEOF
5447
/* end confdefs.h. */
5451
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5452
$EGREP "memchr" >/dev/null 2>&1; then
5455
ac_cv_header_stdc=no
5461
if test $ac_cv_header_stdc = yes; then
5462
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5463
cat >conftest.$ac_ext <<_ACEOF
5466
cat confdefs.h >>conftest.$ac_ext
5467
cat >>conftest.$ac_ext <<_ACEOF
5468
/* end confdefs.h. */
5472
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5473
$EGREP "free" >/dev/null 2>&1; then
5476
ac_cv_header_stdc=no
5482
if test $ac_cv_header_stdc = yes; then
5483
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5484
if test "$cross_compiling" = yes; then
5487
cat >conftest.$ac_ext <<_ACEOF
5490
cat confdefs.h >>conftest.$ac_ext
5491
cat >>conftest.$ac_ext <<_ACEOF
5492
/* end confdefs.h. */
5494
#if ((' ' & 0x0FF) == 0x020)
5495
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5496
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5498
# define ISLOWER(c) \
5499
(('a' <= (c) && (c) <= 'i') \
5500
|| ('j' <= (c) && (c) <= 'r') \
5501
|| ('s' <= (c) && (c) <= 'z'))
5502
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5505
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5510
for (i = 0; i < 256; i++)
5511
if (XOR (islower (i), ISLOWER (i))
5512
|| toupper (i) != TOUPPER (i))
5517
rm -f conftest$ac_exeext
5518
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5519
(eval $ac_link) 2>&5
5521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5523
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527
(exit $ac_status); }; }; then
5530
echo "$as_me: program exited with status $ac_status" >&5
5531
echo "$as_me: failed program was:" >&5
5532
sed 's/^/| /' conftest.$ac_ext >&5
5535
ac_cv_header_stdc=no
5537
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5541
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5542
echo "${ECHO_T}$ac_cv_header_stdc" >&6
5543
if test $ac_cv_header_stdc = yes; then
5545
cat >>confdefs.h <<\_ACEOF
5546
#define STDC_HEADERS 1
5551
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5561
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5562
inttypes.h stdint.h unistd.h
5564
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5565
echo "$as_me:$LINENO: checking for $ac_header" >&5
5566
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5567
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5568
echo $ECHO_N "(cached) $ECHO_C" >&6
5570
cat >conftest.$ac_ext <<_ACEOF
5573
cat confdefs.h >>conftest.$ac_ext
5574
cat >>conftest.$ac_ext <<_ACEOF
5575
/* end confdefs.h. */
5576
$ac_includes_default
5578
#include <$ac_header>
5580
rm -f conftest.$ac_objext
5581
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5582
(eval $ac_compile) 2>conftest.er1
5584
grep -v '^ *+' conftest.er1 >conftest.err
5586
cat conftest.err >&5
5587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588
(exit $ac_status); } &&
5589
{ ac_try='test -z "$ac_c_werror_flag"
5590
|| test ! -s conftest.err'
5591
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595
(exit $ac_status); }; } &&
5596
{ ac_try='test -s conftest.$ac_objext'
5597
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601
(exit $ac_status); }; }; then
5602
eval "$as_ac_Header=yes"
5604
echo "$as_me: failed program was:" >&5
5605
sed 's/^/| /' conftest.$ac_ext >&5
5607
eval "$as_ac_Header=no"
5609
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5611
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5612
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5613
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5614
cat >>confdefs.h <<_ACEOF
5615
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5623
if test "${ac_cv_header_minix_config_h+set}" = set; then
5624
echo "$as_me:$LINENO: checking for minix/config.h" >&5
5625
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
5626
if test "${ac_cv_header_minix_config_h+set}" = set; then
5627
echo $ECHO_N "(cached) $ECHO_C" >&6
5629
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
5630
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
5632
# Is the header compilable?
5633
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
5634
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
5635
cat >conftest.$ac_ext <<_ACEOF
5638
cat confdefs.h >>conftest.$ac_ext
5639
cat >>conftest.$ac_ext <<_ACEOF
5640
/* end confdefs.h. */
5641
$ac_includes_default
5642
#include <minix/config.h>
5644
rm -f conftest.$ac_objext
5645
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5646
(eval $ac_compile) 2>conftest.er1
5648
grep -v '^ *+' conftest.er1 >conftest.err
5650
cat conftest.err >&5
5651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652
(exit $ac_status); } &&
5653
{ ac_try='test -z "$ac_c_werror_flag"
5654
|| test ! -s conftest.err'
5655
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5658
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659
(exit $ac_status); }; } &&
5660
{ ac_try='test -s conftest.$ac_objext'
5661
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665
(exit $ac_status); }; }; then
5666
ac_header_compiler=yes
5668
echo "$as_me: failed program was:" >&5
5669
sed 's/^/| /' conftest.$ac_ext >&5
5671
ac_header_compiler=no
5673
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5674
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5675
echo "${ECHO_T}$ac_header_compiler" >&6
5677
# Is the header present?
5678
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
5679
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
5680
cat >conftest.$ac_ext <<_ACEOF
5683
cat confdefs.h >>conftest.$ac_ext
5684
cat >>conftest.$ac_ext <<_ACEOF
5685
/* end confdefs.h. */
5686
#include <minix/config.h>
5688
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5689
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5691
grep -v '^ *+' conftest.er1 >conftest.err
5693
cat conftest.err >&5
5694
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695
(exit $ac_status); } >/dev/null; then
5696
if test -s conftest.err; then
5697
ac_cpp_err=$ac_c_preproc_warn_flag
5698
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5705
if test -z "$ac_cpp_err"; then
5706
ac_header_preproc=yes
5708
echo "$as_me: failed program was:" >&5
5709
sed 's/^/| /' conftest.$ac_ext >&5
5711
ac_header_preproc=no
5713
rm -f conftest.err conftest.$ac_ext
5714
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5715
echo "${ECHO_T}$ac_header_preproc" >&6
5717
# So? What about this header?
5718
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5720
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
5721
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5722
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
5723
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
5724
ac_header_preproc=yes
5727
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
5728
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
5729
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
5730
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
5731
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
5732
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
5733
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
5734
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
5735
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
5736
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
5737
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
5738
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
5741
## ------------------------------------------ ##
5742
## Report this to the AC_PACKAGE_NAME lists. ##
5743
## ------------------------------------------ ##
5746
sed "s/^/$as_me: WARNING: /" >&2
5749
echo "$as_me:$LINENO: checking for minix/config.h" >&5
5750
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
5751
if test "${ac_cv_header_minix_config_h+set}" = set; then
5752
echo $ECHO_N "(cached) $ECHO_C" >&6
5754
ac_cv_header_minix_config_h=$ac_header_preproc
5756
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
5757
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
5760
if test $ac_cv_header_minix_config_h = yes; then
5767
if test "$MINIX" = yes; then
5769
cat >>confdefs.h <<\_ACEOF
5770
#define _POSIX_SOURCE 1
5774
cat >>confdefs.h <<\_ACEOF
5775
#define _POSIX_1_SOURCE 2
5779
cat >>confdefs.h <<\_ACEOF
5786
# Ensure that satisfactory versions of apr and apr-util are
5787
# found if external copies are configured.
5788
if test "${apr_found}" = "yes"; then
5789
# Require APR 1.2.x otherwise fail
5796
ap_ckver_CPPFLAGS="$CPPFLAGS"
5797
CPPFLAGS="$CPPFLAGS `$apr_config --includes`"
5799
echo "$as_me:$LINENO: checking for APR version 1.2.0 or later" >&5
5800
echo $ECHO_N "checking for APR version 1.2.0 or later... $ECHO_C" >&6
5801
if test "${ap_cv_aprver12+set}" = set; then
5802
echo $ECHO_N "(cached) $ECHO_C" >&6
5805
cat >conftest.$ac_ext <<_ACEOF
5808
cat confdefs.h >>conftest.$ac_ext
5809
cat >>conftest.$ac_ext <<_ACEOF
5810
/* end confdefs.h. */
5812
#include <apr_version.h>
5813
#if APR_MAJOR_VERSION > 1 || (APR_MAJOR_VERSION == 1 && APR_MINOR_VERSION >= 2)
5818
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5819
$EGREP "good" >/dev/null 2>&1; then
5827
echo "$as_me:$LINENO: result: $ap_cv_aprver12" >&5
5828
echo "${ECHO_T}$ap_cv_aprver12" >&6
5830
if test "$ap_cv_aprver12" = "yes"; then
5833
{ { echo "$as_me:$LINENO: error: APR version 1.2.0 or later is required" >&5
5834
echo "$as_me: error: APR version 1.2.0 or later is required" >&2;}
5835
{ (exit 1); exit 1; }; }
5838
CPPFLAGS="$ap_ckver_CPPFLAGS"
5847
if test "${apu_found}" = "yes"; then
5848
# Require APR-util 1.2.x otherwise fail
5855
ap_ckver_CPPFLAGS="$CPPFLAGS"
5856
CPPFLAGS="$CPPFLAGS `$apu_config --includes`"
5858
echo "$as_me:$LINENO: checking for APR-util version 1.2.0 or later" >&5
5859
echo $ECHO_N "checking for APR-util version 1.2.0 or later... $ECHO_C" >&6
5860
if test "${ap_cv_apuver12+set}" = set; then
5861
echo $ECHO_N "(cached) $ECHO_C" >&6
5864
cat >conftest.$ac_ext <<_ACEOF
5867
cat confdefs.h >>conftest.$ac_ext
5868
cat >>conftest.$ac_ext <<_ACEOF
5869
/* end confdefs.h. */
5871
#include <apu_version.h>
5872
#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 2)
5877
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5878
$EGREP "good" >/dev/null 2>&1; then
5886
echo "$as_me:$LINENO: result: $ap_cv_apuver12" >&5
5887
echo "${ECHO_T}$ap_cv_apuver12" >&6
5889
if test "$ap_cv_apuver12" = "yes"; then
5892
{ { echo "$as_me:$LINENO: error: APR-util version 1.2.0 or later is required" >&5
5893
echo "$as_me: error: APR-util version 1.2.0 or later is required" >&2;}
5894
{ (exit 1); exit 1; }; }
5897
CPPFLAGS="$ap_ckver_CPPFLAGS"
5907
if test "$GCC" = "yes"; then
5911
cat > conftest.c <<EOF
5912
#include <sys/types.h>
5913
int main() { return 0; }
5916
for i in "$CC -MM" "$CC -M" "$CPP -MM" "$CPP -M" "cpp -M"; do
5917
echo "$as_me:$LINENO: checking if $i can create proper make dependencies" >&5
5918
echo $ECHO_N "checking if $i can create proper make dependencies... $ECHO_C" >&6
5919
if $i conftest.c 2>/dev/null | grep 'conftest.o: conftest.c' >/dev/null; then
5921
echo "$as_me:$LINENO: result: yes" >&5
5922
echo "${ECHO_T}yes" >&6
5925
echo "$as_me:$LINENO: result: no" >&5
5926
echo "${ECHO_T}no" >&6
5938
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5939
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5940
if test "${ac_cv_header_stdc+set}" = set; then
5941
echo $ECHO_N "(cached) $ECHO_C" >&6
5943
cat >conftest.$ac_ext <<_ACEOF
5946
cat confdefs.h >>conftest.$ac_ext
5947
cat >>conftest.$ac_ext <<_ACEOF
5948
/* end confdefs.h. */
5962
rm -f conftest.$ac_objext
5963
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964
(eval $ac_compile) 2>conftest.er1
5966
grep -v '^ *+' conftest.er1 >conftest.err
5968
cat conftest.err >&5
5969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970
(exit $ac_status); } &&
5971
{ ac_try='test -z "$ac_c_werror_flag"
5972
|| test ! -s conftest.err'
5973
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977
(exit $ac_status); }; } &&
5978
{ ac_try='test -s conftest.$ac_objext'
5979
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983
(exit $ac_status); }; }; then
5984
ac_cv_header_stdc=yes
5986
echo "$as_me: failed program was:" >&5
5987
sed 's/^/| /' conftest.$ac_ext >&5
5989
ac_cv_header_stdc=no
5991
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5993
if test $ac_cv_header_stdc = yes; then
5994
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5995
cat >conftest.$ac_ext <<_ACEOF
5998
cat confdefs.h >>conftest.$ac_ext
5999
cat >>conftest.$ac_ext <<_ACEOF
6000
/* end confdefs.h. */
6004
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6005
$EGREP "memchr" >/dev/null 2>&1; then
6008
ac_cv_header_stdc=no
6014
if test $ac_cv_header_stdc = yes; then
6015
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6016
cat >conftest.$ac_ext <<_ACEOF
6019
cat confdefs.h >>conftest.$ac_ext
6020
cat >>conftest.$ac_ext <<_ACEOF
6021
/* end confdefs.h. */
6025
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6026
$EGREP "free" >/dev/null 2>&1; then
6029
ac_cv_header_stdc=no
6035
if test $ac_cv_header_stdc = yes; then
6036
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6037
if test "$cross_compiling" = yes; then
6040
cat >conftest.$ac_ext <<_ACEOF
6043
cat confdefs.h >>conftest.$ac_ext
6044
cat >>conftest.$ac_ext <<_ACEOF
6045
/* end confdefs.h. */
6047
#if ((' ' & 0x0FF) == 0x020)
6048
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6049
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6051
# define ISLOWER(c) \
6052
(('a' <= (c) && (c) <= 'i') \
6053
|| ('j' <= (c) && (c) <= 'r') \
6054
|| ('s' <= (c) && (c) <= 'z'))
6055
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6058
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6063
for (i = 0; i < 256; i++)
6064
if (XOR (islower (i), ISLOWER (i))
6065
|| toupper (i) != TOUPPER (i))
6070
rm -f conftest$ac_exeext
6071
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6072
(eval $ac_link) 2>&5
6074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080
(exit $ac_status); }; }; then
6083
echo "$as_me: program exited with status $ac_status" >&5
6084
echo "$as_me: failed program was:" >&5
6085
sed 's/^/| /' conftest.$ac_ext >&5
6088
ac_cv_header_stdc=no
6090
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6094
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6095
echo "${ECHO_T}$ac_cv_header_stdc" >&6
6096
if test $ac_cv_header_stdc = yes; then
6098
cat >>confdefs.h <<\_ACEOF
6099
#define STDC_HEADERS 1
6127
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6128
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6129
echo "$as_me:$LINENO: checking for $ac_header" >&5
6130
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132
echo $ECHO_N "(cached) $ECHO_C" >&6
6134
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6135
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6137
# Is the header compilable?
6138
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6139
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6140
cat >conftest.$ac_ext <<_ACEOF
6143
cat confdefs.h >>conftest.$ac_ext
6144
cat >>conftest.$ac_ext <<_ACEOF
6145
/* end confdefs.h. */
6146
$ac_includes_default
6147
#include <$ac_header>
6149
rm -f conftest.$ac_objext
6150
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6151
(eval $ac_compile) 2>conftest.er1
6153
grep -v '^ *+' conftest.er1 >conftest.err
6155
cat conftest.err >&5
6156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157
(exit $ac_status); } &&
6158
{ ac_try='test -z "$ac_c_werror_flag"
6159
|| test ! -s conftest.err'
6160
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164
(exit $ac_status); }; } &&
6165
{ ac_try='test -s conftest.$ac_objext'
6166
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170
(exit $ac_status); }; }; then
6171
ac_header_compiler=yes
6173
echo "$as_me: failed program was:" >&5
6174
sed 's/^/| /' conftest.$ac_ext >&5
6176
ac_header_compiler=no
6178
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6179
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6180
echo "${ECHO_T}$ac_header_compiler" >&6
6182
# Is the header present?
6183
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6184
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6185
cat >conftest.$ac_ext <<_ACEOF
6188
cat confdefs.h >>conftest.$ac_ext
6189
cat >>conftest.$ac_ext <<_ACEOF
6190
/* end confdefs.h. */
6191
#include <$ac_header>
6193
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6194
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6196
grep -v '^ *+' conftest.er1 >conftest.err
6198
cat conftest.err >&5
6199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200
(exit $ac_status); } >/dev/null; then
6201
if test -s conftest.err; then
6202
ac_cpp_err=$ac_c_preproc_warn_flag
6203
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6210
if test -z "$ac_cpp_err"; then
6211
ac_header_preproc=yes
6213
echo "$as_me: failed program was:" >&5
6214
sed 's/^/| /' conftest.$ac_ext >&5
6216
ac_header_preproc=no
6218
rm -f conftest.err conftest.$ac_ext
6219
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6220
echo "${ECHO_T}$ac_header_preproc" >&6
6222
# So? What about this header?
6223
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6225
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6226
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6227
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6228
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6229
ac_header_preproc=yes
6232
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6233
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6234
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6235
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6236
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6237
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6238
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6239
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6240
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6241
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6242
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6243
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6246
## ------------------------------------------ ##
6247
## Report this to the AC_PACKAGE_NAME lists. ##
6248
## ------------------------------------------ ##
6251
sed "s/^/$as_me: WARNING: /" >&2
6254
echo "$as_me:$LINENO: checking for $ac_header" >&5
6255
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6256
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6257
echo $ECHO_N "(cached) $ECHO_C" >&6
6259
eval "$as_ac_Header=\$ac_header_preproc"
6261
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6262
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6265
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6266
cat >>confdefs.h <<_ACEOF
6267
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6275
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6276
if test "${ac_cv_header_sys_wait_h+set}" = set; then
6277
echo $ECHO_N "(cached) $ECHO_C" >&6
6279
cat >conftest.$ac_ext <<_ACEOF
6282
cat confdefs.h >>conftest.$ac_ext
6283
cat >>conftest.$ac_ext <<_ACEOF
6284
/* end confdefs.h. */
6285
#include <sys/types.h>
6286
#include <sys/wait.h>
6288
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6291
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6299
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6304
rm -f conftest.$ac_objext
6305
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6306
(eval $ac_compile) 2>conftest.er1
6308
grep -v '^ *+' conftest.er1 >conftest.err
6310
cat conftest.err >&5
6311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312
(exit $ac_status); } &&
6313
{ ac_try='test -z "$ac_c_werror_flag"
6314
|| test ! -s conftest.err'
6315
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319
(exit $ac_status); }; } &&
6320
{ ac_try='test -s conftest.$ac_objext'
6321
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325
(exit $ac_status); }; }; then
6326
ac_cv_header_sys_wait_h=yes
6328
echo "$as_me: failed program was:" >&5
6329
sed 's/^/| /' conftest.$ac_ext >&5
6331
ac_cv_header_sys_wait_h=no
6333
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6335
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6336
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6337
if test $ac_cv_header_sys_wait_h = yes; then
6339
cat >>confdefs.h <<\_ACEOF
6340
#define HAVE_SYS_WAIT_H 1
6347
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6348
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6349
if test "${ac_cv_c_const+set}" = set; then
6350
echo $ECHO_N "(cached) $ECHO_C" >&6
6352
cat >conftest.$ac_ext <<_ACEOF
6355
cat confdefs.h >>conftest.$ac_ext
6356
cat >>conftest.$ac_ext <<_ACEOF
6357
/* end confdefs.h. */
6362
/* FIXME: Include the comments suggested by Paul. */
6364
/* Ultrix mips cc rejects this. */
6365
typedef int charset[2];
6367
/* SunOS 4.1.1 cc rejects this. */
6368
char const *const *ccp;
6370
/* NEC SVR4.0.2 mips cc rejects this. */
6371
struct point {int x, y;};
6372
static struct point const zero = {0,0};
6373
/* AIX XL C 1.02.0.0 rejects this.
6374
It does not let you subtract one const X* pointer from another in
6375
an arm of an if-expression whose if-part is not a constant
6377
const char *g = "string";
6378
ccp = &g + (g ? g-g : 0);
6379
/* HPUX 7.0 cc rejects these. */
6382
ccp = (char const *const *) p;
6383
{ /* SCO 3.2v4 cc rejects this. */
6385
char const *s = 0 ? (char *) 0 : (char const *) 0;
6389
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6391
const int *foo = &x[0];
6394
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6395
typedef const int *iptr;
6399
{ /* AIX XL C 1.02.0.0 rejects this saying
6400
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6401
struct s { int j; const int *ap[3]; };
6402
struct s *b; b->j = 5;
6404
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6413
rm -f conftest.$ac_objext
6414
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6415
(eval $ac_compile) 2>conftest.er1
6417
grep -v '^ *+' conftest.er1 >conftest.err
6419
cat conftest.err >&5
6420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421
(exit $ac_status); } &&
6422
{ ac_try='test -z "$ac_c_werror_flag"
6423
|| test ! -s conftest.err'
6424
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428
(exit $ac_status); }; } &&
6429
{ ac_try='test -s conftest.$ac_objext'
6430
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434
(exit $ac_status); }; }; then
6437
echo "$as_me: failed program was:" >&5
6438
sed 's/^/| /' conftest.$ac_ext >&5
6442
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6444
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6445
echo "${ECHO_T}$ac_cv_c_const" >&6
6446
if test $ac_cv_c_const = no; then
6448
cat >>confdefs.h <<\_ACEOF
6455
echo "$as_me:$LINENO: checking for library containing sqrt" >&5
6456
echo $ECHO_N "checking for library containing sqrt... $ECHO_C" >&6
6457
if test "${ac_cv_search_sqrt+set}" = set; then
6458
echo $ECHO_N "(cached) $ECHO_C" >&6
6460
ac_func_search_save_LIBS=$LIBS
6461
ac_cv_search_sqrt=no
6462
cat >conftest.$ac_ext <<_ACEOF
6465
cat confdefs.h >>conftest.$ac_ext
6466
cat >>conftest.$ac_ext <<_ACEOF
6467
/* end confdefs.h. */
6469
/* Override any gcc2 internal prototype to avoid an error. */
6473
/* We use char because int might match the return type of a gcc2
6474
builtin and then its argument prototype would still apply. */
6484
rm -f conftest.$ac_objext conftest$ac_exeext
6485
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6486
(eval $ac_link) 2>conftest.er1
6488
grep -v '^ *+' conftest.er1 >conftest.err
6490
cat conftest.err >&5
6491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492
(exit $ac_status); } &&
6493
{ ac_try='test -z "$ac_c_werror_flag"
6494
|| test ! -s conftest.err'
6495
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499
(exit $ac_status); }; } &&
6500
{ ac_try='test -s conftest$ac_exeext'
6501
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505
(exit $ac_status); }; }; then
6506
ac_cv_search_sqrt="none required"
6508
echo "$as_me: failed program was:" >&5
6509
sed 's/^/| /' conftest.$ac_ext >&5
6512
rm -f conftest.err conftest.$ac_objext \
6513
conftest$ac_exeext conftest.$ac_ext
6514
if test "$ac_cv_search_sqrt" = no; then
6516
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6517
cat >conftest.$ac_ext <<_ACEOF
6520
cat confdefs.h >>conftest.$ac_ext
6521
cat >>conftest.$ac_ext <<_ACEOF
6522
/* end confdefs.h. */
6524
/* Override any gcc2 internal prototype to avoid an error. */
6528
/* We use char because int might match the return type of a gcc2
6529
builtin and then its argument prototype would still apply. */
6539
rm -f conftest.$ac_objext conftest$ac_exeext
6540
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6541
(eval $ac_link) 2>conftest.er1
6543
grep -v '^ *+' conftest.er1 >conftest.err
6545
cat conftest.err >&5
6546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547
(exit $ac_status); } &&
6548
{ ac_try='test -z "$ac_c_werror_flag"
6549
|| test ! -s conftest.err'
6550
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554
(exit $ac_status); }; } &&
6555
{ ac_try='test -s conftest$ac_exeext'
6556
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560
(exit $ac_status); }; }; then
6561
ac_cv_search_sqrt="-l$ac_lib"
6564
echo "$as_me: failed program was:" >&5
6565
sed 's/^/| /' conftest.$ac_ext >&5
6568
rm -f conftest.err conftest.$ac_objext \
6569
conftest$ac_exeext conftest.$ac_ext
6572
LIBS=$ac_func_search_save_LIBS
6574
echo "$as_me:$LINENO: result: $ac_cv_search_sqrt" >&5
6575
echo "${ECHO_T}$ac_cv_search_sqrt" >&6
6576
if test "$ac_cv_search_sqrt" != no; then
6577
test "$ac_cv_search_sqrt" = "none required" || LIBS="$ac_cv_search_sqrt $LIBS"
6598
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6599
echo "$as_me:$LINENO: checking for $ac_func" >&5
6600
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6601
if eval "test \"\${$as_ac_var+set}\" = set"; then
6602
echo $ECHO_N "(cached) $ECHO_C" >&6
6604
cat >conftest.$ac_ext <<_ACEOF
6607
cat confdefs.h >>conftest.$ac_ext
6608
cat >>conftest.$ac_ext <<_ACEOF
6609
/* end confdefs.h. */
6610
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6611
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6612
#define $ac_func innocuous_$ac_func
6614
/* System header to define __stub macros and hopefully few prototypes,
6615
which can conflict with char $ac_func (); below.
6616
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6617
<limits.h> exists even on freestanding compilers. */
6620
# include <limits.h>
6622
# include <assert.h>
6627
/* Override any gcc2 internal prototype to avoid an error. */
6632
/* We use char because int might match the return type of a gcc2
6633
builtin and then its argument prototype would still apply. */
6635
/* The GNU C library defines this for functions which it implements
6636
to always fail with ENOSYS. Some functions are actually named
6637
something starting with __ and the normal name is an alias. */
6638
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6641
char (*f) () = $ac_func;
6650
return f != $ac_func;
6655
rm -f conftest.$ac_objext conftest$ac_exeext
6656
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6657
(eval $ac_link) 2>conftest.er1
6659
grep -v '^ *+' conftest.er1 >conftest.err
6661
cat conftest.err >&5
6662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663
(exit $ac_status); } &&
6664
{ ac_try='test -z "$ac_c_werror_flag"
6665
|| test ! -s conftest.err'
6666
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670
(exit $ac_status); }; } &&
6671
{ ac_try='test -s conftest$ac_exeext'
6672
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676
(exit $ac_status); }; }; then
6677
eval "$as_ac_var=yes"
6679
echo "$as_me: failed program was:" >&5
6680
sed 's/^/| /' conftest.$ac_ext >&5
6682
eval "$as_ac_var=no"
6684
rm -f conftest.err conftest.$ac_objext \
6685
conftest$ac_exeext conftest.$ac_ext
6687
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6688
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6689
if test `eval echo '${'$as_ac_var'}'` = yes; then
6690
cat >>confdefs.h <<_ACEOF
6691
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6700
echo "$as_me:$LINENO: checking for void pointer length" >&5
6701
echo $ECHO_N "checking for void pointer length... $ECHO_C" >&6
6702
if test "${ap_void_ptr_lt_long+set}" = set; then
6703
echo $ECHO_N "(cached) $ECHO_C" >&6
6705
if test "$cross_compiling" = yes; then
6706
ap_void_ptr_lt_long=yes
6708
cat >conftest.$ac_ext <<_ACEOF
6711
cat confdefs.h >>conftest.$ac_ext
6712
cat >>conftest.$ac_ext <<_ACEOF
6713
/* end confdefs.h. */
6717
return sizeof(void *) < sizeof(long);
6720
rm -f conftest$ac_exeext
6721
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6722
(eval $ac_link) 2>&5
6724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730
(exit $ac_status); }; }; then
6731
ap_void_ptr_lt_long=no
6733
echo "$as_me: program exited with status $ac_status" >&5
6734
echo "$as_me: failed program was:" >&5
6735
sed 's/^/| /' conftest.$ac_ext >&5
6738
ap_void_ptr_lt_long=yes
6740
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6743
echo "$as_me:$LINENO: result: $ap_void_ptr_lt_long" >&5
6744
echo "${ECHO_T}$ap_void_ptr_lt_long" >&6
6746
if test "$ap_void_ptr_lt_long" = "yes"; then
6747
{ { echo "$as_me:$LINENO: error: Size of \"void *\" is less than size of \"long\"" >&5
6748
echo "$as_me: error: Size of \"void *\" is less than size of \"long\"" >&2;}
6749
{ (exit 1); exit 1; }; }
6753
echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
6754
echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
6755
if test "${ac_cv_struct_tm_gmtoff+set}" = set; then
6756
echo $ECHO_N "(cached) $ECHO_C" >&6
6758
cat >conftest.$ac_ext <<_ACEOF
6761
cat confdefs.h >>conftest.$ac_ext
6762
cat >>conftest.$ac_ext <<_ACEOF
6763
/* end confdefs.h. */
6764
#include <sys/types.h>
6769
struct tm tm; tm.tm_gmtoff;
6774
rm -f conftest.$ac_objext
6775
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6776
(eval $ac_compile) 2>conftest.er1
6778
grep -v '^ *+' conftest.er1 >conftest.err
6780
cat conftest.err >&5
6781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782
(exit $ac_status); } &&
6783
{ ac_try='test -z "$ac_c_werror_flag"
6784
|| test ! -s conftest.err'
6785
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789
(exit $ac_status); }; } &&
6790
{ ac_try='test -s conftest.$ac_objext'
6791
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795
(exit $ac_status); }; }; then
6796
ac_cv_struct_tm_gmtoff=yes
6798
echo "$as_me: failed program was:" >&5
6799
sed 's/^/| /' conftest.$ac_ext >&5
6801
ac_cv_struct_tm_gmtoff=no
6803
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6805
echo "$as_me:$LINENO: result: $ac_cv_struct_tm_gmtoff" >&5
6806
echo "${ECHO_T}$ac_cv_struct_tm_gmtoff" >&6
6807
if test "$ac_cv_struct_tm_gmtoff" = "yes"; then
6809
cat >>confdefs.h <<\_ACEOF
6810
#define HAVE_GMTOFF 1
6818
# for 32-bit builds, increase MAXDATA to allow lots of threads
6819
if test x$OBJECT_MODE != x64; then
6820
OS_SPECIFIC_VARS="LDR_CNTRL=\"MAXDATA=0x80000000\" ; export LDR_CNTRL ;"
6822
OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS AIXTHREAD_SCOPE=S ; export AIXTHREAD_SCOPE"
6823
OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; AIXTHREAD_MUTEX_DEBUG=OFF ; export AIXTHREAD_MUTEX_DEBUG"
6824
OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; AIXTHREAD_RWLOCK_DEBUG=OFF ; export AIXTHREAD_RWLOCK_DEBUG"
6825
OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; AIXTHREAD_COND_DEBUG=OFF ; export AIXTHREAD_COND_DEBUG"
6826
OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; SPINLOOPTIME=1000 ; export SPINLOOPTIME"
6827
OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; YIELDLOOPTIME=8 ; export YIELDLOOPTIME"
6828
OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS ; MALLOCMULTIHEAP=considersize,heaps:8 ; export MALLOCMULTIHEAP"
6831
OS_SPECIFIC_VARS="export _CEE_RUNOPTS=\"STACK(,,ANY)\" ; export _EDC_ADD_ERRNO2=1"
6838
# Check whether --with-port or --without-port was given.
6839
if test "${with_port+set}" = set; then
6840
withval="$with_port"
6841
if test "$withval" = "yes"; then { { echo "$as_me:$LINENO: error: 'option --with-port requires a value (the TCP port number)'" >&5
6842
echo "$as_me: error: 'option --with-port requires a value (the TCP port number)'" >&2;}
6843
{ (exit 1); exit 1; }; }; else PORT="$withval"; fi
6849
apr_old_cppflags=$CPPFLAGS
6850
CPPFLAGS="$CPPFLAGS $INCLUDES"
6851
cat >conftest.$ac_ext <<_ACEOF
6854
cat confdefs.h >>conftest.$ac_ext
6855
cat >>conftest.$ac_ext <<_ACEOF
6856
/* end confdefs.h. */
6864
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6865
$EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
6866
ac_cv_define_APR_HAVE_IPV6=yes
6868
ac_cv_define_APR_HAVE_IPV6=no
6872
CPPFLAGS=$apr_old_cppflags
6875
# Check whether --enable-v4-mapped or --disable-v4-mapped was given.
6876
if test "${enable_v4_mapped+set}" = set; then
6877
enableval="$enable_v4_mapped"
6884
*freebsd5*|*netbsd*|*openbsd*)
6894
if test $v4mapped = "yes" -a $ac_cv_define_APR_HAVE_IPV6 = "yes"; then
6896
cat >>confdefs.h <<\_ACEOF
6897
#define AP_ENABLE_V4_MAPPED 1
6902
# Check whether --enable-exception-hook or --disable-exception-hook was given.
6903
if test "${enable_exception_hook+set}" = set; then
6904
enableval="$enable_exception_hook"
6907
cat >>confdefs.h <<\_ACEOF
6908
#define AP_ENABLE_EXCEPTION_HOOK 1
6913
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6914
if test "${enable_maintainer_mode+set}" = set; then
6915
enableval="$enable_maintainer_mode"
6918
if test "x$CPPFLAGS" = "x"; then
6919
test "x$silent" != "xyes" && echo " setting CPPFLAGS to \"-DAP_DEBUG\""
6920
CPPFLAGS="-DAP_DEBUG"
6922
apr_addto_bugger="-DAP_DEBUG"
6923
for i in $apr_addto_bugger; do
6924
apr_addto_duplicate="0"
6925
for j in $CPPFLAGS; do
6926
if test "x$i" = "x$j"; then
6927
apr_addto_duplicate="1"
6931
if test $apr_addto_duplicate = "0"; then
6932
test "x$silent" != "xyes" && echo " adding \"$i\" to CPPFLAGS"
6933
CPPFLAGS="$CPPFLAGS $i"
6940
# Check whether --enable-pie or --disable-pie was given.
6941
if test "${enable_pie+set}" = set; then
6942
enableval="$enable_pie"
6945
if test "$enable_pie" = "yes"; then
6946
echo "$as_me:$LINENO: checking whether $CC accepts PIE flags" >&5
6947
echo $ECHO_N "checking whether $CC accepts PIE flags... $ECHO_C" >&6
6948
if test "${ap_cv_cc_pie+set}" = set; then
6949
echo $ECHO_N "(cached) $ECHO_C" >&6
6953
save_LDFLAGS=$LDFLAGS
6954
CFLAGS="$CFLAGS -fPIE"
6955
LDFLAGS="$LDFLAGS -pie"
6956
if test "$cross_compiling" = yes; then
6959
cat >conftest.$ac_ext <<_ACEOF
6962
cat confdefs.h >>conftest.$ac_ext
6963
cat >>conftest.$ac_ext <<_ACEOF
6964
/* end confdefs.h. */
6965
static int foo[30000]; int main () { return 0; }
6967
rm -f conftest$ac_exeext
6968
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6969
(eval $ac_link) 2>&5
6971
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6973
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977
(exit $ac_status); }; }; then
6980
echo "$as_me: program exited with status $ac_status" >&5
6981
echo "$as_me: failed program was:" >&5
6982
sed 's/^/| /' conftest.$ac_ext >&5
6987
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6990
LDFLAGS=$save_LDFLAGS
6993
echo "$as_me:$LINENO: result: $ap_cv_cc_pie" >&5
6994
echo "${ECHO_T}$ap_cv_cc_pie" >&6
6995
if test "$ap_cv_cc_pie" = "yes"; then
6999
{ { echo "$as_me:$LINENO: error: --enable-pie requested but $CC failed using PIE flags" >&5
7000
echo "$as_me: error: --enable-pie requested but $CC failed using PIE flags" >&2;}
7001
{ (exit 1); exit 1; }; }
7007
prefix="$orig_prefix"
7009
module_selection=default
7012
# Check whether --enable-modules or --disable-modules was given.
7013
if test "${enable_modules+set}" = set; then
7014
enableval="$enable_modules"
7016
for i in $enableval; do
7017
if test "$i" = "all" -o "$i" = "most"; then
7020
i=`echo $i | sed 's/-/_/g'`
7021
eval "enable_$i=yes"
7027
# Check whether --enable-mods-shared or --disable-mods-shared was given.
7028
if test "${enable_mods_shared+set}" = set; then
7029
enableval="$enable_mods_shared"
7031
for i in $enableval; do
7032
if test "$i" = "all" -o "$i" = "most"; then
7034
module_default=shared
7036
i=`echo $i | sed 's/-/_/g'`
7037
eval "enable_$i=shared"
7049
modpath_current=modules/aaa
7052
test -d aaa || $srcdir/build/mkdir.sh $modpath_current
7053
> $modpath_current/modules.mk
7057
echo "$as_me:$LINENO: checking whether to enable mod_authn_file" >&5
7058
echo $ECHO_N "checking whether to enable mod_authn_file... $ECHO_C" >&6
7059
# Check whether --enable-authn-file or --disable-authn-file was given.
7060
if test "${enable_authn_file+set}" = set; then
7061
enableval="$enable_authn_file"
7064
enable_authn_file=yes
7067
if test "$module_selection" = "most" -a "$enable_authn_file" = "most"; then
7068
_apmod_error_fatal="no"
7070
_apmod_error_fatal="yes"
7072
if test "$enable_authn_file" = "static"; then
7073
enable_authn_file=yes
7074
elif test "$enable_authn_file" = "yes"; then
7075
enable_authn_file=$module_default
7076
_apmod_extra_msg=" ($module_selection)"
7077
elif test "$enable_authn_file" = "most"; then
7078
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7079
enable_authn_file=$module_default
7080
_apmod_extra_msg=" ($module_selection)"
7081
elif test "$enable_authn_file" != "yes"; then
7082
enable_authn_file=no
7084
elif test "$enable_authn_file" = "maybe-all"; then
7085
if test "$module_selection" = "all"; then
7086
enable_authn_file=$module_default
7087
_apmod_extra_msg=" (all)"
7089
enable_authn_file=no
7092
if test "$enable_authn_file" != "no"; then
7095
echo "$as_me:$LINENO: result: $enable_authn_file$_apmod_extra_msg" >&5
7096
echo "${ECHO_T}$enable_authn_file$_apmod_extra_msg" >&6
7097
if test "$enable_authn_file" != "no"; then
7098
case "$enable_authn_file" in
7100
enable_authn_file=`echo $enable_authn_file|sed 's/shared,*//'`
7103
DSO_MODULES="$DSO_MODULES authn_file"
7106
MODLIST="$MODLIST authn_file"
7107
if test "authn_file" = "so"; then
7115
objects="mod_authn_file.lo"
7120
if test -z "$module_standalone"; then
7121
if test -z "$shared"; then
7122
# The filename of a convenience library must have a "lib" prefix:
7123
libname="libmod_authn_file.la"
7124
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7125
modpath_static="$modpath_static $libname"
7126
cat >>$modpath_current/modules.mk<<EOF
7128
\$(MOD_LINK) $objects \$(MOD_AUTHN_FILE_LDADD)
7131
apache_need_shared=yes
7132
libname="mod_authn_file.la"
7133
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7134
modpath_shared="$modpath_shared $libname"
7135
cat >>$modpath_current/modules.mk<<EOF
7136
$libname: $shobjects
7137
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHN_FILE_LDADD)
7143
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_FILE_LDADD"
7150
echo "$as_me:$LINENO: checking whether to enable mod_authn_dbm" >&5
7151
echo $ECHO_N "checking whether to enable mod_authn_dbm... $ECHO_C" >&6
7152
# Check whether --enable-authn-dbm or --disable-authn-dbm was given.
7153
if test "${enable_authn_dbm+set}" = set; then
7154
enableval="$enable_authn_dbm"
7157
enable_authn_dbm=most
7160
if test "$module_selection" = "most" -a "$enable_authn_dbm" = "most"; then
7161
_apmod_error_fatal="no"
7163
_apmod_error_fatal="yes"
7165
if test "$enable_authn_dbm" = "static"; then
7166
enable_authn_dbm=yes
7167
elif test "$enable_authn_dbm" = "yes"; then
7168
enable_authn_dbm=$module_default
7169
_apmod_extra_msg=" ($module_selection)"
7170
elif test "$enable_authn_dbm" = "most"; then
7171
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7172
enable_authn_dbm=$module_default
7173
_apmod_extra_msg=" ($module_selection)"
7174
elif test "$enable_authn_dbm" != "yes"; then
7177
elif test "$enable_authn_dbm" = "maybe-all"; then
7178
if test "$module_selection" = "all"; then
7179
enable_authn_dbm=$module_default
7180
_apmod_extra_msg=" (all)"
7185
if test "$enable_authn_dbm" != "no"; then
7188
echo "$as_me:$LINENO: result: $enable_authn_dbm$_apmod_extra_msg" >&5
7189
echo "${ECHO_T}$enable_authn_dbm$_apmod_extra_msg" >&6
7190
if test "$enable_authn_dbm" != "no"; then
7191
case "$enable_authn_dbm" in
7193
enable_authn_dbm=`echo $enable_authn_dbm|sed 's/shared,*//'`
7196
DSO_MODULES="$DSO_MODULES authn_dbm"
7199
MODLIST="$MODLIST authn_dbm"
7200
if test "authn_dbm" = "so"; then
7208
objects="mod_authn_dbm.lo"
7213
if test -z "$module_standalone"; then
7214
if test -z "$shared"; then
7215
# The filename of a convenience library must have a "lib" prefix:
7216
libname="libmod_authn_dbm.la"
7217
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7218
modpath_static="$modpath_static $libname"
7219
cat >>$modpath_current/modules.mk<<EOF
7221
\$(MOD_LINK) $objects \$(MOD_AUTHN_DBM_LDADD)
7224
apache_need_shared=yes
7225
libname="mod_authn_dbm.la"
7226
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7227
modpath_shared="$modpath_shared $libname"
7228
cat >>$modpath_current/modules.mk<<EOF
7229
$libname: $shobjects
7230
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHN_DBM_LDADD)
7236
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_DBM_LDADD"
7243
echo "$as_me:$LINENO: checking whether to enable mod_authn_anon" >&5
7244
echo $ECHO_N "checking whether to enable mod_authn_anon... $ECHO_C" >&6
7245
# Check whether --enable-authn-anon or --disable-authn-anon was given.
7246
if test "${enable_authn_anon+set}" = set; then
7247
enableval="$enable_authn_anon"
7250
enable_authn_anon=most
7253
if test "$module_selection" = "most" -a "$enable_authn_anon" = "most"; then
7254
_apmod_error_fatal="no"
7256
_apmod_error_fatal="yes"
7258
if test "$enable_authn_anon" = "static"; then
7259
enable_authn_anon=yes
7260
elif test "$enable_authn_anon" = "yes"; then
7261
enable_authn_anon=$module_default
7262
_apmod_extra_msg=" ($module_selection)"
7263
elif test "$enable_authn_anon" = "most"; then
7264
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7265
enable_authn_anon=$module_default
7266
_apmod_extra_msg=" ($module_selection)"
7267
elif test "$enable_authn_anon" != "yes"; then
7268
enable_authn_anon=no
7270
elif test "$enable_authn_anon" = "maybe-all"; then
7271
if test "$module_selection" = "all"; then
7272
enable_authn_anon=$module_default
7273
_apmod_extra_msg=" (all)"
7275
enable_authn_anon=no
7278
if test "$enable_authn_anon" != "no"; then
7281
echo "$as_me:$LINENO: result: $enable_authn_anon$_apmod_extra_msg" >&5
7282
echo "${ECHO_T}$enable_authn_anon$_apmod_extra_msg" >&6
7283
if test "$enable_authn_anon" != "no"; then
7284
case "$enable_authn_anon" in
7286
enable_authn_anon=`echo $enable_authn_anon|sed 's/shared,*//'`
7289
DSO_MODULES="$DSO_MODULES authn_anon"
7292
MODLIST="$MODLIST authn_anon"
7293
if test "authn_anon" = "so"; then
7301
objects="mod_authn_anon.lo"
7306
if test -z "$module_standalone"; then
7307
if test -z "$shared"; then
7308
# The filename of a convenience library must have a "lib" prefix:
7309
libname="libmod_authn_anon.la"
7310
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7311
modpath_static="$modpath_static $libname"
7312
cat >>$modpath_current/modules.mk<<EOF
7314
\$(MOD_LINK) $objects \$(MOD_AUTHN_ANON_LDADD)
7317
apache_need_shared=yes
7318
libname="mod_authn_anon.la"
7319
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7320
modpath_shared="$modpath_shared $libname"
7321
cat >>$modpath_current/modules.mk<<EOF
7322
$libname: $shobjects
7323
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHN_ANON_LDADD)
7329
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_ANON_LDADD"
7336
echo "$as_me:$LINENO: checking whether to enable mod_authn_dbd" >&5
7337
echo $ECHO_N "checking whether to enable mod_authn_dbd... $ECHO_C" >&6
7338
# Check whether --enable-authn-dbd or --disable-authn-dbd was given.
7339
if test "${enable_authn_dbd+set}" = set; then
7340
enableval="$enable_authn_dbd"
7343
enable_authn_dbd=most
7346
if test "$module_selection" = "most" -a "$enable_authn_dbd" = "most"; then
7347
_apmod_error_fatal="no"
7349
_apmod_error_fatal="yes"
7351
if test "$enable_authn_dbd" = "static"; then
7352
enable_authn_dbd=yes
7353
elif test "$enable_authn_dbd" = "yes"; then
7354
enable_authn_dbd=$module_default
7355
_apmod_extra_msg=" ($module_selection)"
7356
elif test "$enable_authn_dbd" = "most"; then
7357
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7358
enable_authn_dbd=$module_default
7359
_apmod_extra_msg=" ($module_selection)"
7360
elif test "$enable_authn_dbd" != "yes"; then
7363
elif test "$enable_authn_dbd" = "maybe-all"; then
7364
if test "$module_selection" = "all"; then
7365
enable_authn_dbd=$module_default
7366
_apmod_extra_msg=" (all)"
7371
if test "$enable_authn_dbd" != "no"; then
7374
echo "$as_me:$LINENO: result: $enable_authn_dbd$_apmod_extra_msg" >&5
7375
echo "${ECHO_T}$enable_authn_dbd$_apmod_extra_msg" >&6
7376
if test "$enable_authn_dbd" != "no"; then
7377
case "$enable_authn_dbd" in
7379
enable_authn_dbd=`echo $enable_authn_dbd|sed 's/shared,*//'`
7382
DSO_MODULES="$DSO_MODULES authn_dbd"
7385
MODLIST="$MODLIST authn_dbd"
7386
if test "authn_dbd" = "so"; then
7394
objects="mod_authn_dbd.lo"
7399
if test -z "$module_standalone"; then
7400
if test -z "$shared"; then
7401
# The filename of a convenience library must have a "lib" prefix:
7402
libname="libmod_authn_dbd.la"
7403
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7404
modpath_static="$modpath_static $libname"
7405
cat >>$modpath_current/modules.mk<<EOF
7407
\$(MOD_LINK) $objects \$(MOD_AUTHN_DBD_LDADD)
7410
apache_need_shared=yes
7411
libname="mod_authn_dbd.la"
7412
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7413
modpath_shared="$modpath_shared $libname"
7414
cat >>$modpath_current/modules.mk<<EOF
7415
$libname: $shobjects
7416
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHN_DBD_LDADD)
7422
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_DBD_LDADD"
7430
echo "$as_me:$LINENO: checking whether to enable mod_authn_default" >&5
7431
echo $ECHO_N "checking whether to enable mod_authn_default... $ECHO_C" >&6
7432
# Check whether --enable-authn-default or --disable-authn-default was given.
7433
if test "${enable_authn_default+set}" = set; then
7434
enableval="$enable_authn_default"
7437
enable_authn_default=yes
7440
if test "$module_selection" = "most" -a "$enable_authn_default" = "most"; then
7441
_apmod_error_fatal="no"
7443
_apmod_error_fatal="yes"
7445
if test "$enable_authn_default" = "static"; then
7446
enable_authn_default=yes
7447
elif test "$enable_authn_default" = "yes"; then
7448
enable_authn_default=$module_default
7449
_apmod_extra_msg=" ($module_selection)"
7450
elif test "$enable_authn_default" = "most"; then
7451
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7452
enable_authn_default=$module_default
7453
_apmod_extra_msg=" ($module_selection)"
7454
elif test "$enable_authn_default" != "yes"; then
7455
enable_authn_default=no
7457
elif test "$enable_authn_default" = "maybe-all"; then
7458
if test "$module_selection" = "all"; then
7459
enable_authn_default=$module_default
7460
_apmod_extra_msg=" (all)"
7462
enable_authn_default=no
7465
if test "$enable_authn_default" != "no"; then
7468
echo "$as_me:$LINENO: result: $enable_authn_default$_apmod_extra_msg" >&5
7469
echo "${ECHO_T}$enable_authn_default$_apmod_extra_msg" >&6
7470
if test "$enable_authn_default" != "no"; then
7471
case "$enable_authn_default" in
7473
enable_authn_default=`echo $enable_authn_default|sed 's/shared,*//'`
7476
DSO_MODULES="$DSO_MODULES authn_default"
7479
MODLIST="$MODLIST authn_default"
7480
if test "authn_default" = "so"; then
7488
objects="mod_authn_default.lo"
7493
if test -z "$module_standalone"; then
7494
if test -z "$shared"; then
7495
# The filename of a convenience library must have a "lib" prefix:
7496
libname="libmod_authn_default.la"
7497
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7498
modpath_static="$modpath_static $libname"
7499
cat >>$modpath_current/modules.mk<<EOF
7501
\$(MOD_LINK) $objects \$(MOD_AUTHN_DEFAULT_LDADD)
7504
apache_need_shared=yes
7505
libname="mod_authn_default.la"
7506
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7507
modpath_shared="$modpath_shared $libname"
7508
cat >>$modpath_current/modules.mk<<EOF
7509
$libname: $shobjects
7510
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHN_DEFAULT_LDADD)
7516
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_DEFAULT_LDADD"
7524
echo "$as_me:$LINENO: checking whether to enable mod_authn_alias" >&5
7525
echo $ECHO_N "checking whether to enable mod_authn_alias... $ECHO_C" >&6
7526
# Check whether --enable-authn-alias or --disable-authn-alias was given.
7527
if test "${enable_authn_alias+set}" = set; then
7528
enableval="$enable_authn_alias"
7531
enable_authn_alias=no
7534
if test "$module_selection" = "most" -a "$enable_authn_alias" = "most"; then
7535
_apmod_error_fatal="no"
7537
_apmod_error_fatal="yes"
7539
if test "$enable_authn_alias" = "static"; then
7540
enable_authn_alias=yes
7541
elif test "$enable_authn_alias" = "yes"; then
7542
enable_authn_alias=$module_default
7543
_apmod_extra_msg=" ($module_selection)"
7544
elif test "$enable_authn_alias" = "most"; then
7545
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7546
enable_authn_alias=$module_default
7547
_apmod_extra_msg=" ($module_selection)"
7548
elif test "$enable_authn_alias" != "yes"; then
7549
enable_authn_alias=no
7551
elif test "$enable_authn_alias" = "maybe-all"; then
7552
if test "$module_selection" = "all"; then
7553
enable_authn_alias=$module_default
7554
_apmod_extra_msg=" (all)"
7556
enable_authn_alias=no
7559
if test "$enable_authn_alias" != "no"; then
7562
echo "$as_me:$LINENO: result: $enable_authn_alias$_apmod_extra_msg" >&5
7563
echo "${ECHO_T}$enable_authn_alias$_apmod_extra_msg" >&6
7564
if test "$enable_authn_alias" != "no"; then
7565
case "$enable_authn_alias" in
7567
enable_authn_alias=`echo $enable_authn_alias|sed 's/shared,*//'`
7570
DSO_MODULES="$DSO_MODULES authn_alias"
7573
MODLIST="$MODLIST authn_alias"
7574
if test "authn_alias" = "so"; then
7582
objects="mod_authn_alias.lo"
7587
if test -z "$module_standalone"; then
7588
if test -z "$shared"; then
7589
# The filename of a convenience library must have a "lib" prefix:
7590
libname="libmod_authn_alias.la"
7591
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7592
modpath_static="$modpath_static $libname"
7593
cat >>$modpath_current/modules.mk<<EOF
7595
\$(MOD_LINK) $objects \$(MOD_AUTHN_ALIAS_LDADD)
7598
apache_need_shared=yes
7599
libname="mod_authn_alias.la"
7600
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7601
modpath_shared="$modpath_shared $libname"
7602
cat >>$modpath_current/modules.mk<<EOF
7603
$libname: $shobjects
7604
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHN_ALIAS_LDADD)
7610
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHN_ALIAS_LDADD"
7618
echo "$as_me:$LINENO: checking whether to enable mod_authz_host" >&5
7619
echo $ECHO_N "checking whether to enable mod_authz_host... $ECHO_C" >&6
7620
# Check whether --enable-authz-host or --disable-authz-host was given.
7621
if test "${enable_authz_host+set}" = set; then
7622
enableval="$enable_authz_host"
7625
enable_authz_host=yes
7628
if test "$module_selection" = "most" -a "$enable_authz_host" = "most"; then
7629
_apmod_error_fatal="no"
7631
_apmod_error_fatal="yes"
7633
if test "$enable_authz_host" = "static"; then
7634
enable_authz_host=yes
7635
elif test "$enable_authz_host" = "yes"; then
7636
enable_authz_host=$module_default
7637
_apmod_extra_msg=" ($module_selection)"
7638
elif test "$enable_authz_host" = "most"; then
7639
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7640
enable_authz_host=$module_default
7641
_apmod_extra_msg=" ($module_selection)"
7642
elif test "$enable_authz_host" != "yes"; then
7643
enable_authz_host=no
7645
elif test "$enable_authz_host" = "maybe-all"; then
7646
if test "$module_selection" = "all"; then
7647
enable_authz_host=$module_default
7648
_apmod_extra_msg=" (all)"
7650
enable_authz_host=no
7653
if test "$enable_authz_host" != "no"; then
7656
echo "$as_me:$LINENO: result: $enable_authz_host$_apmod_extra_msg" >&5
7657
echo "${ECHO_T}$enable_authz_host$_apmod_extra_msg" >&6
7658
if test "$enable_authz_host" != "no"; then
7659
case "$enable_authz_host" in
7661
enable_authz_host=`echo $enable_authz_host|sed 's/shared,*//'`
7664
DSO_MODULES="$DSO_MODULES authz_host"
7667
MODLIST="$MODLIST authz_host"
7668
if test "authz_host" = "so"; then
7676
objects="mod_authz_host.lo"
7681
if test -z "$module_standalone"; then
7682
if test -z "$shared"; then
7683
# The filename of a convenience library must have a "lib" prefix:
7684
libname="libmod_authz_host.la"
7685
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7686
modpath_static="$modpath_static $libname"
7687
cat >>$modpath_current/modules.mk<<EOF
7689
\$(MOD_LINK) $objects \$(MOD_AUTHZ_HOST_LDADD)
7692
apache_need_shared=yes
7693
libname="mod_authz_host.la"
7694
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7695
modpath_shared="$modpath_shared $libname"
7696
cat >>$modpath_current/modules.mk<<EOF
7697
$libname: $shobjects
7698
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHZ_HOST_LDADD)
7704
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_HOST_LDADD"
7711
echo "$as_me:$LINENO: checking whether to enable mod_authz_groupfile" >&5
7712
echo $ECHO_N "checking whether to enable mod_authz_groupfile... $ECHO_C" >&6
7713
# Check whether --enable-authz-groupfile or --disable-authz-groupfile was given.
7714
if test "${enable_authz_groupfile+set}" = set; then
7715
enableval="$enable_authz_groupfile"
7718
enable_authz_groupfile=yes
7721
if test "$module_selection" = "most" -a "$enable_authz_groupfile" = "most"; then
7722
_apmod_error_fatal="no"
7724
_apmod_error_fatal="yes"
7726
if test "$enable_authz_groupfile" = "static"; then
7727
enable_authz_groupfile=yes
7728
elif test "$enable_authz_groupfile" = "yes"; then
7729
enable_authz_groupfile=$module_default
7730
_apmod_extra_msg=" ($module_selection)"
7731
elif test "$enable_authz_groupfile" = "most"; then
7732
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7733
enable_authz_groupfile=$module_default
7734
_apmod_extra_msg=" ($module_selection)"
7735
elif test "$enable_authz_groupfile" != "yes"; then
7736
enable_authz_groupfile=no
7738
elif test "$enable_authz_groupfile" = "maybe-all"; then
7739
if test "$module_selection" = "all"; then
7740
enable_authz_groupfile=$module_default
7741
_apmod_extra_msg=" (all)"
7743
enable_authz_groupfile=no
7746
if test "$enable_authz_groupfile" != "no"; then
7749
echo "$as_me:$LINENO: result: $enable_authz_groupfile$_apmod_extra_msg" >&5
7750
echo "${ECHO_T}$enable_authz_groupfile$_apmod_extra_msg" >&6
7751
if test "$enable_authz_groupfile" != "no"; then
7752
case "$enable_authz_groupfile" in
7754
enable_authz_groupfile=`echo $enable_authz_groupfile|sed 's/shared,*//'`
7757
DSO_MODULES="$DSO_MODULES authz_groupfile"
7760
MODLIST="$MODLIST authz_groupfile"
7761
if test "authz_groupfile" = "so"; then
7769
objects="mod_authz_groupfile.lo"
7774
if test -z "$module_standalone"; then
7775
if test -z "$shared"; then
7776
# The filename of a convenience library must have a "lib" prefix:
7777
libname="libmod_authz_groupfile.la"
7778
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7779
modpath_static="$modpath_static $libname"
7780
cat >>$modpath_current/modules.mk<<EOF
7782
\$(MOD_LINK) $objects \$(MOD_AUTHZ_GROUPFILE_LDADD)
7785
apache_need_shared=yes
7786
libname="mod_authz_groupfile.la"
7787
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7788
modpath_shared="$modpath_shared $libname"
7789
cat >>$modpath_current/modules.mk<<EOF
7790
$libname: $shobjects
7791
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHZ_GROUPFILE_LDADD)
7797
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_GROUPFILE_LDADD"
7804
echo "$as_me:$LINENO: checking whether to enable mod_authz_user" >&5
7805
echo $ECHO_N "checking whether to enable mod_authz_user... $ECHO_C" >&6
7806
# Check whether --enable-authz-user or --disable-authz-user was given.
7807
if test "${enable_authz_user+set}" = set; then
7808
enableval="$enable_authz_user"
7811
enable_authz_user=yes
7814
if test "$module_selection" = "most" -a "$enable_authz_user" = "most"; then
7815
_apmod_error_fatal="no"
7817
_apmod_error_fatal="yes"
7819
if test "$enable_authz_user" = "static"; then
7820
enable_authz_user=yes
7821
elif test "$enable_authz_user" = "yes"; then
7822
enable_authz_user=$module_default
7823
_apmod_extra_msg=" ($module_selection)"
7824
elif test "$enable_authz_user" = "most"; then
7825
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7826
enable_authz_user=$module_default
7827
_apmod_extra_msg=" ($module_selection)"
7828
elif test "$enable_authz_user" != "yes"; then
7829
enable_authz_user=no
7831
elif test "$enable_authz_user" = "maybe-all"; then
7832
if test "$module_selection" = "all"; then
7833
enable_authz_user=$module_default
7834
_apmod_extra_msg=" (all)"
7836
enable_authz_user=no
7839
if test "$enable_authz_user" != "no"; then
7842
echo "$as_me:$LINENO: result: $enable_authz_user$_apmod_extra_msg" >&5
7843
echo "${ECHO_T}$enable_authz_user$_apmod_extra_msg" >&6
7844
if test "$enable_authz_user" != "no"; then
7845
case "$enable_authz_user" in
7847
enable_authz_user=`echo $enable_authz_user|sed 's/shared,*//'`
7850
DSO_MODULES="$DSO_MODULES authz_user"
7853
MODLIST="$MODLIST authz_user"
7854
if test "authz_user" = "so"; then
7862
objects="mod_authz_user.lo"
7867
if test -z "$module_standalone"; then
7868
if test -z "$shared"; then
7869
# The filename of a convenience library must have a "lib" prefix:
7870
libname="libmod_authz_user.la"
7871
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7872
modpath_static="$modpath_static $libname"
7873
cat >>$modpath_current/modules.mk<<EOF
7875
\$(MOD_LINK) $objects \$(MOD_AUTHZ_USER_LDADD)
7878
apache_need_shared=yes
7879
libname="mod_authz_user.la"
7880
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7881
modpath_shared="$modpath_shared $libname"
7882
cat >>$modpath_current/modules.mk<<EOF
7883
$libname: $shobjects
7884
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHZ_USER_LDADD)
7890
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_USER_LDADD"
7897
echo "$as_me:$LINENO: checking whether to enable mod_authz_dbm" >&5
7898
echo $ECHO_N "checking whether to enable mod_authz_dbm... $ECHO_C" >&6
7899
# Check whether --enable-authz-dbm or --disable-authz-dbm was given.
7900
if test "${enable_authz_dbm+set}" = set; then
7901
enableval="$enable_authz_dbm"
7904
enable_authz_dbm=most
7907
if test "$module_selection" = "most" -a "$enable_authz_dbm" = "most"; then
7908
_apmod_error_fatal="no"
7910
_apmod_error_fatal="yes"
7912
if test "$enable_authz_dbm" = "static"; then
7913
enable_authz_dbm=yes
7914
elif test "$enable_authz_dbm" = "yes"; then
7915
enable_authz_dbm=$module_default
7916
_apmod_extra_msg=" ($module_selection)"
7917
elif test "$enable_authz_dbm" = "most"; then
7918
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
7919
enable_authz_dbm=$module_default
7920
_apmod_extra_msg=" ($module_selection)"
7921
elif test "$enable_authz_dbm" != "yes"; then
7924
elif test "$enable_authz_dbm" = "maybe-all"; then
7925
if test "$module_selection" = "all"; then
7926
enable_authz_dbm=$module_default
7927
_apmod_extra_msg=" (all)"
7932
if test "$enable_authz_dbm" != "no"; then
7935
echo "$as_me:$LINENO: result: $enable_authz_dbm$_apmod_extra_msg" >&5
7936
echo "${ECHO_T}$enable_authz_dbm$_apmod_extra_msg" >&6
7937
if test "$enable_authz_dbm" != "no"; then
7938
case "$enable_authz_dbm" in
7940
enable_authz_dbm=`echo $enable_authz_dbm|sed 's/shared,*//'`
7943
DSO_MODULES="$DSO_MODULES authz_dbm"
7946
MODLIST="$MODLIST authz_dbm"
7947
if test "authz_dbm" = "so"; then
7955
objects="mod_authz_dbm.lo"
7960
if test -z "$module_standalone"; then
7961
if test -z "$shared"; then
7962
# The filename of a convenience library must have a "lib" prefix:
7963
libname="libmod_authz_dbm.la"
7964
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
7965
modpath_static="$modpath_static $libname"
7966
cat >>$modpath_current/modules.mk<<EOF
7968
\$(MOD_LINK) $objects \$(MOD_AUTHZ_DBM_LDADD)
7971
apache_need_shared=yes
7972
libname="mod_authz_dbm.la"
7973
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
7974
modpath_shared="$modpath_shared $libname"
7975
cat >>$modpath_current/modules.mk<<EOF
7976
$libname: $shobjects
7977
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHZ_DBM_LDADD)
7983
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_DBM_LDADD"
7990
echo "$as_me:$LINENO: checking whether to enable mod_authz_owner" >&5
7991
echo $ECHO_N "checking whether to enable mod_authz_owner... $ECHO_C" >&6
7992
# Check whether --enable-authz-owner or --disable-authz-owner was given.
7993
if test "${enable_authz_owner+set}" = set; then
7994
enableval="$enable_authz_owner"
7997
enable_authz_owner=most
8000
if test "$module_selection" = "most" -a "$enable_authz_owner" = "most"; then
8001
_apmod_error_fatal="no"
8003
_apmod_error_fatal="yes"
8005
if test "$enable_authz_owner" = "static"; then
8006
enable_authz_owner=yes
8007
elif test "$enable_authz_owner" = "yes"; then
8008
enable_authz_owner=$module_default
8009
_apmod_extra_msg=" ($module_selection)"
8010
elif test "$enable_authz_owner" = "most"; then
8011
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8012
enable_authz_owner=$module_default
8013
_apmod_extra_msg=" ($module_selection)"
8014
elif test "$enable_authz_owner" != "yes"; then
8015
enable_authz_owner=no
8017
elif test "$enable_authz_owner" = "maybe-all"; then
8018
if test "$module_selection" = "all"; then
8019
enable_authz_owner=$module_default
8020
_apmod_extra_msg=" (all)"
8022
enable_authz_owner=no
8025
if test "$enable_authz_owner" != "no"; then
8028
echo "$as_me:$LINENO: result: $enable_authz_owner$_apmod_extra_msg" >&5
8029
echo "${ECHO_T}$enable_authz_owner$_apmod_extra_msg" >&6
8030
if test "$enable_authz_owner" != "no"; then
8031
case "$enable_authz_owner" in
8033
enable_authz_owner=`echo $enable_authz_owner|sed 's/shared,*//'`
8036
DSO_MODULES="$DSO_MODULES authz_owner"
8039
MODLIST="$MODLIST authz_owner"
8040
if test "authz_owner" = "so"; then
8048
objects="mod_authz_owner.lo"
8053
if test -z "$module_standalone"; then
8054
if test -z "$shared"; then
8055
# The filename of a convenience library must have a "lib" prefix:
8056
libname="libmod_authz_owner.la"
8057
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8058
modpath_static="$modpath_static $libname"
8059
cat >>$modpath_current/modules.mk<<EOF
8061
\$(MOD_LINK) $objects \$(MOD_AUTHZ_OWNER_LDADD)
8064
apache_need_shared=yes
8065
libname="mod_authz_owner.la"
8066
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8067
modpath_shared="$modpath_shared $libname"
8068
cat >>$modpath_current/modules.mk<<EOF
8069
$libname: $shobjects
8070
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHZ_OWNER_LDADD)
8076
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_OWNER_LDADD"
8084
echo "$as_me:$LINENO: checking whether to enable mod_authnz_ldap" >&5
8085
echo $ECHO_N "checking whether to enable mod_authnz_ldap... $ECHO_C" >&6
8086
# Check whether --enable-authnz-ldap or --disable-authnz-ldap was given.
8087
if test "${enable_authnz_ldap+set}" = set; then
8088
enableval="$enable_authnz_ldap"
8091
enable_authnz_ldap=no
8094
if test "$module_selection" = "most" -a "$enable_authnz_ldap" = "most"; then
8095
_apmod_error_fatal="no"
8097
_apmod_error_fatal="yes"
8099
if test "$enable_authnz_ldap" = "static"; then
8100
enable_authnz_ldap=yes
8101
elif test "$enable_authnz_ldap" = "yes"; then
8102
enable_authnz_ldap=$module_default
8103
_apmod_extra_msg=" ($module_selection)"
8104
elif test "$enable_authnz_ldap" = "most"; then
8105
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8106
enable_authnz_ldap=$module_default
8107
_apmod_extra_msg=" ($module_selection)"
8108
elif test "$enable_authnz_ldap" != "yes"; then
8109
enable_authnz_ldap=no
8111
elif test "$enable_authnz_ldap" = "maybe-all"; then
8112
if test "$module_selection" = "all"; then
8113
enable_authnz_ldap=$module_default
8114
_apmod_extra_msg=" (all)"
8116
enable_authnz_ldap=no
8119
if test "$enable_authnz_ldap" != "no"; then
8122
echo "$as_me:$LINENO: result: $enable_authnz_ldap$_apmod_extra_msg" >&5
8123
echo "${ECHO_T}$enable_authnz_ldap$_apmod_extra_msg" >&6
8124
if test "$enable_authnz_ldap" != "no"; then
8125
case "$enable_authnz_ldap" in
8127
enable_authnz_ldap=`echo $enable_authnz_ldap|sed 's/shared,*//'`
8130
DSO_MODULES="$DSO_MODULES authnz_ldap"
8133
MODLIST="$MODLIST authnz_ldap"
8134
if test "authnz_ldap" = "so"; then
8142
objects="mod_authnz_ldap.lo"
8147
if test -z "$module_standalone"; then
8148
if test -z "$shared"; then
8149
# The filename of a convenience library must have a "lib" prefix:
8150
libname="libmod_authnz_ldap.la"
8151
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8152
modpath_static="$modpath_static $libname"
8153
cat >>$modpath_current/modules.mk<<EOF
8155
\$(MOD_LINK) $objects \$(MOD_AUTHNZ_LDAP_LDADD)
8158
apache_need_shared=yes
8159
libname="mod_authnz_ldap.la"
8160
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8161
modpath_shared="$modpath_shared $libname"
8162
cat >>$modpath_current/modules.mk<<EOF
8163
$libname: $shobjects
8164
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHNZ_LDAP_LDADD)
8170
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHNZ_LDAP_LDADD"
8178
echo "$as_me:$LINENO: checking whether to enable mod_authz_default" >&5
8179
echo $ECHO_N "checking whether to enable mod_authz_default... $ECHO_C" >&6
8180
# Check whether --enable-authz-default or --disable-authz-default was given.
8181
if test "${enable_authz_default+set}" = set; then
8182
enableval="$enable_authz_default"
8185
enable_authz_default=yes
8188
if test "$module_selection" = "most" -a "$enable_authz_default" = "most"; then
8189
_apmod_error_fatal="no"
8191
_apmod_error_fatal="yes"
8193
if test "$enable_authz_default" = "static"; then
8194
enable_authz_default=yes
8195
elif test "$enable_authz_default" = "yes"; then
8196
enable_authz_default=$module_default
8197
_apmod_extra_msg=" ($module_selection)"
8198
elif test "$enable_authz_default" = "most"; then
8199
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8200
enable_authz_default=$module_default
8201
_apmod_extra_msg=" ($module_selection)"
8202
elif test "$enable_authz_default" != "yes"; then
8203
enable_authz_default=no
8205
elif test "$enable_authz_default" = "maybe-all"; then
8206
if test "$module_selection" = "all"; then
8207
enable_authz_default=$module_default
8208
_apmod_extra_msg=" (all)"
8210
enable_authz_default=no
8213
if test "$enable_authz_default" != "no"; then
8216
echo "$as_me:$LINENO: result: $enable_authz_default$_apmod_extra_msg" >&5
8217
echo "${ECHO_T}$enable_authz_default$_apmod_extra_msg" >&6
8218
if test "$enable_authz_default" != "no"; then
8219
case "$enable_authz_default" in
8221
enable_authz_default=`echo $enable_authz_default|sed 's/shared,*//'`
8224
DSO_MODULES="$DSO_MODULES authz_default"
8227
MODLIST="$MODLIST authz_default"
8228
if test "authz_default" = "so"; then
8236
objects="mod_authz_default.lo"
8241
if test -z "$module_standalone"; then
8242
if test -z "$shared"; then
8243
# The filename of a convenience library must have a "lib" prefix:
8244
libname="libmod_authz_default.la"
8245
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8246
modpath_static="$modpath_static $libname"
8247
cat >>$modpath_current/modules.mk<<EOF
8249
\$(MOD_LINK) $objects \$(MOD_AUTHZ_DEFAULT_LDADD)
8252
apache_need_shared=yes
8253
libname="mod_authz_default.la"
8254
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8255
modpath_shared="$modpath_shared $libname"
8256
cat >>$modpath_current/modules.mk<<EOF
8257
$libname: $shobjects
8258
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTHZ_DEFAULT_LDADD)
8264
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTHZ_DEFAULT_LDADD"
8273
echo "$as_me:$LINENO: checking whether to enable mod_auth_basic" >&5
8274
echo $ECHO_N "checking whether to enable mod_auth_basic... $ECHO_C" >&6
8275
# Check whether --enable-auth-basic or --disable-auth-basic was given.
8276
if test "${enable_auth_basic+set}" = set; then
8277
enableval="$enable_auth_basic"
8280
enable_auth_basic=yes
8283
if test "$module_selection" = "most" -a "$enable_auth_basic" = "most"; then
8284
_apmod_error_fatal="no"
8286
_apmod_error_fatal="yes"
8288
if test "$enable_auth_basic" = "static"; then
8289
enable_auth_basic=yes
8290
elif test "$enable_auth_basic" = "yes"; then
8291
enable_auth_basic=$module_default
8292
_apmod_extra_msg=" ($module_selection)"
8293
elif test "$enable_auth_basic" = "most"; then
8294
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8295
enable_auth_basic=$module_default
8296
_apmod_extra_msg=" ($module_selection)"
8297
elif test "$enable_auth_basic" != "yes"; then
8298
enable_auth_basic=no
8300
elif test "$enable_auth_basic" = "maybe-all"; then
8301
if test "$module_selection" = "all"; then
8302
enable_auth_basic=$module_default
8303
_apmod_extra_msg=" (all)"
8305
enable_auth_basic=no
8308
if test "$enable_auth_basic" != "no"; then
8311
echo "$as_me:$LINENO: result: $enable_auth_basic$_apmod_extra_msg" >&5
8312
echo "${ECHO_T}$enable_auth_basic$_apmod_extra_msg" >&6
8313
if test "$enable_auth_basic" != "no"; then
8314
case "$enable_auth_basic" in
8316
enable_auth_basic=`echo $enable_auth_basic|sed 's/shared,*//'`
8319
DSO_MODULES="$DSO_MODULES auth_basic"
8322
MODLIST="$MODLIST auth_basic"
8323
if test "auth_basic" = "so"; then
8331
objects="mod_auth_basic.lo"
8336
if test -z "$module_standalone"; then
8337
if test -z "$shared"; then
8338
# The filename of a convenience library must have a "lib" prefix:
8339
libname="libmod_auth_basic.la"
8340
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8341
modpath_static="$modpath_static $libname"
8342
cat >>$modpath_current/modules.mk<<EOF
8344
\$(MOD_LINK) $objects \$(MOD_AUTH_BASIC_LDADD)
8347
apache_need_shared=yes
8348
libname="mod_auth_basic.la"
8349
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8350
modpath_shared="$modpath_shared $libname"
8351
cat >>$modpath_current/modules.mk<<EOF
8352
$libname: $shobjects
8353
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTH_BASIC_LDADD)
8359
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_BASIC_LDADD"
8366
echo "$as_me:$LINENO: checking whether to enable mod_auth_digest" >&5
8367
echo $ECHO_N "checking whether to enable mod_auth_digest... $ECHO_C" >&6
8368
# Check whether --enable-auth-digest or --disable-auth-digest was given.
8369
if test "${enable_auth_digest+set}" = set; then
8370
enableval="$enable_auth_digest"
8373
enable_auth_digest=most
8376
if test "$module_selection" = "most" -a "$enable_auth_digest" = "most"; then
8377
_apmod_error_fatal="no"
8379
_apmod_error_fatal="yes"
8381
if test "$enable_auth_digest" = "static"; then
8382
enable_auth_digest=yes
8383
elif test "$enable_auth_digest" = "yes"; then
8384
enable_auth_digest=$module_default
8385
_apmod_extra_msg=" ($module_selection)"
8386
elif test "$enable_auth_digest" = "most"; then
8387
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8388
enable_auth_digest=$module_default
8389
_apmod_extra_msg=" ($module_selection)"
8390
elif test "$enable_auth_digest" != "yes"; then
8391
enable_auth_digest=no
8393
elif test "$enable_auth_digest" = "maybe-all"; then
8394
if test "$module_selection" = "all"; then
8395
enable_auth_digest=$module_default
8396
_apmod_extra_msg=" (all)"
8398
enable_auth_digest=no
8401
if test "$enable_auth_digest" != "no"; then
8402
echo "$as_me:$LINENO: result: checking dependencies" >&5
8403
echo "${ECHO_T}checking dependencies" >&6
8406
apr_old_cppflags=$CPPFLAGS
8407
CPPFLAGS="$CPPFLAGS $INCLUDES"
8408
cat >conftest.$ac_ext <<_ACEOF
8411
cat confdefs.h >>conftest.$ac_ext
8412
cat >>conftest.$ac_ext <<_ACEOF
8413
/* end confdefs.h. */
8421
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8422
$EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
8423
ac_cv_define_APR_HAS_RANDOM=yes
8425
ac_cv_define_APR_HAS_RANDOM=no
8429
CPPFLAGS=$apr_old_cppflags
8431
if test $ac_cv_define_APR_HAS_RANDOM = "no"; then
8432
echo "You need APR random support to use mod_auth_digest."
8433
echo "Look at APR configure options --with-egd and --with-devrandom."
8434
enable_auth_digest="no"
8437
echo "$as_me:$LINENO: checking whether to enable mod_auth_digest" >&5
8438
echo $ECHO_N "checking whether to enable mod_auth_digest... $ECHO_C" >&6
8439
if test "$enable_auth_digest" = "no"; then
8440
if test "$_apmod_error_fatal" = "no"; then
8441
_apmod_extra_msg=" (disabled)"
8443
{ { echo "$as_me:$LINENO: error: mod_auth_digest has been requested but can not be built due to prerequisite failures" >&5
8444
echo "$as_me: error: mod_auth_digest has been requested but can not be built due to prerequisite failures" >&2;}
8445
{ (exit 1); exit 1; }; }
8449
echo "$as_me:$LINENO: result: $enable_auth_digest$_apmod_extra_msg" >&5
8450
echo "${ECHO_T}$enable_auth_digest$_apmod_extra_msg" >&6
8451
if test "$enable_auth_digest" != "no"; then
8452
case "$enable_auth_digest" in
8454
enable_auth_digest=`echo $enable_auth_digest|sed 's/shared,*//'`
8457
DSO_MODULES="$DSO_MODULES auth_digest"
8460
MODLIST="$MODLIST auth_digest"
8461
if test "auth_digest" = "so"; then
8469
objects="mod_auth_digest.lo"
8474
if test -z "$module_standalone"; then
8475
if test -z "$shared"; then
8476
# The filename of a convenience library must have a "lib" prefix:
8477
libname="libmod_auth_digest.la"
8478
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8479
modpath_static="$modpath_static $libname"
8480
cat >>$modpath_current/modules.mk<<EOF
8482
\$(MOD_LINK) $objects \$(MOD_AUTH_DIGEST_LDADD)
8485
apache_need_shared=yes
8486
libname="mod_auth_digest.la"
8487
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8488
modpath_shared="$modpath_shared $libname"
8489
cat >>$modpath_current/modules.mk<<EOF
8490
$libname: $shobjects
8491
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTH_DIGEST_LDADD)
8497
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTH_DIGEST_LDADD"
8505
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
8506
echo "static = $modpath_static" >> $modpath_current/modules.mk
8507
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
8508
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
8509
MODULE_DIRS="$MODULE_DIRS $current_dir"
8511
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
8514
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
8521
current_dir=arch/win32
8522
modpath_current=modules/arch/win32
8525
test -d arch/win32 || $srcdir/build/mkdir.sh $modpath_current
8526
> $modpath_current/modules.mk
8530
echo "$as_me:$LINENO: checking whether to enable mod_isapi" >&5
8531
echo $ECHO_N "checking whether to enable mod_isapi... $ECHO_C" >&6
8532
# Check whether --enable-isapi or --disable-isapi was given.
8533
if test "${enable_isapi+set}" = set; then
8534
enableval="$enable_isapi"
8540
if test "$module_selection" = "most" -a "$enable_isapi" = "most"; then
8541
_apmod_error_fatal="no"
8543
_apmod_error_fatal="yes"
8545
if test "$enable_isapi" = "static"; then
8547
elif test "$enable_isapi" = "yes"; then
8548
enable_isapi=$module_default
8549
_apmod_extra_msg=" ($module_selection)"
8550
elif test "$enable_isapi" = "most"; then
8551
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8552
enable_isapi=$module_default
8553
_apmod_extra_msg=" ($module_selection)"
8554
elif test "$enable_isapi" != "yes"; then
8557
elif test "$enable_isapi" = "maybe-all"; then
8558
if test "$module_selection" = "all"; then
8559
enable_isapi=$module_default
8560
_apmod_extra_msg=" (all)"
8565
if test "$enable_isapi" != "no"; then
8568
echo "$as_me:$LINENO: result: $enable_isapi$_apmod_extra_msg" >&5
8569
echo "${ECHO_T}$enable_isapi$_apmod_extra_msg" >&6
8570
if test "$enable_isapi" != "no"; then
8571
case "$enable_isapi" in
8573
enable_isapi=`echo $enable_isapi|sed 's/shared,*//'`
8576
DSO_MODULES="$DSO_MODULES isapi"
8579
MODLIST="$MODLIST isapi"
8580
if test "isapi" = "so"; then
8588
objects="mod_isapi.lo"
8593
if test -z "$module_standalone"; then
8594
if test -z "$shared"; then
8595
# The filename of a convenience library must have a "lib" prefix:
8596
libname="libmod_isapi.la"
8597
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8598
modpath_static="$modpath_static $libname"
8599
cat >>$modpath_current/modules.mk<<EOF
8601
\$(MOD_LINK) $objects \$(MOD_ISAPI_LDADD)
8604
apache_need_shared=yes
8605
libname="mod_isapi.la"
8606
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8607
modpath_shared="$modpath_shared $libname"
8608
cat >>$modpath_current/modules.mk<<EOF
8609
$libname: $shobjects
8610
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ISAPI_LDADD)
8616
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ISAPI_LDADD"
8624
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
8625
echo "static = $modpath_static" >> $modpath_current/modules.mk
8626
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
8627
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
8628
MODULE_DIRS="$MODULE_DIRS $current_dir"
8630
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
8633
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
8641
modpath_current=modules/cache
8644
test -d cache || $srcdir/build/mkdir.sh $modpath_current
8645
> $modpath_current/modules.mk
8649
echo "$as_me:$LINENO: checking whether to enable mod_file_cache" >&5
8650
echo $ECHO_N "checking whether to enable mod_file_cache... $ECHO_C" >&6
8651
# Check whether --enable-file-cache or --disable-file-cache was given.
8652
if test "${enable_file_cache+set}" = set; then
8653
enableval="$enable_file_cache"
8656
enable_file_cache=no
8659
if test "$module_selection" = "most" -a "$enable_file_cache" = "most"; then
8660
_apmod_error_fatal="no"
8662
_apmod_error_fatal="yes"
8664
if test "$enable_file_cache" = "static"; then
8665
enable_file_cache=yes
8666
elif test "$enable_file_cache" = "yes"; then
8667
enable_file_cache=$module_default
8668
_apmod_extra_msg=" ($module_selection)"
8669
elif test "$enable_file_cache" = "most"; then
8670
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8671
enable_file_cache=$module_default
8672
_apmod_extra_msg=" ($module_selection)"
8673
elif test "$enable_file_cache" != "yes"; then
8674
enable_file_cache=no
8676
elif test "$enable_file_cache" = "maybe-all"; then
8677
if test "$module_selection" = "all"; then
8678
enable_file_cache=$module_default
8679
_apmod_extra_msg=" (all)"
8681
enable_file_cache=no
8684
if test "$enable_file_cache" != "no"; then
8687
echo "$as_me:$LINENO: result: $enable_file_cache$_apmod_extra_msg" >&5
8688
echo "${ECHO_T}$enable_file_cache$_apmod_extra_msg" >&6
8689
if test "$enable_file_cache" != "no"; then
8690
case "$enable_file_cache" in
8692
enable_file_cache=`echo $enable_file_cache|sed 's/shared,*//'`
8695
DSO_MODULES="$DSO_MODULES file_cache"
8698
MODLIST="$MODLIST file_cache"
8699
if test "file_cache" = "so"; then
8707
objects="mod_file_cache.lo"
8712
if test -z "$module_standalone"; then
8713
if test -z "$shared"; then
8714
# The filename of a convenience library must have a "lib" prefix:
8715
libname="libmod_file_cache.la"
8716
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8717
modpath_static="$modpath_static $libname"
8718
cat >>$modpath_current/modules.mk<<EOF
8720
\$(MOD_LINK) $objects \$(MOD_FILE_CACHE_LDADD)
8723
apache_need_shared=yes
8724
libname="mod_file_cache.la"
8725
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8726
modpath_shared="$modpath_shared $libname"
8727
cat >>$modpath_current/modules.mk<<EOF
8728
$libname: $shobjects
8729
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_FILE_CACHE_LDADD)
8735
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_FILE_CACHE_LDADD"
8742
cache_objs="mod_cache.lo cache_storage.lo cache_util.lo "
8743
mem_cache_objs="mod_mem_cache.lo cache_cache.lo cache_pqueue.lo cache_hash.lo "
8745
echo "$as_me:$LINENO: checking whether to enable mod_cache" >&5
8746
echo $ECHO_N "checking whether to enable mod_cache... $ECHO_C" >&6
8747
# Check whether --enable-cache or --disable-cache was given.
8748
if test "${enable_cache+set}" = set; then
8749
enableval="$enable_cache"
8755
if test "$module_selection" = "most" -a "$enable_cache" = "most"; then
8756
_apmod_error_fatal="no"
8758
_apmod_error_fatal="yes"
8760
if test "$enable_cache" = "static"; then
8762
elif test "$enable_cache" = "yes"; then
8763
enable_cache=$module_default
8764
_apmod_extra_msg=" ($module_selection)"
8765
elif test "$enable_cache" = "most"; then
8766
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8767
enable_cache=$module_default
8768
_apmod_extra_msg=" ($module_selection)"
8769
elif test "$enable_cache" != "yes"; then
8772
elif test "$enable_cache" = "maybe-all"; then
8773
if test "$module_selection" = "all"; then
8774
enable_cache=$module_default
8775
_apmod_extra_msg=" (all)"
8780
if test "$enable_cache" != "no"; then
8783
echo "$as_me:$LINENO: result: $enable_cache$_apmod_extra_msg" >&5
8784
echo "${ECHO_T}$enable_cache$_apmod_extra_msg" >&6
8785
if test "$enable_cache" != "no"; then
8786
case "$enable_cache" in
8788
enable_cache=`echo $enable_cache|sed 's/shared,*//'`
8791
DSO_MODULES="$DSO_MODULES cache"
8794
MODLIST="$MODLIST cache"
8795
if test "cache" = "so"; then
8802
if test -z "$cache_objs"; then
8803
objects="mod_cache.lo"
8805
objects="$cache_objs"
8808
if test -z "$module_standalone"; then
8809
if test -z "$shared"; then
8810
# The filename of a convenience library must have a "lib" prefix:
8811
libname="libmod_cache.la"
8812
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8813
modpath_static="$modpath_static $libname"
8814
cat >>$modpath_current/modules.mk<<EOF
8816
\$(MOD_LINK) $objects \$(MOD_CACHE_LDADD)
8819
apache_need_shared=yes
8820
libname="mod_cache.la"
8821
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8822
modpath_shared="$modpath_shared $libname"
8823
cat >>$modpath_current/modules.mk<<EOF
8824
$libname: $shobjects
8825
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CACHE_LDADD)
8831
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CACHE_LDADD"
8838
echo "$as_me:$LINENO: checking whether to enable mod_disk_cache" >&5
8839
echo $ECHO_N "checking whether to enable mod_disk_cache... $ECHO_C" >&6
8840
# Check whether --enable-disk-cache or --disable-disk-cache was given.
8841
if test "${enable_disk_cache+set}" = set; then
8842
enableval="$enable_disk_cache"
8845
enable_disk_cache=no
8848
if test "$module_selection" = "most" -a "$enable_disk_cache" = "most"; then
8849
_apmod_error_fatal="no"
8851
_apmod_error_fatal="yes"
8853
if test "$enable_disk_cache" = "static"; then
8854
enable_disk_cache=yes
8855
elif test "$enable_disk_cache" = "yes"; then
8856
enable_disk_cache=$module_default
8857
_apmod_extra_msg=" ($module_selection)"
8858
elif test "$enable_disk_cache" = "most"; then
8859
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8860
enable_disk_cache=$module_default
8861
_apmod_extra_msg=" ($module_selection)"
8862
elif test "$enable_disk_cache" != "yes"; then
8863
enable_disk_cache=no
8865
elif test "$enable_disk_cache" = "maybe-all"; then
8866
if test "$module_selection" = "all"; then
8867
enable_disk_cache=$module_default
8868
_apmod_extra_msg=" (all)"
8870
enable_disk_cache=no
8873
if test "$enable_disk_cache" != "no"; then
8876
echo "$as_me:$LINENO: result: $enable_disk_cache$_apmod_extra_msg" >&5
8877
echo "${ECHO_T}$enable_disk_cache$_apmod_extra_msg" >&6
8878
if test "$enable_disk_cache" != "no"; then
8879
case "$enable_disk_cache" in
8881
enable_disk_cache=`echo $enable_disk_cache|sed 's/shared,*//'`
8884
DSO_MODULES="$DSO_MODULES disk_cache"
8887
MODLIST="$MODLIST disk_cache"
8888
if test "disk_cache" = "so"; then
8896
objects="mod_disk_cache.lo"
8901
if test -z "$module_standalone"; then
8902
if test -z "$shared"; then
8903
# The filename of a convenience library must have a "lib" prefix:
8904
libname="libmod_disk_cache.la"
8905
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8906
modpath_static="$modpath_static $libname"
8907
cat >>$modpath_current/modules.mk<<EOF
8909
\$(MOD_LINK) $objects \$(MOD_DISK_CACHE_LDADD)
8912
apache_need_shared=yes
8913
libname="mod_disk_cache.la"
8914
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
8915
modpath_shared="$modpath_shared $libname"
8916
cat >>$modpath_current/modules.mk<<EOF
8917
$libname: $shobjects
8918
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DISK_CACHE_LDADD)
8924
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DISK_CACHE_LDADD"
8931
echo "$as_me:$LINENO: checking whether to enable mod_mem_cache" >&5
8932
echo $ECHO_N "checking whether to enable mod_mem_cache... $ECHO_C" >&6
8933
# Check whether --enable-mem-cache or --disable-mem-cache was given.
8934
if test "${enable_mem_cache+set}" = set; then
8935
enableval="$enable_mem_cache"
8941
if test "$module_selection" = "most" -a "$enable_mem_cache" = "most"; then
8942
_apmod_error_fatal="no"
8944
_apmod_error_fatal="yes"
8946
if test "$enable_mem_cache" = "static"; then
8947
enable_mem_cache=yes
8948
elif test "$enable_mem_cache" = "yes"; then
8949
enable_mem_cache=$module_default
8950
_apmod_extra_msg=" ($module_selection)"
8951
elif test "$enable_mem_cache" = "most"; then
8952
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
8953
enable_mem_cache=$module_default
8954
_apmod_extra_msg=" ($module_selection)"
8955
elif test "$enable_mem_cache" != "yes"; then
8958
elif test "$enable_mem_cache" = "maybe-all"; then
8959
if test "$module_selection" = "all"; then
8960
enable_mem_cache=$module_default
8961
_apmod_extra_msg=" (all)"
8966
if test "$enable_mem_cache" != "no"; then
8969
echo "$as_me:$LINENO: result: $enable_mem_cache$_apmod_extra_msg" >&5
8970
echo "${ECHO_T}$enable_mem_cache$_apmod_extra_msg" >&6
8971
if test "$enable_mem_cache" != "no"; then
8972
case "$enable_mem_cache" in
8974
enable_mem_cache=`echo $enable_mem_cache|sed 's/shared,*//'`
8977
DSO_MODULES="$DSO_MODULES mem_cache"
8980
MODLIST="$MODLIST mem_cache"
8981
if test "mem_cache" = "so"; then
8988
if test -z "$mem_cache_objs"; then
8989
objects="mod_mem_cache.lo"
8991
objects="$mem_cache_objs"
8994
if test -z "$module_standalone"; then
8995
if test -z "$shared"; then
8996
# The filename of a convenience library must have a "lib" prefix:
8997
libname="libmod_mem_cache.la"
8998
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
8999
modpath_static="$modpath_static $libname"
9000
cat >>$modpath_current/modules.mk<<EOF
9002
\$(MOD_LINK) $objects \$(MOD_MEM_CACHE_LDADD)
9005
apache_need_shared=yes
9006
libname="mod_mem_cache.la"
9007
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9008
modpath_shared="$modpath_shared $libname"
9009
cat >>$modpath_current/modules.mk<<EOF
9010
$libname: $shobjects
9011
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_MEM_CACHE_LDADD)
9017
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_MEM_CACHE_LDADD"
9025
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
9026
echo "static = $modpath_static" >> $modpath_current/modules.mk
9027
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
9028
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
9029
MODULE_DIRS="$MODULE_DIRS $current_dir"
9031
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
9034
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
9040
current_dir=database
9041
modpath_current=modules/database
9044
test -d database || $srcdir/build/mkdir.sh $modpath_current
9045
> $modpath_current/modules.mk
9049
echo "$as_me:$LINENO: checking whether to enable mod_dbd" >&5
9050
echo $ECHO_N "checking whether to enable mod_dbd... $ECHO_C" >&6
9051
# Check whether --enable-dbd or --disable-dbd was given.
9052
if test "${enable_dbd+set}" = set; then
9053
enableval="$enable_dbd"
9059
if test "$module_selection" = "most" -a "$enable_dbd" = "most"; then
9060
_apmod_error_fatal="no"
9062
_apmod_error_fatal="yes"
9064
if test "$enable_dbd" = "static"; then
9066
elif test "$enable_dbd" = "yes"; then
9067
enable_dbd=$module_default
9068
_apmod_extra_msg=" ($module_selection)"
9069
elif test "$enable_dbd" = "most"; then
9070
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9071
enable_dbd=$module_default
9072
_apmod_extra_msg=" ($module_selection)"
9073
elif test "$enable_dbd" != "yes"; then
9076
elif test "$enable_dbd" = "maybe-all"; then
9077
if test "$module_selection" = "all"; then
9078
enable_dbd=$module_default
9079
_apmod_extra_msg=" (all)"
9084
if test "$enable_dbd" != "no"; then
9087
echo "$as_me:$LINENO: result: $enable_dbd$_apmod_extra_msg" >&5
9088
echo "${ECHO_T}$enable_dbd$_apmod_extra_msg" >&6
9089
if test "$enable_dbd" != "no"; then
9090
case "$enable_dbd" in
9092
enable_dbd=`echo $enable_dbd|sed 's/shared,*//'`
9095
DSO_MODULES="$DSO_MODULES dbd"
9098
MODLIST="$MODLIST dbd"
9099
if test "dbd" = "so"; then
9107
objects="mod_dbd.lo"
9112
if test -z "$module_standalone"; then
9113
if test -z "$shared"; then
9114
# The filename of a convenience library must have a "lib" prefix:
9115
libname="libmod_dbd.la"
9116
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9117
modpath_static="$modpath_static $libname"
9118
cat >>$modpath_current/modules.mk<<EOF
9120
\$(MOD_LINK) $objects \$(MOD_DBD_LDADD)
9123
apache_need_shared=yes
9124
libname="mod_dbd.la"
9125
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9126
modpath_shared="$modpath_shared $libname"
9127
cat >>$modpath_current/modules.mk<<EOF
9128
$libname: $shobjects
9129
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DBD_LDADD)
9135
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DBD_LDADD"
9143
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
9144
echo "static = $modpath_static" >> $modpath_current/modules.mk
9145
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
9146
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
9147
MODULE_DIRS="$MODULE_DIRS $current_dir"
9149
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
9152
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
9159
modpath_current=modules/debug
9162
test -d debug || $srcdir/build/mkdir.sh $modpath_current
9163
> $modpath_current/modules.mk
9167
echo "$as_me:$LINENO: checking whether to enable mod_bucketeer" >&5
9168
echo $ECHO_N "checking whether to enable mod_bucketeer... $ECHO_C" >&6
9169
# Check whether --enable-bucketeer or --disable-bucketeer was given.
9170
if test "${enable_bucketeer+set}" = set; then
9171
enableval="$enable_bucketeer"
9177
if test "$module_selection" = "most" -a "$enable_bucketeer" = "most"; then
9178
_apmod_error_fatal="no"
9180
_apmod_error_fatal="yes"
9182
if test "$enable_bucketeer" = "static"; then
9183
enable_bucketeer=yes
9184
elif test "$enable_bucketeer" = "yes"; then
9185
enable_bucketeer=$module_default
9186
_apmod_extra_msg=" ($module_selection)"
9187
elif test "$enable_bucketeer" = "most"; then
9188
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9189
enable_bucketeer=$module_default
9190
_apmod_extra_msg=" ($module_selection)"
9191
elif test "$enable_bucketeer" != "yes"; then
9194
elif test "$enable_bucketeer" = "maybe-all"; then
9195
if test "$module_selection" = "all"; then
9196
enable_bucketeer=$module_default
9197
_apmod_extra_msg=" (all)"
9202
if test "$enable_bucketeer" != "no"; then
9205
echo "$as_me:$LINENO: result: $enable_bucketeer$_apmod_extra_msg" >&5
9206
echo "${ECHO_T}$enable_bucketeer$_apmod_extra_msg" >&6
9207
if test "$enable_bucketeer" != "no"; then
9208
case "$enable_bucketeer" in
9210
enable_bucketeer=`echo $enable_bucketeer|sed 's/shared,*//'`
9213
DSO_MODULES="$DSO_MODULES bucketeer"
9216
MODLIST="$MODLIST bucketeer"
9217
if test "bucketeer" = "so"; then
9225
objects="mod_bucketeer.lo"
9230
if test -z "$module_standalone"; then
9231
if test -z "$shared"; then
9232
# The filename of a convenience library must have a "lib" prefix:
9233
libname="libmod_bucketeer.la"
9234
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9235
modpath_static="$modpath_static $libname"
9236
cat >>$modpath_current/modules.mk<<EOF
9238
\$(MOD_LINK) $objects \$(MOD_BUCKETEER_LDADD)
9241
apache_need_shared=yes
9242
libname="mod_bucketeer.la"
9243
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9244
modpath_shared="$modpath_shared $libname"
9245
cat >>$modpath_current/modules.mk<<EOF
9246
$libname: $shobjects
9247
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_BUCKETEER_LDADD)
9253
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_BUCKETEER_LDADD"
9260
echo "$as_me:$LINENO: checking whether to enable mod_dumpio" >&5
9261
echo $ECHO_N "checking whether to enable mod_dumpio... $ECHO_C" >&6
9262
# Check whether --enable-dumpio or --disable-dumpio was given.
9263
if test "${enable_dumpio+set}" = set; then
9264
enableval="$enable_dumpio"
9270
if test "$module_selection" = "most" -a "$enable_dumpio" = "most"; then
9271
_apmod_error_fatal="no"
9273
_apmod_error_fatal="yes"
9275
if test "$enable_dumpio" = "static"; then
9277
elif test "$enable_dumpio" = "yes"; then
9278
enable_dumpio=$module_default
9279
_apmod_extra_msg=" ($module_selection)"
9280
elif test "$enable_dumpio" = "most"; then
9281
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9282
enable_dumpio=$module_default
9283
_apmod_extra_msg=" ($module_selection)"
9284
elif test "$enable_dumpio" != "yes"; then
9287
elif test "$enable_dumpio" = "maybe-all"; then
9288
if test "$module_selection" = "all"; then
9289
enable_dumpio=$module_default
9290
_apmod_extra_msg=" (all)"
9295
if test "$enable_dumpio" != "no"; then
9298
echo "$as_me:$LINENO: result: $enable_dumpio$_apmod_extra_msg" >&5
9299
echo "${ECHO_T}$enable_dumpio$_apmod_extra_msg" >&6
9300
if test "$enable_dumpio" != "no"; then
9301
case "$enable_dumpio" in
9303
enable_dumpio=`echo $enable_dumpio|sed 's/shared,*//'`
9306
DSO_MODULES="$DSO_MODULES dumpio"
9309
MODLIST="$MODLIST dumpio"
9310
if test "dumpio" = "so"; then
9318
objects="mod_dumpio.lo"
9323
if test -z "$module_standalone"; then
9324
if test -z "$shared"; then
9325
# The filename of a convenience library must have a "lib" prefix:
9326
libname="libmod_dumpio.la"
9327
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9328
modpath_static="$modpath_static $libname"
9329
cat >>$modpath_current/modules.mk<<EOF
9331
\$(MOD_LINK) $objects \$(MOD_DUMPIO_LDADD)
9334
apache_need_shared=yes
9335
libname="mod_dumpio.la"
9336
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9337
modpath_shared="$modpath_shared $libname"
9338
cat >>$modpath_current/modules.mk<<EOF
9339
$libname: $shobjects
9340
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DUMPIO_LDADD)
9346
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DUMPIO_LDADD"
9354
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
9355
echo "static = $modpath_static" >> $modpath_current/modules.mk
9356
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
9357
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
9358
MODULE_DIRS="$MODULE_DIRS $current_dir"
9360
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
9363
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
9371
modpath_current=modules/echo
9374
test -d echo || $srcdir/build/mkdir.sh $modpath_current
9375
> $modpath_current/modules.mk
9379
echo "$as_me:$LINENO: checking whether to enable mod_echo" >&5
9380
echo $ECHO_N "checking whether to enable mod_echo... $ECHO_C" >&6
9381
# Check whether --enable-echo or --disable-echo was given.
9382
if test "${enable_echo+set}" = set; then
9383
enableval="$enable_echo"
9389
if test "$module_selection" = "most" -a "$enable_echo" = "most"; then
9390
_apmod_error_fatal="no"
9392
_apmod_error_fatal="yes"
9394
if test "$enable_echo" = "static"; then
9396
elif test "$enable_echo" = "yes"; then
9397
enable_echo=$module_default
9398
_apmod_extra_msg=" ($module_selection)"
9399
elif test "$enable_echo" = "most"; then
9400
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9401
enable_echo=$module_default
9402
_apmod_extra_msg=" ($module_selection)"
9403
elif test "$enable_echo" != "yes"; then
9406
elif test "$enable_echo" = "maybe-all"; then
9407
if test "$module_selection" = "all"; then
9408
enable_echo=$module_default
9409
_apmod_extra_msg=" (all)"
9414
if test "$enable_echo" != "no"; then
9417
echo "$as_me:$LINENO: result: $enable_echo$_apmod_extra_msg" >&5
9418
echo "${ECHO_T}$enable_echo$_apmod_extra_msg" >&6
9419
if test "$enable_echo" != "no"; then
9420
case "$enable_echo" in
9422
enable_echo=`echo $enable_echo|sed 's/shared,*//'`
9425
DSO_MODULES="$DSO_MODULES echo"
9428
MODLIST="$MODLIST echo"
9429
if test "echo" = "so"; then
9437
objects="mod_echo.lo"
9442
if test -z "$module_standalone"; then
9443
if test -z "$shared"; then
9444
# The filename of a convenience library must have a "lib" prefix:
9445
libname="libmod_echo.la"
9446
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9447
modpath_static="$modpath_static $libname"
9448
cat >>$modpath_current/modules.mk<<EOF
9450
\$(MOD_LINK) $objects \$(MOD_ECHO_LDADD)
9453
apache_need_shared=yes
9454
libname="mod_echo.la"
9455
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9456
modpath_shared="$modpath_shared $libname"
9457
cat >>$modpath_current/modules.mk<<EOF
9458
$libname: $shobjects
9459
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ECHO_LDADD)
9465
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ECHO_LDADD"
9473
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
9474
echo "static = $modpath_static" >> $modpath_current/modules.mk
9475
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
9476
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
9477
MODULE_DIRS="$MODULE_DIRS $current_dir"
9479
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
9482
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
9488
current_dir=experimental
9489
modpath_current=modules/experimental
9492
test -d experimental || $srcdir/build/mkdir.sh $modpath_current
9493
> $modpath_current/modules.mk
9497
echo "$as_me:$LINENO: checking whether to enable mod_example" >&5
9498
echo $ECHO_N "checking whether to enable mod_example... $ECHO_C" >&6
9499
# Check whether --enable-example or --disable-example was given.
9500
if test "${enable_example+set}" = set; then
9501
enableval="$enable_example"
9507
if test "$module_selection" = "most" -a "$enable_example" = "most"; then
9508
_apmod_error_fatal="no"
9510
_apmod_error_fatal="yes"
9512
if test "$enable_example" = "static"; then
9514
elif test "$enable_example" = "yes"; then
9515
enable_example=$module_default
9516
_apmod_extra_msg=" ($module_selection)"
9517
elif test "$enable_example" = "most"; then
9518
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9519
enable_example=$module_default
9520
_apmod_extra_msg=" ($module_selection)"
9521
elif test "$enable_example" != "yes"; then
9524
elif test "$enable_example" = "maybe-all"; then
9525
if test "$module_selection" = "all"; then
9526
enable_example=$module_default
9527
_apmod_extra_msg=" (all)"
9532
if test "$enable_example" != "no"; then
9535
echo "$as_me:$LINENO: result: $enable_example$_apmod_extra_msg" >&5
9536
echo "${ECHO_T}$enable_example$_apmod_extra_msg" >&6
9537
if test "$enable_example" != "no"; then
9538
case "$enable_example" in
9540
enable_example=`echo $enable_example|sed 's/shared,*//'`
9543
DSO_MODULES="$DSO_MODULES example"
9546
MODLIST="$MODLIST example"
9547
if test "example" = "so"; then
9555
objects="mod_example.lo"
9560
if test -z "$module_standalone"; then
9561
if test -z "$shared"; then
9562
# The filename of a convenience library must have a "lib" prefix:
9563
libname="libmod_example.la"
9564
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9565
modpath_static="$modpath_static $libname"
9566
cat >>$modpath_current/modules.mk<<EOF
9568
\$(MOD_LINK) $objects \$(MOD_EXAMPLE_LDADD)
9571
apache_need_shared=yes
9572
libname="mod_example.la"
9573
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9574
modpath_shared="$modpath_shared $libname"
9575
cat >>$modpath_current/modules.mk<<EOF
9576
$libname: $shobjects
9577
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_EXAMPLE_LDADD)
9583
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_EXAMPLE_LDADD"
9590
echo "$as_me:$LINENO: checking whether to enable mod_case_filter" >&5
9591
echo $ECHO_N "checking whether to enable mod_case_filter... $ECHO_C" >&6
9592
# Check whether --enable-case-filter or --disable-case-filter was given.
9593
if test "${enable_case_filter+set}" = set; then
9594
enableval="$enable_case_filter"
9597
enable_case_filter=no
9600
if test "$module_selection" = "most" -a "$enable_case_filter" = "most"; then
9601
_apmod_error_fatal="no"
9603
_apmod_error_fatal="yes"
9605
if test "$enable_case_filter" = "static"; then
9606
enable_case_filter=yes
9607
elif test "$enable_case_filter" = "yes"; then
9608
enable_case_filter=$module_default
9609
_apmod_extra_msg=" ($module_selection)"
9610
elif test "$enable_case_filter" = "most"; then
9611
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9612
enable_case_filter=$module_default
9613
_apmod_extra_msg=" ($module_selection)"
9614
elif test "$enable_case_filter" != "yes"; then
9615
enable_case_filter=no
9617
elif test "$enable_case_filter" = "maybe-all"; then
9618
if test "$module_selection" = "all"; then
9619
enable_case_filter=$module_default
9620
_apmod_extra_msg=" (all)"
9622
enable_case_filter=no
9625
if test "$enable_case_filter" != "no"; then
9628
echo "$as_me:$LINENO: result: $enable_case_filter$_apmod_extra_msg" >&5
9629
echo "${ECHO_T}$enable_case_filter$_apmod_extra_msg" >&6
9630
if test "$enable_case_filter" != "no"; then
9631
case "$enable_case_filter" in
9633
enable_case_filter=`echo $enable_case_filter|sed 's/shared,*//'`
9636
DSO_MODULES="$DSO_MODULES case_filter"
9639
MODLIST="$MODLIST case_filter"
9640
if test "case_filter" = "so"; then
9648
objects="mod_case_filter.lo"
9653
if test -z "$module_standalone"; then
9654
if test -z "$shared"; then
9655
# The filename of a convenience library must have a "lib" prefix:
9656
libname="libmod_case_filter.la"
9657
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9658
modpath_static="$modpath_static $libname"
9659
cat >>$modpath_current/modules.mk<<EOF
9661
\$(MOD_LINK) $objects \$(MOD_CASE_FILTER_LDADD)
9664
apache_need_shared=yes
9665
libname="mod_case_filter.la"
9666
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9667
modpath_shared="$modpath_shared $libname"
9668
cat >>$modpath_current/modules.mk<<EOF
9669
$libname: $shobjects
9670
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CASE_FILTER_LDADD)
9676
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CASE_FILTER_LDADD"
9683
echo "$as_me:$LINENO: checking whether to enable mod_case_filter_in" >&5
9684
echo $ECHO_N "checking whether to enable mod_case_filter_in... $ECHO_C" >&6
9685
# Check whether --enable-case-filter-in or --disable-case-filter-in was given.
9686
if test "${enable_case_filter_in+set}" = set; then
9687
enableval="$enable_case_filter_in"
9690
enable_case_filter_in=no
9693
if test "$module_selection" = "most" -a "$enable_case_filter_in" = "most"; then
9694
_apmod_error_fatal="no"
9696
_apmod_error_fatal="yes"
9698
if test "$enable_case_filter_in" = "static"; then
9699
enable_case_filter_in=yes
9700
elif test "$enable_case_filter_in" = "yes"; then
9701
enable_case_filter_in=$module_default
9702
_apmod_extra_msg=" ($module_selection)"
9703
elif test "$enable_case_filter_in" = "most"; then
9704
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9705
enable_case_filter_in=$module_default
9706
_apmod_extra_msg=" ($module_selection)"
9707
elif test "$enable_case_filter_in" != "yes"; then
9708
enable_case_filter_in=no
9710
elif test "$enable_case_filter_in" = "maybe-all"; then
9711
if test "$module_selection" = "all"; then
9712
enable_case_filter_in=$module_default
9713
_apmod_extra_msg=" (all)"
9715
enable_case_filter_in=no
9718
if test "$enable_case_filter_in" != "no"; then
9721
echo "$as_me:$LINENO: result: $enable_case_filter_in$_apmod_extra_msg" >&5
9722
echo "${ECHO_T}$enable_case_filter_in$_apmod_extra_msg" >&6
9723
if test "$enable_case_filter_in" != "no"; then
9724
case "$enable_case_filter_in" in
9726
enable_case_filter_in=`echo $enable_case_filter_in|sed 's/shared,*//'`
9729
DSO_MODULES="$DSO_MODULES case_filter_in"
9732
MODLIST="$MODLIST case_filter_in"
9733
if test "case_filter_in" = "so"; then
9741
objects="mod_case_filter_in.lo"
9746
if test -z "$module_standalone"; then
9747
if test -z "$shared"; then
9748
# The filename of a convenience library must have a "lib" prefix:
9749
libname="libmod_case_filter_in.la"
9750
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9751
modpath_static="$modpath_static $libname"
9752
cat >>$modpath_current/modules.mk<<EOF
9754
\$(MOD_LINK) $objects \$(MOD_CASE_FILTER_IN_LDADD)
9757
apache_need_shared=yes
9758
libname="mod_case_filter_in.la"
9759
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9760
modpath_shared="$modpath_shared $libname"
9761
cat >>$modpath_current/modules.mk<<EOF
9762
$libname: $shobjects
9763
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CASE_FILTER_IN_LDADD)
9769
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CASE_FILTER_IN_LDADD"
9777
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
9778
echo "static = $modpath_static" >> $modpath_current/modules.mk
9779
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
9780
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
9781
MODULE_DIRS="$MODULE_DIRS $current_dir"
9783
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
9786
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
9794
modpath_current=modules/filters
9797
test -d filters || $srcdir/build/mkdir.sh $modpath_current
9798
> $modpath_current/modules.mk
9802
echo "$as_me:$LINENO: checking whether to enable mod_ext_filter" >&5
9803
echo $ECHO_N "checking whether to enable mod_ext_filter... $ECHO_C" >&6
9804
# Check whether --enable-ext-filter or --disable-ext-filter was given.
9805
if test "${enable_ext_filter+set}" = set; then
9806
enableval="$enable_ext_filter"
9809
enable_ext_filter=most
9812
if test "$module_selection" = "most" -a "$enable_ext_filter" = "most"; then
9813
_apmod_error_fatal="no"
9815
_apmod_error_fatal="yes"
9817
if test "$enable_ext_filter" = "static"; then
9818
enable_ext_filter=yes
9819
elif test "$enable_ext_filter" = "yes"; then
9820
enable_ext_filter=$module_default
9821
_apmod_extra_msg=" ($module_selection)"
9822
elif test "$enable_ext_filter" = "most"; then
9823
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9824
enable_ext_filter=$module_default
9825
_apmod_extra_msg=" ($module_selection)"
9826
elif test "$enable_ext_filter" != "yes"; then
9827
enable_ext_filter=no
9829
elif test "$enable_ext_filter" = "maybe-all"; then
9830
if test "$module_selection" = "all"; then
9831
enable_ext_filter=$module_default
9832
_apmod_extra_msg=" (all)"
9834
enable_ext_filter=no
9837
if test "$enable_ext_filter" != "no"; then
9840
echo "$as_me:$LINENO: result: $enable_ext_filter$_apmod_extra_msg" >&5
9841
echo "${ECHO_T}$enable_ext_filter$_apmod_extra_msg" >&6
9842
if test "$enable_ext_filter" != "no"; then
9843
case "$enable_ext_filter" in
9845
enable_ext_filter=`echo $enable_ext_filter|sed 's/shared,*//'`
9848
DSO_MODULES="$DSO_MODULES ext_filter"
9851
MODLIST="$MODLIST ext_filter"
9852
if test "ext_filter" = "so"; then
9860
objects="mod_ext_filter.lo"
9865
if test -z "$module_standalone"; then
9866
if test -z "$shared"; then
9867
# The filename of a convenience library must have a "lib" prefix:
9868
libname="libmod_ext_filter.la"
9869
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9870
modpath_static="$modpath_static $libname"
9871
cat >>$modpath_current/modules.mk<<EOF
9873
\$(MOD_LINK) $objects \$(MOD_EXT_FILTER_LDADD)
9876
apache_need_shared=yes
9877
libname="mod_ext_filter.la"
9878
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9879
modpath_shared="$modpath_shared $libname"
9880
cat >>$modpath_current/modules.mk<<EOF
9881
$libname: $shobjects
9882
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_EXT_FILTER_LDADD)
9888
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_EXT_FILTER_LDADD"
9895
echo "$as_me:$LINENO: checking whether to enable mod_include" >&5
9896
echo $ECHO_N "checking whether to enable mod_include... $ECHO_C" >&6
9897
# Check whether --enable-include or --disable-include was given.
9898
if test "${enable_include+set}" = set; then
9899
enableval="$enable_include"
9905
if test "$module_selection" = "most" -a "$enable_include" = "most"; then
9906
_apmod_error_fatal="no"
9908
_apmod_error_fatal="yes"
9910
if test "$enable_include" = "static"; then
9912
elif test "$enable_include" = "yes"; then
9913
enable_include=$module_default
9914
_apmod_extra_msg=" ($module_selection)"
9915
elif test "$enable_include" = "most"; then
9916
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
9917
enable_include=$module_default
9918
_apmod_extra_msg=" ($module_selection)"
9919
elif test "$enable_include" != "yes"; then
9922
elif test "$enable_include" = "maybe-all"; then
9923
if test "$module_selection" = "all"; then
9924
enable_include=$module_default
9925
_apmod_extra_msg=" (all)"
9930
if test "$enable_include" != "no"; then
9933
echo "$as_me:$LINENO: result: $enable_include$_apmod_extra_msg" >&5
9934
echo "${ECHO_T}$enable_include$_apmod_extra_msg" >&6
9935
if test "$enable_include" != "no"; then
9936
case "$enable_include" in
9938
enable_include=`echo $enable_include|sed 's/shared,*//'`
9941
DSO_MODULES="$DSO_MODULES include"
9944
MODLIST="$MODLIST include"
9945
if test "include" = "so"; then
9953
objects="mod_include.lo"
9958
if test -z "$module_standalone"; then
9959
if test -z "$shared"; then
9960
# The filename of a convenience library must have a "lib" prefix:
9961
libname="libmod_include.la"
9962
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
9963
modpath_static="$modpath_static $libname"
9964
cat >>$modpath_current/modules.mk<<EOF
9966
\$(MOD_LINK) $objects \$(MOD_INCLUDE_LDADD)
9969
apache_need_shared=yes
9970
libname="mod_include.la"
9971
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
9972
modpath_shared="$modpath_shared $libname"
9973
cat >>$modpath_current/modules.mk<<EOF
9974
$libname: $shobjects
9975
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_INCLUDE_LDADD)
9981
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_INCLUDE_LDADD"
9988
echo "$as_me:$LINENO: checking whether to enable mod_filter" >&5
9989
echo $ECHO_N "checking whether to enable mod_filter... $ECHO_C" >&6
9990
# Check whether --enable-filter or --disable-filter was given.
9991
if test "${enable_filter+set}" = set; then
9992
enableval="$enable_filter"
9998
if test "$module_selection" = "most" -a "$enable_filter" = "most"; then
9999
_apmod_error_fatal="no"
10001
_apmod_error_fatal="yes"
10003
if test "$enable_filter" = "static"; then
10005
elif test "$enable_filter" = "yes"; then
10006
enable_filter=$module_default
10007
_apmod_extra_msg=" ($module_selection)"
10008
elif test "$enable_filter" = "most"; then
10009
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10010
enable_filter=$module_default
10011
_apmod_extra_msg=" ($module_selection)"
10012
elif test "$enable_filter" != "yes"; then
10015
elif test "$enable_filter" = "maybe-all"; then
10016
if test "$module_selection" = "all"; then
10017
enable_filter=$module_default
10018
_apmod_extra_msg=" (all)"
10023
if test "$enable_filter" != "no"; then
10026
echo "$as_me:$LINENO: result: $enable_filter$_apmod_extra_msg" >&5
10027
echo "${ECHO_T}$enable_filter$_apmod_extra_msg" >&6
10028
if test "$enable_filter" != "no"; then
10029
case "$enable_filter" in
10031
enable_filter=`echo $enable_filter|sed 's/shared,*//'`
10034
DSO_MODULES="$DSO_MODULES filter"
10037
MODLIST="$MODLIST filter"
10038
if test "filter" = "so"; then
10045
if test -z ""; then
10046
objects="mod_filter.lo"
10051
if test -z "$module_standalone"; then
10052
if test -z "$shared"; then
10053
# The filename of a convenience library must have a "lib" prefix:
10054
libname="libmod_filter.la"
10055
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
10056
modpath_static="$modpath_static $libname"
10057
cat >>$modpath_current/modules.mk<<EOF
10059
\$(MOD_LINK) $objects \$(MOD_FILTER_LDADD)
10062
apache_need_shared=yes
10063
libname="mod_filter.la"
10064
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
10065
modpath_shared="$modpath_shared $libname"
10066
cat >>$modpath_current/modules.mk<<EOF
10067
$libname: $shobjects
10068
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_FILTER_LDADD)
10074
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_FILTER_LDADD"
10081
if test "$ac_cv_ebcdic" = "yes"; then
10082
# mod_charset_lite can be very useful on an ebcdic system,
10083
# so include it by default
10085
echo "$as_me:$LINENO: checking whether to enable mod_charset_lite" >&5
10086
echo $ECHO_N "checking whether to enable mod_charset_lite... $ECHO_C" >&6
10087
# Check whether --enable-charset-lite or --disable-charset-lite was given.
10088
if test "${enable_charset_lite+set}" = set; then
10089
enableval="$enable_charset_lite"
10092
enable_charset_lite=yes
10094
_apmod_extra_msg=""
10095
if test "$module_selection" = "most" -a "$enable_charset_lite" = "most"; then
10096
_apmod_error_fatal="no"
10098
_apmod_error_fatal="yes"
10100
if test "$enable_charset_lite" = "static"; then
10101
enable_charset_lite=yes
10102
elif test "$enable_charset_lite" = "yes"; then
10103
enable_charset_lite=$module_default
10104
_apmod_extra_msg=" ($module_selection)"
10105
elif test "$enable_charset_lite" = "most"; then
10106
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10107
enable_charset_lite=$module_default
10108
_apmod_extra_msg=" ($module_selection)"
10109
elif test "$enable_charset_lite" != "yes"; then
10110
enable_charset_lite=no
10112
elif test "$enable_charset_lite" = "maybe-all"; then
10113
if test "$module_selection" = "all"; then
10114
enable_charset_lite=$module_default
10115
_apmod_extra_msg=" (all)"
10117
enable_charset_lite=no
10120
if test "$enable_charset_lite" != "no"; then
10123
echo "$as_me:$LINENO: result: $enable_charset_lite$_apmod_extra_msg" >&5
10124
echo "${ECHO_T}$enable_charset_lite$_apmod_extra_msg" >&6
10125
if test "$enable_charset_lite" != "no"; then
10126
case "$enable_charset_lite" in
10128
enable_charset_lite=`echo $enable_charset_lite|sed 's/shared,*//'`
10131
DSO_MODULES="$DSO_MODULES charset_lite"
10134
MODLIST="$MODLIST charset_lite"
10135
if test "charset_lite" = "so"; then
10142
if test -z ""; then
10143
objects="mod_charset_lite.lo"
10148
if test -z "$module_standalone"; then
10149
if test -z "$shared"; then
10150
# The filename of a convenience library must have a "lib" prefix:
10151
libname="libmod_charset_lite.la"
10152
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
10153
modpath_static="$modpath_static $libname"
10154
cat >>$modpath_current/modules.mk<<EOF
10156
\$(MOD_LINK) $objects \$(MOD_CHARSET_LITE_LDADD)
10159
apache_need_shared=yes
10160
libname="mod_charset_lite.la"
10161
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
10162
modpath_shared="$modpath_shared $libname"
10163
cat >>$modpath_current/modules.mk<<EOF
10164
$libname: $shobjects
10165
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CHARSET_LITE_LDADD)
10171
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CHARSET_LITE_LDADD"
10179
echo "$as_me:$LINENO: checking whether to enable mod_charset_lite" >&5
10180
echo $ECHO_N "checking whether to enable mod_charset_lite... $ECHO_C" >&6
10181
# Check whether --enable-charset-lite or --disable-charset-lite was given.
10182
if test "${enable_charset_lite+set}" = set; then
10183
enableval="$enable_charset_lite"
10186
enable_charset_lite=no
10188
_apmod_extra_msg=""
10189
if test "$module_selection" = "most" -a "$enable_charset_lite" = "most"; then
10190
_apmod_error_fatal="no"
10192
_apmod_error_fatal="yes"
10194
if test "$enable_charset_lite" = "static"; then
10195
enable_charset_lite=yes
10196
elif test "$enable_charset_lite" = "yes"; then
10197
enable_charset_lite=$module_default
10198
_apmod_extra_msg=" ($module_selection)"
10199
elif test "$enable_charset_lite" = "most"; then
10200
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10201
enable_charset_lite=$module_default
10202
_apmod_extra_msg=" ($module_selection)"
10203
elif test "$enable_charset_lite" != "yes"; then
10204
enable_charset_lite=no
10206
elif test "$enable_charset_lite" = "maybe-all"; then
10207
if test "$module_selection" = "all"; then
10208
enable_charset_lite=$module_default
10209
_apmod_extra_msg=" (all)"
10211
enable_charset_lite=no
10214
if test "$enable_charset_lite" != "no"; then
10217
echo "$as_me:$LINENO: result: $enable_charset_lite$_apmod_extra_msg" >&5
10218
echo "${ECHO_T}$enable_charset_lite$_apmod_extra_msg" >&6
10219
if test "$enable_charset_lite" != "no"; then
10220
case "$enable_charset_lite" in
10222
enable_charset_lite=`echo $enable_charset_lite|sed 's/shared,*//'`
10225
DSO_MODULES="$DSO_MODULES charset_lite"
10228
MODLIST="$MODLIST charset_lite"
10229
if test "charset_lite" = "so"; then
10236
if test -z ""; then
10237
objects="mod_charset_lite.lo"
10242
if test -z "$module_standalone"; then
10243
if test -z "$shared"; then
10244
# The filename of a convenience library must have a "lib" prefix:
10245
libname="libmod_charset_lite.la"
10246
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
10247
modpath_static="$modpath_static $libname"
10248
cat >>$modpath_current/modules.mk<<EOF
10250
\$(MOD_LINK) $objects \$(MOD_CHARSET_LITE_LDADD)
10253
apache_need_shared=yes
10254
libname="mod_charset_lite.la"
10255
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
10256
modpath_shared="$modpath_shared $libname"
10257
cat >>$modpath_current/modules.mk<<EOF
10258
$libname: $shobjects
10259
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CHARSET_LITE_LDADD)
10265
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CHARSET_LITE_LDADD"
10275
echo "$as_me:$LINENO: checking whether to enable mod_deflate" >&5
10276
echo $ECHO_N "checking whether to enable mod_deflate... $ECHO_C" >&6
10277
# Check whether --enable-deflate or --disable-deflate was given.
10278
if test "${enable_deflate+set}" = set; then
10279
enableval="$enable_deflate"
10282
enable_deflate=most
10284
_apmod_extra_msg=""
10285
if test "$module_selection" = "most" -a "$enable_deflate" = "most"; then
10286
_apmod_error_fatal="no"
10288
_apmod_error_fatal="yes"
10290
if test "$enable_deflate" = "static"; then
10292
elif test "$enable_deflate" = "yes"; then
10293
enable_deflate=$module_default
10294
_apmod_extra_msg=" ($module_selection)"
10295
elif test "$enable_deflate" = "most"; then
10296
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10297
enable_deflate=$module_default
10298
_apmod_extra_msg=" ($module_selection)"
10299
elif test "$enable_deflate" != "yes"; then
10302
elif test "$enable_deflate" = "maybe-all"; then
10303
if test "$module_selection" = "all"; then
10304
enable_deflate=$module_default
10305
_apmod_extra_msg=" (all)"
10310
if test "$enable_deflate" != "no"; then
10311
echo "$as_me:$LINENO: result: checking dependencies" >&5
10312
echo "${ECHO_T}checking dependencies" >&6
10315
# Check whether --with-z or --without-z was given.
10316
if test "${with_z+set}" = set; then
10319
if test "x$withval" != "xyes" && test "x$withval" != "x"; then
10320
ap_zlib_base="$withval"
10324
if test "x$ap_zlib_base" = "x"; then
10325
echo "$as_me:$LINENO: checking for zlib location" >&5
10326
echo $ECHO_N "checking for zlib location... $ECHO_C" >&6
10327
if test "${ap_cv_zlib+set}" = set; then
10328
echo $ECHO_N "(cached) $ECHO_C" >&6
10331
for dir in /usr/local /usr ; do
10332
if test -d $dir && test -f $dir/include/zlib.h; then
10340
ap_zlib_base=$ap_cv_zlib
10341
if test "x$ap_zlib_base" = "x"; then
10343
echo "$as_me:$LINENO: result: not found" >&5
10344
echo "${ECHO_T}not found" >&6
10346
echo "$as_me:$LINENO: result: $ap_zlib_base" >&5
10347
echo "${ECHO_T}$ap_zlib_base" >&6
10350
if test "$enable_deflate" != "no"; then
10351
ap_save_includes=$INCLUDES
10352
ap_save_ldflags=$LDFLAGS
10353
ap_save_cppflags=$CPPFLAGS
10354
if test "$ap_zlib_base" != "/usr"; then
10356
if test "x$INCLUDES" = "x"; then
10357
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I${ap_zlib_base}/include\""
10358
INCLUDES="-I${ap_zlib_base}/include"
10360
apr_addto_bugger="-I${ap_zlib_base}/include"
10361
for i in $apr_addto_bugger; do
10362
apr_addto_duplicate="0"
10363
for j in $INCLUDES; do
10364
if test "x$i" = "x$j"; then
10365
apr_addto_duplicate="1"
10369
if test $apr_addto_duplicate = "0"; then
10370
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
10371
INCLUDES="$INCLUDES $i"
10376
CPPFLAGS="$CPPFLAGS $INCLUDES"
10378
if test "x$LDFLAGS" = "x"; then
10379
test "x$silent" != "xyes" && echo " setting LDFLAGS to \"-L${ap_zlib_base}/lib\""
10380
LDFLAGS="-L${ap_zlib_base}/lib"
10382
apr_addto_bugger="-L${ap_zlib_base}/lib"
10383
for i in $apr_addto_bugger; do
10384
apr_addto_duplicate="0"
10385
for j in $LDFLAGS; do
10386
if test "x$i" = "x$j"; then
10387
apr_addto_duplicate="1"
10391
if test $apr_addto_duplicate = "0"; then
10392
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
10393
LDFLAGS="$LDFLAGS $i"
10398
if test "x$ap_platform_runtime_link_flag" != "x"; then
10400
if test "x$LDFLAGS" = "x"; then
10401
test "x$silent" != "xyes" && echo " setting LDFLAGS to \"$ap_platform_runtime_link_flag${ap_zlib_base}/lib\""
10402
LDFLAGS="$ap_platform_runtime_link_flag${ap_zlib_base}/lib"
10404
apr_addto_bugger="$ap_platform_runtime_link_flag${ap_zlib_base}/lib"
10405
for i in $apr_addto_bugger; do
10406
apr_addto_duplicate="0"
10407
for j in $LDFLAGS; do
10408
if test "x$i" = "x$j"; then
10409
apr_addto_duplicate="1"
10413
if test $apr_addto_duplicate = "0"; then
10414
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
10415
LDFLAGS="$LDFLAGS $i"
10423
if test "x$LIBS" = "x"; then
10424
test "x$silent" != "xyes" && echo " setting LIBS to \"-lz\""
10427
apr_addto_bugger="-lz"
10428
for i in $apr_addto_bugger; do
10429
apr_addto_duplicate="0"
10431
if test "x$i" = "x$j"; then
10432
apr_addto_duplicate="1"
10436
if test $apr_addto_duplicate = "0"; then
10437
test "x$silent" != "xyes" && echo " adding \"$i\" to LIBS"
10443
echo "$as_me:$LINENO: checking for zlib library" >&5
10444
echo $ECHO_N "checking for zlib library... $ECHO_C" >&6
10445
cat >conftest.$ac_ext <<_ACEOF
10448
cat confdefs.h >>conftest.$ac_ext
10449
cat >>conftest.$ac_ext <<_ACEOF
10450
/* end confdefs.h. */
10460
rm -f conftest.$ac_objext conftest$ac_exeext
10461
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10462
(eval $ac_link) 2>conftest.er1
10464
grep -v '^ *+' conftest.er1 >conftest.err
10466
cat conftest.err >&5
10467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468
(exit $ac_status); } &&
10469
{ ac_try='test -z "$ac_c_werror_flag"
10470
|| test ! -s conftest.err'
10471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472
(eval $ac_try) 2>&5
10474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475
(exit $ac_status); }; } &&
10476
{ ac_try='test -s conftest$ac_exeext'
10477
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478
(eval $ac_try) 2>&5
10480
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481
(exit $ac_status); }; }; then
10482
echo "$as_me:$LINENO: result: found" >&5
10483
echo "${ECHO_T}found" >&6
10485
test "x$silent" != "xyes" && echo " forcing MOD_DEFLATE_LDADD to \"-lz\""
10486
MOD_DEFLATE_LDADD="-lz"
10489
echo "$as_me: failed program was:" >&5
10490
sed 's/^/| /' conftest.$ac_ext >&5
10492
echo "$as_me:$LINENO: result: not found" >&5
10493
echo "${ECHO_T}not found" >&6
10495
INCLUDES=$ap_save_includes
10496
LDFLAGS=$ap_save_ldflags
10498
rm -f conftest.err conftest.$ac_objext \
10499
conftest$ac_exeext conftest.$ac_ext
10501
if test "x$LIBS" = "x-lz"; then
10502
test "x$silent" != "xyes" && echo " nulling LIBS"
10508
if test "x$i" != "x-lz"; then
10509
apr_new_bugger="$apr_new_bugger $i"
10514
if test $apr_removed = "1"; then
10515
test "x$silent" != "xyes" && echo " removed \"-lz\" from LIBS"
10516
LIBS=$apr_new_bugger
10520
CPPFLAGS=$ap_save_cppflags
10523
echo "$as_me:$LINENO: checking whether to enable mod_deflate" >&5
10524
echo $ECHO_N "checking whether to enable mod_deflate... $ECHO_C" >&6
10525
if test "$enable_deflate" = "no"; then
10526
if test "$_apmod_error_fatal" = "no"; then
10527
_apmod_extra_msg=" (disabled)"
10529
{ { echo "$as_me:$LINENO: error: mod_deflate has been requested but can not be built due to prerequisite failures" >&5
10530
echo "$as_me: error: mod_deflate has been requested but can not be built due to prerequisite failures" >&2;}
10531
{ (exit 1); exit 1; }; }
10535
echo "$as_me:$LINENO: result: $enable_deflate$_apmod_extra_msg" >&5
10536
echo "${ECHO_T}$enable_deflate$_apmod_extra_msg" >&6
10537
if test "$enable_deflate" != "no"; then
10538
case "$enable_deflate" in
10540
enable_deflate=`echo $enable_deflate|sed 's/shared,*//'`
10543
DSO_MODULES="$DSO_MODULES deflate"
10546
MODLIST="$MODLIST deflate"
10547
if test "deflate" = "so"; then
10554
if test -z ""; then
10555
objects="mod_deflate.lo"
10560
if test -z "$module_standalone"; then
10561
if test -z "$shared"; then
10562
# The filename of a convenience library must have a "lib" prefix:
10563
libname="libmod_deflate.la"
10564
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
10565
modpath_static="$modpath_static $libname"
10566
cat >>$modpath_current/modules.mk<<EOF
10568
\$(MOD_LINK) $objects \$(MOD_DEFLATE_LDADD)
10571
apache_need_shared=yes
10572
libname="mod_deflate.la"
10573
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
10574
modpath_shared="$modpath_shared $libname"
10575
cat >>$modpath_current/modules.mk<<EOF
10576
$libname: $shobjects
10577
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DEFLATE_LDADD)
10583
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DEFLATE_LDADD"
10591
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
10592
echo "static = $modpath_static" >> $modpath_current/modules.mk
10593
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
10594
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
10595
MODULE_DIRS="$MODULE_DIRS $current_dir"
10597
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
10600
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
10608
modpath_current=modules/ldap
10611
test -d ldap || $srcdir/build/mkdir.sh $modpath_current
10612
> $modpath_current/modules.mk
10615
ldap_objects="util_ldap.lo util_ldap_cache.lo util_ldap_cache_mgr.lo"
10617
echo "$as_me:$LINENO: checking whether to enable mod_ldap" >&5
10618
echo $ECHO_N "checking whether to enable mod_ldap... $ECHO_C" >&6
10619
# Check whether --enable-ldap or --disable-ldap was given.
10620
if test "${enable_ldap+set}" = set; then
10621
enableval="$enable_ldap"
10626
_apmod_extra_msg=""
10627
if test "$module_selection" = "most" -a "$enable_ldap" = "most"; then
10628
_apmod_error_fatal="no"
10630
_apmod_error_fatal="yes"
10632
if test "$enable_ldap" = "static"; then
10634
elif test "$enable_ldap" = "yes"; then
10635
enable_ldap=$module_default
10636
_apmod_extra_msg=" ($module_selection)"
10637
elif test "$enable_ldap" = "most"; then
10638
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10639
enable_ldap=$module_default
10640
_apmod_extra_msg=" ($module_selection)"
10641
elif test "$enable_ldap" != "yes"; then
10644
elif test "$enable_ldap" = "maybe-all"; then
10645
if test "$module_selection" = "all"; then
10646
enable_ldap=$module_default
10647
_apmod_extra_msg=" (all)"
10652
if test "$enable_ldap" != "no"; then
10655
echo "$as_me:$LINENO: result: $enable_ldap$_apmod_extra_msg" >&5
10656
echo "${ECHO_T}$enable_ldap$_apmod_extra_msg" >&6
10657
if test "$enable_ldap" != "no"; then
10658
case "$enable_ldap" in
10660
enable_ldap=`echo $enable_ldap|sed 's/shared,*//'`
10663
DSO_MODULES="$DSO_MODULES ldap"
10666
MODLIST="$MODLIST ldap"
10667
if test "ldap" = "so"; then
10674
if test -z "$ldap_objects"; then
10675
objects="mod_ldap.lo"
10677
objects="$ldap_objects"
10680
if test -z "$module_standalone"; then
10681
if test -z "$shared"; then
10682
# The filename of a convenience library must have a "lib" prefix:
10683
libname="libmod_ldap.la"
10684
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
10685
modpath_static="$modpath_static $libname"
10686
cat >>$modpath_current/modules.mk<<EOF
10688
\$(MOD_LINK) $objects \$(MOD_LDAP_LDADD)
10691
apache_need_shared=yes
10692
libname="mod_ldap.la"
10693
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
10694
modpath_shared="$modpath_shared $libname"
10695
cat >>$modpath_current/modules.mk<<EOF
10696
$libname: $shobjects
10697
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LDAP_LDADD)
10703
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LDAP_LDADD"
10711
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
10712
echo "static = $modpath_static" >> $modpath_current/modules.mk
10713
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
10714
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
10715
MODULE_DIRS="$MODULE_DIRS $current_dir"
10717
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
10720
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
10727
current_dir=loggers
10728
modpath_current=modules/loggers
10731
test -d loggers || $srcdir/build/mkdir.sh $modpath_current
10732
> $modpath_current/modules.mk
10736
echo "$as_me:$LINENO: checking whether to enable mod_log_config" >&5
10737
echo $ECHO_N "checking whether to enable mod_log_config... $ECHO_C" >&6
10738
# Check whether --enable-log-config or --disable-log-config was given.
10739
if test "${enable_log_config+set}" = set; then
10740
enableval="$enable_log_config"
10743
enable_log_config=yes
10745
_apmod_extra_msg=""
10746
if test "$module_selection" = "most" -a "$enable_log_config" = "most"; then
10747
_apmod_error_fatal="no"
10749
_apmod_error_fatal="yes"
10751
if test "$enable_log_config" = "static"; then
10752
enable_log_config=yes
10753
elif test "$enable_log_config" = "yes"; then
10754
enable_log_config=$module_default
10755
_apmod_extra_msg=" ($module_selection)"
10756
elif test "$enable_log_config" = "most"; then
10757
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10758
enable_log_config=$module_default
10759
_apmod_extra_msg=" ($module_selection)"
10760
elif test "$enable_log_config" != "yes"; then
10761
enable_log_config=no
10763
elif test "$enable_log_config" = "maybe-all"; then
10764
if test "$module_selection" = "all"; then
10765
enable_log_config=$module_default
10766
_apmod_extra_msg=" (all)"
10768
enable_log_config=no
10771
if test "$enable_log_config" != "no"; then
10774
echo "$as_me:$LINENO: result: $enable_log_config$_apmod_extra_msg" >&5
10775
echo "${ECHO_T}$enable_log_config$_apmod_extra_msg" >&6
10776
if test "$enable_log_config" != "no"; then
10777
case "$enable_log_config" in
10779
enable_log_config=`echo $enable_log_config|sed 's/shared,*//'`
10782
DSO_MODULES="$DSO_MODULES log_config"
10785
MODLIST="$MODLIST log_config"
10786
if test "log_config" = "so"; then
10793
if test -z ""; then
10794
objects="mod_log_config.lo"
10799
if test -z "$module_standalone"; then
10800
if test -z "$shared"; then
10801
# The filename of a convenience library must have a "lib" prefix:
10802
libname="libmod_log_config.la"
10803
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
10804
modpath_static="$modpath_static $libname"
10805
cat >>$modpath_current/modules.mk<<EOF
10807
\$(MOD_LINK) $objects \$(MOD_LOG_CONFIG_LDADD)
10810
apache_need_shared=yes
10811
libname="mod_log_config.la"
10812
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
10813
modpath_shared="$modpath_shared $libname"
10814
cat >>$modpath_current/modules.mk<<EOF
10815
$libname: $shobjects
10816
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LOG_CONFIG_LDADD)
10822
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LOG_CONFIG_LDADD"
10829
echo "$as_me:$LINENO: checking whether to enable mod_log_forensic" >&5
10830
echo $ECHO_N "checking whether to enable mod_log_forensic... $ECHO_C" >&6
10831
# Check whether --enable-log-forensic or --disable-log-forensic was given.
10832
if test "${enable_log_forensic+set}" = set; then
10833
enableval="$enable_log_forensic"
10836
enable_log_forensic=maybe-all
10838
_apmod_extra_msg=""
10839
if test "$module_selection" = "most" -a "$enable_log_forensic" = "most"; then
10840
_apmod_error_fatal="no"
10842
_apmod_error_fatal="yes"
10844
if test "$enable_log_forensic" = "static"; then
10845
enable_log_forensic=yes
10846
elif test "$enable_log_forensic" = "yes"; then
10847
enable_log_forensic=$module_default
10848
_apmod_extra_msg=" ($module_selection)"
10849
elif test "$enable_log_forensic" = "most"; then
10850
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10851
enable_log_forensic=$module_default
10852
_apmod_extra_msg=" ($module_selection)"
10853
elif test "$enable_log_forensic" != "yes"; then
10854
enable_log_forensic=no
10856
elif test "$enable_log_forensic" = "maybe-all"; then
10857
if test "$module_selection" = "all"; then
10858
enable_log_forensic=$module_default
10859
_apmod_extra_msg=" (all)"
10861
enable_log_forensic=no
10864
if test "$enable_log_forensic" != "no"; then
10867
echo "$as_me:$LINENO: result: $enable_log_forensic$_apmod_extra_msg" >&5
10868
echo "${ECHO_T}$enable_log_forensic$_apmod_extra_msg" >&6
10869
if test "$enable_log_forensic" != "no"; then
10870
case "$enable_log_forensic" in
10872
enable_log_forensic=`echo $enable_log_forensic|sed 's/shared,*//'`
10875
DSO_MODULES="$DSO_MODULES log_forensic"
10878
MODLIST="$MODLIST log_forensic"
10879
if test "log_forensic" = "so"; then
10886
if test -z ""; then
10887
objects="mod_log_forensic.lo"
10892
if test -z "$module_standalone"; then
10893
if test -z "$shared"; then
10894
# The filename of a convenience library must have a "lib" prefix:
10895
libname="libmod_log_forensic.la"
10896
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
10897
modpath_static="$modpath_static $libname"
10898
cat >>$modpath_current/modules.mk<<EOF
10900
\$(MOD_LINK) $objects \$(MOD_LOG_FORENSIC_LDADD)
10903
apache_need_shared=yes
10904
libname="mod_log_forensic.la"
10905
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
10906
modpath_shared="$modpath_shared $libname"
10907
cat >>$modpath_current/modules.mk<<EOF
10908
$libname: $shobjects
10909
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LOG_FORENSIC_LDADD)
10915
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LOG_FORENSIC_LDADD"
10922
if test "x$enable_log_forensic" != "xno"; then
10923
# mod_log_forensic needs test_char.h
10925
if test "x$INCLUDES" = "x"; then
10926
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_builddir)/server\""
10927
INCLUDES="-I\$(top_builddir)/server"
10929
apr_addto_bugger="-I\$(top_builddir)/server"
10930
for i in $apr_addto_bugger; do
10931
apr_addto_duplicate="0"
10932
for j in $INCLUDES; do
10933
if test "x$i" = "x$j"; then
10934
apr_addto_duplicate="1"
10938
if test $apr_addto_duplicate = "0"; then
10939
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
10940
INCLUDES="$INCLUDES $i"
10948
echo "$as_me:$LINENO: checking whether to enable mod_logio" >&5
10949
echo $ECHO_N "checking whether to enable mod_logio... $ECHO_C" >&6
10950
# Check whether --enable-logio or --disable-logio was given.
10951
if test "${enable_logio+set}" = set; then
10952
enableval="$enable_logio"
10957
_apmod_extra_msg=""
10958
if test "$module_selection" = "most" -a "$enable_logio" = "most"; then
10959
_apmod_error_fatal="no"
10961
_apmod_error_fatal="yes"
10963
if test "$enable_logio" = "static"; then
10965
elif test "$enable_logio" = "yes"; then
10966
enable_logio=$module_default
10967
_apmod_extra_msg=" ($module_selection)"
10968
elif test "$enable_logio" = "most"; then
10969
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
10970
enable_logio=$module_default
10971
_apmod_extra_msg=" ($module_selection)"
10972
elif test "$enable_logio" != "yes"; then
10975
elif test "$enable_logio" = "maybe-all"; then
10976
if test "$module_selection" = "all"; then
10977
enable_logio=$module_default
10978
_apmod_extra_msg=" (all)"
10983
if test "$enable_logio" != "no"; then
10986
echo "$as_me:$LINENO: result: $enable_logio$_apmod_extra_msg" >&5
10987
echo "${ECHO_T}$enable_logio$_apmod_extra_msg" >&6
10988
if test "$enable_logio" != "no"; then
10989
case "$enable_logio" in
10991
enable_logio=`echo $enable_logio|sed 's/shared,*//'`
10994
DSO_MODULES="$DSO_MODULES logio"
10997
MODLIST="$MODLIST logio"
10998
if test "logio" = "so"; then
11005
if test -z ""; then
11006
objects="mod_logio.lo"
11011
if test -z "$module_standalone"; then
11012
if test -z "$shared"; then
11013
# The filename of a convenience library must have a "lib" prefix:
11014
libname="libmod_logio.la"
11015
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11016
modpath_static="$modpath_static $libname"
11017
cat >>$modpath_current/modules.mk<<EOF
11019
\$(MOD_LINK) $objects \$(MOD_LOGIO_LDADD)
11022
apache_need_shared=yes
11023
libname="mod_logio.la"
11024
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11025
modpath_shared="$modpath_shared $libname"
11026
cat >>$modpath_current/modules.mk<<EOF
11027
$libname: $shobjects
11028
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_LOGIO_LDADD)
11034
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_LOGIO_LDADD"
11042
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
11043
echo "static = $modpath_static" >> $modpath_current/modules.mk
11044
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
11045
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
11046
MODULE_DIRS="$MODULE_DIRS $current_dir"
11048
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
11051
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
11058
current_dir=metadata
11059
modpath_current=modules/metadata
11062
test -d metadata || $srcdir/build/mkdir.sh $modpath_current
11063
> $modpath_current/modules.mk
11067
echo "$as_me:$LINENO: checking whether to enable mod_env" >&5
11068
echo $ECHO_N "checking whether to enable mod_env... $ECHO_C" >&6
11069
# Check whether --enable-env or --disable-env was given.
11070
if test "${enable_env+set}" = set; then
11071
enableval="$enable_env"
11076
_apmod_extra_msg=""
11077
if test "$module_selection" = "most" -a "$enable_env" = "most"; then
11078
_apmod_error_fatal="no"
11080
_apmod_error_fatal="yes"
11082
if test "$enable_env" = "static"; then
11084
elif test "$enable_env" = "yes"; then
11085
enable_env=$module_default
11086
_apmod_extra_msg=" ($module_selection)"
11087
elif test "$enable_env" = "most"; then
11088
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
11089
enable_env=$module_default
11090
_apmod_extra_msg=" ($module_selection)"
11091
elif test "$enable_env" != "yes"; then
11094
elif test "$enable_env" = "maybe-all"; then
11095
if test "$module_selection" = "all"; then
11096
enable_env=$module_default
11097
_apmod_extra_msg=" (all)"
11102
if test "$enable_env" != "no"; then
11105
echo "$as_me:$LINENO: result: $enable_env$_apmod_extra_msg" >&5
11106
echo "${ECHO_T}$enable_env$_apmod_extra_msg" >&6
11107
if test "$enable_env" != "no"; then
11108
case "$enable_env" in
11110
enable_env=`echo $enable_env|sed 's/shared,*//'`
11113
DSO_MODULES="$DSO_MODULES env"
11116
MODLIST="$MODLIST env"
11117
if test "env" = "so"; then
11124
if test -z ""; then
11125
objects="mod_env.lo"
11130
if test -z "$module_standalone"; then
11131
if test -z "$shared"; then
11132
# The filename of a convenience library must have a "lib" prefix:
11133
libname="libmod_env.la"
11134
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11135
modpath_static="$modpath_static $libname"
11136
cat >>$modpath_current/modules.mk<<EOF
11138
\$(MOD_LINK) $objects \$(MOD_ENV_LDADD)
11141
apache_need_shared=yes
11142
libname="mod_env.la"
11143
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11144
modpath_shared="$modpath_shared $libname"
11145
cat >>$modpath_current/modules.mk<<EOF
11146
$libname: $shobjects
11147
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ENV_LDADD)
11153
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ENV_LDADD"
11160
echo "$as_me:$LINENO: checking whether to enable mod_mime_magic" >&5
11161
echo $ECHO_N "checking whether to enable mod_mime_magic... $ECHO_C" >&6
11162
# Check whether --enable-mime-magic or --disable-mime-magic was given.
11163
if test "${enable_mime_magic+set}" = set; then
11164
enableval="$enable_mime_magic"
11167
enable_mime_magic=maybe-all
11169
_apmod_extra_msg=""
11170
if test "$module_selection" = "most" -a "$enable_mime_magic" = "most"; then
11171
_apmod_error_fatal="no"
11173
_apmod_error_fatal="yes"
11175
if test "$enable_mime_magic" = "static"; then
11176
enable_mime_magic=yes
11177
elif test "$enable_mime_magic" = "yes"; then
11178
enable_mime_magic=$module_default
11179
_apmod_extra_msg=" ($module_selection)"
11180
elif test "$enable_mime_magic" = "most"; then
11181
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
11182
enable_mime_magic=$module_default
11183
_apmod_extra_msg=" ($module_selection)"
11184
elif test "$enable_mime_magic" != "yes"; then
11185
enable_mime_magic=no
11187
elif test "$enable_mime_magic" = "maybe-all"; then
11188
if test "$module_selection" = "all"; then
11189
enable_mime_magic=$module_default
11190
_apmod_extra_msg=" (all)"
11192
enable_mime_magic=no
11195
if test "$enable_mime_magic" != "no"; then
11198
echo "$as_me:$LINENO: result: $enable_mime_magic$_apmod_extra_msg" >&5
11199
echo "${ECHO_T}$enable_mime_magic$_apmod_extra_msg" >&6
11200
if test "$enable_mime_magic" != "no"; then
11201
case "$enable_mime_magic" in
11203
enable_mime_magic=`echo $enable_mime_magic|sed 's/shared,*//'`
11206
DSO_MODULES="$DSO_MODULES mime_magic"
11209
MODLIST="$MODLIST mime_magic"
11210
if test "mime_magic" = "so"; then
11217
if test -z ""; then
11218
objects="mod_mime_magic.lo"
11223
if test -z "$module_standalone"; then
11224
if test -z "$shared"; then
11225
# The filename of a convenience library must have a "lib" prefix:
11226
libname="libmod_mime_magic.la"
11227
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11228
modpath_static="$modpath_static $libname"
11229
cat >>$modpath_current/modules.mk<<EOF
11231
\$(MOD_LINK) $objects \$(MOD_MIME_MAGIC_LDADD)
11234
apache_need_shared=yes
11235
libname="mod_mime_magic.la"
11236
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11237
modpath_shared="$modpath_shared $libname"
11238
cat >>$modpath_current/modules.mk<<EOF
11239
$libname: $shobjects
11240
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_MIME_MAGIC_LDADD)
11246
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_MIME_MAGIC_LDADD"
11253
echo "$as_me:$LINENO: checking whether to enable mod_cern_meta" >&5
11254
echo $ECHO_N "checking whether to enable mod_cern_meta... $ECHO_C" >&6
11255
# Check whether --enable-cern-meta or --disable-cern-meta was given.
11256
if test "${enable_cern_meta+set}" = set; then
11257
enableval="$enable_cern_meta"
11260
enable_cern_meta=maybe-all
11262
_apmod_extra_msg=""
11263
if test "$module_selection" = "most" -a "$enable_cern_meta" = "most"; then
11264
_apmod_error_fatal="no"
11266
_apmod_error_fatal="yes"
11268
if test "$enable_cern_meta" = "static"; then
11269
enable_cern_meta=yes
11270
elif test "$enable_cern_meta" = "yes"; then
11271
enable_cern_meta=$module_default
11272
_apmod_extra_msg=" ($module_selection)"
11273
elif test "$enable_cern_meta" = "most"; then
11274
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
11275
enable_cern_meta=$module_default
11276
_apmod_extra_msg=" ($module_selection)"
11277
elif test "$enable_cern_meta" != "yes"; then
11278
enable_cern_meta=no
11280
elif test "$enable_cern_meta" = "maybe-all"; then
11281
if test "$module_selection" = "all"; then
11282
enable_cern_meta=$module_default
11283
_apmod_extra_msg=" (all)"
11285
enable_cern_meta=no
11288
if test "$enable_cern_meta" != "no"; then
11291
echo "$as_me:$LINENO: result: $enable_cern_meta$_apmod_extra_msg" >&5
11292
echo "${ECHO_T}$enable_cern_meta$_apmod_extra_msg" >&6
11293
if test "$enable_cern_meta" != "no"; then
11294
case "$enable_cern_meta" in
11296
enable_cern_meta=`echo $enable_cern_meta|sed 's/shared,*//'`
11299
DSO_MODULES="$DSO_MODULES cern_meta"
11302
MODLIST="$MODLIST cern_meta"
11303
if test "cern_meta" = "so"; then
11310
if test -z ""; then
11311
objects="mod_cern_meta.lo"
11316
if test -z "$module_standalone"; then
11317
if test -z "$shared"; then
11318
# The filename of a convenience library must have a "lib" prefix:
11319
libname="libmod_cern_meta.la"
11320
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11321
modpath_static="$modpath_static $libname"
11322
cat >>$modpath_current/modules.mk<<EOF
11324
\$(MOD_LINK) $objects \$(MOD_CERN_META_LDADD)
11327
apache_need_shared=yes
11328
libname="mod_cern_meta.la"
11329
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11330
modpath_shared="$modpath_shared $libname"
11331
cat >>$modpath_current/modules.mk<<EOF
11332
$libname: $shobjects
11333
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CERN_META_LDADD)
11339
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CERN_META_LDADD"
11346
echo "$as_me:$LINENO: checking whether to enable mod_expires" >&5
11347
echo $ECHO_N "checking whether to enable mod_expires... $ECHO_C" >&6
11348
# Check whether --enable-expires or --disable-expires was given.
11349
if test "${enable_expires+set}" = set; then
11350
enableval="$enable_expires"
11353
enable_expires=most
11355
_apmod_extra_msg=""
11356
if test "$module_selection" = "most" -a "$enable_expires" = "most"; then
11357
_apmod_error_fatal="no"
11359
_apmod_error_fatal="yes"
11361
if test "$enable_expires" = "static"; then
11363
elif test "$enable_expires" = "yes"; then
11364
enable_expires=$module_default
11365
_apmod_extra_msg=" ($module_selection)"
11366
elif test "$enable_expires" = "most"; then
11367
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
11368
enable_expires=$module_default
11369
_apmod_extra_msg=" ($module_selection)"
11370
elif test "$enable_expires" != "yes"; then
11373
elif test "$enable_expires" = "maybe-all"; then
11374
if test "$module_selection" = "all"; then
11375
enable_expires=$module_default
11376
_apmod_extra_msg=" (all)"
11381
if test "$enable_expires" != "no"; then
11384
echo "$as_me:$LINENO: result: $enable_expires$_apmod_extra_msg" >&5
11385
echo "${ECHO_T}$enable_expires$_apmod_extra_msg" >&6
11386
if test "$enable_expires" != "no"; then
11387
case "$enable_expires" in
11389
enable_expires=`echo $enable_expires|sed 's/shared,*//'`
11392
DSO_MODULES="$DSO_MODULES expires"
11395
MODLIST="$MODLIST expires"
11396
if test "expires" = "so"; then
11403
if test -z ""; then
11404
objects="mod_expires.lo"
11409
if test -z "$module_standalone"; then
11410
if test -z "$shared"; then
11411
# The filename of a convenience library must have a "lib" prefix:
11412
libname="libmod_expires.la"
11413
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11414
modpath_static="$modpath_static $libname"
11415
cat >>$modpath_current/modules.mk<<EOF
11417
\$(MOD_LINK) $objects \$(MOD_EXPIRES_LDADD)
11420
apache_need_shared=yes
11421
libname="mod_expires.la"
11422
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11423
modpath_shared="$modpath_shared $libname"
11424
cat >>$modpath_current/modules.mk<<EOF
11425
$libname: $shobjects
11426
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_EXPIRES_LDADD)
11432
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_EXPIRES_LDADD"
11439
echo "$as_me:$LINENO: checking whether to enable mod_headers" >&5
11440
echo $ECHO_N "checking whether to enable mod_headers... $ECHO_C" >&6
11441
# Check whether --enable-headers or --disable-headers was given.
11442
if test "${enable_headers+set}" = set; then
11443
enableval="$enable_headers"
11446
enable_headers=most
11448
_apmod_extra_msg=""
11449
if test "$module_selection" = "most" -a "$enable_headers" = "most"; then
11450
_apmod_error_fatal="no"
11452
_apmod_error_fatal="yes"
11454
if test "$enable_headers" = "static"; then
11456
elif test "$enable_headers" = "yes"; then
11457
enable_headers=$module_default
11458
_apmod_extra_msg=" ($module_selection)"
11459
elif test "$enable_headers" = "most"; then
11460
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
11461
enable_headers=$module_default
11462
_apmod_extra_msg=" ($module_selection)"
11463
elif test "$enable_headers" != "yes"; then
11466
elif test "$enable_headers" = "maybe-all"; then
11467
if test "$module_selection" = "all"; then
11468
enable_headers=$module_default
11469
_apmod_extra_msg=" (all)"
11474
if test "$enable_headers" != "no"; then
11477
echo "$as_me:$LINENO: result: $enable_headers$_apmod_extra_msg" >&5
11478
echo "${ECHO_T}$enable_headers$_apmod_extra_msg" >&6
11479
if test "$enable_headers" != "no"; then
11480
case "$enable_headers" in
11482
enable_headers=`echo $enable_headers|sed 's/shared,*//'`
11485
DSO_MODULES="$DSO_MODULES headers"
11488
MODLIST="$MODLIST headers"
11489
if test "headers" = "so"; then
11496
if test -z ""; then
11497
objects="mod_headers.lo"
11502
if test -z "$module_standalone"; then
11503
if test -z "$shared"; then
11504
# The filename of a convenience library must have a "lib" prefix:
11505
libname="libmod_headers.la"
11506
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11507
modpath_static="$modpath_static $libname"
11508
cat >>$modpath_current/modules.mk<<EOF
11510
\$(MOD_LINK) $objects \$(MOD_HEADERS_LDADD)
11513
apache_need_shared=yes
11514
libname="mod_headers.la"
11515
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11516
modpath_shared="$modpath_shared $libname"
11517
cat >>$modpath_current/modules.mk<<EOF
11518
$libname: $shobjects
11519
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_HEADERS_LDADD)
11525
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_HEADERS_LDADD"
11532
echo "$as_me:$LINENO: checking whether to enable mod_ident" >&5
11533
echo $ECHO_N "checking whether to enable mod_ident... $ECHO_C" >&6
11534
# Check whether --enable-ident or --disable-ident was given.
11535
if test "${enable_ident+set}" = set; then
11536
enableval="$enable_ident"
11541
_apmod_extra_msg=""
11542
if test "$module_selection" = "most" -a "$enable_ident" = "most"; then
11543
_apmod_error_fatal="no"
11545
_apmod_error_fatal="yes"
11547
if test "$enable_ident" = "static"; then
11549
elif test "$enable_ident" = "yes"; then
11550
enable_ident=$module_default
11551
_apmod_extra_msg=" ($module_selection)"
11552
elif test "$enable_ident" = "most"; then
11553
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
11554
enable_ident=$module_default
11555
_apmod_extra_msg=" ($module_selection)"
11556
elif test "$enable_ident" != "yes"; then
11559
elif test "$enable_ident" = "maybe-all"; then
11560
if test "$module_selection" = "all"; then
11561
enable_ident=$module_default
11562
_apmod_extra_msg=" (all)"
11567
if test "$enable_ident" != "no"; then
11570
echo "$as_me:$LINENO: result: $enable_ident$_apmod_extra_msg" >&5
11571
echo "${ECHO_T}$enable_ident$_apmod_extra_msg" >&6
11572
if test "$enable_ident" != "no"; then
11573
case "$enable_ident" in
11575
enable_ident=`echo $enable_ident|sed 's/shared,*//'`
11578
DSO_MODULES="$DSO_MODULES ident"
11581
MODLIST="$MODLIST ident"
11582
if test "ident" = "so"; then
11589
if test -z ""; then
11590
objects="mod_ident.lo"
11595
if test -z "$module_standalone"; then
11596
if test -z "$shared"; then
11597
# The filename of a convenience library must have a "lib" prefix:
11598
libname="libmod_ident.la"
11599
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11600
modpath_static="$modpath_static $libname"
11601
cat >>$modpath_current/modules.mk<<EOF
11603
\$(MOD_LINK) $objects \$(MOD_IDENT_LDADD)
11606
apache_need_shared=yes
11607
libname="mod_ident.la"
11608
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11609
modpath_shared="$modpath_shared $libname"
11610
cat >>$modpath_current/modules.mk<<EOF
11611
$libname: $shobjects
11612
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_IDENT_LDADD)
11618
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_IDENT_LDADD"
11626
echo "$as_me:$LINENO: checking whether to enable mod_usertrack" >&5
11627
echo $ECHO_N "checking whether to enable mod_usertrack... $ECHO_C" >&6
11628
# Check whether --enable-usertrack or --disable-usertrack was given.
11629
if test "${enable_usertrack+set}" = set; then
11630
enableval="$enable_usertrack"
11633
enable_usertrack=maybe-all
11635
_apmod_extra_msg=""
11636
if test "$module_selection" = "most" -a "$enable_usertrack" = "most"; then
11637
_apmod_error_fatal="no"
11639
_apmod_error_fatal="yes"
11641
if test "$enable_usertrack" = "static"; then
11642
enable_usertrack=yes
11643
elif test "$enable_usertrack" = "yes"; then
11644
enable_usertrack=$module_default
11645
_apmod_extra_msg=" ($module_selection)"
11646
elif test "$enable_usertrack" = "most"; then
11647
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
11648
enable_usertrack=$module_default
11649
_apmod_extra_msg=" ($module_selection)"
11650
elif test "$enable_usertrack" != "yes"; then
11651
enable_usertrack=no
11653
elif test "$enable_usertrack" = "maybe-all"; then
11654
if test "$module_selection" = "all"; then
11655
enable_usertrack=$module_default
11656
_apmod_extra_msg=" (all)"
11658
enable_usertrack=no
11661
if test "$enable_usertrack" != "no"; then
11662
echo "$as_me:$LINENO: result: checking dependencies" >&5
11663
echo "${ECHO_T}checking dependencies" >&6
11666
for ac_header in sys/times.h
11668
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11669
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11670
echo "$as_me:$LINENO: checking for $ac_header" >&5
11671
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11672
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11673
echo $ECHO_N "(cached) $ECHO_C" >&6
11675
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11676
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11678
# Is the header compilable?
11679
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11680
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11681
cat >conftest.$ac_ext <<_ACEOF
11684
cat confdefs.h >>conftest.$ac_ext
11685
cat >>conftest.$ac_ext <<_ACEOF
11686
/* end confdefs.h. */
11687
$ac_includes_default
11688
#include <$ac_header>
11690
rm -f conftest.$ac_objext
11691
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11692
(eval $ac_compile) 2>conftest.er1
11694
grep -v '^ *+' conftest.er1 >conftest.err
11696
cat conftest.err >&5
11697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698
(exit $ac_status); } &&
11699
{ ac_try='test -z "$ac_c_werror_flag"
11700
|| test ! -s conftest.err'
11701
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702
(eval $ac_try) 2>&5
11704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705
(exit $ac_status); }; } &&
11706
{ ac_try='test -s conftest.$ac_objext'
11707
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708
(eval $ac_try) 2>&5
11710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711
(exit $ac_status); }; }; then
11712
ac_header_compiler=yes
11714
echo "$as_me: failed program was:" >&5
11715
sed 's/^/| /' conftest.$ac_ext >&5
11717
ac_header_compiler=no
11719
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11720
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11721
echo "${ECHO_T}$ac_header_compiler" >&6
11723
# Is the header present?
11724
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11725
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11726
cat >conftest.$ac_ext <<_ACEOF
11729
cat confdefs.h >>conftest.$ac_ext
11730
cat >>conftest.$ac_ext <<_ACEOF
11731
/* end confdefs.h. */
11732
#include <$ac_header>
11734
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11735
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11737
grep -v '^ *+' conftest.er1 >conftest.err
11739
cat conftest.err >&5
11740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741
(exit $ac_status); } >/dev/null; then
11742
if test -s conftest.err; then
11743
ac_cpp_err=$ac_c_preproc_warn_flag
11744
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11751
if test -z "$ac_cpp_err"; then
11752
ac_header_preproc=yes
11754
echo "$as_me: failed program was:" >&5
11755
sed 's/^/| /' conftest.$ac_ext >&5
11757
ac_header_preproc=no
11759
rm -f conftest.err conftest.$ac_ext
11760
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11761
echo "${ECHO_T}$ac_header_preproc" >&6
11763
# So? What about this header?
11764
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11766
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11767
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11768
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11769
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11770
ac_header_preproc=yes
11773
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11774
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11775
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11776
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11777
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11778
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11779
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11780
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11781
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11782
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11783
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11784
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11787
## ------------------------------------------ ##
11788
## Report this to the AC_PACKAGE_NAME lists. ##
11789
## ------------------------------------------ ##
11792
sed "s/^/$as_me: WARNING: /" >&2
11795
echo "$as_me:$LINENO: checking for $ac_header" >&5
11796
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11797
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11798
echo $ECHO_N "(cached) $ECHO_C" >&6
11800
eval "$as_ac_Header=\$ac_header_preproc"
11802
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11803
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11806
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11807
cat >>confdefs.h <<_ACEOF
11808
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11816
for ac_func in times
11818
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11819
echo "$as_me:$LINENO: checking for $ac_func" >&5
11820
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11821
if eval "test \"\${$as_ac_var+set}\" = set"; then
11822
echo $ECHO_N "(cached) $ECHO_C" >&6
11824
cat >conftest.$ac_ext <<_ACEOF
11827
cat confdefs.h >>conftest.$ac_ext
11828
cat >>conftest.$ac_ext <<_ACEOF
11829
/* end confdefs.h. */
11830
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11831
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11832
#define $ac_func innocuous_$ac_func
11834
/* System header to define __stub macros and hopefully few prototypes,
11835
which can conflict with char $ac_func (); below.
11836
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837
<limits.h> exists even on freestanding compilers. */
11840
# include <limits.h>
11842
# include <assert.h>
11847
/* Override any gcc2 internal prototype to avoid an error. */
11852
/* We use char because int might match the return type of a gcc2
11853
builtin and then its argument prototype would still apply. */
11855
/* The GNU C library defines this for functions which it implements
11856
to always fail with ENOSYS. Some functions are actually named
11857
something starting with __ and the normal name is an alias. */
11858
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11861
char (*f) () = $ac_func;
11870
return f != $ac_func;
11875
rm -f conftest.$ac_objext conftest$ac_exeext
11876
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11877
(eval $ac_link) 2>conftest.er1
11879
grep -v '^ *+' conftest.er1 >conftest.err
11881
cat conftest.err >&5
11882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883
(exit $ac_status); } &&
11884
{ ac_try='test -z "$ac_c_werror_flag"
11885
|| test ! -s conftest.err'
11886
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887
(eval $ac_try) 2>&5
11889
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890
(exit $ac_status); }; } &&
11891
{ ac_try='test -s conftest$ac_exeext'
11892
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893
(eval $ac_try) 2>&5
11895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896
(exit $ac_status); }; }; then
11897
eval "$as_ac_var=yes"
11899
echo "$as_me: failed program was:" >&5
11900
sed 's/^/| /' conftest.$ac_ext >&5
11902
eval "$as_ac_var=no"
11904
rm -f conftest.err conftest.$ac_objext \
11905
conftest$ac_exeext conftest.$ac_ext
11907
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11908
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11909
if test `eval echo '${'$as_ac_var'}'` = yes; then
11910
cat >>confdefs.h <<_ACEOF
11911
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11918
echo "$as_me:$LINENO: checking whether to enable mod_usertrack" >&5
11919
echo $ECHO_N "checking whether to enable mod_usertrack... $ECHO_C" >&6
11920
if test "$enable_usertrack" = "no"; then
11921
if test "$_apmod_error_fatal" = "no"; then
11922
_apmod_extra_msg=" (disabled)"
11924
{ { echo "$as_me:$LINENO: error: mod_usertrack has been requested but can not be built due to prerequisite failures" >&5
11925
echo "$as_me: error: mod_usertrack has been requested but can not be built due to prerequisite failures" >&2;}
11926
{ (exit 1); exit 1; }; }
11930
echo "$as_me:$LINENO: result: $enable_usertrack$_apmod_extra_msg" >&5
11931
echo "${ECHO_T}$enable_usertrack$_apmod_extra_msg" >&6
11932
if test "$enable_usertrack" != "no"; then
11933
case "$enable_usertrack" in
11935
enable_usertrack=`echo $enable_usertrack|sed 's/shared,*//'`
11938
DSO_MODULES="$DSO_MODULES usertrack"
11941
MODLIST="$MODLIST usertrack"
11942
if test "usertrack" = "so"; then
11949
if test -z ""; then
11950
objects="mod_usertrack.lo"
11955
if test -z "$module_standalone"; then
11956
if test -z "$shared"; then
11957
# The filename of a convenience library must have a "lib" prefix:
11958
libname="libmod_usertrack.la"
11959
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
11960
modpath_static="$modpath_static $libname"
11961
cat >>$modpath_current/modules.mk<<EOF
11963
\$(MOD_LINK) $objects \$(MOD_USERTRACK_LDADD)
11966
apache_need_shared=yes
11967
libname="mod_usertrack.la"
11968
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
11969
modpath_shared="$modpath_shared $libname"
11970
cat >>$modpath_current/modules.mk<<EOF
11971
$libname: $shobjects
11972
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_USERTRACK_LDADD)
11978
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_USERTRACK_LDADD"
11986
echo "$as_me:$LINENO: checking whether to enable mod_unique_id" >&5
11987
echo $ECHO_N "checking whether to enable mod_unique_id... $ECHO_C" >&6
11988
# Check whether --enable-unique-id or --disable-unique-id was given.
11989
if test "${enable_unique_id+set}" = set; then
11990
enableval="$enable_unique_id"
11993
enable_unique_id=maybe-all
11995
_apmod_extra_msg=""
11996
if test "$module_selection" = "most" -a "$enable_unique_id" = "most"; then
11997
_apmod_error_fatal="no"
11999
_apmod_error_fatal="yes"
12001
if test "$enable_unique_id" = "static"; then
12002
enable_unique_id=yes
12003
elif test "$enable_unique_id" = "yes"; then
12004
enable_unique_id=$module_default
12005
_apmod_extra_msg=" ($module_selection)"
12006
elif test "$enable_unique_id" = "most"; then
12007
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12008
enable_unique_id=$module_default
12009
_apmod_extra_msg=" ($module_selection)"
12010
elif test "$enable_unique_id" != "yes"; then
12011
enable_unique_id=no
12013
elif test "$enable_unique_id" = "maybe-all"; then
12014
if test "$module_selection" = "all"; then
12015
enable_unique_id=$module_default
12016
_apmod_extra_msg=" (all)"
12018
enable_unique_id=no
12021
if test "$enable_unique_id" != "no"; then
12024
echo "$as_me:$LINENO: result: $enable_unique_id$_apmod_extra_msg" >&5
12025
echo "${ECHO_T}$enable_unique_id$_apmod_extra_msg" >&6
12026
if test "$enable_unique_id" != "no"; then
12027
case "$enable_unique_id" in
12029
enable_unique_id=`echo $enable_unique_id|sed 's/shared,*//'`
12032
DSO_MODULES="$DSO_MODULES unique_id"
12035
MODLIST="$MODLIST unique_id"
12036
if test "unique_id" = "so"; then
12043
if test -z ""; then
12044
objects="mod_unique_id.lo"
12049
if test -z "$module_standalone"; then
12050
if test -z "$shared"; then
12051
# The filename of a convenience library must have a "lib" prefix:
12052
libname="libmod_unique_id.la"
12053
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12054
modpath_static="$modpath_static $libname"
12055
cat >>$modpath_current/modules.mk<<EOF
12057
\$(MOD_LINK) $objects \$(MOD_UNIQUE_ID_LDADD)
12060
apache_need_shared=yes
12061
libname="mod_unique_id.la"
12062
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12063
modpath_shared="$modpath_shared $libname"
12064
cat >>$modpath_current/modules.mk<<EOF
12065
$libname: $shobjects
12066
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_UNIQUE_ID_LDADD)
12072
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_UNIQUE_ID_LDADD"
12079
echo "$as_me:$LINENO: checking whether to enable mod_setenvif" >&5
12080
echo $ECHO_N "checking whether to enable mod_setenvif... $ECHO_C" >&6
12081
# Check whether --enable-setenvif or --disable-setenvif was given.
12082
if test "${enable_setenvif+set}" = set; then
12083
enableval="$enable_setenvif"
12086
enable_setenvif=yes
12088
_apmod_extra_msg=""
12089
if test "$module_selection" = "most" -a "$enable_setenvif" = "most"; then
12090
_apmod_error_fatal="no"
12092
_apmod_error_fatal="yes"
12094
if test "$enable_setenvif" = "static"; then
12095
enable_setenvif=yes
12096
elif test "$enable_setenvif" = "yes"; then
12097
enable_setenvif=$module_default
12098
_apmod_extra_msg=" ($module_selection)"
12099
elif test "$enable_setenvif" = "most"; then
12100
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12101
enable_setenvif=$module_default
12102
_apmod_extra_msg=" ($module_selection)"
12103
elif test "$enable_setenvif" != "yes"; then
12106
elif test "$enable_setenvif" = "maybe-all"; then
12107
if test "$module_selection" = "all"; then
12108
enable_setenvif=$module_default
12109
_apmod_extra_msg=" (all)"
12114
if test "$enable_setenvif" != "no"; then
12117
echo "$as_me:$LINENO: result: $enable_setenvif$_apmod_extra_msg" >&5
12118
echo "${ECHO_T}$enable_setenvif$_apmod_extra_msg" >&6
12119
if test "$enable_setenvif" != "no"; then
12120
case "$enable_setenvif" in
12122
enable_setenvif=`echo $enable_setenvif|sed 's/shared,*//'`
12125
DSO_MODULES="$DSO_MODULES setenvif"
12128
MODLIST="$MODLIST setenvif"
12129
if test "setenvif" = "so"; then
12136
if test -z ""; then
12137
objects="mod_setenvif.lo"
12142
if test -z "$module_standalone"; then
12143
if test -z "$shared"; then
12144
# The filename of a convenience library must have a "lib" prefix:
12145
libname="libmod_setenvif.la"
12146
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12147
modpath_static="$modpath_static $libname"
12148
cat >>$modpath_current/modules.mk<<EOF
12150
\$(MOD_LINK) $objects \$(MOD_SETENVIF_LDADD)
12153
apache_need_shared=yes
12154
libname="mod_setenvif.la"
12155
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12156
modpath_shared="$modpath_shared $libname"
12157
cat >>$modpath_current/modules.mk<<EOF
12158
$libname: $shobjects
12159
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SETENVIF_LDADD)
12165
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SETENVIF_LDADD"
12172
echo "$as_me:$LINENO: checking whether to enable mod_version" >&5
12173
echo $ECHO_N "checking whether to enable mod_version... $ECHO_C" >&6
12174
# Check whether --enable-version or --disable-version was given.
12175
if test "${enable_version+set}" = set; then
12176
enableval="$enable_version"
12179
enable_version=maybe-all
12181
_apmod_extra_msg=""
12182
if test "$module_selection" = "most" -a "$enable_version" = "most"; then
12183
_apmod_error_fatal="no"
12185
_apmod_error_fatal="yes"
12187
if test "$enable_version" = "static"; then
12189
elif test "$enable_version" = "yes"; then
12190
enable_version=$module_default
12191
_apmod_extra_msg=" ($module_selection)"
12192
elif test "$enable_version" = "most"; then
12193
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12194
enable_version=$module_default
12195
_apmod_extra_msg=" ($module_selection)"
12196
elif test "$enable_version" != "yes"; then
12199
elif test "$enable_version" = "maybe-all"; then
12200
if test "$module_selection" = "all"; then
12201
enable_version=$module_default
12202
_apmod_extra_msg=" (all)"
12207
if test "$enable_version" != "no"; then
12210
echo "$as_me:$LINENO: result: $enable_version$_apmod_extra_msg" >&5
12211
echo "${ECHO_T}$enable_version$_apmod_extra_msg" >&6
12212
if test "$enable_version" != "no"; then
12213
case "$enable_version" in
12215
enable_version=`echo $enable_version|sed 's/shared,*//'`
12218
DSO_MODULES="$DSO_MODULES version"
12221
MODLIST="$MODLIST version"
12222
if test "version" = "so"; then
12229
if test -z ""; then
12230
objects="mod_version.lo"
12235
if test -z "$module_standalone"; then
12236
if test -z "$shared"; then
12237
# The filename of a convenience library must have a "lib" prefix:
12238
libname="libmod_version.la"
12239
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12240
modpath_static="$modpath_static $libname"
12241
cat >>$modpath_current/modules.mk<<EOF
12243
\$(MOD_LINK) $objects \$(MOD_VERSION_LDADD)
12246
apache_need_shared=yes
12247
libname="mod_version.la"
12248
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12249
modpath_shared="$modpath_shared $libname"
12250
cat >>$modpath_current/modules.mk<<EOF
12251
$libname: $shobjects
12252
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_VERSION_LDADD)
12258
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_VERSION_LDADD"
12266
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
12267
echo "static = $modpath_static" >> $modpath_current/modules.mk
12268
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
12269
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
12270
MODULE_DIRS="$MODULE_DIRS $current_dir"
12272
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
12275
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
12282
modpath_current=modules/proxy
12285
test -d proxy || $srcdir/build/mkdir.sh $modpath_current
12286
> $modpath_current/modules.mk
12289
if test "$enable_proxy" = "shared"; then
12290
proxy_mods_enable=shared
12291
elif test "$enable_proxy" = "yes"; then
12292
proxy_mods_enable=yes
12294
proxy_mods_enable=no
12297
proxy_objs="mod_proxy.lo proxy_util.lo"
12299
echo "$as_me:$LINENO: checking whether to enable mod_proxy" >&5
12300
echo $ECHO_N "checking whether to enable mod_proxy... $ECHO_C" >&6
12301
# Check whether --enable-proxy or --disable-proxy was given.
12302
if test "${enable_proxy+set}" = set; then
12303
enableval="$enable_proxy"
12306
enable_proxy=$proxy_mods_enable
12308
_apmod_extra_msg=""
12309
if test "$module_selection" = "most" -a "$enable_proxy" = "most"; then
12310
_apmod_error_fatal="no"
12312
_apmod_error_fatal="yes"
12314
if test "$enable_proxy" = "static"; then
12316
elif test "$enable_proxy" = "yes"; then
12317
enable_proxy=$module_default
12318
_apmod_extra_msg=" ($module_selection)"
12319
elif test "$enable_proxy" = "most"; then
12320
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12321
enable_proxy=$module_default
12322
_apmod_extra_msg=" ($module_selection)"
12323
elif test "$enable_proxy" != "yes"; then
12326
elif test "$enable_proxy" = "maybe-all"; then
12327
if test "$module_selection" = "all"; then
12328
enable_proxy=$module_default
12329
_apmod_extra_msg=" (all)"
12334
if test "$enable_proxy" != "no"; then
12337
echo "$as_me:$LINENO: result: $enable_proxy$_apmod_extra_msg" >&5
12338
echo "${ECHO_T}$enable_proxy$_apmod_extra_msg" >&6
12339
if test "$enable_proxy" != "no"; then
12340
case "$enable_proxy" in
12342
enable_proxy=`echo $enable_proxy|sed 's/shared,*//'`
12345
DSO_MODULES="$DSO_MODULES proxy"
12348
MODLIST="$MODLIST proxy"
12349
if test "proxy" = "so"; then
12356
if test -z "$proxy_objs"; then
12357
objects="mod_proxy.lo"
12359
objects="$proxy_objs"
12362
if test -z "$module_standalone"; then
12363
if test -z "$shared"; then
12364
# The filename of a convenience library must have a "lib" prefix:
12365
libname="libmod_proxy.la"
12366
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12367
modpath_static="$modpath_static $libname"
12368
cat >>$modpath_current/modules.mk<<EOF
12370
\$(MOD_LINK) $objects \$(MOD_PROXY_LDADD)
12373
apache_need_shared=yes
12374
libname="mod_proxy.la"
12375
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12376
modpath_shared="$modpath_shared $libname"
12377
cat >>$modpath_current/modules.mk<<EOF
12378
$libname: $shobjects
12379
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_LDADD)
12385
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_LDADD"
12392
proxy_connect_objs="mod_proxy_connect.lo"
12393
proxy_ftp_objs="mod_proxy_ftp.lo"
12394
proxy_http_objs="mod_proxy_http.lo"
12395
proxy_ajp_objs="mod_proxy_ajp.lo ajp_header.lo ajp_link.lo ajp_msg.lo"
12396
proxy_balancer_objs="mod_proxy_balancer.lo"
12400
# OS/2 DLLs must resolve all symbols at build time and
12401
# these sub-modules need some from the main proxy module
12402
proxy_connect_objs="$proxy_connect_objs mod_proxy.la"
12403
proxy_ftp_objs="$proxy_ftp_objs mod_proxy.la"
12404
proxy_http_objs="$proxy_http_objs mod_proxy.la"
12405
proxy_ajp_objs="$proxy_ajp_objs mod_proxy.la"
12406
proxy_balancer_objs="$proxy_balancer_objs mod_proxy.la"
12411
echo "$as_me:$LINENO: checking whether to enable mod_proxy_connect" >&5
12412
echo $ECHO_N "checking whether to enable mod_proxy_connect... $ECHO_C" >&6
12413
# Check whether --enable-proxy-connect or --disable-proxy-connect was given.
12414
if test "${enable_proxy_connect+set}" = set; then
12415
enableval="$enable_proxy_connect"
12418
enable_proxy_connect=$proxy_mods_enable
12420
_apmod_extra_msg=""
12421
if test "$module_selection" = "most" -a "$enable_proxy_connect" = "most"; then
12422
_apmod_error_fatal="no"
12424
_apmod_error_fatal="yes"
12426
if test "$enable_proxy_connect" = "static"; then
12427
enable_proxy_connect=yes
12428
elif test "$enable_proxy_connect" = "yes"; then
12429
enable_proxy_connect=$module_default
12430
_apmod_extra_msg=" ($module_selection)"
12431
elif test "$enable_proxy_connect" = "most"; then
12432
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12433
enable_proxy_connect=$module_default
12434
_apmod_extra_msg=" ($module_selection)"
12435
elif test "$enable_proxy_connect" != "yes"; then
12436
enable_proxy_connect=no
12438
elif test "$enable_proxy_connect" = "maybe-all"; then
12439
if test "$module_selection" = "all"; then
12440
enable_proxy_connect=$module_default
12441
_apmod_extra_msg=" (all)"
12443
enable_proxy_connect=no
12446
if test "$enable_proxy_connect" != "no"; then
12449
echo "$as_me:$LINENO: result: $enable_proxy_connect$_apmod_extra_msg" >&5
12450
echo "${ECHO_T}$enable_proxy_connect$_apmod_extra_msg" >&6
12451
if test "$enable_proxy_connect" != "no"; then
12452
case "$enable_proxy_connect" in
12454
enable_proxy_connect=`echo $enable_proxy_connect|sed 's/shared,*//'`
12457
DSO_MODULES="$DSO_MODULES proxy_connect"
12460
MODLIST="$MODLIST proxy_connect"
12461
if test "proxy_connect" = "so"; then
12468
if test -z "$proxy_connect_objs"; then
12469
objects="mod_proxy_connect.lo"
12471
objects="$proxy_connect_objs"
12474
if test -z "$module_standalone"; then
12475
if test -z "$shared"; then
12476
# The filename of a convenience library must have a "lib" prefix:
12477
libname="libmod_proxy_connect.la"
12478
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12479
modpath_static="$modpath_static $libname"
12480
cat >>$modpath_current/modules.mk<<EOF
12482
\$(MOD_LINK) $objects \$(MOD_PROXY_CONNECT_LDADD)
12485
apache_need_shared=yes
12486
libname="mod_proxy_connect.la"
12487
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12488
modpath_shared="$modpath_shared $libname"
12489
cat >>$modpath_current/modules.mk<<EOF
12490
$libname: $shobjects
12491
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_CONNECT_LDADD)
12497
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_CONNECT_LDADD"
12504
echo "$as_me:$LINENO: checking whether to enable mod_proxy_ftp" >&5
12505
echo $ECHO_N "checking whether to enable mod_proxy_ftp... $ECHO_C" >&6
12506
# Check whether --enable-proxy-ftp or --disable-proxy-ftp was given.
12507
if test "${enable_proxy_ftp+set}" = set; then
12508
enableval="$enable_proxy_ftp"
12511
enable_proxy_ftp=$proxy_mods_enable
12513
_apmod_extra_msg=""
12514
if test "$module_selection" = "most" -a "$enable_proxy_ftp" = "most"; then
12515
_apmod_error_fatal="no"
12517
_apmod_error_fatal="yes"
12519
if test "$enable_proxy_ftp" = "static"; then
12520
enable_proxy_ftp=yes
12521
elif test "$enable_proxy_ftp" = "yes"; then
12522
enable_proxy_ftp=$module_default
12523
_apmod_extra_msg=" ($module_selection)"
12524
elif test "$enable_proxy_ftp" = "most"; then
12525
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12526
enable_proxy_ftp=$module_default
12527
_apmod_extra_msg=" ($module_selection)"
12528
elif test "$enable_proxy_ftp" != "yes"; then
12529
enable_proxy_ftp=no
12531
elif test "$enable_proxy_ftp" = "maybe-all"; then
12532
if test "$module_selection" = "all"; then
12533
enable_proxy_ftp=$module_default
12534
_apmod_extra_msg=" (all)"
12536
enable_proxy_ftp=no
12539
if test "$enable_proxy_ftp" != "no"; then
12542
echo "$as_me:$LINENO: result: $enable_proxy_ftp$_apmod_extra_msg" >&5
12543
echo "${ECHO_T}$enable_proxy_ftp$_apmod_extra_msg" >&6
12544
if test "$enable_proxy_ftp" != "no"; then
12545
case "$enable_proxy_ftp" in
12547
enable_proxy_ftp=`echo $enable_proxy_ftp|sed 's/shared,*//'`
12550
DSO_MODULES="$DSO_MODULES proxy_ftp"
12553
MODLIST="$MODLIST proxy_ftp"
12554
if test "proxy_ftp" = "so"; then
12561
if test -z "$proxy_ftp_objs"; then
12562
objects="mod_proxy_ftp.lo"
12564
objects="$proxy_ftp_objs"
12567
if test -z "$module_standalone"; then
12568
if test -z "$shared"; then
12569
# The filename of a convenience library must have a "lib" prefix:
12570
libname="libmod_proxy_ftp.la"
12571
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12572
modpath_static="$modpath_static $libname"
12573
cat >>$modpath_current/modules.mk<<EOF
12575
\$(MOD_LINK) $objects \$(MOD_PROXY_FTP_LDADD)
12578
apache_need_shared=yes
12579
libname="mod_proxy_ftp.la"
12580
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12581
modpath_shared="$modpath_shared $libname"
12582
cat >>$modpath_current/modules.mk<<EOF
12583
$libname: $shobjects
12584
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_FTP_LDADD)
12590
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_FTP_LDADD"
12597
echo "$as_me:$LINENO: checking whether to enable mod_proxy_http" >&5
12598
echo $ECHO_N "checking whether to enable mod_proxy_http... $ECHO_C" >&6
12599
# Check whether --enable-proxy-http or --disable-proxy-http was given.
12600
if test "${enable_proxy_http+set}" = set; then
12601
enableval="$enable_proxy_http"
12604
enable_proxy_http=$proxy_mods_enable
12606
_apmod_extra_msg=""
12607
if test "$module_selection" = "most" -a "$enable_proxy_http" = "most"; then
12608
_apmod_error_fatal="no"
12610
_apmod_error_fatal="yes"
12612
if test "$enable_proxy_http" = "static"; then
12613
enable_proxy_http=yes
12614
elif test "$enable_proxy_http" = "yes"; then
12615
enable_proxy_http=$module_default
12616
_apmod_extra_msg=" ($module_selection)"
12617
elif test "$enable_proxy_http" = "most"; then
12618
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12619
enable_proxy_http=$module_default
12620
_apmod_extra_msg=" ($module_selection)"
12621
elif test "$enable_proxy_http" != "yes"; then
12622
enable_proxy_http=no
12624
elif test "$enable_proxy_http" = "maybe-all"; then
12625
if test "$module_selection" = "all"; then
12626
enable_proxy_http=$module_default
12627
_apmod_extra_msg=" (all)"
12629
enable_proxy_http=no
12632
if test "$enable_proxy_http" != "no"; then
12635
echo "$as_me:$LINENO: result: $enable_proxy_http$_apmod_extra_msg" >&5
12636
echo "${ECHO_T}$enable_proxy_http$_apmod_extra_msg" >&6
12637
if test "$enable_proxy_http" != "no"; then
12638
case "$enable_proxy_http" in
12640
enable_proxy_http=`echo $enable_proxy_http|sed 's/shared,*//'`
12643
DSO_MODULES="$DSO_MODULES proxy_http"
12646
MODLIST="$MODLIST proxy_http"
12647
if test "proxy_http" = "so"; then
12654
if test -z "$proxy_http_objs"; then
12655
objects="mod_proxy_http.lo"
12657
objects="$proxy_http_objs"
12660
if test -z "$module_standalone"; then
12661
if test -z "$shared"; then
12662
# The filename of a convenience library must have a "lib" prefix:
12663
libname="libmod_proxy_http.la"
12664
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12665
modpath_static="$modpath_static $libname"
12666
cat >>$modpath_current/modules.mk<<EOF
12668
\$(MOD_LINK) $objects \$(MOD_PROXY_HTTP_LDADD)
12671
apache_need_shared=yes
12672
libname="mod_proxy_http.la"
12673
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12674
modpath_shared="$modpath_shared $libname"
12675
cat >>$modpath_current/modules.mk<<EOF
12676
$libname: $shobjects
12677
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_HTTP_LDADD)
12683
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_HTTP_LDADD"
12690
echo "$as_me:$LINENO: checking whether to enable mod_proxy_ajp" >&5
12691
echo $ECHO_N "checking whether to enable mod_proxy_ajp... $ECHO_C" >&6
12692
# Check whether --enable-proxy-ajp or --disable-proxy-ajp was given.
12693
if test "${enable_proxy_ajp+set}" = set; then
12694
enableval="$enable_proxy_ajp"
12697
enable_proxy_ajp=$proxy_mods_enable
12699
_apmod_extra_msg=""
12700
if test "$module_selection" = "most" -a "$enable_proxy_ajp" = "most"; then
12701
_apmod_error_fatal="no"
12703
_apmod_error_fatal="yes"
12705
if test "$enable_proxy_ajp" = "static"; then
12706
enable_proxy_ajp=yes
12707
elif test "$enable_proxy_ajp" = "yes"; then
12708
enable_proxy_ajp=$module_default
12709
_apmod_extra_msg=" ($module_selection)"
12710
elif test "$enable_proxy_ajp" = "most"; then
12711
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12712
enable_proxy_ajp=$module_default
12713
_apmod_extra_msg=" ($module_selection)"
12714
elif test "$enable_proxy_ajp" != "yes"; then
12715
enable_proxy_ajp=no
12717
elif test "$enable_proxy_ajp" = "maybe-all"; then
12718
if test "$module_selection" = "all"; then
12719
enable_proxy_ajp=$module_default
12720
_apmod_extra_msg=" (all)"
12722
enable_proxy_ajp=no
12725
if test "$enable_proxy_ajp" != "no"; then
12728
echo "$as_me:$LINENO: result: $enable_proxy_ajp$_apmod_extra_msg" >&5
12729
echo "${ECHO_T}$enable_proxy_ajp$_apmod_extra_msg" >&6
12730
if test "$enable_proxy_ajp" != "no"; then
12731
case "$enable_proxy_ajp" in
12733
enable_proxy_ajp=`echo $enable_proxy_ajp|sed 's/shared,*//'`
12736
DSO_MODULES="$DSO_MODULES proxy_ajp"
12739
MODLIST="$MODLIST proxy_ajp"
12740
if test "proxy_ajp" = "so"; then
12747
if test -z "$proxy_ajp_objs"; then
12748
objects="mod_proxy_ajp.lo"
12750
objects="$proxy_ajp_objs"
12753
if test -z "$module_standalone"; then
12754
if test -z "$shared"; then
12755
# The filename of a convenience library must have a "lib" prefix:
12756
libname="libmod_proxy_ajp.la"
12757
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12758
modpath_static="$modpath_static $libname"
12759
cat >>$modpath_current/modules.mk<<EOF
12761
\$(MOD_LINK) $objects \$(MOD_PROXY_AJP_LDADD)
12764
apache_need_shared=yes
12765
libname="mod_proxy_ajp.la"
12766
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12767
modpath_shared="$modpath_shared $libname"
12768
cat >>$modpath_current/modules.mk<<EOF
12769
$libname: $shobjects
12770
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_AJP_LDADD)
12776
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_AJP_LDADD"
12783
echo "$as_me:$LINENO: checking whether to enable mod_proxy_balancer" >&5
12784
echo $ECHO_N "checking whether to enable mod_proxy_balancer... $ECHO_C" >&6
12785
# Check whether --enable-proxy-balancer or --disable-proxy-balancer was given.
12786
if test "${enable_proxy_balancer+set}" = set; then
12787
enableval="$enable_proxy_balancer"
12790
enable_proxy_balancer=$proxy_mods_enable
12792
_apmod_extra_msg=""
12793
if test "$module_selection" = "most" -a "$enable_proxy_balancer" = "most"; then
12794
_apmod_error_fatal="no"
12796
_apmod_error_fatal="yes"
12798
if test "$enable_proxy_balancer" = "static"; then
12799
enable_proxy_balancer=yes
12800
elif test "$enable_proxy_balancer" = "yes"; then
12801
enable_proxy_balancer=$module_default
12802
_apmod_extra_msg=" ($module_selection)"
12803
elif test "$enable_proxy_balancer" = "most"; then
12804
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12805
enable_proxy_balancer=$module_default
12806
_apmod_extra_msg=" ($module_selection)"
12807
elif test "$enable_proxy_balancer" != "yes"; then
12808
enable_proxy_balancer=no
12810
elif test "$enable_proxy_balancer" = "maybe-all"; then
12811
if test "$module_selection" = "all"; then
12812
enable_proxy_balancer=$module_default
12813
_apmod_extra_msg=" (all)"
12815
enable_proxy_balancer=no
12818
if test "$enable_proxy_balancer" != "no"; then
12821
echo "$as_me:$LINENO: result: $enable_proxy_balancer$_apmod_extra_msg" >&5
12822
echo "${ECHO_T}$enable_proxy_balancer$_apmod_extra_msg" >&6
12823
if test "$enable_proxy_balancer" != "no"; then
12824
case "$enable_proxy_balancer" in
12826
enable_proxy_balancer=`echo $enable_proxy_balancer|sed 's/shared,*//'`
12829
DSO_MODULES="$DSO_MODULES proxy_balancer"
12832
MODLIST="$MODLIST proxy_balancer"
12833
if test "proxy_balancer" = "so"; then
12840
if test -z "$proxy_balancer_objs"; then
12841
objects="mod_proxy_balancer.lo"
12843
objects="$proxy_balancer_objs"
12846
if test -z "$module_standalone"; then
12847
if test -z "$shared"; then
12848
# The filename of a convenience library must have a "lib" prefix:
12849
libname="libmod_proxy_balancer.la"
12850
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
12851
modpath_static="$modpath_static $libname"
12852
cat >>$modpath_current/modules.mk<<EOF
12854
\$(MOD_LINK) $objects \$(MOD_PROXY_BALANCER_LDADD)
12857
apache_need_shared=yes
12858
libname="mod_proxy_balancer.la"
12859
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
12860
modpath_shared="$modpath_shared $libname"
12861
cat >>$modpath_current/modules.mk<<EOF
12862
$libname: $shobjects
12863
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_PROXY_BALANCER_LDADD)
12869
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_PROXY_BALANCER_LDADD"
12877
if test "x$INCLUDES" = "x"; then
12878
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_srcdir)/$modpath_current/../generators\""
12879
INCLUDES="-I\$(top_srcdir)/$modpath_current/../generators"
12881
apr_addto_bugger="-I\$(top_srcdir)/$modpath_current/../generators"
12882
for i in $apr_addto_bugger; do
12883
apr_addto_duplicate="0"
12884
for j in $INCLUDES; do
12885
if test "x$i" = "x$j"; then
12886
apr_addto_duplicate="1"
12890
if test $apr_addto_duplicate = "0"; then
12891
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
12892
INCLUDES="$INCLUDES $i"
12899
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
12900
echo "static = $modpath_static" >> $modpath_current/modules.mk
12901
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
12902
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
12903
MODULE_DIRS="$MODULE_DIRS $current_dir"
12905
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
12908
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
12917
modpath_current=modules/ssl
12920
test -d ssl || $srcdir/build/mkdir.sh $modpath_current
12921
> $modpath_current/modules.mk
12924
ssl_objs="mod_ssl.lo ssl_engine_config.lo ssl_engine_dh.lo ssl_engine_init.lo ssl_engine_io.lo ssl_engine_kernel.lo ssl_engine_log.lo ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_rand.lo ssl_engine_vars.lo ssl_expr.lo ssl_expr_eval.lo ssl_expr_parse.lo ssl_expr_scan.lo ssl_scache.lo ssl_scache_dbm.lo ssl_scache_shmcb.lo ssl_scache_dc.lo ssl_util.lo ssl_util_ssl.lo "
12926
echo "$as_me:$LINENO: checking whether to enable mod_ssl" >&5
12927
echo $ECHO_N "checking whether to enable mod_ssl... $ECHO_C" >&6
12928
# Check whether --enable-ssl or --disable-ssl was given.
12929
if test "${enable_ssl+set}" = set; then
12930
enableval="$enable_ssl"
12935
_apmod_extra_msg=""
12936
if test "$module_selection" = "most" -a "$enable_ssl" = "most"; then
12937
_apmod_error_fatal="no"
12939
_apmod_error_fatal="yes"
12941
if test "$enable_ssl" = "static"; then
12943
elif test "$enable_ssl" = "yes"; then
12944
enable_ssl=$module_default
12945
_apmod_extra_msg=" ($module_selection)"
12946
elif test "$enable_ssl" = "most"; then
12947
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
12948
enable_ssl=$module_default
12949
_apmod_extra_msg=" ($module_selection)"
12950
elif test "$enable_ssl" != "yes"; then
12953
elif test "$enable_ssl" = "maybe-all"; then
12954
if test "$module_selection" = "all"; then
12955
enable_ssl=$module_default
12956
_apmod_extra_msg=" (all)"
12961
if test "$enable_ssl" != "no"; then
12962
echo "$as_me:$LINENO: result: checking dependencies" >&5
12963
echo "${ECHO_T}checking dependencies" >&6
12966
if test "x$ap_ssltk_configured" = "x"; then
12972
echo "$as_me:$LINENO: checking for SSL/TLS toolkit base" >&5
12973
echo $ECHO_N "checking for SSL/TLS toolkit base... $ECHO_C" >&6
12975
# Check whether --with-sslc or --without-sslc was given.
12976
if test "${with_sslc+set}" = set; then
12977
withval="$with_sslc"
12979
if test "x$withval" != "xyes" -a "x$withval" != "x"; then
12980
ap_ssltk_base="`cd $withval ; pwd`"
12982
ap_ssltk_type="sslc"
12986
# Check whether --with-ssl or --without-ssl was given.
12987
if test "${with_ssl+set}" = set; then
12988
withval="$with_ssl"
12990
if test "x$withval" != "xyes" -a "x$withval" != "x"; then
12991
ap_ssltk_base="`cd $withval ; pwd`"
12995
if test "x$ap_ssltk_base" = "x"; then
12996
echo "$as_me:$LINENO: result: none" >&5
12997
echo "${ECHO_T}none" >&6
12999
echo "$as_me:$LINENO: result: $ap_ssltk_base" >&5
13000
echo "${ECHO_T}$ap_ssltk_base" >&6
13003
saved_CPPFLAGS=$CPPFLAGS
13004
if test "x$ap_ssltk_base" != "x"; then
13005
ap_ssltk_inc="-I$ap_ssltk_base/include"
13006
CPPFLAGS="$CPPFLAGS $ap_ssltk_inc"
13008
if test "x$ap_ssltk_type" = "x"; then
13009
echo "$as_me:$LINENO: checking for OpenSSL version" >&5
13010
echo $ECHO_N "checking for OpenSSL version... $ECHO_C" >&6
13013
for ac_header in openssl/opensslv.h openssl/ssl.h
13015
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13016
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13017
echo "$as_me:$LINENO: checking for $ac_header" >&5
13018
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13019
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13020
echo $ECHO_N "(cached) $ECHO_C" >&6
13022
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13023
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13025
# Is the header compilable?
13026
echo "$as_me:$LINENO: checking $ac_header usability" >&5
13027
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13028
cat >conftest.$ac_ext <<_ACEOF
13031
cat confdefs.h >>conftest.$ac_ext
13032
cat >>conftest.$ac_ext <<_ACEOF
13033
/* end confdefs.h. */
13034
$ac_includes_default
13035
#include <$ac_header>
13037
rm -f conftest.$ac_objext
13038
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13039
(eval $ac_compile) 2>conftest.er1
13041
grep -v '^ *+' conftest.er1 >conftest.err
13043
cat conftest.err >&5
13044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045
(exit $ac_status); } &&
13046
{ ac_try='test -z "$ac_c_werror_flag"
13047
|| test ! -s conftest.err'
13048
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049
(eval $ac_try) 2>&5
13051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052
(exit $ac_status); }; } &&
13053
{ ac_try='test -s conftest.$ac_objext'
13054
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13055
(eval $ac_try) 2>&5
13057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058
(exit $ac_status); }; }; then
13059
ac_header_compiler=yes
13061
echo "$as_me: failed program was:" >&5
13062
sed 's/^/| /' conftest.$ac_ext >&5
13064
ac_header_compiler=no
13066
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13067
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13068
echo "${ECHO_T}$ac_header_compiler" >&6
13070
# Is the header present?
13071
echo "$as_me:$LINENO: checking $ac_header presence" >&5
13072
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13073
cat >conftest.$ac_ext <<_ACEOF
13076
cat confdefs.h >>conftest.$ac_ext
13077
cat >>conftest.$ac_ext <<_ACEOF
13078
/* end confdefs.h. */
13079
#include <$ac_header>
13081
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13082
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13084
grep -v '^ *+' conftest.er1 >conftest.err
13086
cat conftest.err >&5
13087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088
(exit $ac_status); } >/dev/null; then
13089
if test -s conftest.err; then
13090
ac_cpp_err=$ac_c_preproc_warn_flag
13091
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13098
if test -z "$ac_cpp_err"; then
13099
ac_header_preproc=yes
13101
echo "$as_me: failed program was:" >&5
13102
sed 's/^/| /' conftest.$ac_ext >&5
13104
ac_header_preproc=no
13106
rm -f conftest.err conftest.$ac_ext
13107
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13108
echo "${ECHO_T}$ac_header_preproc" >&6
13110
# So? What about this header?
13111
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13113
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13114
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13115
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13116
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13117
ac_header_preproc=yes
13120
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13121
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13122
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13123
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13124
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13125
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13126
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13127
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13128
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13129
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13130
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13131
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13134
## ------------------------------------------ ##
13135
## Report this to the AC_PACKAGE_NAME lists. ##
13136
## ------------------------------------------ ##
13139
sed "s/^/$as_me: WARNING: /" >&2
13142
echo "$as_me:$LINENO: checking for $ac_header" >&5
13143
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13144
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13145
echo $ECHO_N "(cached) $ECHO_C" >&6
13147
eval "$as_ac_Header=\$ac_header_preproc"
13149
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13150
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13153
if test `eval echo '${'$as_ac_Header'}'` = yes; then
13154
cat >>confdefs.h <<_ACEOF
13155
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13157
ap_ssltk_type="openssl"
13162
if test "$ap_ssltk_type" = "openssl"; then
13163
cat >conftest.$ac_ext <<_ACEOF
13166
cat confdefs.h >>conftest.$ac_ext
13167
cat >>conftest.$ac_ext <<_ACEOF
13168
/* end confdefs.h. */
13169
#include <openssl/opensslv.h>
13174
#if !defined(OPENSSL_VERSION_NUMBER)
13175
#error "Missing openssl version"
13177
#if (OPENSSL_VERSION_NUMBER < 0x009060af) \
13178
|| ((OPENSSL_VERSION_NUMBER > 0x00907000) && (OPENSSL_VERSION_NUMBER < 0x0090702f))
13179
#error "Insecure openssl version " OPENSSL_VERSION_TEXT
13185
rm -f conftest.$ac_objext
13186
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13187
(eval $ac_compile) 2>conftest.er1
13189
grep -v '^ *+' conftest.er1 >conftest.err
13191
cat conftest.err >&5
13192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193
(exit $ac_status); } &&
13194
{ ac_try='test -z "$ac_c_werror_flag"
13195
|| test ! -s conftest.err'
13196
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197
(eval $ac_try) 2>&5
13199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200
(exit $ac_status); }; } &&
13201
{ ac_try='test -s conftest.$ac_objext'
13202
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203
(eval $ac_try) 2>&5
13205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206
(exit $ac_status); }; }; then
13207
echo "$as_me:$LINENO: result: OK" >&5
13208
echo "${ECHO_T}OK" >&6
13210
echo "$as_me: failed program was:" >&5
13211
sed 's/^/| /' conftest.$ac_ext >&5
13213
echo "$as_me:$LINENO: result: not encouraging" >&5
13214
echo "${ECHO_T}not encouraging" >&6
13215
echo "WARNING: OpenSSL version may contain security vulnerabilities!"
13216
echo " Ensure the latest security patches have been applied!"
13219
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13221
for ac_header in openssl/engine.h
13223
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13224
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13225
echo "$as_me:$LINENO: checking for $ac_header" >&5
13226
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13227
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13228
echo $ECHO_N "(cached) $ECHO_C" >&6
13230
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13231
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13233
# Is the header compilable?
13234
echo "$as_me:$LINENO: checking $ac_header usability" >&5
13235
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13236
cat >conftest.$ac_ext <<_ACEOF
13239
cat confdefs.h >>conftest.$ac_ext
13240
cat >>conftest.$ac_ext <<_ACEOF
13241
/* end confdefs.h. */
13242
$ac_includes_default
13243
#include <$ac_header>
13245
rm -f conftest.$ac_objext
13246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13247
(eval $ac_compile) 2>conftest.er1
13249
grep -v '^ *+' conftest.er1 >conftest.err
13251
cat conftest.err >&5
13252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253
(exit $ac_status); } &&
13254
{ ac_try='test -z "$ac_c_werror_flag"
13255
|| test ! -s conftest.err'
13256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257
(eval $ac_try) 2>&5
13259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260
(exit $ac_status); }; } &&
13261
{ ac_try='test -s conftest.$ac_objext'
13262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13263
(eval $ac_try) 2>&5
13265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266
(exit $ac_status); }; }; then
13267
ac_header_compiler=yes
13269
echo "$as_me: failed program was:" >&5
13270
sed 's/^/| /' conftest.$ac_ext >&5
13272
ac_header_compiler=no
13274
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13275
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13276
echo "${ECHO_T}$ac_header_compiler" >&6
13278
# Is the header present?
13279
echo "$as_me:$LINENO: checking $ac_header presence" >&5
13280
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13281
cat >conftest.$ac_ext <<_ACEOF
13284
cat confdefs.h >>conftest.$ac_ext
13285
cat >>conftest.$ac_ext <<_ACEOF
13286
/* end confdefs.h. */
13287
#include <$ac_header>
13289
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13290
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13292
grep -v '^ *+' conftest.er1 >conftest.err
13294
cat conftest.err >&5
13295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296
(exit $ac_status); } >/dev/null; then
13297
if test -s conftest.err; then
13298
ac_cpp_err=$ac_c_preproc_warn_flag
13299
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13306
if test -z "$ac_cpp_err"; then
13307
ac_header_preproc=yes
13309
echo "$as_me: failed program was:" >&5
13310
sed 's/^/| /' conftest.$ac_ext >&5
13312
ac_header_preproc=no
13314
rm -f conftest.err conftest.$ac_ext
13315
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13316
echo "${ECHO_T}$ac_header_preproc" >&6
13318
# So? What about this header?
13319
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13321
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13322
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13323
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13324
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13325
ac_header_preproc=yes
13328
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13329
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13330
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13331
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13332
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13333
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13334
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13335
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13336
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13337
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13338
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13339
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13342
## ------------------------------------------ ##
13343
## Report this to the AC_PACKAGE_NAME lists. ##
13344
## ------------------------------------------ ##
13347
sed "s/^/$as_me: WARNING: /" >&2
13350
echo "$as_me:$LINENO: checking for $ac_header" >&5
13351
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13352
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13353
echo $ECHO_N "(cached) $ECHO_C" >&6
13355
eval "$as_ac_Header=\$ac_header_preproc"
13357
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13358
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13361
if test `eval echo '${'$as_ac_Header'}'` = yes; then
13362
cat >>confdefs.h <<_ACEOF
13363
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13370
if test -n "$PKGCONFIG"; then
13372
if test $? -eq 0; then
13373
ap_ssltk_inc="$ap_ssltk_inc `$PKGCONFIG --cflags-only-I openssl`"
13374
CPPFLAGS="$CPPFLAGS $ap_ssltk_inc"
13378
echo "$as_me:$LINENO: result: no OpenSSL headers found" >&5
13379
echo "${ECHO_T}no OpenSSL headers found" >&6
13382
if test "$ap_ssltk_type" != "openssl"; then
13383
echo "$as_me:$LINENO: checking for SSL-C version" >&5
13384
echo $ECHO_N "checking for SSL-C version... $ECHO_C" >&6
13386
for ac_header in sslc.h
13388
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13389
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13390
echo "$as_me:$LINENO: checking for $ac_header" >&5
13391
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13392
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13393
echo $ECHO_N "(cached) $ECHO_C" >&6
13395
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13396
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13398
# Is the header compilable?
13399
echo "$as_me:$LINENO: checking $ac_header usability" >&5
13400
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13401
cat >conftest.$ac_ext <<_ACEOF
13404
cat confdefs.h >>conftest.$ac_ext
13405
cat >>conftest.$ac_ext <<_ACEOF
13406
/* end confdefs.h. */
13407
$ac_includes_default
13408
#include <$ac_header>
13410
rm -f conftest.$ac_objext
13411
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13412
(eval $ac_compile) 2>conftest.er1
13414
grep -v '^ *+' conftest.er1 >conftest.err
13416
cat conftest.err >&5
13417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418
(exit $ac_status); } &&
13419
{ ac_try='test -z "$ac_c_werror_flag"
13420
|| test ! -s conftest.err'
13421
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13422
(eval $ac_try) 2>&5
13424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425
(exit $ac_status); }; } &&
13426
{ ac_try='test -s conftest.$ac_objext'
13427
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428
(eval $ac_try) 2>&5
13430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431
(exit $ac_status); }; }; then
13432
ac_header_compiler=yes
13434
echo "$as_me: failed program was:" >&5
13435
sed 's/^/| /' conftest.$ac_ext >&5
13437
ac_header_compiler=no
13439
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13440
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13441
echo "${ECHO_T}$ac_header_compiler" >&6
13443
# Is the header present?
13444
echo "$as_me:$LINENO: checking $ac_header presence" >&5
13445
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13446
cat >conftest.$ac_ext <<_ACEOF
13449
cat confdefs.h >>conftest.$ac_ext
13450
cat >>conftest.$ac_ext <<_ACEOF
13451
/* end confdefs.h. */
13452
#include <$ac_header>
13454
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13455
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13457
grep -v '^ *+' conftest.er1 >conftest.err
13459
cat conftest.err >&5
13460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461
(exit $ac_status); } >/dev/null; then
13462
if test -s conftest.err; then
13463
ac_cpp_err=$ac_c_preproc_warn_flag
13464
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13471
if test -z "$ac_cpp_err"; then
13472
ac_header_preproc=yes
13474
echo "$as_me: failed program was:" >&5
13475
sed 's/^/| /' conftest.$ac_ext >&5
13477
ac_header_preproc=no
13479
rm -f conftest.err conftest.$ac_ext
13480
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13481
echo "${ECHO_T}$ac_header_preproc" >&6
13483
# So? What about this header?
13484
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13486
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13487
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13488
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13489
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13490
ac_header_preproc=yes
13493
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13494
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13495
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13496
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13497
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13498
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13499
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13500
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13501
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13502
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13503
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13504
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13507
## ------------------------------------------ ##
13508
## Report this to the AC_PACKAGE_NAME lists. ##
13509
## ------------------------------------------ ##
13512
sed "s/^/$as_me: WARNING: /" >&2
13515
echo "$as_me:$LINENO: checking for $ac_header" >&5
13516
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13517
if eval "test \"\${$as_ac_Header+set}\" = set"; then
13518
echo $ECHO_N "(cached) $ECHO_C" >&6
13520
eval "$as_ac_Header=\$ac_header_preproc"
13522
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13523
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13526
if test `eval echo '${'$as_ac_Header'}'` = yes; then
13527
cat >>confdefs.h <<_ACEOF
13528
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13530
ap_ssltk_type="sslc"
13537
if test "$ap_ssltk_type" = "sslc"; then
13538
echo "$as_me:$LINENO: checking for SSL-C version" >&5
13539
echo $ECHO_N "checking for SSL-C version... $ECHO_C" >&6
13540
cat >conftest.$ac_ext <<_ACEOF
13543
cat confdefs.h >>conftest.$ac_ext
13544
cat >>conftest.$ac_ext <<_ACEOF
13545
/* end confdefs.h. */
13551
#if !defined(SSLC_VERSION_NUMBER)
13552
#error "Missing SSL-C version"
13554
#if SSLC_VERSION_NUMBER < 0x2310
13555
#define stringize_ver(x) #x
13556
#error "Insecure SSL-C version " stringize_ver(SSLC_VERSION_NUMBER)
13562
rm -f conftest.$ac_objext
13563
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13564
(eval $ac_compile) 2>conftest.er1
13566
grep -v '^ *+' conftest.er1 >conftest.err
13568
cat conftest.err >&5
13569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570
(exit $ac_status); } &&
13571
{ ac_try='test -z "$ac_c_werror_flag"
13572
|| test ! -s conftest.err'
13573
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574
(eval $ac_try) 2>&5
13576
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577
(exit $ac_status); }; } &&
13578
{ ac_try='test -s conftest.$ac_objext'
13579
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13580
(eval $ac_try) 2>&5
13582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583
(exit $ac_status); }; }; then
13584
echo "$as_me:$LINENO: result: OK" >&5
13585
echo "${ECHO_T}OK" >&6
13587
echo "$as_me: failed program was:" >&5
13588
sed 's/^/| /' conftest.$ac_ext >&5
13590
echo "$as_me:$LINENO: result: not encouraging" >&5
13591
echo "${ECHO_T}not encouraging" >&6
13592
echo "WARNING: SSL-C version may contain security vulnerabilities!"
13593
echo " Ensure the latest security patches have been applied!"
13596
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13598
echo "$as_me:$LINENO: result: no SSL-C headers found" >&5
13599
echo "${ECHO_T}no SSL-C headers found" >&6
13602
CPPFLAGS=$saved_CPPFLAGS
13603
if test "x$ap_ssltk_type" = "x"; then
13604
{ { echo "$as_me:$LINENO: error: ...No recognized SSL/TLS toolkit detected" >&5
13605
echo "$as_me: error: ...No recognized SSL/TLS toolkit detected" >&2;}
13606
{ (exit 1); exit 1; }; }
13609
saved_LDFLAGS=$LDFLAGS
13611
if test "x$ap_ssltk_base" != "x"; then
13612
if test -d "$ap_ssltk_base/lib"; then
13613
ap_ssltk_lib="$ap_ssltk_base/lib"
13615
ap_ssltk_lib="$ap_ssltk_base"
13617
LDFLAGS="$LDFLAGS -L$ap_ssltk_lib"
13619
LIBS="$LIBS `$apr_config --libs`"
13621
if test "$ap_ssltk_type" = "openssl"; then
13623
echo "$as_me:$LINENO: checking for SSLeay_version in -lcrypto" >&5
13624
echo $ECHO_N "checking for SSLeay_version in -lcrypto... $ECHO_C" >&6
13625
if test "${ac_cv_lib_crypto_SSLeay_version+set}" = set; then
13626
echo $ECHO_N "(cached) $ECHO_C" >&6
13628
ac_check_lib_save_LIBS=$LIBS
13629
LIBS="-lcrypto $LIBS"
13630
cat >conftest.$ac_ext <<_ACEOF
13633
cat confdefs.h >>conftest.$ac_ext
13634
cat >>conftest.$ac_ext <<_ACEOF
13635
/* end confdefs.h. */
13637
/* Override any gcc2 internal prototype to avoid an error. */
13641
/* We use char because int might match the return type of a gcc2
13642
builtin and then its argument prototype would still apply. */
13643
char SSLeay_version ();
13652
rm -f conftest.$ac_objext conftest$ac_exeext
13653
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13654
(eval $ac_link) 2>conftest.er1
13656
grep -v '^ *+' conftest.er1 >conftest.err
13658
cat conftest.err >&5
13659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660
(exit $ac_status); } &&
13661
{ ac_try='test -z "$ac_c_werror_flag"
13662
|| test ! -s conftest.err'
13663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664
(eval $ac_try) 2>&5
13666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667
(exit $ac_status); }; } &&
13668
{ ac_try='test -s conftest$ac_exeext'
13669
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670
(eval $ac_try) 2>&5
13672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673
(exit $ac_status); }; }; then
13674
ac_cv_lib_crypto_SSLeay_version=yes
13676
echo "$as_me: failed program was:" >&5
13677
sed 's/^/| /' conftest.$ac_ext >&5
13679
ac_cv_lib_crypto_SSLeay_version=no
13681
rm -f conftest.err conftest.$ac_objext \
13682
conftest$ac_exeext conftest.$ac_ext
13683
LIBS=$ac_check_lib_save_LIBS
13685
echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SSLeay_version" >&5
13686
echo "${ECHO_T}$ac_cv_lib_crypto_SSLeay_version" >&6
13687
if test $ac_cv_lib_crypto_SSLeay_version = yes; then
13688
cat >>confdefs.h <<_ACEOF
13689
#define HAVE_LIBCRYPTO 1
13692
LIBS="-lcrypto $LIBS"
13699
echo "$as_me:$LINENO: checking for SSL_CTX_new in -lssl" >&5
13700
echo $ECHO_N "checking for SSL_CTX_new in -lssl... $ECHO_C" >&6
13701
if test "${ac_cv_lib_ssl_SSL_CTX_new+set}" = set; then
13702
echo $ECHO_N "(cached) $ECHO_C" >&6
13704
ac_check_lib_save_LIBS=$LIBS
13706
cat >conftest.$ac_ext <<_ACEOF
13709
cat confdefs.h >>conftest.$ac_ext
13710
cat >>conftest.$ac_ext <<_ACEOF
13711
/* end confdefs.h. */
13713
/* Override any gcc2 internal prototype to avoid an error. */
13717
/* We use char because int might match the return type of a gcc2
13718
builtin and then its argument prototype would still apply. */
13719
char SSL_CTX_new ();
13728
rm -f conftest.$ac_objext conftest$ac_exeext
13729
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13730
(eval $ac_link) 2>conftest.er1
13732
grep -v '^ *+' conftest.er1 >conftest.err
13734
cat conftest.err >&5
13735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736
(exit $ac_status); } &&
13737
{ ac_try='test -z "$ac_c_werror_flag"
13738
|| test ! -s conftest.err'
13739
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740
(eval $ac_try) 2>&5
13742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743
(exit $ac_status); }; } &&
13744
{ ac_try='test -s conftest$ac_exeext'
13745
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746
(eval $ac_try) 2>&5
13748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749
(exit $ac_status); }; }; then
13750
ac_cv_lib_ssl_SSL_CTX_new=yes
13752
echo "$as_me: failed program was:" >&5
13753
sed 's/^/| /' conftest.$ac_ext >&5
13755
ac_cv_lib_ssl_SSL_CTX_new=no
13757
rm -f conftest.err conftest.$ac_objext \
13758
conftest$ac_exeext conftest.$ac_ext
13759
LIBS=$ac_check_lib_save_LIBS
13761
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
13762
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_CTX_new" >&6
13763
if test $ac_cv_lib_ssl_SSL_CTX_new = yes; then
13764
cat >>confdefs.h <<_ACEOF
13765
#define HAVE_LIBSSL 1
13775
for ac_func in ENGINE_init
13777
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13778
echo "$as_me:$LINENO: checking for $ac_func" >&5
13779
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13780
if eval "test \"\${$as_ac_var+set}\" = set"; then
13781
echo $ECHO_N "(cached) $ECHO_C" >&6
13783
cat >conftest.$ac_ext <<_ACEOF
13786
cat confdefs.h >>conftest.$ac_ext
13787
cat >>conftest.$ac_ext <<_ACEOF
13788
/* end confdefs.h. */
13789
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13790
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13791
#define $ac_func innocuous_$ac_func
13793
/* System header to define __stub macros and hopefully few prototypes,
13794
which can conflict with char $ac_func (); below.
13795
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796
<limits.h> exists even on freestanding compilers. */
13799
# include <limits.h>
13801
# include <assert.h>
13806
/* Override any gcc2 internal prototype to avoid an error. */
13811
/* We use char because int might match the return type of a gcc2
13812
builtin and then its argument prototype would still apply. */
13814
/* The GNU C library defines this for functions which it implements
13815
to always fail with ENOSYS. Some functions are actually named
13816
something starting with __ and the normal name is an alias. */
13817
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13820
char (*f) () = $ac_func;
13829
return f != $ac_func;
13834
rm -f conftest.$ac_objext conftest$ac_exeext
13835
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13836
(eval $ac_link) 2>conftest.er1
13838
grep -v '^ *+' conftest.er1 >conftest.err
13840
cat conftest.err >&5
13841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842
(exit $ac_status); } &&
13843
{ ac_try='test -z "$ac_c_werror_flag"
13844
|| test ! -s conftest.err'
13845
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846
(eval $ac_try) 2>&5
13848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849
(exit $ac_status); }; } &&
13850
{ ac_try='test -s conftest$ac_exeext'
13851
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852
(eval $ac_try) 2>&5
13854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855
(exit $ac_status); }; }; then
13856
eval "$as_ac_var=yes"
13858
echo "$as_me: failed program was:" >&5
13859
sed 's/^/| /' conftest.$ac_ext >&5
13861
eval "$as_ac_var=no"
13863
rm -f conftest.err conftest.$ac_objext \
13864
conftest$ac_exeext conftest.$ac_ext
13866
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13867
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13868
if test `eval echo '${'$as_ac_var'}'` = yes; then
13869
cat >>confdefs.h <<_ACEOF
13870
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13877
for ac_func in ENGINE_load_builtin_engines
13879
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13880
echo "$as_me:$LINENO: checking for $ac_func" >&5
13881
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13882
if eval "test \"\${$as_ac_var+set}\" = set"; then
13883
echo $ECHO_N "(cached) $ECHO_C" >&6
13885
cat >conftest.$ac_ext <<_ACEOF
13888
cat confdefs.h >>conftest.$ac_ext
13889
cat >>conftest.$ac_ext <<_ACEOF
13890
/* end confdefs.h. */
13891
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13892
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13893
#define $ac_func innocuous_$ac_func
13895
/* System header to define __stub macros and hopefully few prototypes,
13896
which can conflict with char $ac_func (); below.
13897
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13898
<limits.h> exists even on freestanding compilers. */
13901
# include <limits.h>
13903
# include <assert.h>
13908
/* Override any gcc2 internal prototype to avoid an error. */
13913
/* We use char because int might match the return type of a gcc2
13914
builtin and then its argument prototype would still apply. */
13916
/* The GNU C library defines this for functions which it implements
13917
to always fail with ENOSYS. Some functions are actually named
13918
something starting with __ and the normal name is an alias. */
13919
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13922
char (*f) () = $ac_func;
13931
return f != $ac_func;
13936
rm -f conftest.$ac_objext conftest$ac_exeext
13937
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13938
(eval $ac_link) 2>conftest.er1
13940
grep -v '^ *+' conftest.er1 >conftest.err
13942
cat conftest.err >&5
13943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944
(exit $ac_status); } &&
13945
{ ac_try='test -z "$ac_c_werror_flag"
13946
|| test ! -s conftest.err'
13947
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948
(eval $ac_try) 2>&5
13950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951
(exit $ac_status); }; } &&
13952
{ ac_try='test -s conftest$ac_exeext'
13953
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954
(eval $ac_try) 2>&5
13956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957
(exit $ac_status); }; }; then
13958
eval "$as_ac_var=yes"
13960
echo "$as_me: failed program was:" >&5
13961
sed 's/^/| /' conftest.$ac_ext >&5
13963
eval "$as_ac_var=no"
13965
rm -f conftest.err conftest.$ac_objext \
13966
conftest$ac_exeext conftest.$ac_ext
13968
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13969
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13970
if test `eval echo '${'$as_ac_var'}'` = yes; then
13971
cat >>confdefs.h <<_ACEOF
13972
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13980
echo "$as_me:$LINENO: checking for SSLC_library_version in -lsslc" >&5
13981
echo $ECHO_N "checking for SSLC_library_version in -lsslc... $ECHO_C" >&6
13982
if test "${ac_cv_lib_sslc_SSLC_library_version+set}" = set; then
13983
echo $ECHO_N "(cached) $ECHO_C" >&6
13985
ac_check_lib_save_LIBS=$LIBS
13986
LIBS="-lsslc $LIBS"
13987
cat >conftest.$ac_ext <<_ACEOF
13990
cat confdefs.h >>conftest.$ac_ext
13991
cat >>conftest.$ac_ext <<_ACEOF
13992
/* end confdefs.h. */
13994
/* Override any gcc2 internal prototype to avoid an error. */
13998
/* We use char because int might match the return type of a gcc2
13999
builtin and then its argument prototype would still apply. */
14000
char SSLC_library_version ();
14004
SSLC_library_version ();
14009
rm -f conftest.$ac_objext conftest$ac_exeext
14010
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14011
(eval $ac_link) 2>conftest.er1
14013
grep -v '^ *+' conftest.er1 >conftest.err
14015
cat conftest.err >&5
14016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017
(exit $ac_status); } &&
14018
{ ac_try='test -z "$ac_c_werror_flag"
14019
|| test ! -s conftest.err'
14020
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021
(eval $ac_try) 2>&5
14023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024
(exit $ac_status); }; } &&
14025
{ ac_try='test -s conftest$ac_exeext'
14026
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027
(eval $ac_try) 2>&5
14029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030
(exit $ac_status); }; }; then
14031
ac_cv_lib_sslc_SSLC_library_version=yes
14033
echo "$as_me: failed program was:" >&5
14034
sed 's/^/| /' conftest.$ac_ext >&5
14036
ac_cv_lib_sslc_SSLC_library_version=no
14038
rm -f conftest.err conftest.$ac_objext \
14039
conftest$ac_exeext conftest.$ac_ext
14040
LIBS=$ac_check_lib_save_LIBS
14042
echo "$as_me:$LINENO: result: $ac_cv_lib_sslc_SSLC_library_version" >&5
14043
echo "${ECHO_T}$ac_cv_lib_sslc_SSLC_library_version" >&6
14044
if test $ac_cv_lib_sslc_SSLC_library_version = yes; then
14045
cat >>confdefs.h <<_ACEOF
14046
#define HAVE_LIBSSLC 1
14049
LIBS="-lsslc $LIBS"
14056
echo "$as_me:$LINENO: checking for SSL_CTX_new in -lsslc" >&5
14057
echo $ECHO_N "checking for SSL_CTX_new in -lsslc... $ECHO_C" >&6
14058
if test "${ac_cv_lib_sslc_SSL_CTX_new+set}" = set; then
14059
echo $ECHO_N "(cached) $ECHO_C" >&6
14061
ac_check_lib_save_LIBS=$LIBS
14062
LIBS="-lsslc $LIBS"
14063
cat >conftest.$ac_ext <<_ACEOF
14066
cat confdefs.h >>conftest.$ac_ext
14067
cat >>conftest.$ac_ext <<_ACEOF
14068
/* end confdefs.h. */
14070
/* Override any gcc2 internal prototype to avoid an error. */
14074
/* We use char because int might match the return type of a gcc2
14075
builtin and then its argument prototype would still apply. */
14076
char SSL_CTX_new ();
14085
rm -f conftest.$ac_objext conftest$ac_exeext
14086
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14087
(eval $ac_link) 2>conftest.er1
14089
grep -v '^ *+' conftest.er1 >conftest.err
14091
cat conftest.err >&5
14092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093
(exit $ac_status); } &&
14094
{ ac_try='test -z "$ac_c_werror_flag"
14095
|| test ! -s conftest.err'
14096
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14097
(eval $ac_try) 2>&5
14099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100
(exit $ac_status); }; } &&
14101
{ ac_try='test -s conftest$ac_exeext'
14102
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103
(eval $ac_try) 2>&5
14105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106
(exit $ac_status); }; }; then
14107
ac_cv_lib_sslc_SSL_CTX_new=yes
14109
echo "$as_me: failed program was:" >&5
14110
sed 's/^/| /' conftest.$ac_ext >&5
14112
ac_cv_lib_sslc_SSL_CTX_new=no
14114
rm -f conftest.err conftest.$ac_objext \
14115
conftest$ac_exeext conftest.$ac_ext
14116
LIBS=$ac_check_lib_save_LIBS
14118
echo "$as_me:$LINENO: result: $ac_cv_lib_sslc_SSL_CTX_new" >&5
14119
echo "${ECHO_T}$ac_cv_lib_sslc_SSL_CTX_new" >&6
14120
if test $ac_cv_lib_sslc_SSL_CTX_new = yes; then
14121
cat >>confdefs.h <<_ACEOF
14122
#define HAVE_LIBSSLC 1
14125
LIBS="-lsslc $LIBS"
14132
for ac_func in SSL_set_state
14134
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14135
echo "$as_me:$LINENO: checking for $ac_func" >&5
14136
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14137
if eval "test \"\${$as_ac_var+set}\" = set"; then
14138
echo $ECHO_N "(cached) $ECHO_C" >&6
14140
cat >conftest.$ac_ext <<_ACEOF
14143
cat confdefs.h >>conftest.$ac_ext
14144
cat >>conftest.$ac_ext <<_ACEOF
14145
/* end confdefs.h. */
14146
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14147
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14148
#define $ac_func innocuous_$ac_func
14150
/* System header to define __stub macros and hopefully few prototypes,
14151
which can conflict with char $ac_func (); below.
14152
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14153
<limits.h> exists even on freestanding compilers. */
14156
# include <limits.h>
14158
# include <assert.h>
14163
/* Override any gcc2 internal prototype to avoid an error. */
14168
/* We use char because int might match the return type of a gcc2
14169
builtin and then its argument prototype would still apply. */
14171
/* The GNU C library defines this for functions which it implements
14172
to always fail with ENOSYS. Some functions are actually named
14173
something starting with __ and the normal name is an alias. */
14174
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14177
char (*f) () = $ac_func;
14186
return f != $ac_func;
14191
rm -f conftest.$ac_objext conftest$ac_exeext
14192
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14193
(eval $ac_link) 2>conftest.er1
14195
grep -v '^ *+' conftest.er1 >conftest.err
14197
cat conftest.err >&5
14198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199
(exit $ac_status); } &&
14200
{ ac_try='test -z "$ac_c_werror_flag"
14201
|| test ! -s conftest.err'
14202
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203
(eval $ac_try) 2>&5
14205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206
(exit $ac_status); }; } &&
14207
{ ac_try='test -s conftest$ac_exeext'
14208
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209
(eval $ac_try) 2>&5
14211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212
(exit $ac_status); }; }; then
14213
eval "$as_ac_var=yes"
14215
echo "$as_me: failed program was:" >&5
14216
sed 's/^/| /' conftest.$ac_ext >&5
14218
eval "$as_ac_var=no"
14220
rm -f conftest.err conftest.$ac_objext \
14221
conftest$ac_exeext conftest.$ac_ext
14223
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14224
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14225
if test `eval echo '${'$as_ac_var'}'` = yes; then
14226
cat >>confdefs.h <<_ACEOF
14227
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14235
for ac_func in SSL_set_cert_store
14237
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14238
echo "$as_me:$LINENO: checking for $ac_func" >&5
14239
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14240
if eval "test \"\${$as_ac_var+set}\" = set"; then
14241
echo $ECHO_N "(cached) $ECHO_C" >&6
14243
cat >conftest.$ac_ext <<_ACEOF
14246
cat confdefs.h >>conftest.$ac_ext
14247
cat >>conftest.$ac_ext <<_ACEOF
14248
/* end confdefs.h. */
14249
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14250
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14251
#define $ac_func innocuous_$ac_func
14253
/* System header to define __stub macros and hopefully few prototypes,
14254
which can conflict with char $ac_func (); below.
14255
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14256
<limits.h> exists even on freestanding compilers. */
14259
# include <limits.h>
14261
# include <assert.h>
14266
/* Override any gcc2 internal prototype to avoid an error. */
14271
/* We use char because int might match the return type of a gcc2
14272
builtin and then its argument prototype would still apply. */
14274
/* The GNU C library defines this for functions which it implements
14275
to always fail with ENOSYS. Some functions are actually named
14276
something starting with __ and the normal name is an alias. */
14277
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14280
char (*f) () = $ac_func;
14289
return f != $ac_func;
14294
rm -f conftest.$ac_objext conftest$ac_exeext
14295
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14296
(eval $ac_link) 2>conftest.er1
14298
grep -v '^ *+' conftest.er1 >conftest.err
14300
cat conftest.err >&5
14301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302
(exit $ac_status); } &&
14303
{ ac_try='test -z "$ac_c_werror_flag"
14304
|| test ! -s conftest.err'
14305
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14306
(eval $ac_try) 2>&5
14308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309
(exit $ac_status); }; } &&
14310
{ ac_try='test -s conftest$ac_exeext'
14311
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312
(eval $ac_try) 2>&5
14314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315
(exit $ac_status); }; }; then
14316
eval "$as_ac_var=yes"
14318
echo "$as_me: failed program was:" >&5
14319
sed 's/^/| /' conftest.$ac_ext >&5
14321
eval "$as_ac_var=no"
14323
rm -f conftest.err conftest.$ac_objext \
14324
conftest$ac_exeext conftest.$ac_ext
14326
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14327
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14328
if test `eval echo '${'$as_ac_var'}'` = yes; then
14329
cat >>confdefs.h <<_ACEOF
14330
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14336
LDFLAGS=$saved_LDFLAGS
14338
if test "x$liberrors" != "x"; then
14339
{ { echo "$as_me:$LINENO: error: ... Error, SSL/TLS libraries were missing or unusable" >&5
14340
echo "$as_me: error: ... Error, SSL/TLS libraries were missing or unusable" >&2;}
14341
{ (exit 1); exit 1; }; }
14344
if test "$ap_ssltk_type" = "openssl"; then
14346
cat >>confdefs.h <<\_ACEOF
14347
#define HAVE_OPENSSL 1
14352
cat >>confdefs.h <<\_ACEOF
14353
#define HAVE_SSLC 1
14357
if test "x$ap_ssltk_inc" != "x"; then
14359
if test "x$INCLUDES" = "x"; then
14360
test "x$silent" != "xyes" && echo " setting INCLUDES to \"$ap_ssltk_inc\""
14361
INCLUDES="$ap_ssltk_inc"
14363
apr_addto_bugger="$ap_ssltk_inc"
14364
for i in $apr_addto_bugger; do
14365
apr_addto_duplicate="0"
14366
for j in $INCLUDES; do
14367
if test "x$i" = "x$j"; then
14368
apr_addto_duplicate="1"
14372
if test $apr_addto_duplicate = "0"; then
14373
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
14374
INCLUDES="$INCLUDES $i"
14380
if test "x$ap_ssltk_lib" != "x"; then
14382
if test "x$LDFLAGS" = "x"; then
14383
test "x$silent" != "xyes" && echo " setting LDFLAGS to \""-L$ap_ssltk_lib"\""
14384
LDFLAGS=""-L$ap_ssltk_lib""
14386
apr_addto_bugger=""-L$ap_ssltk_lib""
14387
for i in $apr_addto_bugger; do
14388
apr_addto_duplicate="0"
14389
for j in $LDFLAGS; do
14390
if test "x$i" = "x$j"; then
14391
apr_addto_duplicate="1"
14395
if test $apr_addto_duplicate = "0"; then
14396
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
14397
LDFLAGS="$LDFLAGS $i"
14402
if test "x$ap_platform_runtime_link_flag" != "x"; then
14404
if test "x$LDFLAGS" = "x"; then
14405
test "x$silent" != "xyes" && echo " setting LDFLAGS to \""$ap_platform_runtime_link_flag$ap_ssltk_lib"\""
14406
LDFLAGS=""$ap_platform_runtime_link_flag$ap_ssltk_lib""
14408
apr_addto_bugger=""$ap_platform_runtime_link_flag$ap_ssltk_lib""
14409
for i in $apr_addto_bugger; do
14410
apr_addto_duplicate="0"
14411
for j in $LDFLAGS; do
14412
if test "x$i" = "x$j"; then
14413
apr_addto_duplicate="1"
14417
if test $apr_addto_duplicate = "0"; then
14418
test "x$silent" != "xyes" && echo " adding \"$i\" to LDFLAGS"
14419
LDFLAGS="$LDFLAGS $i"
14426
# Put SSL libraries in SSL_LIBS.
14427
if test "$ap_ssltk_type" = "openssl"; then
14429
test "x$silent" != "xyes" && echo " forcing SSL_LIBS to \"-lssl -lcrypto\""
14430
SSL_LIBS="-lssl -lcrypto"
14432
if test -n "$PKGCONFIG"; then
14434
if test $? -eq 0; then
14435
ap_ssltk_libdep=`$PKGCONFIG --libs openssl`
14437
if test "x$SSL_LIBS" = "x"; then
14438
test "x$silent" != "xyes" && echo " setting SSL_LIBS to \"$ap_ssltk_libdep\""
14439
SSL_LIBS="$ap_ssltk_libdep"
14441
apr_addto_bugger="$ap_ssltk_libdep"
14442
for i in $apr_addto_bugger; do
14443
apr_addto_duplicate="0"
14444
for j in $SSL_LIBS; do
14445
if test "x$i" = "x$j"; then
14446
apr_addto_duplicate="1"
14450
if test $apr_addto_duplicate = "0"; then
14451
test "x$silent" != "xyes" && echo " adding \"$i\" to SSL_LIBS"
14452
SSL_LIBS="$SSL_LIBS $i"
14461
test "x$silent" != "xyes" && echo " forcing SSL_LIBS to \"-lsslc\""
14466
APACHE_VAR_SUBST="$APACHE_VAR_SUBST SSL_LIBS"
14472
test "x$silent" != "xyes" && echo " forcing MOD_SSL_LDADD to \"\$(SSL_LIBS)\""
14473
MOD_SSL_LDADD="\$(SSL_LIBS)"
14476
echo "$as_me:$LINENO: checking whether Distcache is required" >&5
14477
echo $ECHO_N "checking whether Distcache is required... $ECHO_C" >&6
14481
# Check whether --enable-distcache or --disable-distcache was given.
14482
if test "${enable_distcache+set}" = set; then
14483
enableval="$enable_distcache"
14484
ap_ssltk_dc="$enableval"
14487
if test "x$ap_ssltk_dc" = "x"; then
14491
if test "$ap_ssltk_dc" != "yes" -a "$ap_ssltk_dc" != "no"; then
14492
tmp_nomessage="--enable-distcache had illegal syntax - disabling"
14496
if test "$tmp_forced" = "no"; then
14497
echo "$as_me:$LINENO: result: $ap_ssltk_dc (default)" >&5
14498
echo "${ECHO_T}$ap_ssltk_dc (default)" >&6
14500
echo "$as_me:$LINENO: result: $ap_ssltk_dc (specified)" >&5
14501
echo "${ECHO_T}$ap_ssltk_dc (specified)" >&6
14503
if test "$tmp_forced" = "yes" -a "x$ap_ssltk_dc" = "xno" -a "x$tmp_nomessage" != "x"; then
14504
{ { echo "$as_me:$LINENO: error: distcache support failed: $tmp_nomessage" >&5
14505
echo "$as_me: error: distcache support failed: $tmp_nomessage" >&2;}
14506
{ (exit 1); exit 1; }; }
14508
if test "$ap_ssltk_dc" = "yes"; then
14509
if test "${ac_cv_header_distcache_dc_client_h+set}" = set; then
14510
echo "$as_me:$LINENO: checking for distcache/dc_client.h" >&5
14511
echo $ECHO_N "checking for distcache/dc_client.h... $ECHO_C" >&6
14512
if test "${ac_cv_header_distcache_dc_client_h+set}" = set; then
14513
echo $ECHO_N "(cached) $ECHO_C" >&6
14515
echo "$as_me:$LINENO: result: $ac_cv_header_distcache_dc_client_h" >&5
14516
echo "${ECHO_T}$ac_cv_header_distcache_dc_client_h" >&6
14518
# Is the header compilable?
14519
echo "$as_me:$LINENO: checking distcache/dc_client.h usability" >&5
14520
echo $ECHO_N "checking distcache/dc_client.h usability... $ECHO_C" >&6
14521
cat >conftest.$ac_ext <<_ACEOF
14524
cat confdefs.h >>conftest.$ac_ext
14525
cat >>conftest.$ac_ext <<_ACEOF
14526
/* end confdefs.h. */
14527
$ac_includes_default
14528
#include <distcache/dc_client.h>
14530
rm -f conftest.$ac_objext
14531
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14532
(eval $ac_compile) 2>conftest.er1
14534
grep -v '^ *+' conftest.er1 >conftest.err
14536
cat conftest.err >&5
14537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538
(exit $ac_status); } &&
14539
{ ac_try='test -z "$ac_c_werror_flag"
14540
|| test ! -s conftest.err'
14541
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542
(eval $ac_try) 2>&5
14544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545
(exit $ac_status); }; } &&
14546
{ ac_try='test -s conftest.$ac_objext'
14547
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548
(eval $ac_try) 2>&5
14550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551
(exit $ac_status); }; }; then
14552
ac_header_compiler=yes
14554
echo "$as_me: failed program was:" >&5
14555
sed 's/^/| /' conftest.$ac_ext >&5
14557
ac_header_compiler=no
14559
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14560
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14561
echo "${ECHO_T}$ac_header_compiler" >&6
14563
# Is the header present?
14564
echo "$as_me:$LINENO: checking distcache/dc_client.h presence" >&5
14565
echo $ECHO_N "checking distcache/dc_client.h presence... $ECHO_C" >&6
14566
cat >conftest.$ac_ext <<_ACEOF
14569
cat confdefs.h >>conftest.$ac_ext
14570
cat >>conftest.$ac_ext <<_ACEOF
14571
/* end confdefs.h. */
14572
#include <distcache/dc_client.h>
14574
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14575
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14577
grep -v '^ *+' conftest.er1 >conftest.err
14579
cat conftest.err >&5
14580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581
(exit $ac_status); } >/dev/null; then
14582
if test -s conftest.err; then
14583
ac_cpp_err=$ac_c_preproc_warn_flag
14584
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14591
if test -z "$ac_cpp_err"; then
14592
ac_header_preproc=yes
14594
echo "$as_me: failed program was:" >&5
14595
sed 's/^/| /' conftest.$ac_ext >&5
14597
ac_header_preproc=no
14599
rm -f conftest.err conftest.$ac_ext
14600
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14601
echo "${ECHO_T}$ac_header_preproc" >&6
14603
# So? What about this header?
14604
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14606
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
14607
echo "$as_me: WARNING: distcache/dc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14608
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: proceeding with the compiler's result" >&5
14609
echo "$as_me: WARNING: distcache/dc_client.h: proceeding with the compiler's result" >&2;}
14610
ac_header_preproc=yes
14613
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: present but cannot be compiled" >&5
14614
echo "$as_me: WARNING: distcache/dc_client.h: present but cannot be compiled" >&2;}
14615
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: check for missing prerequisite headers?" >&5
14616
echo "$as_me: WARNING: distcache/dc_client.h: check for missing prerequisite headers?" >&2;}
14617
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: see the Autoconf documentation" >&5
14618
echo "$as_me: WARNING: distcache/dc_client.h: see the Autoconf documentation" >&2;}
14619
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: section \"Present But Cannot Be Compiled\"" >&5
14620
echo "$as_me: WARNING: distcache/dc_client.h: section \"Present But Cannot Be Compiled\"" >&2;}
14621
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: proceeding with the preprocessor's result" >&5
14622
echo "$as_me: WARNING: distcache/dc_client.h: proceeding with the preprocessor's result" >&2;}
14623
{ echo "$as_me:$LINENO: WARNING: distcache/dc_client.h: in the future, the compiler will take precedence" >&5
14624
echo "$as_me: WARNING: distcache/dc_client.h: in the future, the compiler will take precedence" >&2;}
14627
## ------------------------------------------ ##
14628
## Report this to the AC_PACKAGE_NAME lists. ##
14629
## ------------------------------------------ ##
14632
sed "s/^/$as_me: WARNING: /" >&2
14635
echo "$as_me:$LINENO: checking for distcache/dc_client.h" >&5
14636
echo $ECHO_N "checking for distcache/dc_client.h... $ECHO_C" >&6
14637
if test "${ac_cv_header_distcache_dc_client_h+set}" = set; then
14638
echo $ECHO_N "(cached) $ECHO_C" >&6
14640
ac_cv_header_distcache_dc_client_h=$ac_header_preproc
14642
echo "$as_me:$LINENO: result: $ac_cv_header_distcache_dc_client_h" >&5
14643
echo "${ECHO_T}$ac_cv_header_distcache_dc_client_h" >&6
14646
if test $ac_cv_header_distcache_dc_client_h = yes; then
14649
tmp_nomessage="can't include distcache headers"
14654
if test "$tmp_forced" = "yes" -a "x$ap_ssltk_dc" = "xno"; then
14655
{ { echo "$as_me:$LINENO: error: distcache support failed: $tmp_nomessage" >&5
14656
echo "$as_me: error: distcache support failed: $tmp_nomessage" >&2;}
14657
{ (exit 1); exit 1; }; }
14660
if test "$ap_ssltk_dc" = "yes"; then
14661
echo "$as_me:$LINENO: checking for Distcache version" >&5
14662
echo $ECHO_N "checking for Distcache version... $ECHO_C" >&6
14663
cat >conftest.$ac_ext <<_ACEOF
14666
cat confdefs.h >>conftest.$ac_ext
14667
cat >>conftest.$ac_ext <<_ACEOF
14668
/* end confdefs.h. */
14669
#include <distcache/dc_client.h>
14673
#if DISTCACHE_CLIENT_API != 0x0001
14674
#error "distcache API version is unrecognised"
14680
rm -f conftest.$ac_objext
14681
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14682
(eval $ac_compile) 2>conftest.er1
14684
grep -v '^ *+' conftest.er1 >conftest.err
14686
cat conftest.err >&5
14687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688
(exit $ac_status); } &&
14689
{ ac_try='test -z "$ac_c_werror_flag"
14690
|| test ! -s conftest.err'
14691
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692
(eval $ac_try) 2>&5
14694
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695
(exit $ac_status); }; } &&
14696
{ ac_try='test -s conftest.$ac_objext'
14697
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698
(eval $ac_try) 2>&5
14700
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701
(exit $ac_status); }; }; then
14704
echo "$as_me: failed program was:" >&5
14705
sed 's/^/| /' conftest.$ac_ext >&5
14707
tmp_nomessage="distcache has an unsupported API version"
14710
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14711
echo "$as_me:$LINENO: result: $ap_ssltk_dc" >&5
14712
echo "${ECHO_T}$ap_ssltk_dc" >&6
14713
if test "$tmp_forced" = "yes" -a "x$ap_ssltk_dc" = "xno"; then
14714
{ { echo "$as_me:$LINENO: error: distcache support failed: $tmp_nomessage" >&5
14715
echo "$as_me: error: distcache support failed: $tmp_nomessage" >&2;}
14716
{ (exit 1); exit 1; }; }
14719
if test "$ap_ssltk_dc" = "yes"; then
14720
echo "$as_me:$LINENO: checking for Distcache libraries" >&5
14721
echo $ECHO_N "checking for Distcache libraries... $ECHO_C" >&6
14723
LIBS="$LIBS -ldistcache -lnal"
14724
cat >conftest.$ac_ext <<_ACEOF
14727
cat confdefs.h >>conftest.$ac_ext
14728
cat >>conftest.$ac_ext <<_ACEOF
14729
/* end confdefs.h. */
14730
#include <distcache/dc_client.h>
14734
DC_CTX *foo = DC_CTX_new((const char *)0,0);
14739
rm -f conftest.$ac_objext conftest$ac_exeext
14740
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14741
(eval $ac_link) 2>conftest.er1
14743
grep -v '^ *+' conftest.er1 >conftest.err
14745
cat conftest.err >&5
14746
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747
(exit $ac_status); } &&
14748
{ ac_try='test -z "$ac_c_werror_flag"
14749
|| test ! -s conftest.err'
14750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751
(eval $ac_try) 2>&5
14753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754
(exit $ac_status); }; } &&
14755
{ ac_try='test -s conftest$ac_exeext'
14756
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757
(eval $ac_try) 2>&5
14759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760
(exit $ac_status); }; }; then
14763
echo "$as_me: failed program was:" >&5
14764
sed 's/^/| /' conftest.$ac_ext >&5
14766
tmp_no_message="failed to link with distcache libraries"
14769
rm -f conftest.err conftest.$ac_objext \
14770
conftest$ac_exeext conftest.$ac_ext
14772
echo "$as_me:$LINENO: result: $ap_ssltk_dc" >&5
14773
echo "${ECHO_T}$ap_ssltk_dc" >&6
14774
if test "$tmp_forced" = "yes" -a "x$ap_ssltk_dc" = "xno"; then
14775
{ { echo "$as_me:$LINENO: error: distcache support failed: $tmp_nomessage" >&5
14776
echo "$as_me: error: distcache support failed: $tmp_nomessage" >&2;}
14777
{ (exit 1); exit 1; }; }
14780
if test "x$MOD_SSL_LDADD" = "x"; then
14781
test "x$silent" != "xyes" && echo " setting MOD_SSL_LDADD to \"-ldistcache -lnal\""
14782
MOD_SSL_LDADD="-ldistcache -lnal"
14784
apr_addto_bugger="-ldistcache -lnal"
14785
for i in $apr_addto_bugger; do
14786
apr_addto_duplicate="0"
14787
for j in $MOD_SSL_LDADD; do
14788
if test "x$i" = "x$j"; then
14789
apr_addto_duplicate="1"
14793
if test $apr_addto_duplicate = "0"; then
14794
test "x$silent" != "xyes" && echo " adding \"$i\" to MOD_SSL_LDADD"
14795
MOD_SSL_LDADD="$MOD_SSL_LDADD $i"
14801
cat >>confdefs.h <<\_ACEOF
14802
#define HAVE_DISTCACHE 1
14808
if test "x$enable_ssl" = "xshared"; then
14809
# The only symbol which needs to be exported is the module
14810
# structure, so ask libtool to hide everything else:
14812
if test "x$MOD_SSL_LDADD" = "x"; then
14813
test "x$silent" != "xyes" && echo " setting MOD_SSL_LDADD to \"-export-symbols-regex ssl_module\""
14814
MOD_SSL_LDADD="-export-symbols-regex ssl_module"
14816
apr_addto_bugger="-export-symbols-regex ssl_module"
14817
for i in $apr_addto_bugger; do
14818
apr_addto_duplicate="0"
14819
for j in $MOD_SSL_LDADD; do
14820
if test "x$i" = "x$j"; then
14821
apr_addto_duplicate="1"
14825
if test $apr_addto_duplicate = "0"; then
14826
test "x$silent" != "xyes" && echo " adding \"$i\" to MOD_SSL_LDADD"
14827
MOD_SSL_LDADD="$MOD_SSL_LDADD $i"
14834
echo "$as_me:$LINENO: checking whether to enable mod_ssl" >&5
14835
echo $ECHO_N "checking whether to enable mod_ssl... $ECHO_C" >&6
14836
if test "$enable_ssl" = "no"; then
14837
if test "$_apmod_error_fatal" = "no"; then
14838
_apmod_extra_msg=" (disabled)"
14840
{ { echo "$as_me:$LINENO: error: mod_ssl has been requested but can not be built due to prerequisite failures" >&5
14841
echo "$as_me: error: mod_ssl has been requested but can not be built due to prerequisite failures" >&2;}
14842
{ (exit 1); exit 1; }; }
14846
echo "$as_me:$LINENO: result: $enable_ssl$_apmod_extra_msg" >&5
14847
echo "${ECHO_T}$enable_ssl$_apmod_extra_msg" >&6
14848
if test "$enable_ssl" != "no"; then
14849
case "$enable_ssl" in
14851
enable_ssl=`echo $enable_ssl|sed 's/shared,*//'`
14854
DSO_MODULES="$DSO_MODULES ssl"
14857
MODLIST="$MODLIST ssl"
14858
if test "ssl" = "so"; then
14865
if test -z "$ssl_objs"; then
14866
objects="mod_ssl.lo"
14868
objects="$ssl_objs"
14871
if test -z "$module_standalone"; then
14872
if test -z "$shared"; then
14873
# The filename of a convenience library must have a "lib" prefix:
14874
libname="libmod_ssl.la"
14875
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
14876
modpath_static="$modpath_static $libname"
14877
cat >>$modpath_current/modules.mk<<EOF
14879
\$(MOD_LINK) $objects \$(MOD_SSL_LDADD)
14882
apache_need_shared=yes
14883
libname="mod_ssl.la"
14884
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
14885
modpath_shared="$modpath_shared $libname"
14886
cat >>$modpath_current/modules.mk<<EOF
14887
$libname: $shobjects
14888
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SSL_LDADD)
14894
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SSL_LDADD"
14901
# Ensure that other modules can pick up mod_ssl.h
14903
if test "x$INCLUDES" = "x"; then
14904
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_srcdir)/$modpath_current\""
14905
INCLUDES="-I\$(top_srcdir)/$modpath_current"
14907
apr_addto_bugger="-I\$(top_srcdir)/$modpath_current"
14908
for i in $apr_addto_bugger; do
14909
apr_addto_duplicate="0"
14910
for j in $INCLUDES; do
14911
if test "x$i" = "x$j"; then
14912
apr_addto_duplicate="1"
14916
if test $apr_addto_duplicate = "0"; then
14917
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
14918
INCLUDES="$INCLUDES $i"
14925
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
14926
echo "static = $modpath_static" >> $modpath_current/modules.mk
14927
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
14928
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
14929
MODULE_DIRS="$MODULE_DIRS $current_dir"
14931
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
14934
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
14942
modpath_current=modules/test
14945
test -d test || $srcdir/build/mkdir.sh $modpath_current
14946
> $modpath_current/modules.mk
14950
echo "$as_me:$LINENO: checking whether to enable mod_optional_hook_export" >&5
14951
echo $ECHO_N "checking whether to enable mod_optional_hook_export... $ECHO_C" >&6
14952
# Check whether --enable-optional-hook-export or --disable-optional-hook-export was given.
14953
if test "${enable_optional_hook_export+set}" = set; then
14954
enableval="$enable_optional_hook_export"
14957
enable_optional_hook_export=no
14959
_apmod_extra_msg=""
14960
if test "$module_selection" = "most" -a "$enable_optional_hook_export" = "most"; then
14961
_apmod_error_fatal="no"
14963
_apmod_error_fatal="yes"
14965
if test "$enable_optional_hook_export" = "static"; then
14966
enable_optional_hook_export=yes
14967
elif test "$enable_optional_hook_export" = "yes"; then
14968
enable_optional_hook_export=$module_default
14969
_apmod_extra_msg=" ($module_selection)"
14970
elif test "$enable_optional_hook_export" = "most"; then
14971
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
14972
enable_optional_hook_export=$module_default
14973
_apmod_extra_msg=" ($module_selection)"
14974
elif test "$enable_optional_hook_export" != "yes"; then
14975
enable_optional_hook_export=no
14977
elif test "$enable_optional_hook_export" = "maybe-all"; then
14978
if test "$module_selection" = "all"; then
14979
enable_optional_hook_export=$module_default
14980
_apmod_extra_msg=" (all)"
14982
enable_optional_hook_export=no
14985
if test "$enable_optional_hook_export" != "no"; then
14988
echo "$as_me:$LINENO: result: $enable_optional_hook_export$_apmod_extra_msg" >&5
14989
echo "${ECHO_T}$enable_optional_hook_export$_apmod_extra_msg" >&6
14990
if test "$enable_optional_hook_export" != "no"; then
14991
case "$enable_optional_hook_export" in
14993
enable_optional_hook_export=`echo $enable_optional_hook_export|sed 's/shared,*//'`
14996
DSO_MODULES="$DSO_MODULES optional_hook_export"
14999
MODLIST="$MODLIST optional_hook_export"
15000
if test "optional_hook_export" = "so"; then
15007
if test -z ""; then
15008
objects="mod_optional_hook_export.lo"
15013
if test -z "$module_standalone"; then
15014
if test -z "$shared"; then
15015
# The filename of a convenience library must have a "lib" prefix:
15016
libname="libmod_optional_hook_export.la"
15017
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
15018
modpath_static="$modpath_static $libname"
15019
cat >>$modpath_current/modules.mk<<EOF
15021
\$(MOD_LINK) $objects \$(MOD_OPTIONAL_HOOK_EXPORT_LDADD)
15024
apache_need_shared=yes
15025
libname="mod_optional_hook_export.la"
15026
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
15027
modpath_shared="$modpath_shared $libname"
15028
cat >>$modpath_current/modules.mk<<EOF
15029
$libname: $shobjects
15030
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_HOOK_EXPORT_LDADD)
15036
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_HOOK_EXPORT_LDADD"
15043
echo "$as_me:$LINENO: checking whether to enable mod_optional_hook_import" >&5
15044
echo $ECHO_N "checking whether to enable mod_optional_hook_import... $ECHO_C" >&6
15045
# Check whether --enable-optional-hook-import or --disable-optional-hook-import was given.
15046
if test "${enable_optional_hook_import+set}" = set; then
15047
enableval="$enable_optional_hook_import"
15050
enable_optional_hook_import=no
15052
_apmod_extra_msg=""
15053
if test "$module_selection" = "most" -a "$enable_optional_hook_import" = "most"; then
15054
_apmod_error_fatal="no"
15056
_apmod_error_fatal="yes"
15058
if test "$enable_optional_hook_import" = "static"; then
15059
enable_optional_hook_import=yes
15060
elif test "$enable_optional_hook_import" = "yes"; then
15061
enable_optional_hook_import=$module_default
15062
_apmod_extra_msg=" ($module_selection)"
15063
elif test "$enable_optional_hook_import" = "most"; then
15064
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
15065
enable_optional_hook_import=$module_default
15066
_apmod_extra_msg=" ($module_selection)"
15067
elif test "$enable_optional_hook_import" != "yes"; then
15068
enable_optional_hook_import=no
15070
elif test "$enable_optional_hook_import" = "maybe-all"; then
15071
if test "$module_selection" = "all"; then
15072
enable_optional_hook_import=$module_default
15073
_apmod_extra_msg=" (all)"
15075
enable_optional_hook_import=no
15078
if test "$enable_optional_hook_import" != "no"; then
15081
echo "$as_me:$LINENO: result: $enable_optional_hook_import$_apmod_extra_msg" >&5
15082
echo "${ECHO_T}$enable_optional_hook_import$_apmod_extra_msg" >&6
15083
if test "$enable_optional_hook_import" != "no"; then
15084
case "$enable_optional_hook_import" in
15086
enable_optional_hook_import=`echo $enable_optional_hook_import|sed 's/shared,*//'`
15089
DSO_MODULES="$DSO_MODULES optional_hook_import"
15092
MODLIST="$MODLIST optional_hook_import"
15093
if test "optional_hook_import" = "so"; then
15100
if test -z ""; then
15101
objects="mod_optional_hook_import.lo"
15106
if test -z "$module_standalone"; then
15107
if test -z "$shared"; then
15108
# The filename of a convenience library must have a "lib" prefix:
15109
libname="libmod_optional_hook_import.la"
15110
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
15111
modpath_static="$modpath_static $libname"
15112
cat >>$modpath_current/modules.mk<<EOF
15114
\$(MOD_LINK) $objects \$(MOD_OPTIONAL_HOOK_IMPORT_LDADD)
15117
apache_need_shared=yes
15118
libname="mod_optional_hook_import.la"
15119
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
15120
modpath_shared="$modpath_shared $libname"
15121
cat >>$modpath_current/modules.mk<<EOF
15122
$libname: $shobjects
15123
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_HOOK_IMPORT_LDADD)
15129
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_HOOK_IMPORT_LDADD"
15136
echo "$as_me:$LINENO: checking whether to enable mod_optional_fn_import" >&5
15137
echo $ECHO_N "checking whether to enable mod_optional_fn_import... $ECHO_C" >&6
15138
# Check whether --enable-optional-fn-import or --disable-optional-fn-import was given.
15139
if test "${enable_optional_fn_import+set}" = set; then
15140
enableval="$enable_optional_fn_import"
15143
enable_optional_fn_import=no
15145
_apmod_extra_msg=""
15146
if test "$module_selection" = "most" -a "$enable_optional_fn_import" = "most"; then
15147
_apmod_error_fatal="no"
15149
_apmod_error_fatal="yes"
15151
if test "$enable_optional_fn_import" = "static"; then
15152
enable_optional_fn_import=yes
15153
elif test "$enable_optional_fn_import" = "yes"; then
15154
enable_optional_fn_import=$module_default
15155
_apmod_extra_msg=" ($module_selection)"
15156
elif test "$enable_optional_fn_import" = "most"; then
15157
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
15158
enable_optional_fn_import=$module_default
15159
_apmod_extra_msg=" ($module_selection)"
15160
elif test "$enable_optional_fn_import" != "yes"; then
15161
enable_optional_fn_import=no
15163
elif test "$enable_optional_fn_import" = "maybe-all"; then
15164
if test "$module_selection" = "all"; then
15165
enable_optional_fn_import=$module_default
15166
_apmod_extra_msg=" (all)"
15168
enable_optional_fn_import=no
15171
if test "$enable_optional_fn_import" != "no"; then
15174
echo "$as_me:$LINENO: result: $enable_optional_fn_import$_apmod_extra_msg" >&5
15175
echo "${ECHO_T}$enable_optional_fn_import$_apmod_extra_msg" >&6
15176
if test "$enable_optional_fn_import" != "no"; then
15177
case "$enable_optional_fn_import" in
15179
enable_optional_fn_import=`echo $enable_optional_fn_import|sed 's/shared,*//'`
15182
DSO_MODULES="$DSO_MODULES optional_fn_import"
15185
MODLIST="$MODLIST optional_fn_import"
15186
if test "optional_fn_import" = "so"; then
15193
if test -z ""; then
15194
objects="mod_optional_fn_import.lo"
15199
if test -z "$module_standalone"; then
15200
if test -z "$shared"; then
15201
# The filename of a convenience library must have a "lib" prefix:
15202
libname="libmod_optional_fn_import.la"
15203
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
15204
modpath_static="$modpath_static $libname"
15205
cat >>$modpath_current/modules.mk<<EOF
15207
\$(MOD_LINK) $objects \$(MOD_OPTIONAL_FN_IMPORT_LDADD)
15210
apache_need_shared=yes
15211
libname="mod_optional_fn_import.la"
15212
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
15213
modpath_shared="$modpath_shared $libname"
15214
cat >>$modpath_current/modules.mk<<EOF
15215
$libname: $shobjects
15216
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_FN_IMPORT_LDADD)
15222
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_FN_IMPORT_LDADD"
15229
echo "$as_me:$LINENO: checking whether to enable mod_optional_fn_export" >&5
15230
echo $ECHO_N "checking whether to enable mod_optional_fn_export... $ECHO_C" >&6
15231
# Check whether --enable-optional-fn-export or --disable-optional-fn-export was given.
15232
if test "${enable_optional_fn_export+set}" = set; then
15233
enableval="$enable_optional_fn_export"
15236
enable_optional_fn_export=no
15238
_apmod_extra_msg=""
15239
if test "$module_selection" = "most" -a "$enable_optional_fn_export" = "most"; then
15240
_apmod_error_fatal="no"
15242
_apmod_error_fatal="yes"
15244
if test "$enable_optional_fn_export" = "static"; then
15245
enable_optional_fn_export=yes
15246
elif test "$enable_optional_fn_export" = "yes"; then
15247
enable_optional_fn_export=$module_default
15248
_apmod_extra_msg=" ($module_selection)"
15249
elif test "$enable_optional_fn_export" = "most"; then
15250
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
15251
enable_optional_fn_export=$module_default
15252
_apmod_extra_msg=" ($module_selection)"
15253
elif test "$enable_optional_fn_export" != "yes"; then
15254
enable_optional_fn_export=no
15256
elif test "$enable_optional_fn_export" = "maybe-all"; then
15257
if test "$module_selection" = "all"; then
15258
enable_optional_fn_export=$module_default
15259
_apmod_extra_msg=" (all)"
15261
enable_optional_fn_export=no
15264
if test "$enable_optional_fn_export" != "no"; then
15267
echo "$as_me:$LINENO: result: $enable_optional_fn_export$_apmod_extra_msg" >&5
15268
echo "${ECHO_T}$enable_optional_fn_export$_apmod_extra_msg" >&6
15269
if test "$enable_optional_fn_export" != "no"; then
15270
case "$enable_optional_fn_export" in
15272
enable_optional_fn_export=`echo $enable_optional_fn_export|sed 's/shared,*//'`
15275
DSO_MODULES="$DSO_MODULES optional_fn_export"
15278
MODLIST="$MODLIST optional_fn_export"
15279
if test "optional_fn_export" = "so"; then
15286
if test -z ""; then
15287
objects="mod_optional_fn_export.lo"
15292
if test -z "$module_standalone"; then
15293
if test -z "$shared"; then
15294
# The filename of a convenience library must have a "lib" prefix:
15295
libname="libmod_optional_fn_export.la"
15296
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
15297
modpath_static="$modpath_static $libname"
15298
cat >>$modpath_current/modules.mk<<EOF
15300
\$(MOD_LINK) $objects \$(MOD_OPTIONAL_FN_EXPORT_LDADD)
15303
apache_need_shared=yes
15304
libname="mod_optional_fn_export.la"
15305
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
15306
modpath_shared="$modpath_shared $libname"
15307
cat >>$modpath_current/modules.mk<<EOF
15308
$libname: $shobjects
15309
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_OPTIONAL_FN_EXPORT_LDADD)
15315
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_OPTIONAL_FN_EXPORT_LDADD"
15323
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
15324
echo "static = $modpath_static" >> $modpath_current/modules.mk
15325
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
15326
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
15327
MODULE_DIRS="$MODULE_DIRS $current_dir"
15329
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
15332
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
15336
if test "$OS" = "beos" ; then
15338
if test "x$CFLAGS" = "x"; then
15339
test "x$silent" != "xyes" && echo " setting CFLAGS to \"-DBEOS\""
15342
apr_addto_bugger="-DBEOS"
15343
for i in $apr_addto_bugger; do
15344
apr_addto_duplicate="0"
15345
for j in $CFLAGS; do
15346
if test "x$i" = "x$j"; then
15347
apr_addto_duplicate="1"
15351
if test $apr_addto_duplicate = "0"; then
15352
test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS"
15353
CFLAGS="$CFLAGS $i"
15360
echo "$as_me:$LINENO: checking for target platform" >&5
15361
echo $ECHO_N "checking for target platform... $ECHO_C" >&6
15385
echo "$as_me:$LINENO: result: $OS" >&5
15386
echo "${ECHO_T}$OS" >&6
15388
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES os/${OS_DIR}/Makefile"
15391
if test "$OS" = "os2" ; then
15393
if test "x$CFLAGS" = "x"; then
15394
test "x$silent" != "xyes" && echo " setting CFLAGS to \"-DOS2 -O2\""
15397
apr_addto_bugger="-DOS2 -O2"
15398
for i in $apr_addto_bugger; do
15399
apr_addto_duplicate="0"
15400
for j in $CFLAGS; do
15401
if test "x$i" = "x$j"; then
15402
apr_addto_duplicate="1"
15406
if test $apr_addto_duplicate = "0"; then
15407
test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS"
15408
CFLAGS="$CFLAGS $i"
15415
if test "$OS" = "unix" ; then
15417
echo "$as_me:$LINENO: checking for rlim_t" >&5
15418
echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
15419
if test "${ac_cv_type_rlim_t+set}" = set; then
15420
echo $ECHO_N "(cached) $ECHO_C" >&6
15423
cat >conftest.$ac_ext <<_ACEOF
15426
cat confdefs.h >>conftest.$ac_ext
15427
cat >>conftest.$ac_ext <<_ACEOF
15428
/* end confdefs.h. */
15430
#include <sys/types.h>
15431
#include <sys/time.h>
15432
#include <sys/resource.h>
15442
rm -f conftest.$ac_objext
15443
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15444
(eval $ac_compile) 2>conftest.er1
15446
grep -v '^ *+' conftest.er1 >conftest.err
15448
cat conftest.err >&5
15449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450
(exit $ac_status); } &&
15451
{ ac_try='test -z "$ac_c_werror_flag"
15452
|| test ! -s conftest.err'
15453
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454
(eval $ac_try) 2>&5
15456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457
(exit $ac_status); }; } &&
15458
{ ac_try='test -s conftest.$ac_objext'
15459
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460
(eval $ac_try) 2>&5
15462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463
(exit $ac_status); }; }; then
15465
ac_cv_type_rlim_t=yes
15468
echo "$as_me: failed program was:" >&5
15469
sed 's/^/| /' conftest.$ac_ext >&5
15471
ac_cv_type_rlim_t=no
15474
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15477
echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
15478
echo "${ECHO_T}$ac_cv_type_rlim_t" >&6
15479
if test "$ac_cv_type_rlim_t" = "no" ; then
15481
cat >>confdefs.h <<\_ACEOF
15492
for ac_header in sys/time.h sys/resource.h sys/sem.h sys/ipc.h
15494
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15495
if eval "test \"\${$as_ac_Header+set}\" = set"; then
15496
echo "$as_me:$LINENO: checking for $ac_header" >&5
15497
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15498
if eval "test \"\${$as_ac_Header+set}\" = set"; then
15499
echo $ECHO_N "(cached) $ECHO_C" >&6
15501
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15502
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15504
# Is the header compilable?
15505
echo "$as_me:$LINENO: checking $ac_header usability" >&5
15506
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15507
cat >conftest.$ac_ext <<_ACEOF
15510
cat confdefs.h >>conftest.$ac_ext
15511
cat >>conftest.$ac_ext <<_ACEOF
15512
/* end confdefs.h. */
15513
$ac_includes_default
15514
#include <$ac_header>
15516
rm -f conftest.$ac_objext
15517
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15518
(eval $ac_compile) 2>conftest.er1
15520
grep -v '^ *+' conftest.er1 >conftest.err
15522
cat conftest.err >&5
15523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524
(exit $ac_status); } &&
15525
{ ac_try='test -z "$ac_c_werror_flag"
15526
|| test ! -s conftest.err'
15527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528
(eval $ac_try) 2>&5
15530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531
(exit $ac_status); }; } &&
15532
{ ac_try='test -s conftest.$ac_objext'
15533
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534
(eval $ac_try) 2>&5
15536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537
(exit $ac_status); }; }; then
15538
ac_header_compiler=yes
15540
echo "$as_me: failed program was:" >&5
15541
sed 's/^/| /' conftest.$ac_ext >&5
15543
ac_header_compiler=no
15545
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15546
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15547
echo "${ECHO_T}$ac_header_compiler" >&6
15549
# Is the header present?
15550
echo "$as_me:$LINENO: checking $ac_header presence" >&5
15551
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15552
cat >conftest.$ac_ext <<_ACEOF
15555
cat confdefs.h >>conftest.$ac_ext
15556
cat >>conftest.$ac_ext <<_ACEOF
15557
/* end confdefs.h. */
15558
#include <$ac_header>
15560
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15561
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15563
grep -v '^ *+' conftest.er1 >conftest.err
15565
cat conftest.err >&5
15566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567
(exit $ac_status); } >/dev/null; then
15568
if test -s conftest.err; then
15569
ac_cpp_err=$ac_c_preproc_warn_flag
15570
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15577
if test -z "$ac_cpp_err"; then
15578
ac_header_preproc=yes
15580
echo "$as_me: failed program was:" >&5
15581
sed 's/^/| /' conftest.$ac_ext >&5
15583
ac_header_preproc=no
15585
rm -f conftest.err conftest.$ac_ext
15586
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15587
echo "${ECHO_T}$ac_header_preproc" >&6
15589
# So? What about this header?
15590
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15592
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15593
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15594
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15595
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15596
ac_header_preproc=yes
15599
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15600
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15601
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15602
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15603
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15604
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15605
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15606
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15607
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15608
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15609
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15610
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15613
## ------------------------------------------ ##
15614
## Report this to the AC_PACKAGE_NAME lists. ##
15615
## ------------------------------------------ ##
15618
sed "s/^/$as_me: WARNING: /" >&2
15621
echo "$as_me:$LINENO: checking for $ac_header" >&5
15622
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15623
if eval "test \"\${$as_ac_Header+set}\" = set"; then
15624
echo $ECHO_N "(cached) $ECHO_C" >&6
15626
eval "$as_ac_Header=\$ac_header_preproc"
15628
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15629
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15632
if test `eval echo '${'$as_ac_Header'}'` = yes; then
15633
cat >>confdefs.h <<_ACEOF
15634
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15644
for ac_func in setsid killpg
15646
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15647
echo "$as_me:$LINENO: checking for $ac_func" >&5
15648
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15649
if eval "test \"\${$as_ac_var+set}\" = set"; then
15650
echo $ECHO_N "(cached) $ECHO_C" >&6
15652
cat >conftest.$ac_ext <<_ACEOF
15655
cat confdefs.h >>conftest.$ac_ext
15656
cat >>conftest.$ac_ext <<_ACEOF
15657
/* end confdefs.h. */
15658
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15659
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15660
#define $ac_func innocuous_$ac_func
15662
/* System header to define __stub macros and hopefully few prototypes,
15663
which can conflict with char $ac_func (); below.
15664
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15665
<limits.h> exists even on freestanding compilers. */
15668
# include <limits.h>
15670
# include <assert.h>
15675
/* Override any gcc2 internal prototype to avoid an error. */
15680
/* We use char because int might match the return type of a gcc2
15681
builtin and then its argument prototype would still apply. */
15683
/* The GNU C library defines this for functions which it implements
15684
to always fail with ENOSYS. Some functions are actually named
15685
something starting with __ and the normal name is an alias. */
15686
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15689
char (*f) () = $ac_func;
15698
return f != $ac_func;
15703
rm -f conftest.$ac_objext conftest$ac_exeext
15704
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705
(eval $ac_link) 2>conftest.er1
15707
grep -v '^ *+' conftest.er1 >conftest.err
15709
cat conftest.err >&5
15710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711
(exit $ac_status); } &&
15712
{ ac_try='test -z "$ac_c_werror_flag"
15713
|| test ! -s conftest.err'
15714
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715
(eval $ac_try) 2>&5
15717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718
(exit $ac_status); }; } &&
15719
{ ac_try='test -s conftest$ac_exeext'
15720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721
(eval $ac_try) 2>&5
15723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724
(exit $ac_status); }; }; then
15725
eval "$as_ac_var=yes"
15727
echo "$as_me: failed program was:" >&5
15728
sed 's/^/| /' conftest.$ac_ext >&5
15730
eval "$as_ac_var=no"
15732
rm -f conftest.err conftest.$ac_objext \
15733
conftest$ac_exeext conftest.$ac_ext
15735
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15736
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15737
if test `eval echo '${'$as_ac_var'}'` = yes; then
15738
cat >>confdefs.h <<_ACEOF
15739
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15751
for ac_header in bstring.h unistd.h
15753
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15754
if eval "test \"\${$as_ac_Header+set}\" = set"; then
15755
echo "$as_me:$LINENO: checking for $ac_header" >&5
15756
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15757
if eval "test \"\${$as_ac_Header+set}\" = set"; then
15758
echo $ECHO_N "(cached) $ECHO_C" >&6
15760
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15761
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15763
# Is the header compilable?
15764
echo "$as_me:$LINENO: checking $ac_header usability" >&5
15765
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15766
cat >conftest.$ac_ext <<_ACEOF
15769
cat confdefs.h >>conftest.$ac_ext
15770
cat >>conftest.$ac_ext <<_ACEOF
15771
/* end confdefs.h. */
15772
$ac_includes_default
15773
#include <$ac_header>
15775
rm -f conftest.$ac_objext
15776
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15777
(eval $ac_compile) 2>conftest.er1
15779
grep -v '^ *+' conftest.er1 >conftest.err
15781
cat conftest.err >&5
15782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783
(exit $ac_status); } &&
15784
{ ac_try='test -z "$ac_c_werror_flag"
15785
|| test ! -s conftest.err'
15786
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787
(eval $ac_try) 2>&5
15789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790
(exit $ac_status); }; } &&
15791
{ ac_try='test -s conftest.$ac_objext'
15792
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793
(eval $ac_try) 2>&5
15795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796
(exit $ac_status); }; }; then
15797
ac_header_compiler=yes
15799
echo "$as_me: failed program was:" >&5
15800
sed 's/^/| /' conftest.$ac_ext >&5
15802
ac_header_compiler=no
15804
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15805
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15806
echo "${ECHO_T}$ac_header_compiler" >&6
15808
# Is the header present?
15809
echo "$as_me:$LINENO: checking $ac_header presence" >&5
15810
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15811
cat >conftest.$ac_ext <<_ACEOF
15814
cat confdefs.h >>conftest.$ac_ext
15815
cat >>conftest.$ac_ext <<_ACEOF
15816
/* end confdefs.h. */
15817
#include <$ac_header>
15819
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15820
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15822
grep -v '^ *+' conftest.er1 >conftest.err
15824
cat conftest.err >&5
15825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826
(exit $ac_status); } >/dev/null; then
15827
if test -s conftest.err; then
15828
ac_cpp_err=$ac_c_preproc_warn_flag
15829
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15836
if test -z "$ac_cpp_err"; then
15837
ac_header_preproc=yes
15839
echo "$as_me: failed program was:" >&5
15840
sed 's/^/| /' conftest.$ac_ext >&5
15842
ac_header_preproc=no
15844
rm -f conftest.err conftest.$ac_ext
15845
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15846
echo "${ECHO_T}$ac_header_preproc" >&6
15848
# So? What about this header?
15849
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15851
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15852
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15853
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15854
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15855
ac_header_preproc=yes
15858
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15859
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15860
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15861
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15862
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15863
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15864
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15865
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15866
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15867
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15868
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15869
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15872
## ------------------------------------------ ##
15873
## Report this to the AC_PACKAGE_NAME lists. ##
15874
## ------------------------------------------ ##
15877
sed "s/^/$as_me: WARNING: /" >&2
15880
echo "$as_me:$LINENO: checking for $ac_header" >&5
15881
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15882
if eval "test \"\${$as_ac_Header+set}\" = set"; then
15883
echo $ECHO_N "(cached) $ECHO_C" >&6
15885
eval "$as_ac_Header=\$ac_header_preproc"
15887
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15888
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15891
if test `eval echo '${'$as_ac_Header'}'` = yes; then
15892
cat >>confdefs.h <<_ACEOF
15893
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15904
for ac_func in syslog
15906
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15907
echo "$as_me:$LINENO: checking for $ac_func" >&5
15908
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15909
if eval "test \"\${$as_ac_var+set}\" = set"; then
15910
echo $ECHO_N "(cached) $ECHO_C" >&6
15912
cat >conftest.$ac_ext <<_ACEOF
15915
cat confdefs.h >>conftest.$ac_ext
15916
cat >>conftest.$ac_ext <<_ACEOF
15917
/* end confdefs.h. */
15918
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15919
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15920
#define $ac_func innocuous_$ac_func
15922
/* System header to define __stub macros and hopefully few prototypes,
15923
which can conflict with char $ac_func (); below.
15924
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15925
<limits.h> exists even on freestanding compilers. */
15928
# include <limits.h>
15930
# include <assert.h>
15935
/* Override any gcc2 internal prototype to avoid an error. */
15940
/* We use char because int might match the return type of a gcc2
15941
builtin and then its argument prototype would still apply. */
15943
/* The GNU C library defines this for functions which it implements
15944
to always fail with ENOSYS. Some functions are actually named
15945
something starting with __ and the normal name is an alias. */
15946
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15949
char (*f) () = $ac_func;
15958
return f != $ac_func;
15963
rm -f conftest.$ac_objext conftest$ac_exeext
15964
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15965
(eval $ac_link) 2>conftest.er1
15967
grep -v '^ *+' conftest.er1 >conftest.err
15969
cat conftest.err >&5
15970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971
(exit $ac_status); } &&
15972
{ ac_try='test -z "$ac_c_werror_flag"
15973
|| test ! -s conftest.err'
15974
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975
(eval $ac_try) 2>&5
15977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978
(exit $ac_status); }; } &&
15979
{ ac_try='test -s conftest$ac_exeext'
15980
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981
(eval $ac_try) 2>&5
15983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984
(exit $ac_status); }; }; then
15985
eval "$as_ac_var=yes"
15987
echo "$as_me: failed program was:" >&5
15988
sed 's/^/| /' conftest.$ac_ext >&5
15990
eval "$as_ac_var=no"
15992
rm -f conftest.err conftest.$ac_objext \
15993
conftest$ac_exeext conftest.$ac_ext
15995
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15996
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15997
if test `eval echo '${'$as_ac_var'}'` = yes; then
15998
cat >>confdefs.h <<_ACEOF
15999
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16007
for ac_header in sys/times.h
16009
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16010
if eval "test \"\${$as_ac_Header+set}\" = set"; then
16011
echo "$as_me:$LINENO: checking for $ac_header" >&5
16012
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16013
if eval "test \"\${$as_ac_Header+set}\" = set"; then
16014
echo $ECHO_N "(cached) $ECHO_C" >&6
16016
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16017
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16019
# Is the header compilable?
16020
echo "$as_me:$LINENO: checking $ac_header usability" >&5
16021
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16022
cat >conftest.$ac_ext <<_ACEOF
16025
cat confdefs.h >>conftest.$ac_ext
16026
cat >>conftest.$ac_ext <<_ACEOF
16027
/* end confdefs.h. */
16028
$ac_includes_default
16029
#include <$ac_header>
16031
rm -f conftest.$ac_objext
16032
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033
(eval $ac_compile) 2>conftest.er1
16035
grep -v '^ *+' conftest.er1 >conftest.err
16037
cat conftest.err >&5
16038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039
(exit $ac_status); } &&
16040
{ ac_try='test -z "$ac_c_werror_flag"
16041
|| test ! -s conftest.err'
16042
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043
(eval $ac_try) 2>&5
16045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046
(exit $ac_status); }; } &&
16047
{ ac_try='test -s conftest.$ac_objext'
16048
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049
(eval $ac_try) 2>&5
16051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052
(exit $ac_status); }; }; then
16053
ac_header_compiler=yes
16055
echo "$as_me: failed program was:" >&5
16056
sed 's/^/| /' conftest.$ac_ext >&5
16058
ac_header_compiler=no
16060
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16061
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16062
echo "${ECHO_T}$ac_header_compiler" >&6
16064
# Is the header present?
16065
echo "$as_me:$LINENO: checking $ac_header presence" >&5
16066
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16067
cat >conftest.$ac_ext <<_ACEOF
16070
cat confdefs.h >>conftest.$ac_ext
16071
cat >>conftest.$ac_ext <<_ACEOF
16072
/* end confdefs.h. */
16073
#include <$ac_header>
16075
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16076
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16078
grep -v '^ *+' conftest.er1 >conftest.err
16080
cat conftest.err >&5
16081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082
(exit $ac_status); } >/dev/null; then
16083
if test -s conftest.err; then
16084
ac_cpp_err=$ac_c_preproc_warn_flag
16085
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16092
if test -z "$ac_cpp_err"; then
16093
ac_header_preproc=yes
16095
echo "$as_me: failed program was:" >&5
16096
sed 's/^/| /' conftest.$ac_ext >&5
16098
ac_header_preproc=no
16100
rm -f conftest.err conftest.$ac_ext
16101
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16102
echo "${ECHO_T}$ac_header_preproc" >&6
16104
# So? What about this header?
16105
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16107
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16108
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16109
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16110
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16111
ac_header_preproc=yes
16114
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16115
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16116
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16117
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16118
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16119
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16120
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16121
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16122
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16123
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16124
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16125
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16128
## ------------------------------------------ ##
16129
## Report this to the AC_PACKAGE_NAME lists. ##
16130
## ------------------------------------------ ##
16133
sed "s/^/$as_me: WARNING: /" >&2
16136
echo "$as_me:$LINENO: checking for $ac_header" >&5
16137
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16138
if eval "test \"\${$as_ac_Header+set}\" = set"; then
16139
echo $ECHO_N "(cached) $ECHO_C" >&6
16141
eval "$as_ac_Header=\$ac_header_preproc"
16143
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16144
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16147
if test `eval echo '${'$as_ac_Header'}'` = yes; then
16148
cat >>confdefs.h <<_ACEOF
16149
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16157
for ac_func in times
16159
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16160
echo "$as_me:$LINENO: checking for $ac_func" >&5
16161
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16162
if eval "test \"\${$as_ac_var+set}\" = set"; then
16163
echo $ECHO_N "(cached) $ECHO_C" >&6
16165
cat >conftest.$ac_ext <<_ACEOF
16168
cat confdefs.h >>conftest.$ac_ext
16169
cat >>conftest.$ac_ext <<_ACEOF
16170
/* end confdefs.h. */
16171
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16172
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16173
#define $ac_func innocuous_$ac_func
16175
/* System header to define __stub macros and hopefully few prototypes,
16176
which can conflict with char $ac_func (); below.
16177
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16178
<limits.h> exists even on freestanding compilers. */
16181
# include <limits.h>
16183
# include <assert.h>
16188
/* Override any gcc2 internal prototype to avoid an error. */
16193
/* We use char because int might match the return type of a gcc2
16194
builtin and then its argument prototype would still apply. */
16196
/* The GNU C library defines this for functions which it implements
16197
to always fail with ENOSYS. Some functions are actually named
16198
something starting with __ and the normal name is an alias. */
16199
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16202
char (*f) () = $ac_func;
16211
return f != $ac_func;
16216
rm -f conftest.$ac_objext conftest$ac_exeext
16217
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16218
(eval $ac_link) 2>conftest.er1
16220
grep -v '^ *+' conftest.er1 >conftest.err
16222
cat conftest.err >&5
16223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224
(exit $ac_status); } &&
16225
{ ac_try='test -z "$ac_c_werror_flag"
16226
|| test ! -s conftest.err'
16227
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16228
(eval $ac_try) 2>&5
16230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231
(exit $ac_status); }; } &&
16232
{ ac_try='test -s conftest$ac_exeext'
16233
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234
(eval $ac_try) 2>&5
16236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237
(exit $ac_status); }; }; then
16238
eval "$as_ac_var=yes"
16240
echo "$as_me: failed program was:" >&5
16241
sed 's/^/| /' conftest.$ac_ext >&5
16243
eval "$as_ac_var=no"
16245
rm -f conftest.err conftest.$ac_objext \
16246
conftest$ac_exeext conftest.$ac_ext
16248
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16249
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16250
if test `eval echo '${'$as_ac_var'}'` = yes; then
16251
cat >>confdefs.h <<_ACEOF
16252
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16259
echo "$as_me:$LINENO: checking which MPM to use" >&5
16260
echo $ECHO_N "checking which MPM to use... $ECHO_C" >&6
16262
# Check whether --with-mpm or --without-mpm was given.
16263
if test "${with_mpm+set}" = set; then
16264
withval="$with_mpm"
16266
APACHE_MPM=$withval
16270
if test "x$APACHE_MPM" = "x"; then
16275
echo "$as_me:$LINENO: result: $APACHE_MPM" >&5
16276
echo "${ECHO_T}$APACHE_MPM" >&6
16278
apache_cv_mpm=$APACHE_MPM
16280
ap_mpm_is_threaded ()
16282
if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "event" ; then
16289
ap_mpm_is_experimental ()
16291
if test "$apache_cv_mpm" = "event" ; then
16298
if ap_mpm_is_threaded; then
16300
apr_old_cppflags=$CPPFLAGS
16301
CPPFLAGS="$CPPFLAGS $INCLUDES"
16302
cat >conftest.$ac_ext <<_ACEOF
16305
cat confdefs.h >>conftest.$ac_ext
16306
cat >>conftest.$ac_ext <<_ACEOF
16307
/* end confdefs.h. */
16310
#if APR_HAS_THREADS
16315
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16316
$EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
16317
ac_cv_define_APR_HAS_THREADS=yes
16319
ac_cv_define_APR_HAS_THREADS=no
16323
CPPFLAGS=$apr_old_cppflags
16326
if test "x$ac_cv_define_APR_HAS_THREADS" = "xno"; then
16327
echo "$as_me:$LINENO: result: The currently selected MPM requires threads which your system seems to lack" >&5
16328
echo "${ECHO_T}The currently selected MPM requires threads which your system seems to lack" >&6
16329
echo "$as_me:$LINENO: checking checking for replacement" >&5
16330
echo $ECHO_N "checking checking for replacement... $ECHO_C" >&6
16331
echo "$as_me:$LINENO: result: prefork selected" >&5
16332
echo "${ECHO_T}prefork selected" >&6
16333
apache_cv_mpm=prefork
16339
echo "Threaded MPM's are not supported on this platform"
16340
echo "$as_me:$LINENO: checking checking for replacement" >&5
16341
echo $ECHO_N "checking checking for replacement... $ECHO_C" >&6
16342
echo "$as_me:$LINENO: result: prefork selected" >&5
16343
echo "${ECHO_T}prefork selected" >&6
16344
apache_cv_mpm=prefork
16353
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/Makefile"
16356
MPM_NAME=$apache_cv_mpm
16357
if ap_mpm_is_experimental; then
16358
{ echo "$as_me:$LINENO: WARNING: You have selected an EXPERIMENTAL MPM. Be warned!" >&5
16359
echo "$as_me: WARNING: You have selected an EXPERIMENTAL MPM. Be warned!" >&2;}
16360
MPM_SUBDIR_NAME=experimental/$MPM_NAME
16362
MPM_SUBDIR_NAME=$MPM_NAME
16364
MPM_DIR=server/mpm/$MPM_SUBDIR_NAME
16365
MPM_LIB=$MPM_DIR/lib${MPM_NAME}.la
16367
if test ! -f "$abs_srcdir/$MPM_DIR/mpm.h"; then
16368
{ { echo "$as_me:$LINENO: error: the selected mpm -- $apache_cv_mpm -- is not supported" >&5
16369
echo "$as_me: error: the selected mpm -- $apache_cv_mpm -- is not supported" >&2;}
16370
{ (exit 1); exit 1; }; }
16374
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MPM_NAME"
16378
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MPM_SUBDIR_NAME"
16381
MODLIST="$MODLIST mpm_${MPM_NAME}"
16384
if test "$MPM_NAME" = "prefork" ; then
16386
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
16390
htpasswd_LTFLAGS=""
16391
htdigest_LTFLAGS=""
16392
rotatelogs_LTFLAGS=""
16393
logresolve_LTFLAGS=""
16396
checkgid_LTFLAGS=""
16398
# Check whether --enable-static-support or --disable-static-support was given.
16399
if test "${enable_static_support+set}" = set; then
16400
enableval="$enable_static_support"
16402
if test "$enableval" = "yes" ; then
16404
if test "x$htpasswd_LTFLAGS" = "x"; then
16405
test "x$silent" != "xyes" && echo " setting htpasswd_LTFLAGS to \"-static\""
16406
htpasswd_LTFLAGS="-static"
16408
apr_addto_bugger="-static"
16409
for i in $apr_addto_bugger; do
16410
apr_addto_duplicate="0"
16411
for j in $htpasswd_LTFLAGS; do
16412
if test "x$i" = "x$j"; then
16413
apr_addto_duplicate="1"
16417
if test $apr_addto_duplicate = "0"; then
16418
test "x$silent" != "xyes" && echo " adding \"$i\" to htpasswd_LTFLAGS"
16419
htpasswd_LTFLAGS="$htpasswd_LTFLAGS $i"
16425
if test "x$htdigest_LTFLAGS" = "x"; then
16426
test "x$silent" != "xyes" && echo " setting htdigest_LTFLAGS to \"-static\""
16427
htdigest_LTFLAGS="-static"
16429
apr_addto_bugger="-static"
16430
for i in $apr_addto_bugger; do
16431
apr_addto_duplicate="0"
16432
for j in $htdigest_LTFLAGS; do
16433
if test "x$i" = "x$j"; then
16434
apr_addto_duplicate="1"
16438
if test $apr_addto_duplicate = "0"; then
16439
test "x$silent" != "xyes" && echo " adding \"$i\" to htdigest_LTFLAGS"
16440
htdigest_LTFLAGS="$htdigest_LTFLAGS $i"
16446
if test "x$rotatelogs_LTFLAGS" = "x"; then
16447
test "x$silent" != "xyes" && echo " setting rotatelogs_LTFLAGS to \"-static\""
16448
rotatelogs_LTFLAGS="-static"
16450
apr_addto_bugger="-static"
16451
for i in $apr_addto_bugger; do
16452
apr_addto_duplicate="0"
16453
for j in $rotatelogs_LTFLAGS; do
16454
if test "x$i" = "x$j"; then
16455
apr_addto_duplicate="1"
16459
if test $apr_addto_duplicate = "0"; then
16460
test "x$silent" != "xyes" && echo " adding \"$i\" to rotatelogs_LTFLAGS"
16461
rotatelogs_LTFLAGS="$rotatelogs_LTFLAGS $i"
16467
if test "x$logresolve_LTFLAGS" = "x"; then
16468
test "x$silent" != "xyes" && echo " setting logresolve_LTFLAGS to \"-static\""
16469
logresolve_LTFLAGS="-static"
16471
apr_addto_bugger="-static"
16472
for i in $apr_addto_bugger; do
16473
apr_addto_duplicate="0"
16474
for j in $logresolve_LTFLAGS; do
16475
if test "x$i" = "x$j"; then
16476
apr_addto_duplicate="1"
16480
if test $apr_addto_duplicate = "0"; then
16481
test "x$silent" != "xyes" && echo " adding \"$i\" to logresolve_LTFLAGS"
16482
logresolve_LTFLAGS="$logresolve_LTFLAGS $i"
16488
if test "x$htdbm_LTFLAGS" = "x"; then
16489
test "x$silent" != "xyes" && echo " setting htdbm_LTFLAGS to \"-static\""
16490
htdbm_LTFLAGS="-static"
16492
apr_addto_bugger="-static"
16493
for i in $apr_addto_bugger; do
16494
apr_addto_duplicate="0"
16495
for j in $htdbm_LTFLAGS; do
16496
if test "x$i" = "x$j"; then
16497
apr_addto_duplicate="1"
16501
if test $apr_addto_duplicate = "0"; then
16502
test "x$silent" != "xyes" && echo " adding \"$i\" to htdbm_LTFLAGS"
16503
htdbm_LTFLAGS="$htdbm_LTFLAGS $i"
16509
if test "x$ab_LTFLAGS" = "x"; then
16510
test "x$silent" != "xyes" && echo " setting ab_LTFLAGS to \"-static\""
16511
ab_LTFLAGS="-static"
16513
apr_addto_bugger="-static"
16514
for i in $apr_addto_bugger; do
16515
apr_addto_duplicate="0"
16516
for j in $ab_LTFLAGS; do
16517
if test "x$i" = "x$j"; then
16518
apr_addto_duplicate="1"
16522
if test $apr_addto_duplicate = "0"; then
16523
test "x$silent" != "xyes" && echo " adding \"$i\" to ab_LTFLAGS"
16524
ab_LTFLAGS="$ab_LTFLAGS $i"
16530
if test "x$checkgid_LTFLAGS" = "x"; then
16531
test "x$silent" != "xyes" && echo " setting checkgid_LTFLAGS to \"-static\""
16532
checkgid_LTFLAGS="-static"
16534
apr_addto_bugger="-static"
16535
for i in $apr_addto_bugger; do
16536
apr_addto_duplicate="0"
16537
for j in $checkgid_LTFLAGS; do
16538
if test "x$i" = "x$j"; then
16539
apr_addto_duplicate="1"
16543
if test $apr_addto_duplicate = "0"; then
16544
test "x$silent" != "xyes" && echo " adding \"$i\" to checkgid_LTFLAGS"
16545
checkgid_LTFLAGS="$checkgid_LTFLAGS $i"
16554
# Check whether --enable-static-htpasswd or --disable-static-htpasswd was given.
16555
if test "${enable_static_htpasswd+set}" = set; then
16556
enableval="$enable_static_htpasswd"
16558
if test "$enableval" = "yes" ; then
16560
if test "x$htpasswd_LTFLAGS" = "x"; then
16561
test "x$silent" != "xyes" && echo " setting htpasswd_LTFLAGS to \"-static\""
16562
htpasswd_LTFLAGS="-static"
16564
apr_addto_bugger="-static"
16565
for i in $apr_addto_bugger; do
16566
apr_addto_duplicate="0"
16567
for j in $htpasswd_LTFLAGS; do
16568
if test "x$i" = "x$j"; then
16569
apr_addto_duplicate="1"
16573
if test $apr_addto_duplicate = "0"; then
16574
test "x$silent" != "xyes" && echo " adding \"$i\" to htpasswd_LTFLAGS"
16575
htpasswd_LTFLAGS="$htpasswd_LTFLAGS $i"
16582
if test "x$htpasswd_LTFLAGS" = "x-static"; then
16583
test "x$silent" != "xyes" && echo " nulling htpasswd_LTFLAGS"
16584
htpasswd_LTFLAGS=""
16588
for i in $htpasswd_LTFLAGS; do
16589
if test "x$i" != "x-static"; then
16590
apr_new_bugger="$apr_new_bugger $i"
16595
if test $apr_removed = "1"; then
16596
test "x$silent" != "xyes" && echo " removed \"-static\" from htpasswd_LTFLAGS"
16597
htpasswd_LTFLAGS=$apr_new_bugger
16605
APACHE_VAR_SUBST="$APACHE_VAR_SUBST htpasswd_LTFLAGS"
16609
# Check whether --enable-static-htdigest or --disable-static-htdigest was given.
16610
if test "${enable_static_htdigest+set}" = set; then
16611
enableval="$enable_static_htdigest"
16613
if test "$enableval" = "yes" ; then
16615
if test "x$htdigest_LTFLAGS" = "x"; then
16616
test "x$silent" != "xyes" && echo " setting htdigest_LTFLAGS to \"-static\""
16617
htdigest_LTFLAGS="-static"
16619
apr_addto_bugger="-static"
16620
for i in $apr_addto_bugger; do
16621
apr_addto_duplicate="0"
16622
for j in $htdigest_LTFLAGS; do
16623
if test "x$i" = "x$j"; then
16624
apr_addto_duplicate="1"
16628
if test $apr_addto_duplicate = "0"; then
16629
test "x$silent" != "xyes" && echo " adding \"$i\" to htdigest_LTFLAGS"
16630
htdigest_LTFLAGS="$htdigest_LTFLAGS $i"
16637
if test "x$htdigest_LTFLAGS" = "x-static"; then
16638
test "x$silent" != "xyes" && echo " nulling htdigest_LTFLAGS"
16639
htdigest_LTFLAGS=""
16643
for i in $htdigest_LTFLAGS; do
16644
if test "x$i" != "x-static"; then
16645
apr_new_bugger="$apr_new_bugger $i"
16650
if test $apr_removed = "1"; then
16651
test "x$silent" != "xyes" && echo " removed \"-static\" from htdigest_LTFLAGS"
16652
htdigest_LTFLAGS=$apr_new_bugger
16660
APACHE_VAR_SUBST="$APACHE_VAR_SUBST htdigest_LTFLAGS"
16664
# Check whether --enable-static-rotatelogs or --disable-static-rotatelogs was given.
16665
if test "${enable_static_rotatelogs+set}" = set; then
16666
enableval="$enable_static_rotatelogs"
16668
if test "$enableval" = "yes" ; then
16670
if test "x$rotatelogs_LTFLAGS" = "x"; then
16671
test "x$silent" != "xyes" && echo " setting rotatelogs_LTFLAGS to \"-static\""
16672
rotatelogs_LTFLAGS="-static"
16674
apr_addto_bugger="-static"
16675
for i in $apr_addto_bugger; do
16676
apr_addto_duplicate="0"
16677
for j in $rotatelogs_LTFLAGS; do
16678
if test "x$i" = "x$j"; then
16679
apr_addto_duplicate="1"
16683
if test $apr_addto_duplicate = "0"; then
16684
test "x$silent" != "xyes" && echo " adding \"$i\" to rotatelogs_LTFLAGS"
16685
rotatelogs_LTFLAGS="$rotatelogs_LTFLAGS $i"
16692
if test "x$rotatelogs_LTFLAGS" = "x-static"; then
16693
test "x$silent" != "xyes" && echo " nulling rotatelogs_LTFLAGS"
16694
rotatelogs_LTFLAGS=""
16698
for i in $rotatelogs_LTFLAGS; do
16699
if test "x$i" != "x-static"; then
16700
apr_new_bugger="$apr_new_bugger $i"
16705
if test $apr_removed = "1"; then
16706
test "x$silent" != "xyes" && echo " removed \"-static\" from rotatelogs_LTFLAGS"
16707
rotatelogs_LTFLAGS=$apr_new_bugger
16715
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rotatelogs_LTFLAGS"
16719
# Check whether --enable-static-logresolve or --disable-static-logresolve was given.
16720
if test "${enable_static_logresolve+set}" = set; then
16721
enableval="$enable_static_logresolve"
16723
if test "$enableval" = "yes" ; then
16725
if test "x$logresolve_LTFLAGS" = "x"; then
16726
test "x$silent" != "xyes" && echo " setting logresolve_LTFLAGS to \"-static\""
16727
logresolve_LTFLAGS="-static"
16729
apr_addto_bugger="-static"
16730
for i in $apr_addto_bugger; do
16731
apr_addto_duplicate="0"
16732
for j in $logresolve_LTFLAGS; do
16733
if test "x$i" = "x$j"; then
16734
apr_addto_duplicate="1"
16738
if test $apr_addto_duplicate = "0"; then
16739
test "x$silent" != "xyes" && echo " adding \"$i\" to logresolve_LTFLAGS"
16740
logresolve_LTFLAGS="$logresolve_LTFLAGS $i"
16747
if test "x$logresolve_LTFLAGS" = "x-static"; then
16748
test "x$silent" != "xyes" && echo " nulling logresolve_LTFLAGS"
16749
logresolve_LTFLAGS=""
16753
for i in $logresolve_LTFLAGS; do
16754
if test "x$i" != "x-static"; then
16755
apr_new_bugger="$apr_new_bugger $i"
16760
if test $apr_removed = "1"; then
16761
test "x$silent" != "xyes" && echo " removed \"-static\" from logresolve_LTFLAGS"
16762
logresolve_LTFLAGS=$apr_new_bugger
16770
APACHE_VAR_SUBST="$APACHE_VAR_SUBST logresolve_LTFLAGS"
16774
# Check whether --enable-static-htdbm or --disable-static-htdbm was given.
16775
if test "${enable_static_htdbm+set}" = set; then
16776
enableval="$enable_static_htdbm"
16778
if test "$enableval" = "yes" ; then
16780
if test "x$htdbm_LTFLAGS" = "x"; then
16781
test "x$silent" != "xyes" && echo " setting htdbm_LTFLAGS to \"-static\""
16782
htdbm_LTFLAGS="-static"
16784
apr_addto_bugger="-static"
16785
for i in $apr_addto_bugger; do
16786
apr_addto_duplicate="0"
16787
for j in $htdbm_LTFLAGS; do
16788
if test "x$i" = "x$j"; then
16789
apr_addto_duplicate="1"
16793
if test $apr_addto_duplicate = "0"; then
16794
test "x$silent" != "xyes" && echo " adding \"$i\" to htdbm_LTFLAGS"
16795
htdbm_LTFLAGS="$htdbm_LTFLAGS $i"
16802
if test "x$htdbm_LTFLAGS" = "x-static"; then
16803
test "x$silent" != "xyes" && echo " nulling htdbm_LTFLAGS"
16808
for i in $htdbm_LTFLAGS; do
16809
if test "x$i" != "x-static"; then
16810
apr_new_bugger="$apr_new_bugger $i"
16815
if test $apr_removed = "1"; then
16816
test "x$silent" != "xyes" && echo " removed \"-static\" from htdbm_LTFLAGS"
16817
htdbm_LTFLAGS=$apr_new_bugger
16825
APACHE_VAR_SUBST="$APACHE_VAR_SUBST htdbm_LTFLAGS"
16829
# Check whether --enable-static-ab or --disable-static-ab was given.
16830
if test "${enable_static_ab+set}" = set; then
16831
enableval="$enable_static_ab"
16833
if test "$enableval" = "yes" ; then
16835
if test "x$ab_LTFLAGS" = "x"; then
16836
test "x$silent" != "xyes" && echo " setting ab_LTFLAGS to \"-static\""
16837
ab_LTFLAGS="-static"
16839
apr_addto_bugger="-static"
16840
for i in $apr_addto_bugger; do
16841
apr_addto_duplicate="0"
16842
for j in $ab_LTFLAGS; do
16843
if test "x$i" = "x$j"; then
16844
apr_addto_duplicate="1"
16848
if test $apr_addto_duplicate = "0"; then
16849
test "x$silent" != "xyes" && echo " adding \"$i\" to ab_LTFLAGS"
16850
ab_LTFLAGS="$ab_LTFLAGS $i"
16857
if test "x$ab_LTFLAGS" = "x-static"; then
16858
test "x$silent" != "xyes" && echo " nulling ab_LTFLAGS"
16863
for i in $ab_LTFLAGS; do
16864
if test "x$i" != "x-static"; then
16865
apr_new_bugger="$apr_new_bugger $i"
16870
if test $apr_removed = "1"; then
16871
test "x$silent" != "xyes" && echo " removed \"-static\" from ab_LTFLAGS"
16872
ab_LTFLAGS=$apr_new_bugger
16880
APACHE_VAR_SUBST="$APACHE_VAR_SUBST ab_LTFLAGS"
16884
# Check whether --enable-static-checkgid or --disable-static-checkgid was given.
16885
if test "${enable_static_checkgid+set}" = set; then
16886
enableval="$enable_static_checkgid"
16888
if test "$enableval" = "yes" ; then
16890
if test "x$checkgid_LTFLAGS" = "x"; then
16891
test "x$silent" != "xyes" && echo " setting checkgid_LTFLAGS to \"-static\""
16892
checkgid_LTFLAGS="-static"
16894
apr_addto_bugger="-static"
16895
for i in $apr_addto_bugger; do
16896
apr_addto_duplicate="0"
16897
for j in $checkgid_LTFLAGS; do
16898
if test "x$i" = "x$j"; then
16899
apr_addto_duplicate="1"
16903
if test $apr_addto_duplicate = "0"; then
16904
test "x$silent" != "xyes" && echo " adding \"$i\" to checkgid_LTFLAGS"
16905
checkgid_LTFLAGS="$checkgid_LTFLAGS $i"
16912
if test "x$checkgid_LTFLAGS" = "x-static"; then
16913
test "x$silent" != "xyes" && echo " nulling checkgid_LTFLAGS"
16914
checkgid_LTFLAGS=""
16918
for i in $checkgid_LTFLAGS; do
16919
if test "x$i" != "x-static"; then
16920
apr_new_bugger="$apr_new_bugger $i"
16925
if test $apr_removed = "1"; then
16926
test "x$silent" != "xyes" && echo " removed \"-static\" from checkgid_LTFLAGS"
16927
checkgid_LTFLAGS=$apr_new_bugger
16935
APACHE_VAR_SUBST="$APACHE_VAR_SUBST checkgid_LTFLAGS"
16941
# this works in any locale, unlike the default command below, which
16942
# fails in a non-English locale if the hard limit is unlimited
16943
# since the display of the limit will translate "unlimited", but
16944
# ulimit only accepts English "unlimited" on input
16945
APACHECTL_ULIMIT="ulimit -S -n unlimited"
16948
# Tru64: -H is for setting, not retrieving
16949
APACHECTL_ULIMIT="ulimit -S -n \`ulimit -h -n\`"
16952
if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT ; then
16953
APACHECTL_ULIMIT="ulimit -S -n \`ulimit -H -n\`"
16955
APACHECTL_ULIMIT=""
16960
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APACHECTL_ULIMIT"
16967
modpath_current=modules/http
16970
test -d http || $srcdir/build/mkdir.sh $modpath_current
16971
> $modpath_current/modules.mk
16974
http_objects="http_core.lo http_protocol.lo http_request.lo http_filters.lo chunk_filter.lo byterange_filter.lo http_etag.lo"
16976
if test "$enable_http" = "yes"; then
16977
enable_http="static"
16978
elif test "$enable_http" = "shared"; then
16979
{ { echo "$as_me:$LINENO: error: mod_http can not be built as a shared DSO" >&5
16980
echo "$as_me: error: mod_http can not be built as a shared DSO" >&2;}
16981
{ (exit 1); exit 1; }; }
16985
echo "$as_me:$LINENO: checking whether to enable mod_http" >&5
16986
echo $ECHO_N "checking whether to enable mod_http... $ECHO_C" >&6
16987
# Check whether --enable-http or --disable-http was given.
16988
if test "${enable_http+set}" = set; then
16989
enableval="$enable_http"
16994
_apmod_extra_msg=""
16995
if test "$module_selection" = "most" -a "$enable_http" = "most"; then
16996
_apmod_error_fatal="no"
16998
_apmod_error_fatal="yes"
17000
if test "$enable_http" = "static"; then
17002
elif test "$enable_http" = "yes"; then
17003
enable_http=$module_default
17004
_apmod_extra_msg=" ($module_selection)"
17005
elif test "$enable_http" = "most"; then
17006
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17007
enable_http=$module_default
17008
_apmod_extra_msg=" ($module_selection)"
17009
elif test "$enable_http" != "yes"; then
17012
elif test "$enable_http" = "maybe-all"; then
17013
if test "$module_selection" = "all"; then
17014
enable_http=$module_default
17015
_apmod_extra_msg=" (all)"
17020
if test "$enable_http" != "no"; then
17023
echo "$as_me:$LINENO: result: $enable_http$_apmod_extra_msg" >&5
17024
echo "${ECHO_T}$enable_http$_apmod_extra_msg" >&6
17025
if test "$enable_http" != "no"; then
17026
case "$enable_http" in
17028
enable_http=`echo $enable_http|sed 's/shared,*//'`
17031
DSO_MODULES="$DSO_MODULES http"
17034
MODLIST="$MODLIST http"
17035
if test "http" = "so"; then
17042
if test -z "$http_objects"; then
17043
objects="mod_http.lo"
17045
objects="$http_objects"
17048
if test -z "$module_standalone"; then
17049
if test -z "$shared"; then
17050
# The filename of a convenience library must have a "lib" prefix:
17051
libname="libmod_http.la"
17052
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17053
modpath_static="$modpath_static $libname"
17054
cat >>$modpath_current/modules.mk<<EOF
17056
\$(MOD_LINK) $objects \$(MOD_HTTP_LDADD)
17059
apache_need_shared=yes
17060
libname="mod_http.la"
17061
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17062
modpath_shared="$modpath_shared $libname"
17063
cat >>$modpath_current/modules.mk<<EOF
17064
$libname: $shobjects
17065
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_HTTP_LDADD)
17071
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_HTTP_LDADD"
17078
echo "$as_me:$LINENO: checking whether to enable mod_mime" >&5
17079
echo $ECHO_N "checking whether to enable mod_mime... $ECHO_C" >&6
17080
# Check whether --enable-mime or --disable-mime was given.
17081
if test "${enable_mime+set}" = set; then
17082
enableval="$enable_mime"
17087
_apmod_extra_msg=""
17088
if test "$module_selection" = "most" -a "$enable_mime" = "most"; then
17089
_apmod_error_fatal="no"
17091
_apmod_error_fatal="yes"
17093
if test "$enable_mime" = "static"; then
17095
elif test "$enable_mime" = "yes"; then
17096
enable_mime=$module_default
17097
_apmod_extra_msg=" ($module_selection)"
17098
elif test "$enable_mime" = "most"; then
17099
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17100
enable_mime=$module_default
17101
_apmod_extra_msg=" ($module_selection)"
17102
elif test "$enable_mime" != "yes"; then
17105
elif test "$enable_mime" = "maybe-all"; then
17106
if test "$module_selection" = "all"; then
17107
enable_mime=$module_default
17108
_apmod_extra_msg=" (all)"
17113
if test "$enable_mime" != "no"; then
17116
echo "$as_me:$LINENO: result: $enable_mime$_apmod_extra_msg" >&5
17117
echo "${ECHO_T}$enable_mime$_apmod_extra_msg" >&6
17118
if test "$enable_mime" != "no"; then
17119
case "$enable_mime" in
17121
enable_mime=`echo $enable_mime|sed 's/shared,*//'`
17124
DSO_MODULES="$DSO_MODULES mime"
17127
MODLIST="$MODLIST mime"
17128
if test "mime" = "so"; then
17135
if test -z ""; then
17136
objects="mod_mime.lo"
17141
if test -z "$module_standalone"; then
17142
if test -z "$shared"; then
17143
# The filename of a convenience library must have a "lib" prefix:
17144
libname="libmod_mime.la"
17145
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17146
modpath_static="$modpath_static $libname"
17147
cat >>$modpath_current/modules.mk<<EOF
17149
\$(MOD_LINK) $objects \$(MOD_MIME_LDADD)
17152
apache_need_shared=yes
17153
libname="mod_mime.la"
17154
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17155
modpath_shared="$modpath_shared $libname"
17156
cat >>$modpath_current/modules.mk<<EOF
17157
$libname: $shobjects
17158
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_MIME_LDADD)
17164
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_MIME_LDADD"
17172
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
17173
echo "static = $modpath_static" >> $modpath_current/modules.mk
17174
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
17175
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
17176
MODULE_DIRS="$MODULE_DIRS $current_dir"
17178
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
17181
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
17185
echo "$as_me:$LINENO: checking for extra modules" >&5
17186
echo $ECHO_N "checking for extra modules... $ECHO_C" >&6
17188
# Check whether --with-module or --without-module was given.
17189
if test "${with_module+set}" = set; then
17190
withval="$with_module"
17192
as_save_IFS="$IFS"; IFS=","
17193
for mod in $withval
17195
modtype=`echo $mod | sed -e's/\(.*\):.*/\1/'`
17196
pkg=`echo $mod | sed -e's/.*:\(.*\)/\1/'`
17197
modfilec=`echo $pkg | sed -e 's;^.*/;;'`
17198
modfileo=`echo $pkg | sed -e 's;^.*/;;' -e 's;\.c$;.o;'`
17199
modpath_current="modules/$modtype"
17200
if test "x$mod" != "x$modpath_current/$modfilec"; then
17201
if test ! -d "$modpath_current"; then
17202
mkdir $modpath_current
17203
echo 'include $(top_srcdir)/build/special.mk' > $modpath_current/Makefile.in
17205
cp $pkg $modpath_current/$modfilec
17207
module=`echo $pkg | sed -e 's;\(.*/\)*mod_\(.*\).c;\2;'`
17208
objects="mod_$module.lo"
17209
# The filename of a convenience library must have a "lib" prefix:
17210
libname="libmod_$module.la"
17211
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17212
if test ! -s "$modpath_current/modules.mk"; then
17213
cat >>$modpath_current/modules.mk<<EOF
17215
\$(MOD_LINK) $objects
17216
DISTCLEAN_TARGETS = modules.mk
17221
cat >>$modpath_current/modules.mk.tmp<<EOF
17223
\$(MOD_LINK) $objects
17225
cat $modpath_current/modules.mk >> $modpath_current/modules.mk.tmp
17226
rm $modpath_current/modules.mk
17227
mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
17228
sed -e "s/\(static =.*\)/\1 $libname/" $modpath_current/modules.mk > $modpath_current/modules.mk.tmp
17229
rm $modpath_current/modules.mk
17230
mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
17232
MODLIST="$MODLIST $module"
17233
EXTRA_MODLIST="$EXTRA_MODLIST $modtype:$modfilec"
17234
MODULE_DIRS="$MODULE_DIRS $modtype"
17236
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
17239
if test ! -z "$EXTRA_MODLIST"; then
17240
echo "$as_me:$LINENO: result: added:$EXTRA_MODLIST" >&5
17241
echo "${ECHO_T}added:$EXTRA_MODLIST" >&6
17246
echo "$as_me:$LINENO: result: none" >&5
17247
echo "${ECHO_T}none" >&6
17253
current_dir=dav/main
17254
modpath_current=modules/dav/main
17257
test -d dav/main || $srcdir/build/mkdir.sh $modpath_current
17258
> $modpath_current/modules.mk
17261
dav_objects="mod_dav.lo props.lo util.lo util_lock.lo liveprop.lo providers.lo std_liveprop.lo"
17263
if test "$enable_http" = "no"; then
17270
echo "$as_me:$LINENO: checking whether to enable mod_dav" >&5
17271
echo $ECHO_N "checking whether to enable mod_dav... $ECHO_C" >&6
17272
# Check whether --enable-dav or --disable-dav was given.
17273
if test "${enable_dav+set}" = set; then
17274
enableval="$enable_dav"
17277
enable_dav=$dav_enable
17279
_apmod_extra_msg=""
17280
if test "$module_selection" = "most" -a "$enable_dav" = "most"; then
17281
_apmod_error_fatal="no"
17283
_apmod_error_fatal="yes"
17285
if test "$enable_dav" = "static"; then
17287
elif test "$enable_dav" = "yes"; then
17288
enable_dav=$module_default
17289
_apmod_extra_msg=" ($module_selection)"
17290
elif test "$enable_dav" = "most"; then
17291
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17292
enable_dav=$module_default
17293
_apmod_extra_msg=" ($module_selection)"
17294
elif test "$enable_dav" != "yes"; then
17297
elif test "$enable_dav" = "maybe-all"; then
17298
if test "$module_selection" = "all"; then
17299
enable_dav=$module_default
17300
_apmod_extra_msg=" (all)"
17305
if test "$enable_dav" != "no"; then
17308
echo "$as_me:$LINENO: result: $enable_dav$_apmod_extra_msg" >&5
17309
echo "${ECHO_T}$enable_dav$_apmod_extra_msg" >&6
17310
if test "$enable_dav" != "no"; then
17311
case "$enable_dav" in
17313
enable_dav=`echo $enable_dav|sed 's/shared,*//'`
17316
DSO_MODULES="$DSO_MODULES dav"
17319
MODLIST="$MODLIST dav"
17320
if test "dav" = "so"; then
17327
if test -z "$dav_objects"; then
17328
objects="mod_dav.lo"
17330
objects="$dav_objects"
17333
if test -z "$module_standalone"; then
17334
if test -z "$shared"; then
17335
# The filename of a convenience library must have a "lib" prefix:
17336
libname="libmod_dav.la"
17337
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17338
modpath_static="$modpath_static $libname"
17339
cat >>$modpath_current/modules.mk<<EOF
17341
\$(MOD_LINK) $objects \$(MOD_DAV_LDADD)
17344
apache_need_shared=yes
17345
libname="mod_dav.la"
17346
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17347
modpath_shared="$modpath_shared $libname"
17348
cat >>$modpath_current/modules.mk<<EOF
17349
$libname: $shobjects
17350
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DAV_LDADD)
17356
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DAV_LDADD"
17363
if test "$dav_enable" != "no" -o "$enable_dav" != "no"; then
17364
apache_need_expat=yes
17367
if test "x$INCLUDES" = "x"; then
17368
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_srcdir)/$modpath_current\""
17369
INCLUDES="-I\$(top_srcdir)/$modpath_current"
17371
apr_addto_bugger="-I\$(top_srcdir)/$modpath_current"
17372
for i in $apr_addto_bugger; do
17373
apr_addto_duplicate="0"
17374
for j in $INCLUDES; do
17375
if test "x$i" = "x$j"; then
17376
apr_addto_duplicate="1"
17380
if test $apr_addto_duplicate = "0"; then
17381
test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
17382
INCLUDES="$INCLUDES $i"
17391
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
17392
echo "static = $modpath_static" >> $modpath_current/modules.mk
17393
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
17394
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
17395
MODULE_DIRS="$MODULE_DIRS $current_dir"
17397
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
17400
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
17407
current_dir=generators
17408
modpath_current=modules/generators
17411
test -d generators || $srcdir/build/mkdir.sh $modpath_current
17412
> $modpath_current/modules.mk
17416
echo "$as_me:$LINENO: checking whether to enable mod_status" >&5
17417
echo $ECHO_N "checking whether to enable mod_status... $ECHO_C" >&6
17418
# Check whether --enable-status or --disable-status was given.
17419
if test "${enable_status+set}" = set; then
17420
enableval="$enable_status"
17425
_apmod_extra_msg=""
17426
if test "$module_selection" = "most" -a "$enable_status" = "most"; then
17427
_apmod_error_fatal="no"
17429
_apmod_error_fatal="yes"
17431
if test "$enable_status" = "static"; then
17433
elif test "$enable_status" = "yes"; then
17434
enable_status=$module_default
17435
_apmod_extra_msg=" ($module_selection)"
17436
elif test "$enable_status" = "most"; then
17437
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17438
enable_status=$module_default
17439
_apmod_extra_msg=" ($module_selection)"
17440
elif test "$enable_status" != "yes"; then
17443
elif test "$enable_status" = "maybe-all"; then
17444
if test "$module_selection" = "all"; then
17445
enable_status=$module_default
17446
_apmod_extra_msg=" (all)"
17451
if test "$enable_status" != "no"; then
17454
echo "$as_me:$LINENO: result: $enable_status$_apmod_extra_msg" >&5
17455
echo "${ECHO_T}$enable_status$_apmod_extra_msg" >&6
17456
if test "$enable_status" != "no"; then
17457
case "$enable_status" in
17459
enable_status=`echo $enable_status|sed 's/shared,*//'`
17462
DSO_MODULES="$DSO_MODULES status"
17465
MODLIST="$MODLIST status"
17466
if test "status" = "so"; then
17473
if test -z ""; then
17474
objects="mod_status.lo"
17479
if test -z "$module_standalone"; then
17480
if test -z "$shared"; then
17481
# The filename of a convenience library must have a "lib" prefix:
17482
libname="libmod_status.la"
17483
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17484
modpath_static="$modpath_static $libname"
17485
cat >>$modpath_current/modules.mk<<EOF
17487
\$(MOD_LINK) $objects \$(MOD_STATUS_LDADD)
17490
apache_need_shared=yes
17491
libname="mod_status.la"
17492
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17493
modpath_shared="$modpath_shared $libname"
17494
cat >>$modpath_current/modules.mk<<EOF
17495
$libname: $shobjects
17496
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_STATUS_LDADD)
17502
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_STATUS_LDADD"
17509
echo "$as_me:$LINENO: checking whether to enable mod_autoindex" >&5
17510
echo $ECHO_N "checking whether to enable mod_autoindex... $ECHO_C" >&6
17511
# Check whether --enable-autoindex or --disable-autoindex was given.
17512
if test "${enable_autoindex+set}" = set; then
17513
enableval="$enable_autoindex"
17516
enable_autoindex=yes
17518
_apmod_extra_msg=""
17519
if test "$module_selection" = "most" -a "$enable_autoindex" = "most"; then
17520
_apmod_error_fatal="no"
17522
_apmod_error_fatal="yes"
17524
if test "$enable_autoindex" = "static"; then
17525
enable_autoindex=yes
17526
elif test "$enable_autoindex" = "yes"; then
17527
enable_autoindex=$module_default
17528
_apmod_extra_msg=" ($module_selection)"
17529
elif test "$enable_autoindex" = "most"; then
17530
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17531
enable_autoindex=$module_default
17532
_apmod_extra_msg=" ($module_selection)"
17533
elif test "$enable_autoindex" != "yes"; then
17534
enable_autoindex=no
17536
elif test "$enable_autoindex" = "maybe-all"; then
17537
if test "$module_selection" = "all"; then
17538
enable_autoindex=$module_default
17539
_apmod_extra_msg=" (all)"
17541
enable_autoindex=no
17544
if test "$enable_autoindex" != "no"; then
17547
echo "$as_me:$LINENO: result: $enable_autoindex$_apmod_extra_msg" >&5
17548
echo "${ECHO_T}$enable_autoindex$_apmod_extra_msg" >&6
17549
if test "$enable_autoindex" != "no"; then
17550
case "$enable_autoindex" in
17552
enable_autoindex=`echo $enable_autoindex|sed 's/shared,*//'`
17555
DSO_MODULES="$DSO_MODULES autoindex"
17558
MODLIST="$MODLIST autoindex"
17559
if test "autoindex" = "so"; then
17566
if test -z ""; then
17567
objects="mod_autoindex.lo"
17572
if test -z "$module_standalone"; then
17573
if test -z "$shared"; then
17574
# The filename of a convenience library must have a "lib" prefix:
17575
libname="libmod_autoindex.la"
17576
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17577
modpath_static="$modpath_static $libname"
17578
cat >>$modpath_current/modules.mk<<EOF
17580
\$(MOD_LINK) $objects \$(MOD_AUTOINDEX_LDADD)
17583
apache_need_shared=yes
17584
libname="mod_autoindex.la"
17585
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17586
modpath_shared="$modpath_shared $libname"
17587
cat >>$modpath_current/modules.mk<<EOF
17588
$libname: $shobjects
17589
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_AUTOINDEX_LDADD)
17595
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_AUTOINDEX_LDADD"
17602
echo "$as_me:$LINENO: checking whether to enable mod_asis" >&5
17603
echo $ECHO_N "checking whether to enable mod_asis... $ECHO_C" >&6
17604
# Check whether --enable-asis or --disable-asis was given.
17605
if test "${enable_asis+set}" = set; then
17606
enableval="$enable_asis"
17611
_apmod_extra_msg=""
17612
if test "$module_selection" = "most" -a "$enable_asis" = "most"; then
17613
_apmod_error_fatal="no"
17615
_apmod_error_fatal="yes"
17617
if test "$enable_asis" = "static"; then
17619
elif test "$enable_asis" = "yes"; then
17620
enable_asis=$module_default
17621
_apmod_extra_msg=" ($module_selection)"
17622
elif test "$enable_asis" = "most"; then
17623
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17624
enable_asis=$module_default
17625
_apmod_extra_msg=" ($module_selection)"
17626
elif test "$enable_asis" != "yes"; then
17629
elif test "$enable_asis" = "maybe-all"; then
17630
if test "$module_selection" = "all"; then
17631
enable_asis=$module_default
17632
_apmod_extra_msg=" (all)"
17637
if test "$enable_asis" != "no"; then
17640
echo "$as_me:$LINENO: result: $enable_asis$_apmod_extra_msg" >&5
17641
echo "${ECHO_T}$enable_asis$_apmod_extra_msg" >&6
17642
if test "$enable_asis" != "no"; then
17643
case "$enable_asis" in
17645
enable_asis=`echo $enable_asis|sed 's/shared,*//'`
17648
DSO_MODULES="$DSO_MODULES asis"
17651
MODLIST="$MODLIST asis"
17652
if test "asis" = "so"; then
17659
if test -z ""; then
17660
objects="mod_asis.lo"
17665
if test -z "$module_standalone"; then
17666
if test -z "$shared"; then
17667
# The filename of a convenience library must have a "lib" prefix:
17668
libname="libmod_asis.la"
17669
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17670
modpath_static="$modpath_static $libname"
17671
cat >>$modpath_current/modules.mk<<EOF
17673
\$(MOD_LINK) $objects \$(MOD_ASIS_LDADD)
17676
apache_need_shared=yes
17677
libname="mod_asis.la"
17678
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17679
modpath_shared="$modpath_shared $libname"
17680
cat >>$modpath_current/modules.mk<<EOF
17681
$libname: $shobjects
17682
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ASIS_LDADD)
17688
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ASIS_LDADD"
17695
echo "$as_me:$LINENO: checking whether to enable mod_info" >&5
17696
echo $ECHO_N "checking whether to enable mod_info... $ECHO_C" >&6
17697
# Check whether --enable-info or --disable-info was given.
17698
if test "${enable_info+set}" = set; then
17699
enableval="$enable_info"
17704
_apmod_extra_msg=""
17705
if test "$module_selection" = "most" -a "$enable_info" = "most"; then
17706
_apmod_error_fatal="no"
17708
_apmod_error_fatal="yes"
17710
if test "$enable_info" = "static"; then
17712
elif test "$enable_info" = "yes"; then
17713
enable_info=$module_default
17714
_apmod_extra_msg=" ($module_selection)"
17715
elif test "$enable_info" = "most"; then
17716
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17717
enable_info=$module_default
17718
_apmod_extra_msg=" ($module_selection)"
17719
elif test "$enable_info" != "yes"; then
17722
elif test "$enable_info" = "maybe-all"; then
17723
if test "$module_selection" = "all"; then
17724
enable_info=$module_default
17725
_apmod_extra_msg=" (all)"
17730
if test "$enable_info" != "no"; then
17733
echo "$as_me:$LINENO: result: $enable_info$_apmod_extra_msg" >&5
17734
echo "${ECHO_T}$enable_info$_apmod_extra_msg" >&6
17735
if test "$enable_info" != "no"; then
17736
case "$enable_info" in
17738
enable_info=`echo $enable_info|sed 's/shared,*//'`
17741
DSO_MODULES="$DSO_MODULES info"
17744
MODLIST="$MODLIST info"
17745
if test "info" = "so"; then
17752
if test -z ""; then
17753
objects="mod_info.lo"
17758
if test -z "$module_standalone"; then
17759
if test -z "$shared"; then
17760
# The filename of a convenience library must have a "lib" prefix:
17761
libname="libmod_info.la"
17762
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17763
modpath_static="$modpath_static $libname"
17764
cat >>$modpath_current/modules.mk<<EOF
17766
\$(MOD_LINK) $objects \$(MOD_INFO_LDADD)
17769
apache_need_shared=yes
17770
libname="mod_info.la"
17771
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17772
modpath_shared="$modpath_shared $libname"
17773
cat >>$modpath_current/modules.mk<<EOF
17774
$libname: $shobjects
17775
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_INFO_LDADD)
17781
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_INFO_LDADD"
17788
echo "$as_me:$LINENO: checking whether to enable mod_suexec" >&5
17789
echo $ECHO_N "checking whether to enable mod_suexec... $ECHO_C" >&6
17790
# Check whether --enable-suexec or --disable-suexec was given.
17791
if test "${enable_suexec+set}" = set; then
17792
enableval="$enable_suexec"
17797
_apmod_extra_msg=""
17798
if test "$module_selection" = "most" -a "$enable_suexec" = "most"; then
17799
_apmod_error_fatal="no"
17801
_apmod_error_fatal="yes"
17803
if test "$enable_suexec" = "static"; then
17805
elif test "$enable_suexec" = "yes"; then
17806
enable_suexec=$module_default
17807
_apmod_extra_msg=" ($module_selection)"
17808
elif test "$enable_suexec" = "most"; then
17809
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17810
enable_suexec=$module_default
17811
_apmod_extra_msg=" ($module_selection)"
17812
elif test "$enable_suexec" != "yes"; then
17815
elif test "$enable_suexec" = "maybe-all"; then
17816
if test "$module_selection" = "all"; then
17817
enable_suexec=$module_default
17818
_apmod_extra_msg=" (all)"
17823
if test "$enable_suexec" != "no"; then
17824
echo "$as_me:$LINENO: result: checking dependencies" >&5
17825
echo "${ECHO_T}checking dependencies" >&6
17827
other_targets=suexec
17828
echo "$as_me:$LINENO: checking whether to enable mod_suexec" >&5
17829
echo $ECHO_N "checking whether to enable mod_suexec... $ECHO_C" >&6
17830
if test "$enable_suexec" = "no"; then
17831
if test "$_apmod_error_fatal" = "no"; then
17832
_apmod_extra_msg=" (disabled)"
17834
{ { echo "$as_me:$LINENO: error: mod_suexec has been requested but can not be built due to prerequisite failures" >&5
17835
echo "$as_me: error: mod_suexec has been requested but can not be built due to prerequisite failures" >&2;}
17836
{ (exit 1); exit 1; }; }
17840
echo "$as_me:$LINENO: result: $enable_suexec$_apmod_extra_msg" >&5
17841
echo "${ECHO_T}$enable_suexec$_apmod_extra_msg" >&6
17842
if test "$enable_suexec" != "no"; then
17843
case "$enable_suexec" in
17845
enable_suexec=`echo $enable_suexec|sed 's/shared,*//'`
17848
DSO_MODULES="$DSO_MODULES suexec"
17851
MODLIST="$MODLIST suexec"
17852
if test "suexec" = "so"; then
17859
if test -z ""; then
17860
objects="mod_suexec.lo"
17865
if test -z "$module_standalone"; then
17866
if test -z "$shared"; then
17867
# The filename of a convenience library must have a "lib" prefix:
17868
libname="libmod_suexec.la"
17869
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17870
modpath_static="$modpath_static $libname"
17871
cat >>$modpath_current/modules.mk<<EOF
17873
\$(MOD_LINK) $objects \$(MOD_SUEXEC_LDADD)
17876
apache_need_shared=yes
17877
libname="mod_suexec.la"
17878
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17879
modpath_shared="$modpath_shared $libname"
17880
cat >>$modpath_current/modules.mk<<EOF
17881
$libname: $shobjects
17882
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SUEXEC_LDADD)
17888
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SUEXEC_LDADD"
17895
if ap_mpm_is_threaded; then
17896
# if we are using a threaded MPM, we will get better performance with
17897
# mod_cgid, so make it the default.
17899
echo "$as_me:$LINENO: checking whether to enable mod_cgid" >&5
17900
echo $ECHO_N "checking whether to enable mod_cgid... $ECHO_C" >&6
17901
# Check whether --enable-cgid or --disable-cgid was given.
17902
if test "${enable_cgid+set}" = set; then
17903
enableval="$enable_cgid"
17908
_apmod_extra_msg=""
17909
if test "$module_selection" = "most" -a "$enable_cgid" = "most"; then
17910
_apmod_error_fatal="no"
17912
_apmod_error_fatal="yes"
17914
if test "$enable_cgid" = "static"; then
17916
elif test "$enable_cgid" = "yes"; then
17917
enable_cgid=$module_default
17918
_apmod_extra_msg=" ($module_selection)"
17919
elif test "$enable_cgid" = "most"; then
17920
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
17921
enable_cgid=$module_default
17922
_apmod_extra_msg=" ($module_selection)"
17923
elif test "$enable_cgid" != "yes"; then
17926
elif test "$enable_cgid" = "maybe-all"; then
17927
if test "$module_selection" = "all"; then
17928
enable_cgid=$module_default
17929
_apmod_extra_msg=" (all)"
17934
if test "$enable_cgid" != "no"; then
17937
echo "$as_me:$LINENO: result: $enable_cgid$_apmod_extra_msg" >&5
17938
echo "${ECHO_T}$enable_cgid$_apmod_extra_msg" >&6
17939
if test "$enable_cgid" != "no"; then
17940
case "$enable_cgid" in
17942
enable_cgid=`echo $enable_cgid|sed 's/shared,*//'`
17945
DSO_MODULES="$DSO_MODULES cgid"
17948
MODLIST="$MODLIST cgid"
17949
if test "cgid" = "so"; then
17956
if test -z ""; then
17957
objects="mod_cgid.lo"
17962
if test -z "$module_standalone"; then
17963
if test -z "$shared"; then
17964
# The filename of a convenience library must have a "lib" prefix:
17965
libname="libmod_cgid.la"
17966
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
17967
modpath_static="$modpath_static $libname"
17968
cat >>$modpath_current/modules.mk<<EOF
17970
\$(MOD_LINK) $objects \$(MOD_CGID_LDADD)
17973
apache_need_shared=yes
17974
libname="mod_cgid.la"
17975
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
17976
modpath_shared="$modpath_shared $libname"
17977
cat >>$modpath_current/modules.mk<<EOF
17978
$libname: $shobjects
17979
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGID_LDADD)
17985
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGID_LDADD"
17992
echo "$as_me:$LINENO: checking whether to enable mod_cgi" >&5
17993
echo $ECHO_N "checking whether to enable mod_cgi... $ECHO_C" >&6
17994
# Check whether --enable-cgi or --disable-cgi was given.
17995
if test "${enable_cgi+set}" = set; then
17996
enableval="$enable_cgi"
18001
_apmod_extra_msg=""
18002
if test "$module_selection" = "most" -a "$enable_cgi" = "most"; then
18003
_apmod_error_fatal="no"
18005
_apmod_error_fatal="yes"
18007
if test "$enable_cgi" = "static"; then
18009
elif test "$enable_cgi" = "yes"; then
18010
enable_cgi=$module_default
18011
_apmod_extra_msg=" ($module_selection)"
18012
elif test "$enable_cgi" = "most"; then
18013
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
18014
enable_cgi=$module_default
18015
_apmod_extra_msg=" ($module_selection)"
18016
elif test "$enable_cgi" != "yes"; then
18019
elif test "$enable_cgi" = "maybe-all"; then
18020
if test "$module_selection" = "all"; then
18021
enable_cgi=$module_default
18022
_apmod_extra_msg=" (all)"
18027
if test "$enable_cgi" != "no"; then
18030
echo "$as_me:$LINENO: result: $enable_cgi$_apmod_extra_msg" >&5
18031
echo "${ECHO_T}$enable_cgi$_apmod_extra_msg" >&6
18032
if test "$enable_cgi" != "no"; then
18033
case "$enable_cgi" in
18035
enable_cgi=`echo $enable_cgi|sed 's/shared,*//'`
18038
DSO_MODULES="$DSO_MODULES cgi"
18041
MODLIST="$MODLIST cgi"
18042
if test "cgi" = "so"; then
18049
if test -z ""; then
18050
objects="mod_cgi.lo"
18055
if test -z "$module_standalone"; then
18056
if test -z "$shared"; then
18057
# The filename of a convenience library must have a "lib" prefix:
18058
libname="libmod_cgi.la"
18059
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
18060
modpath_static="$modpath_static $libname"
18061
cat >>$modpath_current/modules.mk<<EOF
18063
\$(MOD_LINK) $objects \$(MOD_CGI_LDADD)
18066
apache_need_shared=yes
18067
libname="mod_cgi.la"
18068
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
18069
modpath_shared="$modpath_shared $libname"
18070
cat >>$modpath_current/modules.mk<<EOF
18071
$libname: $shobjects
18072
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGI_LDADD)
18078
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGI_LDADD"
18085
# if we are using a non-threaded MPM, it makes little sense to use
18086
# mod_cgid, and it just opens up holes we don't need. Make mod_cgi the
18089
echo "$as_me:$LINENO: checking whether to enable mod_cgi" >&5
18090
echo $ECHO_N "checking whether to enable mod_cgi... $ECHO_C" >&6
18091
# Check whether --enable-cgi or --disable-cgi was given.
18092
if test "${enable_cgi+set}" = set; then
18093
enableval="$enable_cgi"
18098
_apmod_extra_msg=""
18099
if test "$module_selection" = "most" -a "$enable_cgi" = "most"; then
18100
_apmod_error_fatal="no"
18102
_apmod_error_fatal="yes"
18104
if test "$enable_cgi" = "static"; then
18106
elif test "$enable_cgi" = "yes"; then
18107
enable_cgi=$module_default
18108
_apmod_extra_msg=" ($module_selection)"
18109
elif test "$enable_cgi" = "most"; then
18110
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
18111
enable_cgi=$module_default
18112
_apmod_extra_msg=" ($module_selection)"
18113
elif test "$enable_cgi" != "yes"; then
18116
elif test "$enable_cgi" = "maybe-all"; then
18117
if test "$module_selection" = "all"; then
18118
enable_cgi=$module_default
18119
_apmod_extra_msg=" (all)"
18124
if test "$enable_cgi" != "no"; then
18127
echo "$as_me:$LINENO: result: $enable_cgi$_apmod_extra_msg" >&5
18128
echo "${ECHO_T}$enable_cgi$_apmod_extra_msg" >&6
18129
if test "$enable_cgi" != "no"; then
18130
case "$enable_cgi" in
18132
enable_cgi=`echo $enable_cgi|sed 's/shared,*//'`
18135
DSO_MODULES="$DSO_MODULES cgi"
18138
MODLIST="$MODLIST cgi"
18139
if test "cgi" = "so"; then
18146
if test -z ""; then
18147
objects="mod_cgi.lo"
18152
if test -z "$module_standalone"; then
18153
if test -z "$shared"; then
18154
# The filename of a convenience library must have a "lib" prefix:
18155
libname="libmod_cgi.la"
18156
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
18157
modpath_static="$modpath_static $libname"
18158
cat >>$modpath_current/modules.mk<<EOF
18160
\$(MOD_LINK) $objects \$(MOD_CGI_LDADD)
18163
apache_need_shared=yes
18164
libname="mod_cgi.la"
18165
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
18166
modpath_shared="$modpath_shared $libname"
18167
cat >>$modpath_current/modules.mk<<EOF
18168
$libname: $shobjects
18169
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGI_LDADD)
18175
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGI_LDADD"
18182
echo "$as_me:$LINENO: checking whether to enable mod_cgid" >&5
18183
echo $ECHO_N "checking whether to enable mod_cgid... $ECHO_C" >&6
18184
# Check whether --enable-cgid or --disable-cgid was given.
18185
if test "${enable_cgid+set}" = set; then
18186
enableval="$enable_cgid"
18191
_apmod_extra_msg=""
18192
if test "$module_selection" = "most" -a "$enable_cgid" = "most"; then
18193
_apmod_error_fatal="no"
18195
_apmod_error_fatal="yes"
18197
if test "$enable_cgid" = "static"; then
18199
elif test "$enable_cgid" = "yes"; then
18200
enable_cgid=$module_default
18201
_apmod_extra_msg=" ($module_selection)"
18202
elif test "$enable_cgid" = "most"; then
18203
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
18204
enable_cgid=$module_default
18205
_apmod_extra_msg=" ($module_selection)"
18206
elif test "$enable_cgid" != "yes"; then
18209
elif test "$enable_cgid" = "maybe-all"; then
18210
if test "$module_selection" = "all"; then
18211
enable_cgid=$module_default
18212
_apmod_extra_msg=" (all)"
18217
if test "$enable_cgid" != "no"; then
18220
echo "$as_me:$LINENO: result: $enable_cgid$_apmod_extra_msg" >&5
18221
echo "${ECHO_T}$enable_cgid$_apmod_extra_msg" >&6
18222
if test "$enable_cgid" != "no"; then
18223
case "$enable_cgid" in
18225
enable_cgid=`echo $enable_cgid|sed 's/shared,*//'`
18228
DSO_MODULES="$DSO_MODULES cgid"
18231
MODLIST="$MODLIST cgid"
18232
if test "cgid" = "so"; then
18239
if test -z ""; then
18240
objects="mod_cgid.lo"
18245
if test -z "$module_standalone"; then
18246
if test -z "$shared"; then
18247
# The filename of a convenience library must have a "lib" prefix:
18248
libname="libmod_cgid.la"
18249
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
18250
modpath_static="$modpath_static $libname"
18251
cat >>$modpath_current/modules.mk<<EOF
18253
\$(MOD_LINK) $objects \$(MOD_CGID_LDADD)
18256
apache_need_shared=yes
18257
libname="mod_cgid.la"
18258
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
18259
modpath_shared="$modpath_shared $libname"
18260
cat >>$modpath_current/modules.mk<<EOF
18261
$libname: $shobjects
18262
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_CGID_LDADD)
18268
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_CGID_LDADD"
18277
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
18278
echo "static = $modpath_static" >> $modpath_current/modules.mk
18279
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
18280
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
18281
MODULE_DIRS="$MODULE_DIRS $current_dir"
18283
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
18286
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
18291
if test "$MPM_NAME" = "beos" ; then
18292
apache_apr_flags="--enable-threads"
18295
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
18300
if test "$MPM_NAME" = "event" ; then
18302
for ac_func in pthread_kill
18304
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18305
echo "$as_me:$LINENO: checking for $ac_func" >&5
18306
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18307
if eval "test \"\${$as_ac_var+set}\" = set"; then
18308
echo $ECHO_N "(cached) $ECHO_C" >&6
18310
cat >conftest.$ac_ext <<_ACEOF
18313
cat confdefs.h >>conftest.$ac_ext
18314
cat >>conftest.$ac_ext <<_ACEOF
18315
/* end confdefs.h. */
18316
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18317
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18318
#define $ac_func innocuous_$ac_func
18320
/* System header to define __stub macros and hopefully few prototypes,
18321
which can conflict with char $ac_func (); below.
18322
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18323
<limits.h> exists even on freestanding compilers. */
18326
# include <limits.h>
18328
# include <assert.h>
18333
/* Override any gcc2 internal prototype to avoid an error. */
18338
/* We use char because int might match the return type of a gcc2
18339
builtin and then its argument prototype would still apply. */
18341
/* The GNU C library defines this for functions which it implements
18342
to always fail with ENOSYS. Some functions are actually named
18343
something starting with __ and the normal name is an alias. */
18344
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18347
char (*f) () = $ac_func;
18356
return f != $ac_func;
18361
rm -f conftest.$ac_objext conftest$ac_exeext
18362
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18363
(eval $ac_link) 2>conftest.er1
18365
grep -v '^ *+' conftest.er1 >conftest.err
18367
cat conftest.err >&5
18368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369
(exit $ac_status); } &&
18370
{ ac_try='test -z "$ac_c_werror_flag"
18371
|| test ! -s conftest.err'
18372
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373
(eval $ac_try) 2>&5
18375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376
(exit $ac_status); }; } &&
18377
{ ac_try='test -s conftest$ac_exeext'
18378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379
(eval $ac_try) 2>&5
18381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382
(exit $ac_status); }; }; then
18383
eval "$as_ac_var=yes"
18385
echo "$as_me: failed program was:" >&5
18386
sed 's/^/| /' conftest.$ac_ext >&5
18388
eval "$as_ac_var=no"
18390
rm -f conftest.err conftest.$ac_objext \
18391
conftest$ac_exeext conftest.$ac_ext
18393
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18394
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18395
if test `eval echo '${'$as_ac_var'}'` = yes; then
18396
cat >>confdefs.h <<_ACEOF
18397
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18404
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_SUBDIR_NAME/Makefile"
18408
if test "$MPM_NAME" = "mpmt_os2" ; then
18409
cat >confcache <<\_ACEOF
18410
# This file is a shell script that caches the results of configure
18411
# tests run on this system so they can be shared between configure
18412
# scripts and configure runs, see configure's option --config-cache.
18413
# It is not useful on other systems. If it contains results you don't
18414
# want to keep, you may remove or edit it.
18416
# config.status only pays attention to the cache file if you give it
18417
# the --recheck option to rerun configure.
18419
# `ac_cv_env_foo' variables (set or unset) will be overridden when
18420
# loading this file, other *unset* `ac_cv_foo' will be assigned the
18421
# following values.
18425
# The following way of writing the cache mishandles newlines in values,
18426
# but we know of no workaround that is simple, portable, and efficient.
18427
# So, don't put newlines in cache variables' values.
18428
# Ultrix sh set writes to stderr and can't be redirected directly,
18429
# and sets the high bit in the cache file unless we assign to the vars.
18432
case `(ac_space=' '; set | grep ac_space) 2>&1` in
18434
# `set' does not quote correctly, so add quotes (double-quote
18435
# substitution turns \\\\ into \\, and sed turns \\ into \).
18438
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18441
# `set' quotes correctly as required by POSIX, so do not add quotes.
18443
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18450
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18452
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18454
if diff $cache_file confcache >/dev/null 2>&1; then :; else
18455
if test -w $cache_file; then
18456
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18457
cat confcache >$cache_file
18459
echo "not updating unwritable cache $cache_file"
18464
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
18467
if test "x$CFLAGS" = "x"; then
18468
test "x$silent" != "xyes" && echo " setting CFLAGS to \"-Zmt\""
18471
apr_addto_bugger="-Zmt"
18472
for i in $apr_addto_bugger; do
18473
apr_addto_duplicate="0"
18474
for j in $CFLAGS; do
18475
if test "x$i" = "x$j"; then
18476
apr_addto_duplicate="1"
18480
if test $apr_addto_duplicate = "0"; then
18481
test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS"
18482
CFLAGS="$CFLAGS $i"
18490
if test "$MPM_NAME" = "worker" ; then
18492
for ac_func in pthread_kill
18494
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18495
echo "$as_me:$LINENO: checking for $ac_func" >&5
18496
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18497
if eval "test \"\${$as_ac_var+set}\" = set"; then
18498
echo $ECHO_N "(cached) $ECHO_C" >&6
18500
cat >conftest.$ac_ext <<_ACEOF
18503
cat confdefs.h >>conftest.$ac_ext
18504
cat >>conftest.$ac_ext <<_ACEOF
18505
/* end confdefs.h. */
18506
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18507
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18508
#define $ac_func innocuous_$ac_func
18510
/* System header to define __stub macros and hopefully few prototypes,
18511
which can conflict with char $ac_func (); below.
18512
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18513
<limits.h> exists even on freestanding compilers. */
18516
# include <limits.h>
18518
# include <assert.h>
18523
/* Override any gcc2 internal prototype to avoid an error. */
18528
/* We use char because int might match the return type of a gcc2
18529
builtin and then its argument prototype would still apply. */
18531
/* The GNU C library defines this for functions which it implements
18532
to always fail with ENOSYS. Some functions are actually named
18533
something starting with __ and the normal name is an alias. */
18534
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18537
char (*f) () = $ac_func;
18546
return f != $ac_func;
18551
rm -f conftest.$ac_objext conftest$ac_exeext
18552
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18553
(eval $ac_link) 2>conftest.er1
18555
grep -v '^ *+' conftest.er1 >conftest.err
18557
cat conftest.err >&5
18558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559
(exit $ac_status); } &&
18560
{ ac_try='test -z "$ac_c_werror_flag"
18561
|| test ! -s conftest.err'
18562
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563
(eval $ac_try) 2>&5
18565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566
(exit $ac_status); }; } &&
18567
{ ac_try='test -s conftest$ac_exeext'
18568
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569
(eval $ac_try) 2>&5
18571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572
(exit $ac_status); }; }; then
18573
eval "$as_ac_var=yes"
18575
echo "$as_me: failed program was:" >&5
18576
sed 's/^/| /' conftest.$ac_ext >&5
18578
eval "$as_ac_var=no"
18580
rm -f conftest.err conftest.$ac_objext \
18581
conftest$ac_exeext conftest.$ac_ext
18583
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18584
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18585
if test `eval echo '${'$as_ac_var'}'` = yes; then
18586
cat >>confdefs.h <<_ACEOF
18587
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18594
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES server/mpm/$MPM_NAME/Makefile"
18601
modpath_current=modules/dav/fs
18604
test -d dav/fs || $srcdir/build/mkdir.sh $modpath_current
18605
> $modpath_current/modules.mk
18608
dav_fs_objects="mod_dav_fs.lo dbm.lo lock.lo repos.lo"
18610
if test "x$enable_dav" != "x"; then
18611
dav_fs_enable=$enable_dav
18613
dav_fs_enable=$dav_enable
18618
# OS/2 DLLs must resolve all symbols at build time
18619
# and we need some from main DAV module
18620
dav_fs_objects="$dav_fs_objects ../main/mod_dav.la"
18625
echo "$as_me:$LINENO: checking whether to enable mod_dav_fs" >&5
18626
echo $ECHO_N "checking whether to enable mod_dav_fs... $ECHO_C" >&6
18627
# Check whether --enable-dav-fs or --disable-dav-fs was given.
18628
if test "${enable_dav_fs+set}" = set; then
18629
enableval="$enable_dav_fs"
18632
enable_dav_fs=$dav_fs_enable
18634
_apmod_extra_msg=""
18635
if test "$module_selection" = "most" -a "$enable_dav_fs" = "most"; then
18636
_apmod_error_fatal="no"
18638
_apmod_error_fatal="yes"
18640
if test "$enable_dav_fs" = "static"; then
18642
elif test "$enable_dav_fs" = "yes"; then
18643
enable_dav_fs=$module_default
18644
_apmod_extra_msg=" ($module_selection)"
18645
elif test "$enable_dav_fs" = "most"; then
18646
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
18647
enable_dav_fs=$module_default
18648
_apmod_extra_msg=" ($module_selection)"
18649
elif test "$enable_dav_fs" != "yes"; then
18652
elif test "$enable_dav_fs" = "maybe-all"; then
18653
if test "$module_selection" = "all"; then
18654
enable_dav_fs=$module_default
18655
_apmod_extra_msg=" (all)"
18660
if test "$enable_dav_fs" != "no"; then
18663
echo "$as_me:$LINENO: result: $enable_dav_fs$_apmod_extra_msg" >&5
18664
echo "${ECHO_T}$enable_dav_fs$_apmod_extra_msg" >&6
18665
if test "$enable_dav_fs" != "no"; then
18666
case "$enable_dav_fs" in
18668
enable_dav_fs=`echo $enable_dav_fs|sed 's/shared,*//'`
18671
DSO_MODULES="$DSO_MODULES dav_fs"
18674
MODLIST="$MODLIST dav_fs"
18675
if test "dav_fs" = "so"; then
18682
if test -z "$dav_fs_objects"; then
18683
objects="mod_dav_fs.lo"
18685
objects="$dav_fs_objects"
18688
if test -z "$module_standalone"; then
18689
if test -z "$shared"; then
18690
# The filename of a convenience library must have a "lib" prefix:
18691
libname="libmod_dav_fs.la"
18692
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
18693
modpath_static="$modpath_static $libname"
18694
cat >>$modpath_current/modules.mk<<EOF
18696
\$(MOD_LINK) $objects \$(MOD_DAV_FS_LDADD)
18699
apache_need_shared=yes
18700
libname="mod_dav_fs.la"
18701
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
18702
modpath_shared="$modpath_shared $libname"
18703
cat >>$modpath_current/modules.mk<<EOF
18704
$libname: $shobjects
18705
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DAV_FS_LDADD)
18711
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DAV_FS_LDADD"
18719
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
18720
echo "static = $modpath_static" >> $modpath_current/modules.mk
18721
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
18722
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
18723
MODULE_DIRS="$MODULE_DIRS $current_dir"
18725
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
18728
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
18734
current_dir=dav/lock
18735
modpath_current=modules/dav/lock
18738
test -d dav/lock || $srcdir/build/mkdir.sh $modpath_current
18739
> $modpath_current/modules.mk
18742
dav_lock_objects="mod_dav_lock.lo locks.lo"
18746
# OS/2 DLLs must resolve all symbols at build time
18747
# and we need some from main DAV module
18748
dav_lock_objects="$dav_lock_objects ../main/mod_dav.la"
18753
echo "$as_me:$LINENO: checking whether to enable mod_dav_lock" >&5
18754
echo $ECHO_N "checking whether to enable mod_dav_lock... $ECHO_C" >&6
18755
# Check whether --enable-dav-lock or --disable-dav-lock was given.
18756
if test "${enable_dav_lock+set}" = set; then
18757
enableval="$enable_dav_lock"
18762
_apmod_extra_msg=""
18763
if test "$module_selection" = "most" -a "$enable_dav_lock" = "most"; then
18764
_apmod_error_fatal="no"
18766
_apmod_error_fatal="yes"
18768
if test "$enable_dav_lock" = "static"; then
18769
enable_dav_lock=yes
18770
elif test "$enable_dav_lock" = "yes"; then
18771
enable_dav_lock=$module_default
18772
_apmod_extra_msg=" ($module_selection)"
18773
elif test "$enable_dav_lock" = "most"; then
18774
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
18775
enable_dav_lock=$module_default
18776
_apmod_extra_msg=" ($module_selection)"
18777
elif test "$enable_dav_lock" != "yes"; then
18780
elif test "$enable_dav_lock" = "maybe-all"; then
18781
if test "$module_selection" = "all"; then
18782
enable_dav_lock=$module_default
18783
_apmod_extra_msg=" (all)"
18788
if test "$enable_dav_lock" != "no"; then
18791
echo "$as_me:$LINENO: result: $enable_dav_lock$_apmod_extra_msg" >&5
18792
echo "${ECHO_T}$enable_dav_lock$_apmod_extra_msg" >&6
18793
if test "$enable_dav_lock" != "no"; then
18794
case "$enable_dav_lock" in
18796
enable_dav_lock=`echo $enable_dav_lock|sed 's/shared,*//'`
18799
DSO_MODULES="$DSO_MODULES dav_lock"
18802
MODLIST="$MODLIST dav_lock"
18803
if test "dav_lock" = "so"; then
18810
if test -z "$dav_lock_objects"; then
18811
objects="mod_dav_lock.lo"
18813
objects="$dav_lock_objects"
18816
if test -z "$module_standalone"; then
18817
if test -z "$shared"; then
18818
# The filename of a convenience library must have a "lib" prefix:
18819
libname="libmod_dav_lock.la"
18820
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
18821
modpath_static="$modpath_static $libname"
18822
cat >>$modpath_current/modules.mk<<EOF
18824
\$(MOD_LINK) $objects \$(MOD_DAV_LOCK_LDADD)
18827
apache_need_shared=yes
18828
libname="mod_dav_lock.la"
18829
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
18830
modpath_shared="$modpath_shared $libname"
18831
cat >>$modpath_current/modules.mk<<EOF
18832
$libname: $shobjects
18833
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DAV_LOCK_LDADD)
18839
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DAV_LOCK_LDADD"
18847
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
18848
echo "static = $modpath_static" >> $modpath_current/modules.mk
18849
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
18850
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
18851
MODULE_DIRS="$MODULE_DIRS $current_dir"
18853
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
18856
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
18863
current_dir=mappers
18864
modpath_current=modules/mappers
18867
test -d mappers || $srcdir/build/mkdir.sh $modpath_current
18868
> $modpath_current/modules.mk
18872
echo "$as_me:$LINENO: checking whether to enable mod_vhost_alias" >&5
18873
echo $ECHO_N "checking whether to enable mod_vhost_alias... $ECHO_C" >&6
18874
# Check whether --enable-vhost-alias or --disable-vhost-alias was given.
18875
if test "${enable_vhost_alias+set}" = set; then
18876
enableval="$enable_vhost_alias"
18879
enable_vhost_alias=most
18881
_apmod_extra_msg=""
18882
if test "$module_selection" = "most" -a "$enable_vhost_alias" = "most"; then
18883
_apmod_error_fatal="no"
18885
_apmod_error_fatal="yes"
18887
if test "$enable_vhost_alias" = "static"; then
18888
enable_vhost_alias=yes
18889
elif test "$enable_vhost_alias" = "yes"; then
18890
enable_vhost_alias=$module_default
18891
_apmod_extra_msg=" ($module_selection)"
18892
elif test "$enable_vhost_alias" = "most"; then
18893
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
18894
enable_vhost_alias=$module_default
18895
_apmod_extra_msg=" ($module_selection)"
18896
elif test "$enable_vhost_alias" != "yes"; then
18897
enable_vhost_alias=no
18899
elif test "$enable_vhost_alias" = "maybe-all"; then
18900
if test "$module_selection" = "all"; then
18901
enable_vhost_alias=$module_default
18902
_apmod_extra_msg=" (all)"
18904
enable_vhost_alias=no
18907
if test "$enable_vhost_alias" != "no"; then
18910
echo "$as_me:$LINENO: result: $enable_vhost_alias$_apmod_extra_msg" >&5
18911
echo "${ECHO_T}$enable_vhost_alias$_apmod_extra_msg" >&6
18912
if test "$enable_vhost_alias" != "no"; then
18913
case "$enable_vhost_alias" in
18915
enable_vhost_alias=`echo $enable_vhost_alias|sed 's/shared,*//'`
18918
DSO_MODULES="$DSO_MODULES vhost_alias"
18921
MODLIST="$MODLIST vhost_alias"
18922
if test "vhost_alias" = "so"; then
18929
if test -z ""; then
18930
objects="mod_vhost_alias.lo"
18935
if test -z "$module_standalone"; then
18936
if test -z "$shared"; then
18937
# The filename of a convenience library must have a "lib" prefix:
18938
libname="libmod_vhost_alias.la"
18939
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
18940
modpath_static="$modpath_static $libname"
18941
cat >>$modpath_current/modules.mk<<EOF
18943
\$(MOD_LINK) $objects \$(MOD_VHOST_ALIAS_LDADD)
18946
apache_need_shared=yes
18947
libname="mod_vhost_alias.la"
18948
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
18949
modpath_shared="$modpath_shared $libname"
18950
cat >>$modpath_current/modules.mk<<EOF
18951
$libname: $shobjects
18952
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_VHOST_ALIAS_LDADD)
18958
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_VHOST_ALIAS_LDADD"
18965
echo "$as_me:$LINENO: checking whether to enable mod_negotiation" >&5
18966
echo $ECHO_N "checking whether to enable mod_negotiation... $ECHO_C" >&6
18967
# Check whether --enable-negotiation or --disable-negotiation was given.
18968
if test "${enable_negotiation+set}" = set; then
18969
enableval="$enable_negotiation"
18972
enable_negotiation=yes
18974
_apmod_extra_msg=""
18975
if test "$module_selection" = "most" -a "$enable_negotiation" = "most"; then
18976
_apmod_error_fatal="no"
18978
_apmod_error_fatal="yes"
18980
if test "$enable_negotiation" = "static"; then
18981
enable_negotiation=yes
18982
elif test "$enable_negotiation" = "yes"; then
18983
enable_negotiation=$module_default
18984
_apmod_extra_msg=" ($module_selection)"
18985
elif test "$enable_negotiation" = "most"; then
18986
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
18987
enable_negotiation=$module_default
18988
_apmod_extra_msg=" ($module_selection)"
18989
elif test "$enable_negotiation" != "yes"; then
18990
enable_negotiation=no
18992
elif test "$enable_negotiation" = "maybe-all"; then
18993
if test "$module_selection" = "all"; then
18994
enable_negotiation=$module_default
18995
_apmod_extra_msg=" (all)"
18997
enable_negotiation=no
19000
if test "$enable_negotiation" != "no"; then
19003
echo "$as_me:$LINENO: result: $enable_negotiation$_apmod_extra_msg" >&5
19004
echo "${ECHO_T}$enable_negotiation$_apmod_extra_msg" >&6
19005
if test "$enable_negotiation" != "no"; then
19006
case "$enable_negotiation" in
19008
enable_negotiation=`echo $enable_negotiation|sed 's/shared,*//'`
19011
DSO_MODULES="$DSO_MODULES negotiation"
19014
MODLIST="$MODLIST negotiation"
19015
if test "negotiation" = "so"; then
19022
if test -z ""; then
19023
objects="mod_negotiation.lo"
19028
if test -z "$module_standalone"; then
19029
if test -z "$shared"; then
19030
# The filename of a convenience library must have a "lib" prefix:
19031
libname="libmod_negotiation.la"
19032
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19033
modpath_static="$modpath_static $libname"
19034
cat >>$modpath_current/modules.mk<<EOF
19036
\$(MOD_LINK) $objects \$(MOD_NEGOTIATION_LDADD)
19039
apache_need_shared=yes
19040
libname="mod_negotiation.la"
19041
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19042
modpath_shared="$modpath_shared $libname"
19043
cat >>$modpath_current/modules.mk<<EOF
19044
$libname: $shobjects
19045
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_NEGOTIATION_LDADD)
19051
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_NEGOTIATION_LDADD"
19058
echo "$as_me:$LINENO: checking whether to enable mod_dir" >&5
19059
echo $ECHO_N "checking whether to enable mod_dir... $ECHO_C" >&6
19060
# Check whether --enable-dir or --disable-dir was given.
19061
if test "${enable_dir+set}" = set; then
19062
enableval="$enable_dir"
19067
_apmod_extra_msg=""
19068
if test "$module_selection" = "most" -a "$enable_dir" = "most"; then
19069
_apmod_error_fatal="no"
19071
_apmod_error_fatal="yes"
19073
if test "$enable_dir" = "static"; then
19075
elif test "$enable_dir" = "yes"; then
19076
enable_dir=$module_default
19077
_apmod_extra_msg=" ($module_selection)"
19078
elif test "$enable_dir" = "most"; then
19079
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19080
enable_dir=$module_default
19081
_apmod_extra_msg=" ($module_selection)"
19082
elif test "$enable_dir" != "yes"; then
19085
elif test "$enable_dir" = "maybe-all"; then
19086
if test "$module_selection" = "all"; then
19087
enable_dir=$module_default
19088
_apmod_extra_msg=" (all)"
19093
if test "$enable_dir" != "no"; then
19096
echo "$as_me:$LINENO: result: $enable_dir$_apmod_extra_msg" >&5
19097
echo "${ECHO_T}$enable_dir$_apmod_extra_msg" >&6
19098
if test "$enable_dir" != "no"; then
19099
case "$enable_dir" in
19101
enable_dir=`echo $enable_dir|sed 's/shared,*//'`
19104
DSO_MODULES="$DSO_MODULES dir"
19107
MODLIST="$MODLIST dir"
19108
if test "dir" = "so"; then
19115
if test -z ""; then
19116
objects="mod_dir.lo"
19121
if test -z "$module_standalone"; then
19122
if test -z "$shared"; then
19123
# The filename of a convenience library must have a "lib" prefix:
19124
libname="libmod_dir.la"
19125
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19126
modpath_static="$modpath_static $libname"
19127
cat >>$modpath_current/modules.mk<<EOF
19129
\$(MOD_LINK) $objects \$(MOD_DIR_LDADD)
19132
apache_need_shared=yes
19133
libname="mod_dir.la"
19134
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19135
modpath_shared="$modpath_shared $libname"
19136
cat >>$modpath_current/modules.mk<<EOF
19137
$libname: $shobjects
19138
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_DIR_LDADD)
19144
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_DIR_LDADD"
19151
echo "$as_me:$LINENO: checking whether to enable mod_imagemap" >&5
19152
echo $ECHO_N "checking whether to enable mod_imagemap... $ECHO_C" >&6
19153
# Check whether --enable-imagemap or --disable-imagemap was given.
19154
if test "${enable_imagemap+set}" = set; then
19155
enableval="$enable_imagemap"
19158
enable_imagemap=most
19160
_apmod_extra_msg=""
19161
if test "$module_selection" = "most" -a "$enable_imagemap" = "most"; then
19162
_apmod_error_fatal="no"
19164
_apmod_error_fatal="yes"
19166
if test "$enable_imagemap" = "static"; then
19167
enable_imagemap=yes
19168
elif test "$enable_imagemap" = "yes"; then
19169
enable_imagemap=$module_default
19170
_apmod_extra_msg=" ($module_selection)"
19171
elif test "$enable_imagemap" = "most"; then
19172
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19173
enable_imagemap=$module_default
19174
_apmod_extra_msg=" ($module_selection)"
19175
elif test "$enable_imagemap" != "yes"; then
19178
elif test "$enable_imagemap" = "maybe-all"; then
19179
if test "$module_selection" = "all"; then
19180
enable_imagemap=$module_default
19181
_apmod_extra_msg=" (all)"
19186
if test "$enable_imagemap" != "no"; then
19189
echo "$as_me:$LINENO: result: $enable_imagemap$_apmod_extra_msg" >&5
19190
echo "${ECHO_T}$enable_imagemap$_apmod_extra_msg" >&6
19191
if test "$enable_imagemap" != "no"; then
19192
case "$enable_imagemap" in
19194
enable_imagemap=`echo $enable_imagemap|sed 's/shared,*//'`
19197
DSO_MODULES="$DSO_MODULES imagemap"
19200
MODLIST="$MODLIST imagemap"
19201
if test "imagemap" = "so"; then
19208
if test -z ""; then
19209
objects="mod_imagemap.lo"
19214
if test -z "$module_standalone"; then
19215
if test -z "$shared"; then
19216
# The filename of a convenience library must have a "lib" prefix:
19217
libname="libmod_imagemap.la"
19218
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19219
modpath_static="$modpath_static $libname"
19220
cat >>$modpath_current/modules.mk<<EOF
19222
\$(MOD_LINK) $objects \$(MOD_IMAGEMAP_LDADD)
19225
apache_need_shared=yes
19226
libname="mod_imagemap.la"
19227
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19228
modpath_shared="$modpath_shared $libname"
19229
cat >>$modpath_current/modules.mk<<EOF
19230
$libname: $shobjects
19231
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_IMAGEMAP_LDADD)
19237
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_IMAGEMAP_LDADD"
19244
echo "$as_me:$LINENO: checking whether to enable mod_actions" >&5
19245
echo $ECHO_N "checking whether to enable mod_actions... $ECHO_C" >&6
19246
# Check whether --enable-actions or --disable-actions was given.
19247
if test "${enable_actions+set}" = set; then
19248
enableval="$enable_actions"
19253
_apmod_extra_msg=""
19254
if test "$module_selection" = "most" -a "$enable_actions" = "most"; then
19255
_apmod_error_fatal="no"
19257
_apmod_error_fatal="yes"
19259
if test "$enable_actions" = "static"; then
19261
elif test "$enable_actions" = "yes"; then
19262
enable_actions=$module_default
19263
_apmod_extra_msg=" ($module_selection)"
19264
elif test "$enable_actions" = "most"; then
19265
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19266
enable_actions=$module_default
19267
_apmod_extra_msg=" ($module_selection)"
19268
elif test "$enable_actions" != "yes"; then
19271
elif test "$enable_actions" = "maybe-all"; then
19272
if test "$module_selection" = "all"; then
19273
enable_actions=$module_default
19274
_apmod_extra_msg=" (all)"
19279
if test "$enable_actions" != "no"; then
19282
echo "$as_me:$LINENO: result: $enable_actions$_apmod_extra_msg" >&5
19283
echo "${ECHO_T}$enable_actions$_apmod_extra_msg" >&6
19284
if test "$enable_actions" != "no"; then
19285
case "$enable_actions" in
19287
enable_actions=`echo $enable_actions|sed 's/shared,*//'`
19290
DSO_MODULES="$DSO_MODULES actions"
19293
MODLIST="$MODLIST actions"
19294
if test "actions" = "so"; then
19301
if test -z ""; then
19302
objects="mod_actions.lo"
19307
if test -z "$module_standalone"; then
19308
if test -z "$shared"; then
19309
# The filename of a convenience library must have a "lib" prefix:
19310
libname="libmod_actions.la"
19311
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19312
modpath_static="$modpath_static $libname"
19313
cat >>$modpath_current/modules.mk<<EOF
19315
\$(MOD_LINK) $objects \$(MOD_ACTIONS_LDADD)
19318
apache_need_shared=yes
19319
libname="mod_actions.la"
19320
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19321
modpath_shared="$modpath_shared $libname"
19322
cat >>$modpath_current/modules.mk<<EOF
19323
$libname: $shobjects
19324
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ACTIONS_LDADD)
19330
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ACTIONS_LDADD"
19337
echo "$as_me:$LINENO: checking whether to enable mod_speling" >&5
19338
echo $ECHO_N "checking whether to enable mod_speling... $ECHO_C" >&6
19339
# Check whether --enable-speling or --disable-speling was given.
19340
if test "${enable_speling+set}" = set; then
19341
enableval="$enable_speling"
19344
enable_speling=most
19346
_apmod_extra_msg=""
19347
if test "$module_selection" = "most" -a "$enable_speling" = "most"; then
19348
_apmod_error_fatal="no"
19350
_apmod_error_fatal="yes"
19352
if test "$enable_speling" = "static"; then
19354
elif test "$enable_speling" = "yes"; then
19355
enable_speling=$module_default
19356
_apmod_extra_msg=" ($module_selection)"
19357
elif test "$enable_speling" = "most"; then
19358
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19359
enable_speling=$module_default
19360
_apmod_extra_msg=" ($module_selection)"
19361
elif test "$enable_speling" != "yes"; then
19364
elif test "$enable_speling" = "maybe-all"; then
19365
if test "$module_selection" = "all"; then
19366
enable_speling=$module_default
19367
_apmod_extra_msg=" (all)"
19372
if test "$enable_speling" != "no"; then
19375
echo "$as_me:$LINENO: result: $enable_speling$_apmod_extra_msg" >&5
19376
echo "${ECHO_T}$enable_speling$_apmod_extra_msg" >&6
19377
if test "$enable_speling" != "no"; then
19378
case "$enable_speling" in
19380
enable_speling=`echo $enable_speling|sed 's/shared,*//'`
19383
DSO_MODULES="$DSO_MODULES speling"
19386
MODLIST="$MODLIST speling"
19387
if test "speling" = "so"; then
19394
if test -z ""; then
19395
objects="mod_speling.lo"
19400
if test -z "$module_standalone"; then
19401
if test -z "$shared"; then
19402
# The filename of a convenience library must have a "lib" prefix:
19403
libname="libmod_speling.la"
19404
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19405
modpath_static="$modpath_static $libname"
19406
cat >>$modpath_current/modules.mk<<EOF
19408
\$(MOD_LINK) $objects \$(MOD_SPELING_LDADD)
19411
apache_need_shared=yes
19412
libname="mod_speling.la"
19413
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19414
modpath_shared="$modpath_shared $libname"
19415
cat >>$modpath_current/modules.mk<<EOF
19416
$libname: $shobjects
19417
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SPELING_LDADD)
19423
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SPELING_LDADD"
19430
echo "$as_me:$LINENO: checking whether to enable mod_userdir" >&5
19431
echo $ECHO_N "checking whether to enable mod_userdir... $ECHO_C" >&6
19432
# Check whether --enable-userdir or --disable-userdir was given.
19433
if test "${enable_userdir+set}" = set; then
19434
enableval="$enable_userdir"
19439
_apmod_extra_msg=""
19440
if test "$module_selection" = "most" -a "$enable_userdir" = "most"; then
19441
_apmod_error_fatal="no"
19443
_apmod_error_fatal="yes"
19445
if test "$enable_userdir" = "static"; then
19447
elif test "$enable_userdir" = "yes"; then
19448
enable_userdir=$module_default
19449
_apmod_extra_msg=" ($module_selection)"
19450
elif test "$enable_userdir" = "most"; then
19451
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19452
enable_userdir=$module_default
19453
_apmod_extra_msg=" ($module_selection)"
19454
elif test "$enable_userdir" != "yes"; then
19457
elif test "$enable_userdir" = "maybe-all"; then
19458
if test "$module_selection" = "all"; then
19459
enable_userdir=$module_default
19460
_apmod_extra_msg=" (all)"
19465
if test "$enable_userdir" != "no"; then
19468
echo "$as_me:$LINENO: result: $enable_userdir$_apmod_extra_msg" >&5
19469
echo "${ECHO_T}$enable_userdir$_apmod_extra_msg" >&6
19470
if test "$enable_userdir" != "no"; then
19471
case "$enable_userdir" in
19473
enable_userdir=`echo $enable_userdir|sed 's/shared,*//'`
19476
DSO_MODULES="$DSO_MODULES userdir"
19479
MODLIST="$MODLIST userdir"
19480
if test "userdir" = "so"; then
19487
if test -z ""; then
19488
objects="mod_userdir.lo"
19493
if test -z "$module_standalone"; then
19494
if test -z "$shared"; then
19495
# The filename of a convenience library must have a "lib" prefix:
19496
libname="libmod_userdir.la"
19497
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19498
modpath_static="$modpath_static $libname"
19499
cat >>$modpath_current/modules.mk<<EOF
19501
\$(MOD_LINK) $objects \$(MOD_USERDIR_LDADD)
19504
apache_need_shared=yes
19505
libname="mod_userdir.la"
19506
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19507
modpath_shared="$modpath_shared $libname"
19508
cat >>$modpath_current/modules.mk<<EOF
19509
$libname: $shobjects
19510
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_USERDIR_LDADD)
19516
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_USERDIR_LDADD"
19523
echo "$as_me:$LINENO: checking whether to enable mod_alias" >&5
19524
echo $ECHO_N "checking whether to enable mod_alias... $ECHO_C" >&6
19525
# Check whether --enable-alias or --disable-alias was given.
19526
if test "${enable_alias+set}" = set; then
19527
enableval="$enable_alias"
19532
_apmod_extra_msg=""
19533
if test "$module_selection" = "most" -a "$enable_alias" = "most"; then
19534
_apmod_error_fatal="no"
19536
_apmod_error_fatal="yes"
19538
if test "$enable_alias" = "static"; then
19540
elif test "$enable_alias" = "yes"; then
19541
enable_alias=$module_default
19542
_apmod_extra_msg=" ($module_selection)"
19543
elif test "$enable_alias" = "most"; then
19544
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19545
enable_alias=$module_default
19546
_apmod_extra_msg=" ($module_selection)"
19547
elif test "$enable_alias" != "yes"; then
19550
elif test "$enable_alias" = "maybe-all"; then
19551
if test "$module_selection" = "all"; then
19552
enable_alias=$module_default
19553
_apmod_extra_msg=" (all)"
19558
if test "$enable_alias" != "no"; then
19561
echo "$as_me:$LINENO: result: $enable_alias$_apmod_extra_msg" >&5
19562
echo "${ECHO_T}$enable_alias$_apmod_extra_msg" >&6
19563
if test "$enable_alias" != "no"; then
19564
case "$enable_alias" in
19566
enable_alias=`echo $enable_alias|sed 's/shared,*//'`
19569
DSO_MODULES="$DSO_MODULES alias"
19572
MODLIST="$MODLIST alias"
19573
if test "alias" = "so"; then
19580
if test -z ""; then
19581
objects="mod_alias.lo"
19586
if test -z "$module_standalone"; then
19587
if test -z "$shared"; then
19588
# The filename of a convenience library must have a "lib" prefix:
19589
libname="libmod_alias.la"
19590
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19591
modpath_static="$modpath_static $libname"
19592
cat >>$modpath_current/modules.mk<<EOF
19594
\$(MOD_LINK) $objects \$(MOD_ALIAS_LDADD)
19597
apache_need_shared=yes
19598
libname="mod_alias.la"
19599
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19600
modpath_shared="$modpath_shared $libname"
19601
cat >>$modpath_current/modules.mk<<EOF
19602
$libname: $shobjects
19603
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_ALIAS_LDADD)
19609
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_ALIAS_LDADD"
19617
echo "$as_me:$LINENO: checking whether to enable mod_rewrite" >&5
19618
echo $ECHO_N "checking whether to enable mod_rewrite... $ECHO_C" >&6
19619
# Check whether --enable-rewrite or --disable-rewrite was given.
19620
if test "${enable_rewrite+set}" = set; then
19621
enableval="$enable_rewrite"
19624
enable_rewrite=most
19626
_apmod_extra_msg=""
19627
if test "$module_selection" = "most" -a "$enable_rewrite" = "most"; then
19628
_apmod_error_fatal="no"
19630
_apmod_error_fatal="yes"
19632
if test "$enable_rewrite" = "static"; then
19634
elif test "$enable_rewrite" = "yes"; then
19635
enable_rewrite=$module_default
19636
_apmod_extra_msg=" ($module_selection)"
19637
elif test "$enable_rewrite" = "most"; then
19638
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19639
enable_rewrite=$module_default
19640
_apmod_extra_msg=" ($module_selection)"
19641
elif test "$enable_rewrite" != "yes"; then
19644
elif test "$enable_rewrite" = "maybe-all"; then
19645
if test "$module_selection" = "all"; then
19646
enable_rewrite=$module_default
19647
_apmod_extra_msg=" (all)"
19652
if test "$enable_rewrite" != "no"; then
19655
echo "$as_me:$LINENO: result: $enable_rewrite$_apmod_extra_msg" >&5
19656
echo "${ECHO_T}$enable_rewrite$_apmod_extra_msg" >&6
19657
if test "$enable_rewrite" != "no"; then
19658
case "$enable_rewrite" in
19660
enable_rewrite=`echo $enable_rewrite|sed 's/shared,*//'`
19663
DSO_MODULES="$DSO_MODULES rewrite"
19666
MODLIST="$MODLIST rewrite"
19667
if test "rewrite" = "so"; then
19674
if test -z ""; then
19675
objects="mod_rewrite.lo"
19680
if test -z "$module_standalone"; then
19681
if test -z "$shared"; then
19682
# The filename of a convenience library must have a "lib" prefix:
19683
libname="libmod_rewrite.la"
19684
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19685
modpath_static="$modpath_static $libname"
19686
cat >>$modpath_current/modules.mk<<EOF
19688
\$(MOD_LINK) $objects \$(MOD_REWRITE_LDADD)
19691
apache_need_shared=yes
19692
libname="mod_rewrite.la"
19693
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19694
modpath_shared="$modpath_shared $libname"
19695
cat >>$modpath_current/modules.mk<<EOF
19696
$libname: $shobjects
19697
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_REWRITE_LDADD)
19703
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_REWRITE_LDADD"
19712
apr_old_cppflags=$CPPFLAGS
19713
CPPFLAGS="$CPPFLAGS $INCLUDES"
19714
cat >conftest.$ac_ext <<_ACEOF
19717
cat confdefs.h >>conftest.$ac_ext
19718
cat >>conftest.$ac_ext <<_ACEOF
19719
/* end confdefs.h. */
19727
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19728
$EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
19729
ac_cv_define_APR_HAS_DSO=yes
19731
ac_cv_define_APR_HAS_DSO=no
19735
CPPFLAGS=$apr_old_cppflags
19738
case "x$enable_so" in
19740
if test $ac_cv_define_APR_HAS_DSO = "no"; then
19741
{ { echo "$as_me:$LINENO: error: mod_so has been requested but cannot be built on your system" >&5
19742
echo "$as_me: error: mod_so has been requested but cannot be built on your system" >&2;}
19743
{ (exit 1); exit 1; }; }
19747
{ { echo "$as_me:$LINENO: error: mod_so can not be built as a shared DSO" >&5
19748
echo "$as_me: error: mod_so can not be built as a shared DSO" >&2;}
19749
{ (exit 1); exit 1; }; }
19754
enable_so=$ac_cv_define_APR_HAS_DSO
19758
if test "x$enable_so" = "xyes"; then
19762
if test "x$enable_so" = "xstatic"; then
19764
if test "x$HTTPD_LDFLAGS" = "x"; then
19765
test "x$silent" != "xyes" && echo " setting HTTPD_LDFLAGS to \"-export-dynamic\""
19766
HTTPD_LDFLAGS="-export-dynamic"
19768
apr_addto_bugger="-export-dynamic"
19769
for i in $apr_addto_bugger; do
19770
apr_addto_duplicate="0"
19771
for j in $HTTPD_LDFLAGS; do
19772
if test "x$i" = "x$j"; then
19773
apr_addto_duplicate="1"
19777
if test $apr_addto_duplicate = "0"; then
19778
test "x$silent" != "xyes" && echo " adding \"$i\" to HTTPD_LDFLAGS"
19779
HTTPD_LDFLAGS="$HTTPD_LDFLAGS $i"
19789
APACHE_VAR_SUBST="$APACHE_VAR_SUBST INSTALL_DSO"
19793
if test "$sharedobjs" = "yes"; then
19794
if test $ac_cv_define_APR_HAS_DSO = "no"; then
19795
{ { echo "$as_me:$LINENO: error: shared objects have been requested but cannot be built since mod_so cannot be built" >&5
19796
echo "$as_me: error: shared objects have been requested but cannot be built since mod_so cannot be built" >&2;}
19797
{ (exit 1); exit 1; }; }
19798
elif test $enable_so = "no"; then
19799
{ { echo "$as_me:$LINENO: error: shared objects have been requested but cannot be built since mod_so was disabled" >&5
19800
echo "$as_me: error: shared objects have been requested but cannot be built since mod_so was disabled" >&2;}
19801
{ (exit 1); exit 1; }; }
19806
echo "$as_me:$LINENO: checking whether to enable mod_so" >&5
19807
echo $ECHO_N "checking whether to enable mod_so... $ECHO_C" >&6
19808
# Check whether --enable-so or --disable-so was given.
19809
if test "${enable_so+set}" = set; then
19810
enableval="$enable_so"
19813
enable_so=$enable_so
19815
_apmod_extra_msg=""
19816
if test "$module_selection" = "most" -a "$enable_so" = "most"; then
19817
_apmod_error_fatal="no"
19819
_apmod_error_fatal="yes"
19821
if test "$enable_so" = "static"; then
19823
elif test "$enable_so" = "yes"; then
19824
enable_so=$module_default
19825
_apmod_extra_msg=" ($module_selection)"
19826
elif test "$enable_so" = "most"; then
19827
if test "$module_selection" = "most" -o "$module_selection" = "all"; then
19828
enable_so=$module_default
19829
_apmod_extra_msg=" ($module_selection)"
19830
elif test "$enable_so" != "yes"; then
19833
elif test "$enable_so" = "maybe-all"; then
19834
if test "$module_selection" = "all"; then
19835
enable_so=$module_default
19836
_apmod_extra_msg=" (all)"
19841
if test "$enable_so" != "no"; then
19844
echo "$as_me:$LINENO: result: $enable_so$_apmod_extra_msg" >&5
19845
echo "${ECHO_T}$enable_so$_apmod_extra_msg" >&6
19846
if test "$enable_so" != "no"; then
19847
case "$enable_so" in
19849
enable_so=`echo $enable_so|sed 's/shared,*//'`
19852
DSO_MODULES="$DSO_MODULES so"
19855
MODLIST="$MODLIST so"
19856
if test "so" = "so"; then
19863
if test -z ""; then
19864
objects="mod_so.lo"
19869
if test -z "$module_standalone"; then
19870
if test -z "$shared"; then
19871
# The filename of a convenience library must have a "lib" prefix:
19872
libname="libmod_so.la"
19873
BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
19874
modpath_static="$modpath_static $libname"
19875
cat >>$modpath_current/modules.mk<<EOF
19877
\$(MOD_LINK) $objects \$(MOD_SO_LDADD)
19880
apache_need_shared=yes
19881
libname="mod_so.la"
19882
shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
19883
modpath_shared="$modpath_shared $libname"
19884
cat >>$modpath_current/modules.mk<<EOF
19885
$libname: $shobjects
19886
\$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects \$(MOD_SO_LDADD)
19892
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MOD_SO_LDADD"
19899
cat >confcache <<\_ACEOF
19900
# This file is a shell script that caches the results of configure
19901
# tests run on this system so they can be shared between configure
19902
# scripts and configure runs, see configure's option --config-cache.
19903
# It is not useful on other systems. If it contains results you don't
19904
# want to keep, you may remove or edit it.
19906
# config.status only pays attention to the cache file if you give it
19907
# the --recheck option to rerun configure.
19909
# `ac_cv_env_foo' variables (set or unset) will be overridden when
19910
# loading this file, other *unset* `ac_cv_foo' will be assigned the
19911
# following values.
19915
# The following way of writing the cache mishandles newlines in values,
19916
# but we know of no workaround that is simple, portable, and efficient.
19917
# So, don't put newlines in cache variables' values.
19918
# Ultrix sh set writes to stderr and can't be redirected directly,
19919
# and sets the high bit in the cache file unless we assign to the vars.
19922
case `(ac_space=' '; set | grep ac_space) 2>&1` in
19924
# `set' does not quote correctly, so add quotes (double-quote
19925
# substitution turns \\\\ into \\, and sed turns \\ into \).
19928
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19931
# `set' quotes correctly as required by POSIX, so do not add quotes.
19933
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19940
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19942
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19944
if diff $cache_file confcache >/dev/null 2>&1; then :; else
19945
if test -w $cache_file; then
19946
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19947
cat confcache >$cache_file
19949
echo "not updating unwritable cache $cache_file"
19955
echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
19956
echo "static = $modpath_static" >> $modpath_current/modules.mk
19957
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
19958
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
19959
MODULE_DIRS="$MODULE_DIRS $current_dir"
19961
MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
19964
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $modpath_current/Makefile"
19971
APACHE_VAR_SUBST="$APACHE_VAR_SUBST progname"
19975
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MPM_LIB"
19979
APACHE_VAR_SUBST="$APACHE_VAR_SUBST OS"
19983
APACHE_VAR_SUBST="$APACHE_VAR_SUBST OS_DIR"
19987
APACHE_VAR_SUBST="$APACHE_VAR_SUBST BUILTIN_LIBS"
19991
APACHE_VAR_SUBST="$APACHE_VAR_SUBST SHLIBPATH_VAR"
19995
APACHE_VAR_SUBST="$APACHE_VAR_SUBST OS_SPECIFIC_VARS"
19999
PRE_SHARED_CMDS='echo ""'
20000
POST_SHARED_CMDS='echo ""'
20003
if test "$apache_need_shared" = "yes"; then
20004
if test -f $ac_aux_dir/ltconfig; then
20005
$SHELL $ac_aux_dir/ltconfig --output=shlibtool --disable-static --srcdir=$ac_aux_dir --cache-file=./config.cache $ac_aux_dir/ltmain.sh
20007
shared_build="shared-build"
20011
if test "$enable_so" = "yes"; then
20014
HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp"
20015
SH_LDFLAGS="$SH_LDFLAGS \$(EXTRA_LDFLAGS) \$(EXTRA_LIBS)"
20016
UTIL_LDFLAGS="$UTIL_LDFLAGS -Wl,-uXML_Parse"
20019
SH_LDFLAGS='$(top_builddir)/_APP_'
20020
PRE_SHARED_CMDS='ln -s $(top_builddir)/httpd $(top_builddir)/_APP_'
20021
POST_SHARED_CMDS='rm $(top_builddir)/_APP_'
20024
HTTPD_LDFLAGS="$HTTPD_LDFLAGS --main=$abs_srcdir/server/main.o --core-dll=$abs_srcdir/apachecore.dll"
20025
SH_LDFLAGS="$SH_LDFLAGS --core-dll=$abs_srcdir/apachecore.dll"
20030
APACHE_VAR_SUBST="$APACHE_VAR_SUBST PRE_SHARED_CMDS"
20034
APACHE_VAR_SUBST="$APACHE_VAR_SUBST POST_SHARED_CMDS"
20038
APACHE_VAR_SUBST="$APACHE_VAR_SUBST shared_build"
20043
# Check whether --with-program-name or --without-program-name was given.
20044
if test "${with_program_name+set}" = set; then
20045
withval="$with_program_name"
20047
progname="$withval"
20053
# SuExec parameters
20055
# Check whether --with-suexec-bin or --without-suexec-bin was given.
20056
if test "${with_suexec_bin+set}" = set; then
20057
withval="$with_suexec_bin"
20060
cat >>confdefs.h <<_ACEOF
20061
#define SUEXEC_BIN "$withval"
20068
# Check whether --with-suexec-caller or --without-suexec-caller was given.
20069
if test "${with_suexec_caller+set}" = set; then
20070
withval="$with_suexec_caller"
20073
cat >>confdefs.h <<_ACEOF
20074
#define AP_HTTPD_USER "$withval"
20080
# Check whether --with-suexec-userdir or --without-suexec-userdir was given.
20081
if test "${with_suexec_userdir+set}" = set; then
20082
withval="$with_suexec_userdir"
20085
cat >>confdefs.h <<_ACEOF
20086
#define AP_USERDIR_SUFFIX "$withval"
20092
# Check whether --with-suexec-docroot or --without-suexec-docroot was given.
20093
if test "${with_suexec_docroot+set}" = set; then
20094
withval="$with_suexec_docroot"
20097
cat >>confdefs.h <<_ACEOF
20098
#define AP_DOC_ROOT "$withval"
20104
# Check whether --with-suexec-uidmin or --without-suexec-uidmin was given.
20105
if test "${with_suexec_uidmin+set}" = set; then
20106
withval="$with_suexec_uidmin"
20109
cat >>confdefs.h <<_ACEOF
20110
#define AP_UID_MIN $withval
20116
# Check whether --with-suexec-gidmin or --without-suexec-gidmin was given.
20117
if test "${with_suexec_gidmin+set}" = set; then
20118
withval="$with_suexec_gidmin"
20121
cat >>confdefs.h <<_ACEOF
20122
#define AP_GID_MIN $withval
20128
# Check whether --with-suexec-logfile or --without-suexec-logfile was given.
20129
if test "${with_suexec_logfile+set}" = set; then
20130
withval="$with_suexec_logfile"
20133
cat >>confdefs.h <<_ACEOF
20134
#define AP_LOG_EXEC "$withval"
20140
# Check whether --with-suexec-safepath or --without-suexec-safepath was given.
20141
if test "${with_suexec_safepath+set}" = set; then
20142
withval="$with_suexec_safepath"
20145
cat >>confdefs.h <<_ACEOF
20146
#define AP_SAFE_PATH "$withval"
20152
# Check whether --with-suexec-umask or --without-suexec-umask was given.
20153
if test "${with_suexec_umask+set}" = set; then
20154
withval="$with_suexec_umask"
20157
cat >>confdefs.h <<_ACEOF
20158
#define AP_SUEXEC_UMASK 0$withval
20163
AP_LIBS="$AP_LIBS `$apu_config --link-libtool --libs` `$apr_config --link-libtool --libs`"
20165
APACHE_VAR_SUBST="$APACHE_VAR_SUBST AP_LIBS"
20169
APACHE_VAR_SUBST="$APACHE_VAR_SUBST AP_BUILD_SRCLIB_DIRS"
20173
APACHE_VAR_SUBST="$APACHE_VAR_SUBST AP_CLEAN_SRCLIB_DIRS"
20178
cat >>confdefs.h <<\_ACEOF
20179
#define AP_USING_AUTOCONF 1
20183
if test "$SINGLE_LISTEN_UNSERIALIZED_ACCEPT" = "1"; then
20185
cat >>confdefs.h <<\_ACEOF
20186
#define SINGLE_LISTEN_UNSERIALIZED_ACCEPT 1
20191
if test "$AP_NONBLOCK_WHEN_MULTI_LISTEN" = "1"; then
20193
cat >>confdefs.h <<\_ACEOF
20194
#define AP_NONBLOCK_WHEN_MULTI_LISTEN 1
20200
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES Makefile modules/Makefile srclib/Makefile"
20203
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES os/Makefile server/Makefile"
20206
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES support/Makefile srclib/pcre/Makefile"
20209
if test -d ./test; then
20211
APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES test/Makefile"
20215
echo $ac_n "${nl}Restore user-defined environment settings...${nl}"
20218
if test "x$apr_ste_save_CPPFLAGS" = "x"; then
20219
EXTRA_CPPFLAGS="$CPPFLAGS"
20222
if test "x$apr_ste_save_CPPFLAGS" = "x$CPPFLAGS"; then
20225
EXTRA_CPPFLAGS=`echo $CPPFLAGS | sed -e "s%${apr_ste_save_CPPFLAGS}%%"`
20226
CPPFLAGS="$apr_ste_save_CPPFLAGS"
20229
if test "x$silent" != "xyes"; then
20230
echo " restoring CPPFLAGS to \"$CPPFLAGS\""
20231
echo " setting EXTRA_CPPFLAGS to \"$EXTRA_CPPFLAGS\""
20236
if test "x$apr_ste_save_CFLAGS" = "x"; then
20237
EXTRA_CFLAGS="$CFLAGS"
20240
if test "x$apr_ste_save_CFLAGS" = "x$CFLAGS"; then
20243
EXTRA_CFLAGS=`echo $CFLAGS | sed -e "s%${apr_ste_save_CFLAGS}%%"`
20244
CFLAGS="$apr_ste_save_CFLAGS"
20247
if test "x$silent" != "xyes"; then
20248
echo " restoring CFLAGS to \"$CFLAGS\""
20249
echo " setting EXTRA_CFLAGS to \"$EXTRA_CFLAGS\""
20254
if test "x$apr_ste_save_CXXFLAGS" = "x"; then
20255
EXTRA_CXXFLAGS="$CXXFLAGS"
20258
if test "x$apr_ste_save_CXXFLAGS" = "x$CXXFLAGS"; then
20261
EXTRA_CXXFLAGS=`echo $CXXFLAGS | sed -e "s%${apr_ste_save_CXXFLAGS}%%"`
20262
CXXFLAGS="$apr_ste_save_CXXFLAGS"
20265
if test "x$silent" != "xyes"; then
20266
echo " restoring CXXFLAGS to \"$CXXFLAGS\""
20267
echo " setting EXTRA_CXXFLAGS to \"$EXTRA_CXXFLAGS\""
20272
if test "x$apr_ste_save_LDFLAGS" = "x"; then
20273
EXTRA_LDFLAGS="$LDFLAGS"
20276
if test "x$apr_ste_save_LDFLAGS" = "x$LDFLAGS"; then
20279
EXTRA_LDFLAGS=`echo $LDFLAGS | sed -e "s%${apr_ste_save_LDFLAGS}%%"`
20280
LDFLAGS="$apr_ste_save_LDFLAGS"
20283
if test "x$silent" != "xyes"; then
20284
echo " restoring LDFLAGS to \"$LDFLAGS\""
20285
echo " setting EXTRA_LDFLAGS to \"$EXTRA_LDFLAGS\""
20290
if test "x$apr_ste_save_LIBS" = "x"; then
20294
if test "x$apr_ste_save_LIBS" = "x$LIBS"; then
20297
EXTRA_LIBS=`echo $LIBS | sed -e "s%${apr_ste_save_LIBS}%%"`
20298
LIBS="$apr_ste_save_LIBS"
20301
if test "x$silent" != "xyes"; then
20302
echo " restoring LIBS to \"$LIBS\""
20303
echo " setting EXTRA_LIBS to \"$EXTRA_LIBS\""
20308
if test "x$apr_ste_save_INCLUDES" = "x"; then
20309
EXTRA_INCLUDES="$INCLUDES"
20312
if test "x$apr_ste_save_INCLUDES" = "x$INCLUDES"; then
20315
EXTRA_INCLUDES=`echo $INCLUDES | sed -e "s%${apr_ste_save_INCLUDES}%%"`
20316
INCLUDES="$apr_ste_save_INCLUDES"
20319
if test "x$silent" != "xyes"; then
20320
echo " restoring INCLUDES to \"$INCLUDES\""
20321
echo " setting EXTRA_INCLUDES to \"$EXTRA_INCLUDES\""
20326
echo $ac_n "${nl}Construct makefiles and header files...${nl}"
20330
APACHE_VAR_SUBST="$APACHE_VAR_SUBST abs_srcdir"
20334
APACHE_VAR_SUBST="$APACHE_VAR_SUBST bindir"
20338
APACHE_VAR_SUBST="$APACHE_VAR_SUBST sbindir"
20342
APACHE_VAR_SUBST="$APACHE_VAR_SUBST cgidir"
20346
APACHE_VAR_SUBST="$APACHE_VAR_SUBST logfiledir"
20350
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exec_prefix"
20354
APACHE_VAR_SUBST="$APACHE_VAR_SUBST datadir"
20358
APACHE_VAR_SUBST="$APACHE_VAR_SUBST localstatedir"
20362
APACHE_VAR_SUBST="$APACHE_VAR_SUBST mandir"
20366
APACHE_VAR_SUBST="$APACHE_VAR_SUBST libdir"
20370
APACHE_VAR_SUBST="$APACHE_VAR_SUBST libexecdir"
20374
APACHE_VAR_SUBST="$APACHE_VAR_SUBST htdocsdir"
20378
APACHE_VAR_SUBST="$APACHE_VAR_SUBST manualdir"
20382
APACHE_VAR_SUBST="$APACHE_VAR_SUBST includedir"
20386
APACHE_VAR_SUBST="$APACHE_VAR_SUBST errordir"
20390
APACHE_VAR_SUBST="$APACHE_VAR_SUBST iconsdir"
20394
APACHE_VAR_SUBST="$APACHE_VAR_SUBST sysconfdir"
20398
APACHE_VAR_SUBST="$APACHE_VAR_SUBST installbuilddir"
20402
APACHE_VAR_SUBST="$APACHE_VAR_SUBST runtimedir"
20406
APACHE_VAR_SUBST="$APACHE_VAR_SUBST proxycachedir"
20410
APACHE_VAR_SUBST="$APACHE_VAR_SUBST other_targets"
20414
APACHE_VAR_SUBST="$APACHE_VAR_SUBST progname"
20418
APACHE_VAR_SUBST="$APACHE_VAR_SUBST prefix"
20422
APACHE_VAR_SUBST="$APACHE_VAR_SUBST AWK"
20426
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CC"
20430
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CPP"
20434
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CXX"
20438
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CPPFLAGS"
20442
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CFLAGS"
20446
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CXXFLAGS"
20450
APACHE_VAR_SUBST="$APACHE_VAR_SUBST LTFLAGS"
20454
APACHE_VAR_SUBST="$APACHE_VAR_SUBST LDFLAGS"
20458
APACHE_VAR_SUBST="$APACHE_VAR_SUBST LT_LDFLAGS"
20462
APACHE_VAR_SUBST="$APACHE_VAR_SUBST SH_LDFLAGS"
20466
APACHE_VAR_SUBST="$APACHE_VAR_SUBST HTTPD_LDFLAGS"
20470
APACHE_VAR_SUBST="$APACHE_VAR_SUBST UTIL_LDFLAGS"
20474
APACHE_VAR_SUBST="$APACHE_VAR_SUBST LIBS"
20478
APACHE_VAR_SUBST="$APACHE_VAR_SUBST DEFS"
20482
APACHE_VAR_SUBST="$APACHE_VAR_SUBST INCLUDES"
20486
APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_CPPFLAGS"
20490
APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_CFLAGS"
20494
APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_CXXFLAGS"
20498
APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_LDFLAGS"
20502
APACHE_VAR_SUBST="$APACHE_VAR_SUBST NOTEST_LIBS"
20506
APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_CPPFLAGS"
20510
APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_CFLAGS"
20514
APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_CXXFLAGS"
20518
APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_LDFLAGS"
20522
APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_LIBS"
20526
APACHE_VAR_SUBST="$APACHE_VAR_SUBST EXTRA_INCLUDES"
20530
APACHE_VAR_SUBST="$APACHE_VAR_SUBST LIBTOOL"
20534
APACHE_VAR_SUBST="$APACHE_VAR_SUBST SHELL"
20538
APACHE_VAR_SUBST="$APACHE_VAR_SUBST RSYNC"
20542
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MODULE_DIRS"
20546
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MODULE_CLEANDIRS"
20550
APACHE_VAR_SUBST="$APACHE_VAR_SUBST PORT"
20554
APACHE_VAR_SUBST="$APACHE_VAR_SUBST nonssl_listen_stmt_1"
20558
APACHE_VAR_SUBST="$APACHE_VAR_SUBST nonssl_listen_stmt_2"
20562
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CORE_IMPLIB_FILE"
20566
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CORE_IMPLIB"
20570
APACHE_VAR_SUBST="$APACHE_VAR_SUBST SH_LIBS"
20574
APACHE_VAR_SUBST="$APACHE_VAR_SUBST SH_LIBTOOL"
20578
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MK_IMPLIB"
20582
APACHE_VAR_SUBST="$APACHE_VAR_SUBST MKDEP"
20586
APACHE_VAR_SUBST="$APACHE_VAR_SUBST INSTALL_PROG_FLAGS"
20590
APACHE_VAR_SUBST="$APACHE_VAR_SUBST DSO_MODULES"
20594
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APR_BINDIR"
20598
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APR_INCLUDEDIR"
20602
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APR_VERSION"
20606
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APR_CONFIG"
20610
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APU_BINDIR"
20614
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APU_INCLUDEDIR"
20618
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APU_VERSION"
20622
APACHE_VAR_SUBST="$APACHE_VAR_SUBST APU_CONFIG"
20626
abs_srcdir="`(cd $srcdir && pwd)`"
20628
echo creating config_vars.mk
20629
test -d build || $mkdir_p build
20630
> build/config_vars.mk
20631
for i in $APACHE_VAR_SUBST; do
20632
eval echo "$i = \$$i" >> build/config_vars.mk
20637
echo $MODLIST | $AWK -f $srcdir/build/build-modules-c.awk > modules.c
20642
while test "x${ap_cur}" != "x${ap_last}";
20644
ap_last="${ap_cur}"
20645
ap_cur=`eval "echo ${ap_cur}"`
20647
ap_prefix="${ap_cur}"
20650
cat >>confdefs.h <<_ACEOF
20651
#define HTTPD_ROOT "${ap_prefix}"
20655
cat >>confdefs.h <<_ACEOF
20656
#define SERVER_CONFIG_FILE "${rel_sysconfdir}/${progname}.conf"
20660
cat >>confdefs.h <<_ACEOF
20661
#define AP_TYPES_CONFIG_FILE "${rel_sysconfdir}/mime.types"
20665
cat >>confdefs.h <<_ACEOF
20666
#define APACHE_MPM_DIR "$MPM_DIR"
20670
perlbin=`$ac_aux_dir/PrintPath perl`
20671
if test "x$perlbin" = "x"; then
20672
perlbin="/replace/with/path/to/perl/interpreter"
20678
ap_make_include=include
20679
ap_make_delimiter=' '
20682
# Check whether they've installed GNU make
20683
if make --version > /dev/null 2>&1; then
20687
ap_make_include=.include
20688
ap_make_delimiter='"'
20695
test -d docs/conf||$mkdir_p docs/conf
20697
HTTPD_VERSION=`$abs_srcdir/build/get-version.sh all $abs_srcdir/include/ap_release.h AP_SERVER`
20700
ac_config_files="$ac_config_files $APACHE_OUTPUT_FILES docs/conf/httpd.conf docs/conf/extra/httpd-autoindex.conf docs/conf/extra/httpd-dav.conf docs/conf/extra/httpd-default.conf docs/conf/extra/httpd-info.conf docs/conf/extra/httpd-languages.conf docs/conf/extra/httpd-manual.conf docs/conf/extra/httpd-mpm.conf docs/conf/extra/httpd-multilang-errordoc.conf docs/conf/extra/httpd-ssl.conf docs/conf/extra/httpd-userdir.conf docs/conf/extra/httpd-vhosts.conf include/ap_config_layout.h support/apxs support/apachectl support/dbmmanage support/envvars-std support/log_server_status support/logresolve.pl support/phf_abuse_log.cgi support/split-logfile build/rules.mk build/pkg/pkginfo build/config_vars.sh"
20701
ac_config_commands="$ac_config_commands default"
20702
cat >confcache <<\_ACEOF
20703
# This file is a shell script that caches the results of configure
20704
# tests run on this system so they can be shared between configure
20705
# scripts and configure runs, see configure's option --config-cache.
20706
# It is not useful on other systems. If it contains results you don't
20707
# want to keep, you may remove or edit it.
20709
# config.status only pays attention to the cache file if you give it
20710
# the --recheck option to rerun configure.
20712
# `ac_cv_env_foo' variables (set or unset) will be overridden when
20713
# loading this file, other *unset* `ac_cv_foo' will be assigned the
20714
# following values.
20718
# The following way of writing the cache mishandles newlines in values,
20719
# but we know of no workaround that is simple, portable, and efficient.
20720
# So, don't put newlines in cache variables' values.
20721
# Ultrix sh set writes to stderr and can't be redirected directly,
20722
# and sets the high bit in the cache file unless we assign to the vars.
20725
case `(ac_space=' '; set | grep ac_space) 2>&1` in
20727
# `set' does not quote correctly, so add quotes (double-quote
20728
# substitution turns \\\\ into \\, and sed turns \\ into \).
20731
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20734
# `set' quotes correctly as required by POSIX, so do not add quotes.
20736
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20743
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20745
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20747
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20748
if test -w $cache_file; then
20749
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20750
cat confcache >$cache_file
20752
echo "not updating unwritable cache $cache_file"
20757
test "x$prefix" = xNONE && prefix=$ac_default_prefix
20758
# Let make expand exec_prefix.
20759
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20761
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20762
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20763
# trailing colons and then remove the whole line if VPATH becomes empty
20764
# (actually we leave an empty line to preserve line numbers).
20765
if test "x$srcdir" = x.; then
20766
ac_vpsub='/^[ ]*VPATH[ ]*=/{
20767
s/:*\$(srcdir):*/:/;
20768
s/:*\${srcdir}:*/:/;
20770
s/^\([^=]*=[ ]*\):*/\1/;
20776
DEFS=-DHAVE_CONFIG_H
20780
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20781
# 1. Remove the extension, and $U if already installed.
20782
ac_i=`echo "$ac_i" |
20783
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20785
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20786
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20788
LIBOBJS=$ac_libobjs
20790
LTLIBOBJS=$ac_ltlibobjs
20794
: ${CONFIG_STATUS=./config.status}
20795
ac_clean_files_save=$ac_clean_files
20796
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20797
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20798
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20799
cat >$CONFIG_STATUS <<_ACEOF
20801
# Generated by $as_me.
20802
# Run this file to recreate the current configuration.
20803
# Compiler output produced by configure, useful for debugging
20804
# configure, is in config.log if it exists.
20807
ac_cs_recheck=false
20809
SHELL=\${CONFIG_SHELL-$SHELL}
20812
cat >>$CONFIG_STATUS <<\_ACEOF
20813
## --------------------- ##
20814
## M4sh Initialization. ##
20815
## --------------------- ##
20817
# Be Bourne compatible
20818
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20821
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20822
# is contrary to our usage. Disable this feature.
20823
alias -g '${1+"$@"}'='"$@"'
20824
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20827
DUALCASE=1; export DUALCASE # for MKS sh
20829
# Support unset when possible.
20830
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20837
# Work around bugs in pre-3.0 UWIN ksh.
20838
$as_unset ENV MAIL MAILPATH
20845
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20846
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20847
LC_TELEPHONE LC_TIME
20849
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20850
eval $as_var=C; export $as_var
20856
# Required to use basename.
20857
if expr a : '\(a\)' >/dev/null 2>&1; then
20863
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20864
as_basename=basename
20870
# Name of the executable.
20871
as_me=`$as_basename "$0" ||
20872
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20873
X"$0" : 'X\(//\)$' \| \
20874
X"$0" : 'X\(/\)$' \| \
20875
. : '\(.\)' 2>/dev/null ||
20877
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20878
/^X\/\(\/\/\)$/{ s//\1/; q; }
20879
/^X\/\(\/\).*/{ s//\1/; q; }
20883
# PATH needs CR, and LINENO needs CR and PATH.
20884
# Avoid depending upon Character Ranges.
20885
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20886
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20887
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20888
as_cr_digits='0123456789'
20889
as_cr_alnum=$as_cr_Letters$as_cr_digits
20891
# The user is always right.
20892
if test "${PATH_SEPARATOR+set}" != set; then
20893
echo "#! /bin/sh" >conf$$.sh
20894
echo "exit 0" >>conf$$.sh
20896
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20905
as_lineno_1=$LINENO
20906
as_lineno_2=$LINENO
20907
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20908
test "x$as_lineno_1" != "x$as_lineno_2" &&
20909
test "x$as_lineno_3" = "x$as_lineno_2" || {
20910
# Find who we are. Look in the path if we contain no path at all
20913
*[\\/]* ) as_myself=$0 ;;
20914
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20915
for as_dir in $PATH
20918
test -z "$as_dir" && as_dir=.
20919
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20924
# We did not find ourselves, most probably we were run as `sh COMMAND'
20925
# in which case we are not to be found in the path.
20926
if test "x$as_myself" = x; then
20929
if test ! -f "$as_myself"; then
20930
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20931
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20932
{ (exit 1); exit 1; }; }
20934
case $CONFIG_SHELL in
20936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20937
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20940
test -z "$as_dir" && as_dir=.
20941
for as_base in sh bash ksh sh5; do
20944
if ("$as_dir/$as_base" -c '
20945
as_lineno_1=$LINENO
20946
as_lineno_2=$LINENO
20947
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20948
test "x$as_lineno_1" != "x$as_lineno_2" &&
20949
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20950
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20951
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20952
CONFIG_SHELL=$as_dir/$as_base
20953
export CONFIG_SHELL
20954
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20962
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20963
# uniformly replaced by the line number. The first 'sed' inserts a
20964
# line-number line before each line; the second 'sed' does the real
20965
# work. The second script uses 'N' to pair each line-number line
20966
# with the numbered line, and appends trailing '-' during
20967
# substitution so that $LINENO is not a special case at line end.
20968
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20969
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20970
sed '=' <$as_myself |
20975
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20978
s,^['$as_cr_digits']*\n,,
20979
' >$as_me.lineno &&
20980
chmod +x $as_me.lineno ||
20981
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20982
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20983
{ (exit 1); exit 1; }; }
20985
# Don't try to exec as it changes $[0], causing all sort of problems
20986
# (the dirname of $[0] is not the place where we might find the
20987
# original and so on. Autoconf is especially sensible to this).
20989
# Exit status is that of the last command.
20994
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20995
*c*,-n*) ECHO_N= ECHO_C='
20997
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20998
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21001
if expr a : '\(a\)' >/dev/null 2>&1; then
21007
rm -f conf$$ conf$$.exe conf$$.file
21009
if ln -s conf$$.file conf$$ 2>/dev/null; then
21010
# We could just check for DJGPP; but this test a) works b) is more generic
21011
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21012
if test -f conf$$.exe; then
21013
# Don't use ln at all; we don't have any links
21018
elif ln conf$$.file conf$$ 2>/dev/null; then
21023
rm -f conf$$ conf$$.exe conf$$.file
21025
if mkdir -p . 2>/dev/null; then
21028
test -d ./-p && rmdir ./-p
21032
as_executable_p="test -f"
21034
# Sed expression to map a string onto a valid CPP name.
21035
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21037
# Sed expression to map a string onto a valid variable name.
21038
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21042
# We need space, tab and new line, in precisely that order.
21052
# Open the log real soon, to keep \$[0] and so on meaningful, and to
21053
# report actual input values of CONFIG_FILES etc. instead of their
21054
# values after options handling. Logging --version etc. is OK.
21058
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21059
## Running $as_me. ##
21064
This file was extended by $as_me, which was
21065
generated by GNU Autoconf 2.59. Invocation command line was
21067
CONFIG_FILES = $CONFIG_FILES
21068
CONFIG_HEADERS = $CONFIG_HEADERS
21069
CONFIG_LINKS = $CONFIG_LINKS
21070
CONFIG_COMMANDS = $CONFIG_COMMANDS
21074
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21078
# Files that config.status was made for.
21079
if test -n "$ac_config_files"; then
21080
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21083
if test -n "$ac_config_headers"; then
21084
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21087
if test -n "$ac_config_links"; then
21088
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21091
if test -n "$ac_config_commands"; then
21092
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21095
cat >>$CONFIG_STATUS <<\_ACEOF
21098
\`$as_me' instantiates files from templates according to the
21099
current configuration.
21101
Usage: $0 [OPTIONS] [FILE]...
21103
-h, --help print this help, then exit
21104
-V, --version print version number, then exit
21105
-q, --quiet do not print progress messages
21106
-d, --debug don't remove temporary files
21107
--recheck update $as_me by reconfiguring in the same conditions
21108
--file=FILE[:TEMPLATE]
21109
instantiate the configuration file FILE
21110
--header=FILE[:TEMPLATE]
21111
instantiate the configuration header FILE
21113
Configuration files:
21116
Configuration headers:
21119
Configuration commands:
21122
Report bugs to <bug-autoconf@gnu.org>."
21125
cat >>$CONFIG_STATUS <<_ACEOF
21128
configured by $0, generated by GNU Autoconf 2.59,
21129
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21131
Copyright (C) 2003 Free Software Foundation, Inc.
21132
This config.status script is free software; the Free Software Foundation
21133
gives unlimited permission to copy, distribute and modify it."
21137
cat >>$CONFIG_STATUS <<\_ACEOF
21138
# If no file are specified by the user, then we need to provide default
21139
# value. By we need to know if files were specified by the user.
21145
ac_option=`expr "x$1" : 'x\([^=]*\)='`
21146
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21154
*) # This is not an option, so the user has probably given explicit
21157
ac_need_defaults=false;;
21161
# Handling of the options.
21163
cat >>$CONFIG_STATUS <<\_ACEOF
21164
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21166
--version | --vers* | -V )
21167
echo "$ac_cs_version"; exit 0 ;;
21169
# Conflict between --help and --header
21170
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
21171
Try \`$0 --help' for more information." >&5
21172
echo "$as_me: error: ambiguous option: $1
21173
Try \`$0 --help' for more information." >&2;}
21174
{ (exit 1); exit 1; }; };;
21175
--help | --hel | -h )
21176
echo "$ac_cs_usage"; exit 0 ;;
21177
--debug | --d* | -d )
21179
--file | --fil | --fi | --f )
21181
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21182
ac_need_defaults=false;;
21183
--header | --heade | --head | --hea )
21185
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21186
ac_need_defaults=false;;
21187
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
21188
| -silent | --silent | --silen | --sile | --sil | --si | --s)
21191
# This is an error.
21192
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21193
Try \`$0 --help' for more information." >&5
21194
echo "$as_me: error: unrecognized option: $1
21195
Try \`$0 --help' for more information." >&2;}
21196
{ (exit 1); exit 1; }; } ;;
21198
*) ac_config_targets="$ac_config_targets $1" ;;
21204
ac_configure_extra_args=
21206
if $ac_cs_silent; then
21208
ac_configure_extra_args="$ac_configure_extra_args --silent"
21212
cat >>$CONFIG_STATUS <<_ACEOF
21213
if \$ac_cs_recheck; then
21214
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21215
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21220
cat >>$CONFIG_STATUS <<_ACEOF
21222
# INIT-COMMANDS section.
21227
$SHELL $srcdir/build/fastgen.sh $srcdir $ac_cv_mkdir_p $BSD_MAKEFILE $APACHE_FAST_OUTPUT_FILES
21235
cat >>$CONFIG_STATUS <<\_ACEOF
21236
for ac_config_target in $ac_config_targets
21238
case "$ac_config_target" in
21239
# Handling of arguments.
21240
"$APACHE_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $APACHE_OUTPUT_FILES" ;;
21241
"docs/conf/httpd.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/httpd.conf" ;;
21242
"docs/conf/extra/httpd-autoindex.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-autoindex.conf" ;;
21243
"docs/conf/extra/httpd-dav.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-dav.conf" ;;
21244
"docs/conf/extra/httpd-default.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-default.conf" ;;
21245
"docs/conf/extra/httpd-info.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-info.conf" ;;
21246
"docs/conf/extra/httpd-languages.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-languages.conf" ;;
21247
"docs/conf/extra/httpd-manual.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-manual.conf" ;;
21248
"docs/conf/extra/httpd-mpm.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-mpm.conf" ;;
21249
"docs/conf/extra/httpd-multilang-errordoc.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-multilang-errordoc.conf" ;;
21250
"docs/conf/extra/httpd-ssl.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-ssl.conf" ;;
21251
"docs/conf/extra/httpd-userdir.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-userdir.conf" ;;
21252
"docs/conf/extra/httpd-vhosts.conf" ) CONFIG_FILES="$CONFIG_FILES docs/conf/extra/httpd-vhosts.conf" ;;
21253
"include/ap_config_layout.h" ) CONFIG_FILES="$CONFIG_FILES include/ap_config_layout.h" ;;
21254
"support/apxs" ) CONFIG_FILES="$CONFIG_FILES support/apxs" ;;
21255
"support/apachectl" ) CONFIG_FILES="$CONFIG_FILES support/apachectl" ;;
21256
"support/dbmmanage" ) CONFIG_FILES="$CONFIG_FILES support/dbmmanage" ;;
21257
"support/envvars-std" ) CONFIG_FILES="$CONFIG_FILES support/envvars-std" ;;
21258
"support/log_server_status" ) CONFIG_FILES="$CONFIG_FILES support/log_server_status" ;;
21259
"support/logresolve.pl" ) CONFIG_FILES="$CONFIG_FILES support/logresolve.pl" ;;
21260
"support/phf_abuse_log.cgi" ) CONFIG_FILES="$CONFIG_FILES support/phf_abuse_log.cgi" ;;
21261
"support/split-logfile" ) CONFIG_FILES="$CONFIG_FILES support/split-logfile" ;;
21262
"build/rules.mk" ) CONFIG_FILES="$CONFIG_FILES build/rules.mk" ;;
21263
"build/pkg/pkginfo" ) CONFIG_FILES="$CONFIG_FILES build/pkg/pkginfo" ;;
21264
"build/config_vars.sh" ) CONFIG_FILES="$CONFIG_FILES build/config_vars.sh" ;;
21265
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
21266
"include/ap_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ap_config_auto.h" ;;
21267
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21268
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21269
{ (exit 1); exit 1; }; };;
21273
# If the user did not use the arguments to specify the items to instantiate,
21274
# then the envvar interface is used. Set only those that are not.
21275
# We use the long form for the default assignment because of an extremely
21276
# bizarre bug on SunOS 4.1.3.
21277
if $ac_need_defaults; then
21278
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21279
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21280
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21283
# Have a temporary directory for convenience. Make it in the build tree
21284
# simply because there is no reason to put it here, and in addition,
21285
# creating and moving files from /tmp can sometimes cause problems.
21286
# Create a temporary directory, and hook for its removal unless debugging.
21289
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21290
trap '{ (exit 1); exit 1; }' 1 2 13 15
21293
# Create a (secure) tmp directory for tmp files.
21296
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21297
test -n "$tmp" && test -d "$tmp"
21300
tmp=./confstat$$-$RANDOM
21301
(umask 077 && mkdir $tmp)
21304
echo "$me: cannot create a temporary directory in ." >&2
21305
{ (exit 1); exit 1; }
21310
cat >>$CONFIG_STATUS <<_ACEOF
21313
# CONFIG_FILES section.
21316
# No need to generate the scripts if there are no CONFIG_FILES.
21317
# This happens for instance when ./config.status config.h
21318
if test -n "\$CONFIG_FILES"; then
21319
# Protect against being on the right side of a sed subst in config.status.
21320
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21321
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21322
s,@SHELL@,$SHELL,;t t
21323
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21324
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21325
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21326
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21327
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21328
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21329
s,@exec_prefix@,$exec_prefix,;t t
21330
s,@prefix@,$prefix,;t t
21331
s,@program_transform_name@,$program_transform_name,;t t
21332
s,@bindir@,$bindir,;t t
21333
s,@sbindir@,$sbindir,;t t
21334
s,@libexecdir@,$libexecdir,;t t
21335
s,@datadir@,$datadir,;t t
21336
s,@sysconfdir@,$sysconfdir,;t t
21337
s,@sharedstatedir@,$sharedstatedir,;t t
21338
s,@localstatedir@,$localstatedir,;t t
21339
s,@libdir@,$libdir,;t t
21340
s,@includedir@,$includedir,;t t
21341
s,@oldincludedir@,$oldincludedir,;t t
21342
s,@infodir@,$infodir,;t t
21343
s,@mandir@,$mandir,;t t
21344
s,@build_alias@,$build_alias,;t t
21345
s,@host_alias@,$host_alias,;t t
21346
s,@target_alias@,$target_alias,;t t
21347
s,@DEFS@,$DEFS,;t t
21348
s,@ECHO_C@,$ECHO_C,;t t
21349
s,@ECHO_N@,$ECHO_N,;t t
21350
s,@ECHO_T@,$ECHO_T,;t t
21351
s,@LIBS@,$LIBS,;t t
21352
s,@exp_exec_prefix@,$exp_exec_prefix,;t t
21353
s,@rel_exec_prefix@,$rel_exec_prefix,;t t
21354
s,@exp_bindir@,$exp_bindir,;t t
21355
s,@rel_bindir@,$rel_bindir,;t t
21356
s,@exp_sbindir@,$exp_sbindir,;t t
21357
s,@rel_sbindir@,$rel_sbindir,;t t
21358
s,@exp_libdir@,$exp_libdir,;t t
21359
s,@rel_libdir@,$rel_libdir,;t t
21360
s,@exp_libexecdir@,$exp_libexecdir,;t t
21361
s,@rel_libexecdir@,$rel_libexecdir,;t t
21362
s,@exp_mandir@,$exp_mandir,;t t
21363
s,@rel_mandir@,$rel_mandir,;t t
21364
s,@exp_sysconfdir@,$exp_sysconfdir,;t t
21365
s,@rel_sysconfdir@,$rel_sysconfdir,;t t
21366
s,@exp_datadir@,$exp_datadir,;t t
21367
s,@rel_datadir@,$rel_datadir,;t t
21368
s,@exp_installbuilddir@,$exp_installbuilddir,;t t
21369
s,@rel_installbuilddir@,$rel_installbuilddir,;t t
21370
s,@exp_errordir@,$exp_errordir,;t t
21371
s,@rel_errordir@,$rel_errordir,;t t
21372
s,@exp_iconsdir@,$exp_iconsdir,;t t
21373
s,@rel_iconsdir@,$rel_iconsdir,;t t
21374
s,@exp_htdocsdir@,$exp_htdocsdir,;t t
21375
s,@rel_htdocsdir@,$rel_htdocsdir,;t t
21376
s,@exp_manualdir@,$exp_manualdir,;t t
21377
s,@rel_manualdir@,$rel_manualdir,;t t
21378
s,@exp_cgidir@,$exp_cgidir,;t t
21379
s,@rel_cgidir@,$rel_cgidir,;t t
21380
s,@exp_includedir@,$exp_includedir,;t t
21381
s,@rel_includedir@,$rel_includedir,;t t
21382
s,@exp_localstatedir@,$exp_localstatedir,;t t
21383
s,@rel_localstatedir@,$rel_localstatedir,;t t
21384
s,@exp_runtimedir@,$exp_runtimedir,;t t
21385
s,@rel_runtimedir@,$rel_runtimedir,;t t
21386
s,@exp_logfiledir@,$exp_logfiledir,;t t
21387
s,@rel_logfiledir@,$rel_logfiledir,;t t
21388
s,@exp_proxycachedir@,$exp_proxycachedir,;t t
21389
s,@rel_proxycachedir@,$rel_proxycachedir,;t t
21390
s,@build@,$build,;t t
21391
s,@build_cpu@,$build_cpu,;t t
21392
s,@build_vendor@,$build_vendor,;t t
21393
s,@build_os@,$build_os,;t t
21394
s,@host@,$host,;t t
21395
s,@host_cpu@,$host_cpu,;t t
21396
s,@host_vendor@,$host_vendor,;t t
21397
s,@host_os@,$host_os,;t t
21398
s,@target@,$target,;t t
21399
s,@target_cpu@,$target_cpu,;t t
21400
s,@target_vendor@,$target_vendor,;t t
21401
s,@target_os@,$target_os,;t t
21403
s,@CFLAGS@,$CFLAGS,;t t
21404
s,@LDFLAGS@,$LDFLAGS,;t t
21405
s,@CPPFLAGS@,$CPPFLAGS,;t t
21406
s,@ac_ct_CC@,$ac_ct_CC,;t t
21407
s,@EXEEXT@,$EXEEXT,;t t
21408
s,@OBJEXT@,$OBJEXT,;t t
21410
s,@PCRE_CONFIG@,$PCRE_CONFIG,;t t
21411
s,@SHLTCFLAGS@,$SHLTCFLAGS,;t t
21412
s,@LTCFLAGS@,$LTCFLAGS,;t t
21414
s,@PKGCONFIG@,$PKGCONFIG,;t t
21415
s,@RSYNC@,$RSYNC,;t t
21417
s,@LN_S@,$LN_S,;t t
21418
s,@RANLIB@,$RANLIB,;t t
21419
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21420
s,@LYNX_PATH@,$LYNX_PATH,;t t
21421
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21422
s,@INSTALL@,$INSTALL,;t t
21423
s,@EGREP@,$EGREP,;t t
21424
s,@MKDEP@,$MKDEP,;t t
21425
s,@PICFLAGS@,$PICFLAGS,;t t
21426
s,@PILDFLAGS@,$PILDFLAGS,;t t
21427
s,@MOD_AUTHN_FILE_LDADD@,$MOD_AUTHN_FILE_LDADD,;t t
21428
s,@MOD_AUTHN_DBM_LDADD@,$MOD_AUTHN_DBM_LDADD,;t t
21429
s,@MOD_AUTHN_ANON_LDADD@,$MOD_AUTHN_ANON_LDADD,;t t
21430
s,@MOD_AUTHN_DBD_LDADD@,$MOD_AUTHN_DBD_LDADD,;t t
21431
s,@MOD_AUTHN_DEFAULT_LDADD@,$MOD_AUTHN_DEFAULT_LDADD,;t t
21432
s,@MOD_AUTHN_ALIAS_LDADD@,$MOD_AUTHN_ALIAS_LDADD,;t t
21433
s,@MOD_AUTHZ_HOST_LDADD@,$MOD_AUTHZ_HOST_LDADD,;t t
21434
s,@MOD_AUTHZ_GROUPFILE_LDADD@,$MOD_AUTHZ_GROUPFILE_LDADD,;t t
21435
s,@MOD_AUTHZ_USER_LDADD@,$MOD_AUTHZ_USER_LDADD,;t t
21436
s,@MOD_AUTHZ_DBM_LDADD@,$MOD_AUTHZ_DBM_LDADD,;t t
21437
s,@MOD_AUTHZ_OWNER_LDADD@,$MOD_AUTHZ_OWNER_LDADD,;t t
21438
s,@MOD_AUTHNZ_LDAP_LDADD@,$MOD_AUTHNZ_LDAP_LDADD,;t t
21439
s,@MOD_AUTHZ_DEFAULT_LDADD@,$MOD_AUTHZ_DEFAULT_LDADD,;t t
21440
s,@MOD_AUTH_BASIC_LDADD@,$MOD_AUTH_BASIC_LDADD,;t t
21441
s,@MOD_AUTH_DIGEST_LDADD@,$MOD_AUTH_DIGEST_LDADD,;t t
21442
s,@MOD_ISAPI_LDADD@,$MOD_ISAPI_LDADD,;t t
21443
s,@MOD_FILE_CACHE_LDADD@,$MOD_FILE_CACHE_LDADD,;t t
21444
s,@MOD_CACHE_LDADD@,$MOD_CACHE_LDADD,;t t
21445
s,@MOD_DISK_CACHE_LDADD@,$MOD_DISK_CACHE_LDADD,;t t
21446
s,@MOD_MEM_CACHE_LDADD@,$MOD_MEM_CACHE_LDADD,;t t
21447
s,@MOD_DBD_LDADD@,$MOD_DBD_LDADD,;t t
21448
s,@MOD_BUCKETEER_LDADD@,$MOD_BUCKETEER_LDADD,;t t
21449
s,@MOD_DUMPIO_LDADD@,$MOD_DUMPIO_LDADD,;t t
21450
s,@MOD_ECHO_LDADD@,$MOD_ECHO_LDADD,;t t
21451
s,@MOD_EXAMPLE_LDADD@,$MOD_EXAMPLE_LDADD,;t t
21452
s,@MOD_CASE_FILTER_LDADD@,$MOD_CASE_FILTER_LDADD,;t t
21453
s,@MOD_CASE_FILTER_IN_LDADD@,$MOD_CASE_FILTER_IN_LDADD,;t t
21454
s,@MOD_EXT_FILTER_LDADD@,$MOD_EXT_FILTER_LDADD,;t t
21455
s,@MOD_INCLUDE_LDADD@,$MOD_INCLUDE_LDADD,;t t
21456
s,@MOD_FILTER_LDADD@,$MOD_FILTER_LDADD,;t t
21457
s,@MOD_CHARSET_LITE_LDADD@,$MOD_CHARSET_LITE_LDADD,;t t
21458
s,@MOD_DEFLATE_LDADD@,$MOD_DEFLATE_LDADD,;t t
21459
s,@MOD_LDAP_LDADD@,$MOD_LDAP_LDADD,;t t
21460
s,@MOD_LOG_CONFIG_LDADD@,$MOD_LOG_CONFIG_LDADD,;t t
21461
s,@MOD_LOG_FORENSIC_LDADD@,$MOD_LOG_FORENSIC_LDADD,;t t
21462
s,@MOD_LOGIO_LDADD@,$MOD_LOGIO_LDADD,;t t
21463
s,@MOD_ENV_LDADD@,$MOD_ENV_LDADD,;t t
21464
s,@MOD_MIME_MAGIC_LDADD@,$MOD_MIME_MAGIC_LDADD,;t t
21465
s,@MOD_CERN_META_LDADD@,$MOD_CERN_META_LDADD,;t t
21466
s,@MOD_EXPIRES_LDADD@,$MOD_EXPIRES_LDADD,;t t
21467
s,@MOD_HEADERS_LDADD@,$MOD_HEADERS_LDADD,;t t
21468
s,@MOD_IDENT_LDADD@,$MOD_IDENT_LDADD,;t t
21469
s,@MOD_USERTRACK_LDADD@,$MOD_USERTRACK_LDADD,;t t
21470
s,@MOD_UNIQUE_ID_LDADD@,$MOD_UNIQUE_ID_LDADD,;t t
21471
s,@MOD_SETENVIF_LDADD@,$MOD_SETENVIF_LDADD,;t t
21472
s,@MOD_VERSION_LDADD@,$MOD_VERSION_LDADD,;t t
21473
s,@MOD_PROXY_LDADD@,$MOD_PROXY_LDADD,;t t
21474
s,@MOD_PROXY_CONNECT_LDADD@,$MOD_PROXY_CONNECT_LDADD,;t t
21475
s,@MOD_PROXY_FTP_LDADD@,$MOD_PROXY_FTP_LDADD,;t t
21476
s,@MOD_PROXY_HTTP_LDADD@,$MOD_PROXY_HTTP_LDADD,;t t
21477
s,@MOD_PROXY_AJP_LDADD@,$MOD_PROXY_AJP_LDADD,;t t
21478
s,@MOD_PROXY_BALANCER_LDADD@,$MOD_PROXY_BALANCER_LDADD,;t t
21479
s,@SSL_LIBS@,$SSL_LIBS,;t t
21480
s,@MOD_SSL_LDADD@,$MOD_SSL_LDADD,;t t
21481
s,@MOD_OPTIONAL_HOOK_EXPORT_LDADD@,$MOD_OPTIONAL_HOOK_EXPORT_LDADD,;t t
21482
s,@MOD_OPTIONAL_HOOK_IMPORT_LDADD@,$MOD_OPTIONAL_HOOK_IMPORT_LDADD,;t t
21483
s,@MOD_OPTIONAL_FN_IMPORT_LDADD@,$MOD_OPTIONAL_FN_IMPORT_LDADD,;t t
21484
s,@MOD_OPTIONAL_FN_EXPORT_LDADD@,$MOD_OPTIONAL_FN_EXPORT_LDADD,;t t
21485
s,@MPM_NAME@,$MPM_NAME,;t t
21486
s,@MPM_SUBDIR_NAME@,$MPM_SUBDIR_NAME,;t t
21487
s,@htpasswd_LTFLAGS@,$htpasswd_LTFLAGS,;t t
21488
s,@htdigest_LTFLAGS@,$htdigest_LTFLAGS,;t t
21489
s,@rotatelogs_LTFLAGS@,$rotatelogs_LTFLAGS,;t t
21490
s,@logresolve_LTFLAGS@,$logresolve_LTFLAGS,;t t
21491
s,@htdbm_LTFLAGS@,$htdbm_LTFLAGS,;t t
21492
s,@ab_LTFLAGS@,$ab_LTFLAGS,;t t
21493
s,@checkgid_LTFLAGS@,$checkgid_LTFLAGS,;t t
21494
s,@APACHECTL_ULIMIT@,$APACHECTL_ULIMIT,;t t
21495
s,@MOD_HTTP_LDADD@,$MOD_HTTP_LDADD,;t t
21496
s,@MOD_MIME_LDADD@,$MOD_MIME_LDADD,;t t
21497
s,@MOD_DAV_LDADD@,$MOD_DAV_LDADD,;t t
21498
s,@MOD_STATUS_LDADD@,$MOD_STATUS_LDADD,;t t
21499
s,@MOD_AUTOINDEX_LDADD@,$MOD_AUTOINDEX_LDADD,;t t
21500
s,@MOD_ASIS_LDADD@,$MOD_ASIS_LDADD,;t t
21501
s,@MOD_INFO_LDADD@,$MOD_INFO_LDADD,;t t
21502
s,@MOD_SUEXEC_LDADD@,$MOD_SUEXEC_LDADD,;t t
21503
s,@MOD_CGID_LDADD@,$MOD_CGID_LDADD,;t t
21504
s,@MOD_CGI_LDADD@,$MOD_CGI_LDADD,;t t
21505
s,@MOD_DAV_FS_LDADD@,$MOD_DAV_FS_LDADD,;t t
21506
s,@MOD_DAV_LOCK_LDADD@,$MOD_DAV_LOCK_LDADD,;t t
21507
s,@MOD_VHOST_ALIAS_LDADD@,$MOD_VHOST_ALIAS_LDADD,;t t
21508
s,@MOD_NEGOTIATION_LDADD@,$MOD_NEGOTIATION_LDADD,;t t
21509
s,@MOD_DIR_LDADD@,$MOD_DIR_LDADD,;t t
21510
s,@MOD_IMAGEMAP_LDADD@,$MOD_IMAGEMAP_LDADD,;t t
21511
s,@MOD_ACTIONS_LDADD@,$MOD_ACTIONS_LDADD,;t t
21512
s,@MOD_SPELING_LDADD@,$MOD_SPELING_LDADD,;t t
21513
s,@MOD_USERDIR_LDADD@,$MOD_USERDIR_LDADD,;t t
21514
s,@MOD_ALIAS_LDADD@,$MOD_ALIAS_LDADD,;t t
21515
s,@MOD_REWRITE_LDADD@,$MOD_REWRITE_LDADD,;t t
21516
s,@INSTALL_DSO@,$INSTALL_DSO,;t t
21517
s,@MOD_SO_LDADD@,$MOD_SO_LDADD,;t t
21518
s,@progname@,$progname,;t t
21519
s,@MPM_LIB@,$MPM_LIB,;t t
21521
s,@OS_DIR@,$OS_DIR,;t t
21522
s,@BUILTIN_LIBS@,$BUILTIN_LIBS,;t t
21523
s,@SHLIBPATH_VAR@,$SHLIBPATH_VAR,;t t
21524
s,@OS_SPECIFIC_VARS@,$OS_SPECIFIC_VARS,;t t
21525
s,@PRE_SHARED_CMDS@,$PRE_SHARED_CMDS,;t t
21526
s,@POST_SHARED_CMDS@,$POST_SHARED_CMDS,;t t
21527
s,@shared_build@,$shared_build,;t t
21528
s,@AP_LIBS@,$AP_LIBS,;t t
21529
s,@AP_BUILD_SRCLIB_DIRS@,$AP_BUILD_SRCLIB_DIRS,;t t
21530
s,@AP_CLEAN_SRCLIB_DIRS@,$AP_CLEAN_SRCLIB_DIRS,;t t
21531
s,@EXTRA_CPPFLAGS@,$EXTRA_CPPFLAGS,;t t
21532
s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
21533
s,@EXTRA_CXXFLAGS@,$EXTRA_CXXFLAGS,;t t
21534
s,@EXTRA_LDFLAGS@,$EXTRA_LDFLAGS,;t t
21535
s,@EXTRA_LIBS@,$EXTRA_LIBS,;t t
21536
s,@EXTRA_INCLUDES@,$EXTRA_INCLUDES,;t t
21537
s,@abs_srcdir@,$abs_srcdir,;t t
21538
s,@cgidir@,$cgidir,;t t
21539
s,@logfiledir@,$logfiledir,;t t
21540
s,@htdocsdir@,$htdocsdir,;t t
21541
s,@manualdir@,$manualdir,;t t
21542
s,@errordir@,$errordir,;t t
21543
s,@iconsdir@,$iconsdir,;t t
21544
s,@installbuilddir@,$installbuilddir,;t t
21545
s,@runtimedir@,$runtimedir,;t t
21546
s,@proxycachedir@,$proxycachedir,;t t
21547
s,@other_targets@,$other_targets,;t t
21549
s,@CXXFLAGS@,$CXXFLAGS,;t t
21550
s,@LTFLAGS@,$LTFLAGS,;t t
21551
s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
21552
s,@SH_LDFLAGS@,$SH_LDFLAGS,;t t
21553
s,@HTTPD_LDFLAGS@,$HTTPD_LDFLAGS,;t t
21554
s,@UTIL_LDFLAGS@,$UTIL_LDFLAGS,;t t
21555
s,@INCLUDES@,$INCLUDES,;t t
21556
s,@NOTEST_CPPFLAGS@,$NOTEST_CPPFLAGS,;t t
21557
s,@NOTEST_CFLAGS@,$NOTEST_CFLAGS,;t t
21558
s,@NOTEST_CXXFLAGS@,$NOTEST_CXXFLAGS,;t t
21559
s,@NOTEST_LDFLAGS@,$NOTEST_LDFLAGS,;t t
21560
s,@NOTEST_LIBS@,$NOTEST_LIBS,;t t
21561
s,@LIBTOOL@,$LIBTOOL,;t t
21562
s,@MODULE_DIRS@,$MODULE_DIRS,;t t
21563
s,@MODULE_CLEANDIRS@,$MODULE_CLEANDIRS,;t t
21564
s,@PORT@,$PORT,;t t
21565
s,@nonssl_listen_stmt_1@,$nonssl_listen_stmt_1,;t t
21566
s,@nonssl_listen_stmt_2@,$nonssl_listen_stmt_2,;t t
21567
s,@CORE_IMPLIB_FILE@,$CORE_IMPLIB_FILE,;t t
21568
s,@CORE_IMPLIB@,$CORE_IMPLIB,;t t
21569
s,@SH_LIBS@,$SH_LIBS,;t t
21570
s,@SH_LIBTOOL@,$SH_LIBTOOL,;t t
21571
s,@MK_IMPLIB@,$MK_IMPLIB,;t t
21572
s,@INSTALL_PROG_FLAGS@,$INSTALL_PROG_FLAGS,;t t
21573
s,@DSO_MODULES@,$DSO_MODULES,;t t
21574
s,@APR_BINDIR@,$APR_BINDIR,;t t
21575
s,@APR_INCLUDEDIR@,$APR_INCLUDEDIR,;t t
21576
s,@APR_VERSION@,$APR_VERSION,;t t
21577
s,@APR_CONFIG@,$APR_CONFIG,;t t
21578
s,@APU_BINDIR@,$APU_BINDIR,;t t
21579
s,@APU_INCLUDEDIR@,$APU_INCLUDEDIR,;t t
21580
s,@APU_VERSION@,$APU_VERSION,;t t
21581
s,@APU_CONFIG@,$APU_CONFIG,;t t
21582
s,@perlbin@,$perlbin,;t t
21583
s,@ap_make_include@,$ap_make_include,;t t
21584
s,@ap_make_delimiter@,$ap_make_delimiter,;t t
21585
s,@HTTPD_VERSION@,$HTTPD_VERSION,;t t
21586
s,@LIBOBJS@,$LIBOBJS,;t t
21587
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21592
cat >>$CONFIG_STATUS <<\_ACEOF
21593
# Split the substitutions into bite-sized pieces for seds with
21594
# small command number limits, like on Digital OSF/1 and HP-UX.
21595
ac_max_sed_lines=48
21596
ac_sed_frag=1 # Number of current file.
21597
ac_beg=1 # First line for current file.
21598
ac_end=$ac_max_sed_lines # Line after last line for current file.
21601
while $ac_more_lines; do
21602
if test $ac_beg -gt 1; then
21603
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21605
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21607
if test ! -s $tmp/subs.frag; then
21608
ac_more_lines=false
21610
# The purpose of the label and of the branching condition is to
21611
# speed up the sed processing (if there are no `@' at all, there
21612
# is no need to browse any of the substitutions).
21613
# These are the two extra sed commands mentioned above.
21615
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21616
if test -z "$ac_sed_cmds"; then
21617
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21619
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21621
ac_sed_frag=`expr $ac_sed_frag + 1`
21623
ac_end=`expr $ac_end + $ac_max_sed_lines`
21626
if test -z "$ac_sed_cmds"; then
21629
fi # test -n "$CONFIG_FILES"
21632
cat >>$CONFIG_STATUS <<\_ACEOF
21633
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21634
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21636
- | *:- | *:-:* ) # input from stdin
21638
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21639
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21640
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21641
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21642
* ) ac_file_in=$ac_file.in ;;
21645
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21646
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21647
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21648
X"$ac_file" : 'X\(//\)[^/]' \| \
21649
X"$ac_file" : 'X\(//\)$' \| \
21650
X"$ac_file" : 'X\(/\)' \| \
21651
. : '\(.\)' 2>/dev/null ||
21653
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21654
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21655
/^X\(\/\/\)$/{ s//\1/; q; }
21656
/^X\(\/\).*/{ s//\1/; q; }
21658
{ if $as_mkdir_p; then
21663
while test ! -d "$as_dir"; do
21664
as_dirs="$as_dir $as_dirs"
21665
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21666
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21667
X"$as_dir" : 'X\(//\)[^/]' \| \
21668
X"$as_dir" : 'X\(//\)$' \| \
21669
X"$as_dir" : 'X\(/\)' \| \
21670
. : '\(.\)' 2>/dev/null ||
21672
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21673
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21674
/^X\(\/\/\)$/{ s//\1/; q; }
21675
/^X\(\/\).*/{ s//\1/; q; }
21678
test ! -n "$as_dirs" || mkdir $as_dirs
21679
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21680
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21681
{ (exit 1); exit 1; }; }; }
21685
if test "$ac_dir" != .; then
21686
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21687
# A "../" for each directory in $ac_dir_suffix.
21688
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21690
ac_dir_suffix= ac_top_builddir=
21694
.) # No --srcdir option. We are building in place.
21696
if test -z "$ac_top_builddir"; then
21699
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21701
[\\/]* | ?:[\\/]* ) # Absolute path.
21702
ac_srcdir=$srcdir$ac_dir_suffix;
21703
ac_top_srcdir=$srcdir ;;
21704
*) # Relative path.
21705
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21706
ac_top_srcdir=$ac_top_builddir$srcdir ;;
21709
# Do not use `cd foo && pwd` to compute absolute paths, because
21710
# the directories may not exist.
21712
.) ac_abs_builddir="$ac_dir";;
21715
.) ac_abs_builddir=`pwd`;;
21716
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21717
*) ac_abs_builddir=`pwd`/"$ac_dir";;
21720
case $ac_abs_builddir in
21721
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21723
case ${ac_top_builddir}. in
21724
.) ac_abs_top_builddir=$ac_abs_builddir;;
21725
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21726
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21729
case $ac_abs_builddir in
21730
.) ac_abs_srcdir=$ac_srcdir;;
21733
.) ac_abs_srcdir=$ac_abs_builddir;;
21734
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21735
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21738
case $ac_abs_builddir in
21739
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21741
case $ac_top_srcdir in
21742
.) ac_abs_top_srcdir=$ac_abs_builddir;;
21743
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21744
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21750
if test x"$ac_file" != x-; then
21751
{ echo "$as_me:$LINENO: creating $ac_file" >&5
21752
echo "$as_me: creating $ac_file" >&6;}
21755
# Let's still pretend it is `configure' which instantiates (i.e., don't
21756
# use $as_me), people would be surprised to read:
21757
# /* config.h. Generated by config.status. */
21758
if test x"$ac_file" = x-; then
21761
configure_input="$ac_file. "
21763
configure_input=$configure_input"Generated from `echo $ac_file_in |
21764
sed 's,.*/,,'` by configure."
21766
# First look for the input files in the build tree, otherwise in the
21768
ac_file_inputs=`IFS=:
21769
for f in $ac_file_in; do
21771
-) echo $tmp/stdin ;;
21773
# Absolute (can't be DOS-style, as IFS=:)
21774
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21775
echo "$as_me: error: cannot find input file: $f" >&2;}
21776
{ (exit 1); exit 1; }; }
21779
if test -f "$f"; then
21782
elif test -f "$srcdir/$f"; then
21787
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21788
echo "$as_me: error: cannot find input file: $f" >&2;}
21789
{ (exit 1); exit 1; }; }
21792
done` || { (exit 1); exit 1; }
21794
cat >>$CONFIG_STATUS <<_ACEOF
21798
cat >>$CONFIG_STATUS <<\_ACEOF
21800
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21801
s,@configure_input@,$configure_input,;t t
21802
s,@srcdir@,$ac_srcdir,;t t
21803
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21804
s,@top_srcdir@,$ac_top_srcdir,;t t
21805
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21806
s,@builddir@,$ac_builddir,;t t
21807
s,@abs_builddir@,$ac_abs_builddir,;t t
21808
s,@top_builddir@,$ac_top_builddir,;t t
21809
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21810
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21812
if test x"$ac_file" != x-; then
21813
mv $tmp/out $ac_file
21821
cat >>$CONFIG_STATUS <<\_ACEOF
21824
# CONFIG_HEADER section.
21827
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21828
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21830
# ac_d sets the value in "#define NAME VALUE" lines.
21831
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21832
ac_dB='[ ].*$,\1#\2'
21835
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21836
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21837
ac_uB='$,\1#\2define\3'
21841
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21842
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21844
- | *:- | *:-:* ) # input from stdin
21846
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21847
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21848
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21849
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21850
* ) ac_file_in=$ac_file.in ;;
21853
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21854
echo "$as_me: creating $ac_file" >&6;}
21856
# First look for the input files in the build tree, otherwise in the
21858
ac_file_inputs=`IFS=:
21859
for f in $ac_file_in; do
21861
-) echo $tmp/stdin ;;
21863
# Absolute (can't be DOS-style, as IFS=:)
21864
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21865
echo "$as_me: error: cannot find input file: $f" >&2;}
21866
{ (exit 1); exit 1; }; }
21867
# Do quote $f, to prevent DOS paths from being IFS'd.
21870
if test -f "$f"; then
21873
elif test -f "$srcdir/$f"; then
21878
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21879
echo "$as_me: error: cannot find input file: $f" >&2;}
21880
{ (exit 1); exit 1; }; }
21883
done` || { (exit 1); exit 1; }
21884
# Remove the trailing spaces.
21885
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21889
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21890
# `conftest.undefs', that substitutes the proper values into
21891
# config.h.in to produce config.h. The first handles `#define'
21892
# templates, and the second `#undef' templates.
21893
# And first: Protect against being on the right side of a sed subst in
21894
# config.status. Protect against being in an unquoted here document
21895
# in config.status.
21896
rm -f conftest.defines conftest.undefs
21897
# Using a here document instead of a string reduces the quoting nightmare.
21898
# Putting comments in sed scripts is not portable.
21900
# `end' is used to avoid that the second main sed command (meant for
21901
# 0-ary CPP macros) applies to n-ary macro definitions.
21902
# See the Autoconf documentation for `clear'.
21903
cat >confdef2sed.sed <<\_ACEOF
21908
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21910
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21913
# If some macros were called several times there might be several times
21914
# the same #defines, which is useless. Nevertheless, we may not want to
21915
# sort them, since we want the *last* AC-DEFINE to be honored.
21916
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21917
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21918
rm -f confdef2sed.sed
21920
# This sed command replaces #undef with comments. This is necessary, for
21921
# example, in the case of _POSIX_SOURCE, which is predefined and required
21922
# on some systems where configure will not decide to define it.
21923
cat >>conftest.undefs <<\_ACEOF
21924
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21927
# Break up conftest.defines because some shells have a limit on the size
21928
# of here documents, and old seds have small limits too (100 cmds).
21929
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21930
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21931
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21932
echo ' :' >>$CONFIG_STATUS
21933
rm -f conftest.tail
21934
while grep . conftest.defines >/dev/null
21936
# Write a limited-size here document to $tmp/defines.sed.
21937
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21938
# Speed up: don't consider the non `#define' lines.
21939
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21940
# Work around the forget-to-reset-the-flag bug.
21941
echo 't clr' >>$CONFIG_STATUS
21942
echo ': clr' >>$CONFIG_STATUS
21943
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21945
sed -f $tmp/defines.sed $tmp/in >$tmp/out
21947
mv $tmp/out $tmp/in
21949
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21950
rm -f conftest.defines
21951
mv conftest.tail conftest.defines
21953
rm -f conftest.defines
21954
echo ' fi # grep' >>$CONFIG_STATUS
21955
echo >>$CONFIG_STATUS
21957
# Break up conftest.undefs because some shells have a limit on the size
21958
# of here documents, and old seds have small limits too (100 cmds).
21959
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21960
rm -f conftest.tail
21961
while grep . conftest.undefs >/dev/null
21963
# Write a limited-size here document to $tmp/undefs.sed.
21964
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21965
# Speed up: don't consider the non `#undef'
21966
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21967
# Work around the forget-to-reset-the-flag bug.
21968
echo 't clr' >>$CONFIG_STATUS
21969
echo ': clr' >>$CONFIG_STATUS
21970
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21972
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21974
mv $tmp/out $tmp/in
21976
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21977
rm -f conftest.undefs
21978
mv conftest.tail conftest.undefs
21980
rm -f conftest.undefs
21982
cat >>$CONFIG_STATUS <<\_ACEOF
21983
# Let's still pretend it is `configure' which instantiates (i.e., don't
21984
# use $as_me), people would be surprised to read:
21985
# /* config.h. Generated by config.status. */
21986
if test x"$ac_file" = x-; then
21987
echo "/* Generated by configure. */" >$tmp/config.h
21989
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21991
cat $tmp/in >>$tmp/config.h
21993
if test x"$ac_file" != x-; then
21994
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21995
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21996
echo "$as_me: $ac_file is unchanged" >&6;}
21998
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21999
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22000
X"$ac_file" : 'X\(//\)[^/]' \| \
22001
X"$ac_file" : 'X\(//\)$' \| \
22002
X"$ac_file" : 'X\(/\)' \| \
22003
. : '\(.\)' 2>/dev/null ||
22005
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22006
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22007
/^X\(\/\/\)$/{ s//\1/; q; }
22008
/^X\(\/\).*/{ s//\1/; q; }
22010
{ if $as_mkdir_p; then
22015
while test ! -d "$as_dir"; do
22016
as_dirs="$as_dir $as_dirs"
22017
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22018
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22019
X"$as_dir" : 'X\(//\)[^/]' \| \
22020
X"$as_dir" : 'X\(//\)$' \| \
22021
X"$as_dir" : 'X\(/\)' \| \
22022
. : '\(.\)' 2>/dev/null ||
22024
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22025
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22026
/^X\(\/\/\)$/{ s//\1/; q; }
22027
/^X\(\/\).*/{ s//\1/; q; }
22030
test ! -n "$as_dirs" || mkdir $as_dirs
22031
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22032
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22033
{ (exit 1); exit 1; }; }; }
22036
mv $tmp/config.h $ac_file
22040
rm -f $tmp/config.h
22044
cat >>$CONFIG_STATUS <<\_ACEOF
22047
# CONFIG_COMMANDS section.
22049
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22050
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22051
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22052
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22053
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22054
X"$ac_dest" : 'X\(//\)[^/]' \| \
22055
X"$ac_dest" : 'X\(//\)$' \| \
22056
X"$ac_dest" : 'X\(/\)' \| \
22057
. : '\(.\)' 2>/dev/null ||
22059
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22060
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22061
/^X\(\/\/\)$/{ s//\1/; q; }
22062
/^X\(\/\).*/{ s//\1/; q; }
22064
{ if $as_mkdir_p; then
22069
while test ! -d "$as_dir"; do
22070
as_dirs="$as_dir $as_dirs"
22071
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22072
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22073
X"$as_dir" : 'X\(//\)[^/]' \| \
22074
X"$as_dir" : 'X\(//\)$' \| \
22075
X"$as_dir" : 'X\(/\)' \| \
22076
. : '\(.\)' 2>/dev/null ||
22078
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22079
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22080
/^X\(\/\/\)$/{ s//\1/; q; }
22081
/^X\(\/\).*/{ s//\1/; q; }
22084
test ! -n "$as_dirs" || mkdir $as_dirs
22085
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22086
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22087
{ (exit 1); exit 1; }; }; }
22091
if test "$ac_dir" != .; then
22092
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22093
# A "../" for each directory in $ac_dir_suffix.
22094
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22096
ac_dir_suffix= ac_top_builddir=
22100
.) # No --srcdir option. We are building in place.
22102
if test -z "$ac_top_builddir"; then
22105
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22107
[\\/]* | ?:[\\/]* ) # Absolute path.
22108
ac_srcdir=$srcdir$ac_dir_suffix;
22109
ac_top_srcdir=$srcdir ;;
22110
*) # Relative path.
22111
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22112
ac_top_srcdir=$ac_top_builddir$srcdir ;;
22115
# Do not use `cd foo && pwd` to compute absolute paths, because
22116
# the directories may not exist.
22118
.) ac_abs_builddir="$ac_dir";;
22121
.) ac_abs_builddir=`pwd`;;
22122
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22123
*) ac_abs_builddir=`pwd`/"$ac_dir";;
22126
case $ac_abs_builddir in
22127
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22129
case ${ac_top_builddir}. in
22130
.) ac_abs_top_builddir=$ac_abs_builddir;;
22131
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22132
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22135
case $ac_abs_builddir in
22136
.) ac_abs_srcdir=$ac_srcdir;;
22139
.) ac_abs_srcdir=$ac_abs_builddir;;
22140
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22141
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22144
case $ac_abs_builddir in
22145
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22147
case $ac_top_srcdir in
22148
.) ac_abs_top_srcdir=$ac_abs_builddir;;
22149
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22150
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22155
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22156
echo "$as_me: executing $ac_dest commands" >&6;}
22163
cat >>$CONFIG_STATUS <<\_ACEOF
22165
{ (exit 0); exit 0; }
22167
chmod +x $CONFIG_STATUS
22168
ac_clean_files=$ac_clean_files_save
22171
# configure is writing to config.log, and then calls config.status.
22172
# config.status does its own redirection, appending to config.log.
22173
# Unfortunately, on DOS this fails, as config.log is still kept open
22174
# by configure, so config.status won't be able to write to it; its
22175
# output is simply discarded. So we exec the FD to /dev/null,
22176
# effectively closing config.log, so it can be properly (re)opened and
22177
# appended to by config.status. When coming back to configure, we
22178
# need to make the FD available again.
22179
if test "$no_create" != yes; then
22181
ac_config_status_args=
22182
test "$silent" = yes &&
22183
ac_config_status_args="$ac_config_status_args --quiet"
22185
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22187
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
22188
# would make configure fail if this is the last instruction.
22189
$ac_cs_success || { (exit 1); exit 1; }
22193
case $MPM_SUBDIR_NAME in
22197
echo "============================================================"
22198
echo " WARNING: THE '${APACHE_MPM}' MPM IS EXPERIMENTAL"
22199
echo "============================================================"
22200
echo " The selected MPM might not be fully functional!"
22202
echo " Development of this MPM is not complete. Do not use this"
22203
echo " MPM unless you are a programmer willing to help fix it."
22205
echo " If you are looking for a stable server, you should not use"
22206
echo " the '${APACHE_MPM}' MPM until it is moved out of experimental."
22207
echo "============================================================"