| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 5788 2015-04-05 18:07:10Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 9687 2020-10-31 12:59:54Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.7. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.35. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 593 |
|
# Identity of this package. |
| 594 |
|
PACKAGE_NAME='ircd-hybrid' |
| 595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 596 |
< |
PACKAGE_VERSION='8.2.7' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8.2.7' |
| 596 |
> |
PACKAGE_VERSION='8.2.35' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.35' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 648 |
|
LIBDIR |
| 649 |
|
SYSCONFDIR |
| 650 |
|
PREFIX |
| 651 |
– |
ENABLE_SSL_FALSE |
| 652 |
– |
ENABLE_SSL_TRUE |
| 651 |
|
LTDLOPEN |
| 652 |
|
LT_CONFIG_H |
| 653 |
|
CONVENIENCE_LTDL_FALSE |
| 709 |
|
AMDEPBACKSLASH |
| 710 |
|
AMDEP_FALSE |
| 711 |
|
AMDEP_TRUE |
| 714 |
– |
am__quote |
| 712 |
|
am__include |
| 713 |
|
DEPDIR |
| 714 |
|
OBJEXT |
| 767 |
|
docdir |
| 768 |
|
oldincludedir |
| 769 |
|
includedir |
| 770 |
+ |
runstatedir |
| 771 |
|
localstatedir |
| 772 |
|
sharedstatedir |
| 773 |
|
sysconfdir |
| 786 |
|
PACKAGE_TARNAME |
| 787 |
|
PACKAGE_NAME |
| 788 |
|
PATH_SEPARATOR |
| 789 |
< |
SHELL' |
| 789 |
> |
SHELL |
| 790 |
> |
am__quote' |
| 791 |
|
ac_subst_files='' |
| 792 |
|
ac_user_opts=' |
| 793 |
|
enable_option_checking |
| 813 |
|
enable_assert |
| 814 |
|
enable_debugging |
| 815 |
|
enable_warnings |
| 816 |
< |
enable_openssl |
| 817 |
< |
enable_libgeoip |
| 816 |
> |
enable_efence |
| 817 |
> |
with_tls |
| 818 |
|
' |
| 819 |
|
ac_precious_vars='build_alias |
| 820 |
|
host_alias |
| 866 |
|
sysconfdir='${prefix}/etc' |
| 867 |
|
sharedstatedir='${prefix}/com' |
| 868 |
|
localstatedir='${prefix}/var' |
| 869 |
+ |
runstatedir='${localstatedir}/run' |
| 870 |
|
includedir='${prefix}/include' |
| 871 |
|
oldincludedir='/usr/include' |
| 872 |
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 1119 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 1120 |
|
silent=yes ;; |
| 1121 |
|
|
| 1122 |
+ |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
| 1123 |
+ |
| --runstate | --runstat | --runsta | --runst | --runs \ |
| 1124 |
+ |
| --run | --ru | --r) |
| 1125 |
+ |
ac_prev=runstatedir ;; |
| 1126 |
+ |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| 1127 |
+ |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| 1128 |
+ |
| --run=* | --ru=* | --r=*) |
| 1129 |
+ |
runstatedir=$ac_optarg ;; |
| 1130 |
+ |
|
| 1131 |
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1132 |
|
ac_prev=sbindir ;; |
| 1133 |
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1265 |
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1266 |
|
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1267 |
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1268 |
< |
libdir localedir mandir |
| 1268 |
> |
libdir localedir mandir runstatedir |
| 1269 |
|
do |
| 1270 |
|
eval ac_val=\$$ac_var |
| 1271 |
|
# Remove trailing slashes. |
| 1378 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1379 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1380 |
|
cat <<_ACEOF |
| 1381 |
< |
\`configure' configures ircd-hybrid 8.2.7 to adapt to many kinds of systems. |
| 1381 |
> |
\`configure' configures ircd-hybrid 8.2.35 to adapt to many kinds of systems. |
| 1382 |
|
|
| 1383 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1384 |
|
|
| 1418 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1419 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1420 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1421 |
+ |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| 1422 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
| 1423 |
|
--includedir=DIR C header files [PREFIX/include] |
| 1424 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1449 |
|
|
| 1450 |
|
if test -n "$ac_init_help"; then |
| 1451 |
|
case $ac_init_help in |
| 1452 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.7:";; |
| 1452 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.35:";; |
| 1453 |
|
esac |
| 1454 |
|
cat <<\_ACEOF |
| 1455 |
|
|
| 1479 |
|
--enable-assert Enable assert() statements |
| 1480 |
|
--enable-debugging Enable debugging. |
| 1481 |
|
--enable-warnings Enable compiler warnings. |
| 1482 |
< |
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
| 1483 |
< |
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1474 |
< |
--disable-libgeoip Disable GeoIP support |
| 1482 |
> |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1483 |
> |
debugger library. |
| 1484 |
|
|
| 1485 |
|
Optional Packages: |
| 1486 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1496 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1497 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1498 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1499 |
+ |
--with-tls Enables TLS with specified library. Options: |
| 1500 |
+ |
'openssl', 'wolfssl', 'gnutls' or 'none' |
| 1501 |
|
|
| 1502 |
|
Some influential environment variables: |
| 1503 |
|
CC C compiler command |
| 1583 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1584 |
|
if $ac_init_version; then |
| 1585 |
|
cat <<\_ACEOF |
| 1586 |
< |
ircd-hybrid configure 8.2.7 |
| 1586 |
> |
ircd-hybrid configure 8.2.35 |
| 1587 |
|
generated by GNU Autoconf 2.69 |
| 1588 |
|
|
| 1589 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 2052 |
|
This file contains any messages produced by compilers while |
| 2053 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2054 |
|
|
| 2055 |
< |
It was created by ircd-hybrid $as_me 8.2.7, which was |
| 2055 |
> |
It was created by ircd-hybrid $as_me 8.2.35, which was |
| 2056 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2057 |
|
|
| 2058 |
|
$ $0 $@ |
| 2332 |
|
>$cache_file |
| 2333 |
|
fi |
| 2334 |
|
|
| 2324 |
– |
as_fn_append ac_func_list " strtok_r" |
| 2325 |
– |
as_fn_append ac_func_list " usleep" |
| 2335 |
|
as_fn_append ac_func_list " strlcat" |
| 2336 |
|
as_fn_append ac_func_list " strlcpy" |
| 2337 |
|
as_fn_append ac_header_list " crypt.h" |
| 2329 |
– |
as_fn_append ac_header_list " sys/resource.h" |
| 2338 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2339 |
|
as_fn_append ac_header_list " types.h" |
| 2340 |
|
as_fn_append ac_header_list " socket.h" |
| 2341 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2334 |
– |
as_fn_append ac_header_list " wait.h" |
| 2342 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2343 |
|
# value. |
| 2344 |
|
ac_cache_corrupted=false |
| 2407 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2408 |
|
|
| 2409 |
|
|
| 2410 |
< |
am__api_version='1.15' |
| 2410 |
> |
am__api_version='1.16' |
| 2411 |
|
|
| 2412 |
|
ac_aux_dir= |
| 2413 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2922 |
|
|
| 2923 |
|
# Define the identity of the package. |
| 2924 |
|
PACKAGE='ircd-hybrid' |
| 2925 |
< |
VERSION='8.2.7' |
| 2925 |
> |
VERSION='8.2.35' |
| 2926 |
|
|
| 2927 |
|
|
| 2928 |
|
cat >>confdefs.h <<_ACEOF |
| 2952 |
|
|
| 2953 |
|
# For better backward compatibility. To be removed once Automake 1.9.x |
| 2954 |
|
# dies out for good. For more background, see: |
| 2955 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2956 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2955 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2956 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2957 |
|
mkdir_p='$(MKDIR_P)' |
| 2958 |
|
|
| 2959 |
|
# We need awk for the "check" target (and possibly the TAP driver). The |
| 3004 |
|
Aborting the configuration process, to ensure you take notice of the issue. |
| 3005 |
|
|
| 3006 |
|
You can download and install GNU coreutils to get an 'rm' implementation |
| 3007 |
< |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3007 |
> |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 3008 |
|
|
| 3009 |
|
If you want to complete the configuration process using your problematic |
| 3010 |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3048 |
|
|
| 3049 |
|
ac_config_commands="$ac_config_commands depfiles" |
| 3050 |
|
|
| 3051 |
< |
|
| 3052 |
< |
am_make=${MAKE-make} |
| 3053 |
< |
cat > confinc << 'END' |
| 3051 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 3052 |
> |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 3053 |
> |
cat > confinc.mk << 'END' |
| 3054 |
|
am__doit: |
| 3055 |
< |
@echo this is the am__doit target |
| 3055 |
> |
@echo this is the am__doit target >confinc.out |
| 3056 |
|
.PHONY: am__doit |
| 3057 |
|
END |
| 3051 |
– |
# If we don't find an include directive, just comment out the code. |
| 3052 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3053 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3058 |
|
am__include="#" |
| 3059 |
|
am__quote= |
| 3060 |
< |
_am_result=none |
| 3061 |
< |
# First try GNU make style include. |
| 3062 |
< |
echo "include confinc" > confmf |
| 3063 |
< |
# Ignore all kinds of additional output from 'make'. |
| 3064 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3065 |
< |
*the\ am__doit\ target*) |
| 3066 |
< |
am__include=include |
| 3067 |
< |
am__quote= |
| 3068 |
< |
_am_result=GNU |
| 3069 |
< |
;; |
| 3070 |
< |
esac |
| 3071 |
< |
# Now try BSD make style include. |
| 3072 |
< |
if test "$am__include" = "#"; then |
| 3073 |
< |
echo '.include "confinc"' > confmf |
| 3074 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3075 |
< |
*the\ am__doit\ target*) |
| 3076 |
< |
am__include=.include |
| 3077 |
< |
am__quote="\"" |
| 3078 |
< |
_am_result=BSD |
| 3060 |
> |
# BSD make does it like this. |
| 3061 |
> |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 3062 |
> |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 3063 |
> |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 3064 |
> |
_am_result=no |
| 3065 |
> |
for s in GNU BSD; do |
| 3066 |
> |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 3067 |
> |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 3068 |
> |
ac_status=$? |
| 3069 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3070 |
> |
(exit $ac_status); } |
| 3071 |
> |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 3072 |
> |
'0:this is the am__doit target') : |
| 3073 |
> |
case $s in #( |
| 3074 |
> |
BSD) : |
| 3075 |
> |
am__include='.include' am__quote='"' ;; #( |
| 3076 |
> |
*) : |
| 3077 |
> |
am__include='include' am__quote='' ;; |
| 3078 |
> |
esac ;; #( |
| 3079 |
> |
*) : |
| 3080 |
|
;; |
| 3081 |
< |
esac |
| 3082 |
< |
fi |
| 3083 |
< |
|
| 3084 |
< |
|
| 3085 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3086 |
< |
$as_echo "$_am_result" >&6; } |
| 3087 |
< |
rm -f confinc confmf |
| 3081 |
> |
esac |
| 3082 |
> |
if test "$am__include" != "#"; then |
| 3083 |
> |
_am_result="yes ($s style)" |
| 3084 |
> |
break |
| 3085 |
> |
fi |
| 3086 |
> |
done |
| 3087 |
> |
rm -f confinc.* confmf.* |
| 3088 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 3089 |
> |
$as_echo "${_am_result}" >&6; } |
| 3090 |
|
|
| 3091 |
|
# Check whether --enable-dependency-tracking was given. |
| 3092 |
|
if test "${enable_dependency_tracking+set}" = set; then : |
| 5788 |
|
lt_cv_deplibs_check_method=pass_all |
| 5789 |
|
;; |
| 5790 |
|
|
| 5791 |
< |
netbsd*) |
| 5791 |
> |
netbsd* | netbsdelf*-gnu) |
| 5792 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 5793 |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 5794 |
|
else |
| 6651 |
|
test $ac_status = 0; }; then |
| 6652 |
|
# Now try to grab the symbols. |
| 6653 |
|
nlist=conftest.nm |
| 6654 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
| 6655 |
< |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
| 6649 |
< |
ac_status=$? |
| 6650 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6651 |
< |
test $ac_status = 0; } && test -s "$nlist"; then |
| 6654 |
> |
$ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
| 6655 |
> |
if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then |
| 6656 |
|
# Try sorting and uniquifying the output. |
| 6657 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
| 6658 |
|
mv -f "$nlist"T "$nlist" |
| 8999 |
|
lt_prog_compiler_pic='-KPIC' |
| 9000 |
|
lt_prog_compiler_static='-static' |
| 9001 |
|
;; |
| 9002 |
+ |
# flang / f18. f95 an alias for gfortran or flang on Debian |
| 9003 |
+ |
flang* | f18* | f95*) |
| 9004 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 9005 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 9006 |
+ |
lt_prog_compiler_static='-static' |
| 9007 |
+ |
;; |
| 9008 |
|
# icc used to be incompatible with GCC. |
| 9009 |
|
# ICC 10 doesn't accept -KPIC any more. |
| 9010 |
|
icc* | ifort*) |
| 9481 |
|
openbsd* | bitrig*) |
| 9482 |
|
with_gnu_ld=no |
| 9483 |
|
;; |
| 9484 |
+ |
linux* | k*bsd*-gnu | gnu*) |
| 9485 |
+ |
link_all_deplibs=no |
| 9486 |
+ |
;; |
| 9487 |
|
esac |
| 9488 |
|
|
| 9489 |
|
ld_shlibs=yes |
| 9738 |
|
fi |
| 9739 |
|
;; |
| 9740 |
|
|
| 9741 |
< |
netbsd*) |
| 9741 |
> |
netbsd* | netbsdelf*-gnu) |
| 9742 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 9743 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 9744 |
|
wlarc= |
| 10408 |
|
if test yes = "$lt_cv_irix_exported_symbol"; then |
| 10409 |
|
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' |
| 10410 |
|
fi |
| 10411 |
+ |
link_all_deplibs=no |
| 10412 |
|
else |
| 10413 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 10414 |
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' |
| 10430 |
|
esac |
| 10431 |
|
;; |
| 10432 |
|
|
| 10433 |
< |
netbsd*) |
| 10433 |
> |
netbsd* | netbsdelf*-gnu) |
| 10434 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 10435 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 10436 |
|
else |
| 11545 |
|
dynamic_linker='GNU/Linux ld.so' |
| 11546 |
|
;; |
| 11547 |
|
|
| 11548 |
+ |
netbsdelf*-gnu) |
| 11549 |
+ |
version_type=linux |
| 11550 |
+ |
need_lib_prefix=no |
| 11551 |
+ |
need_version=no |
| 11552 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 11553 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11554 |
+ |
shlibpath_var=LD_LIBRARY_PATH |
| 11555 |
+ |
shlibpath_overrides_runpath=no |
| 11556 |
+ |
hardcode_into_libs=yes |
| 11557 |
+ |
dynamic_linker='NetBSD ld.elf_so' |
| 11558 |
+ |
;; |
| 11559 |
+ |
|
| 11560 |
|
netbsd*) |
| 11561 |
|
version_type=sunos |
| 11562 |
|
need_lib_prefix=no |
| 13179 |
|
# at 6.2 and later dlopen does load deplibs. |
| 13180 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 13181 |
|
;; |
| 13182 |
< |
netbsd*) |
| 13182 |
> |
netbsd* | netbsdelf*-gnu) |
| 13183 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 13184 |
|
;; |
| 13185 |
|
openbsd*) |
| 13644 |
|
|
| 13645 |
|
|
| 13646 |
|
if test "X$CC" != "X"; then |
| 13647 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 13648 |
< |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 13647 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
| 13648 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
| 13649 |
|
if ${ssp_cv_cc+:} false; then : |
| 13650 |
|
$as_echo_n "(cached) " >&6 |
| 13651 |
|
else |
| 13652 |
|
ssp_old_cflags="$CFLAGS" |
| 13653 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
| 13653 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 13654 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13655 |
|
/* end confdefs.h. */ |
| 13656 |
|
|
| 13674 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 13675 |
|
$as_echo "$ssp_cv_cc" >&6; } |
| 13676 |
|
if test $ssp_cv_cc = yes; then |
| 13677 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
| 13677 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 13678 |
> |
|
| 13679 |
> |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 13680 |
> |
|
| 13681 |
> |
else |
| 13682 |
> |
unset ssp_cv_cc |
| 13683 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 13684 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 13685 |
> |
if ${ssp_cv_cc+:} false; then : |
| 13686 |
> |
$as_echo_n "(cached) " >&6 |
| 13687 |
> |
else |
| 13688 |
> |
ssp_old_cflags="$CFLAGS" |
| 13689 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
| 13690 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13691 |
> |
/* end confdefs.h. */ |
| 13692 |
> |
|
| 13693 |
> |
int |
| 13694 |
> |
main () |
| 13695 |
> |
{ |
| 13696 |
> |
|
| 13697 |
> |
; |
| 13698 |
> |
return 0; |
| 13699 |
> |
} |
| 13700 |
> |
_ACEOF |
| 13701 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13702 |
> |
ssp_cv_cc=yes |
| 13703 |
> |
else |
| 13704 |
> |
ssp_cv_cc=no |
| 13705 |
> |
fi |
| 13706 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13707 |
> |
CFLAGS="$ssp_old_cflags" |
| 13708 |
> |
|
| 13709 |
> |
fi |
| 13710 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 13711 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
| 13712 |
> |
if test $ssp_cv_cc = yes; then |
| 13713 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
| 13714 |
|
|
| 13715 |
|
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 13716 |
|
|
| 13717 |
+ |
fi |
| 13718 |
|
fi |
| 13719 |
|
fi |
| 13720 |
|
|
| 13754 |
|
fi |
| 13755 |
|
|
| 13756 |
|
|
| 13694 |
– |
|
| 13695 |
– |
|
| 13696 |
– |
|
| 13697 |
– |
|
| 13698 |
– |
for flag in -fno-strict-aliasing; do |
| 13699 |
– |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13700 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13701 |
– |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13702 |
– |
if eval \${$as_CACHEVAR+:} false; then : |
| 13703 |
– |
$as_echo_n "(cached) " >&6 |
| 13704 |
– |
else |
| 13705 |
– |
|
| 13706 |
– |
ax_check_save_flags=$CFLAGS |
| 13707 |
– |
CFLAGS="$CFLAGS $flag" |
| 13708 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13709 |
– |
/* end confdefs.h. */ |
| 13710 |
– |
|
| 13711 |
– |
int |
| 13712 |
– |
main () |
| 13713 |
– |
{ |
| 13714 |
– |
|
| 13715 |
– |
; |
| 13716 |
– |
return 0; |
| 13717 |
– |
} |
| 13718 |
– |
_ACEOF |
| 13719 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13720 |
– |
eval "$as_CACHEVAR=yes" |
| 13721 |
– |
else |
| 13722 |
– |
eval "$as_CACHEVAR=no" |
| 13723 |
– |
fi |
| 13724 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13725 |
– |
CFLAGS=$ax_check_save_flags |
| 13726 |
– |
fi |
| 13727 |
– |
eval ac_res=\$$as_CACHEVAR |
| 13728 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13729 |
– |
$as_echo "$ac_res" >&6; } |
| 13730 |
– |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 13731 |
– |
if ${CFLAGS+:} false; then : |
| 13732 |
– |
case " $CFLAGS " in |
| 13733 |
– |
*" $flag "*) |
| 13734 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13735 |
– |
(: CFLAGS already contains $flag) 2>&5 |
| 13736 |
– |
ac_status=$? |
| 13737 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13738 |
– |
test $ac_status = 0; } |
| 13739 |
– |
;; |
| 13740 |
– |
*) |
| 13741 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 13742 |
– |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 13743 |
– |
ac_status=$? |
| 13744 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13745 |
– |
test $ac_status = 0; } |
| 13746 |
– |
CFLAGS="$CFLAGS $flag" |
| 13747 |
– |
;; |
| 13748 |
– |
esac |
| 13749 |
– |
else |
| 13750 |
– |
CFLAGS="$flag" |
| 13751 |
– |
fi |
| 13752 |
– |
|
| 13753 |
– |
else |
| 13754 |
– |
: |
| 13755 |
– |
fi |
| 13756 |
– |
|
| 13757 |
– |
done |
| 13758 |
– |
|
| 13759 |
– |
|
| 13757 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13758 |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13759 |
|
|
| 14186 |
|
|
| 14187 |
|
|
| 14188 |
|
|
| 14192 |
– |
|
| 14193 |
– |
|
| 14194 |
– |
|
| 14195 |
– |
|
| 14189 |
|
# Checks for header files. |
| 14190 |
|
|
| 14191 |
|
|
| 14216 |
|
|
| 14217 |
|
|
| 14218 |
|
|
| 14226 |
– |
|
| 14227 |
– |
|
| 14228 |
– |
|
| 14229 |
– |
|
| 14219 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 14220 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 14221 |
|
if ${ac_cv_search_crypt+:} false; then : |
| 14273 |
|
fi |
| 14274 |
|
|
| 14275 |
|
|
| 14287 |
– |
|
| 14288 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14289 |
– |
|
| 14290 |
– |
|
| 14291 |
– |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14292 |
– |
|
| 14293 |
– |
|
| 14294 |
– |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14295 |
– |
|
| 14296 |
– |
|
| 14297 |
– |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14298 |
– |
|
| 14299 |
– |
|
| 14300 |
– |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14301 |
– |
|
| 14302 |
– |
|
| 14303 |
– |
$as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h |
| 14304 |
– |
|
| 14305 |
– |
|
| 14306 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14307 |
– |
|
| 14308 |
– |
|
| 14309 |
– |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14310 |
– |
|
| 14311 |
– |
|
| 14312 |
– |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14313 |
– |
|
| 14314 |
– |
|
| 14315 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14316 |
– |
|
| 14317 |
– |
|
| 14318 |
– |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14319 |
– |
|
| 14320 |
– |
|
| 14321 |
– |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14322 |
– |
|
| 14323 |
– |
|
| 14324 |
– |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14325 |
– |
|
| 14326 |
– |
|
| 14327 |
– |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14328 |
– |
|
| 14329 |
– |
|
| 14276 |
|
# Argument processing. |
| 14277 |
|
|
| 14278 |
|
desired_iopoll_mechanism="none" |
| 14375 |
|
int |
| 14376 |
|
main () |
| 14377 |
|
{ |
| 14378 |
< |
epoll_create(256); |
| 14378 |
> |
epoll_create1(EPOLL_CLOEXEC); |
| 14379 |
|
; |
| 14380 |
|
return 0; |
| 14381 |
|
} |
| 14556 |
|
debugging="no" |
| 14557 |
|
fi |
| 14558 |
|
|
| 14559 |
< |
if test "$debugging" = "yes" ; then |
| 14559 |
> |
|
| 14560 |
> |
if test "$debugging" = "yes"; then : |
| 14561 |
> |
|
| 14562 |
|
CFLAGS="-Wall -g -O0" |
| 14563 |
< |
fi |
| 14563 |
> |
|
| 14564 |
> |
fi |
| 14565 |
|
|
| 14566 |
|
|
| 14567 |
|
# Check whether --enable-warnings was given. |
| 14572 |
|
fi |
| 14573 |
|
|
| 14574 |
|
|
| 14575 |
< |
if test "$warnings" = "yes" ; then |
| 14575 |
> |
if test "$warnings" = "yes"; then : |
| 14576 |
> |
|
| 14577 |
|
|
| 14578 |
|
|
| 14579 |
|
|
| 14610 |
|
eval ac_res=\$$as_CACHEVAR |
| 14611 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14612 |
|
$as_echo "$ac_res" >&6; } |
| 14613 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14614 |
< |
if ${CFLAGS+:} false; then : |
| 14615 |
< |
case " $CFLAGS " in |
| 14616 |
< |
*" $flag "*) |
| 14617 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14613 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14614 |
> |
|
| 14615 |
> |
if ${CFLAGS+:} false; then : |
| 14616 |
> |
|
| 14617 |
> |
case " $CFLAGS " in #( |
| 14618 |
> |
*" $flag "*) : |
| 14619 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14620 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14621 |
|
ac_status=$? |
| 14622 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14623 |
< |
test $ac_status = 0; } |
| 14624 |
< |
;; |
| 14625 |
< |
*) |
| 14626 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14627 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14623 |
> |
test $ac_status = 0; } ;; #( |
| 14624 |
> |
*) : |
| 14625 |
> |
|
| 14626 |
> |
as_fn_append CFLAGS " $flag" |
| 14627 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14628 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14629 |
|
ac_status=$? |
| 14630 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14631 |
|
test $ac_status = 0; } |
| 14632 |
< |
CFLAGS="$CFLAGS $flag" |
| 14633 |
< |
;; |
| 14634 |
< |
esac |
| 14632 |
> |
;; |
| 14633 |
> |
esac |
| 14634 |
> |
|
| 14635 |
|
else |
| 14636 |
< |
CFLAGS="$flag" |
| 14636 |
> |
|
| 14637 |
> |
CFLAGS=$flag |
| 14638 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14639 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14640 |
> |
ac_status=$? |
| 14641 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14642 |
> |
test $ac_status = 0; } |
| 14643 |
> |
|
| 14644 |
|
fi |
| 14645 |
|
|
| 14646 |
|
else |
| 14685 |
|
eval ac_res=\$$as_CACHEVAR |
| 14686 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14687 |
|
$as_echo "$ac_res" >&6; } |
| 14688 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14689 |
< |
if ${CFLAGS+:} false; then : |
| 14690 |
< |
case " $CFLAGS " in |
| 14691 |
< |
*" $flag "*) |
| 14692 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14688 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14689 |
> |
|
| 14690 |
> |
if ${CFLAGS+:} false; then : |
| 14691 |
> |
|
| 14692 |
> |
case " $CFLAGS " in #( |
| 14693 |
> |
*" $flag "*) : |
| 14694 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14695 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14696 |
|
ac_status=$? |
| 14697 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14698 |
< |
test $ac_status = 0; } |
| 14699 |
< |
;; |
| 14700 |
< |
*) |
| 14701 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14702 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14698 |
> |
test $ac_status = 0; } ;; #( |
| 14699 |
> |
*) : |
| 14700 |
> |
|
| 14701 |
> |
as_fn_append CFLAGS " $flag" |
| 14702 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14703 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14704 |
|
ac_status=$? |
| 14705 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14706 |
|
test $ac_status = 0; } |
| 14707 |
< |
CFLAGS="$CFLAGS $flag" |
| 14708 |
< |
;; |
| 14709 |
< |
esac |
| 14707 |
> |
;; |
| 14708 |
> |
esac |
| 14709 |
> |
|
| 14710 |
|
else |
| 14711 |
< |
CFLAGS="$flag" |
| 14711 |
> |
|
| 14712 |
> |
CFLAGS=$flag |
| 14713 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14714 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14715 |
> |
ac_status=$? |
| 14716 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14717 |
> |
test $ac_status = 0; } |
| 14718 |
> |
|
| 14719 |
|
fi |
| 14720 |
|
|
| 14721 |
|
else |
| 14760 |
|
eval ac_res=\$$as_CACHEVAR |
| 14761 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14762 |
|
$as_echo "$ac_res" >&6; } |
| 14763 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14764 |
< |
if ${CFLAGS+:} false; then : |
| 14765 |
< |
case " $CFLAGS " in |
| 14766 |
< |
*" $flag "*) |
| 14767 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14763 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14764 |
> |
|
| 14765 |
> |
if ${CFLAGS+:} false; then : |
| 14766 |
> |
|
| 14767 |
> |
case " $CFLAGS " in #( |
| 14768 |
> |
*" $flag "*) : |
| 14769 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14770 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14771 |
|
ac_status=$? |
| 14772 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14773 |
+ |
test $ac_status = 0; } ;; #( |
| 14774 |
+ |
*) : |
| 14775 |
+ |
|
| 14776 |
+ |
as_fn_append CFLAGS " $flag" |
| 14777 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14778 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14779 |
+ |
ac_status=$? |
| 14780 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14781 |
|
test $ac_status = 0; } |
| 14782 |
< |
;; |
| 14783 |
< |
*) |
| 14784 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14785 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14782 |
> |
;; |
| 14783 |
> |
esac |
| 14784 |
> |
|
| 14785 |
> |
else |
| 14786 |
> |
|
| 14787 |
> |
CFLAGS=$flag |
| 14788 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14789 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14790 |
|
ac_status=$? |
| 14791 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14792 |
|
test $ac_status = 0; } |
| 14793 |
< |
CFLAGS="$CFLAGS $flag" |
| 14794 |
< |
;; |
| 14795 |
< |
esac |
| 14793 |
> |
|
| 14794 |
> |
fi |
| 14795 |
> |
|
| 14796 |
> |
else |
| 14797 |
> |
: |
| 14798 |
> |
fi |
| 14799 |
> |
|
| 14800 |
> |
done |
| 14801 |
> |
|
| 14802 |
> |
|
| 14803 |
> |
|
| 14804 |
> |
|
| 14805 |
> |
|
| 14806 |
> |
for flag in -Wcast-function-type; do |
| 14807 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14808 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14809 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14810 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14811 |
> |
$as_echo_n "(cached) " >&6 |
| 14812 |
> |
else |
| 14813 |
> |
|
| 14814 |
> |
ax_check_save_flags=$CFLAGS |
| 14815 |
> |
CFLAGS="$CFLAGS $flag" |
| 14816 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14817 |
> |
/* end confdefs.h. */ |
| 14818 |
> |
|
| 14819 |
> |
int |
| 14820 |
> |
main () |
| 14821 |
> |
{ |
| 14822 |
> |
|
| 14823 |
> |
; |
| 14824 |
> |
return 0; |
| 14825 |
> |
} |
| 14826 |
> |
_ACEOF |
| 14827 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14828 |
> |
eval "$as_CACHEVAR=yes" |
| 14829 |
> |
else |
| 14830 |
> |
eval "$as_CACHEVAR=no" |
| 14831 |
> |
fi |
| 14832 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14833 |
> |
CFLAGS=$ax_check_save_flags |
| 14834 |
> |
fi |
| 14835 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14836 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14837 |
> |
$as_echo "$ac_res" >&6; } |
| 14838 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14839 |
> |
|
| 14840 |
> |
if ${CFLAGS+:} false; then : |
| 14841 |
> |
|
| 14842 |
> |
case " $CFLAGS " in #( |
| 14843 |
> |
*" $flag "*) : |
| 14844 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14845 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14846 |
> |
ac_status=$? |
| 14847 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14848 |
> |
test $ac_status = 0; } ;; #( |
| 14849 |
> |
*) : |
| 14850 |
> |
|
| 14851 |
> |
as_fn_append CFLAGS " $flag" |
| 14852 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14853 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14854 |
> |
ac_status=$? |
| 14855 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14856 |
> |
test $ac_status = 0; } |
| 14857 |
> |
;; |
| 14858 |
> |
esac |
| 14859 |
> |
|
| 14860 |
|
else |
| 14861 |
< |
CFLAGS="$flag" |
| 14861 |
> |
|
| 14862 |
> |
CFLAGS=$flag |
| 14863 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14864 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14865 |
> |
ac_status=$? |
| 14866 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14867 |
> |
test $ac_status = 0; } |
| 14868 |
> |
|
| 14869 |
|
fi |
| 14870 |
|
|
| 14871 |
|
else |
| 14910 |
|
eval ac_res=\$$as_CACHEVAR |
| 14911 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14912 |
|
$as_echo "$ac_res" >&6; } |
| 14913 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14914 |
< |
if ${CFLAGS+:} false; then : |
| 14915 |
< |
case " $CFLAGS " in |
| 14916 |
< |
*" $flag "*) |
| 14917 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14913 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14914 |
> |
|
| 14915 |
> |
if ${CFLAGS+:} false; then : |
| 14916 |
> |
|
| 14917 |
> |
case " $CFLAGS " in #( |
| 14918 |
> |
*" $flag "*) : |
| 14919 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14920 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14921 |
|
ac_status=$? |
| 14922 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14923 |
< |
test $ac_status = 0; } |
| 14924 |
< |
;; |
| 14925 |
< |
*) |
| 14926 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14927 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14923 |
> |
test $ac_status = 0; } ;; #( |
| 14924 |
> |
*) : |
| 14925 |
> |
|
| 14926 |
> |
as_fn_append CFLAGS " $flag" |
| 14927 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14928 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14929 |
|
ac_status=$? |
| 14930 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14931 |
|
test $ac_status = 0; } |
| 14932 |
< |
CFLAGS="$CFLAGS $flag" |
| 14933 |
< |
;; |
| 14934 |
< |
esac |
| 14932 |
> |
;; |
| 14933 |
> |
esac |
| 14934 |
> |
|
| 14935 |
|
else |
| 14936 |
< |
CFLAGS="$flag" |
| 14936 |
> |
|
| 14937 |
> |
CFLAGS=$flag |
| 14938 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14939 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14940 |
> |
ac_status=$? |
| 14941 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14942 |
> |
test $ac_status = 0; } |
| 14943 |
> |
|
| 14944 |
|
fi |
| 14945 |
|
|
| 14946 |
|
else |
| 14985 |
|
eval ac_res=\$$as_CACHEVAR |
| 14986 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14987 |
|
$as_echo "$ac_res" >&6; } |
| 14988 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14989 |
< |
if ${CFLAGS+:} false; then : |
| 14990 |
< |
case " $CFLAGS " in |
| 14991 |
< |
*" $flag "*) |
| 14992 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14988 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14989 |
> |
|
| 14990 |
> |
if ${CFLAGS+:} false; then : |
| 14991 |
> |
|
| 14992 |
> |
case " $CFLAGS " in #( |
| 14993 |
> |
*" $flag "*) : |
| 14994 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14995 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14996 |
|
ac_status=$? |
| 14997 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14998 |
+ |
test $ac_status = 0; } ;; #( |
| 14999 |
+ |
*) : |
| 15000 |
+ |
|
| 15001 |
+ |
as_fn_append CFLAGS " $flag" |
| 15002 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15003 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15004 |
+ |
ac_status=$? |
| 15005 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15006 |
|
test $ac_status = 0; } |
| 15007 |
< |
;; |
| 15008 |
< |
*) |
| 15009 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15010 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15007 |
> |
;; |
| 15008 |
> |
esac |
| 15009 |
> |
|
| 15010 |
> |
else |
| 15011 |
> |
|
| 15012 |
> |
CFLAGS=$flag |
| 15013 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15014 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15015 |
|
ac_status=$? |
| 15016 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15017 |
|
test $ac_status = 0; } |
| 15018 |
< |
CFLAGS="$CFLAGS $flag" |
| 15019 |
< |
;; |
| 15020 |
< |
esac |
| 15018 |
> |
|
| 15019 |
> |
fi |
| 15020 |
> |
|
| 15021 |
|
else |
| 15022 |
< |
CFLAGS="$flag" |
| 15022 |
> |
: |
| 15023 |
> |
fi |
| 15024 |
> |
|
| 15025 |
> |
done |
| 15026 |
> |
|
| 15027 |
> |
|
| 15028 |
> |
|
| 15029 |
> |
|
| 15030 |
> |
|
| 15031 |
> |
for flag in -Wduplicated-cond; do |
| 15032 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15033 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15034 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15035 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15036 |
> |
$as_echo_n "(cached) " >&6 |
| 15037 |
> |
else |
| 15038 |
> |
|
| 15039 |
> |
ax_check_save_flags=$CFLAGS |
| 15040 |
> |
CFLAGS="$CFLAGS $flag" |
| 15041 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15042 |
> |
/* end confdefs.h. */ |
| 15043 |
> |
|
| 15044 |
> |
int |
| 15045 |
> |
main () |
| 15046 |
> |
{ |
| 15047 |
> |
|
| 15048 |
> |
; |
| 15049 |
> |
return 0; |
| 15050 |
> |
} |
| 15051 |
> |
_ACEOF |
| 15052 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15053 |
> |
eval "$as_CACHEVAR=yes" |
| 15054 |
> |
else |
| 15055 |
> |
eval "$as_CACHEVAR=no" |
| 15056 |
> |
fi |
| 15057 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15058 |
> |
CFLAGS=$ax_check_save_flags |
| 15059 |
> |
fi |
| 15060 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15061 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15062 |
> |
$as_echo "$ac_res" >&6; } |
| 15063 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15064 |
> |
|
| 15065 |
> |
if ${CFLAGS+:} false; then : |
| 15066 |
> |
|
| 15067 |
> |
case " $CFLAGS " in #( |
| 15068 |
> |
*" $flag "*) : |
| 15069 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15070 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15071 |
> |
ac_status=$? |
| 15072 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15073 |
> |
test $ac_status = 0; } ;; #( |
| 15074 |
> |
*) : |
| 15075 |
> |
|
| 15076 |
> |
as_fn_append CFLAGS " $flag" |
| 15077 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15078 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15079 |
> |
ac_status=$? |
| 15080 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15081 |
> |
test $ac_status = 0; } |
| 15082 |
> |
;; |
| 15083 |
> |
esac |
| 15084 |
> |
|
| 15085 |
> |
else |
| 15086 |
> |
|
| 15087 |
> |
CFLAGS=$flag |
| 15088 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15089 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15090 |
> |
ac_status=$? |
| 15091 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15092 |
> |
test $ac_status = 0; } |
| 15093 |
> |
|
| 15094 |
|
fi |
| 15095 |
|
|
| 15096 |
|
else |
| 15135 |
|
eval ac_res=\$$as_CACHEVAR |
| 15136 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15137 |
|
$as_echo "$ac_res" >&6; } |
| 15138 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15139 |
< |
if ${CFLAGS+:} false; then : |
| 15140 |
< |
case " $CFLAGS " in |
| 15141 |
< |
*" $flag "*) |
| 15142 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15138 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15139 |
> |
|
| 15140 |
> |
if ${CFLAGS+:} false; then : |
| 15141 |
> |
|
| 15142 |
> |
case " $CFLAGS " in #( |
| 15143 |
> |
*" $flag "*) : |
| 15144 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15145 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15146 |
|
ac_status=$? |
| 15147 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15148 |
< |
test $ac_status = 0; } |
| 15149 |
< |
;; |
| 15150 |
< |
*) |
| 15151 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15152 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15148 |
> |
test $ac_status = 0; } ;; #( |
| 15149 |
> |
*) : |
| 15150 |
> |
|
| 15151 |
> |
as_fn_append CFLAGS " $flag" |
| 15152 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15153 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15154 |
|
ac_status=$? |
| 15155 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15156 |
|
test $ac_status = 0; } |
| 15157 |
< |
CFLAGS="$CFLAGS $flag" |
| 15158 |
< |
;; |
| 15159 |
< |
esac |
| 15157 |
> |
;; |
| 15158 |
> |
esac |
| 15159 |
> |
|
| 15160 |
|
else |
| 15161 |
< |
CFLAGS="$flag" |
| 15161 |
> |
|
| 15162 |
> |
CFLAGS=$flag |
| 15163 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15164 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15165 |
> |
ac_status=$? |
| 15166 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15167 |
> |
test $ac_status = 0; } |
| 15168 |
> |
|
| 15169 |
|
fi |
| 15170 |
|
|
| 15171 |
|
else |
| 15210 |
|
eval ac_res=\$$as_CACHEVAR |
| 15211 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15212 |
|
$as_echo "$ac_res" >&6; } |
| 15213 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15214 |
< |
if ${CFLAGS+:} false; then : |
| 15215 |
< |
case " $CFLAGS " in |
| 15216 |
< |
*" $flag "*) |
| 15217 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15213 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15214 |
> |
|
| 15215 |
> |
if ${CFLAGS+:} false; then : |
| 15216 |
> |
|
| 15217 |
> |
case " $CFLAGS " in #( |
| 15218 |
> |
*" $flag "*) : |
| 15219 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15220 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15221 |
|
ac_status=$? |
| 15222 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15223 |
< |
test $ac_status = 0; } |
| 15224 |
< |
;; |
| 15225 |
< |
*) |
| 15226 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15227 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15223 |
> |
test $ac_status = 0; } ;; #( |
| 15224 |
> |
*) : |
| 15225 |
> |
|
| 15226 |
> |
as_fn_append CFLAGS " $flag" |
| 15227 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15228 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15229 |
|
ac_status=$? |
| 15230 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15231 |
|
test $ac_status = 0; } |
| 15232 |
< |
CFLAGS="$CFLAGS $flag" |
| 15233 |
< |
;; |
| 15234 |
< |
esac |
| 15232 |
> |
;; |
| 15233 |
> |
esac |
| 15234 |
> |
|
| 15235 |
|
else |
| 15236 |
< |
CFLAGS="$flag" |
| 15236 |
> |
|
| 15237 |
> |
CFLAGS=$flag |
| 15238 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15239 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15240 |
> |
ac_status=$? |
| 15241 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15242 |
> |
test $ac_status = 0; } |
| 15243 |
> |
|
| 15244 |
|
fi |
| 15245 |
|
|
| 15246 |
|
else |
| 15285 |
|
eval ac_res=\$$as_CACHEVAR |
| 15286 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15287 |
|
$as_echo "$ac_res" >&6; } |
| 15288 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15289 |
< |
if ${CFLAGS+:} false; then : |
| 15290 |
< |
case " $CFLAGS " in |
| 15291 |
< |
*" $flag "*) |
| 15292 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15288 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15289 |
> |
|
| 15290 |
> |
if ${CFLAGS+:} false; then : |
| 15291 |
> |
|
| 15292 |
> |
case " $CFLAGS " in #( |
| 15293 |
> |
*" $flag "*) : |
| 15294 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15295 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15296 |
|
ac_status=$? |
| 15297 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15298 |
< |
test $ac_status = 0; } |
| 15299 |
< |
;; |
| 15300 |
< |
*) |
| 15301 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15302 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15298 |
> |
test $ac_status = 0; } ;; #( |
| 15299 |
> |
*) : |
| 15300 |
> |
|
| 15301 |
> |
as_fn_append CFLAGS " $flag" |
| 15302 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15303 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15304 |
|
ac_status=$? |
| 15305 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15306 |
|
test $ac_status = 0; } |
| 15307 |
< |
CFLAGS="$CFLAGS $flag" |
| 15308 |
< |
;; |
| 15309 |
< |
esac |
| 15307 |
> |
;; |
| 15308 |
> |
esac |
| 15309 |
> |
|
| 15310 |
|
else |
| 15311 |
< |
CFLAGS="$flag" |
| 15311 |
> |
|
| 15312 |
> |
CFLAGS=$flag |
| 15313 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15314 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15315 |
> |
ac_status=$? |
| 15316 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15317 |
> |
test $ac_status = 0; } |
| 15318 |
> |
|
| 15319 |
|
fi |
| 15320 |
|
|
| 15321 |
|
else |
| 15360 |
|
eval ac_res=\$$as_CACHEVAR |
| 15361 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15362 |
|
$as_echo "$ac_res" >&6; } |
| 15363 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15364 |
< |
if ${CFLAGS+:} false; then : |
| 15365 |
< |
case " $CFLAGS " in |
| 15366 |
< |
*" $flag "*) |
| 15367 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15363 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15364 |
> |
|
| 15365 |
> |
if ${CFLAGS+:} false; then : |
| 15366 |
> |
|
| 15367 |
> |
case " $CFLAGS " in #( |
| 15368 |
> |
*" $flag "*) : |
| 15369 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15370 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15371 |
|
ac_status=$? |
| 15372 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15373 |
< |
test $ac_status = 0; } |
| 15374 |
< |
;; |
| 15375 |
< |
*) |
| 15376 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15377 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15373 |
> |
test $ac_status = 0; } ;; #( |
| 15374 |
> |
*) : |
| 15375 |
> |
|
| 15376 |
> |
as_fn_append CFLAGS " $flag" |
| 15377 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15378 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15379 |
|
ac_status=$? |
| 15380 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15381 |
|
test $ac_status = 0; } |
| 15382 |
< |
CFLAGS="$CFLAGS $flag" |
| 15383 |
< |
;; |
| 15384 |
< |
esac |
| 15382 |
> |
;; |
| 15383 |
> |
esac |
| 15384 |
> |
|
| 15385 |
|
else |
| 15386 |
< |
CFLAGS="$flag" |
| 15386 |
> |
|
| 15387 |
> |
CFLAGS=$flag |
| 15388 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15389 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15390 |
> |
ac_status=$? |
| 15391 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15392 |
> |
test $ac_status = 0; } |
| 15393 |
> |
|
| 15394 |
|
fi |
| 15395 |
|
|
| 15396 |
|
else |
| 15435 |
|
eval ac_res=\$$as_CACHEVAR |
| 15436 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15437 |
|
$as_echo "$ac_res" >&6; } |
| 15438 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15439 |
< |
if ${CFLAGS+:} false; then : |
| 15440 |
< |
case " $CFLAGS " in |
| 15441 |
< |
*" $flag "*) |
| 15442 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15438 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15439 |
> |
|
| 15440 |
> |
if ${CFLAGS+:} false; then : |
| 15441 |
> |
|
| 15442 |
> |
case " $CFLAGS " in #( |
| 15443 |
> |
*" $flag "*) : |
| 15444 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15445 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15446 |
|
ac_status=$? |
| 15447 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15448 |
< |
test $ac_status = 0; } |
| 15449 |
< |
;; |
| 15450 |
< |
*) |
| 15451 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15452 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15448 |
> |
test $ac_status = 0; } ;; #( |
| 15449 |
> |
*) : |
| 15450 |
> |
|
| 15451 |
> |
as_fn_append CFLAGS " $flag" |
| 15452 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15453 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15454 |
|
ac_status=$? |
| 15455 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15456 |
|
test $ac_status = 0; } |
| 15457 |
< |
CFLAGS="$CFLAGS $flag" |
| 15458 |
< |
;; |
| 15459 |
< |
esac |
| 15457 |
> |
;; |
| 15458 |
> |
esac |
| 15459 |
> |
|
| 15460 |
|
else |
| 15461 |
< |
CFLAGS="$flag" |
| 15461 |
> |
|
| 15462 |
> |
CFLAGS=$flag |
| 15463 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15464 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15465 |
> |
ac_status=$? |
| 15466 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15467 |
> |
test $ac_status = 0; } |
| 15468 |
> |
|
| 15469 |
|
fi |
| 15470 |
|
|
| 15471 |
|
else |
| 15510 |
|
eval ac_res=\$$as_CACHEVAR |
| 15511 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15512 |
|
$as_echo "$ac_res" >&6; } |
| 15513 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15514 |
< |
if ${CFLAGS+:} false; then : |
| 15515 |
< |
case " $CFLAGS " in |
| 15516 |
< |
*" $flag "*) |
| 15517 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15513 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15514 |
> |
|
| 15515 |
> |
if ${CFLAGS+:} false; then : |
| 15516 |
> |
|
| 15517 |
> |
case " $CFLAGS " in #( |
| 15518 |
> |
*" $flag "*) : |
| 15519 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15520 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15521 |
|
ac_status=$? |
| 15522 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15523 |
< |
test $ac_status = 0; } |
| 15524 |
< |
;; |
| 15525 |
< |
*) |
| 15526 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15527 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15523 |
> |
test $ac_status = 0; } ;; #( |
| 15524 |
> |
*) : |
| 15525 |
> |
|
| 15526 |
> |
as_fn_append CFLAGS " $flag" |
| 15527 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15528 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15529 |
|
ac_status=$? |
| 15530 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15531 |
|
test $ac_status = 0; } |
| 15532 |
< |
CFLAGS="$CFLAGS $flag" |
| 15533 |
< |
;; |
| 15534 |
< |
esac |
| 15532 |
> |
;; |
| 15533 |
> |
esac |
| 15534 |
> |
|
| 15535 |
|
else |
| 15536 |
< |
CFLAGS="$flag" |
| 15536 |
> |
|
| 15537 |
> |
CFLAGS=$flag |
| 15538 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15539 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15540 |
> |
ac_status=$? |
| 15541 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15542 |
> |
test $ac_status = 0; } |
| 15543 |
> |
|
| 15544 |
|
fi |
| 15545 |
|
|
| 15546 |
|
else |
| 15585 |
|
eval ac_res=\$$as_CACHEVAR |
| 15586 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15587 |
|
$as_echo "$ac_res" >&6; } |
| 15588 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15589 |
< |
if ${CFLAGS+:} false; then : |
| 15590 |
< |
case " $CFLAGS " in |
| 15591 |
< |
*" $flag "*) |
| 15592 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15588 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15589 |
> |
|
| 15590 |
> |
if ${CFLAGS+:} false; then : |
| 15591 |
> |
|
| 15592 |
> |
case " $CFLAGS " in #( |
| 15593 |
> |
*" $flag "*) : |
| 15594 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15595 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15596 |
|
ac_status=$? |
| 15597 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15598 |
< |
test $ac_status = 0; } |
| 15599 |
< |
;; |
| 15600 |
< |
*) |
| 15601 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15602 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15598 |
> |
test $ac_status = 0; } ;; #( |
| 15599 |
> |
*) : |
| 15600 |
> |
|
| 15601 |
> |
as_fn_append CFLAGS " $flag" |
| 15602 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15603 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15604 |
|
ac_status=$? |
| 15605 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15606 |
|
test $ac_status = 0; } |
| 15607 |
< |
CFLAGS="$CFLAGS $flag" |
| 15608 |
< |
;; |
| 15609 |
< |
esac |
| 15607 |
> |
;; |
| 15608 |
> |
esac |
| 15609 |
> |
|
| 15610 |
|
else |
| 15611 |
< |
CFLAGS="$flag" |
| 15611 |
> |
|
| 15612 |
> |
CFLAGS=$flag |
| 15613 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15614 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15615 |
> |
ac_status=$? |
| 15616 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15617 |
> |
test $ac_status = 0; } |
| 15618 |
> |
|
| 15619 |
|
fi |
| 15620 |
|
|
| 15621 |
|
else |
| 15660 |
|
eval ac_res=\$$as_CACHEVAR |
| 15661 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15662 |
|
$as_echo "$ac_res" >&6; } |
| 15663 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15664 |
< |
if ${CFLAGS+:} false; then : |
| 15665 |
< |
case " $CFLAGS " in |
| 15666 |
< |
*" $flag "*) |
| 15667 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15663 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15664 |
> |
|
| 15665 |
> |
if ${CFLAGS+:} false; then : |
| 15666 |
> |
|
| 15667 |
> |
case " $CFLAGS " in #( |
| 15668 |
> |
*" $flag "*) : |
| 15669 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15670 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15671 |
|
ac_status=$? |
| 15672 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15673 |
< |
test $ac_status = 0; } |
| 15674 |
< |
;; |
| 15675 |
< |
*) |
| 15676 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15677 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15673 |
> |
test $ac_status = 0; } ;; #( |
| 15674 |
> |
*) : |
| 15675 |
> |
|
| 15676 |
> |
as_fn_append CFLAGS " $flag" |
| 15677 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15678 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15679 |
|
ac_status=$? |
| 15680 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15681 |
|
test $ac_status = 0; } |
| 15682 |
< |
CFLAGS="$CFLAGS $flag" |
| 15683 |
< |
;; |
| 15684 |
< |
esac |
| 15682 |
> |
;; |
| 15683 |
> |
esac |
| 15684 |
> |
|
| 15685 |
|
else |
| 15686 |
< |
CFLAGS="$flag" |
| 15686 |
> |
|
| 15687 |
> |
CFLAGS=$flag |
| 15688 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15689 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15690 |
> |
ac_status=$? |
| 15691 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15692 |
> |
test $ac_status = 0; } |
| 15693 |
> |
|
| 15694 |
|
fi |
| 15695 |
|
|
| 15696 |
|
else |
| 15735 |
|
eval ac_res=\$$as_CACHEVAR |
| 15736 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15737 |
|
$as_echo "$ac_res" >&6; } |
| 15738 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15739 |
< |
if ${CFLAGS+:} false; then : |
| 15740 |
< |
case " $CFLAGS " in |
| 15741 |
< |
*" $flag "*) |
| 15742 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15738 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15739 |
> |
|
| 15740 |
> |
if ${CFLAGS+:} false; then : |
| 15741 |
> |
|
| 15742 |
> |
case " $CFLAGS " in #( |
| 15743 |
> |
*" $flag "*) : |
| 15744 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15745 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15746 |
|
ac_status=$? |
| 15747 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15748 |
< |
test $ac_status = 0; } |
| 15749 |
< |
;; |
| 15750 |
< |
*) |
| 15751 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15752 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15748 |
> |
test $ac_status = 0; } ;; #( |
| 15749 |
> |
*) : |
| 15750 |
> |
|
| 15751 |
> |
as_fn_append CFLAGS " $flag" |
| 15752 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15753 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15754 |
|
ac_status=$? |
| 15755 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15756 |
|
test $ac_status = 0; } |
| 15757 |
< |
CFLAGS="$CFLAGS $flag" |
| 15758 |
< |
;; |
| 15759 |
< |
esac |
| 15757 |
> |
;; |
| 15758 |
> |
esac |
| 15759 |
> |
|
| 15760 |
|
else |
| 15761 |
< |
CFLAGS="$flag" |
| 15761 |
> |
|
| 15762 |
> |
CFLAGS=$flag |
| 15763 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15764 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15765 |
> |
ac_status=$? |
| 15766 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15767 |
> |
test $ac_status = 0; } |
| 15768 |
> |
|
| 15769 |
|
fi |
| 15770 |
|
|
| 15771 |
|
else |
| 15810 |
|
eval ac_res=\$$as_CACHEVAR |
| 15811 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15812 |
|
$as_echo "$ac_res" >&6; } |
| 15813 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15814 |
< |
if ${CFLAGS+:} false; then : |
| 15815 |
< |
case " $CFLAGS " in |
| 15816 |
< |
*" $flag "*) |
| 15817 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15813 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15814 |
> |
|
| 15815 |
> |
if ${CFLAGS+:} false; then : |
| 15816 |
> |
|
| 15817 |
> |
case " $CFLAGS " in #( |
| 15818 |
> |
*" $flag "*) : |
| 15819 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15820 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15821 |
|
ac_status=$? |
| 15822 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15823 |
< |
test $ac_status = 0; } |
| 15824 |
< |
;; |
| 15825 |
< |
*) |
| 15826 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15827 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15823 |
> |
test $ac_status = 0; } ;; #( |
| 15824 |
> |
*) : |
| 15825 |
> |
|
| 15826 |
> |
as_fn_append CFLAGS " $flag" |
| 15827 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15828 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15829 |
|
ac_status=$? |
| 15830 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15831 |
|
test $ac_status = 0; } |
| 15832 |
< |
CFLAGS="$CFLAGS $flag" |
| 15833 |
< |
;; |
| 15834 |
< |
esac |
| 15832 |
> |
;; |
| 15833 |
> |
esac |
| 15834 |
> |
|
| 15835 |
|
else |
| 15836 |
< |
CFLAGS="$flag" |
| 15836 |
> |
|
| 15837 |
> |
CFLAGS=$flag |
| 15838 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15839 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15840 |
> |
ac_status=$? |
| 15841 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15842 |
> |
test $ac_status = 0; } |
| 15843 |
> |
|
| 15844 |
|
fi |
| 15845 |
|
|
| 15846 |
|
else |
| 15885 |
|
eval ac_res=\$$as_CACHEVAR |
| 15886 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15887 |
|
$as_echo "$ac_res" >&6; } |
| 15888 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15889 |
< |
if ${CFLAGS+:} false; then : |
| 15890 |
< |
case " $CFLAGS " in |
| 15891 |
< |
*" $flag "*) |
| 15892 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15888 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15889 |
> |
|
| 15890 |
> |
if ${CFLAGS+:} false; then : |
| 15891 |
> |
|
| 15892 |
> |
case " $CFLAGS " in #( |
| 15893 |
> |
*" $flag "*) : |
| 15894 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15895 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15896 |
|
ac_status=$? |
| 15897 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15898 |
< |
test $ac_status = 0; } |
| 15899 |
< |
;; |
| 15900 |
< |
*) |
| 15901 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15902 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15898 |
> |
test $ac_status = 0; } ;; #( |
| 15899 |
> |
*) : |
| 15900 |
> |
|
| 15901 |
> |
as_fn_append CFLAGS " $flag" |
| 15902 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15903 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15904 |
|
ac_status=$? |
| 15905 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15906 |
|
test $ac_status = 0; } |
| 15907 |
< |
CFLAGS="$CFLAGS $flag" |
| 15908 |
< |
;; |
| 15909 |
< |
esac |
| 15907 |
> |
;; |
| 15908 |
> |
esac |
| 15909 |
> |
|
| 15910 |
|
else |
| 15911 |
< |
CFLAGS="$flag" |
| 15911 |
> |
|
| 15912 |
> |
CFLAGS=$flag |
| 15913 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15914 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15915 |
> |
ac_status=$? |
| 15916 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15917 |
> |
test $ac_status = 0; } |
| 15918 |
> |
|
| 15919 |
|
fi |
| 15920 |
|
|
| 15921 |
|
else |
| 15960 |
|
eval ac_res=\$$as_CACHEVAR |
| 15961 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15962 |
|
$as_echo "$ac_res" >&6; } |
| 15963 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15964 |
< |
if ${CFLAGS+:} false; then : |
| 15965 |
< |
case " $CFLAGS " in |
| 15966 |
< |
*" $flag "*) |
| 15967 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15963 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15964 |
> |
|
| 15965 |
> |
if ${CFLAGS+:} false; then : |
| 15966 |
> |
|
| 15967 |
> |
case " $CFLAGS " in #( |
| 15968 |
> |
*" $flag "*) : |
| 15969 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15970 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15971 |
|
ac_status=$? |
| 15972 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15973 |
< |
test $ac_status = 0; } |
| 15974 |
< |
;; |
| 15975 |
< |
*) |
| 15976 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15977 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15973 |
> |
test $ac_status = 0; } ;; #( |
| 15974 |
> |
*) : |
| 15975 |
> |
|
| 15976 |
> |
as_fn_append CFLAGS " $flag" |
| 15977 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15978 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15979 |
|
ac_status=$? |
| 15980 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15981 |
|
test $ac_status = 0; } |
| 15982 |
< |
CFLAGS="$CFLAGS $flag" |
| 15983 |
< |
;; |
| 15984 |
< |
esac |
| 15982 |
> |
;; |
| 15983 |
> |
esac |
| 15984 |
> |
|
| 15985 |
|
else |
| 15986 |
< |
CFLAGS="$flag" |
| 15986 |
> |
|
| 15987 |
> |
CFLAGS=$flag |
| 15988 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15989 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15990 |
> |
ac_status=$? |
| 15991 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15992 |
> |
test $ac_status = 0; } |
| 15993 |
> |
|
| 15994 |
|
fi |
| 15995 |
|
|
| 15996 |
|
else |
| 16035 |
|
eval ac_res=\$$as_CACHEVAR |
| 16036 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16037 |
|
$as_echo "$ac_res" >&6; } |
| 16038 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 16039 |
< |
if ${CFLAGS+:} false; then : |
| 16040 |
< |
case " $CFLAGS " in |
| 16041 |
< |
*" $flag "*) |
| 16042 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16038 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16039 |
> |
|
| 16040 |
> |
if ${CFLAGS+:} false; then : |
| 16041 |
> |
|
| 16042 |
> |
case " $CFLAGS " in #( |
| 16043 |
> |
*" $flag "*) : |
| 16044 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16045 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 16046 |
|
ac_status=$? |
| 16047 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16048 |
< |
test $ac_status = 0; } |
| 16049 |
< |
;; |
| 16050 |
< |
*) |
| 16051 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 16052 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 16048 |
> |
test $ac_status = 0; } ;; #( |
| 16049 |
> |
*) : |
| 16050 |
> |
|
| 16051 |
> |
as_fn_append CFLAGS " $flag" |
| 16052 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16053 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16054 |
|
ac_status=$? |
| 16055 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16056 |
|
test $ac_status = 0; } |
| 16057 |
< |
CFLAGS="$CFLAGS $flag" |
| 16058 |
< |
;; |
| 16059 |
< |
esac |
| 16057 |
> |
;; |
| 16058 |
> |
esac |
| 16059 |
> |
|
| 16060 |
|
else |
| 16061 |
< |
CFLAGS="$flag" |
| 16061 |
> |
|
| 16062 |
> |
CFLAGS=$flag |
| 16063 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16064 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16065 |
> |
ac_status=$? |
| 16066 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16067 |
> |
test $ac_status = 0; } |
| 16068 |
> |
|
| 16069 |
|
fi |
| 16070 |
|
|
| 16071 |
|
else |
| 16110 |
|
eval ac_res=\$$as_CACHEVAR |
| 16111 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16112 |
|
$as_echo "$ac_res" >&6; } |
| 16113 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 16114 |
< |
if ${CFLAGS+:} false; then : |
| 16115 |
< |
case " $CFLAGS " in |
| 16116 |
< |
*" $flag "*) |
| 16117 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16113 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16114 |
> |
|
| 16115 |
> |
if ${CFLAGS+:} false; then : |
| 16116 |
> |
|
| 16117 |
> |
case " $CFLAGS " in #( |
| 16118 |
> |
*" $flag "*) : |
| 16119 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16120 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 16121 |
|
ac_status=$? |
| 16122 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16123 |
+ |
test $ac_status = 0; } ;; #( |
| 16124 |
+ |
*) : |
| 16125 |
+ |
|
| 16126 |
+ |
as_fn_append CFLAGS " $flag" |
| 16127 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16128 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16129 |
+ |
ac_status=$? |
| 16130 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16131 |
|
test $ac_status = 0; } |
| 16132 |
< |
;; |
| 16133 |
< |
*) |
| 16134 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 16135 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 16132 |
> |
;; |
| 16133 |
> |
esac |
| 16134 |
> |
|
| 16135 |
> |
else |
| 16136 |
> |
|
| 16137 |
> |
CFLAGS=$flag |
| 16138 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16139 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16140 |
|
ac_status=$? |
| 16141 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16142 |
|
test $ac_status = 0; } |
| 16143 |
< |
CFLAGS="$CFLAGS $flag" |
| 16144 |
< |
;; |
| 16145 |
< |
esac |
| 16143 |
> |
|
| 16144 |
> |
fi |
| 16145 |
> |
|
| 16146 |
> |
else |
| 16147 |
> |
: |
| 16148 |
> |
fi |
| 16149 |
> |
|
| 16150 |
> |
done |
| 16151 |
> |
|
| 16152 |
> |
|
| 16153 |
> |
|
| 16154 |
> |
|
| 16155 |
> |
|
| 16156 |
> |
for flag in -Wshift-negative-value; do |
| 16157 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16158 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16159 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 16160 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 16161 |
> |
$as_echo_n "(cached) " >&6 |
| 16162 |
> |
else |
| 16163 |
> |
|
| 16164 |
> |
ax_check_save_flags=$CFLAGS |
| 16165 |
> |
CFLAGS="$CFLAGS $flag" |
| 16166 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16167 |
> |
/* end confdefs.h. */ |
| 16168 |
> |
|
| 16169 |
> |
int |
| 16170 |
> |
main () |
| 16171 |
> |
{ |
| 16172 |
> |
|
| 16173 |
> |
; |
| 16174 |
> |
return 0; |
| 16175 |
> |
} |
| 16176 |
> |
_ACEOF |
| 16177 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 16178 |
> |
eval "$as_CACHEVAR=yes" |
| 16179 |
> |
else |
| 16180 |
> |
eval "$as_CACHEVAR=no" |
| 16181 |
> |
fi |
| 16182 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16183 |
> |
CFLAGS=$ax_check_save_flags |
| 16184 |
> |
fi |
| 16185 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16186 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16187 |
> |
$as_echo "$ac_res" >&6; } |
| 16188 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16189 |
> |
|
| 16190 |
> |
if ${CFLAGS+:} false; then : |
| 16191 |
> |
|
| 16192 |
> |
case " $CFLAGS " in #( |
| 16193 |
> |
*" $flag "*) : |
| 16194 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16195 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16196 |
> |
ac_status=$? |
| 16197 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16198 |
> |
test $ac_status = 0; } ;; #( |
| 16199 |
> |
*) : |
| 16200 |
> |
|
| 16201 |
> |
as_fn_append CFLAGS " $flag" |
| 16202 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16203 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16204 |
> |
ac_status=$? |
| 16205 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16206 |
> |
test $ac_status = 0; } |
| 16207 |
> |
;; |
| 16208 |
> |
esac |
| 16209 |
> |
|
| 16210 |
|
else |
| 16211 |
< |
CFLAGS="$flag" |
| 16211 |
> |
|
| 16212 |
> |
CFLAGS=$flag |
| 16213 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16214 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16215 |
> |
ac_status=$? |
| 16216 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16217 |
> |
test $ac_status = 0; } |
| 16218 |
> |
|
| 16219 |
|
fi |
| 16220 |
|
|
| 16221 |
|
else |
| 16260 |
|
eval ac_res=\$$as_CACHEVAR |
| 16261 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16262 |
|
$as_echo "$ac_res" >&6; } |
| 16263 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 16264 |
< |
if ${CFLAGS+:} false; then : |
| 16265 |
< |
case " $CFLAGS " in |
| 16266 |
< |
*" $flag "*) |
| 16267 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16263 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16264 |
> |
|
| 16265 |
> |
if ${CFLAGS+:} false; then : |
| 16266 |
> |
|
| 16267 |
> |
case " $CFLAGS " in #( |
| 16268 |
> |
*" $flag "*) : |
| 16269 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16270 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 16271 |
|
ac_status=$? |
| 16272 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16273 |
< |
test $ac_status = 0; } |
| 16274 |
< |
;; |
| 16275 |
< |
*) |
| 16276 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 16277 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 16273 |
> |
test $ac_status = 0; } ;; #( |
| 16274 |
> |
*) : |
| 16275 |
> |
|
| 16276 |
> |
as_fn_append CFLAGS " $flag" |
| 16277 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16278 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16279 |
|
ac_status=$? |
| 16280 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16281 |
|
test $ac_status = 0; } |
| 16282 |
< |
CFLAGS="$CFLAGS $flag" |
| 16283 |
< |
;; |
| 16284 |
< |
esac |
| 16282 |
> |
;; |
| 16283 |
> |
esac |
| 16284 |
> |
|
| 16285 |
|
else |
| 16286 |
< |
CFLAGS="$flag" |
| 16286 |
> |
|
| 16287 |
> |
CFLAGS=$flag |
| 16288 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16289 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16290 |
> |
ac_status=$? |
| 16291 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16292 |
> |
test $ac_status = 0; } |
| 16293 |
> |
|
| 16294 |
|
fi |
| 16295 |
|
|
| 16296 |
|
else |
| 16335 |
|
eval ac_res=\$$as_CACHEVAR |
| 16336 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16337 |
|
$as_echo "$ac_res" >&6; } |
| 16338 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 16339 |
< |
if ${CFLAGS+:} false; then : |
| 16340 |
< |
case " $CFLAGS " in |
| 16341 |
< |
*" $flag "*) |
| 16342 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16338 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16339 |
> |
|
| 16340 |
> |
if ${CFLAGS+:} false; then : |
| 16341 |
> |
|
| 16342 |
> |
case " $CFLAGS " in #( |
| 16343 |
> |
*" $flag "*) : |
| 16344 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16345 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 16346 |
|
ac_status=$? |
| 16347 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16348 |
< |
test $ac_status = 0; } |
| 16349 |
< |
;; |
| 16350 |
< |
*) |
| 16351 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 16352 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 16348 |
> |
test $ac_status = 0; } ;; #( |
| 16349 |
> |
*) : |
| 16350 |
> |
|
| 16351 |
> |
as_fn_append CFLAGS " $flag" |
| 16352 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16353 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16354 |
|
ac_status=$? |
| 16355 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16356 |
|
test $ac_status = 0; } |
| 16357 |
< |
CFLAGS="$CFLAGS $flag" |
| 16358 |
< |
;; |
| 16359 |
< |
esac |
| 16357 |
> |
;; |
| 16358 |
> |
esac |
| 16359 |
> |
|
| 16360 |
|
else |
| 16361 |
< |
CFLAGS="$flag" |
| 16361 |
> |
|
| 16362 |
> |
CFLAGS=$flag |
| 16363 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16364 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16365 |
> |
ac_status=$? |
| 16366 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16367 |
> |
test $ac_status = 0; } |
| 16368 |
> |
|
| 16369 |
|
fi |
| 16370 |
|
|
| 16371 |
|
else |
| 16410 |
|
eval ac_res=\$$as_CACHEVAR |
| 16411 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16412 |
|
$as_echo "$ac_res" >&6; } |
| 16413 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 16414 |
< |
if ${CFLAGS+:} false; then : |
| 16415 |
< |
case " $CFLAGS " in |
| 16416 |
< |
*" $flag "*) |
| 16417 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16413 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16414 |
> |
|
| 16415 |
> |
if ${CFLAGS+:} false; then : |
| 16416 |
> |
|
| 16417 |
> |
case " $CFLAGS " in #( |
| 16418 |
> |
*" $flag "*) : |
| 16419 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16420 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 16421 |
|
ac_status=$? |
| 16422 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16423 |
< |
test $ac_status = 0; } |
| 16424 |
< |
;; |
| 16425 |
< |
*) |
| 16426 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 16427 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 16423 |
> |
test $ac_status = 0; } ;; #( |
| 16424 |
> |
*) : |
| 16425 |
> |
|
| 16426 |
> |
as_fn_append CFLAGS " $flag" |
| 16427 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16428 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16429 |
|
ac_status=$? |
| 16430 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16431 |
|
test $ac_status = 0; } |
| 16432 |
< |
CFLAGS="$CFLAGS $flag" |
| 16433 |
< |
;; |
| 16434 |
< |
esac |
| 16432 |
> |
;; |
| 16433 |
> |
esac |
| 16434 |
> |
|
| 16435 |
|
else |
| 16436 |
< |
CFLAGS="$flag" |
| 16436 |
> |
|
| 16437 |
> |
CFLAGS=$flag |
| 16438 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16439 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16440 |
> |
ac_status=$? |
| 16441 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16442 |
> |
test $ac_status = 0; } |
| 16443 |
> |
|
| 16444 |
|
fi |
| 16445 |
|
|
| 16446 |
|
else |
| 16485 |
|
eval ac_res=\$$as_CACHEVAR |
| 16486 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16487 |
|
$as_echo "$ac_res" >&6; } |
| 16488 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 16489 |
< |
if ${CFLAGS+:} false; then : |
| 16490 |
< |
case " $CFLAGS " in |
| 16491 |
< |
*" $flag "*) |
| 16492 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16488 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16489 |
> |
|
| 16490 |
> |
if ${CFLAGS+:} false; then : |
| 16491 |
> |
|
| 16492 |
> |
case " $CFLAGS " in #( |
| 16493 |
> |
*" $flag "*) : |
| 16494 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16495 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 16496 |
|
ac_status=$? |
| 16497 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16498 |
< |
test $ac_status = 0; } |
| 16499 |
< |
;; |
| 16500 |
< |
*) |
| 16501 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 16502 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 16498 |
> |
test $ac_status = 0; } ;; #( |
| 16499 |
> |
*) : |
| 16500 |
> |
|
| 16501 |
> |
as_fn_append CFLAGS " $flag" |
| 16502 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16503 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16504 |
|
ac_status=$? |
| 16505 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16506 |
|
test $ac_status = 0; } |
| 16507 |
< |
CFLAGS="$CFLAGS $flag" |
| 16508 |
< |
;; |
| 16509 |
< |
esac |
| 16507 |
> |
;; |
| 16508 |
> |
esac |
| 16509 |
> |
|
| 16510 |
|
else |
| 16511 |
< |
CFLAGS="$flag" |
| 16511 |
> |
|
| 16512 |
> |
CFLAGS=$flag |
| 16513 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16514 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16515 |
> |
ac_status=$? |
| 16516 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16517 |
> |
test $ac_status = 0; } |
| 16518 |
> |
|
| 16519 |
|
fi |
| 16520 |
|
|
| 16521 |
|
else |
| 16560 |
|
eval ac_res=\$$as_CACHEVAR |
| 16561 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16562 |
|
$as_echo "$ac_res" >&6; } |
| 16563 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 16564 |
< |
if ${CFLAGS+:} false; then : |
| 16565 |
< |
case " $CFLAGS " in |
| 16566 |
< |
*" $flag "*) |
| 16567 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16563 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16564 |
> |
|
| 16565 |
> |
if ${CFLAGS+:} false; then : |
| 16566 |
> |
|
| 16567 |
> |
case " $CFLAGS " in #( |
| 16568 |
> |
*" $flag "*) : |
| 16569 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16570 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 16571 |
|
ac_status=$? |
| 16572 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16573 |
< |
test $ac_status = 0; } |
| 16574 |
< |
;; |
| 16575 |
< |
*) |
| 16576 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 16577 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 16573 |
> |
test $ac_status = 0; } ;; #( |
| 16574 |
> |
*) : |
| 16575 |
> |
|
| 16576 |
> |
as_fn_append CFLAGS " $flag" |
| 16577 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16578 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16579 |
|
ac_status=$? |
| 16580 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16581 |
|
test $ac_status = 0; } |
| 16582 |
< |
CFLAGS="$CFLAGS $flag" |
| 16583 |
< |
;; |
| 16584 |
< |
esac |
| 16582 |
> |
;; |
| 16583 |
> |
esac |
| 16584 |
> |
|
| 16585 |
|
else |
| 16586 |
< |
CFLAGS="$flag" |
| 16586 |
> |
|
| 16587 |
> |
CFLAGS=$flag |
| 16588 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16589 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16590 |
> |
ac_status=$? |
| 16591 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16592 |
> |
test $ac_status = 0; } |
| 16593 |
> |
|
| 16594 |
|
fi |
| 16595 |
|
|
| 16596 |
|
else |
| 16599 |
|
|
| 16600 |
|
done |
| 16601 |
|
|
| 16602 |
< |
fi |
| 16602 |
> |
|
| 16603 |
> |
fi |
| 16604 |
|
|
| 16605 |
|
|
| 16606 |
< |
# Check whether --enable-openssl was given. |
| 16607 |
< |
if test "${enable_openssl+set}" = set; then : |
| 16608 |
< |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 16609 |
< |
else |
| 16610 |
< |
cf_enable_openssl="auto" |
| 16606 |
> |
# Check whether --enable-efence was given. |
| 16607 |
> |
if test "${enable_efence+set}" = set; then : |
| 16608 |
> |
enableval=$enable_efence; efence="$enableval" |
| 16609 |
> |
else |
| 16610 |
> |
efence="no" |
| 16611 |
|
fi |
| 16612 |
|
|
| 16197 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
| 16198 |
– |
$as_echo_n "checking for LibreSSL/OpenSSL... " >&6; } |
| 16199 |
– |
if test "$cf_enable_openssl" != "no"; then |
| 16200 |
– |
cf_openssl_basedir="" |
| 16201 |
– |
if test "$cf_enable_openssl" != "auto" && |
| 16202 |
– |
test "$cf_enable_openssl" != "yes"; then |
| 16203 |
– |
cf_openssl_basedir="${cf_enable_openssl}" |
| 16204 |
– |
else |
| 16205 |
– |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 16206 |
– |
/opt /opt/openssl /usr/local/openssl; do |
| 16207 |
– |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 16208 |
– |
cf_openssl_basedir="${dirs}" |
| 16209 |
– |
break |
| 16210 |
– |
fi |
| 16211 |
– |
done |
| 16212 |
– |
unset dirs |
| 16213 |
– |
fi |
| 16613 |
|
|
| 16614 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 16216 |
< |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 16217 |
< |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 16218 |
< |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 16219 |
< |
else |
| 16220 |
< |
cf_openssl_basedir="" |
| 16221 |
< |
fi |
| 16222 |
< |
else |
| 16223 |
< |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 16224 |
< |
cf_openssl_basedir="/usr" |
| 16225 |
< |
fi |
| 16226 |
< |
fi |
| 16614 |
> |
if test "$efence" = "yes"; then : |
| 16615 |
|
|
| 16616 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 16617 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 16618 |
< |
$as_echo "$cf_openssl_basedir" >&6; } |
| 16619 |
< |
cf_enable_openssl="yes" |
| 16616 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 16617 |
> |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 16618 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16619 |
> |
$as_echo_n "(cached) " >&6 |
| 16620 |
> |
else |
| 16621 |
> |
ac_func_search_save_LIBS=$LIBS |
| 16622 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16623 |
> |
/* end confdefs.h. */ |
| 16624 |
> |
|
| 16625 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 16626 |
> |
Use char because int might match the return type of a GCC |
| 16627 |
> |
builtin and then its argument prototype would still apply. */ |
| 16628 |
> |
#ifdef __cplusplus |
| 16629 |
> |
extern "C" |
| 16630 |
> |
#endif |
| 16631 |
> |
char EF_Print (); |
| 16632 |
> |
int |
| 16633 |
> |
main () |
| 16634 |
> |
{ |
| 16635 |
> |
return EF_Print (); |
| 16636 |
> |
; |
| 16637 |
> |
return 0; |
| 16638 |
> |
} |
| 16639 |
> |
_ACEOF |
| 16640 |
> |
for ac_lib in '' efence; do |
| 16641 |
> |
if test -z "$ac_lib"; then |
| 16642 |
> |
ac_res="none required" |
| 16643 |
|
else |
| 16644 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 16645 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 16235 |
< |
cf_enable_openssl="no" |
| 16644 |
> |
ac_res=-l$ac_lib |
| 16645 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16646 |
|
fi |
| 16647 |
< |
unset cf_openssl_basedir |
| 16647 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 16648 |
> |
ac_cv_search_EF_Print=$ac_res |
| 16649 |
> |
fi |
| 16650 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 16651 |
> |
conftest$ac_exeext |
| 16652 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16653 |
> |
break |
| 16654 |
> |
fi |
| 16655 |
> |
done |
| 16656 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16657 |
> |
|
| 16658 |
|
else |
| 16659 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 16240 |
< |
$as_echo "disabled" >&6; } |
| 16659 |
> |
ac_cv_search_EF_Print=no |
| 16660 |
|
fi |
| 16661 |
+ |
rm conftest.$ac_ext |
| 16662 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 16663 |
+ |
fi |
| 16664 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 16665 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 16666 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 16667 |
+ |
if test "$ac_res" != no; then : |
| 16668 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 16669 |
|
|
| 16670 |
< |
if test "$cf_enable_openssl" != "no"; then : |
| 16671 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 16672 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 16673 |
< |
if test "$cross_compiling" = yes; then : |
| 16674 |
< |
cf_openssl_version_ok=no |
| 16670 |
> |
else |
| 16671 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16672 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16673 |
> |
as_fn_error $? "Electric Fence 'efence' library not found |
| 16674 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16675 |
> |
fi |
| 16676 |
> |
|
| 16677 |
> |
|
| 16678 |
> |
fi |
| 16679 |
> |
|
| 16680 |
> |
|
| 16681 |
> |
|
| 16682 |
> |
|
| 16683 |
> |
# Check whether --with-tls was given. |
| 16684 |
> |
if test "${with_tls+set}" = set; then : |
| 16685 |
> |
withval=$with_tls; with_tls=$withval |
| 16686 |
> |
else |
| 16687 |
> |
with_tls=auto |
| 16688 |
> |
fi |
| 16689 |
> |
|
| 16690 |
> |
|
| 16691 |
> |
if test "$with_tls" = "openssl" || |
| 16692 |
> |
test "$with_tls" = "auto"; then |
| 16693 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" |
| 16694 |
> |
if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : |
| 16695 |
> |
|
| 16696 |
> |
if test "$cross_compiling" = yes; then : |
| 16697 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16698 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16699 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16700 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16701 |
|
else |
| 16702 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16703 |
|
/* end confdefs.h. */ |
| 16704 |
|
|
| 16705 |
|
|
| 16706 |
< |
#include <openssl/opensslv.h> |
| 16707 |
< |
#include <stdlib.h> |
| 16706 |
> |
#include <openssl/opensslv.h> |
| 16707 |
> |
#include <stdlib.h> |
| 16708 |
|
int |
| 16709 |
|
main () |
| 16710 |
|
{ |
| 16711 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 16711 |
> |
|
| 16712 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL)); |
| 16713 |
|
; |
| 16714 |
|
return 0; |
| 16715 |
|
} |
| 16716 |
|
_ACEOF |
| 16717 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 16718 |
< |
cf_openssl_version_ok=yes |
| 16265 |
< |
else |
| 16266 |
< |
cf_openssl_version_ok=no |
| 16267 |
< |
fi |
| 16268 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16269 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16270 |
< |
fi |
| 16271 |
< |
|
| 16272 |
< |
|
| 16273 |
< |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 16274 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16275 |
< |
$as_echo "found" >&6; } |
| 16276 |
< |
|
| 16277 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 16718 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 16719 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 16720 |
|
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 16721 |
|
$as_echo_n "(cached) " >&6 |
| 16760 |
|
|
| 16761 |
|
fi |
| 16762 |
|
|
| 16763 |
+ |
fi |
| 16764 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16765 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16766 |
+ |
fi |
| 16767 |
+ |
|
| 16768 |
+ |
fi |
| 16769 |
+ |
|
| 16770 |
+ |
|
| 16771 |
+ |
|
| 16772 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 16773 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 16774 |
|
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 16817 |
|
|
| 16818 |
|
fi |
| 16819 |
|
|
| 16820 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
| 16821 |
+ |
$as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
| 16822 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
| 16823 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16824 |
+ |
$as_echo "found" >&6; } |
| 16825 |
|
else |
| 16826 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
| 16827 |
|
$as_echo "no - LibreSSL/OpenSSL support disabled" >&6; } |
| 16373 |
– |
cf_enable_openssl="no" |
| 16828 |
|
fi |
| 16829 |
+ |
|
| 16830 |
|
fi |
| 16831 |
|
|
| 16832 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 16833 |
< |
ENABLE_SSL_TRUE= |
| 16834 |
< |
ENABLE_SSL_FALSE='#' |
| 16832 |
> |
if test "$with_tls" = "gnutls" || |
| 16833 |
> |
test "$with_tls" = "auto"; then |
| 16834 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then |
| 16835 |
> |
|
| 16836 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
| 16837 |
> |
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
| 16838 |
> |
|
| 16839 |
> |
if test "$cross_compiling" = yes; then : |
| 16840 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16841 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16842 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16843 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16844 |
|
else |
| 16845 |
< |
ENABLE_SSL_TRUE='#' |
| 16846 |
< |
ENABLE_SSL_FALSE= |
| 16845 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16846 |
> |
/* end confdefs.h. */ |
| 16847 |
> |
|
| 16848 |
> |
|
| 16849 |
> |
#include <gnutls/gnutls.h> |
| 16850 |
> |
#include <stdlib.h> |
| 16851 |
> |
int |
| 16852 |
> |
main () |
| 16853 |
> |
{ |
| 16854 |
> |
|
| 16855 |
> |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030605)); |
| 16856 |
> |
; |
| 16857 |
> |
return 0; |
| 16858 |
> |
} |
| 16859 |
> |
_ACEOF |
| 16860 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 16861 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16862 |
> |
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
| 16863 |
> |
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
| 16864 |
> |
$as_echo_n "(cached) " >&6 |
| 16865 |
> |
else |
| 16866 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 16867 |
> |
LIBS="-lgnutls $LIBS" |
| 16868 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16869 |
> |
/* end confdefs.h. */ |
| 16870 |
> |
|
| 16871 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 16872 |
> |
Use char because int might match the return type of a GCC |
| 16873 |
> |
builtin and then its argument prototype would still apply. */ |
| 16874 |
> |
#ifdef __cplusplus |
| 16875 |
> |
extern "C" |
| 16876 |
> |
#endif |
| 16877 |
> |
char gnutls_init (); |
| 16878 |
> |
int |
| 16879 |
> |
main () |
| 16880 |
> |
{ |
| 16881 |
> |
return gnutls_init (); |
| 16882 |
> |
; |
| 16883 |
> |
return 0; |
| 16884 |
> |
} |
| 16885 |
> |
_ACEOF |
| 16886 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 16887 |
> |
ac_cv_lib_gnutls_gnutls_init=yes |
| 16888 |
> |
else |
| 16889 |
> |
ac_cv_lib_gnutls_gnutls_init=no |
| 16890 |
|
fi |
| 16891 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 16892 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 16893 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 16894 |
+ |
fi |
| 16895 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5 |
| 16896 |
+ |
$as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; } |
| 16897 |
+ |
if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then : |
| 16898 |
+ |
cat >>confdefs.h <<_ACEOF |
| 16899 |
+ |
#define HAVE_LIBGNUTLS 1 |
| 16900 |
+ |
_ACEOF |
| 16901 |
+ |
|
| 16902 |
+ |
LIBS="-lgnutls $LIBS" |
| 16903 |
+ |
|
| 16904 |
+ |
fi |
| 16905 |
+ |
|
| 16906 |
+ |
fi |
| 16907 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16908 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16909 |
+ |
fi |
| 16910 |
+ |
|
| 16911 |
+ |
fi |
| 16912 |
+ |
|
| 16913 |
+ |
|
| 16914 |
|
|
| 16915 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5 |
| 16916 |
+ |
$as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; } |
| 16917 |
+ |
if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then : |
| 16918 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16919 |
+ |
$as_echo "found" >&6; } |
| 16920 |
+ |
else |
| 16921 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5 |
| 16922 |
+ |
$as_echo "no - GnuTLS support disabled" >&6; } |
| 16923 |
+ |
fi |
| 16924 |
+ |
|
| 16925 |
+ |
fi |
| 16926 |
+ |
fi |
| 16927 |
+ |
|
| 16928 |
+ |
if test "$with_tls" = "wolfssl" || |
| 16929 |
+ |
test "$with_tls" = "auto"; then |
| 16930 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes" && |
| 16931 |
+ |
test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then |
| 16932 |
|
|
| 16933 |
+ |
ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default" |
| 16934 |
+ |
if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then : |
| 16935 |
|
|
| 16936 |
< |
# Check whether --enable-libgeoip was given. |
| 16937 |
< |
if test "${enable_libgeoip+set}" = set; then : |
| 16938 |
< |
enableval=$enable_libgeoip; |
| 16936 |
> |
if test "$cross_compiling" = yes; then : |
| 16937 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16938 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16939 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16940 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16941 |
|
else |
| 16942 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 16943 |
< |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 16944 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16945 |
< |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 16946 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16942 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16943 |
> |
/* end confdefs.h. */ |
| 16944 |
> |
|
| 16945 |
> |
|
| 16946 |
> |
#include <wolfssl/version.h> |
| 16947 |
> |
#include <stdlib.h> |
| 16948 |
> |
int |
| 16949 |
> |
main () |
| 16950 |
> |
{ |
| 16951 |
> |
|
| 16952 |
> |
exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000)); |
| 16953 |
> |
; |
| 16954 |
> |
return 0; |
| 16955 |
> |
} |
| 16956 |
> |
_ACEOF |
| 16957 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 16958 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5 |
| 16959 |
> |
$as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; } |
| 16960 |
> |
if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then : |
| 16961 |
|
$as_echo_n "(cached) " >&6 |
| 16962 |
|
else |
| 16963 |
< |
ac_func_search_save_LIBS=$LIBS |
| 16963 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 16964 |
> |
LIBS="-lwolfssl $LIBS" |
| 16965 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16966 |
|
/* end confdefs.h. */ |
| 16967 |
|
|
| 16971 |
|
#ifdef __cplusplus |
| 16972 |
|
extern "C" |
| 16973 |
|
#endif |
| 16974 |
< |
char GeoIP_id_by_ipnum_v6_gl (); |
| 16974 |
> |
char wolfSSL_X509_digest (); |
| 16975 |
|
int |
| 16976 |
|
main () |
| 16977 |
|
{ |
| 16978 |
< |
return GeoIP_id_by_ipnum_v6_gl (); |
| 16978 |
> |
return wolfSSL_X509_digest (); |
| 16979 |
|
; |
| 16980 |
|
return 0; |
| 16981 |
|
} |
| 16982 |
|
_ACEOF |
| 16983 |
< |
for ac_lib in '' GeoIP; do |
| 16984 |
< |
if test -z "$ac_lib"; then |
| 16985 |
< |
ac_res="none required" |
| 16986 |
< |
else |
| 16421 |
< |
ac_res=-l$ac_lib |
| 16422 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16423 |
< |
fi |
| 16424 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 16425 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 16983 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 16984 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes |
| 16985 |
> |
else |
| 16986 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=no |
| 16987 |
|
fi |
| 16988 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 16989 |
< |
conftest$ac_exeext |
| 16990 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16430 |
< |
break |
| 16989 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 16990 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 16991 |
|
fi |
| 16992 |
< |
done |
| 16993 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16992 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5 |
| 16993 |
> |
$as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; } |
| 16994 |
> |
if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then : |
| 16995 |
> |
cat >>confdefs.h <<_ACEOF |
| 16996 |
> |
#define HAVE_LIBWOLFSSL 1 |
| 16997 |
> |
_ACEOF |
| 16998 |
> |
|
| 16999 |
> |
LIBS="-lwolfssl $LIBS" |
| 17000 |
|
|
| 16435 |
– |
else |
| 16436 |
– |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 17001 |
|
fi |
| 17002 |
< |
rm conftest.$ac_ext |
| 16439 |
< |
LIBS=$ac_func_search_save_LIBS |
| 17002 |
> |
|
| 17003 |
|
fi |
| 17004 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 17005 |
< |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 17006 |
< |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 17007 |
< |
if test "$ac_res" != no; then : |
| 17008 |
< |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 17004 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17005 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17006 |
> |
fi |
| 17007 |
> |
|
| 17008 |
> |
fi |
| 17009 |
> |
|
| 17010 |
> |
|
| 17011 |
|
|
| 17012 |
< |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 17012 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5 |
| 17013 |
> |
$as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; } |
| 17014 |
> |
if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then : |
| 17015 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 17016 |
> |
$as_echo "found" >&6; } |
| 17017 |
> |
else |
| 17018 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5 |
| 17019 |
> |
$as_echo "no - wolfSSL support disabled" >&6; } |
| 17020 |
> |
fi |
| 17021 |
|
|
| 17022 |
+ |
fi |
| 17023 |
|
fi |
| 17024 |
|
|
| 17025 |
+ |
|
| 17026 |
+ |
|
| 17027 |
+ |
# Disable -Wformat-truncation |
| 17028 |
+ |
|
| 17029 |
+ |
|
| 17030 |
+ |
|
| 17031 |
+ |
|
| 17032 |
+ |
for flag in -Wno-format-truncation; do |
| 17033 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 17034 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 17035 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 17036 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 17037 |
+ |
$as_echo_n "(cached) " >&6 |
| 17038 |
+ |
else |
| 17039 |
+ |
|
| 17040 |
+ |
ax_check_save_flags=$CFLAGS |
| 17041 |
+ |
CFLAGS="$CFLAGS $flag" |
| 17042 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17043 |
+ |
/* end confdefs.h. */ |
| 17044 |
+ |
|
| 17045 |
+ |
int |
| 17046 |
+ |
main () |
| 17047 |
+ |
{ |
| 17048 |
+ |
|
| 17049 |
+ |
; |
| 17050 |
+ |
return 0; |
| 17051 |
+ |
} |
| 17052 |
+ |
_ACEOF |
| 17053 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 17054 |
+ |
eval "$as_CACHEVAR=yes" |
| 17055 |
+ |
else |
| 17056 |
+ |
eval "$as_CACHEVAR=no" |
| 17057 |
+ |
fi |
| 17058 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 17059 |
+ |
CFLAGS=$ax_check_save_flags |
| 17060 |
|
fi |
| 17061 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 17062 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17063 |
+ |
$as_echo "$ac_res" >&6; } |
| 17064 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 17065 |
|
|
| 17066 |
+ |
if ${CFLAGS+:} false; then : |
| 17067 |
|
|
| 17068 |
+ |
case " $CFLAGS " in #( |
| 17069 |
+ |
*" $flag "*) : |
| 17070 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17071 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 17072 |
+ |
ac_status=$? |
| 17073 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17074 |
+ |
test $ac_status = 0; } ;; #( |
| 17075 |
+ |
*) : |
| 17076 |
+ |
|
| 17077 |
+ |
as_fn_append CFLAGS " $flag" |
| 17078 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17079 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17080 |
+ |
ac_status=$? |
| 17081 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17082 |
+ |
test $ac_status = 0; } |
| 17083 |
+ |
;; |
| 17084 |
+ |
esac |
| 17085 |
+ |
|
| 17086 |
+ |
else |
| 17087 |
+ |
|
| 17088 |
+ |
CFLAGS=$flag |
| 17089 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17090 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17091 |
+ |
ac_status=$? |
| 17092 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17093 |
+ |
test $ac_status = 0; } |
| 17094 |
+ |
|
| 17095 |
+ |
fi |
| 17096 |
+ |
|
| 17097 |
+ |
else |
| 17098 |
+ |
: |
| 17099 |
|
fi |
| 17100 |
|
|
| 17101 |
+ |
done |
| 17102 |
|
|
| 17103 |
|
|
| 17104 |
|
|
| 17353 |
|
|
| 17354 |
|
|
| 17355 |
|
|
| 16710 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 16711 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 16712 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16713 |
– |
fi |
| 17356 |
|
|
| 17357 |
|
: "${CONFIG_STATUS=./config.status}" |
| 17358 |
|
ac_write_fail=0 |
| 17750 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 17751 |
|
# values after options handling. |
| 17752 |
|
ac_log=" |
| 17753 |
< |
This file was extended by ircd-hybrid $as_me 8.2.7, which was |
| 17753 |
> |
This file was extended by ircd-hybrid $as_me 8.2.35, which was |
| 17754 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 17755 |
|
|
| 17756 |
|
CONFIG_FILES = $CONFIG_FILES |
| 17816 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17817 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 17818 |
|
ac_cs_version="\\ |
| 17819 |
< |
ircd-hybrid config.status 8.2.7 |
| 17819 |
> |
ircd-hybrid config.status 8.2.35 |
| 17820 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 17821 |
|
with options \\"\$ac_cs_config\\" |
| 17822 |
|
|
| 17935 |
|
# |
| 17936 |
|
# INIT-COMMANDS |
| 17937 |
|
# |
| 17938 |
< |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 17938 |
> |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 17939 |
|
|
| 17940 |
|
|
| 17941 |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 18839 |
|
# Older Autoconf quotes --file arguments for eval, but not when files |
| 18840 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 18841 |
|
# if we detect the quoting. |
| 18842 |
< |
case $CONFIG_FILES in |
| 18843 |
< |
*\'*) eval set x "$CONFIG_FILES" ;; |
| 18844 |
< |
*) set x $CONFIG_FILES ;; |
| 18845 |
< |
esac |
| 18842 |
> |
# TODO: see whether this extra hack can be removed once we start |
| 18843 |
> |
# requiring Autoconf 2.70 or later. |
| 18844 |
> |
case $CONFIG_FILES in #( |
| 18845 |
> |
*\'*) : |
| 18846 |
> |
eval set x "$CONFIG_FILES" ;; #( |
| 18847 |
> |
*) : |
| 18848 |
> |
set x $CONFIG_FILES ;; #( |
| 18849 |
> |
*) : |
| 18850 |
> |
;; |
| 18851 |
> |
esac |
| 18852 |
|
shift |
| 18853 |
< |
for mf |
| 18853 |
> |
# Used to flag and report bootstrapping failures. |
| 18854 |
> |
am_rc=0 |
| 18855 |
> |
for am_mf |
| 18856 |
|
do |
| 18857 |
|
# Strip MF so we end up with the name of the file. |
| 18858 |
< |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 18859 |
< |
# Check whether this is an Automake generated Makefile or not. |
| 18860 |
< |
# We used to match only the files named 'Makefile.in', but |
| 18861 |
< |
# some people rename them; so instead we look at the file content. |
| 18212 |
< |
# Grep'ing the first line is not enough: some people post-process |
| 18213 |
< |
# each Makefile.in and add a new line on top of each file to say so. |
| 18214 |
< |
# Grep'ing the whole file is not good either: AIX grep has a line |
| 18858 |
> |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
| 18859 |
> |
# Check whether this is an Automake generated Makefile which includes |
| 18860 |
> |
# dependency-tracking related rules and includes. |
| 18861 |
> |
# Grep'ing the whole file directly is not great: AIX grep has a line |
| 18862 |
|
# limit of 2048, but all sed's we know have understand at least 4000. |
| 18863 |
< |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 18864 |
< |
dirpart=`$as_dirname -- "$mf" || |
| 18865 |
< |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18866 |
< |
X"$mf" : 'X\(//\)[^/]' \| \ |
| 18867 |
< |
X"$mf" : 'X\(//\)$' \| \ |
| 18868 |
< |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 18869 |
< |
$as_echo X"$mf" | |
| 18863 |
> |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 18864 |
> |
|| continue |
| 18865 |
> |
am_dirpart=`$as_dirname -- "$am_mf" || |
| 18866 |
> |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18867 |
> |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 18868 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 18869 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 18870 |
> |
$as_echo X"$am_mf" | |
| 18871 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18872 |
|
s//\1/ |
| 18873 |
|
q |
| 18885 |
|
q |
| 18886 |
|
} |
| 18887 |
|
s/.*/./; q'` |
| 18888 |
< |
else |
| 18889 |
< |
continue |
| 18890 |
< |
fi |
| 18891 |
< |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 18892 |
< |
# from the Makefile without running 'make'. |
| 18893 |
< |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 18246 |
< |
test -z "$DEPDIR" && continue |
| 18247 |
< |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 18248 |
< |
test -z "$am__include" && continue |
| 18249 |
< |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 18250 |
< |
# Find all dependency output files, they are included files with |
| 18251 |
< |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 18252 |
< |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 18253 |
< |
# expansion. |
| 18254 |
< |
for file in `sed -n " |
| 18255 |
< |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 18256 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 18257 |
< |
# Make sure the directory exists. |
| 18258 |
< |
test -f "$dirpart/$file" && continue |
| 18259 |
< |
fdir=`$as_dirname -- "$file" || |
| 18260 |
< |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18261 |
< |
X"$file" : 'X\(//\)[^/]' \| \ |
| 18262 |
< |
X"$file" : 'X\(//\)$' \| \ |
| 18263 |
< |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 18264 |
< |
$as_echo X"$file" | |
| 18265 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18266 |
< |
s//\1/ |
| 18267 |
< |
q |
| 18268 |
< |
} |
| 18269 |
< |
/^X\(\/\/\)[^/].*/{ |
| 18888 |
> |
am_filepart=`$as_basename -- "$am_mf" || |
| 18889 |
> |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 18890 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 18891 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 18892 |
> |
$as_echo X/"$am_mf" | |
| 18893 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 18894 |
|
s//\1/ |
| 18895 |
|
q |
| 18896 |
|
} |
| 18897 |
< |
/^X\(\/\/\)$/{ |
| 18897 |
> |
/^X\/\(\/\/\)$/{ |
| 18898 |
|
s//\1/ |
| 18899 |
|
q |
| 18900 |
|
} |
| 18901 |
< |
/^X\(\/\).*/{ |
| 18901 |
> |
/^X\/\(\/\).*/{ |
| 18902 |
|
s//\1/ |
| 18903 |
|
q |
| 18904 |
|
} |
| 18905 |
|
s/.*/./; q'` |
| 18906 |
< |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 18907 |
< |
# echo "creating $dirpart/$file" |
| 18908 |
< |
echo '# dummy' > "$dirpart/$file" |
| 18909 |
< |
done |
| 18906 |
> |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 18907 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 18908 |
> |
| $MAKE -f - am--depfiles" >&5 |
| 18909 |
> |
(cd "$am_dirpart" \ |
| 18910 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 18911 |
> |
| $MAKE -f - am--depfiles) >&5 2>&5 |
| 18912 |
> |
ac_status=$? |
| 18913 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18914 |
> |
(exit $ac_status); } || am_rc=$? |
| 18915 |
|
done |
| 18916 |
+ |
if test $am_rc -ne 0; then |
| 18917 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 18918 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 18919 |
+ |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 18920 |
+ |
for automatic dependency tracking. Try re-running configure with the |
| 18921 |
+ |
'--disable-dependency-tracking' option to at least be able to build |
| 18922 |
+ |
the package (albeit without support for automatic dependency tracking). |
| 18923 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 18924 |
+ |
fi |
| 18925 |
+ |
{ am_dirpart=; unset am_dirpart;} |
| 18926 |
+ |
{ am_filepart=; unset am_filepart;} |
| 18927 |
+ |
{ am_mf=; unset am_mf;} |
| 18928 |
+ |
{ am_rc=; unset am_rc;} |
| 18929 |
+ |
rm -f conftest-deps.mk |
| 18930 |
|
} |
| 18931 |
|
;; |
| 18932 |
|
"libtool":C) |
| 18944 |
|
cat <<_LT_EOF >> "$cfgfile" |
| 18945 |
|
#! $SHELL |
| 18946 |
|
# Generated automatically by $as_me ($PACKAGE) $VERSION |
| 18304 |
– |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 18947 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 18948 |
|
|
| 18949 |
|
# Provide generalized library-building support services. |