summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3062
1 files changed, 1901 insertions, 1161 deletions
diff --git a/configure b/configure
index c5700a1..0b955f8 100755
--- a/configure
+++ b/configure
@@ -1,9 +1,9 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71.
+# Generated by GNU Autoconf 2.72.
#
#
-# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
+# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
# Inc.
#
#
@@ -15,7 +15,6 @@
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
@@ -24,12 +23,13 @@ then :
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
-else $as_nop
- case `(set -o) 2>/dev/null` in #(
+else case e in #(
+ e) case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+esac ;;
esac
fi
@@ -101,7 +101,7 @@ IFS=$as_save_IFS
;;
esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
+# We did not find ourselves, most probably we were run as 'sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
@@ -131,15 +131,14 @@ case $- in # ((((
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
+# out after a failed 'exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
# We don't want this to propagate to other subprocesses.
{ _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="as_nop=:
-if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
+ as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
NULLCMD=:
@@ -147,12 +146,13 @@ then :
# is contrary to our usage. Disable this feature.
alias -g '\${1+\"\$@\"}'='\"\$@\"'
setopt NO_GLOB_SUBST
-else \$as_nop
- case \`(set -o) 2>/dev/null\` in #(
+else case e in #(
+ e) case \`(set -o) 2>/dev/null\` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+esac ;;
esac
fi
"
@@ -170,8 +170,9 @@ as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
if ( set x; as_fn_ret_success y && test x = \"\$1\" )
then :
-else \$as_nop
- exitcode=1; echo positional parameters were not saved.
+else case e in #(
+ e) exitcode=1; echo positional parameters were not saved. ;;
+esac
fi
test x\$exitcode = x0 || exit 1
blah=\$(echo \$(echo blah))
@@ -185,14 +186,15 @@ test \$(( 1 + 1 )) = 2 || exit 1"
if (eval "$as_required") 2>/dev/null
then :
as_have_required=yes
-else $as_nop
- as_have_required=no
+else case e in #(
+ e) as_have_required=no ;;
+esac
fi
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
then :
-else $as_nop
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+else case e in #(
+ e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
@@ -225,12 +227,13 @@ IFS=$as_save_IFS
if $as_found
then :
-else $as_nop
- if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+else case e in #(
+ e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
CONFIG_SHELL=$SHELL as_have_required=yes
-fi
+fi ;;
+esac
fi
@@ -252,7 +255,7 @@ case $- in # ((((
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
+# out after a failed 'exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
@@ -271,7 +274,8 @@ $0: message. Then install a modern shell, or manually run
$0: the script under such a shell if you do have one."
fi
exit 1
-fi
+fi ;;
+esac
fi
fi
SHELL=${CONFIG_SHELL-/bin/sh}
@@ -310,14 +314,6 @@ as_fn_exit ()
as_fn_set_status $1
exit $1
} # as_fn_exit
-# as_fn_nop
-# ---------
-# Do nothing but, unlike ":", preserve the value of $?.
-as_fn_nop ()
-{
- return $?
-}
-as_nop=as_fn_nop
# as_fn_mkdir_p
# -------------
@@ -386,11 +382,12 @@ then :
{
eval $1+=\$2
}'
-else $as_nop
- as_fn_append ()
+else case e in #(
+ e) as_fn_append ()
{
eval $1=\$$1\$2
- }
+ } ;;
+esac
fi # as_fn_append
# as_fn_arith ARG...
@@ -404,21 +401,14 @@ then :
{
as_val=$(( $* ))
}'
-else $as_nop
- as_fn_arith ()
+else case e in #(
+ e) as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
- }
+ } ;;
+esac
fi # as_fn_arith
-# as_fn_nop
-# ---------
-# Do nothing but, unlike ":", preserve the value of $?.
-as_fn_nop ()
-{
- return $?
-}
-as_nop=as_fn_nop
# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
@@ -492,6 +482,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
/[$]LINENO/=
' <$as_myself |
sed '
+ t clear
+ :clear
s/[$]LINENO.*/&-/
t lineno
b
@@ -540,7 +532,6 @@ esac
as_echo='printf %s\n'
as_echo_n='printf %s'
-
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
@@ -552,9 +543,9 @@ if (echo >conf$$.file) 2>/dev/null; then
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
+ # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
+ # In both cases, we have to default to 'cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
@@ -579,10 +570,12 @@ as_test_x='test -x'
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+as_tr_sh="eval sed '$as_sed_sh'" # deprecated
test -n "$DJDIR" || exec 7<&0 </dev/null
@@ -1310,7 +1303,7 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ as_fn_error $? "invalid feature name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1336,7 +1329,7 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ as_fn_error $? "invalid feature name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1549,7 +1542,7 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: \`$ac_useropt'"
+ as_fn_error $? "invalid package name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1565,7 +1558,7 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: \`$ac_useropt'"
+ as_fn_error $? "invalid package name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1595,8 +1588,8 @@ do
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries=$ac_optarg ;;
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
+ -*) as_fn_error $? "unrecognized option: '$ac_option'
+Try '$0 --help' for more information"
;;
*=*)
@@ -1604,7 +1597,7 @@ Try \`$0 --help' for more information"
# Reject names that are not valid shell variable names.
case $ac_envvar in #(
'' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
esac
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
@@ -1654,7 +1647,7 @@ do
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
-# There might be people who depend on the old broken behavior: `$host'
+# There might be people who depend on the old broken behavior: '$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
@@ -1722,7 +1715,7 @@ if test ! -r "$srcdir/$ac_unique_file"; then
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
ac_abs_confdir=`(
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
pwd)`
@@ -1750,7 +1743,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
+'configure' configures this package to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1764,11 +1757,11 @@ Configuration:
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
+ -q, --quiet, --silent do not print 'checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
+ -C, --config-cache alias for '--cache-file=config.cache'
-n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
+ --srcdir=DIR find the sources in DIR [configure dir or '..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
@@ -1776,10 +1769,10 @@ Installation directories:
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
+By default, 'make install' will install all the files in
+'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than '$ac_default_prefix' using '--prefix',
+for instance '--prefix=\$HOME'.
For better control, use the options below.
@@ -2121,7 +2114,7 @@ Some influential environment variables:
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
-Use these variables to override the choices made by `configure' or to help
+Use these variables to override the choices made by 'configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.
@@ -2189,9 +2182,9 @@ test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
configure
-generated by GNU Autoconf 2.71
+generated by GNU Autoconf 2.72
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2023 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
@@ -2230,11 +2223,12 @@ printf "%s\n" "$ac_try_echo"; } >&5
} && test -s conftest.$ac_objext
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
@@ -2268,11 +2262,12 @@ printf "%s\n" "$ac_try_echo"; } >&5
}
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
@@ -2291,8 +2286,8 @@ printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
@@ -2300,10 +2295,12 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2343,11 +2340,12 @@ printf "%s\n" "$ac_try_echo"; } >&5
}
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
@@ -2359,6 +2357,50 @@ fi
} # ac_fn_c_try_link
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
+# executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+printf "%s\n" "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+printf "%s\n" "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }
+then :
+ ac_retval=0
+else case e in #(
+ e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
+ printf "%s\n" "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status ;;
+esac
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
# ac_fn_c_check_func LINENO FUNC VAR
# ----------------------------------
# Tests whether FUNC exists, setting the cache variable VAR accordingly
@@ -2370,15 +2412,15 @@ printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $2 (); below. */
+ which can conflict with char $2 (void); below. */
#include <limits.h>
#undef $2
@@ -2389,7 +2431,7 @@ else $as_nop
#ifdef __cplusplus
extern "C"
#endif
-char $2 ();
+char $2 (void);
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
@@ -2408,11 +2450,13 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
- conftest$ac_exeext conftest.$ac_ext
+ conftest$ac_exeext conftest.$ac_ext ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2421,49 +2465,6 @@ printf "%s\n" "$ac_res" >&6; }
} # ac_fn_c_check_func
-# ac_fn_c_try_run LINENO
-# ----------------------
-# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
-# executables *can* be run.
-ac_fn_c_try_run ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }
-then :
- ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: program exited with status $ac_status" >&5
- printf "%s\n" "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=$ac_status
-fi
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_run
-
# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
# ------------------------------------------------------------------
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
@@ -2477,8 +2478,8 @@ printf %s "checking whether $as_decl_name is declared... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
+else case e in #(
+ e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
eval ac_save_FLAGS=\$$6
as_fn_append $6 " $5"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2502,12 +2503,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
eval $6=\$ac_save_FLAGS
-
+ ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2540,7 +2543,7 @@ This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by $as_me, which was
-generated by GNU Autoconf 2.71. Invocation command line was
+generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
@@ -2786,10 +2789,10 @@ esac
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file" \
- || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; }
fi
done
@@ -2825,9 +2828,7 @@ struct stat;
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
struct buf { int x; };
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
+static char *e (char **p, int i)
{
return p[i];
}
@@ -2841,6 +2842,21 @@ static char *f (char * (*g) (char **, int), char **p, ...)
return s;
}
+/* C89 style stringification. */
+#define noexpand_stringify(a) #a
+const char *stringified = noexpand_stringify(arbitrary+token=sequence);
+
+/* C89 style token pasting. Exercises some of the corner cases that
+ e.g. old MSVC gets wrong, but not very hard. */
+#define noexpand_concat(a,b) a##b
+#define expand_concat(a,b) noexpand_concat(a,b)
+extern int vA;
+extern int vbee;
+#define aye A
+#define bee B
+int *pvA = &expand_concat(v,aye);
+int *pvbee = &noexpand_concat(v,bee);
+
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
function prototypes and stuff, but not \xHH hex character constants.
These do not provoke an error unfortunately, instead are silently treated
@@ -2868,16 +2884,19 @@ ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
# Test code for whether the C compiler supports C99 (global declarations)
ac_c_conftest_c99_globals='
-// Does the compiler advertise C99 conformance?
+/* Does the compiler advertise C99 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
# error "Compiler does not advertise C99 conformance"
#endif
+// See if C++-style comments work.
+
#include <stdbool.h>
extern int puts (const char *);
extern int printf (const char *, ...);
extern int dprintf (int, const char *, ...);
extern void *malloc (size_t);
+extern void free (void *);
// Check varargs macros. These examples are taken from C99 6.10.3.5.
// dprintf is used instead of fprintf to avoid needing to declare
@@ -2927,7 +2946,6 @@ typedef const char *ccp;
static inline int
test_restrict (ccp restrict text)
{
- // See if C++-style comments work.
// Iterate through items via the restricted pointer.
// Also check for declarations in for loops.
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
@@ -2993,6 +3011,8 @@ ac_c_conftest_c99_main='
ia->datasize = 10;
for (int i = 0; i < ia->datasize; ++i)
ia->data[i] = i * 1.234;
+ // Work around memory leak warnings.
+ free (ia);
// Check named initializers.
struct named_init ni = {
@@ -3014,7 +3034,7 @@ ac_c_conftest_c99_main='
# Test code for whether the C compiler supports C11 (global declarations)
ac_c_conftest_c11_globals='
-// Does the compiler advertise C11 conformance?
+/* Does the compiler advertise C11 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
# error "Compiler does not advertise C11 conformance"
#endif
@@ -3208,8 +3228,9 @@ IFS=$as_save_IFS
if $as_found
then :
-else $as_nop
- as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
+else case e in #(
+ e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
+esac
fi
@@ -3237,12 +3258,12 @@ for ac_var in $ac_precious_vars; do
eval ac_new_val=\$ac_env_${ac_var}_value
case $ac_old_set,$ac_new_set in
set,)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
+printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
+printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
ac_cache_corrupted=: ;;
,);;
*)
@@ -3251,18 +3272,18 @@ printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
ac_old_val_w=`echo x $ac_old_val`
ac_new_val_w=`echo x $ac_new_val`
if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
+printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
ac_cache_corrupted=:
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
+printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
eval $ac_var=\$ac_old_val
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
+printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
+printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
fi;;
esac
# Pass precious variables to config.status.
@@ -3278,11 +3299,11 @@ printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
fi
done
if $ac_cache_corrupted; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
+ as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
and start over" "$LINENO" 5
fi
## -------------------- ##
@@ -4316,8 +4337,8 @@ printf %s "checking for working mkdir -p... " >&6; }
if test ${ac_cv_mkdir_p+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
test -d conftestdir && rm -rf conftestdir
mkdir -p conftestdir/somedir >/dev/null 2>&1
if test -d conftestdir/somedir; then
@@ -4326,7 +4347,8 @@ else $as_nop
ac_cv_mkdir_p=no
fi
rm -rf conftestdir
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mkdir_p" >&5
printf "%s\n" "$ac_cv_mkdir_p" >&6; }
@@ -4342,8 +4364,8 @@ printf %s "checking for grep that handles long lines and -e... " >&6; }
if test ${ac_cv_path_GREP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -z "$GREP"; then
+else case e in #(
+ e) if test -z "$GREP"; then
ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4362,9 +4384,10 @@ do
as_fn_executable_p "$ac_path_GREP" || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
+case `"$ac_path_GREP" --version 2>&1` in #(
*GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -4399,7 +4422,8 @@ IFS=$as_save_IFS
else
ac_cv_path_GREP=$GREP
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
printf "%s\n" "$ac_cv_path_GREP" >&6; }
@@ -4411,8 +4435,8 @@ printf %s "checking for egrep... " >&6; }
if test ${ac_cv_path_EGREP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+else case e in #(
+ e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E"
else
if test -z "$EGREP"; then
@@ -4434,9 +4458,10 @@ do
as_fn_executable_p "$ac_path_EGREP" || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
+case `"$ac_path_EGREP" --version 2>&1` in #(
*GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -4472,12 +4497,15 @@ else
ac_cv_path_EGREP=$EGREP
fi
- fi
+ fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
+ EGREP_TRADITIONAL=$EGREP
+ ac_cv_path_EGREP_TRADITIONAL=$EGREP
APACHE_VAR_SUBST="$APACHE_VAR_SUBST EGREP"
@@ -4498,15 +4526,16 @@ printf %s "checking build system type... " >&6; }
if test ${ac_cv_build+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_build_alias=$build_alias
+else case e in #(
+ e) ac_build_alias=$build_alias
test "x$ac_build_alias" = x &&
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
test "x$ac_build_alias" = x &&
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
printf "%s\n" "$ac_cv_build" >&6; }
@@ -4533,14 +4562,15 @@ printf %s "checking host system type... " >&6; }
if test ${ac_cv_host+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test "x$host_alias" = x; then
+else case e in #(
+ e) if test "x$host_alias" = x; then
ac_cv_host=$ac_cv_build
else
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
printf "%s\n" "$ac_cv_host" >&6; }
@@ -4567,14 +4597,15 @@ printf %s "checking target system type... " >&6; }
if test ${ac_cv_target+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test "x$target_alias" = x; then
+else case e in #(
+ e) if test "x$target_alias" = x; then
ac_cv_target=$ac_cv_host
else
ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
printf "%s\n" "$ac_cv_target" >&6; }
@@ -4717,8 +4748,8 @@ printf "%s\n" "$as_me: WARNING: APR version 1.4.0 or later is required, found $v
as_fn_error $? "the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
fi
-else $as_nop
-
+else case e in #(
+ e)
if test -n "1" && test "1" = "1"; then
for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
do
@@ -4794,7 +4825,8 @@ printf "%s\n" "$as_me: WARNING: skipped APR at $apr_config, version not acceptab
apr_config=""$srcdir/srclib/apr"/$apr_temp_apr_config_file"
fi
fi
-
+ ;;
+esac
fi
@@ -4820,8 +4852,8 @@ if test "$apr_found" = "reconfig"; then
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# 'ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* 'ac_cv_foo' will be assigned the
# following values.
_ACEOF
@@ -4851,14 +4883,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
(set) 2>&1 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
+ # 'set' does not quote correctly, so add quotes: double-quote
# substitution turns \\\\ into \\, and sed turns \\ into \.
sed -n \
"s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
;; #(
*)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
+ # 'set' quotes correctly as required by POSIX, so do not add quotes.
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
@@ -5132,8 +5164,8 @@ then :
as_fn_error $? "the --with-apr-util parameter is incorrect. It must specify an install prefix, a build directory, or an apu-config file." "$LINENO" 5
fi
-else $as_nop
-
+else case e in #(
+ e)
if test -n "1" && test "1" = "1"; then
for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
do
@@ -5175,7 +5207,8 @@ else $as_nop
apu_config=""$srcdir/srclib/apr-util"/$apu_temp_apu_config_file"
fi
fi
-
+ ;;
+esac
fi
@@ -5212,8 +5245,8 @@ if test "$apu_found" = "reconfig"; then
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# 'ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* 'ac_cv_foo' will be assigned the
# following values.
_ACEOF
@@ -5243,14 +5276,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
(set) 2>&1 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
+ # 'set' does not quote correctly, so add quotes: double-quote
# substitution turns \\\\ into \\, and sed turns \\ into \.
sed -n \
"s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
;; #(
*)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
+ # 'set' quotes correctly as required by POSIX, so do not add quotes.
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
@@ -5414,8 +5447,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5437,7 +5470,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -5459,8 +5493,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CC"; then
+else case e in #(
+ e) if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5482,7 +5516,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
@@ -5517,8 +5552,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5540,7 +5575,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -5562,8 +5598,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
@@ -5602,7 +5638,8 @@ if test $ac_prog_rejected = yes; then
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
fi
fi
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -5626,8 +5663,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5649,7 +5686,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -5675,8 +5713,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CC"; then
+else case e in #(
+ e) if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5698,7 +5736,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
@@ -5736,8 +5775,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5759,7 +5798,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -5781,8 +5821,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CC"; then
+else case e in #(
+ e) if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5804,7 +5844,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
@@ -5833,10 +5874,10 @@ fi
fi
-test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; }
# Provide some information about the compiler.
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -5908,8 +5949,8 @@ printf "%s\n" "$ac_try_echo"; } >&5
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
then :
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+ # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
+# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
# in a Makefile. We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
@@ -5929,7 +5970,7 @@ do
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fi
# We set ac_cv_exeext here because the later test for it is not
- # safe: cross compilers may not add the suffix if given an `-o'
+ # safe: cross compilers may not add the suffix if given an '-o'
# argument, so we may need to know it at that point already.
# Even if this section looks crufty: it has the advantage of
# actually working.
@@ -5940,8 +5981,9 @@ do
done
test "$ac_cv_exeext" = no && ac_cv_exeext=
-else $as_nop
- ac_file=''
+else case e in #(
+ e) ac_file='' ;;
+esac
fi
if test -z "$ac_file"
then :
@@ -5950,13 +5992,14 @@ printf "%s\n" "no" >&6; }
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
+See 'config.log' for more details" "$LINENO" 5; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; } ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
printf %s "checking for C compiler default output file name... " >&6; }
@@ -5980,10 +6023,10 @@ printf "%s\n" "$ac_try_echo"; } >&5
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
then :
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
+ # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
+# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
+# work properly (i.e., refer to 'conftest.exe'), while it won't with
+# 'rm'.
for ac_file in conftest.exe conftest conftest.*; do
test -f "$ac_file" || continue
case $ac_file in
@@ -5993,11 +6036,12 @@ for ac_file in conftest.exe conftest conftest.*; do
* ) break;;
esac
done
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else case e in #(
+ e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; } ;;
+esac
fi
rm -f conftest conftest$ac_cv_exeext
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -6013,6 +6057,8 @@ int
main (void)
{
FILE *f = fopen ("conftest.out", "w");
+ if (!f)
+ return 1;
return ferror (f) || fclose (f) != 0;
;
@@ -6052,26 +6098,27 @@ printf "%s\n" "$ac_try_echo"; } >&5
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error 77 "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
+If you meant to cross compile, use '--host'.
+See 'config.log' for more details" "$LINENO" 5; }
fi
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
printf "%s\n" "$cross_compiling" >&6; }
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+rm -f conftest.$ac_ext conftest$ac_cv_exeext \
+ conftest.o conftest.obj conftest.out
ac_clean_files=$ac_clean_files_save
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
printf %s "checking for suffix of object files... " >&6; }
if test ${ac_cv_objext+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -6103,16 +6150,18 @@ then :
break;;
esac
done
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; } ;;
+esac
fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
+rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
printf "%s\n" "$ac_cv_objext" >&6; }
@@ -6123,8 +6172,8 @@ printf %s "checking whether the compiler supports GNU C... " >&6; }
if test ${ac_cv_c_compiler_gnu+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -6141,12 +6190,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_compiler_gnu=yes
-else $as_nop
- ac_compiler_gnu=no
+else case e in #(
+ e) ac_compiler_gnu=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
@@ -6164,8 +6215,8 @@ printf %s "checking whether $CC accepts -g... " >&6; }
if test ${ac_cv_prog_cc_g+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_save_c_werror_flag=$ac_c_werror_flag
+else case e in #(
+ e) ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
CFLAGS="-g"
@@ -6183,8 +6234,8 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_g=yes
-else $as_nop
- CFLAGS=""
+else case e in #(
+ e) CFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -6199,8 +6250,8 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
-else $as_nop
- ac_c_werror_flag=$ac_save_c_werror_flag
+else case e in #(
+ e) ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -6217,12 +6268,15 @@ if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_g=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
+ ac_c_werror_flag=$ac_save_c_werror_flag ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
@@ -6249,8 +6303,8 @@ printf %s "checking for $CC option to enable C11 features... " >&6; }
if test ${ac_cv_prog_cc_c11+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c11=no
+else case e in #(
+ e) ac_cv_prog_cc_c11=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -6267,25 +6321,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam
test "x$ac_cv_prog_cc_c11" != "xno" && break
done
rm -f conftest.$ac_ext
-CC=$ac_save_CC
+CC=$ac_save_CC ;;
+esac
fi
if test "x$ac_cv_prog_cc_c11" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c11" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cc_c11" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
- CC="$CC $ac_cv_prog_cc_c11"
+ CC="$CC $ac_cv_prog_cc_c11" ;;
+esac
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
- ac_prog_cc_stdc=c11
+ ac_prog_cc_stdc=c11 ;;
+esac
fi
fi
if test x$ac_prog_cc_stdc = xno
@@ -6295,8 +6352,8 @@ printf %s "checking for $CC option to enable C99 features... " >&6; }
if test ${ac_cv_prog_cc_c99+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c99=no
+else case e in #(
+ e) ac_cv_prog_cc_c99=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -6313,25 +6370,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam
test "x$ac_cv_prog_cc_c99" != "xno" && break
done
rm -f conftest.$ac_ext
-CC=$ac_save_CC
+CC=$ac_save_CC ;;
+esac
fi
if test "x$ac_cv_prog_cc_c99" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c99" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cc_c99" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
- CC="$CC $ac_cv_prog_cc_c99"
+ CC="$CC $ac_cv_prog_cc_c99" ;;
+esac
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
- ac_prog_cc_stdc=c99
+ ac_prog_cc_stdc=c99 ;;
+esac
fi
fi
if test x$ac_prog_cc_stdc = xno
@@ -6341,8 +6401,8 @@ printf %s "checking for $CC option to enable C89 features... " >&6; }
if test ${ac_cv_prog_cc_c89+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c89=no
+else case e in #(
+ e) ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -6359,25 +6419,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
-CC=$ac_save_CC
+CC=$ac_save_CC ;;
+esac
fi
if test "x$ac_cv_prog_cc_c89" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c89" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cc_c89" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
- CC="$CC $ac_cv_prog_cc_c89"
+ CC="$CC $ac_cv_prog_cc_c89" ;;
+esac
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
- ac_prog_cc_stdc=c89
+ ac_prog_cc_stdc=c89 ;;
+esac
fi
fi
@@ -6402,8 +6465,8 @@ if test -z "$CPP"; then
if test ${ac_cv_prog_CPP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- # Double quotes because $CC needs to be expanded
+else case e in #(
+ e) # Double quotes because $CC needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
do
ac_preproc_ok=false
@@ -6421,9 +6484,10 @@ _ACEOF
if ac_fn_c_try_cpp "$LINENO"
then :
-else $as_nop
- # Broken: fails on valid input.
-continue
+else case e in #(
+ e) # Broken: fails on valid input.
+continue ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
@@ -6437,15 +6501,16 @@ if ac_fn_c_try_cpp "$LINENO"
then :
# Broken: success on invalid input.
continue
-else $as_nop
- # Passes both tests.
+else case e in #(
+ e) # Passes both tests.
ac_preproc_ok=:
-break
+break ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok
then :
@@ -6454,7 +6519,8 @@ fi
done
ac_cv_prog_CPP=$CPP
-
+ ;;
+esac
fi
CPP=$ac_cv_prog_CPP
else
@@ -6477,9 +6543,10 @@ _ACEOF
if ac_fn_c_try_cpp "$LINENO"
then :
-else $as_nop
- # Broken: fails on valid input.
-continue
+else case e in #(
+ e) # Broken: fails on valid input.
+continue ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
@@ -6493,24 +6560,26 @@ if ac_fn_c_try_cpp "$LINENO"
then :
# Broken: success on invalid input.
continue
-else $as_nop
- # Passes both tests.
+else case e in #(
+ e) # Passes both tests.
ac_preproc_ok=:
-break
+break ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok
then :
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else case e in #(
+ e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; } ;;
+esac
fi
ac_ext=c
@@ -6551,8 +6620,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_PCRE_CONFIG+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$PCRE_CONFIG"; then
+else case e in #(
+ e) if test -n "$PCRE_CONFIG"; then
ac_cv_prog_PCRE_CONFIG="$PCRE_CONFIG" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -6574,7 +6643,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
PCRE_CONFIG=$ac_cv_prog_PCRE_CONFIG
if test -n "$PCRE_CONFIG"; then
@@ -6600,8 +6670,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_PCRE_CONFIG+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_PCRE_CONFIG"; then
+else case e in #(
+ e) if test -n "$ac_ct_PCRE_CONFIG"; then
ac_cv_prog_ac_ct_PCRE_CONFIG="$ac_ct_PCRE_CONFIG" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -6623,7 +6693,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_PCRE_CONFIG=$ac_cv_prog_ac_ct_PCRE_CONFIG
if test -n "$ac_ct_PCRE_CONFIG"; then
@@ -6860,6 +6931,140 @@ save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $PCRE_INCLUDES"
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
+printf %s "checking for egrep -e... " >&6; }
+if test ${ac_cv_path_EGREP_TRADITIONAL+y}
+then :
+ printf %s "(cached) " >&6
+else case e in #(
+ e) if test -z "$EGREP_TRADITIONAL"; then
+ ac_path_EGREP_TRADITIONAL_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_prog in grep ggrep
+ do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
+# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
+ # Check for GNU $ac_path_EGREP_TRADITIONAL
+case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
+*GNU*)
+ ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
+#(
+*)
+ ac_count=0
+ printf %s 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
+ "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
+ ac_path_EGREP_TRADITIONAL_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_TRADITIONAL_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
+ :
+ fi
+else
+ ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
+fi
+
+ if test "$ac_cv_path_EGREP_TRADITIONAL"
+then :
+ ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
+else case e in #(
+ e) if test -z "$EGREP_TRADITIONAL"; then
+ ac_path_EGREP_TRADITIONAL_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_prog in egrep
+ do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
+# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
+ # Check for GNU $ac_path_EGREP_TRADITIONAL
+case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
+*GNU*)
+ ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
+#(
+*)
+ ac_count=0
+ printf %s 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
+ "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
+ ac_path_EGREP_TRADITIONAL_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_TRADITIONAL_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
+fi
+ ;;
+esac
+fi ;;
+esac
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
+printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
+ EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -6874,11 +7079,12 @@ yes
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "yes" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
then :
pcre_have_dupnames=yes
-else $as_nop
- pcre_have_dupnames=no
+else case e in #(
+ e) pcre_have_dupnames=no ;;
+esac
fi
rm -rf conftest*
@@ -7062,8 +7268,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_RM+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $RM in
+else case e in #(
+ e) case $RM in
[\\/]* | ?:[\\/]*)
ac_cv_path_RM="$RM" # Let the user override the test with a path.
;;
@@ -7088,6 +7294,7 @@ done
IFS=$as_save_IFS
;;
+esac ;;
esac
fi
RM=$ac_cv_path_RM
@@ -7107,8 +7314,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_PKGCONFIG+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $PKGCONFIG in
+else case e in #(
+ e) case $PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
;;
@@ -7133,6 +7340,7 @@ done
IFS=$as_save_IFS
;;
+esac ;;
esac
fi
PKGCONFIG=$ac_cv_path_PKGCONFIG
@@ -7152,8 +7360,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_RSYNC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $RSYNC in
+else case e in #(
+ e) case $RSYNC in
[\\/]* | ?:[\\/]*)
ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
;;
@@ -7178,6 +7386,7 @@ done
IFS=$as_save_IFS
;;
+esac ;;
esac
fi
RSYNC=$ac_cv_path_RSYNC
@@ -7197,8 +7406,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_SVN+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $SVN in
+else case e in #(
+ e) case $SVN in
[\\/]* | ?:[\\/]*)
ac_cv_path_SVN="$SVN" # Let the user override the test with a path.
;;
@@ -7223,6 +7432,7 @@ done
IFS=$as_save_IFS
;;
+esac ;;
esac
fi
SVN=$ac_cv_path_SVN
@@ -7244,8 +7454,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_AWK+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$AWK"; then
+else case e in #(
+ e) if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7267,7 +7477,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
@@ -7301,8 +7512,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_RANLIB+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$RANLIB"; then
+else case e in #(
+ e) if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7324,7 +7535,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
@@ -7346,8 +7558,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_RANLIB+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_RANLIB"; then
+else case e in #(
+ e) if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7369,7 +7581,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
@@ -7404,8 +7617,8 @@ printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_LYNX_PATH+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$LYNX_PATH"; then
+else case e in #(
+ e) if test -n "$LYNX_PATH"; then
ac_cv_prog_LYNX_PATH="$LYNX_PATH" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7427,7 +7640,8 @@ done
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
LYNX_PATH=$ac_cv_prog_LYNX_PATH
if test -n "$LYNX_PATH"; then
@@ -7497,8 +7711,8 @@ printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
if test ${ac_cv_safe_to_define___extensions__+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# define __EXTENSIONS__ 1
@@ -7514,10 +7728,12 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_safe_to_define___extensions__=yes
-else $as_nop
- ac_cv_safe_to_define___extensions__=no
+else case e in #(
+ e) ac_cv_safe_to_define___extensions__=no ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
@@ -7527,8 +7743,8 @@ printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
if test ${ac_cv_should_define__xopen_source+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_should_define__xopen_source=no
+else case e in #(
+ e) ac_cv_should_define__xopen_source=no
if test $ac_cv_header_wchar_h = yes
then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7547,8 +7763,8 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define _XOPEN_SOURCE 500
@@ -7566,10 +7782,12 @@ if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_should_define__xopen_source=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
+fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
@@ -7594,6 +7812,8 @@ printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
+ printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
+
printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
@@ -7613,8 +7833,9 @@ then :
printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
-else $as_nop
- MINIX=
+else case e in #(
+ e) MINIX= ;;
+esac
fi
if test $ac_cv_safe_to_define___extensions__ = yes
then :
@@ -7634,15 +7855,21 @@ printf %s "checking for library containing strerror... " >&6; }
if test ${ac_cv_search_strerror+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char strerror ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char strerror (void);
int
main (void)
{
@@ -7673,11 +7900,13 @@ done
if test ${ac_cv_search_strerror+y}
then :
-else $as_nop
- ac_cv_search_strerror=no
+else case e in #(
+ e) ac_cv_search_strerror=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
printf "%s\n" "$ac_cv_search_strerror" >&6; }
@@ -7707,8 +7936,8 @@ printf %s "checking for APR version 1.3.0 or later... " >&6; }
if test ${ap_cv_aprver13+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7719,14 +7948,16 @@ good
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "good" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "good" >/dev/null 2>&1
then :
ap_cv_aprver13=yes
-else $as_nop
- ap_cv_aprver13=no
+else case e in #(
+ e) ap_cv_aprver13=no ;;
+esac
fi
rm -rf conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_aprver13" >&5
printf "%s\n" "$ap_cv_aprver13" >&6; }
@@ -7766,8 +7997,8 @@ printf %s "checking for APR-util version 1.3.0 or later... " >&6; }
if test ${ap_cv_apuver13+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7778,14 +8009,16 @@ good
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "good" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "good" >/dev/null 2>&1
then :
ap_cv_apuver13=yes
-else $as_nop
- ap_cv_apuver13=no
+else case e in #(
+ e) ap_cv_apuver13=no ;;
+esac
fi
rm -rf conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_apuver13" >&5
printf "%s\n" "$ap_cv_apuver13" >&6; }
@@ -7819,8 +8052,8 @@ printf %s "checking for APR-util version 1.3.0 or later... " >&6; }
if test ${ap_cv_apuver13+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7831,14 +8064,16 @@ good
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "good" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "good" >/dev/null 2>&1
then :
ap_cv_apuver13=yes
-else $as_nop
- ap_cv_apuver13=no
+else case e in #(
+ e) ap_cv_apuver13=no ;;
+esac
fi
rm -rf conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_apuver13" >&5
printf "%s\n" "$ap_cv_apuver13" >&6; }
@@ -7899,8 +8134,8 @@ printf %s "checking for egrep... " >&6; }
if test ${ac_cv_path_EGREP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+else case e in #(
+ e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E"
else
if test -z "$EGREP"; then
@@ -7922,9 +8157,10 @@ do
as_fn_executable_p "$ac_path_EGREP" || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
+case `"$ac_path_EGREP" --version 2>&1` in #(
*GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -7960,12 +8196,15 @@ else
ac_cv_path_EGREP=$EGREP
fi
- fi
+ fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
+ EGREP_TRADITIONAL=$EGREP
+ ac_cv_path_EGREP_TRADITIONAL=$EGREP
ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
@@ -8046,8 +8285,8 @@ printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
if test ${ac_cv_header_sys_wait_h+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/wait.h>
@@ -8071,10 +8310,12 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_header_sys_wait_h=yes
-else $as_nop
- ac_cv_header_sys_wait_h=no
+else case e in #(
+ e) ac_cv_header_sys_wait_h=no ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; }
@@ -8091,8 +8332,8 @@ printf %s "checking for an ANSI C-conforming const... " >&6; }
if test ${ac_cv_c_const+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -8156,10 +8397,12 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_c_const=yes
-else $as_nop
- ac_cv_c_const=no
+else case e in #(
+ e) ac_cv_c_const=no ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
printf "%s\n" "$ac_cv_c_const" >&6; }
@@ -8177,15 +8420,21 @@ printf %s "checking for library containing sqrt... " >&6; }
if test ${ac_cv_search_sqrt+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char sqrt ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sqrt (void);
int
main (void)
{
@@ -8216,11 +8465,13 @@ done
if test ${ac_cv_search_sqrt+y}
then :
-else $as_nop
- ac_cv_search_sqrt=no
+else case e in #(
+ e) ac_cv_search_sqrt=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
printf "%s\n" "$ac_cv_search_sqrt" >&6; }
@@ -8245,15 +8496,21 @@ printf %s "checking for library containing crypt... " >&6; }
if test ${ac_cv_search_crypt+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char crypt ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char crypt (void);
int
main (void)
{
@@ -8284,11 +8541,13 @@ done
if test ${ac_cv_search_crypt+y}
then :
-else $as_nop
- ac_cv_search_crypt=no
+else case e in #(
+ e) ac_cv_search_crypt=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
printf "%s\n" "$ac_cv_search_crypt" >&6; }
@@ -8304,6 +8563,66 @@ CRYPT_LIBS="$LIBS"
APACHE_VAR_SUBST="$APACHE_VAR_SUBST CRYPT_LIBS"
+
+if test "$ac_cv_search_crypt" != "no"; then
+ # Test crypt() with the SHA-512 test vector from https://akkadia.org/drepper/SHA-crypt.txt
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether crypt() supports SHA-2" >&5
+printf %s "checking whether crypt() supports SHA-2... " >&6; }
+if test ${ap_cv_crypt_sha2+y}
+then :
+ printf %s "(cached) " >&6
+else case e in #(
+ e)
+ if test "$cross_compiling" = yes
+then :
+ ap_cv_crypt_sha2=no
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <crypt.h>
+#include <stdlib.h>
+#include <string.h>
+
+#define PASSWD_0 "Hello world!"
+#define SALT_0 "\$6\$saltstring"
+#define EXPECT_0 "\$6\$saltstring\$svn8UoSVapNtMuq1ukKS4tPQd8iKwSMHWjl/O817G3uBnIFNjnQJu" \
+ "esI68u4OTLiBFdcbYEdFCoEOfaS35inz1"
+
+int
+main (void)
+{
+char *result = crypt(PASSWD_0, SALT_0);
+ if (!result) return 1;
+ if (strcmp(result, EXPECT_0)) return 2;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"
+then :
+ ap_cv_crypt_sha2=yes
+else case e in #(
+ e) ap_cv_crypt_sha2=no ;;
+esac
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
+fi
+ ;;
+esac
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_crypt_sha2" >&5
+printf "%s\n" "$ap_cv_crypt_sha2" >&6; }
+ if test "$ap_cv_crypt_sha2" = yes; then
+
+printf "%s\n" "#define HAVE_CRYPT_SHA2 1" >>confdefs.h
+
+ fi
+fi
+
LIBS="$saved_LIBS"
@@ -8361,6 +8680,12 @@ then :
printf "%s\n" "#define HAVE_GETLOADAVG 1" >>confdefs.h
fi
+ac_fn_c_check_func "$LINENO" "gettid" "ac_cv_func_gettid"
+if test "x$ac_cv_func_gettid" = xyes
+then :
+ printf "%s\n" "#define HAVE_GETTID 1" >>confdefs.h
+
+fi
@@ -8370,12 +8695,12 @@ printf %s "checking for void pointer length... " >&6; }
if test ${ap_cv_void_ptr_lt_long+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
+else case e in #(
+ e) if test "$cross_compiling" = yes
then :
ap_cv_void_ptr_lt_long=yes
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int main(void)
@@ -8386,13 +8711,16 @@ _ACEOF
if ac_fn_c_try_run "$LINENO"
then :
ap_cv_void_ptr_lt_long=no
-else $as_nop
- ap_cv_void_ptr_lt_long=yes
+else case e in #(
+ e) ap_cv_void_ptr_lt_long=yes ;;
+esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+ conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_void_ptr_lt_long" >&5
printf "%s\n" "$ap_cv_void_ptr_lt_long" >&6; }
@@ -8402,17 +8730,19 @@ if test "$ap_cv_void_ptr_lt_long" = "yes"; then
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettid()" >&5
-printf %s "checking for gettid()... " >&6; }
-if test ${ac_cv_gettid+y}
+if test $ac_cv_func_gettid = no; then
+ # On Linux before glibc 2.30, gettid() is only usable via syscall()
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettid() via syscall" >&5
+printf %s "checking for gettid() via syscall... " >&6; }
+if test ${ap_cv_gettid+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
+else case e in #(
+ e) if test "$cross_compiling" = yes
then :
- ac_cv_gettid=no
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ ap_cv_gettid=no
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define _GNU_SOURCE
#include <unistd.h>
@@ -8423,21 +8753,25 @@ pid_t t = syscall(SYS_gettid); return t == -1 ? 1 : 0; }
_ACEOF
if ac_fn_c_try_run "$LINENO"
then :
- ac_cv_gettid=yes
-else $as_nop
- ac_cv_gettid=no
+ ap_cv_gettid=yes
+else case e in #(
+ e) ap_cv_gettid=no ;;
+esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+ conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
-
+ ;;
+esac
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gettid" >&5
-printf "%s\n" "$ac_cv_gettid" >&6; }
-if test "$ac_cv_gettid" = "yes"; then
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_gettid" >&5
+printf "%s\n" "$ap_cv_gettid" >&6; }
+ if test "$ap_cv_gettid" = "yes"; then
-printf "%s\n" "#define HAVE_GETTID 1" >>confdefs.h
+printf "%s\n" "#define HAVE_SYS_GETTID 1" >>confdefs.h
+ fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
@@ -8445,8 +8779,8 @@ printf %s "checking for tm_gmtoff in struct tm... " >&6; }
if test ${ac_cv_struct_tm_gmtoff+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <time.h>
@@ -8461,10 +8795,12 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_struct_tm_gmtoff=yes
-else $as_nop
- ac_cv_struct_tm_gmtoff=no
+else case e in #(
+ e) ac_cv_struct_tm_gmtoff=no ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
printf "%s\n" "$ac_cv_struct_tm_gmtoff" >&6; }
@@ -8487,16 +8823,22 @@ printf %s "checking for sd_notify in -lsystemd-daemon... " >&6; }
if test ${ac_cv_lib_systemd_daemon_sd_notify+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lsystemd-daemon $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char sd_notify ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sd_notify (void);
int
main (void)
{
@@ -8508,12 +8850,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_systemd_daemon_sd_notify=yes
-else $as_nop
- ac_cv_lib_systemd_daemon_sd_notify=no
+else case e in #(
+ e) ac_cv_lib_systemd_daemon_sd_notify=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_systemd_daemon_sd_notify" >&5
printf "%s\n" "$ac_cv_lib_systemd_daemon_sd_notify" >&6; }
@@ -8571,8 +8915,9 @@ esac
if test ${with_port+y}
then :
withval=$with_port; if test "$withval" = "yes"; then as_fn_error $? "'option --with-port requires a value (the TCP port number)'" "$LINENO" 5; else PORT="$withval"; fi
-else $as_nop
- PORT=80
+else case e in #(
+ e) PORT=80 ;;
+esac
fi
@@ -8581,8 +8926,9 @@ fi
if test ${with_sslport+y}
then :
withval=$with_sslport; if test "$withval" = "yes"; then as_fn_error $? "'option --with-sslport requires a value (the SSL TCP port number)'" "$LINENO" 5; else SSLPORT="$withval"; fi
-else $as_nop
- SSLPORT=443
+else case e in #(
+ e) SSLPORT=443 ;;
+esac
fi
@@ -8617,10 +8963,11 @@ then :
as_fn_error $? "'DTrace Support in the build system is not complete. Patches Welcome!'" "$LINENO" 5
fi
-else $as_nop
-
+else case e in #(
+ e)
enable_dtrace=no
-
+ ;;
+esac
fi
@@ -8696,10 +9043,11 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Setting \"LOAD_ALL_MODULES\" to $LOAD_ALL_MODULES" >&5
printf "%s\n" "$as_me: Setting \"LOAD_ALL_MODULES\" to $LOAD_ALL_MODULES" >&6;}
-else $as_nop
-
+else case e in #(
+ e)
LOAD_ALL_MODULES="no"
-
+ ;;
+esac
fi
@@ -8738,8 +9086,8 @@ printf %s "checking whether gcc accepts -std=c89... " >&6; }
if test ${ac_cv_gcc__std_c89+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -std=c89 -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8756,12 +9104,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__std_c89=yes
-else $as_nop
- ac_cv_gcc__std_c89=no
+else case e in #(
+ e) ac_cv_gcc__std_c89=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__std_c89" >&5
printf "%s\n" "$ac_cv_gcc__std_c89" >&6; }
@@ -8799,8 +9149,8 @@ printf %s "checking whether gcc accepts -Werror... " >&6; }
if test ${ac_cv_gcc__Werror+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8817,12 +9167,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Werror=yes
-else $as_nop
- ac_cv_gcc__Werror=no
+else case e in #(
+ e) ac_cv_gcc__Werror=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Werror" >&5
printf "%s\n" "$ac_cv_gcc__Werror" >&6; }
@@ -8860,8 +9212,8 @@ printf %s "checking whether gcc accepts -Wall... " >&6; }
if test ${ac_cv_gcc__Wall+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wall -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8878,12 +9230,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wall=yes
-else $as_nop
- ac_cv_gcc__Wall=no
+else case e in #(
+ e) ac_cv_gcc__Wall=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wall" >&5
printf "%s\n" "$ac_cv_gcc__Wall" >&6; }
@@ -8921,8 +9275,8 @@ printf %s "checking whether gcc accepts -Wstrict-prototypes... " >&6; }
if test ${ac_cv_gcc__Wstrict_prototypes+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wstrict-prototypes -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8939,12 +9293,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wstrict_prototypes=yes
-else $as_nop
- ac_cv_gcc__Wstrict_prototypes=no
+else case e in #(
+ e) ac_cv_gcc__Wstrict_prototypes=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wstrict_prototypes" >&5
printf "%s\n" "$ac_cv_gcc__Wstrict_prototypes" >&6; }
@@ -8982,8 +9338,8 @@ printf %s "checking whether gcc accepts -Wmissing-prototypes... " >&6; }
if test ${ac_cv_gcc__Wmissing_prototypes+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wmissing-prototypes -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9000,12 +9356,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wmissing_prototypes=yes
-else $as_nop
- ac_cv_gcc__Wmissing_prototypes=no
+else case e in #(
+ e) ac_cv_gcc__Wmissing_prototypes=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wmissing_prototypes" >&5
printf "%s\n" "$ac_cv_gcc__Wmissing_prototypes" >&6; }
@@ -9043,8 +9401,8 @@ printf %s "checking whether gcc accepts -Wmissing-declarations... " >&6; }
if test ${ac_cv_gcc__Wmissing_declarations+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wmissing-declarations -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9061,12 +9419,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wmissing_declarations=yes
-else $as_nop
- ac_cv_gcc__Wmissing_declarations=no
+else case e in #(
+ e) ac_cv_gcc__Wmissing_declarations=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wmissing_declarations" >&5
printf "%s\n" "$ac_cv_gcc__Wmissing_declarations" >&6; }
@@ -9104,8 +9464,8 @@ printf %s "checking whether gcc accepts -Wdeclaration-after-statement... " >&6;
if test ${ac_cv_gcc__Wdeclaration_after_statement+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wdeclaration-after-statement -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9122,12 +9482,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wdeclaration_after_statement=yes
-else $as_nop
- ac_cv_gcc__Wdeclaration_after_statement=no
+else case e in #(
+ e) ac_cv_gcc__Wdeclaration_after_statement=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wdeclaration_after_statement" >&5
printf "%s\n" "$ac_cv_gcc__Wdeclaration_after_statement" >&6; }
@@ -9165,8 +9527,8 @@ printf %s "checking whether gcc accepts -Wpointer-arith... " >&6; }
if test ${ac_cv_gcc__Wpointer_arith+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wpointer-arith -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9183,12 +9545,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wpointer_arith=yes
-else $as_nop
- ac_cv_gcc__Wpointer_arith=no
+else case e in #(
+ e) ac_cv_gcc__Wpointer_arith=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wpointer_arith" >&5
printf "%s\n" "$ac_cv_gcc__Wpointer_arith" >&6; }
@@ -9226,8 +9590,8 @@ printf %s "checking whether gcc accepts -Wformat... " >&6; }
if test ${ac_cv_gcc__Wformat+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wformat -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9244,12 +9608,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wformat=yes
-else $as_nop
- ac_cv_gcc__Wformat=no
+else case e in #(
+ e) ac_cv_gcc__Wformat=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wformat" >&5
printf "%s\n" "$ac_cv_gcc__Wformat" >&6; }
@@ -9287,8 +9653,8 @@ printf %s "checking whether gcc accepts -Wformat-security... " >&6; }
if test ${ac_cv_gcc__Wformat_security+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wformat-security -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9305,12 +9671,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wformat_security=yes
-else $as_nop
- ac_cv_gcc__Wformat_security=no
+else case e in #(
+ e) ac_cv_gcc__Wformat_security=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wformat_security" >&5
printf "%s\n" "$ac_cv_gcc__Wformat_security" >&6; }
@@ -9348,8 +9716,8 @@ printf %s "checking whether gcc accepts -Wunused... " >&6; }
if test ${ac_cv_gcc__Wunused+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wunused -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9366,12 +9734,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wunused=yes
-else $as_nop
- ac_cv_gcc__Wunused=no
+else case e in #(
+ e) ac_cv_gcc__Wunused=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wunused" >&5
printf "%s\n" "$ac_cv_gcc__Wunused" >&6; }
@@ -9473,8 +9843,8 @@ printf %s "checking whether gcc accepts -O0... " >&6; }
if test ${ac_cv_gcc__O0+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -O0 -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9491,12 +9861,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__O0=yes
-else $as_nop
- ac_cv_gcc__O0=no
+else case e in #(
+ e) ac_cv_gcc__O0=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__O0" >&5
printf "%s\n" "$ac_cv_gcc__O0" >&6; }
@@ -9534,8 +9906,8 @@ printf %s "checking whether gcc accepts -Wall... " >&6; }
if test ${ac_cv_gcc__Wall+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wall -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9552,12 +9924,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wall=yes
-else $as_nop
- ac_cv_gcc__Wall=no
+else case e in #(
+ e) ac_cv_gcc__Wall=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wall" >&5
printf "%s\n" "$ac_cv_gcc__Wall" >&6; }
@@ -9595,8 +9969,8 @@ printf %s "checking whether gcc accepts -Wstrict-prototypes... " >&6; }
if test ${ac_cv_gcc__Wstrict_prototypes+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wstrict-prototypes -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9613,12 +9987,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wstrict_prototypes=yes
-else $as_nop
- ac_cv_gcc__Wstrict_prototypes=no
+else case e in #(
+ e) ac_cv_gcc__Wstrict_prototypes=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wstrict_prototypes" >&5
printf "%s\n" "$ac_cv_gcc__Wstrict_prototypes" >&6; }
@@ -9656,8 +10032,8 @@ printf %s "checking whether gcc accepts -Wmissing-prototypes... " >&6; }
if test ${ac_cv_gcc__Wmissing_prototypes+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wmissing-prototypes -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9674,12 +10050,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wmissing_prototypes=yes
-else $as_nop
- ac_cv_gcc__Wmissing_prototypes=no
+else case e in #(
+ e) ac_cv_gcc__Wmissing_prototypes=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wmissing_prototypes" >&5
printf "%s\n" "$ac_cv_gcc__Wmissing_prototypes" >&6; }
@@ -9717,8 +10095,8 @@ printf %s "checking whether gcc accepts -Wmissing-declarations... " >&6; }
if test ${ac_cv_gcc__Wmissing_declarations+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wmissing-declarations -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9735,12 +10113,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wmissing_declarations=yes
-else $as_nop
- ac_cv_gcc__Wmissing_declarations=no
+else case e in #(
+ e) ac_cv_gcc__Wmissing_declarations=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wmissing_declarations" >&5
printf "%s\n" "$ac_cv_gcc__Wmissing_declarations" >&6; }
@@ -9778,8 +10158,8 @@ printf %s "checking whether gcc accepts -Wdeclaration-after-statement... " >&6;
if test ${ac_cv_gcc__Wdeclaration_after_statement+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wdeclaration-after-statement -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9796,12 +10176,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wdeclaration_after_statement=yes
-else $as_nop
- ac_cv_gcc__Wdeclaration_after_statement=no
+else case e in #(
+ e) ac_cv_gcc__Wdeclaration_after_statement=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wdeclaration_after_statement" >&5
printf "%s\n" "$ac_cv_gcc__Wdeclaration_after_statement" >&6; }
@@ -9839,8 +10221,8 @@ printf %s "checking whether gcc accepts -Werror=declaration-after-statement... "
if test ${ac_cv_gcc__Werror_declaration_after_statement+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror=declaration-after-statement -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9857,12 +10239,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Werror_declaration_after_statement=yes
-else $as_nop
- ac_cv_gcc__Werror_declaration_after_statement=no
+else case e in #(
+ e) ac_cv_gcc__Werror_declaration_after_statement=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Werror_declaration_after_statement" >&5
printf "%s\n" "$ac_cv_gcc__Werror_declaration_after_statement" >&6; }
@@ -9900,8 +10284,8 @@ printf %s "checking whether gcc accepts -Wpointer-arith... " >&6; }
if test ${ac_cv_gcc__Wpointer_arith+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wpointer-arith -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9918,12 +10302,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wpointer_arith=yes
-else $as_nop
- ac_cv_gcc__Wpointer_arith=no
+else case e in #(
+ e) ac_cv_gcc__Wpointer_arith=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wpointer_arith" >&5
printf "%s\n" "$ac_cv_gcc__Wpointer_arith" >&6; }
@@ -9961,8 +10347,8 @@ printf %s "checking whether gcc accepts -Wformat... " >&6; }
if test ${ac_cv_gcc__Wformat+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wformat -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9979,12 +10365,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wformat=yes
-else $as_nop
- ac_cv_gcc__Wformat=no
+else case e in #(
+ e) ac_cv_gcc__Wformat=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wformat" >&5
printf "%s\n" "$ac_cv_gcc__Wformat" >&6; }
@@ -10022,8 +10410,8 @@ printf %s "checking whether gcc accepts -Wformat-security... " >&6; }
if test ${ac_cv_gcc__Wformat_security+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wformat-security -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10040,12 +10428,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Wformat_security=yes
-else $as_nop
- ac_cv_gcc__Wformat_security=no
+else case e in #(
+ e) ac_cv_gcc__Wformat_security=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Wformat_security" >&5
printf "%s\n" "$ac_cv_gcc__Wformat_security" >&6; }
@@ -10083,8 +10473,8 @@ printf %s "checking whether gcc accepts -Werror=format-security... " >&6; }
if test ${ac_cv_gcc__Werror_format_security+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror=format-security -Wno-strict-prototypes"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10101,12 +10491,14 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_gcc__Werror_format_security=yes
-else $as_nop
- ac_cv_gcc__Werror_format_security=no
+else case e in #(
+ e) ac_cv_gcc__Werror_format_security=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$save_CFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc__Werror_format_security" >&5
printf "%s\n" "$ac_cv_gcc__Werror_format_security" >&6; }
@@ -10175,8 +10567,8 @@ printf %s "checking whether $CC accepts PIE flags... " >&6; }
if test ${ap_cv_cc_pie+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
CFLAGS="$CFLAGS -fPIE"
@@ -10184,24 +10576,27 @@ else $as_nop
if test "$cross_compiling" = yes
then :
ap_cv_cc_pie=yes
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
static int foo[30000]; int main () { return 0; }
_ACEOF
if ac_fn_c_try_run "$LINENO"
then :
ap_cv_cc_pie=yes
-else $as_nop
- ap_cv_cc_pie=no
+else case e in #(
+ e) ap_cv_cc_pie=no ;;
+esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+ conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_cc_pie" >&5
printf "%s\n" "$ap_cv_cc_pie" >&6; }
@@ -10239,11 +10634,12 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_define_APR_HAS_DSO=yes
-else $as_nop
- ac_cv_define_APR_HAS_DSO=no
+else case e in #(
+ e) ac_cv_define_APR_HAS_DSO=no ;;
+esac
fi
rm -rf conftest*
@@ -10337,8 +10733,9 @@ printf %s "checking whether to enable mod_authn_file... " >&6; }
if test ${enable_authn_file+y}
then :
enableval=$enable_authn_file; force_authn_file=$enableval
-else $as_nop
- enable_authn_file=yes
+else case e in #(
+ e) enable_authn_file=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -10479,8 +10876,9 @@ printf %s "checking whether to enable mod_authn_dbm... " >&6; }
if test ${enable_authn_dbm+y}
then :
enableval=$enable_authn_dbm; force_authn_dbm=$enableval
-else $as_nop
- enable_authn_dbm=most
+else case e in #(
+ e) enable_authn_dbm=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -10621,8 +11019,9 @@ printf %s "checking whether to enable mod_authn_anon... " >&6; }
if test ${enable_authn_anon+y}
then :
enableval=$enable_authn_anon; force_authn_anon=$enableval
-else $as_nop
- enable_authn_anon=most
+else case e in #(
+ e) enable_authn_anon=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -10763,8 +11162,9 @@ printf %s "checking whether to enable mod_authn_dbd... " >&6; }
if test ${enable_authn_dbd+y}
then :
enableval=$enable_authn_dbd; force_authn_dbd=$enableval
-else $as_nop
- enable_authn_dbd=most
+else case e in #(
+ e) enable_authn_dbd=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -10905,8 +11305,9 @@ printf %s "checking whether to enable mod_authn_socache... " >&6; }
if test ${enable_authn_socache+y}
then :
enableval=$enable_authn_socache; force_authn_socache=$enableval
-else $as_nop
- enable_authn_socache=most
+else case e in #(
+ e) enable_authn_socache=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -11048,8 +11449,9 @@ printf %s "checking whether to enable mod_authn_core... " >&6; }
if test ${enable_authn_core+y}
then :
enableval=$enable_authn_core; force_authn_core=$enableval
-else $as_nop
- enable_authn_core=yes
+else case e in #(
+ e) enable_authn_core=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -11191,8 +11593,9 @@ printf %s "checking whether to enable mod_authz_host... " >&6; }
if test ${enable_authz_host+y}
then :
enableval=$enable_authz_host; force_authz_host=$enableval
-else $as_nop
- enable_authz_host=yes
+else case e in #(
+ e) enable_authz_host=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -11333,8 +11736,9 @@ printf %s "checking whether to enable mod_authz_groupfile... " >&6; }
if test ${enable_authz_groupfile+y}
then :
enableval=$enable_authz_groupfile; force_authz_groupfile=$enableval
-else $as_nop
- enable_authz_groupfile=yes
+else case e in #(
+ e) enable_authz_groupfile=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -11475,8 +11879,9 @@ printf %s "checking whether to enable mod_authz_user... " >&6; }
if test ${enable_authz_user+y}
then :
enableval=$enable_authz_user; force_authz_user=$enableval
-else $as_nop
- enable_authz_user=yes
+else case e in #(
+ e) enable_authz_user=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -11617,8 +12022,9 @@ printf %s "checking whether to enable mod_authz_dbm... " >&6; }
if test ${enable_authz_dbm+y}
then :
enableval=$enable_authz_dbm; force_authz_dbm=$enableval
-else $as_nop
- enable_authz_dbm=most
+else case e in #(
+ e) enable_authz_dbm=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -11759,8 +12165,9 @@ printf %s "checking whether to enable mod_authz_owner... " >&6; }
if test ${enable_authz_owner+y}
then :
enableval=$enable_authz_owner; force_authz_owner=$enableval
-else $as_nop
- enable_authz_owner=most
+else case e in #(
+ e) enable_authz_owner=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -11901,8 +12308,9 @@ printf %s "checking whether to enable mod_authz_dbd... " >&6; }
if test ${enable_authz_dbd+y}
then :
enableval=$enable_authz_dbd; force_authz_dbd=$enableval
-else $as_nop
- enable_authz_dbd=most
+else case e in #(
+ e) enable_authz_dbd=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -12044,8 +12452,9 @@ printf %s "checking whether to enable mod_authz_core... " >&6; }
if test ${enable_authz_core+y}
then :
enableval=$enable_authz_core; force_authz_core=$enableval
-else $as_nop
- enable_authz_core=yes
+else case e in #(
+ e) enable_authz_core=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -12187,8 +12596,9 @@ printf %s "checking whether to enable mod_authnz_ldap... " >&6; }
if test ${enable_authnz_ldap+y}
then :
enableval=$enable_authnz_ldap; force_authnz_ldap=$enableval
-else $as_nop
- enable_authnz_ldap=most
+else case e in #(
+ e) enable_authnz_ldap=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -12251,8 +12661,8 @@ printf %s "checking for ldap support in apr/apr-util... " >&6; }
if test ${ac_cv_APR_HAS_LDAP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
apache_old_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $INCLUDES"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12265,16 +12675,18 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_APR_HAS_LDAP=yes
-else $as_nop
- ac_cv_APR_HAS_LDAP=no
+else case e in #(
+ e) ac_cv_APR_HAS_LDAP=no ;;
+esac
fi
rm -rf conftest*
CPPFLAGS="$apache_old_cppflags"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_APR_HAS_LDAP" >&5
printf "%s\n" "$ac_cv_APR_HAS_LDAP" >&6; }
@@ -12411,8 +12823,9 @@ printf %s "checking whether to enable mod_authnz_fcgi... " >&6; }
if test ${enable_authnz_fcgi+y}
then :
enableval=$enable_authnz_fcgi; force_authnz_fcgi=$enableval
-else $as_nop
- enable_authnz_fcgi=no
+else case e in #(
+ e) enable_authnz_fcgi=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -12554,8 +12967,9 @@ printf %s "checking whether to enable mod_access_compat... " >&6; }
if test ${enable_access_compat+y}
then :
enableval=$enable_access_compat; force_access_compat=$enableval
-else $as_nop
- enable_access_compat=yes
+else case e in #(
+ e) enable_access_compat=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -12698,8 +13112,9 @@ printf %s "checking whether to enable mod_auth_basic... " >&6; }
if test ${enable_auth_basic+y}
then :
enableval=$enable_auth_basic; force_auth_basic=$enableval
-else $as_nop
- enable_auth_basic=yes
+else case e in #(
+ e) enable_auth_basic=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -12840,8 +13255,9 @@ printf %s "checking whether to enable mod_auth_form... " >&6; }
if test ${enable_auth_form+y}
then :
enableval=$enable_auth_form; force_auth_form=$enableval
-else $as_nop
- enable_auth_form=most
+else case e in #(
+ e) enable_auth_form=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -12982,8 +13398,9 @@ printf %s "checking whether to enable mod_auth_digest... " >&6; }
if test ${enable_auth_digest+y}
then :
enableval=$enable_auth_digest; force_auth_digest=$enableval
-else $as_nop
- enable_auth_digest=most
+else case e in #(
+ e) enable_auth_digest=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -13053,11 +13470,12 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_define_APR_HAS_RANDOM=yes
-else $as_nop
- ac_cv_define_APR_HAS_RANDOM=no
+else case e in #(
+ e) ac_cv_define_APR_HAS_RANDOM=no ;;
+esac
fi
rm -rf conftest*
@@ -13167,8 +13585,9 @@ printf %s "checking whether to enable mod_allowmethods... " >&6; }
if test ${enable_allowmethods+y}
then :
enableval=$enable_allowmethods; force_allowmethods=$enableval
-else $as_nop
- enable_allowmethods=most
+else case e in #(
+ e) enable_allowmethods=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -13365,8 +13784,9 @@ printf %s "checking whether to enable mod_isapi... " >&6; }
if test ${enable_isapi+y}
then :
enableval=$enable_isapi; force_isapi=$enableval
-else $as_nop
- enable_isapi=no
+else case e in #(
+ e) enable_isapi=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -13541,8 +13961,9 @@ printf %s "checking whether to enable mod_file_cache... " >&6; }
if test ${enable_file_cache+y}
then :
enableval=$enable_file_cache; force_file_cache=$enableval
-else $as_nop
- enable_file_cache=most
+else case e in #(
+ e) enable_file_cache=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -13697,8 +14118,9 @@ printf %s "checking whether to enable mod_cache... " >&6; }
if test ${enable_cache+y}
then :
enableval=$enable_cache; force_cache=$enableval
-else $as_nop
- enable_cache=most
+else case e in #(
+ e) enable_cache=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -13839,8 +14261,9 @@ printf %s "checking whether to enable mod_cache_disk... " >&6; }
if test ${enable_cache_disk+y}
then :
enableval=$enable_cache_disk; force_cache_disk=$enableval
-else $as_nop
- enable_cache_disk=most
+else case e in #(
+ e) enable_cache_disk=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -14002,8 +14425,9 @@ printf %s "checking whether to enable mod_cache_socache... " >&6; }
if test ${enable_cache_socache+y}
then :
enableval=$enable_cache_socache; force_cache_socache=$enableval
-else $as_nop
- enable_cache_socache=most
+else case e in #(
+ e) enable_cache_socache=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -14147,8 +14571,9 @@ printf %s "checking whether to enable mod_socache_shmcb... " >&6; }
if test ${enable_socache_shmcb+y}
then :
enableval=$enable_socache_shmcb; force_socache_shmcb=$enableval
-else $as_nop
- enable_socache_shmcb=most
+else case e in #(
+ e) enable_socache_shmcb=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -14289,8 +14714,9 @@ printf %s "checking whether to enable mod_socache_dbm... " >&6; }
if test ${enable_socache_dbm+y}
then :
enableval=$enable_socache_dbm; force_socache_dbm=$enableval
-else $as_nop
- enable_socache_dbm=most
+else case e in #(
+ e) enable_socache_dbm=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -14431,8 +14857,9 @@ printf %s "checking whether to enable mod_socache_memcache... " >&6; }
if test ${enable_socache_memcache+y}
then :
enableval=$enable_socache_memcache; force_socache_memcache=$enableval
-else $as_nop
- enable_socache_memcache=most
+else case e in #(
+ e) enable_socache_memcache=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -14573,8 +15000,9 @@ printf %s "checking whether to enable mod_socache_redis... " >&6; }
if test ${enable_socache_redis+y}
then :
enableval=$enable_socache_redis; force_socache_redis=$enableval
-else $as_nop
- enable_socache_redis=most
+else case e in #(
+ e) enable_socache_redis=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -14715,8 +15143,9 @@ printf %s "checking whether to enable mod_socache_dc... " >&6; }
if test ${enable_socache_dc+y}
then :
enableval=$enable_socache_dc; force_socache_dc=$enableval
-else $as_nop
- enable_socache_dc=no
+else case e in #(
+ e) enable_socache_dc=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -14967,8 +15396,9 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
-else $as_nop
- ap_distcache_found="no"
+else case e in #(
+ e) ap_distcache_found="no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_distcache_found" >&5
@@ -15021,8 +15451,9 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
-else $as_nop
- ap_distcache_found="no"
+else case e in #(
+ e) ap_distcache_found="no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
@@ -15233,11 +15664,12 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_define_APR_HAS_DSO=yes
-else $as_nop
- ac_cv_define_APR_HAS_DSO=no
+else case e in #(
+ e) ac_cv_define_APR_HAS_DSO=no ;;
+esac
fi
rm -rf conftest*
@@ -15310,8 +15742,9 @@ printf %s "checking whether to enable mod_so... " >&6; }
if test ${enable_so+y}
then :
enableval=$enable_so; force_so=$enableval
-else $as_nop
- enable_so=$enable_so
+else case e in #(
+ e) enable_so=$enable_so ;;
+esac
fi
_apmod_extra_msg=""
@@ -15453,8 +15886,9 @@ printf %s "checking whether to enable mod_watchdog... " >&6; }
if test ${enable_watchdog+y}
then :
enableval=$enable_watchdog; force_watchdog=$enableval
-else $as_nop
- enable_watchdog=most
+else case e in #(
+ e) enable_watchdog=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -15524,11 +15958,12 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_define_APR_HAS_THREADS=yes
-else $as_nop
- ac_cv_define_APR_HAS_THREADS=no
+else case e in #(
+ e) ac_cv_define_APR_HAS_THREADS=no ;;
+esac
fi
rm -rf conftest*
@@ -15638,8 +16073,9 @@ printf %s "checking whether to enable mod_macro... " >&6; }
if test ${enable_macro+y}
then :
enableval=$enable_macro; force_macro=$enableval
-else $as_nop
- enable_macro=most
+else case e in #(
+ e) enable_macro=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -15835,8 +16271,9 @@ printf %s "checking whether to enable mod_dbd... " >&6; }
if test ${enable_dbd+y}
then :
enableval=$enable_dbd; force_dbd=$enableval
-else $as_nop
- enable_dbd=most
+else case e in #(
+ e) enable_dbd=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -16032,8 +16469,9 @@ printf %s "checking whether to enable mod_bucketeer... " >&6; }
if test ${enable_bucketeer+y}
then :
enableval=$enable_bucketeer; force_bucketeer=$enableval
-else $as_nop
- enable_bucketeer=no
+else case e in #(
+ e) enable_bucketeer=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -16174,8 +16612,9 @@ printf %s "checking whether to enable mod_dumpio... " >&6; }
if test ${enable_dumpio+y}
then :
enableval=$enable_dumpio; force_dumpio=$enableval
-else $as_nop
- enable_dumpio=most
+else case e in #(
+ e) enable_dumpio=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -16350,8 +16789,9 @@ printf %s "checking whether to enable mod_echo... " >&6; }
if test ${enable_echo+y}
then :
enableval=$enable_echo; force_echo=$enableval
-else $as_nop
- enable_echo=maybe-all
+else case e in #(
+ e) enable_echo=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -16525,8 +16965,9 @@ printf %s "checking whether to enable mod_example_hooks... " >&6; }
if test ${enable_example_hooks+y}
then :
enableval=$enable_example_hooks; force_example_hooks=$enableval
-else $as_nop
- enable_example_hooks=no
+else case e in #(
+ e) enable_example_hooks=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -16667,8 +17108,9 @@ printf %s "checking whether to enable mod_case_filter... " >&6; }
if test ${enable_case_filter+y}
then :
enableval=$enable_case_filter; force_case_filter=$enableval
-else $as_nop
- enable_case_filter=no
+else case e in #(
+ e) enable_case_filter=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -16809,8 +17251,9 @@ printf %s "checking whether to enable mod_case_filter_in... " >&6; }
if test ${enable_case_filter_in+y}
then :
enableval=$enable_case_filter_in; force_case_filter_in=$enableval
-else $as_nop
- enable_case_filter_in=no
+else case e in #(
+ e) enable_case_filter_in=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -16951,8 +17394,9 @@ printf %s "checking whether to enable mod_example_ipc... " >&6; }
if test ${enable_example_ipc+y}
then :
enableval=$enable_example_ipc; force_example_ipc=$enableval
-else $as_nop
- enable_example_ipc=no
+else case e in #(
+ e) enable_example_ipc=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -17159,8 +17603,9 @@ printf %s "checking whether to enable mod_buffer... " >&6; }
if test ${enable_buffer+y}
then :
enableval=$enable_buffer; force_buffer=$enableval
-else $as_nop
- enable_buffer=most
+else case e in #(
+ e) enable_buffer=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -17301,8 +17746,9 @@ printf %s "checking whether to enable mod_data... " >&6; }
if test ${enable_data+y}
then :
enableval=$enable_data; force_data=$enableval
-else $as_nop
- enable_data=maybe-all
+else case e in #(
+ e) enable_data=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -17443,8 +17889,9 @@ printf %s "checking whether to enable mod_ratelimit... " >&6; }
if test ${enable_ratelimit+y}
then :
enableval=$enable_ratelimit; force_ratelimit=$enableval
-else $as_nop
- enable_ratelimit=most
+else case e in #(
+ e) enable_ratelimit=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -17585,8 +18032,9 @@ printf %s "checking whether to enable mod_reqtimeout... " >&6; }
if test ${enable_reqtimeout+y}
then :
enableval=$enable_reqtimeout; force_reqtimeout=$enableval
-else $as_nop
- enable_reqtimeout=yes
+else case e in #(
+ e) enable_reqtimeout=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -17727,8 +18175,9 @@ printf %s "checking whether to enable mod_ext_filter... " >&6; }
if test ${enable_ext_filter+y}
then :
enableval=$enable_ext_filter; force_ext_filter=$enableval
-else $as_nop
- enable_ext_filter=most
+else case e in #(
+ e) enable_ext_filter=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -17869,8 +18318,9 @@ printf %s "checking whether to enable mod_request... " >&6; }
if test ${enable_request+y}
then :
enableval=$enable_request; force_request=$enableval
-else $as_nop
- enable_request=most
+else case e in #(
+ e) enable_request=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -18011,8 +18461,9 @@ printf %s "checking whether to enable mod_include... " >&6; }
if test ${enable_include+y}
then :
enableval=$enable_include; force_include=$enableval
-else $as_nop
- enable_include=most
+else case e in #(
+ e) enable_include=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -18153,8 +18604,9 @@ printf %s "checking whether to enable mod_filter... " >&6; }
if test ${enable_filter+y}
then :
enableval=$enable_filter; force_filter=$enableval
-else $as_nop
- enable_filter=yes
+else case e in #(
+ e) enable_filter=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -18295,8 +18747,9 @@ printf %s "checking whether to enable mod_reflector... " >&6; }
if test ${enable_reflector+y}
then :
enableval=$enable_reflector; force_reflector=$enableval
-else $as_nop
- enable_reflector=maybe-all
+else case e in #(
+ e) enable_reflector=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -18437,8 +18890,9 @@ printf %s "checking whether to enable mod_substitute... " >&6; }
if test ${enable_substitute+y}
then :
enableval=$enable_substitute; force_substitute=$enableval
-else $as_nop
- enable_substitute=most
+else case e in #(
+ e) enable_substitute=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -18581,8 +19035,9 @@ printf %s "checking whether to enable mod_sed... " >&6; }
if test ${enable_sed+y}
then :
enableval=$enable_sed; force_sed=$enableval
-else $as_nop
- enable_sed=most
+else case e in #(
+ e) enable_sed=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -18766,8 +19221,9 @@ printf %s "checking whether to enable mod_charset_lite... " >&6; }
if test ${enable_charset_lite+y}
then :
enableval=$enable_charset_lite; force_charset_lite=$enableval
-else $as_nop
- enable_charset_lite=yes
+else case e in #(
+ e) enable_charset_lite=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -18909,8 +19365,9 @@ printf %s "checking whether to enable mod_charset_lite... " >&6; }
if test ${enable_charset_lite+y}
then :
enableval=$enable_charset_lite; force_charset_lite=$enableval
-else $as_nop
- enable_charset_lite=maybe-all
+else case e in #(
+ e) enable_charset_lite=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -19054,8 +19511,9 @@ printf %s "checking whether to enable mod_deflate... " >&6; }
if test ${enable_deflate+y}
then :
enableval=$enable_deflate; force_deflate=$enableval
-else $as_nop
- enable_deflate=most
+else case e in #(
+ e) enable_deflate=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -19130,15 +19588,16 @@ printf %s "checking for zlib location... " >&6; }
if test ${ap_cv_zlib+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
for dir in /usr/local /usr ; do
if test -d $dir && test -f $dir/include/zlib.h; then
ap_cv_zlib=$dir
break
fi
done
-
+ ;;
+esac
fi
ap_zlib_base=$ap_cv_zlib
@@ -19346,8 +19805,8 @@ printf "%s\n" "found" >&6; }
done
fi
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
printf "%s\n" "not found" >&6; }
enable_deflate=no
if test "x$ap_zlib_with" = "x"; then
@@ -19356,7 +19815,8 @@ printf "%s\n" "$as_me: WARNING: ... Error, zlib was missing or unusable" >&2;}
else
as_fn_error $? "... Error, zlib was missing or unusable" "$LINENO" 5
fi
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
@@ -19485,8 +19945,9 @@ printf %s "checking whether to enable mod_xml2enc... " >&6; }
if test ${enable_xml2enc+y}
then :
enableval=$enable_xml2enc; force_xml2enc=$enableval
-else $as_nop
- enable_xml2enc=maybe-all
+else case e in #(
+ e) enable_xml2enc=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -19549,16 +20010,17 @@ printf %s "checking for libxml2... " >&6; }
if test ${ac_cv_libxml2+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
# Check whether --with-libxml2 was given.
if test ${with_libxml2+y}
then :
withval=$with_libxml2; test_paths="${with_libxml2}/include/libxml2 ${with_libxml2}/include ${with_libxml2}"
-else $as_nop
- test_paths="/usr/include/libxml2 /usr/local/include/libxml2 /usr/include /usr/local/include"
-
+else case e in #(
+ e) test_paths="/usr/include/libxml2 /usr/local/include/libxml2 /usr/include /usr/local/include"
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
@@ -19576,7 +20038,8 @@ printf %s "checking for libxml2... " >&6; }
else
ac_cv_libxml2=no
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libxml2" >&5
printf "%s\n" "$ac_cv_libxml2" >&6; }
@@ -19725,8 +20188,9 @@ printf %s "checking whether to enable mod_proxy_html... " >&6; }
if test ${enable_proxy_html+y}
then :
enableval=$enable_proxy_html; force_proxy_html=$enableval
-else $as_nop
- enable_proxy_html=maybe-all
+else case e in #(
+ e) enable_proxy_html=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -19789,16 +20253,17 @@ printf %s "checking for libxml2... " >&6; }
if test ${ac_cv_libxml2+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
# Check whether --with-libxml2 was given.
if test ${with_libxml2+y}
then :
withval=$with_libxml2; test_paths="${with_libxml2}/include/libxml2 ${with_libxml2}/include ${with_libxml2}"
-else $as_nop
- test_paths="/usr/include/libxml2 /usr/local/include/libxml2 /usr/include /usr/local/include"
-
+else case e in #(
+ e) test_paths="/usr/include/libxml2 /usr/local/include/libxml2 /usr/include /usr/local/include"
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
@@ -19816,7 +20281,8 @@ printf %s "checking for libxml2... " >&6; }
else
ac_cv_libxml2=no
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libxml2" >&5
printf "%s\n" "$ac_cv_libxml2" >&6; }
@@ -19967,8 +20433,9 @@ printf %s "checking whether to enable mod_brotli... " >&6; }
if test ${enable_brotli+y}
then :
enableval=$enable_brotli; force_brotli=$enableval
-else $as_nop
- enable_brotli=most
+else case e in #(
+ e) enable_brotli=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -20083,10 +20550,11 @@ printf "%s\n" "yes" >&6; }
ap_brotli_found=yes
ap_brotli_cflags="-I${ap_brotli_base}/include"
ap_brotli_libs="-L${ap_brotli_base}/lib -lbrotlienc -lbrotlicommon"
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CPPFLAGS=$ap_save_cppflags
@@ -20339,8 +20807,9 @@ printf %s "checking whether to enable mod_http... " >&6; }
if test ${enable_http+y}
then :
enableval=$enable_http; force_http=$enableval
-else $as_nop
- enable_http=static
+else case e in #(
+ e) enable_http=static ;;
+esac
fi
_apmod_extra_msg=""
@@ -20481,8 +20950,9 @@ printf %s "checking whether to enable mod_mime... " >&6; }
if test ${enable_mime+y}
then :
enableval=$enable_mime; force_mime=$enableval
-else $as_nop
- enable_mime=yes
+else case e in #(
+ e) enable_mime=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -20658,8 +21128,9 @@ printf %s "checking whether to enable mod_ldap... " >&6; }
if test ${enable_ldap+y}
then :
enableval=$enable_ldap; force_ldap=$enableval
-else $as_nop
- enable_ldap=most
+else case e in #(
+ e) enable_ldap=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -20722,8 +21193,8 @@ printf %s "checking for ldap support in apr/apr-util... " >&6; }
if test ${ac_cv_APR_HAS_LDAP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
apache_old_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $INCLUDES"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -20736,16 +21207,18 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_APR_HAS_LDAP=yes
-else $as_nop
- ac_cv_APR_HAS_LDAP=no
+else case e in #(
+ e) ac_cv_APR_HAS_LDAP=no ;;
+esac
fi
rm -rf conftest*
CPPFLAGS="$apache_old_cppflags"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_APR_HAS_LDAP" >&5
printf "%s\n" "$ac_cv_APR_HAS_LDAP" >&6; }
@@ -20937,8 +21410,9 @@ printf %s "checking whether to enable mod_log_config... " >&6; }
if test ${enable_log_config+y}
then :
enableval=$enable_log_config; force_log_config=$enableval
-else $as_nop
- enable_log_config=yes
+else case e in #(
+ e) enable_log_config=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -21079,8 +21553,9 @@ printf %s "checking whether to enable mod_log_debug... " >&6; }
if test ${enable_log_debug+y}
then :
enableval=$enable_log_debug; force_log_debug=$enableval
-else $as_nop
- enable_log_debug=most
+else case e in #(
+ e) enable_log_debug=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -21221,8 +21696,9 @@ printf %s "checking whether to enable mod_log_forensic... " >&6; }
if test ${enable_log_forensic+y}
then :
enableval=$enable_log_forensic; force_log_forensic=$enableval
-else $as_nop
- enable_log_forensic=maybe-all
+else case e in #(
+ e) enable_log_forensic=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -21389,8 +21865,9 @@ printf %s "checking whether to enable mod_logio... " >&6; }
if test ${enable_logio+y}
then :
enableval=$enable_logio; force_logio=$enableval
-else $as_nop
- enable_logio=most
+else case e in #(
+ e) enable_logio=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -21592,8 +22069,9 @@ printf %s "checking whether to enable mod_lua... " >&6; }
if test ${enable_lua+y}
then :
enableval=$enable_lua; force_lua=$enableval
-else $as_nop
- enable_lua=maybe-all
+else case e in #(
+ e) enable_lua=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -21656,8 +22134,9 @@ printf "%s\n" "checking dependencies" >&6; }
if test ${with_lua+y}
then :
withval=$with_lua; lua_path="$withval"
-else $as_nop
- :
+else case e in #(
+ e) : ;;
+esac
fi
@@ -21685,16 +22164,22 @@ printf %s "checking for pow in -lm... " >&6; }
if test ${ac_cv_lib_m_pow+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char pow ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pow (void);
int
main (void)
{
@@ -21706,12 +22191,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_m_pow=yes
-else $as_nop
- ac_cv_lib_m_pow=no
+else case e in #(
+ e) ac_cv_lib_m_pow=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
printf "%s\n" "$ac_cv_lib_m_pow" >&6; }
@@ -21725,16 +22212,22 @@ printf %s "checking for sqrt in -lm... " >&6; }
if test ${ac_cv_lib_m_sqrt+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char sqrt ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sqrt (void);
int
main (void)
{
@@ -21746,12 +22239,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_m_sqrt=yes
-else $as_nop
- ac_cv_lib_m_sqrt=no
+else case e in #(
+ e) ac_cv_lib_m_sqrt=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
printf "%s\n" "$ac_cv_lib_m_sqrt" >&6; }
@@ -21775,16 +22270,22 @@ printf %s "checking for luaL_newstate in -llua-5.4... " >&6; }
if test ${ac_cv_lib_lua_5_4_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua-5.4 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -21796,12 +22297,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_5_4_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_5_4_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_5_4_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_5_4_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_5_4_luaL_newstate" >&6; }
@@ -21861,16 +22364,22 @@ printf %s "checking for luaL_newstate in -llua5.4... " >&6; }
if test ${ac_cv_lib_lua5_4_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua5.4 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -21882,12 +22391,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua5_4_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua5_4_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua5_4_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua5_4_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua5_4_luaL_newstate" >&6; }
@@ -21947,16 +22458,22 @@ printf %s "checking for luaL_newstate in -llua... " >&6; }
if test ${ac_cv_lib_lua_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -21968,12 +22485,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_luaL_newstate" >&6; }
@@ -22034,16 +22553,22 @@ printf %s "checking for luaL_newstate in -llua-5.3... " >&6; }
if test ${ac_cv_lib_lua_5_3_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua-5.3 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22055,12 +22580,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_5_3_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_5_3_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_5_3_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_5_3_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_5_3_luaL_newstate" >&6; }
@@ -22120,16 +22647,22 @@ printf %s "checking for luaL_newstate in -llua5.3... " >&6; }
if test ${ac_cv_lib_lua5_3_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua5.3 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22141,12 +22674,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua5_3_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua5_3_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua5_3_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua5_3_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua5_3_luaL_newstate" >&6; }
@@ -22206,16 +22741,22 @@ printf %s "checking for luaL_newstate in -llua... " >&6; }
if test ${ac_cv_lib_lua_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22227,12 +22768,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_luaL_newstate" >&6; }
@@ -22293,16 +22836,22 @@ printf %s "checking for luaL_newstate in -llua... " >&6; }
if test ${ac_cv_lib_lua_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22314,12 +22863,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_luaL_newstate" >&6; }
@@ -22380,16 +22931,22 @@ printf %s "checking for luaL_newstate in -llua-5.2... " >&6; }
if test ${ac_cv_lib_lua_5_2_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua-5.2 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22401,12 +22958,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_5_2_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_5_2_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_5_2_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_5_2_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_5_2_luaL_newstate" >&6; }
@@ -22466,16 +23025,22 @@ printf %s "checking for luaL_newstate in -llua5.2... " >&6; }
if test ${ac_cv_lib_lua5_2_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua5.2 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22487,12 +23052,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua5_2_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua5_2_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua5_2_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua5_2_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua5_2_luaL_newstate" >&6; }
@@ -22552,16 +23119,22 @@ printf %s "checking for luaL_newstate in -llua... " >&6; }
if test ${ac_cv_lib_lua_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22573,12 +23146,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_luaL_newstate" >&6; }
@@ -22639,16 +23214,22 @@ printf %s "checking for luaL_newstate in -llua-5.1... " >&6; }
if test ${ac_cv_lib_lua_5_1_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua-5.1 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22660,12 +23241,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_5_1_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_5_1_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_5_1_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_5_1_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_5_1_luaL_newstate" >&6; }
@@ -22725,16 +23308,22 @@ printf %s "checking for luaL_newstate in -llua5.1... " >&6; }
if test ${ac_cv_lib_lua5_1_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua5.1 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22746,12 +23335,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua5_1_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua5_1_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua5_1_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua5_1_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua5_1_luaL_newstate" >&6; }
@@ -22811,16 +23402,22 @@ printf %s "checking for luaL_newstate in -llua... " >&6; }
if test ${ac_cv_lib_lua_luaL_newstate+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-llua $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char luaL_newstate ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char luaL_newstate (void);
int
main (void)
{
@@ -22832,12 +23429,14 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_lua_luaL_newstate=yes
-else $as_nop
- ac_cv_lib_lua_luaL_newstate=no
+else case e in #(
+ e) ac_cv_lib_lua_luaL_newstate=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_luaL_newstate" >&5
printf "%s\n" "$ac_cv_lib_lua_luaL_newstate" >&6; }
@@ -23133,8 +23732,9 @@ printf %s "checking whether to enable mod_env... " >&6; }
if test ${enable_env+y}
then :
enableval=$enable_env; force_env=$enableval
-else $as_nop
- enable_env=yes
+else case e in #(
+ e) enable_env=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -23275,8 +23875,9 @@ printf %s "checking whether to enable mod_mime_magic... " >&6; }
if test ${enable_mime_magic+y}
then :
enableval=$enable_mime_magic; force_mime_magic=$enableval
-else $as_nop
- enable_mime_magic=maybe-all
+else case e in #(
+ e) enable_mime_magic=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -23417,8 +24018,9 @@ printf %s "checking whether to enable mod_cern_meta... " >&6; }
if test ${enable_cern_meta+y}
then :
enableval=$enable_cern_meta; force_cern_meta=$enableval
-else $as_nop
- enable_cern_meta=no
+else case e in #(
+ e) enable_cern_meta=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -23559,8 +24161,9 @@ printf %s "checking whether to enable mod_expires... " >&6; }
if test ${enable_expires+y}
then :
enableval=$enable_expires; force_expires=$enableval
-else $as_nop
- enable_expires=most
+else case e in #(
+ e) enable_expires=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -23701,8 +24304,9 @@ printf %s "checking whether to enable mod_headers... " >&6; }
if test ${enable_headers+y}
then :
enableval=$enable_headers; force_headers=$enableval
-else $as_nop
- enable_headers=yes
+else case e in #(
+ e) enable_headers=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -23843,8 +24447,9 @@ printf %s "checking whether to enable mod_ident... " >&6; }
if test ${enable_ident+y}
then :
enableval=$enable_ident; force_ident=$enableval
-else $as_nop
- enable_ident=no
+else case e in #(
+ e) enable_ident=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -23986,8 +24591,9 @@ printf %s "checking whether to enable mod_usertrack... " >&6; }
if test ${enable_usertrack+y}
then :
enableval=$enable_usertrack; force_usertrack=$enableval
-else $as_nop
- enable_usertrack=maybe-all
+else case e in #(
+ e) enable_usertrack=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -24157,8 +24763,9 @@ printf %s "checking whether to enable mod_unique_id... " >&6; }
if test ${enable_unique_id+y}
then :
enableval=$enable_unique_id; force_unique_id=$enableval
-else $as_nop
- enable_unique_id=most
+else case e in #(
+ e) enable_unique_id=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -24299,8 +24906,9 @@ printf %s "checking whether to enable mod_setenvif... " >&6; }
if test ${enable_setenvif+y}
then :
enableval=$enable_setenvif; force_setenvif=$enableval
-else $as_nop
- enable_setenvif=yes
+else case e in #(
+ e) enable_setenvif=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -24441,8 +25049,9 @@ printf %s "checking whether to enable mod_version... " >&6; }
if test ${enable_version+y}
then :
enableval=$enable_version; force_version=$enableval
-else $as_nop
- enable_version=yes
+else case e in #(
+ e) enable_version=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -24583,8 +25192,9 @@ printf %s "checking whether to enable mod_remoteip... " >&6; }
if test ${enable_remoteip+y}
then :
enableval=$enable_remoteip; force_remoteip=$enableval
-else $as_nop
- enable_remoteip=most
+else case e in #(
+ e) enable_remoteip=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -24759,8 +25369,9 @@ printf %s "checking whether to enable mod_proxy... " >&6; }
if test ${enable_proxy+y}
then :
enableval=$enable_proxy; force_proxy=$enableval
-else $as_nop
- enable_proxy=most
+else case e in #(
+ e) enable_proxy=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -24939,8 +25550,9 @@ printf %s "checking whether to enable mod_proxy_connect... " >&6; }
if test ${enable_proxy_connect+y}
then :
enableval=$enable_proxy_connect; force_proxy_connect=$enableval
-else $as_nop
- enable_proxy_connect=most
+else case e in #(
+ e) enable_proxy_connect=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -25102,8 +25714,9 @@ printf %s "checking whether to enable mod_proxy_ftp... " >&6; }
if test ${enable_proxy_ftp+y}
then :
enableval=$enable_proxy_ftp; force_proxy_ftp=$enableval
-else $as_nop
- enable_proxy_ftp=most
+else case e in #(
+ e) enable_proxy_ftp=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -25265,8 +25878,9 @@ printf %s "checking whether to enable mod_proxy_http... " >&6; }
if test ${enable_proxy_http+y}
then :
enableval=$enable_proxy_http; force_proxy_http=$enableval
-else $as_nop
- enable_proxy_http=most
+else case e in #(
+ e) enable_proxy_http=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -25428,8 +26042,9 @@ printf %s "checking whether to enable mod_proxy_fcgi... " >&6; }
if test ${enable_proxy_fcgi+y}
then :
enableval=$enable_proxy_fcgi; force_proxy_fcgi=$enableval
-else $as_nop
- enable_proxy_fcgi=most
+else case e in #(
+ e) enable_proxy_fcgi=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -25591,8 +26206,9 @@ printf %s "checking whether to enable mod_proxy_scgi... " >&6; }
if test ${enable_proxy_scgi+y}
then :
enableval=$enable_proxy_scgi; force_proxy_scgi=$enableval
-else $as_nop
- enable_proxy_scgi=most
+else case e in #(
+ e) enable_proxy_scgi=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -25754,8 +26370,9 @@ printf %s "checking whether to enable mod_proxy_uwsgi... " >&6; }
if test ${enable_proxy_uwsgi+y}
then :
enableval=$enable_proxy_uwsgi; force_proxy_uwsgi=$enableval
-else $as_nop
- enable_proxy_uwsgi=most
+else case e in #(
+ e) enable_proxy_uwsgi=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -25915,8 +26532,8 @@ printf %s "checking for $CC options needed to detect all undeclared functions...
if test ${ac_cv_c_undeclared_builtin_options+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_save_CFLAGS=$CFLAGS
+else case e in #(
+ e) ac_save_CFLAGS=$CFLAGS
ac_cv_c_undeclared_builtin_options='cannot detect'
for ac_arg in '' -fno-builtin; do
CFLAGS="$ac_save_CFLAGS $ac_arg"
@@ -25935,8 +26552,8 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
-else $as_nop
- # This test program should compile successfully.
+else case e in #(
+ e) # This test program should compile successfully.
# No library function is consistently available on
# freestanding implementations, so test against a dummy
# declaration. Include always-available headers on the
@@ -25964,26 +26581,29 @@ then :
if test x"$ac_arg" = x
then :
ac_cv_c_undeclared_builtin_options='none needed'
-else $as_nop
- ac_cv_c_undeclared_builtin_options=$ac_arg
+else case e in #(
+ e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
+esac
fi
break
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
CFLAGS=$ac_save_CFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
case $ac_cv_c_undeclared_builtin_options in #(
'cannot detect') :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot make $CC report undeclared builtins
-See \`config.log' for more details" "$LINENO" 5; } ;; #(
+See 'config.log' for more details" "$LINENO" 5; } ;; #(
'none needed') :
ac_c_undeclared_builtin_options='' ;; #(
*) :
@@ -25997,8 +26617,9 @@ printf %s "checking whether to enable mod_proxy_fdpass... " >&6; }
if test ${enable_proxy_fdpass+y}
then :
enableval=$enable_proxy_fdpass; force_proxy_fdpass=$enableval
-else $as_nop
- enable_proxy_fdpass=most
+else case e in #(
+ e) enable_proxy_fdpass=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -26175,8 +26796,9 @@ printf %s "checking whether to enable mod_proxy_wstunnel... " >&6; }
if test ${enable_proxy_wstunnel+y}
then :
enableval=$enable_proxy_wstunnel; force_proxy_wstunnel=$enableval
-else $as_nop
- enable_proxy_wstunnel=most
+else case e in #(
+ e) enable_proxy_wstunnel=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -26338,8 +26960,9 @@ printf %s "checking whether to enable mod_proxy_ajp... " >&6; }
if test ${enable_proxy_ajp+y}
then :
enableval=$enable_proxy_ajp; force_proxy_ajp=$enableval
-else $as_nop
- enable_proxy_ajp=most
+else case e in #(
+ e) enable_proxy_ajp=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -26501,8 +27124,9 @@ printf %s "checking whether to enable mod_proxy_balancer... " >&6; }
if test ${enable_proxy_balancer+y}
then :
enableval=$enable_proxy_balancer; force_proxy_balancer=$enableval
-else $as_nop
- enable_proxy_balancer=most
+else case e in #(
+ e) enable_proxy_balancer=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -26665,8 +27289,9 @@ printf %s "checking whether to enable mod_proxy_express... " >&6; }
if test ${enable_proxy_express+y}
then :
enableval=$enable_proxy_express; force_proxy_express=$enableval
-else $as_nop
- enable_proxy_express=most
+else case e in #(
+ e) enable_proxy_express=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -26828,8 +27453,9 @@ printf %s "checking whether to enable mod_proxy_hcheck... " >&6; }
if test ${enable_proxy_hcheck+y}
then :
enableval=$enable_proxy_hcheck; force_proxy_hcheck=$enableval
-else $as_nop
- enable_proxy_hcheck=most
+else case e in #(
+ e) enable_proxy_hcheck=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -27080,8 +27706,9 @@ printf %s "checking whether to enable mod_session... " >&6; }
if test ${enable_session+y}
then :
enableval=$enable_session; force_session=$enableval
-else $as_nop
- enable_session=most
+else case e in #(
+ e) enable_session=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -27222,8 +27849,9 @@ printf %s "checking whether to enable mod_session_cookie... " >&6; }
if test ${enable_session_cookie+y}
then :
enableval=$enable_session_cookie; force_session_cookie=$enableval
-else $as_nop
- enable_session_cookie=$session_mods_enable
+else case e in #(
+ e) enable_session_cookie=$session_mods_enable ;;
+esac
fi
_apmod_extra_msg=""
@@ -27405,8 +28033,9 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ap_HAVE_APR_CRYPTO="yes"
-else $as_nop
- ap_HAVE_APR_CRYPTO="no"
+else case e in #(
+ e) ap_HAVE_APR_CRYPTO="no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CPPFLAGS="$saved_CPPFLAGS"
@@ -27426,8 +28055,9 @@ printf %s "checking whether to enable mod_session_crypto... " >&6; }
if test ${enable_session_crypto+y}
then :
enableval=$enable_session_crypto; force_session_crypto=$enableval
-else $as_nop
- enable_session_crypto=$session_mods_enable_crypto
+else case e in #(
+ e) enable_session_crypto=$session_mods_enable_crypto ;;
+esac
fi
_apmod_extra_msg=""
@@ -27594,8 +28224,9 @@ printf %s "checking whether to enable mod_session_dbd... " >&6; }
if test ${enable_session_dbd+y}
then :
enableval=$enable_session_dbd; force_session_dbd=$enableval
-else $as_nop
- enable_session_dbd=$session_mods_enable
+else case e in #(
+ e) enable_session_dbd=$session_mods_enable ;;
+esac
fi
_apmod_extra_msg=""
@@ -27814,8 +28445,9 @@ printf %s "checking whether to enable mod_slotmem_shm... " >&6; }
if test ${enable_slotmem_shm+y}
then :
enableval=$enable_slotmem_shm; force_slotmem_shm=$enableval
-else $as_nop
- enable_slotmem_shm=most
+else case e in #(
+ e) enable_slotmem_shm=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -27956,8 +28588,9 @@ printf %s "checking whether to enable mod_slotmem_plain... " >&6; }
if test ${enable_slotmem_plain+y}
then :
enableval=$enable_slotmem_plain; force_slotmem_plain=$enableval
-else $as_nop
- enable_slotmem_plain=maybe-all
+else case e in #(
+ e) enable_slotmem_plain=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -28132,8 +28765,9 @@ printf %s "checking whether to enable mod_ssl... " >&6; }
if test ${enable_ssl+y}
then :
enableval=$enable_ssl; force_ssl=$enableval
-else $as_nop
- enable_ssl=most
+else case e in #(
+ e) enable_ssl=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -28196,8 +28830,8 @@ printf %s "checking for OpenSSL... " >&6; }
if test ${ac_cv_openssl+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_openssl=no
ap_openssl_found=""
ap_openssl_base=""
@@ -28584,9 +29218,10 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_openssl=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -28663,8 +29298,9 @@ if test "x$ac_cv_func_SSL_CTX_new" = xyes
then :
printf "%s\n" "#define HAVE_SSL_CTX_NEW 1" >>confdefs.h
-else $as_nop
- liberrors="yes"
+else case e in #(
+ e) liberrors="yes" ;;
+esac
fi
done
@@ -28709,7 +29345,8 @@ printf "%s\n" "$as_me: WARNING: OpenSSL version is too old" >&2;}
ap_openssl_mod_cflags=$MOD_CFLAGS
ap_openssl_mod_ldflags=$MOD_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl" >&5
printf "%s\n" "$ac_cv_openssl" >&6; }
@@ -28945,8 +29582,9 @@ printf %s "checking whether to enable mod_optional_hook_export... " >&6; }
if test ${enable_optional_hook_export+y}
then :
enableval=$enable_optional_hook_export; force_optional_hook_export=$enableval
-else $as_nop
- enable_optional_hook_export=no
+else case e in #(
+ e) enable_optional_hook_export=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -29087,8 +29725,9 @@ printf %s "checking whether to enable mod_optional_hook_import... " >&6; }
if test ${enable_optional_hook_import+y}
then :
enableval=$enable_optional_hook_import; force_optional_hook_import=$enableval
-else $as_nop
- enable_optional_hook_import=no
+else case e in #(
+ e) enable_optional_hook_import=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -29229,8 +29868,9 @@ printf %s "checking whether to enable mod_optional_fn_import... " >&6; }
if test ${enable_optional_fn_import+y}
then :
enableval=$enable_optional_fn_import; force_optional_fn_import=$enableval
-else $as_nop
- enable_optional_fn_import=no
+else case e in #(
+ e) enable_optional_fn_import=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -29371,8 +30011,9 @@ printf %s "checking whether to enable mod_optional_fn_export... " >&6; }
if test ${enable_optional_fn_export+y}
then :
enableval=$enable_optional_fn_export; force_optional_fn_export=$enableval
-else $as_nop
- enable_optional_fn_export=no
+else case e in #(
+ e) enable_optional_fn_export=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -29514,8 +30155,9 @@ printf %s "checking whether to enable mod_dialup... " >&6; }
if test ${enable_dialup+y}
then :
enableval=$enable_dialup; force_dialup=$enableval
-else $as_nop
- enable_dialup=maybe-all
+else case e in #(
+ e) enable_dialup=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -29753,8 +30395,8 @@ printf %s "checking for rlim_t... " >&6; }
if test ${ac_cv_type_rlim_t+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -29775,12 +30417,14 @@ then :
ac_cv_type_rlim_t=yes
-else $as_nop
- ac_cv_type_rlim_t=no
-
+else case e in #(
+ e) ac_cv_type_rlim_t=no
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_rlim_t" >&5
printf "%s\n" "$ac_cv_type_rlim_t" >&6; }
@@ -29910,11 +30554,12 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_define_APR_HAS_THREADS=yes
-else $as_nop
- ac_cv_define_APR_HAS_THREADS=no
+else case e in #(
+ e) ac_cv_define_APR_HAS_THREADS=no ;;
+esac
fi
rm -rf conftest*
@@ -29938,8 +30583,8 @@ printf %s "checking whether APR supports thread-safe pollsets... " >&6; }
if test ${ac_cv_have_threadsafe_pollset+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
case $host in
*-apple-darwin[1-9].*)
@@ -29974,7 +30619,8 @@ fi
else
ac_cv_have_threadsafe_pollset=no
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_threadsafe_pollset" >&5
printf "%s\n" "$ac_cv_have_threadsafe_pollset" >&6; }
@@ -31018,7 +31664,7 @@ esac
> $modpath_current/modules.mk
-http2_objs="mod_http2.lo h2_bucket_beam.lo h2_bucket_eos.lo h2_c1.lo h2_c1_io.lo h2_c2.lo h2_c2_filter.lo h2_config.lo h2_conn_ctx.lo h2_headers.lo h2_mplx.lo h2_protocol.lo h2_push.lo h2_request.lo h2_session.lo h2_stream.lo h2_switch.lo h2_util.lo h2_workers.lo "
+http2_objs="mod_http2.lo h2_bucket_beam.lo h2_bucket_eos.lo h2_c1.lo h2_c1_io.lo h2_c2.lo h2_c2_filter.lo h2_config.lo h2_conn_ctx.lo h2_headers.lo h2_mplx.lo h2_protocol.lo h2_push.lo h2_request.lo h2_session.lo h2_stream.lo h2_switch.lo h2_util.lo h2_workers.lo h2_ws.lo "
@@ -31030,8 +31676,9 @@ printf %s "checking whether to enable mod_http2... " >&6; }
if test ${enable_http2+y}
then :
enableval=$enable_http2; force_http2=$enableval
-else $as_nop
- enable_http2=most
+else case e in #(
+ e) enable_http2=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -31094,8 +31741,8 @@ printf %s "checking for OpenSSL... " >&6; }
if test ${ac_cv_openssl+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_openssl=no
ap_openssl_found=""
ap_openssl_base=""
@@ -31482,9 +32129,10 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_openssl=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -31561,8 +32209,9 @@ if test "x$ac_cv_func_SSL_CTX_new" = xyes
then :
printf "%s\n" "#define HAVE_SSL_CTX_NEW 1" >>confdefs.h
-else $as_nop
- liberrors="yes"
+else case e in #(
+ e) liberrors="yes" ;;
+esac
fi
done
@@ -31607,7 +32256,8 @@ printf "%s\n" "$as_me: WARNING: OpenSSL version is too old" >&2;}
ap_openssl_mod_cflags=$MOD_CFLAGS
ap_openssl_mod_ldflags=$MOD_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl" >&5
printf "%s\n" "$ac_cv_openssl" >&6; }
@@ -31689,8 +32339,8 @@ printf %s "checking for nghttp2... " >&6; }
if test ${ac_cv_nghttp2+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_nghttp2=no
ap_nghttp2_found=""
ap_nghttp2_base=""
@@ -32035,9 +32685,10 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_nghttp2=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -32102,8 +32753,9 @@ if test "x$ac_cv_func_nghttp2_session_server_new2" = xyes
then :
printf "%s\n" "#define HAVE_NGHTTP2_SESSION_SERVER_NEW2 1" >>confdefs.h
-else $as_nop
- liberrors="yes"
+else case e in #(
+ e) liberrors="yes" ;;
+esac
fi
done
@@ -32119,8 +32771,9 @@ if test "x$ac_cv_func_nghttp2_stream_get_weight" = xyes
then :
printf "%s\n" "#define HAVE_NGHTTP2_STREAM_GET_WEIGHT 1" >>confdefs.h
-else $as_nop
- liberrors="yes"
+else case e in #(
+ e) liberrors="yes" ;;
+esac
fi
done
@@ -32291,7 +32944,8 @@ printf "%s\n" "$as_me: WARNING: nghttp2 version is too old" >&2;}
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"
LDFLAGS="$saved_LDFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nghttp2" >&5
printf "%s\n" "$ac_cv_nghttp2" >&6; }
@@ -32437,8 +33091,9 @@ printf %s "checking whether to enable mod_proxy_http2... " >&6; }
if test ${enable_proxy_http2+y}
then :
enableval=$enable_proxy_http2; force_proxy_http2=$enableval
-else $as_nop
- enable_proxy_http2=no
+else case e in #(
+ e) enable_proxy_http2=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -32509,8 +33164,8 @@ printf %s "checking for nghttp2... " >&6; }
if test ${ac_cv_nghttp2+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_nghttp2=no
ap_nghttp2_found=""
ap_nghttp2_base=""
@@ -32855,9 +33510,10 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_nghttp2=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -32922,8 +33578,9 @@ if test "x$ac_cv_func_nghttp2_session_server_new2" = xyes
then :
printf "%s\n" "#define HAVE_NGHTTP2_SESSION_SERVER_NEW2 1" >>confdefs.h
-else $as_nop
- liberrors="yes"
+else case e in #(
+ e) liberrors="yes" ;;
+esac
fi
done
@@ -32939,8 +33596,9 @@ if test "x$ac_cv_func_nghttp2_stream_get_weight" = xyes
then :
printf "%s\n" "#define HAVE_NGHTTP2_STREAM_GET_WEIGHT 1" >>confdefs.h
-else $as_nop
- liberrors="yes"
+else case e in #(
+ e) liberrors="yes" ;;
+esac
fi
done
@@ -33111,7 +33769,8 @@ printf "%s\n" "$as_me: WARNING: nghttp2 version is too old" >&2;}
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"
LDFLAGS="$saved_LDFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nghttp2" >&5
printf "%s\n" "$ac_cv_nghttp2" >&6; }
@@ -33314,8 +33973,9 @@ printf %s "checking whether to enable mod_md... " >&6; }
if test ${enable_md+y}
then :
enableval=$enable_md; force_md=$enableval
-else $as_nop
- enable_md=most
+else case e in #(
+ e) enable_md=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -33378,8 +34038,8 @@ printf %s "checking for OpenSSL... " >&6; }
if test ${ac_cv_openssl+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_openssl=no
ap_openssl_found=""
ap_openssl_base=""
@@ -33766,9 +34426,10 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_openssl=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -33845,8 +34506,9 @@ if test "x$ac_cv_func_SSL_CTX_new" = xyes
then :
printf "%s\n" "#define HAVE_SSL_CTX_NEW 1" >>confdefs.h
-else $as_nop
- liberrors="yes"
+else case e in #(
+ e) liberrors="yes" ;;
+esac
fi
done
@@ -33891,7 +34553,8 @@ printf "%s\n" "$as_me: WARNING: OpenSSL version is too old" >&2;}
ap_openssl_mod_cflags=$MOD_CFLAGS
ap_openssl_mod_ldflags=$MOD_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl" >&5
printf "%s\n" "$ac_cv_openssl" >&6; }
@@ -33955,8 +34618,8 @@ printf %s "checking for jansson... " >&6; }
if test ${ac_cv_jansson+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_jansson=no
ap_jansson_found=""
ap_jansson_base=""
@@ -34295,9 +34958,10 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_jansson=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -34350,7 +35014,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"
LDFLAGS="$saved_LDFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_jansson" >&5
printf "%s\n" "$ac_cv_jansson" >&6; }
@@ -34372,8 +35037,8 @@ printf %s "checking for curl... " >&6; }
if test ${ac_cv_curl+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_curl=no
ap_curl_found=""
ap_curl_base=""
@@ -34729,9 +35394,10 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_curl=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -34784,7 +35450,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"
LDFLAGS="$saved_LDFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_curl" >&5
printf "%s\n" "$ac_cv_curl" >&6; }
@@ -34986,8 +35653,9 @@ printf %s "checking whether to enable mod_lbmethod_byrequests... " >&6; }
if test ${enable_lbmethod_byrequests+y}
then :
enableval=$enable_lbmethod_byrequests; force_lbmethod_byrequests=$enableval
-else $as_nop
- enable_lbmethod_byrequests=$enable_proxy_balancer
+else case e in #(
+ e) enable_lbmethod_byrequests=$enable_proxy_balancer ;;
+esac
fi
_apmod_extra_msg=""
@@ -35149,8 +35817,9 @@ printf %s "checking whether to enable mod_lbmethod_bytraffic... " >&6; }
if test ${enable_lbmethod_bytraffic+y}
then :
enableval=$enable_lbmethod_bytraffic; force_lbmethod_bytraffic=$enableval
-else $as_nop
- enable_lbmethod_bytraffic=$enable_proxy_balancer
+else case e in #(
+ e) enable_lbmethod_bytraffic=$enable_proxy_balancer ;;
+esac
fi
_apmod_extra_msg=""
@@ -35312,8 +35981,9 @@ printf %s "checking whether to enable mod_lbmethod_bybusyness... " >&6; }
if test ${enable_lbmethod_bybusyness+y}
then :
enableval=$enable_lbmethod_bybusyness; force_lbmethod_bybusyness=$enableval
-else $as_nop
- enable_lbmethod_bybusyness=$enable_proxy_balancer
+else case e in #(
+ e) enable_lbmethod_bybusyness=$enable_proxy_balancer ;;
+esac
fi
_apmod_extra_msg=""
@@ -35475,8 +36145,9 @@ printf %s "checking whether to enable mod_lbmethod_heartbeat... " >&6; }
if test ${enable_lbmethod_heartbeat+y}
then :
enableval=$enable_lbmethod_heartbeat; force_lbmethod_heartbeat=$enableval
-else $as_nop
- enable_lbmethod_heartbeat=$enable_proxy_balancer
+else case e in #(
+ e) enable_lbmethod_heartbeat=$enable_proxy_balancer ;;
+esac
fi
_apmod_extra_msg=""
@@ -35676,8 +36347,9 @@ printf %s "checking whether to enable mod_tls... " >&6; }
if test ${enable_tls+y}
then :
enableval=$enable_tls; force_tls=$enableval
-else $as_nop
- enable_tls=most
+else case e in #(
+ e) enable_tls=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -35740,8 +36412,8 @@ printf %s "checking for rustls... " >&6; }
if test ${ac_cv_rustls+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_rustls=no
ap_rustls_found=""
ap_rustls_base=""
@@ -36052,8 +36724,8 @@ printf %s "checking for pkg-config along $PKG_CONFIG_PATH... " >&6; }
fi
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls version >= 0.8.2" >&5
-printf %s "checking for rustls version >= 0.8.2... " >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls version >= 0.9.2" >&5
+printf %s "checking for rustls version >= 0.9.2... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <rustls.h>
@@ -36062,6 +36734,7 @@ main (void)
{
rustls_version();
+rustls_acceptor_new();
;
return 0;
@@ -36072,16 +36745,18 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OK" >&5
printf "%s\n" "OK" >&6; }
ac_cv_rustls=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
-printf "%s\n" "FAILED" >&6; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAILED" >&5
+printf "%s\n" "FAILED" >&6; } ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"
LDFLAGS="$saved_LDFLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rustls" >&5
printf "%s\n" "$ac_cv_rustls" >&6; }
@@ -36265,8 +36940,8 @@ then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
printf "%s\n" "$withval" >&6; };
-else $as_nop
-
+else case e in #(
+ e)
if ap_mpm_is_supported "winnt"; then
default_mpm=winnt
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: winnt" >&5
@@ -36288,7 +36963,8 @@ printf "%s\n" "worker - event is not supported" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prefork - event and worker are not supported" >&5
printf "%s\n" "prefork - event and worker are not supported" >&6; }
fi
-
+ ;;
+esac
fi
@@ -36344,8 +37020,9 @@ then :
done
fi
-else $as_nop
- mpm_build=static
+else case e in #(
+ e) mpm_build=static ;;
+esac
fi
@@ -36721,8 +37398,9 @@ printf %s "checking whether to enable mod_unixd... " >&6; }
if test ${enable_unixd+y}
then :
enableval=$enable_unixd; force_unixd=$enableval
-else $as_nop
- enable_unixd=$unixd_mods_enable
+else case e in #(
+ e) enable_unixd=$unixd_mods_enable ;;
+esac
fi
_apmod_extra_msg=""
@@ -36863,8 +37541,9 @@ printf %s "checking whether to enable mod_privileges... " >&6; }
if test ${enable_privileges+y}
then :
enableval=$enable_privileges; force_privileges=$enableval
-else $as_nop
- enable_privileges=no
+else case e in #(
+ e) enable_privileges=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -36928,8 +37607,9 @@ if test "x$ac_cv_header_priv_h" = xyes
then :
printf "%s\n" "#define HAVE_PRIV_H 1" >>confdefs.h
ap_HAVE_PRIV_H="yes"
-else $as_nop
- ap_HAVE_PRIV_H="no"
+else case e in #(
+ e) ap_HAVE_PRIV_H="no" ;;
+esac
fi
done
@@ -37037,8 +37717,9 @@ printf %s "checking whether to enable mod_systemd... " >&6; }
if test ${enable_systemd+y}
then :
enableval=$enable_systemd; force_systemd=$enableval
-else $as_nop
- enable_systemd=no
+else case e in #(
+ e) enable_systemd=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -37286,8 +37967,9 @@ printf %s "checking whether to enable mod_heartbeat... " >&6; }
if test ${enable_heartbeat+y}
then :
enableval=$enable_heartbeat; force_heartbeat=$enableval
-else $as_nop
- enable_heartbeat=maybe-all
+else case e in #(
+ e) enable_heartbeat=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -37449,8 +38131,9 @@ printf %s "checking whether to enable mod_heartmonitor... " >&6; }
if test ${enable_heartmonitor+y}
then :
enableval=$enable_heartmonitor; force_heartmonitor=$enableval
-else $as_nop
- enable_heartmonitor=maybe-all
+else case e in #(
+ e) enable_heartmonitor=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -37632,8 +38315,9 @@ printf %s "checking whether to enable mod_dav... " >&6; }
if test ${enable_dav+y}
then :
enableval=$enable_dav; force_dav=$enableval
-else $as_nop
- enable_dav=$dav_enable
+else case e in #(
+ e) enable_dav=$dav_enable ;;
+esac
fi
_apmod_extra_msg=""
@@ -37834,8 +38518,9 @@ printf %s "checking whether to enable mod_status... " >&6; }
if test ${enable_status+y}
then :
enableval=$enable_status; force_status=$enableval
-else $as_nop
- enable_status=yes
+else case e in #(
+ e) enable_status=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -37976,8 +38661,9 @@ printf %s "checking whether to enable mod_autoindex... " >&6; }
if test ${enable_autoindex+y}
then :
enableval=$enable_autoindex; force_autoindex=$enableval
-else $as_nop
- enable_autoindex=yes
+else case e in #(
+ e) enable_autoindex=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -38118,8 +38804,9 @@ printf %s "checking whether to enable mod_asis... " >&6; }
if test ${enable_asis+y}
then :
enableval=$enable_asis; force_asis=$enableval
-else $as_nop
- enable_asis=maybe-all
+else case e in #(
+ e) enable_asis=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -38260,8 +38947,9 @@ printf %s "checking whether to enable mod_info... " >&6; }
if test ${enable_info+y}
then :
enableval=$enable_info; force_info=$enableval
-else $as_nop
- enable_info=most
+else case e in #(
+ e) enable_info=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -38402,8 +39090,9 @@ printf %s "checking whether to enable mod_suexec... " >&6; }
if test ${enable_suexec+y}
then :
enableval=$enable_suexec; force_suexec=$enableval
-else $as_nop
- enable_suexec=no
+else case e in #(
+ e) enable_suexec=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -38574,8 +39263,9 @@ printf %s "checking whether to enable mod_cgid... " >&6; }
if test ${enable_cgid+y}
then :
enableval=$enable_cgid; force_cgid=$enableval
-else $as_nop
- enable_cgid=most
+else case e in #(
+ e) enable_cgid=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -38766,8 +39456,9 @@ printf %s "checking whether to enable mod_cgi... " >&6; }
if test ${enable_cgi+y}
then :
enableval=$enable_cgi; force_cgi=$enableval
-else $as_nop
- enable_cgi=no
+else case e in #(
+ e) enable_cgi=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -38909,8 +39600,9 @@ printf %s "checking whether to enable mod_cgi... " >&6; }
if test ${enable_cgi+y}
then :
enableval=$enable_cgi; force_cgi=$enableval
-else $as_nop
- enable_cgi=most
+else case e in #(
+ e) enable_cgi=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -39051,8 +39743,9 @@ printf %s "checking whether to enable mod_cgid... " >&6; }
if test ${enable_cgid+y}
then :
enableval=$enable_cgid; force_cgid=$enableval
-else $as_nop
- enable_cgid=no
+else case e in #(
+ e) enable_cgid=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -39358,8 +40051,9 @@ printf %s "checking whether to enable mod_dav_fs... " >&6; }
if test ${enable_dav_fs+y}
then :
enableval=$enable_dav_fs; force_dav_fs=$enableval
-else $as_nop
- enable_dav_fs=$dav_fs_enable
+else case e in #(
+ e) enable_dav_fs=$dav_fs_enable ;;
+esac
fi
_apmod_extra_msg=""
@@ -39564,8 +40258,9 @@ printf %s "checking whether to enable mod_dav_lock... " >&6; }
if test ${enable_dav_lock+y}
then :
enableval=$enable_dav_lock; force_dav_lock=$enableval
-else $as_nop
- enable_dav_lock=maybe-all
+else case e in #(
+ e) enable_dav_lock=maybe-all ;;
+esac
fi
_apmod_extra_msg=""
@@ -39799,10 +40494,11 @@ EOF
printf "%s\n" "added:$EXTRA_MODLIST" >&6; }
fi
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
printf "%s\n" "none" >&6; }
-
+ ;;
+esac
fi
@@ -39827,8 +40523,9 @@ printf %s "checking whether to enable mod_vhost_alias... " >&6; }
if test ${enable_vhost_alias+y}
then :
enableval=$enable_vhost_alias; force_vhost_alias=$enableval
-else $as_nop
- enable_vhost_alias=most
+else case e in #(
+ e) enable_vhost_alias=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -39969,8 +40666,9 @@ printf %s "checking whether to enable mod_negotiation... " >&6; }
if test ${enable_negotiation+y}
then :
enableval=$enable_negotiation; force_negotiation=$enableval
-else $as_nop
- enable_negotiation=most
+else case e in #(
+ e) enable_negotiation=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -40111,8 +40809,9 @@ printf %s "checking whether to enable mod_dir... " >&6; }
if test ${enable_dir+y}
then :
enableval=$enable_dir; force_dir=$enableval
-else $as_nop
- enable_dir=yes
+else case e in #(
+ e) enable_dir=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -40253,8 +40952,9 @@ printf %s "checking whether to enable mod_imagemap... " >&6; }
if test ${enable_imagemap+y}
then :
enableval=$enable_imagemap; force_imagemap=$enableval
-else $as_nop
- enable_imagemap=no
+else case e in #(
+ e) enable_imagemap=no ;;
+esac
fi
_apmod_extra_msg=""
@@ -40395,8 +41095,9 @@ printf %s "checking whether to enable mod_actions... " >&6; }
if test ${enable_actions+y}
then :
enableval=$enable_actions; force_actions=$enableval
-else $as_nop
- enable_actions=most
+else case e in #(
+ e) enable_actions=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -40537,8 +41238,9 @@ printf %s "checking whether to enable mod_speling... " >&6; }
if test ${enable_speling+y}
then :
enableval=$enable_speling; force_speling=$enableval
-else $as_nop
- enable_speling=most
+else case e in #(
+ e) enable_speling=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -40679,8 +41381,9 @@ printf %s "checking whether to enable mod_userdir... " >&6; }
if test ${enable_userdir+y}
then :
enableval=$enable_userdir; force_userdir=$enableval
-else $as_nop
- enable_userdir=most
+else case e in #(
+ e) enable_userdir=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -40821,8 +41524,9 @@ printf %s "checking whether to enable mod_alias... " >&6; }
if test ${enable_alias+y}
then :
enableval=$enable_alias; force_alias=$enableval
-else $as_nop
- enable_alias=yes
+else case e in #(
+ e) enable_alias=yes ;;
+esac
fi
_apmod_extra_msg=""
@@ -40963,8 +41667,9 @@ printf %s "checking whether to enable mod_rewrite... " >&6; }
if test ${enable_rewrite+y}
then :
enableval=$enable_rewrite; force_rewrite=$enableval
-else $as_nop
- enable_rewrite=most
+else case e in #(
+ e) enable_rewrite=most ;;
+esac
fi
_apmod_extra_msg=""
@@ -41099,6 +41804,31 @@ EOF
fi
+if test "x$enable_rewrite" != "xno"; then
+ # mod_rewrite needs test_char.h
+
+ if test "x$INCLUDES" = "x"; then
+ test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_builddir)/server\""
+ INCLUDES="-I\$(top_builddir)/server"
+ else
+ apr_addto_bugger="-I\$(top_builddir)/server"
+ for i in $apr_addto_bugger; do
+ apr_addto_duplicate="0"
+ for j in $INCLUDES; do
+ if test "x$i" = "x$j"; then
+ apr_addto_duplicate="1"
+ break
+ fi
+ done
+ if test $apr_addto_duplicate = "0"; then
+ test "x$silent" != "xyes" && echo " adding \"$i\" to INCLUDES"
+ INCLUDES="$INCLUDES $i"
+ fi
+ done
+ fi
+
+fi
+
if test "x$INCLUDES" = "x"; then
test "x$silent" != "xyes" && echo " setting INCLUDES to \"-I\$(top_srcdir)/$modpath_current\""
@@ -41313,9 +42043,10 @@ if test ${with_program_name+y}
then :
withval=$with_program_name;
progname="$withval"
-else $as_nop
-
- progname="httpd"
+else case e in #(
+ e)
+ progname="httpd" ;;
+esac
fi
@@ -41422,9 +42153,10 @@ if test "x$ac_cv_func_vsyslog" = xyes
then :
printf "%s\n" "#define HAVE_VSYSLOG 1" >>confdefs.h
-else $as_nop
-
- as_fn_error $? "cannot support syslog from suexec without vsyslog()" "$LINENO" 5
+else case e in #(
+ e)
+ as_fn_error $? "cannot support syslog from suexec without vsyslog()" "$LINENO" 5 ;;
+esac
fi
done
@@ -41522,11 +42254,12 @@ YES_IS_DEFINED
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "YES_IS_DEFINED" >/dev/null 2>&1
+ $EGREP_TRADITIONAL "YES_IS_DEFINED" >/dev/null 2>&1
then :
ac_cv_define_APR_HAVE_IPV6=yes
-else $as_nop
- ac_cv_define_APR_HAVE_IPV6=no
+else case e in #(
+ e) ac_cv_define_APR_HAVE_IPV6=no ;;
+esac
fi
rm -rf conftest*
@@ -41539,8 +42272,8 @@ then :
enableval=$enable_v4_mapped;
v4mapped=$enableval
-else $as_nop
-
+else case e in #(
+ e)
case $host in
*freebsd[1234].*)
v4mapped=yes
@@ -41555,7 +42288,8 @@ else $as_nop
if ap_mpm_is_enabled winnt; then
v4mapped=no
fi
-
+ ;;
+esac
fi
@@ -41586,6 +42320,9 @@ if test -d ./test/modules/http2; then
ac_config_files="$ac_config_files test/pyhttpd/config.ini"
+
+ APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES test/clients/Makefile"
+
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: " >&5
@@ -42125,8 +42862,8 @@ cat >confcache <<\_ACEOF
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# 'ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* 'ac_cv_foo' will be assigned the
# following values.
_ACEOF
@@ -42156,14 +42893,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
(set) 2>&1 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
+ # 'set' does not quote correctly, so add quotes: double-quote
# substitution turns \\\\ into \\, and sed turns \\ into \.
sed -n \
"s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
;; #(
*)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
+ # 'set' quotes correctly as required by POSIX, so do not add quotes.
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
@@ -42253,7 +42990,6 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
@@ -42262,12 +42998,13 @@ then :
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
-else $as_nop
- case `(set -o) 2>/dev/null` in #(
+else case e in #(
+ e) case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+esac ;;
esac
fi
@@ -42339,7 +43076,7 @@ IFS=$as_save_IFS
;;
esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
+# We did not find ourselves, most probably we were run as 'sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
@@ -42368,7 +43105,6 @@ as_fn_error ()
} # as_fn_error
-
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
@@ -42408,11 +43144,12 @@ then :
{
eval $1+=\$2
}'
-else $as_nop
- as_fn_append ()
+else case e in #(
+ e) as_fn_append ()
{
eval $1=\$$1\$2
- }
+ } ;;
+esac
fi # as_fn_append
# as_fn_arith ARG...
@@ -42426,11 +43163,12 @@ then :
{
as_val=$(( $* ))
}'
-else $as_nop
- as_fn_arith ()
+else case e in #(
+ e) as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
- }
+ } ;;
+esac
fi # as_fn_arith
@@ -42513,9 +43251,9 @@ if (echo >conf$$.file) 2>/dev/null; then
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
+ # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
+ # In both cases, we have to default to 'cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
@@ -42596,10 +43334,12 @@ as_test_x='test -x'
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+as_tr_sh="eval sed '$as_sed_sh'" # deprecated
exec 6>&1
@@ -42615,7 +43355,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# values after options handling.
ac_log="
This file was extended by $as_me, which was
-generated by GNU Autoconf 2.71. Invocation command line was
+generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
@@ -42647,7 +43387,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
+'$as_me' instantiates files and other configuration actions
from templates according to the current configuration. Unless the files
and actions are specified as TAGs, all are instantiated by default.
@@ -42683,10 +43423,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
config.status
-configured by $0, generated by GNU Autoconf 2.71,
+configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2023 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
@@ -42746,8 +43486,8 @@ do
ac_need_defaults=false;;
--he | --h)
# Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
+ as_fn_error $? "ambiguous option: '$1'
+Try '$0 --help' for more information.";;
--help | --hel | -h )
printf "%s\n" "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -42755,8 +43495,8 @@ Try \`$0 --help' for more information.";;
ac_cs_silent=: ;;
# This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
+ -*) as_fn_error $? "unrecognized option: '$1'
+Try '$0 --help' for more information." ;;
*) as_fn_append ac_config_targets " $1"
ac_need_defaults=false ;;
@@ -42840,7 +43580,7 @@ do
"build/config_vars.sh") CONFIG_FILES="$CONFIG_FILES build/config_vars.sh" ;;
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
esac
done
@@ -42860,7 +43600,7 @@ fi
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
+# after its creation but before its name has been assigned to '$tmp'.
$debug ||
{
tmp= ac_tmp=
@@ -42884,7 +43624,7 @@ ac_tmp=$tmp
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
+# This happens for instance with './config.status config.h'.
if test -n "$CONFIG_FILES"; then
@@ -43042,13 +43782,13 @@ fi # test -n "$CONFIG_FILES"
# Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
+# This happens for instance with './config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
BEGIN {
_ACEOF
-# Transform confdefs.h into an awk script `defines.awk', embedded as
+# Transform confdefs.h into an awk script 'defines.awk', embedded as
# here-document in config.status, that substitutes the proper values into
# config.h.in to produce config.h.
@@ -43158,7 +43898,7 @@ do
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
:[FH]-) ac_tag=-:-;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac
@@ -43180,19 +43920,19 @@ do
-) ac_f="$ac_tmp/stdin";;
*) # Look for the file first in the build tree, then in the source tree
# (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
+ # because $ac_f cannot contain ':'.
test -f "$ac_f" ||
case $ac_f in
[\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
esac
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
as_fn_append ac_file_inputs " '$ac_f'"
done
- # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # Let's still pretend it is 'configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
configure_input='Generated from '`
@@ -43316,7 +44056,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
esac
_ACEOF
-# Neutralize VPATH when `$srcdir' = `.'.
+# Neutralize VPATH when '$srcdir' = '.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -43345,9 +44085,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
"$ac_tmp/out"`; test -z "$ac_out"; } &&
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined. Please make sure it is defined" >&5
-printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$ac_tmp/stdin"