| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 7519 2016-03-30 18:26:55Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 9260 2020-02-02 19:22:23Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.18. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.30. |
| 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.18' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8.2.18' |
| 596 |
> |
PACKAGE_VERSION='8.2.30' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.30' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 709 |
|
AMDEPBACKSLASH |
| 710 |
|
AMDEP_FALSE |
| 711 |
|
AMDEP_TRUE |
| 712 |
– |
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_gnutls |
| 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.18 to adapt to many kinds of systems. |
| 1381 |
> |
\`configure' configures ircd-hybrid 8.2.30 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.18:";; |
| 1452 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.30:";; |
| 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. |
| 1473 |
< |
--enable-gnutls Enable GnuTLS support. |
| 1474 |
< |
--disable-gnutls Disable GnuTLS support. |
| 1475 |
< |
--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.18 |
| 1586 |
> |
ircd-hybrid configure 8.2.30 |
| 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.18, which was |
| 2055 |
> |
It was created by ircd-hybrid $as_me 8.2.30, which was |
| 2056 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2057 |
|
|
| 2058 |
|
$ $0 $@ |
| 2336 |
|
as_fn_append ac_func_list " strlcat" |
| 2337 |
|
as_fn_append ac_func_list " strlcpy" |
| 2338 |
|
as_fn_append ac_header_list " crypt.h" |
| 2329 |
– |
as_fn_append ac_header_list " sys/resource.h" |
| 2339 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2340 |
|
as_fn_append ac_header_list " types.h" |
| 2341 |
|
as_fn_append ac_header_list " socket.h" |
| 2408 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2409 |
|
|
| 2410 |
|
|
| 2411 |
< |
am__api_version='1.15' |
| 2411 |
> |
am__api_version='1.16' |
| 2412 |
|
|
| 2413 |
|
ac_aux_dir= |
| 2414 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2923 |
|
|
| 2924 |
|
# Define the identity of the package. |
| 2925 |
|
PACKAGE='ircd-hybrid' |
| 2926 |
< |
VERSION='8.2.18' |
| 2926 |
> |
VERSION='8.2.30' |
| 2927 |
|
|
| 2928 |
|
|
| 2929 |
|
cat >>confdefs.h <<_ACEOF |
| 2953 |
|
|
| 2954 |
|
# For better backward compatibility. To be removed once Automake 1.9.x |
| 2955 |
|
# dies out for good. For more background, see: |
| 2956 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2957 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2956 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2957 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2958 |
|
mkdir_p='$(MKDIR_P)' |
| 2959 |
|
|
| 2960 |
|
# We need awk for the "check" target (and possibly the TAP driver). The |
| 3005 |
|
Aborting the configuration process, to ensure you take notice of the issue. |
| 3006 |
|
|
| 3007 |
|
You can download and install GNU coreutils to get an 'rm' implementation |
| 3008 |
< |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3008 |
> |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 3009 |
|
|
| 3010 |
|
If you want to complete the configuration process using your problematic |
| 3011 |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3049 |
|
|
| 3050 |
|
ac_config_commands="$ac_config_commands depfiles" |
| 3051 |
|
|
| 3052 |
< |
|
| 3053 |
< |
am_make=${MAKE-make} |
| 3054 |
< |
cat > confinc << 'END' |
| 3052 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 3053 |
> |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 3054 |
> |
cat > confinc.mk << 'END' |
| 3055 |
|
am__doit: |
| 3056 |
< |
@echo this is the am__doit target |
| 3056 |
> |
@echo this is the am__doit target >confinc.out |
| 3057 |
|
.PHONY: am__doit |
| 3058 |
|
END |
| 3050 |
– |
# If we don't find an include directive, just comment out the code. |
| 3051 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3052 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3059 |
|
am__include="#" |
| 3060 |
|
am__quote= |
| 3061 |
< |
_am_result=none |
| 3062 |
< |
# First try GNU make style include. |
| 3063 |
< |
echo "include confinc" > confmf |
| 3064 |
< |
# Ignore all kinds of additional output from 'make'. |
| 3065 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3066 |
< |
*the\ am__doit\ target*) |
| 3067 |
< |
am__include=include |
| 3068 |
< |
am__quote= |
| 3069 |
< |
_am_result=GNU |
| 3070 |
< |
;; |
| 3071 |
< |
esac |
| 3072 |
< |
# Now try BSD make style include. |
| 3073 |
< |
if test "$am__include" = "#"; then |
| 3074 |
< |
echo '.include "confinc"' > confmf |
| 3075 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3076 |
< |
*the\ am__doit\ target*) |
| 3077 |
< |
am__include=.include |
| 3078 |
< |
am__quote="\"" |
| 3079 |
< |
_am_result=BSD |
| 3061 |
> |
# BSD make does it like this. |
| 3062 |
> |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 3063 |
> |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 3064 |
> |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 3065 |
> |
_am_result=no |
| 3066 |
> |
for s in GNU BSD; do |
| 3067 |
> |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 3068 |
> |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 3069 |
> |
ac_status=$? |
| 3070 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3071 |
> |
(exit $ac_status); } |
| 3072 |
> |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 3073 |
> |
'0:this is the am__doit target') : |
| 3074 |
> |
case $s in #( |
| 3075 |
> |
BSD) : |
| 3076 |
> |
am__include='.include' am__quote='"' ;; #( |
| 3077 |
> |
*) : |
| 3078 |
> |
am__include='include' am__quote='' ;; |
| 3079 |
> |
esac ;; #( |
| 3080 |
> |
*) : |
| 3081 |
|
;; |
| 3082 |
< |
esac |
| 3083 |
< |
fi |
| 3084 |
< |
|
| 3085 |
< |
|
| 3086 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3087 |
< |
$as_echo "$_am_result" >&6; } |
| 3088 |
< |
rm -f confinc confmf |
| 3082 |
> |
esac |
| 3083 |
> |
if test "$am__include" != "#"; then |
| 3084 |
> |
_am_result="yes ($s style)" |
| 3085 |
> |
break |
| 3086 |
> |
fi |
| 3087 |
> |
done |
| 3088 |
> |
rm -f confinc.* confmf.* |
| 3089 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 3090 |
> |
$as_echo "${_am_result}" >&6; } |
| 3091 |
|
|
| 3092 |
|
# Check whether --enable-dependency-tracking was given. |
| 3093 |
|
if test "${enable_dependency_tracking+set}" = set; then : |
| 5789 |
|
lt_cv_deplibs_check_method=pass_all |
| 5790 |
|
;; |
| 5791 |
|
|
| 5792 |
< |
netbsd*) |
| 5792 |
> |
netbsd* | netbsdelf*-gnu) |
| 5793 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 5794 |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 5795 |
|
else |
| 6652 |
|
test $ac_status = 0; }; then |
| 6653 |
|
# Now try to grab the symbols. |
| 6654 |
|
nlist=conftest.nm |
| 6655 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
| 6656 |
< |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
| 6648 |
< |
ac_status=$? |
| 6649 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6650 |
< |
test $ac_status = 0; } && test -s "$nlist"; then |
| 6655 |
> |
$ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
| 6656 |
> |
if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then |
| 6657 |
|
# Try sorting and uniquifying the output. |
| 6658 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
| 6659 |
|
mv -f "$nlist"T "$nlist" |
| 9000 |
|
lt_prog_compiler_pic='-KPIC' |
| 9001 |
|
lt_prog_compiler_static='-static' |
| 9002 |
|
;; |
| 9003 |
+ |
# flang / f18. f95 an alias for gfortran or flang on Debian |
| 9004 |
+ |
flang* | f18* | f95*) |
| 9005 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 9006 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 9007 |
+ |
lt_prog_compiler_static='-static' |
| 9008 |
+ |
;; |
| 9009 |
|
# icc used to be incompatible with GCC. |
| 9010 |
|
# ICC 10 doesn't accept -KPIC any more. |
| 9011 |
|
icc* | ifort*) |
| 9482 |
|
openbsd* | bitrig*) |
| 9483 |
|
with_gnu_ld=no |
| 9484 |
|
;; |
| 9485 |
+ |
linux* | k*bsd*-gnu | gnu*) |
| 9486 |
+ |
link_all_deplibs=no |
| 9487 |
+ |
;; |
| 9488 |
|
esac |
| 9489 |
|
|
| 9490 |
|
ld_shlibs=yes |
| 9739 |
|
fi |
| 9740 |
|
;; |
| 9741 |
|
|
| 9742 |
< |
netbsd*) |
| 9742 |
> |
netbsd* | netbsdelf*-gnu) |
| 9743 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 9744 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 9745 |
|
wlarc= |
| 10409 |
|
if test yes = "$lt_cv_irix_exported_symbol"; then |
| 10410 |
|
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' |
| 10411 |
|
fi |
| 10412 |
+ |
link_all_deplibs=no |
| 10413 |
|
else |
| 10414 |
|
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' |
| 10415 |
|
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' |
| 10431 |
|
esac |
| 10432 |
|
;; |
| 10433 |
|
|
| 10434 |
< |
netbsd*) |
| 10434 |
> |
netbsd* | netbsdelf*-gnu) |
| 10435 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 10436 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 10437 |
|
else |
| 11546 |
|
dynamic_linker='GNU/Linux ld.so' |
| 11547 |
|
;; |
| 11548 |
|
|
| 11549 |
+ |
netbsdelf*-gnu) |
| 11550 |
+ |
version_type=linux |
| 11551 |
+ |
need_lib_prefix=no |
| 11552 |
+ |
need_version=no |
| 11553 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 11554 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11555 |
+ |
shlibpath_var=LD_LIBRARY_PATH |
| 11556 |
+ |
shlibpath_overrides_runpath=no |
| 11557 |
+ |
hardcode_into_libs=yes |
| 11558 |
+ |
dynamic_linker='NetBSD ld.elf_so' |
| 11559 |
+ |
;; |
| 11560 |
+ |
|
| 11561 |
|
netbsd*) |
| 11562 |
|
version_type=sunos |
| 11563 |
|
need_lib_prefix=no |
| 13180 |
|
# at 6.2 and later dlopen does load deplibs. |
| 13181 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 13182 |
|
;; |
| 13183 |
< |
netbsd*) |
| 13183 |
> |
netbsd* | netbsdelf*-gnu) |
| 13184 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 13185 |
|
;; |
| 13186 |
|
openbsd*) |
| 13755 |
|
fi |
| 13756 |
|
|
| 13757 |
|
|
| 13730 |
– |
|
| 13731 |
– |
|
| 13732 |
– |
|
| 13733 |
– |
|
| 13734 |
– |
for flag in -fno-strict-aliasing; do |
| 13735 |
– |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13736 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13737 |
– |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13738 |
– |
if eval \${$as_CACHEVAR+:} false; then : |
| 13739 |
– |
$as_echo_n "(cached) " >&6 |
| 13740 |
– |
else |
| 13741 |
– |
|
| 13742 |
– |
ax_check_save_flags=$CFLAGS |
| 13743 |
– |
CFLAGS="$CFLAGS $flag" |
| 13744 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13745 |
– |
/* end confdefs.h. */ |
| 13746 |
– |
|
| 13747 |
– |
int |
| 13748 |
– |
main () |
| 13749 |
– |
{ |
| 13750 |
– |
|
| 13751 |
– |
; |
| 13752 |
– |
return 0; |
| 13753 |
– |
} |
| 13754 |
– |
_ACEOF |
| 13755 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13756 |
– |
eval "$as_CACHEVAR=yes" |
| 13757 |
– |
else |
| 13758 |
– |
eval "$as_CACHEVAR=no" |
| 13759 |
– |
fi |
| 13760 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13761 |
– |
CFLAGS=$ax_check_save_flags |
| 13762 |
– |
fi |
| 13763 |
– |
eval ac_res=\$$as_CACHEVAR |
| 13764 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13765 |
– |
$as_echo "$ac_res" >&6; } |
| 13766 |
– |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13767 |
– |
|
| 13768 |
– |
if ${CFLAGS+:} false; then : |
| 13769 |
– |
|
| 13770 |
– |
case " $CFLAGS " in #( |
| 13771 |
– |
*" $flag "*) : |
| 13772 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13773 |
– |
(: CFLAGS already contains $flag) 2>&5 |
| 13774 |
– |
ac_status=$? |
| 13775 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13776 |
– |
test $ac_status = 0; } ;; #( |
| 13777 |
– |
*) : |
| 13778 |
– |
|
| 13779 |
– |
as_fn_append CFLAGS " $flag" |
| 13780 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13781 |
– |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13782 |
– |
ac_status=$? |
| 13783 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13784 |
– |
test $ac_status = 0; } |
| 13785 |
– |
;; |
| 13786 |
– |
esac |
| 13787 |
– |
|
| 13788 |
– |
else |
| 13789 |
– |
|
| 13790 |
– |
CFLAGS=$flag |
| 13791 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13792 |
– |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13793 |
– |
ac_status=$? |
| 13794 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13795 |
– |
test $ac_status = 0; } |
| 13796 |
– |
|
| 13797 |
– |
fi |
| 13798 |
– |
|
| 13799 |
– |
else |
| 13800 |
– |
: |
| 13801 |
– |
fi |
| 13802 |
– |
|
| 13803 |
– |
done |
| 13804 |
– |
|
| 13805 |
– |
|
| 13758 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13759 |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13760 |
|
|
| 14219 |
|
|
| 14220 |
|
|
| 14221 |
|
|
| 14270 |
– |
|
| 14271 |
– |
|
| 14222 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 14223 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 14224 |
|
if ${ac_cv_search_crypt+:} false; then : |
| 14276 |
|
fi |
| 14277 |
|
|
| 14278 |
|
|
| 14329 |
– |
# Define various chunk sizes for the pooling allocator |
| 14330 |
– |
|
| 14331 |
– |
|
| 14332 |
– |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14333 |
– |
|
| 14334 |
– |
|
| 14335 |
– |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14336 |
– |
|
| 14337 |
– |
|
| 14338 |
– |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14339 |
– |
|
| 14340 |
– |
|
| 14341 |
– |
$as_echo "#define MP_CHUNK_SIZE_INVITE 4*1024" >>confdefs.h |
| 14342 |
– |
|
| 14343 |
– |
|
| 14344 |
– |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14345 |
– |
|
| 14346 |
– |
|
| 14347 |
– |
$as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h |
| 14348 |
– |
|
| 14349 |
– |
|
| 14350 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14351 |
– |
|
| 14352 |
– |
|
| 14353 |
– |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14354 |
– |
|
| 14355 |
– |
|
| 14356 |
– |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14357 |
– |
|
| 14358 |
– |
|
| 14359 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14360 |
– |
|
| 14361 |
– |
|
| 14362 |
– |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14363 |
– |
|
| 14364 |
– |
|
| 14365 |
– |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14366 |
– |
|
| 14367 |
– |
|
| 14368 |
– |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14369 |
– |
|
| 14370 |
– |
|
| 14371 |
– |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14372 |
– |
|
| 14373 |
– |
|
| 14374 |
– |
$as_echo "#define MP_CHUNK_SIZE_WHOWAS 256*1024" >>confdefs.h |
| 14375 |
– |
|
| 14376 |
– |
|
| 14377 |
– |
|
| 14279 |
|
# Argument processing. |
| 14280 |
|
|
| 14281 |
|
desired_iopoll_mechanism="none" |
| 14378 |
|
int |
| 14379 |
|
main () |
| 14380 |
|
{ |
| 14381 |
< |
epoll_create(256); |
| 14381 |
> |
epoll_create1(EPOLL_CLOEXEC); |
| 14382 |
|
; |
| 14383 |
|
return 0; |
| 14384 |
|
} |
| 14806 |
|
|
| 14807 |
|
|
| 14808 |
|
|
| 14809 |
+ |
for flag in -Wcast-function-type; do |
| 14810 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14811 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14812 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14813 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14814 |
+ |
$as_echo_n "(cached) " >&6 |
| 14815 |
+ |
else |
| 14816 |
+ |
|
| 14817 |
+ |
ax_check_save_flags=$CFLAGS |
| 14818 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14819 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14820 |
+ |
/* end confdefs.h. */ |
| 14821 |
+ |
|
| 14822 |
+ |
int |
| 14823 |
+ |
main () |
| 14824 |
+ |
{ |
| 14825 |
+ |
|
| 14826 |
+ |
; |
| 14827 |
+ |
return 0; |
| 14828 |
+ |
} |
| 14829 |
+ |
_ACEOF |
| 14830 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14831 |
+ |
eval "$as_CACHEVAR=yes" |
| 14832 |
+ |
else |
| 14833 |
+ |
eval "$as_CACHEVAR=no" |
| 14834 |
+ |
fi |
| 14835 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14836 |
+ |
CFLAGS=$ax_check_save_flags |
| 14837 |
+ |
fi |
| 14838 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14839 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14840 |
+ |
$as_echo "$ac_res" >&6; } |
| 14841 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14842 |
+ |
|
| 14843 |
+ |
if ${CFLAGS+:} false; then : |
| 14844 |
+ |
|
| 14845 |
+ |
case " $CFLAGS " in #( |
| 14846 |
+ |
*" $flag "*) : |
| 14847 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14848 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14849 |
+ |
ac_status=$? |
| 14850 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14851 |
+ |
test $ac_status = 0; } ;; #( |
| 14852 |
+ |
*) : |
| 14853 |
+ |
|
| 14854 |
+ |
as_fn_append CFLAGS " $flag" |
| 14855 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14856 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14857 |
+ |
ac_status=$? |
| 14858 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14859 |
+ |
test $ac_status = 0; } |
| 14860 |
+ |
;; |
| 14861 |
+ |
esac |
| 14862 |
+ |
|
| 14863 |
+ |
else |
| 14864 |
+ |
|
| 14865 |
+ |
CFLAGS=$flag |
| 14866 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14867 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14868 |
+ |
ac_status=$? |
| 14869 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14870 |
+ |
test $ac_status = 0; } |
| 14871 |
+ |
|
| 14872 |
+ |
fi |
| 14873 |
+ |
|
| 14874 |
+ |
else |
| 14875 |
+ |
: |
| 14876 |
+ |
fi |
| 14877 |
+ |
|
| 14878 |
+ |
done |
| 14879 |
+ |
|
| 14880 |
+ |
|
| 14881 |
+ |
|
| 14882 |
+ |
|
| 14883 |
+ |
|
| 14884 |
|
for flag in -Wcast-qual; do |
| 14885 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14886 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15031 |
|
|
| 15032 |
|
|
| 15033 |
|
|
| 15034 |
+ |
for flag in -Wduplicated-cond; do |
| 15035 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15036 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15037 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15038 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 15039 |
+ |
$as_echo_n "(cached) " >&6 |
| 15040 |
+ |
else |
| 15041 |
+ |
|
| 15042 |
+ |
ax_check_save_flags=$CFLAGS |
| 15043 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15044 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15045 |
+ |
/* end confdefs.h. */ |
| 15046 |
+ |
|
| 15047 |
+ |
int |
| 15048 |
+ |
main () |
| 15049 |
+ |
{ |
| 15050 |
+ |
|
| 15051 |
+ |
; |
| 15052 |
+ |
return 0; |
| 15053 |
+ |
} |
| 15054 |
+ |
_ACEOF |
| 15055 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15056 |
+ |
eval "$as_CACHEVAR=yes" |
| 15057 |
+ |
else |
| 15058 |
+ |
eval "$as_CACHEVAR=no" |
| 15059 |
+ |
fi |
| 15060 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15061 |
+ |
CFLAGS=$ax_check_save_flags |
| 15062 |
+ |
fi |
| 15063 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15064 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15065 |
+ |
$as_echo "$ac_res" >&6; } |
| 15066 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15067 |
+ |
|
| 15068 |
+ |
if ${CFLAGS+:} false; then : |
| 15069 |
+ |
|
| 15070 |
+ |
case " $CFLAGS " in #( |
| 15071 |
+ |
*" $flag "*) : |
| 15072 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15073 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15074 |
+ |
ac_status=$? |
| 15075 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15076 |
+ |
test $ac_status = 0; } ;; #( |
| 15077 |
+ |
*) : |
| 15078 |
+ |
|
| 15079 |
+ |
as_fn_append CFLAGS " $flag" |
| 15080 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15081 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15082 |
+ |
ac_status=$? |
| 15083 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15084 |
+ |
test $ac_status = 0; } |
| 15085 |
+ |
;; |
| 15086 |
+ |
esac |
| 15087 |
+ |
|
| 15088 |
+ |
else |
| 15089 |
+ |
|
| 15090 |
+ |
CFLAGS=$flag |
| 15091 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15092 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15093 |
+ |
ac_status=$? |
| 15094 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15095 |
+ |
test $ac_status = 0; } |
| 15096 |
+ |
|
| 15097 |
+ |
fi |
| 15098 |
+ |
|
| 15099 |
+ |
else |
| 15100 |
+ |
: |
| 15101 |
+ |
fi |
| 15102 |
+ |
|
| 15103 |
+ |
done |
| 15104 |
+ |
|
| 15105 |
+ |
|
| 15106 |
+ |
|
| 15107 |
+ |
|
| 15108 |
+ |
|
| 15109 |
|
for flag in -Wempty-body; do |
| 15110 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15111 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16156 |
|
|
| 16157 |
|
|
| 16158 |
|
|
| 16159 |
+ |
for flag in -Wshift-negative-value; do |
| 16160 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16161 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16162 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 16163 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 16164 |
+ |
$as_echo_n "(cached) " >&6 |
| 16165 |
+ |
else |
| 16166 |
+ |
|
| 16167 |
+ |
ax_check_save_flags=$CFLAGS |
| 16168 |
+ |
CFLAGS="$CFLAGS $flag" |
| 16169 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16170 |
+ |
/* end confdefs.h. */ |
| 16171 |
+ |
|
| 16172 |
+ |
int |
| 16173 |
+ |
main () |
| 16174 |
+ |
{ |
| 16175 |
+ |
|
| 16176 |
+ |
; |
| 16177 |
+ |
return 0; |
| 16178 |
+ |
} |
| 16179 |
+ |
_ACEOF |
| 16180 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 16181 |
+ |
eval "$as_CACHEVAR=yes" |
| 16182 |
+ |
else |
| 16183 |
+ |
eval "$as_CACHEVAR=no" |
| 16184 |
+ |
fi |
| 16185 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16186 |
+ |
CFLAGS=$ax_check_save_flags |
| 16187 |
+ |
fi |
| 16188 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 16189 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16190 |
+ |
$as_echo "$ac_res" >&6; } |
| 16191 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 16192 |
+ |
|
| 16193 |
+ |
if ${CFLAGS+:} false; then : |
| 16194 |
+ |
|
| 16195 |
+ |
case " $CFLAGS " in #( |
| 16196 |
+ |
*" $flag "*) : |
| 16197 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16198 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 16199 |
+ |
ac_status=$? |
| 16200 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16201 |
+ |
test $ac_status = 0; } ;; #( |
| 16202 |
+ |
*) : |
| 16203 |
+ |
|
| 16204 |
+ |
as_fn_append CFLAGS " $flag" |
| 16205 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16206 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16207 |
+ |
ac_status=$? |
| 16208 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16209 |
+ |
test $ac_status = 0; } |
| 16210 |
+ |
;; |
| 16211 |
+ |
esac |
| 16212 |
+ |
|
| 16213 |
+ |
else |
| 16214 |
+ |
|
| 16215 |
+ |
CFLAGS=$flag |
| 16216 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16217 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16218 |
+ |
ac_status=$? |
| 16219 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16220 |
+ |
test $ac_status = 0; } |
| 16221 |
+ |
|
| 16222 |
+ |
fi |
| 16223 |
+ |
|
| 16224 |
+ |
else |
| 16225 |
+ |
: |
| 16226 |
+ |
fi |
| 16227 |
+ |
|
| 16228 |
+ |
done |
| 16229 |
+ |
|
| 16230 |
+ |
|
| 16231 |
+ |
|
| 16232 |
+ |
|
| 16233 |
+ |
|
| 16234 |
|
for flag in -Wsign-compare; do |
| 16235 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16236 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16606 |
|
fi |
| 16607 |
|
|
| 16608 |
|
|
| 16609 |
< |
# Check whether --enable-openssl was given. |
| 16610 |
< |
if test "${enable_openssl+set}" = set; then : |
| 16611 |
< |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 16612 |
< |
else |
| 16613 |
< |
cf_enable_openssl="auto" |
| 16609 |
> |
# Check whether --enable-efence was given. |
| 16610 |
> |
if test "${enable_efence+set}" = set; then : |
| 16611 |
> |
enableval=$enable_efence; efence="$enableval" |
| 16612 |
> |
else |
| 16613 |
> |
efence="no" |
| 16614 |
|
fi |
| 16615 |
|
|
| 16490 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
| 16491 |
– |
$as_echo_n "checking for LibreSSL/OpenSSL... " >&6; } |
| 16492 |
– |
if test "$cf_enable_openssl" != "no"; then |
| 16493 |
– |
cf_openssl_basedir="" |
| 16494 |
– |
if test "$cf_enable_openssl" != "auto" && |
| 16495 |
– |
test "$cf_enable_openssl" != "yes"; then |
| 16496 |
– |
cf_openssl_basedir="${cf_enable_openssl}" |
| 16497 |
– |
else |
| 16498 |
– |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 16499 |
– |
/opt /opt/openssl /usr/local/openssl; do |
| 16500 |
– |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 16501 |
– |
cf_openssl_basedir="${dirs}" |
| 16502 |
– |
break |
| 16503 |
– |
fi |
| 16504 |
– |
done |
| 16505 |
– |
unset dirs |
| 16506 |
– |
fi |
| 16616 |
|
|
| 16617 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 16509 |
< |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 16510 |
< |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 16511 |
< |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 16512 |
< |
else |
| 16513 |
< |
cf_openssl_basedir="" |
| 16514 |
< |
fi |
| 16515 |
< |
else |
| 16516 |
< |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 16517 |
< |
cf_openssl_basedir="/usr" |
| 16518 |
< |
fi |
| 16519 |
< |
fi |
| 16617 |
> |
if test "$efence" = "yes"; then : |
| 16618 |
|
|
| 16619 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 16620 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 16621 |
< |
$as_echo "$cf_openssl_basedir" >&6; } |
| 16622 |
< |
cf_enable_openssl="yes" |
| 16619 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 16620 |
> |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 16621 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16622 |
> |
$as_echo_n "(cached) " >&6 |
| 16623 |
> |
else |
| 16624 |
> |
ac_func_search_save_LIBS=$LIBS |
| 16625 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16626 |
> |
/* end confdefs.h. */ |
| 16627 |
> |
|
| 16628 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 16629 |
> |
Use char because int might match the return type of a GCC |
| 16630 |
> |
builtin and then its argument prototype would still apply. */ |
| 16631 |
> |
#ifdef __cplusplus |
| 16632 |
> |
extern "C" |
| 16633 |
> |
#endif |
| 16634 |
> |
char EF_Print (); |
| 16635 |
> |
int |
| 16636 |
> |
main () |
| 16637 |
> |
{ |
| 16638 |
> |
return EF_Print (); |
| 16639 |
> |
; |
| 16640 |
> |
return 0; |
| 16641 |
> |
} |
| 16642 |
> |
_ACEOF |
| 16643 |
> |
for ac_lib in '' efence; do |
| 16644 |
> |
if test -z "$ac_lib"; then |
| 16645 |
> |
ac_res="none required" |
| 16646 |
|
else |
| 16647 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 16648 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 16528 |
< |
cf_enable_openssl="no" |
| 16647 |
> |
ac_res=-l$ac_lib |
| 16648 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16649 |
|
fi |
| 16650 |
< |
unset cf_openssl_basedir |
| 16650 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 16651 |
> |
ac_cv_search_EF_Print=$ac_res |
| 16652 |
> |
fi |
| 16653 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 16654 |
> |
conftest$ac_exeext |
| 16655 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16656 |
> |
break |
| 16657 |
> |
fi |
| 16658 |
> |
done |
| 16659 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16660 |
> |
|
| 16661 |
|
else |
| 16662 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 16663 |
< |
$as_echo "disabled" >&6; } |
| 16662 |
> |
ac_cv_search_EF_Print=no |
| 16663 |
> |
fi |
| 16664 |
> |
rm conftest.$ac_ext |
| 16665 |
> |
LIBS=$ac_func_search_save_LIBS |
| 16666 |
|
fi |
| 16667 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 16668 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 16669 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 16670 |
+ |
if test "$ac_res" != no; then : |
| 16671 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 16672 |
|
|
| 16673 |
< |
if test "$cf_enable_openssl" != "no"; then : |
| 16674 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5 |
| 16675 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; } |
| 16676 |
< |
if test "$cross_compiling" = yes; then : |
| 16677 |
< |
cf_openssl_version_ok=no |
| 16673 |
> |
else |
| 16674 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16675 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16676 |
> |
as_fn_error $? "Electric Fence 'efence' library not found |
| 16677 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16678 |
> |
fi |
| 16679 |
> |
|
| 16680 |
> |
|
| 16681 |
> |
fi |
| 16682 |
> |
|
| 16683 |
> |
|
| 16684 |
> |
|
| 16685 |
> |
|
| 16686 |
> |
# Check whether --with-tls was given. |
| 16687 |
> |
if test "${with_tls+set}" = set; then : |
| 16688 |
> |
withval=$with_tls; with_tls=$withval |
| 16689 |
> |
else |
| 16690 |
> |
with_tls=auto |
| 16691 |
> |
fi |
| 16692 |
> |
|
| 16693 |
> |
|
| 16694 |
> |
if test "$with_tls" = "openssl" || |
| 16695 |
> |
test "$with_tls" = "auto"; then |
| 16696 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" |
| 16697 |
> |
if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : |
| 16698 |
> |
|
| 16699 |
> |
if test "$cross_compiling" = yes; then : |
| 16700 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16701 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16702 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16703 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16704 |
|
else |
| 16705 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16706 |
|
/* end confdefs.h. */ |
| 16707 |
|
|
| 16708 |
|
|
| 16709 |
< |
#include <openssl/opensslv.h> |
| 16710 |
< |
#include <stdlib.h> |
| 16709 |
> |
#include <openssl/opensslv.h> |
| 16710 |
> |
#include <stdlib.h> |
| 16711 |
|
int |
| 16712 |
|
main () |
| 16713 |
|
{ |
| 16714 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); |
| 16714 |
> |
|
| 16715 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL)); |
| 16716 |
|
; |
| 16717 |
|
return 0; |
| 16718 |
|
} |
| 16719 |
|
_ACEOF |
| 16720 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 16721 |
< |
cf_openssl_version_ok=yes |
| 16558 |
< |
else |
| 16559 |
< |
cf_openssl_version_ok=no |
| 16560 |
< |
fi |
| 16561 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16562 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16563 |
< |
fi |
| 16564 |
< |
|
| 16565 |
< |
|
| 16566 |
< |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 16567 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16568 |
< |
$as_echo "found" >&6; } |
| 16569 |
< |
|
| 16570 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 16721 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 16722 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 16723 |
|
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 16724 |
|
$as_echo_n "(cached) " >&6 |
| 16763 |
|
|
| 16764 |
|
fi |
| 16765 |
|
|
| 16766 |
+ |
fi |
| 16767 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16768 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16769 |
+ |
fi |
| 16770 |
+ |
|
| 16771 |
+ |
fi |
| 16772 |
+ |
|
| 16773 |
+ |
|
| 16774 |
+ |
|
| 16775 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 16776 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 16777 |
|
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 16820 |
|
|
| 16821 |
|
fi |
| 16822 |
|
|
| 16823 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
| 16824 |
+ |
$as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
| 16825 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
| 16826 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16827 |
+ |
$as_echo "found" >&6; } |
| 16828 |
|
else |
| 16829 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
| 16830 |
|
$as_echo "no - LibreSSL/OpenSSL support disabled" >&6; } |
| 16666 |
– |
cf_enable_openssl="no" |
| 16831 |
|
fi |
| 16668 |
– |
fi |
| 16669 |
– |
|
| 16832 |
|
|
| 16671 |
– |
# Check whether --enable-gnutls was given. |
| 16672 |
– |
if test "${enable_gnutls+set}" = set; then : |
| 16673 |
– |
enableval=$enable_gnutls; cf_enable_gnutls=$enableval |
| 16674 |
– |
else |
| 16675 |
– |
cf_enable_gnutls="auto" |
| 16833 |
|
fi |
| 16834 |
|
|
| 16835 |
< |
|
| 16836 |
< |
if test "$cf_enable_openssl" != "auto" && |
| 16837 |
< |
test "$cf_enable_openssl" != "yes"; then |
| 16681 |
< |
if test "$cf_enable_gnutls" != "no"; then |
| 16835 |
> |
if test "$with_tls" = "gnutls" || |
| 16836 |
> |
test "$with_tls" = "auto"; then |
| 16837 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then |
| 16838 |
|
|
| 16839 |
|
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
| 16840 |
|
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
| 16855 |
|
main () |
| 16856 |
|
{ |
| 16857 |
|
|
| 16858 |
< |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030308)); |
| 16858 |
> |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030605)); |
| 16859 |
|
; |
| 16860 |
|
return 0; |
| 16861 |
|
} |
| 16862 |
|
_ACEOF |
| 16863 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 16864 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16864 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16865 |
|
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
| 16866 |
|
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
| 16867 |
|
$as_echo_n "(cached) " >&6 |
| 16915 |
|
|
| 16916 |
|
|
| 16917 |
|
|
| 16918 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.3.8 and above" >&5 |
| 16919 |
< |
$as_echo_n "checking for GnuTLS 3.3.8 and above... " >&6; } |
| 16918 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5 |
| 16919 |
> |
$as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; } |
| 16920 |
|
if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then : |
| 16921 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16922 |
|
$as_echo "found" >&6; } |
| 16928 |
|
fi |
| 16929 |
|
fi |
| 16930 |
|
|
| 16931 |
+ |
if test "$with_tls" = "wolfssl" || |
| 16932 |
+ |
test "$with_tls" = "auto"; then |
| 16933 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes" && |
| 16934 |
+ |
test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then |
| 16935 |
|
|
| 16936 |
< |
# Check whether --enable-libgeoip was given. |
| 16937 |
< |
if test "${enable_libgeoip+set}" = set; then : |
| 16938 |
< |
enableval=$enable_libgeoip; |
| 16939 |
< |
else |
| 16940 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 16941 |
< |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 16942 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16943 |
< |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 16944 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16936 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default" |
| 16937 |
> |
if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then : |
| 16938 |
> |
|
| 16939 |
> |
if test "$cross_compiling" = yes; then : |
| 16940 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16941 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16942 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16943 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16944 |
> |
else |
| 16945 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16946 |
> |
/* end confdefs.h. */ |
| 16947 |
> |
|
| 16948 |
> |
|
| 16949 |
> |
#include <wolfssl/version.h> |
| 16950 |
> |
#include <stdlib.h> |
| 16951 |
> |
int |
| 16952 |
> |
main () |
| 16953 |
> |
{ |
| 16954 |
> |
|
| 16955 |
> |
exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000)); |
| 16956 |
> |
; |
| 16957 |
> |
return 0; |
| 16958 |
> |
} |
| 16959 |
> |
_ACEOF |
| 16960 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 16961 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5 |
| 16962 |
> |
$as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; } |
| 16963 |
> |
if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then : |
| 16964 |
|
$as_echo_n "(cached) " >&6 |
| 16965 |
|
else |
| 16966 |
< |
ac_func_search_save_LIBS=$LIBS |
| 16966 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 16967 |
> |
LIBS="-lwolfssl $LIBS" |
| 16968 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16969 |
|
/* end confdefs.h. */ |
| 16970 |
|
|
| 16974 |
|
#ifdef __cplusplus |
| 16975 |
|
extern "C" |
| 16976 |
|
#endif |
| 16977 |
< |
char GeoIP_id_by_ipnum_v6_gl (); |
| 16977 |
> |
char wolfSSL_X509_digest (); |
| 16978 |
|
int |
| 16979 |
|
main () |
| 16980 |
|
{ |
| 16981 |
< |
return GeoIP_id_by_ipnum_v6_gl (); |
| 16981 |
> |
return wolfSSL_X509_digest (); |
| 16982 |
|
; |
| 16983 |
|
return 0; |
| 16984 |
|
} |
| 16985 |
|
_ACEOF |
| 16986 |
< |
for ac_lib in '' GeoIP; do |
| 16987 |
< |
if test -z "$ac_lib"; then |
| 16988 |
< |
ac_res="none required" |
| 16989 |
< |
else |
| 16810 |
< |
ac_res=-l$ac_lib |
| 16811 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16812 |
< |
fi |
| 16813 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 16814 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 16986 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 16987 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes |
| 16988 |
> |
else |
| 16989 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=no |
| 16990 |
|
fi |
| 16991 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 16992 |
< |
conftest$ac_exeext |
| 16993 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16819 |
< |
break |
| 16992 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 16993 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 16994 |
|
fi |
| 16995 |
< |
done |
| 16996 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16995 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5 |
| 16996 |
> |
$as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; } |
| 16997 |
> |
if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then : |
| 16998 |
> |
cat >>confdefs.h <<_ACEOF |
| 16999 |
> |
#define HAVE_LIBWOLFSSL 1 |
| 17000 |
> |
_ACEOF |
| 17001 |
> |
|
| 17002 |
> |
LIBS="-lwolfssl $LIBS" |
| 17003 |
|
|
| 16824 |
– |
else |
| 16825 |
– |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 17004 |
|
fi |
| 17005 |
< |
rm conftest.$ac_ext |
| 16828 |
< |
LIBS=$ac_func_search_save_LIBS |
| 17005 |
> |
|
| 17006 |
|
fi |
| 17007 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 17008 |
< |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 17009 |
< |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 17010 |
< |
if test "$ac_res" != no; then : |
| 17011 |
< |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 17007 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17008 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17009 |
> |
fi |
| 17010 |
> |
|
| 17011 |
> |
fi |
| 17012 |
> |
|
| 17013 |
> |
|
| 17014 |
|
|
| 17015 |
< |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 17015 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5 |
| 17016 |
> |
$as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; } |
| 17017 |
> |
if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then : |
| 17018 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 17019 |
> |
$as_echo "found" >&6; } |
| 17020 |
> |
else |
| 17021 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5 |
| 17022 |
> |
$as_echo "no - wolfSSL support disabled" >&6; } |
| 17023 |
> |
fi |
| 17024 |
|
|
| 17025 |
+ |
fi |
| 17026 |
|
fi |
| 17027 |
|
|
| 17028 |
+ |
|
| 17029 |
+ |
|
| 17030 |
+ |
# Disable -Wformat-truncation |
| 17031 |
+ |
|
| 17032 |
+ |
|
| 17033 |
+ |
|
| 17034 |
+ |
|
| 17035 |
+ |
for flag in -Wno-format-truncation; do |
| 17036 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 17037 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 17038 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 17039 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 17040 |
+ |
$as_echo_n "(cached) " >&6 |
| 17041 |
+ |
else |
| 17042 |
+ |
|
| 17043 |
+ |
ax_check_save_flags=$CFLAGS |
| 17044 |
+ |
CFLAGS="$CFLAGS $flag" |
| 17045 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17046 |
+ |
/* end confdefs.h. */ |
| 17047 |
+ |
|
| 17048 |
+ |
int |
| 17049 |
+ |
main () |
| 17050 |
+ |
{ |
| 17051 |
+ |
|
| 17052 |
+ |
; |
| 17053 |
+ |
return 0; |
| 17054 |
+ |
} |
| 17055 |
+ |
_ACEOF |
| 17056 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 17057 |
+ |
eval "$as_CACHEVAR=yes" |
| 17058 |
+ |
else |
| 17059 |
+ |
eval "$as_CACHEVAR=no" |
| 17060 |
+ |
fi |
| 17061 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 17062 |
+ |
CFLAGS=$ax_check_save_flags |
| 17063 |
|
fi |
| 17064 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 17065 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17066 |
+ |
$as_echo "$ac_res" >&6; } |
| 17067 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 17068 |
+ |
|
| 17069 |
+ |
if ${CFLAGS+:} false; then : |
| 17070 |
+ |
|
| 17071 |
+ |
case " $CFLAGS " in #( |
| 17072 |
+ |
*" $flag "*) : |
| 17073 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17074 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 17075 |
+ |
ac_status=$? |
| 17076 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17077 |
+ |
test $ac_status = 0; } ;; #( |
| 17078 |
+ |
*) : |
| 17079 |
+ |
|
| 17080 |
+ |
as_fn_append CFLAGS " $flag" |
| 17081 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17082 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17083 |
+ |
ac_status=$? |
| 17084 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17085 |
+ |
test $ac_status = 0; } |
| 17086 |
+ |
;; |
| 17087 |
+ |
esac |
| 17088 |
+ |
|
| 17089 |
+ |
else |
| 17090 |
|
|
| 17091 |
+ |
CFLAGS=$flag |
| 17092 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17093 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17094 |
+ |
ac_status=$? |
| 17095 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17096 |
+ |
test $ac_status = 0; } |
| 17097 |
|
|
| 17098 |
|
fi |
| 17099 |
|
|
| 17100 |
+ |
else |
| 17101 |
+ |
: |
| 17102 |
+ |
fi |
| 17103 |
+ |
|
| 17104 |
+ |
done |
| 17105 |
|
|
| 17106 |
|
|
| 17107 |
|
|
| 17753 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 17754 |
|
# values after options handling. |
| 17755 |
|
ac_log=" |
| 17756 |
< |
This file was extended by ircd-hybrid $as_me 8.2.18, which was |
| 17756 |
> |
This file was extended by ircd-hybrid $as_me 8.2.30, which was |
| 17757 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 17758 |
|
|
| 17759 |
|
CONFIG_FILES = $CONFIG_FILES |
| 17819 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17820 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 17821 |
|
ac_cs_version="\\ |
| 17822 |
< |
ircd-hybrid config.status 8.2.18 |
| 17822 |
> |
ircd-hybrid config.status 8.2.30 |
| 17823 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 17824 |
|
with options \\"\$ac_cs_config\\" |
| 17825 |
|
|
| 17938 |
|
# |
| 17939 |
|
# INIT-COMMANDS |
| 17940 |
|
# |
| 17941 |
< |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 17941 |
> |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 17942 |
|
|
| 17943 |
|
|
| 17944 |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 18842 |
|
# Older Autoconf quotes --file arguments for eval, but not when files |
| 18843 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 18844 |
|
# if we detect the quoting. |
| 18845 |
< |
case $CONFIG_FILES in |
| 18846 |
< |
*\'*) eval set x "$CONFIG_FILES" ;; |
| 18847 |
< |
*) set x $CONFIG_FILES ;; |
| 18848 |
< |
esac |
| 18845 |
> |
# TODO: see whether this extra hack can be removed once we start |
| 18846 |
> |
# requiring Autoconf 2.70 or later. |
| 18847 |
> |
case $CONFIG_FILES in #( |
| 18848 |
> |
*\'*) : |
| 18849 |
> |
eval set x "$CONFIG_FILES" ;; #( |
| 18850 |
> |
*) : |
| 18851 |
> |
set x $CONFIG_FILES ;; #( |
| 18852 |
> |
*) : |
| 18853 |
> |
;; |
| 18854 |
> |
esac |
| 18855 |
|
shift |
| 18856 |
< |
for mf |
| 18856 |
> |
# Used to flag and report bootstrapping failures. |
| 18857 |
> |
am_rc=0 |
| 18858 |
> |
for am_mf |
| 18859 |
|
do |
| 18860 |
|
# Strip MF so we end up with the name of the file. |
| 18861 |
< |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 18862 |
< |
# Check whether this is an Automake generated Makefile or not. |
| 18863 |
< |
# We used to match only the files named 'Makefile.in', but |
| 18864 |
< |
# some people rename them; so instead we look at the file content. |
| 18597 |
< |
# Grep'ing the first line is not enough: some people post-process |
| 18598 |
< |
# each Makefile.in and add a new line on top of each file to say so. |
| 18599 |
< |
# Grep'ing the whole file is not good either: AIX grep has a line |
| 18861 |
> |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
| 18862 |
> |
# Check whether this is an Automake generated Makefile which includes |
| 18863 |
> |
# dependency-tracking related rules and includes. |
| 18864 |
> |
# Grep'ing the whole file directly is not great: AIX grep has a line |
| 18865 |
|
# limit of 2048, but all sed's we know have understand at least 4000. |
| 18866 |
< |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 18867 |
< |
dirpart=`$as_dirname -- "$mf" || |
| 18868 |
< |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18869 |
< |
X"$mf" : 'X\(//\)[^/]' \| \ |
| 18870 |
< |
X"$mf" : 'X\(//\)$' \| \ |
| 18871 |
< |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 18872 |
< |
$as_echo X"$mf" | |
| 18866 |
> |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 18867 |
> |
|| continue |
| 18868 |
> |
am_dirpart=`$as_dirname -- "$am_mf" || |
| 18869 |
> |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18870 |
> |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 18871 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 18872 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 18873 |
> |
$as_echo X"$am_mf" | |
| 18874 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18875 |
|
s//\1/ |
| 18876 |
|
q |
| 18888 |
|
q |
| 18889 |
|
} |
| 18890 |
|
s/.*/./; q'` |
| 18891 |
< |
else |
| 18892 |
< |
continue |
| 18893 |
< |
fi |
| 18894 |
< |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 18895 |
< |
# from the Makefile without running 'make'. |
| 18896 |
< |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 18631 |
< |
test -z "$DEPDIR" && continue |
| 18632 |
< |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 18633 |
< |
test -z "$am__include" && continue |
| 18634 |
< |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 18635 |
< |
# Find all dependency output files, they are included files with |
| 18636 |
< |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 18637 |
< |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 18638 |
< |
# expansion. |
| 18639 |
< |
for file in `sed -n " |
| 18640 |
< |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 18641 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 18642 |
< |
# Make sure the directory exists. |
| 18643 |
< |
test -f "$dirpart/$file" && continue |
| 18644 |
< |
fdir=`$as_dirname -- "$file" || |
| 18645 |
< |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18646 |
< |
X"$file" : 'X\(//\)[^/]' \| \ |
| 18647 |
< |
X"$file" : 'X\(//\)$' \| \ |
| 18648 |
< |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 18649 |
< |
$as_echo X"$file" | |
| 18650 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18651 |
< |
s//\1/ |
| 18652 |
< |
q |
| 18653 |
< |
} |
| 18654 |
< |
/^X\(\/\/\)[^/].*/{ |
| 18891 |
> |
am_filepart=`$as_basename -- "$am_mf" || |
| 18892 |
> |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 18893 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 18894 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 18895 |
> |
$as_echo X/"$am_mf" | |
| 18896 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 18897 |
|
s//\1/ |
| 18898 |
|
q |
| 18899 |
|
} |
| 18900 |
< |
/^X\(\/\/\)$/{ |
| 18900 |
> |
/^X\/\(\/\/\)$/{ |
| 18901 |
|
s//\1/ |
| 18902 |
|
q |
| 18903 |
|
} |
| 18904 |
< |
/^X\(\/\).*/{ |
| 18904 |
> |
/^X\/\(\/\).*/{ |
| 18905 |
|
s//\1/ |
| 18906 |
|
q |
| 18907 |
|
} |
| 18908 |
|
s/.*/./; q'` |
| 18909 |
< |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 18910 |
< |
# echo "creating $dirpart/$file" |
| 18911 |
< |
echo '# dummy' > "$dirpart/$file" |
| 18912 |
< |
done |
| 18909 |
> |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 18910 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 18911 |
> |
| $MAKE -f - am--depfiles" >&5 |
| 18912 |
> |
(cd "$am_dirpart" \ |
| 18913 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 18914 |
> |
| $MAKE -f - am--depfiles) >&5 2>&5 |
| 18915 |
> |
ac_status=$? |
| 18916 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18917 |
> |
(exit $ac_status); } || am_rc=$? |
| 18918 |
|
done |
| 18919 |
+ |
if test $am_rc -ne 0; then |
| 18920 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 18921 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 18922 |
+ |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 18923 |
+ |
for automatic dependency tracking. Try re-running configure with the |
| 18924 |
+ |
'--disable-dependency-tracking' option to at least be able to build |
| 18925 |
+ |
the package (albeit without support for automatic dependency tracking). |
| 18926 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 18927 |
+ |
fi |
| 18928 |
+ |
{ am_dirpart=; unset am_dirpart;} |
| 18929 |
+ |
{ am_filepart=; unset am_filepart;} |
| 18930 |
+ |
{ am_mf=; unset am_mf;} |
| 18931 |
+ |
{ am_rc=; unset am_rc;} |
| 18932 |
+ |
rm -f conftest-deps.mk |
| 18933 |
|
} |
| 18934 |
|
;; |
| 18935 |
|
"libtool":C) |
| 18947 |
|
cat <<_LT_EOF >> "$cfgfile" |
| 18948 |
|
#! $SHELL |
| 18949 |
|
# Generated automatically by $as_me ($PACKAGE) $VERSION |
| 18689 |
– |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 18950 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 18951 |
|
|
| 18952 |
|
# Provide generalized library-building support services. |