ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/configure (file contents):
Revision 6163 by michael, Thu Jun 18 10:57:25 2015 UTC vs.
Revision 9183 by michael, Mon Jan 20 16:50:49 2020 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 6126 2015-06-11 14:32:15Z michael .
2 > # From configure.ac Id: configure.ac 9182 2020-01-19 20:15:04Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.8.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.27.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 593 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='8.2.8'
597 < PACKAGE_STRING='ircd-hybrid 8.2.8'
596 > PACKAGE_VERSION='8.2.27'
597 > PACKAGE_STRING='ircd-hybrid 8.2.27'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 648 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
651 – ENABLE_SSL_FALSE
652 – ENABLE_SSL_TRUE
651   LTDLOPEN
652   LT_CONFIG_H
653   CONVENIENCE_LTDL_FALSE
# Line 711 | Line 709 | am__nodep
709   AMDEPBACKSLASH
710   AMDEP_FALSE
711   AMDEP_TRUE
714 – am__quote
712   am__include
713   DEPDIR
714   OBJEXT
# Line 770 | Line 767 | infodir
767   docdir
768   oldincludedir
769   includedir
770 + runstatedir
771   localstatedir
772   sharedstatedir
773   sysconfdir
# Line 788 | Line 786 | PACKAGE_VERSION
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
# Line 814 | Line 813 | enable_poll
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
# Line 867 | Line 866 | datadir='${datarootdir}'
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}'
# Line 1119 | Line 1119 | do
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=* \
# Line 1256 | Line 1265 | fi
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.
# Line 1369 | Line 1378 | if test "$ac_init_help" = "long"; then
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.8 to adapt to many kinds of systems.
1381 > \`configure' configures ircd-hybrid 8.2.27 to adapt to many kinds of systems.
1382  
1383   Usage: $0 [OPTION]... [VAR=VALUE]...
1384  
# Line 1409 | Line 1418 | Fine tuning of the installation director
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]
# Line 1439 | Line 1449 | fi
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.8:";;
1452 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.27:";;
1453     esac
1454    cat <<\_ACEOF
1455  
# Line 1469 | Line 1479 | Optional Features:
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]
# Line 1487 | Line 1496 | Optional Packages:
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
# Line 1572 | Line 1583 | fi
1583   test -n "$ac_init_help" && exit $ac_status
1584   if $ac_init_version; then
1585    cat <<\_ACEOF
1586 < ircd-hybrid configure 8.2.8
1586 > ircd-hybrid configure 8.2.27
1587   generated by GNU Autoconf 2.69
1588  
1589   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2041 | Line 2052 | cat >config.log <<_ACEOF
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.8, which was
2055 > It was created by ircd-hybrid $as_me 8.2.27, which was
2056   generated by GNU Autoconf 2.69.  Invocation command line was
2057  
2058    $ $0 $@
# Line 2321 | Line 2332 | $as_echo "$as_me: creating cache $cache_
2332    >$cache_file
2333   fi
2334  
2335 + as_fn_append ac_func_list " accept4"
2336   as_fn_append ac_func_list " strtok_r"
2325 – as_fn_append ac_func_list " usleep"
2337   as_fn_append ac_func_list " strlcat"
2338   as_fn_append ac_func_list " strlcpy"
2339   as_fn_append ac_header_list " crypt.h"
2329 – as_fn_append ac_header_list " sys/resource.h"
2340   as_fn_append ac_header_list " sys/param.h"
2341   as_fn_append ac_header_list " types.h"
2342   as_fn_append ac_header_list " socket.h"
2343   as_fn_append ac_header_list " sys/wait.h"
2334 – as_fn_append ac_header_list " wait.h"
2344   # Check that the precious variables saved in the cache have kept the same
2345   # value.
2346   ac_cache_corrupted=false
# Line 2400 | Line 2409 | ac_link='$CC -o conftest$ac_exeext $CFLA
2409   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410  
2411  
2412 < am__api_version='1.15'
2412 > am__api_version='1.16'
2413  
2414   ac_aux_dir=
2415   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2915 | Line 2924 | fi
2924  
2925   # Define the identity of the package.
2926   PACKAGE='ircd-hybrid'
2927 < VERSION='8.2.8'
2927 > VERSION='8.2.27'
2928  
2929  
2930   cat >>confdefs.h <<_ACEOF
# Line 2945 | Line 2954 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2954  
2955   # For better backward compatibility.  To be removed once Automake 1.9.x
2956   # dies out for good.  For more background, see:
2957 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2958 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2957 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2958 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2959   mkdir_p='$(MKDIR_P)'
2960  
2961   # We need awk for the "check" target (and possibly the TAP driver).  The
# Line 2997 | Line 3006 | END
3006   Aborting the configuration process, to ensure you take notice of the issue.
3007  
3008   You can download and install GNU coreutils to get an 'rm' implementation
3009 < that behaves properly: <http://www.gnu.org/software/coreutils/>.
3009 > that behaves properly: <https://www.gnu.org/software/coreutils/>.
3010  
3011   If you want to complete the configuration process using your problematic
3012   'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
# Line 3041 | Line 3050 | DEPDIR="${am__leading_dot}deps"
3050  
3051   ac_config_commands="$ac_config_commands depfiles"
3052  
3053 <
3054 < am_make=${MAKE-make}
3055 < cat > confinc << 'END'
3053 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3054 > $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3055 > cat > confinc.mk << 'END'
3056   am__doit:
3057 <        @echo this is the am__doit target
3057 >        @echo this is the am__doit target >confinc.out
3058   .PHONY: am__doit
3059   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; }
3060   am__include="#"
3061   am__quote=
3062 < _am_result=none
3063 < # First try GNU make style include.
3064 < echo "include confinc" > confmf
3065 < # Ignore all kinds of additional output from 'make'.
3066 < case `$am_make -s -f confmf 2> /dev/null` in #(
3067 < *the\ am__doit\ target*)
3068 <  am__include=include
3069 <  am__quote=
3070 <  _am_result=GNU
3071 <  ;;
3072 < esac
3073 < # Now try BSD make style include.
3074 < if test "$am__include" = "#"; then
3075 <   echo '.include "confinc"' > confmf
3076 <   case `$am_make -s -f confmf 2> /dev/null` in #(
3077 <   *the\ am__doit\ target*)
3078 <     am__include=.include
3079 <     am__quote="\""
3080 <     _am_result=BSD
3062 > # BSD make does it like this.
3063 > echo '.include "confinc.mk" # ignored' > confmf.BSD
3064 > # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3065 > echo 'include confinc.mk # ignored' > confmf.GNU
3066 > _am_result=no
3067 > for s in GNU BSD; do
3068 >  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3069 >   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3070 >   ac_status=$?
3071 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 >   (exit $ac_status); }
3073 >  case $?:`cat confinc.out 2>/dev/null` in #(
3074 >  '0:this is the am__doit target') :
3075 >    case $s in #(
3076 >  BSD) :
3077 >    am__include='.include' am__quote='"' ;; #(
3078 >  *) :
3079 >    am__include='include' am__quote='' ;;
3080 > esac ;; #(
3081 >  *) :
3082       ;;
3083 <   esac
3084 < fi
3085 <
3086 <
3087 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3088 < $as_echo "$_am_result" >&6; }
3089 < rm -f confinc confmf
3083 > esac
3084 >  if test "$am__include" != "#"; then
3085 >    _am_result="yes ($s style)"
3086 >    break
3087 >  fi
3088 > done
3089 > rm -f confinc.* confmf.*
3090 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3091 > $as_echo "${_am_result}" >&6; }
3092  
3093   # Check whether --enable-dependency-tracking was given.
3094   if test "${enable_dependency_tracking+set}" = set; then :
# Line 5781 | Line 5790 | linux* | k*bsd*-gnu | kopensolaris*-gnu
5790    lt_cv_deplibs_check_method=pass_all
5791    ;;
5792  
5793 < netbsd*)
5793 > netbsd* | netbsdelf*-gnu)
5794    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5795      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5796    else
# Line 6644 | Line 6653 | _LT_EOF
6653    test $ac_status = 0; }; then
6654      # Now try to grab the symbols.
6655      nlist=conftest.nm
6656 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6657 <  (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
6656 >    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6657 >    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6658        # Try sorting and uniquifying the output.
6659        if sort "$nlist" | uniq > "$nlist"T; then
6660          mv -f "$nlist"T "$nlist"
# Line 8995 | Line 9001 | lt_prog_compiler_static=
9001          lt_prog_compiler_pic='-KPIC'
9002          lt_prog_compiler_static='-static'
9003          ;;
9004 +      # flang / f18. f95 an alias for gfortran or flang on Debian
9005 +      flang* | f18* | f95*)
9006 +        lt_prog_compiler_wl='-Wl,'
9007 +        lt_prog_compiler_pic='-fPIC'
9008 +        lt_prog_compiler_static='-static'
9009 +        ;;
9010        # icc used to be incompatible with GCC.
9011        # ICC 10 doesn't accept -KPIC any more.
9012        icc* | ifort*)
# Line 9471 | Line 9483 | $as_echo_n "checking whether the $compil
9483    openbsd* | bitrig*)
9484      with_gnu_ld=no
9485      ;;
9486 +  linux* | k*bsd*-gnu | gnu*)
9487 +    link_all_deplibs=no
9488 +    ;;
9489    esac
9490  
9491    ld_shlibs=yes
# Line 9725 | Line 9740 | _LT_EOF
9740        fi
9741        ;;
9742  
9743 <    netbsd*)
9743 >    netbsd* | netbsdelf*-gnu)
9744        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9745          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9746          wlarc=
# Line 10395 | Line 10410 | $as_echo "$lt_cv_irix_exported_symbol" >
10410          if test yes = "$lt_cv_irix_exported_symbol"; then
10411            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'
10412          fi
10413 +        link_all_deplibs=no
10414        else
10415          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'
10416          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'
# Line 10416 | Line 10432 | $as_echo "$lt_cv_irix_exported_symbol" >
10432        esac
10433        ;;
10434  
10435 <    netbsd*)
10435 >    netbsd* | netbsdelf*-gnu)
10436        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10437          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10438        else
# Line 11531 | Line 11547 | fi
11547    dynamic_linker='GNU/Linux ld.so'
11548    ;;
11549  
11550 + netbsdelf*-gnu)
11551 +  version_type=linux
11552 +  need_lib_prefix=no
11553 +  need_version=no
11554 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11555 +  soname_spec='${libname}${release}${shared_ext}$major'
11556 +  shlibpath_var=LD_LIBRARY_PATH
11557 +  shlibpath_overrides_runpath=no
11558 +  hardcode_into_libs=yes
11559 +  dynamic_linker='NetBSD ld.elf_so'
11560 +  ;;
11561 +
11562   netbsd*)
11563    version_type=sunos
11564    need_lib_prefix=no
# Line 13153 | Line 13181 | else
13181      # at 6.2 and later dlopen does load deplibs.
13182      lt_cv_sys_dlopen_deplibs=yes
13183      ;;
13184 <  netbsd*)
13184 >  netbsd* | netbsdelf*-gnu)
13185      lt_cv_sys_dlopen_deplibs=yes
13186      ;;
13187    openbsd*)
# Line 13728 | Line 13756 | $as_echo "$ssp_cv_lib" >&6; }
13756    fi
13757  
13758  
13731 –
13732 –
13733 –
13734 –
13735 – for flag in -fno-strict-aliasing; do
13736 –  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13737 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13738 – $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13739 – if eval \${$as_CACHEVAR+:} false; then :
13740 –  $as_echo_n "(cached) " >&6
13741 – else
13742 –
13743 –  ax_check_save_flags=$CFLAGS
13744 –  CFLAGS="$CFLAGS  $flag"
13745 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 – /* end confdefs.h.  */
13747 –
13748 – int
13749 – main ()
13750 – {
13751 –
13752 –  ;
13753 –  return 0;
13754 – }
13755 – _ACEOF
13756 – if ac_fn_c_try_compile "$LINENO"; then :
13757 –  eval "$as_CACHEVAR=yes"
13758 – else
13759 –  eval "$as_CACHEVAR=no"
13760 – fi
13761 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 –  CFLAGS=$ax_check_save_flags
13763 – fi
13764 – eval ac_res=\$$as_CACHEVAR
13765 –               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13766 – $as_echo "$ac_res" >&6; }
13767 – if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13768 –
13769 – if ${CFLAGS+:} false; then :
13770 –
13771 –  case " $CFLAGS " in #(
13772 –  *" $flag "*) :
13773 –    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13774 –  (: CFLAGS already contains $flag) 2>&5
13775 –  ac_status=$?
13776 –  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13777 –  test $ac_status = 0; } ;; #(
13778 –  *) :
13779 –
13780 –     as_fn_append CFLAGS " $flag"
13781 –     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13782 –  (: CFLAGS="$CFLAGS") 2>&5
13783 –  ac_status=$?
13784 –  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13785 –  test $ac_status = 0; }
13786 –     ;;
13787 – esac
13788 –
13789 – else
13790 –
13791 –  CFLAGS=$flag
13792 –  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13793 –  (: CFLAGS="$CFLAGS") 2>&5
13794 –  ac_status=$?
13795 –  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13796 –  test $ac_status = 0; }
13797 –
13798 – fi
13799 –
13800 – else
13801 –  :
13802 – fi
13803 –
13804 – done
13805 –
13806 –
13759    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13760   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13761  
# Line 14270 | Line 14222 | done
14222  
14223  
14224  
14273 –
14274 –
14275 –
14276 –
14225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14226   $as_echo_n "checking for library containing crypt... " >&6; }
14227   if ${ac_cv_search_crypt+:} false; then :
# Line 14331 | Line 14279 | if test "$ac_res" != no; then :
14279   fi
14280  
14281  
14334 – # Define various chunk sizes for the pooling allocator
14335 –
14336 –
14337 – $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14338 –
14339 –
14340 – $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14341 –
14342 –
14343 – $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14344 –
14345 –
14346 – $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14347 –
14348 –
14349 – $as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h
14350 –
14351 –
14352 – $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14353 –
14354 –
14355 – $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14356 –
14357 –
14358 – $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14359 –
14360 –
14361 – $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14362 –
14363 –
14364 – $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14365 –
14366 –
14367 – $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14368 –
14369 –
14370 – $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14371 –
14372 –
14373 – $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14374 –
14375 –
14376 –
14282   # Argument processing.
14283  
14284    desired_iopoll_mechanism="none"
# Line 14476 | Line 14381 | _ACEOF
14381   int
14382   main ()
14383   {
14384 < epoll_create(256);
14384 > epoll_create1(EPOLL_CLOEXEC);
14385    ;
14386    return 0;
14387   }
# Line 14904 | Line 14809 | done
14809  
14810  
14811  
14812 + for flag in -Wcast-function-type; do
14813 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14814 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14815 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14816 + if eval \${$as_CACHEVAR+:} false; then :
14817 +  $as_echo_n "(cached) " >&6
14818 + else
14819 +
14820 +  ax_check_save_flags=$CFLAGS
14821 +  CFLAGS="$CFLAGS  $flag"
14822 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 + /* end confdefs.h.  */
14824 +
14825 + int
14826 + main ()
14827 + {
14828 +
14829 +  ;
14830 +  return 0;
14831 + }
14832 + _ACEOF
14833 + if ac_fn_c_try_compile "$LINENO"; then :
14834 +  eval "$as_CACHEVAR=yes"
14835 + else
14836 +  eval "$as_CACHEVAR=no"
14837 + fi
14838 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 +  CFLAGS=$ax_check_save_flags
14840 + fi
14841 + eval ac_res=\$$as_CACHEVAR
14842 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14843 + $as_echo "$ac_res" >&6; }
14844 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14845 +
14846 + if ${CFLAGS+:} false; then :
14847 +
14848 +  case " $CFLAGS " in #(
14849 +  *" $flag "*) :
14850 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14851 +  (: CFLAGS already contains $flag) 2>&5
14852 +  ac_status=$?
14853 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14854 +  test $ac_status = 0; } ;; #(
14855 +  *) :
14856 +
14857 +     as_fn_append CFLAGS " $flag"
14858 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14859 +  (: CFLAGS="$CFLAGS") 2>&5
14860 +  ac_status=$?
14861 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14862 +  test $ac_status = 0; }
14863 +     ;;
14864 + esac
14865 +
14866 + else
14867 +
14868 +  CFLAGS=$flag
14869 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14870 +  (: CFLAGS="$CFLAGS") 2>&5
14871 +  ac_status=$?
14872 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14873 +  test $ac_status = 0; }
14874 +
14875 + fi
14876 +
14877 + else
14878 +  :
14879 + fi
14880 +
14881 + done
14882 +
14883 +
14884 +
14885 +
14886 +
14887   for flag in -Wcast-qual; do
14888    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15054 | Line 15034 | done
15034  
15035  
15036  
15037 + for flag in -Wduplicated-cond; do
15038 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15039 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15040 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15041 + if eval \${$as_CACHEVAR+:} false; then :
15042 +  $as_echo_n "(cached) " >&6
15043 + else
15044 +
15045 +  ax_check_save_flags=$CFLAGS
15046 +  CFLAGS="$CFLAGS  $flag"
15047 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048 + /* end confdefs.h.  */
15049 +
15050 + int
15051 + main ()
15052 + {
15053 +
15054 +  ;
15055 +  return 0;
15056 + }
15057 + _ACEOF
15058 + if ac_fn_c_try_compile "$LINENO"; then :
15059 +  eval "$as_CACHEVAR=yes"
15060 + else
15061 +  eval "$as_CACHEVAR=no"
15062 + fi
15063 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15064 +  CFLAGS=$ax_check_save_flags
15065 + fi
15066 + eval ac_res=\$$as_CACHEVAR
15067 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15068 + $as_echo "$ac_res" >&6; }
15069 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15070 +
15071 + if ${CFLAGS+:} false; then :
15072 +
15073 +  case " $CFLAGS " in #(
15074 +  *" $flag "*) :
15075 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15076 +  (: CFLAGS already contains $flag) 2>&5
15077 +  ac_status=$?
15078 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15079 +  test $ac_status = 0; } ;; #(
15080 +  *) :
15081 +
15082 +     as_fn_append CFLAGS " $flag"
15083 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15084 +  (: CFLAGS="$CFLAGS") 2>&5
15085 +  ac_status=$?
15086 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15087 +  test $ac_status = 0; }
15088 +     ;;
15089 + esac
15090 +
15091 + else
15092 +
15093 +  CFLAGS=$flag
15094 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15095 +  (: CFLAGS="$CFLAGS") 2>&5
15096 +  ac_status=$?
15097 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15098 +  test $ac_status = 0; }
15099 +
15100 + fi
15101 +
15102 + else
15103 +  :
15104 + fi
15105 +
15106 + done
15107 +
15108 +
15109 +
15110 +
15111 +
15112   for flag in -Wempty-body; do
15113    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 16104 | Line 16159 | done
16159  
16160  
16161  
16162 + for flag in -Wshift-negative-value; do
16163 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16164 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16165 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16166 + if eval \${$as_CACHEVAR+:} false; then :
16167 +  $as_echo_n "(cached) " >&6
16168 + else
16169 +
16170 +  ax_check_save_flags=$CFLAGS
16171 +  CFLAGS="$CFLAGS  $flag"
16172 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 + /* end confdefs.h.  */
16174 +
16175 + int
16176 + main ()
16177 + {
16178 +
16179 +  ;
16180 +  return 0;
16181 + }
16182 + _ACEOF
16183 + if ac_fn_c_try_compile "$LINENO"; then :
16184 +  eval "$as_CACHEVAR=yes"
16185 + else
16186 +  eval "$as_CACHEVAR=no"
16187 + fi
16188 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16189 +  CFLAGS=$ax_check_save_flags
16190 + fi
16191 + eval ac_res=\$$as_CACHEVAR
16192 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16193 + $as_echo "$ac_res" >&6; }
16194 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16195 +
16196 + if ${CFLAGS+:} false; then :
16197 +
16198 +  case " $CFLAGS " in #(
16199 +  *" $flag "*) :
16200 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16201 +  (: CFLAGS already contains $flag) 2>&5
16202 +  ac_status=$?
16203 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16204 +  test $ac_status = 0; } ;; #(
16205 +  *) :
16206 +
16207 +     as_fn_append CFLAGS " $flag"
16208 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16209 +  (: CFLAGS="$CFLAGS") 2>&5
16210 +  ac_status=$?
16211 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16212 +  test $ac_status = 0; }
16213 +     ;;
16214 + esac
16215 +
16216 + else
16217 +
16218 +  CFLAGS=$flag
16219 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16220 +  (: CFLAGS="$CFLAGS") 2>&5
16221 +  ac_status=$?
16222 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16223 +  test $ac_status = 0; }
16224 +
16225 + fi
16226 +
16227 + else
16228 +  :
16229 + fi
16230 +
16231 + done
16232 +
16233 +
16234 +
16235 +
16236 +
16237   for flag in -Wsign-compare; do
16238    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 16479 | Line 16609 | done
16609   fi
16610  
16611  
16612 < # Check whether --enable-openssl was given.
16613 < if test "${enable_openssl+set}" = set; then :
16614 <  enableval=$enable_openssl;  cf_enable_openssl=$enableval
16615 < else
16616 <   cf_enable_openssl="auto"
16612 >  # Check whether --enable-efence was given.
16613 > if test "${enable_efence+set}" = set; then :
16614 >  enableval=$enable_efence; efence="$enableval"
16615 > else
16616 >  efence="no"
16617   fi
16618  
16489 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
16490 – $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
16491 – if test "$cf_enable_openssl" != "no"; then
16492 –  cf_openssl_basedir=""
16493 –  if test "$cf_enable_openssl" != "auto" &&
16494 –     test "$cf_enable_openssl" != "yes"; then
16495 –          cf_openssl_basedir="${cf_enable_openssl}"
16496 –  else
16497 –        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
16498 –                /opt /opt/openssl /usr/local/openssl; do
16499 –      if test -f "${dirs}/include/openssl/opensslv.h"; then
16500 –        cf_openssl_basedir="${dirs}"
16501 –        break
16502 –      fi
16503 –    done
16504 –    unset dirs
16505 –  fi
16619  
16620 <    if test ! -z "$cf_openssl_basedir"; then
16621 <    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
16622 <      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
16623 <      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
16624 <    else
16625 <                  cf_openssl_basedir=""
16626 <    fi
16627 <  else
16628 <                            if test -f "/usr/include/openssl/opensslv.h"; then
16629 <      cf_openssl_basedir="/usr"
16517 <    fi
16518 <  fi
16620 >  if test "$efence" = "yes"; then :
16621 >
16622 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
16623 > $as_echo_n "checking for library containing EF_Print... " >&6; }
16624 > if ${ac_cv_search_EF_Print+:} false; then :
16625 >  $as_echo_n "(cached) " >&6
16626 > else
16627 >  ac_func_search_save_LIBS=$LIBS
16628 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 > /* end confdefs.h.  */
16630  
16631 <      if test ! -z "$cf_openssl_basedir"; then
16632 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
16633 < $as_echo "$cf_openssl_basedir" >&6; }
16634 <    cf_enable_openssl="yes"
16631 > /* Override any GCC internal prototype to avoid an error.
16632 >   Use char because int might match the return type of a GCC
16633 >   builtin and then its argument prototype would still apply.  */
16634 > #ifdef __cplusplus
16635 > extern "C"
16636 > #endif
16637 > char EF_Print ();
16638 > int
16639 > main ()
16640 > {
16641 > return EF_Print ();
16642 >  ;
16643 >  return 0;
16644 > }
16645 > _ACEOF
16646 > for ac_lib in '' efence; do
16647 >  if test -z "$ac_lib"; then
16648 >    ac_res="none required"
16649    else
16650 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
16651 < $as_echo "not found. Please check your path." >&6; }
16527 <    cf_enable_openssl="no"
16650 >    ac_res=-l$ac_lib
16651 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16652    fi
16653 <  unset cf_openssl_basedir
16653 >  if ac_fn_c_try_link "$LINENO"; then :
16654 >  ac_cv_search_EF_Print=$ac_res
16655 > fi
16656 > rm -f core conftest.err conftest.$ac_objext \
16657 >    conftest$ac_exeext
16658 >  if ${ac_cv_search_EF_Print+:} false; then :
16659 >  break
16660 > fi
16661 > done
16662 > if ${ac_cv_search_EF_Print+:} false; then :
16663 >
16664   else
16665 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16666 < $as_echo "disabled" >&6; }
16665 >  ac_cv_search_EF_Print=no
16666 > fi
16667 > rm conftest.$ac_ext
16668 > LIBS=$ac_func_search_save_LIBS
16669   fi
16670 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
16671 + $as_echo "$ac_cv_search_EF_Print" >&6; }
16672 + ac_res=$ac_cv_search_EF_Print
16673 + if test "$ac_res" != no; then :
16674 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16675  
16676 < if test "$cf_enable_openssl" != "no"; then :
16677 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
16678 < $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
16679 <  if test "$cross_compiling" = yes; then :
16680 <  cf_openssl_version_ok=no
16676 > else
16677 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16678 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16679 > as_fn_error $? "Electric Fence 'efence' library not found
16680 > See \`config.log' for more details" "$LINENO" 5; }
16681 > fi
16682 >
16683 >
16684 > fi
16685 >
16686 >
16687 >
16688 >
16689 > # Check whether --with-tls was given.
16690 > if test "${with_tls+set}" = set; then :
16691 >  withval=$with_tls; with_tls=$withval
16692 > else
16693 >  with_tls=auto
16694 > fi
16695 >
16696 >
16697 > if test "$with_tls" = "openssl" ||
16698 >   test "$with_tls" = "auto"; then
16699 >    ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
16700 > if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
16701 >
16702 >      if test "$cross_compiling" = yes; then :
16703 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16704 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16705 > as_fn_error $? "cannot run test program while cross compiling
16706 > See \`config.log' for more details" "$LINENO" 5; }
16707   else
16708    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709   /* end confdefs.h.  */
16710  
16711  
16712 <    #include <openssl/opensslv.h>
16713 <    #include <stdlib.h>
16712 >          #include <openssl/opensslv.h>
16713 >          #include <stdlib.h>
16714   int
16715   main ()
16716   {
16717 < exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
16717 >
16718 >          exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
16719    ;
16720    return 0;
16721   }
16722   _ACEOF
16723   if ac_fn_c_try_run "$LINENO"; then :
16724 <  cf_openssl_version_ok=yes
16557 < else
16558 <  cf_openssl_version_ok=no
16559 < fi
16560 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16561 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
16562 < fi
16563 <
16564 <
16565 <  if test "$cf_openssl_version_ok" = "yes"; then :
16566 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16567 < $as_echo "found" >&6; }
16568 <
16569 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16724 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16725   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16726   if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16727    $as_echo_n "(cached) " >&6
# Line 16603 | Line 16758 | fi
16758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16759   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16760   if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16606 –  cat >>confdefs.h <<_ACEOF
16607 – #define HAVE_LIBCRYPTO 1
16608 – _ACEOF
16609 –
16610 –  LIBS="-lcrypto $LIBS"
16611 –
16612 – fi
16613 –
16614 –    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
16761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16762   $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16763   if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
# Line 16659 | Line 16805 | fi
16805  
16806   fi
16807  
16808 + fi
16809 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16810 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
16811 + fi
16812 +
16813 + fi
16814 +
16815 +
16816 +
16817 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
16818 + $as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
16819 +    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
16820 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16821 + $as_echo "found" >&6; }
16822   else
16823    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16824   $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16665 –    cf_enable_openssl="no"
16825   fi
16826 +
16827   fi
16828  
16829 < if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
16830 <  ENABLE_SSL_TRUE=
16831 <  ENABLE_SSL_FALSE='#'
16829 > if test "$with_tls" = "gnutls" ||
16830 >   test "$with_tls" = "auto"; then
16831 >  if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then
16832 >
16833 >    ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16834 > if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
16835 >
16836 >      if test "$cross_compiling" = yes; then :
16837 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16838 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16839 > as_fn_error $? "cannot run test program while cross compiling
16840 > See \`config.log' for more details" "$LINENO" 5; }
16841 > else
16842 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 > /* end confdefs.h.  */
16844 >
16845 >
16846 >          #include <gnutls/gnutls.h>
16847 >          #include <stdlib.h>
16848 > int
16849 > main ()
16850 > {
16851 >
16852 >          exit(!(GNUTLS_VERSION_NUMBER >= 0x030605));
16853 >  ;
16854 >  return 0;
16855 > }
16856 > _ACEOF
16857 > if ac_fn_c_try_run "$LINENO"; then :
16858 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
16859 > $as_echo_n "checking for gnutls_init in -lgnutls... " >&6; }
16860 > if ${ac_cv_lib_gnutls_gnutls_init+:} false; then :
16861 >  $as_echo_n "(cached) " >&6
16862 > else
16863 >  ac_check_lib_save_LIBS=$LIBS
16864 > LIBS="-lgnutls  $LIBS"
16865 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 > /* end confdefs.h.  */
16867 >
16868 > /* Override any GCC internal prototype to avoid an error.
16869 >   Use char because int might match the return type of a GCC
16870 >   builtin and then its argument prototype would still apply.  */
16871 > #ifdef __cplusplus
16872 > extern "C"
16873 > #endif
16874 > char gnutls_init ();
16875 > int
16876 > main ()
16877 > {
16878 > return gnutls_init ();
16879 >  ;
16880 >  return 0;
16881 > }
16882 > _ACEOF
16883 > if ac_fn_c_try_link "$LINENO"; then :
16884 >  ac_cv_lib_gnutls_gnutls_init=yes
16885   else
16886 <  ENABLE_SSL_TRUE='#'
16887 <  ENABLE_SSL_FALSE=
16886 >  ac_cv_lib_gnutls_gnutls_init=no
16887 > fi
16888 > rm -f core conftest.err conftest.$ac_objext \
16889 >    conftest$ac_exeext conftest.$ac_ext
16890 > LIBS=$ac_check_lib_save_LIBS
16891   fi
16892 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5
16893 + $as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; }
16894 + if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then :
16895 +  cat >>confdefs.h <<_ACEOF
16896 + #define HAVE_LIBGNUTLS 1
16897 + _ACEOF
16898  
16899 +  LIBS="-lgnutls $LIBS"
16900  
16901 + fi
16902  
16903 <  # Check whether --enable-libgeoip was given.
16904 < if test "${enable_libgeoip+set}" = set; then :
16905 <  enableval=$enable_libgeoip;
16903 > fi
16904 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16905 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
16906 > fi
16907 >
16908 > fi
16909 >
16910 >
16911 >
16912 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5
16913 > $as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; }
16914 >    if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then :
16915 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16916 > $as_echo "found" >&6; }
16917 > else
16918 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5
16919 > $as_echo "no - GnuTLS support disabled" >&6; }
16920 > fi
16921 >
16922 >  fi
16923 > fi
16924 >
16925 > if test "$with_tls" = "wolfssl" ||
16926 >   test "$with_tls" = "auto"; then
16927 >  if test "$ac_cv_lib_ssl_SSL_connect" != "yes" &&
16928 >     test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then
16929 >
16930 >    ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default"
16931 > if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then :
16932 >
16933 >      if test "$cross_compiling" = yes; then :
16934 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16935 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16936 > as_fn_error $? "cannot run test program while cross compiling
16937 > See \`config.log' for more details" "$LINENO" 5; }
16938   else
16939 <  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
16940 < if test "x$ac_cv_header_GeoIP_h" = xyes; then :
16941 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
16942 < $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
16943 < if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16939 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 > /* end confdefs.h.  */
16941 >
16942 >
16943 >          #include <wolfssl/version.h>
16944 >          #include <stdlib.h>
16945 > int
16946 > main ()
16947 > {
16948 >
16949 >          exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000));
16950 >  ;
16951 >  return 0;
16952 > }
16953 > _ACEOF
16954 > if ac_fn_c_try_run "$LINENO"; then :
16955 >   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5
16956 > $as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; }
16957 > if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then :
16958    $as_echo_n "(cached) " >&6
16959   else
16960 <  ac_func_search_save_LIBS=$LIBS
16960 >  ac_check_lib_save_LIBS=$LIBS
16961 > LIBS="-lwolfssl  $LIBS"
16962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963   /* end confdefs.h.  */
16964  
# Line 16697 | Line 16968 | cat confdefs.h - <<_ACEOF >conftest.$ac_
16968   #ifdef __cplusplus
16969   extern "C"
16970   #endif
16971 < char GeoIP_id_by_ipnum_v6_gl ();
16971 > char wolfSSL_X509_digest ();
16972   int
16973   main ()
16974   {
16975 < return GeoIP_id_by_ipnum_v6_gl ();
16975 > return wolfSSL_X509_digest ();
16976    ;
16977    return 0;
16978   }
16979   _ACEOF
16980 < for ac_lib in '' GeoIP; do
16981 <  if test -z "$ac_lib"; then
16982 <    ac_res="none required"
16983 <  else
16713 <    ac_res=-l$ac_lib
16714 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16715 <  fi
16716 <  if ac_fn_c_try_link "$LINENO"; then :
16717 <  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
16980 > if ac_fn_c_try_link "$LINENO"; then :
16981 >  ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes
16982 > else
16983 >  ac_cv_lib_wolfssl_wolfSSL_X509_digest=no
16984   fi
16985   rm -f core conftest.err conftest.$ac_objext \
16986 <    conftest$ac_exeext
16987 <  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16722 <  break
16986 >    conftest$ac_exeext conftest.$ac_ext
16987 > LIBS=$ac_check_lib_save_LIBS
16988   fi
16989 < done
16990 < if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16989 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5
16990 > $as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; }
16991 > if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then :
16992 >  cat >>confdefs.h <<_ACEOF
16993 > #define HAVE_LIBWOLFSSL 1
16994 > _ACEOF
16995 >
16996 >  LIBS="-lwolfssl $LIBS"
16997  
16727 – else
16728 –  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
16998   fi
16999 < rm conftest.$ac_ext
17000 < LIBS=$ac_func_search_save_LIBS
16999 >
17000 > fi
17001 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17002 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
17003   fi
16733 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
16734 – $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
16735 – ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
16736 – if test "$ac_res" != no; then :
16737 –  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17004  
17005 < $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
17005 > fi
17006 >
17007 >
17008  
17009 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5
17010 + $as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; }
17011 +    if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then :
17012 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17013 + $as_echo "found" >&6; }
17014 + else
17015 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5
17016 + $as_echo "no - wolfSSL support disabled" >&6; }
17017   fi
17018  
17019 +  fi
17020 + fi
17021 +
17022 +
17023 +
17024 + # Disable -Wformat-truncation
17025 +
17026 +
17027 +
17028 +
17029 + for flag in -Wno-format-truncation; do
17030 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17031 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17032 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17033 + if eval \${$as_CACHEVAR+:} false; then :
17034 +  $as_echo_n "(cached) " >&6
17035 + else
17036 +
17037 +  ax_check_save_flags=$CFLAGS
17038 +  CFLAGS="$CFLAGS  $flag"
17039 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 + /* end confdefs.h.  */
17041 +
17042 + int
17043 + main ()
17044 + {
17045 +
17046 +  ;
17047 +  return 0;
17048 + }
17049 + _ACEOF
17050 + if ac_fn_c_try_compile "$LINENO"; then :
17051 +  eval "$as_CACHEVAR=yes"
17052 + else
17053 +  eval "$as_CACHEVAR=no"
17054 + fi
17055 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056 +  CFLAGS=$ax_check_save_flags
17057   fi
17058 + eval ac_res=\$$as_CACHEVAR
17059 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17060 + $as_echo "$ac_res" >&6; }
17061 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17062 +
17063 + if ${CFLAGS+:} false; then :
17064 +
17065 +  case " $CFLAGS " in #(
17066 +  *" $flag "*) :
17067 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17068 +  (: CFLAGS already contains $flag) 2>&5
17069 +  ac_status=$?
17070 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17071 +  test $ac_status = 0; } ;; #(
17072 +  *) :
17073 +
17074 +     as_fn_append CFLAGS " $flag"
17075 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17076 +  (: CFLAGS="$CFLAGS") 2>&5
17077 +  ac_status=$?
17078 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17079 +  test $ac_status = 0; }
17080 +     ;;
17081 + esac
17082  
17083 + else
17084 +
17085 +  CFLAGS=$flag
17086 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17087 +  (: CFLAGS="$CFLAGS") 2>&5
17088 +  ac_status=$?
17089 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17090 +  test $ac_status = 0; }
17091  
17092   fi
17093  
17094 + else
17095 +  :
17096 + fi
17097 +
17098 + done
17099  
17100  
17101  
# Line 16999 | Line 17350 | LT_CONFIG_H=config.h
17350  
17351  
17352  
17002 – if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
17003 –  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
17004 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
17005 – fi
17353  
17354   : "${CONFIG_STATUS=./config.status}"
17355   ac_write_fail=0
# Line 17400 | Line 17747 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
17747   # report actual input values of CONFIG_FILES etc. instead of their
17748   # values after options handling.
17749   ac_log="
17750 < This file was extended by ircd-hybrid $as_me 8.2.8, which was
17750 > This file was extended by ircd-hybrid $as_me 8.2.27, which was
17751   generated by GNU Autoconf 2.69.  Invocation command line was
17752  
17753    CONFIG_FILES    = $CONFIG_FILES
# Line 17466 | Line 17813 | _ACEOF
17813   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17814   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17815   ac_cs_version="\\
17816 < ircd-hybrid config.status 8.2.8
17816 > ircd-hybrid config.status 8.2.27
17817   configured by $0, generated by GNU Autoconf 2.69,
17818    with options \\"\$ac_cs_config\\"
17819  
# Line 17585 | Line 17932 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17932   #
17933   # INIT-COMMANDS
17934   #
17935 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17935 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17936  
17937  
17938   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 18489 | Line 18836 | $as_echo "$as_me: executing $ac_file com
18836    # Older Autoconf quotes --file arguments for eval, but not when files
18837    # are listed without --file.  Let's play safe and only enable the eval
18838    # if we detect the quoting.
18839 <  case $CONFIG_FILES in
18840 <  *\'*) eval set x "$CONFIG_FILES" ;;
18841 <  *)   set x $CONFIG_FILES ;;
18842 <  esac
18839 >  # TODO: see whether this extra hack can be removed once we start
18840 >  # requiring Autoconf 2.70 or later.
18841 >  case $CONFIG_FILES in #(
18842 >  *\'*) :
18843 >    eval set x "$CONFIG_FILES" ;; #(
18844 >  *) :
18845 >    set x $CONFIG_FILES ;; #(
18846 >  *) :
18847 >     ;;
18848 > esac
18849    shift
18850 <  for mf
18850 >  # Used to flag and report bootstrapping failures.
18851 >  am_rc=0
18852 >  for am_mf
18853    do
18854      # Strip MF so we end up with the name of the file.
18855 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
18856 <    # Check whether this is an Automake generated Makefile or not.
18857 <    # We used to match only the files named 'Makefile.in', but
18858 <    # some people rename them; so instead we look at the file content.
18504 <    # Grep'ing the first line is not enough: some people post-process
18505 <    # each Makefile.in and add a new line on top of each file to say so.
18506 <    # Grep'ing the whole file is not good either: AIX grep has a line
18855 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18856 >    # Check whether this is an Automake generated Makefile which includes
18857 >    # dependency-tracking related rules and includes.
18858 >    # Grep'ing the whole file directly is not great: AIX grep has a line
18859      # limit of 2048, but all sed's we know have understand at least 4000.
18860 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18861 <      dirpart=`$as_dirname -- "$mf" ||
18862 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18863 <         X"$mf" : 'X\(//\)[^/]' \| \
18864 <         X"$mf" : 'X\(//\)$' \| \
18865 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18866 < $as_echo X"$mf" |
18860 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18861 >      || continue
18862 >    am_dirpart=`$as_dirname -- "$am_mf" ||
18863 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18864 >         X"$am_mf" : 'X\(//\)[^/]' \| \
18865 >         X"$am_mf" : 'X\(//\)$' \| \
18866 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18867 > $as_echo X"$am_mf" |
18868      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18869              s//\1/
18870              q
# Line 18529 | Line 18882 | $as_echo X"$mf" |
18882              q
18883            }
18884            s/.*/./; q'`
18885 <    else
18886 <      continue
18887 <    fi
18888 <    # Extract the definition of DEPDIR, am__include, and am__quote
18889 <    # from the Makefile without running 'make'.
18890 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18538 <    test -z "$DEPDIR" && continue
18539 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18540 <    test -z "$am__include" && continue
18541 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18542 <    # Find all dependency output files, they are included files with
18543 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18544 <    # simplest approach to changing $(DEPDIR) to its actual value in the
18545 <    # expansion.
18546 <    for file in `sed -n "
18547 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18548 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18549 <      # Make sure the directory exists.
18550 <      test -f "$dirpart/$file" && continue
18551 <      fdir=`$as_dirname -- "$file" ||
18552 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18553 <         X"$file" : 'X\(//\)[^/]' \| \
18554 <         X"$file" : 'X\(//\)$' \| \
18555 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18556 < $as_echo X"$file" |
18557 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18558 <            s//\1/
18559 <            q
18560 <          }
18561 <          /^X\(\/\/\)[^/].*/{
18885 >    am_filepart=`$as_basename -- "$am_mf" ||
18886 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18887 >         X"$am_mf" : 'X\(//\)$' \| \
18888 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18889 > $as_echo X/"$am_mf" |
18890 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
18891              s//\1/
18892              q
18893            }
18894 <          /^X\(\/\/\)$/{
18894 >          /^X\/\(\/\/\)$/{
18895              s//\1/
18896              q
18897            }
18898 <          /^X\(\/\).*/{
18898 >          /^X\/\(\/\).*/{
18899              s//\1/
18900              q
18901            }
18902            s/.*/./; q'`
18903 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18904 <      # echo "creating $dirpart/$file"
18905 <      echo '# dummy' > "$dirpart/$file"
18906 <    done
18903 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18904 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18905 >        | $MAKE -f - am--depfiles" >&5
18906 >   (cd "$am_dirpart" \
18907 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18908 >        | $MAKE -f - am--depfiles) >&5 2>&5
18909 >   ac_status=$?
18910 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 >   (exit $ac_status); } || am_rc=$?
18912    done
18913 +  if test $am_rc -ne 0; then
18914 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18915 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18916 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
18917 +    for automatic dependency tracking.  Try re-running configure with the
18918 +    '--disable-dependency-tracking' option to at least be able to build
18919 +    the package (albeit without support for automatic dependency tracking).
18920 + See \`config.log' for more details" "$LINENO" 5; }
18921 +  fi
18922 +  { am_dirpart=; unset am_dirpart;}
18923 +  { am_filepart=; unset am_filepart;}
18924 +  { am_mf=; unset am_mf;}
18925 +  { am_rc=; unset am_rc;}
18926 +  rm -f conftest-deps.mk
18927   }
18928   ;;
18929      "libtool":C)
# Line 18593 | Line 18941 | $as_echo X"$file" |
18941      cat <<_LT_EOF >> "$cfgfile"
18942   #! $SHELL
18943   # Generated automatically by $as_me ($PACKAGE) $VERSION
18596 – # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18944   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18945  
18946   # Provide generalized library-building support services.

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)