ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/configure
(Generate patch)

Comparing:
hopm/trunk/configure (file contents), Revision 6183 by michael, Tue Jun 23 16:50:35 2015 UTC vs.
hopm/branches/1.1.x/configure (file contents), Revision 9633 by michael, Sat Sep 19 10:53:27 2020 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 6133 2015-06-11 19:20:00Z michael .
2 > # From configure.ac Id: configure.ac 9543 2020-07-18 14:01:59Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for hopm TRUNK.
4 > # Generated by GNU Autoconf 2.69 for hopm 1.1.9.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 591 | Line 591 | MAKEFLAGS=
591   # Identity of this package.
592   PACKAGE_NAME='hopm'
593   PACKAGE_TARNAME='hopm'
594 < PACKAGE_VERSION='TRUNK'
595 < PACKAGE_STRING='hopm TRUNK'
594 > PACKAGE_VERSION='1.1.9'
595 > PACKAGE_STRING='hopm 1.1.9'
596   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
597   PACKAGE_URL=''
598  
# Line 681 | Line 681 | am__nodep
681   AMDEPBACKSLASH
682   AMDEP_FALSE
683   AMDEP_TRUE
684 am__quote
684   am__include
685   DEPDIR
686   OBJEXT
# Line 740 | Line 739 | infodir
739   docdir
740   oldincludedir
741   includedir
742 + runstatedir
743   localstatedir
744   sharedstatedir
745   sysconfdir
# Line 758 | Line 758 | PACKAGE_VERSION
758   PACKAGE_TARNAME
759   PACKAGE_NAME
760   PATH_SEPARATOR
761 < SHELL'
761 > SHELL
762 > am__quote'
763   ac_subst_files=''
764   ac_user_opts='
765   enable_option_checking
# Line 773 | Line 774 | with_aix_soname
774   with_gnu_ld
775   with_sysroot
776   enable_libtool_lock
777 + enable_openssl
778   enable_assert
779   enable_warnings
780 + enable_efence
781   '
782        ac_precious_vars='build_alias
783   host_alias
# Line 826 | Line 829 | datadir='${datarootdir}'
829   sysconfdir='${prefix}/etc'
830   sharedstatedir='${prefix}/com'
831   localstatedir='${prefix}/var'
832 + runstatedir='${localstatedir}/run'
833   includedir='${prefix}/include'
834   oldincludedir='/usr/include'
835   docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# Line 1078 | Line 1082 | do
1082    | -silent | --silent | --silen | --sile | --sil)
1083      silent=yes ;;
1084  
1085 +  -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 +  | --runstate | --runstat | --runsta | --runst | --runs \
1087 +  | --run | --ru | --r)
1088 +    ac_prev=runstatedir ;;
1089 +  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 +  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 +  | --run=* | --ru=* | --r=*)
1092 +    runstatedir=$ac_optarg ;;
1093 +
1094    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095      ac_prev=sbindir ;;
1096    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
# Line 1215 | Line 1228 | fi
1228   for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229                  datadir sysconfdir sharedstatedir localstatedir includedir \
1230                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 <                libdir localedir mandir
1231 >                libdir localedir mandir runstatedir
1232   do
1233    eval ac_val=\$$ac_var
1234    # Remove trailing slashes.
# Line 1328 | Line 1341 | if test "$ac_init_help" = "long"; then
1341    # Omit some internal or obsolete options to make the list less imposing.
1342    # This message is too long to be a string in the A/UX 3.1 sh.
1343    cat <<_ACEOF
1344 < \`configure' configures hopm TRUNK to adapt to many kinds of systems.
1344 > \`configure' configures hopm 1.1.9 to adapt to many kinds of systems.
1345  
1346   Usage: $0 [OPTION]... [VAR=VALUE]...
1347  
# Line 1368 | Line 1381 | Fine tuning of the installation director
1381    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1382    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1383    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1384 +  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1385    --libdir=DIR            object code libraries [EPREFIX/lib]
1386    --includedir=DIR        C header files [PREFIX/include]
1387    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
# Line 1398 | Line 1412 | fi
1412  
1413   if test -n "$ac_init_help"; then
1414    case $ac_init_help in
1415 <     short | recursive ) echo "Configuration of hopm TRUNK:";;
1415 >     short | recursive ) echo "Configuration of hopm 1.1.9:";;
1416     esac
1417    cat <<\_ACEOF
1418  
# Line 1420 | Line 1434 | Optional Features:
1434    --enable-fast-install[=PKGS]
1435                            optimize for fast installation [default=yes]
1436    --disable-libtool-lock  avoid locking (might break parallel builds)
1437 +  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1438 +  --disable-openssl            Disable LibreSSL/OpenSSL support.
1439    --enable-assert         Enable assert() statements
1440    --enable-warnings       Enable compiler warnings.
1441 +  --enable-efence         Enable linking with Electric Fence 'efence' memory
1442 +                          debugger library.
1443  
1444   Optional Packages:
1445    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 1519 | Line 1537 | fi
1537   test -n "$ac_init_help" && exit $ac_status
1538   if $ac_init_version; then
1539    cat <<\_ACEOF
1540 < hopm configure TRUNK
1540 > hopm configure 1.1.9
1541   generated by GNU Autoconf 2.69
1542  
1543   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1797 | Line 1815 | cat >config.log <<_ACEOF
1815   This file contains any messages produced by compilers while
1816   running configure, to aid debugging if configure makes a mistake.
1817  
1818 < It was created by hopm $as_me TRUNK, which was
1818 > It was created by hopm $as_me 1.1.9, which was
1819   generated by GNU Autoconf 2.69.  Invocation command line was
1820  
1821    $ $0 $@
# Line 2145 | Line 2163 | ac_link='$CC -o conftest$ac_exeext $CFLA
2163   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164  
2165  
2166 < am__api_version='1.15'
2166 > am__api_version='1.16'
2167  
2168   ac_aux_dir=
2169   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2660 | Line 2678 | fi
2678  
2679   # Define the identity of the package.
2680   PACKAGE='hopm'
2681 < VERSION='TRUNK'
2681 > VERSION='1.1.9'
2682  
2683  
2684   cat >>confdefs.h <<_ACEOF
# Line 2690 | Line 2708 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2708  
2709   # For better backward compatibility.  To be removed once Automake 1.9.x
2710   # dies out for good.  For more background, see:
2711 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2712 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2711 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2712 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2713   mkdir_p='$(MKDIR_P)'
2714  
2715   # We need awk for the "check" target (and possibly the TAP driver).  The
# Line 2742 | Line 2760 | END
2760   Aborting the configuration process, to ensure you take notice of the issue.
2761  
2762   You can download and install GNU coreutils to get an 'rm' implementation
2763 < that behaves properly: <http://www.gnu.org/software/coreutils/>.
2763 > that behaves properly: <https://www.gnu.org/software/coreutils/>.
2764  
2765   If you want to complete the configuration process using your problematic
2766   'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
# Line 2786 | Line 2804 | DEPDIR="${am__leading_dot}deps"
2804  
2805   ac_config_commands="$ac_config_commands depfiles"
2806  
2807 <
2808 < am_make=${MAKE-make}
2809 < cat > confinc << 'END'
2807 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2808 > $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2809 > cat > confinc.mk << 'END'
2810   am__doit:
2811 <        @echo this is the am__doit target
2811 >        @echo this is the am__doit target >confinc.out
2812   .PHONY: am__doit
2813   END
2796 # If we don't find an include directive, just comment out the code.
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2798 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2814   am__include="#"
2815   am__quote=
2816 < _am_result=none
2817 < # First try GNU make style include.
2818 < echo "include confinc" > confmf
2819 < # Ignore all kinds of additional output from 'make'.
2820 < case `$am_make -s -f confmf 2> /dev/null` in #(
2821 < *the\ am__doit\ target*)
2822 <  am__include=include
2823 <  am__quote=
2824 <  _am_result=GNU
2825 <  ;;
2826 < esac
2827 < # Now try BSD make style include.
2828 < if test "$am__include" = "#"; then
2829 <   echo '.include "confinc"' > confmf
2830 <   case `$am_make -s -f confmf 2> /dev/null` in #(
2831 <   *the\ am__doit\ target*)
2832 <     am__include=.include
2833 <     am__quote="\""
2834 <     _am_result=BSD
2816 > # BSD make does it like this.
2817 > echo '.include "confinc.mk" # ignored' > confmf.BSD
2818 > # Other make implementations (GNU, Solaris 10, AIX) do it like this.
2819 > echo 'include confinc.mk # ignored' > confmf.GNU
2820 > _am_result=no
2821 > for s in GNU BSD; do
2822 >  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2823 >   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2824 >   ac_status=$?
2825 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 >   (exit $ac_status); }
2827 >  case $?:`cat confinc.out 2>/dev/null` in #(
2828 >  '0:this is the am__doit target') :
2829 >    case $s in #(
2830 >  BSD) :
2831 >    am__include='.include' am__quote='"' ;; #(
2832 >  *) :
2833 >    am__include='include' am__quote='' ;;
2834 > esac ;; #(
2835 >  *) :
2836       ;;
2837 <   esac
2838 < fi
2839 <
2840 <
2841 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2842 < $as_echo "$_am_result" >&6; }
2843 < rm -f confinc confmf
2837 > esac
2838 >  if test "$am__include" != "#"; then
2839 >    _am_result="yes ($s style)"
2840 >    break
2841 >  fi
2842 > done
2843 > rm -f confinc.* confmf.*
2844 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2845 > $as_echo "${_am_result}" >&6; }
2846  
2847   # Check whether --enable-dependency-tracking was given.
2848   if test "${enable_dependency_tracking+set}" = set; then :
# Line 5310 | Line 5328 | linux* | k*bsd*-gnu | kopensolaris*-gnu
5328    lt_cv_deplibs_check_method=pass_all
5329    ;;
5330  
5331 < netbsd*)
5331 > netbsd* | netbsdelf*-gnu)
5332    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5333      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5334    else
# Line 6174 | Line 6192 | _LT_EOF
6192    test $ac_status = 0; }; then
6193      # Now try to grab the symbols.
6194      nlist=conftest.nm
6195 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6196 <  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6179 <  ac_status=$?
6180 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6181 <  test $ac_status = 0; } && test -s "$nlist"; then
6195 >    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6196 >    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6197        # Try sorting and uniquifying the output.
6198        if sort "$nlist" | uniq > "$nlist"T; then
6199          mv -f "$nlist"T "$nlist"
# Line 8527 | Line 8542 | lt_prog_compiler_static=
8542          lt_prog_compiler_pic='-KPIC'
8543          lt_prog_compiler_static='-static'
8544          ;;
8545 +      # flang / f18. f95 an alias for gfortran or flang on Debian
8546 +      flang* | f18* | f95*)
8547 +        lt_prog_compiler_wl='-Wl,'
8548 +        lt_prog_compiler_pic='-fPIC'
8549 +        lt_prog_compiler_static='-static'
8550 +        ;;
8551        # icc used to be incompatible with GCC.
8552        # ICC 10 doesn't accept -KPIC any more.
8553        icc* | ifort*)
# Line 9003 | Line 9024 | $as_echo_n "checking whether the $compil
9024    openbsd* | bitrig*)
9025      with_gnu_ld=no
9026      ;;
9027 +  linux* | k*bsd*-gnu | gnu*)
9028 +    link_all_deplibs=no
9029 +    ;;
9030    esac
9031  
9032    ld_shlibs=yes
# Line 9257 | Line 9281 | _LT_EOF
9281        fi
9282        ;;
9283  
9284 <    netbsd*)
9284 >    netbsd* | netbsdelf*-gnu)
9285        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9286          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9287          wlarc=
# Line 9927 | Line 9951 | $as_echo "$lt_cv_irix_exported_symbol" >
9951          if test yes = "$lt_cv_irix_exported_symbol"; then
9952            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'
9953          fi
9954 +        link_all_deplibs=no
9955        else
9956          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'
9957          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 9948 | Line 9973 | $as_echo "$lt_cv_irix_exported_symbol" >
9973        esac
9974        ;;
9975  
9976 <    netbsd*)
9976 >    netbsd* | netbsdelf*-gnu)
9977        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9978          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9979        else
# Line 11063 | Line 11088 | fi
11088    dynamic_linker='GNU/Linux ld.so'
11089    ;;
11090  
11091 + netbsdelf*-gnu)
11092 +  version_type=linux
11093 +  need_lib_prefix=no
11094 +  need_version=no
11095 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11096 +  soname_spec='${libname}${release}${shared_ext}$major'
11097 +  shlibpath_var=LD_LIBRARY_PATH
11098 +  shlibpath_overrides_runpath=no
11099 +  hardcode_into_libs=yes
11100 +  dynamic_linker='NetBSD ld.elf_so'
11101 +  ;;
11102 +
11103   netbsd*)
11104    version_type=sunos
11105    need_lib_prefix=no
# Line 12577 | Line 12614 | fi
12614  
12615  
12616  
12617 + # Check whether --enable-openssl was given.
12618 + if test "${enable_openssl+set}" = set; then :
12619 +  enableval=$enable_openssl;  cf_enable_openssl=$enableval
12620 + else
12621 +   cf_enable_openssl="auto"
12622 + fi
12623 +
12624 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
12625 + $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
12626 + if test "$cf_enable_openssl" != "no"; then
12627 +  cf_openssl_basedir=""
12628 +  if test "$cf_enable_openssl" != "auto" &&
12629 +     test "$cf_enable_openssl" != "yes"; then
12630 +          cf_openssl_basedir="${cf_enable_openssl}"
12631 +  else
12632 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12633 +                /opt /opt/openssl /usr/local/openssl; do
12634 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
12635 +        cf_openssl_basedir="${dirs}"
12636 +        break
12637 +      fi
12638 +    done
12639 +    unset dirs
12640 +  fi
12641 +
12642 +    if test ! -z "$cf_openssl_basedir"; then
12643 +    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
12644 +      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
12645 +      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
12646 +    else
12647 +                  cf_openssl_basedir=""
12648 +    fi
12649 +  else
12650 +                            if test -f "/usr/include/openssl/opensslv.h"; then
12651 +      cf_openssl_basedir="/usr"
12652 +    fi
12653 +  fi
12654 +
12655 +      if test ! -z "$cf_openssl_basedir"; then
12656 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12657 + $as_echo "$cf_openssl_basedir" >&6; }
12658 +    cf_enable_openssl="yes"
12659 +  else
12660 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12661 + $as_echo "not found. Please check your path." >&6; }
12662 +    cf_enable_openssl="no"
12663 +  fi
12664 +  unset cf_openssl_basedir
12665 + else
12666 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12667 + $as_echo "disabled" >&6; }
12668 + fi
12669 +
12670 + if test "$cf_enable_openssl" != "no"; then :
12671 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
12672 + $as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
12673 +  if test "$cross_compiling" = yes; then :
12674 +  cf_openssl_version_ok=no
12675 + else
12676 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 + /* end confdefs.h.  */
12678 +
12679 +
12680 +    #include <openssl/opensslv.h>
12681 +    #include <stdlib.h>
12682 + int
12683 + main ()
12684 + {
12685 + exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
12686 +  ;
12687 +  return 0;
12688 + }
12689 + _ACEOF
12690 + if ac_fn_c_try_run "$LINENO"; then :
12691 +  cf_openssl_version_ok=yes
12692 + else
12693 +  cf_openssl_version_ok=no
12694 + fi
12695 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12696 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
12697 + fi
12698 +
12699 +
12700 +  if test "$cf_openssl_version_ok" = "yes"; then :
12701 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12702 + $as_echo "found" >&6; }
12703 +
12704 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12705 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12706 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
12707 +  $as_echo_n "(cached) " >&6
12708 + else
12709 +  ac_check_lib_save_LIBS=$LIBS
12710 + LIBS="-lcrypto  $LIBS"
12711 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 + /* end confdefs.h.  */
12713 +
12714 + /* Override any GCC internal prototype to avoid an error.
12715 +   Use char because int might match the return type of a GCC
12716 +   builtin and then its argument prototype would still apply.  */
12717 + #ifdef __cplusplus
12718 + extern "C"
12719 + #endif
12720 + char RSA_free ();
12721 + int
12722 + main ()
12723 + {
12724 + return RSA_free ();
12725 +  ;
12726 +  return 0;
12727 + }
12728 + _ACEOF
12729 + if ac_fn_c_try_link "$LINENO"; then :
12730 +  ac_cv_lib_crypto_RSA_free=yes
12731 + else
12732 +  ac_cv_lib_crypto_RSA_free=no
12733 + fi
12734 + rm -f core conftest.err conftest.$ac_objext \
12735 +    conftest$ac_exeext conftest.$ac_ext
12736 + LIBS=$ac_check_lib_save_LIBS
12737 + fi
12738 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12739 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12740 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
12741 +  cat >>confdefs.h <<_ACEOF
12742 + #define HAVE_LIBCRYPTO 1
12743 + _ACEOF
12744 +
12745 +  LIBS="-lcrypto $LIBS"
12746 +
12747 + fi
12748 +
12749 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12750 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
12751 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
12752 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
12753 +  $as_echo_n "(cached) " >&6
12754 + else
12755 +  ac_check_lib_save_LIBS=$LIBS
12756 + LIBS="-lssl  $LIBS"
12757 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 + /* end confdefs.h.  */
12759 +
12760 + /* Override any GCC internal prototype to avoid an error.
12761 +   Use char because int might match the return type of a GCC
12762 +   builtin and then its argument prototype would still apply.  */
12763 + #ifdef __cplusplus
12764 + extern "C"
12765 + #endif
12766 + char SSL_connect ();
12767 + int
12768 + main ()
12769 + {
12770 + return SSL_connect ();
12771 +  ;
12772 +  return 0;
12773 + }
12774 + _ACEOF
12775 + if ac_fn_c_try_link "$LINENO"; then :
12776 +  ac_cv_lib_ssl_SSL_connect=yes
12777 + else
12778 +  ac_cv_lib_ssl_SSL_connect=no
12779 + fi
12780 + rm -f core conftest.err conftest.$ac_objext \
12781 +    conftest$ac_exeext conftest.$ac_ext
12782 + LIBS=$ac_check_lib_save_LIBS
12783 + fi
12784 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
12785 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
12786 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
12787 +  cat >>confdefs.h <<_ACEOF
12788 + #define HAVE_LIBSSL 1
12789 + _ACEOF
12790 +
12791 +  LIBS="-lssl $LIBS"
12792 +
12793 + fi
12794 +
12795 + fi
12796 +
12797 + else
12798 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
12799 + $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
12800 +    cf_enable_openssl="no"
12801 + fi
12802 + fi
12803 +
12804 +
12805    # Check whether --enable-assert was given.
12806   if test "${enable_assert+set}" = set; then :
12807    enableval=$enable_assert; assert=$enableval
# Line 12831 | Line 13056 | done
13056  
13057  
13058  
13059 < for flag in -Wcast-qual; do
13059 > for flag in -Wcast-function-type; do
13060    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13062   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 12906 | Line 13131 | done
13131  
13132  
13133  
13134 < for flag in -Wclobbered; do
13134 > for flag in -Wcast-qual; do
13135    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13137   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 12981 | Line 13206 | done
13206  
13207  
13208  
13209 < for flag in -Wempty-body; do
13209 > for flag in -Wclobbered; do
13210    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13212   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13056 | Line 13281 | done
13281  
13282  
13283  
13284 < for flag in -Wignored-qualifiers; do
13284 > for flag in -Wduplicated-cond; do
13285    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13287   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13131 | Line 13356 | done
13356  
13357  
13358  
13359 < for flag in -Wlogical-op; do
13359 > for flag in -Wempty-body; do
13360    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13362   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13206 | Line 13431 | done
13431  
13432  
13433  
13434 < for flag in -Wmissing-declarations; do
13434 > for flag in -Wignored-qualifiers; do
13435    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13437   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13281 | Line 13506 | done
13506  
13507  
13508  
13509 < for flag in -Wmissing-field-initializers; do
13509 > for flag in -Wlogical-op; do
13510    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13512   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13356 | Line 13581 | done
13581  
13582  
13583  
13584 < for flag in -Wmissing-include-dirs; do
13584 > for flag in -Wmissing-declarations; do
13585    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13587   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13431 | Line 13656 | done
13656  
13657  
13658  
13659 < for flag in -Wmissing-parameter-type; do
13659 > for flag in -Wmissing-field-initializers; do
13660    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13662   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13506 | Line 13731 | done
13731  
13732  
13733  
13734 < for flag in -Wmissing-prototypes; do
13734 > for flag in -Wmissing-include-dirs; 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; }
# Line 13581 | Line 13806 | done
13806  
13807  
13808  
13809 < for flag in -Wnested-externs; do
13809 > for flag in -Wmissing-parameter-type; do
13810    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13812   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13656 | Line 13881 | done
13881  
13882  
13883  
13884 < for flag in -Wold-style-declaration; do
13884 > for flag in -Wmissing-prototypes; do
13885    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13887   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13731 | Line 13956 | done
13956  
13957  
13958  
13959 < for flag in -Woverride-init; do
13959 > for flag in -Wnested-externs; do
13960    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13962   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13806 | Line 14031 | done
14031  
14032  
14033  
14034 < for flag in -Wpointer-arith; do
14034 > for flag in -Wold-style-declaration; do
14035    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14037   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13881 | Line 14106 | done
14106  
14107  
14108  
14109 < for flag in -Wredundant-decls; do
14109 > for flag in -Woverride-init; do
14110    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14112   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 13956 | Line 14181 | done
14181  
14182  
14183  
14184 < for flag in -Wshadow; do
14184 > for flag in -Wpointer-arith; do
14185    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14187   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14031 | Line 14256 | done
14256  
14257  
14258  
14259 < for flag in -Wsign-compare; do
14259 > for flag in -Wredundant-decls; do
14260    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14262   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14106 | Line 14331 | done
14331  
14332  
14333  
14334 < for flag in -Wtype-limits; do
14334 > for flag in -Wshadow; do
14335    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14337   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14181 | Line 14406 | done
14406  
14407  
14408  
14409 < for flag in -Wundef; do
14409 > for flag in -Wshift-negative-value; do
14410    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14412   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14256 | Line 14481 | done
14481  
14482  
14483  
14484 < for flag in -Wuninitialized; do
14484 > for flag in -Wsign-compare; do
14485    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14487   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14331 | Line 14556 | done
14556  
14557  
14558  
14559 < for flag in -Wwrite-strings; do
14559 > for flag in -Wtype-limits; do
14560    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14562   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14403 | Line 14628 | fi
14628   done
14629  
14630  
14406 fi
14631  
14632  
14409 for ac_func in strlcpy strlcat
14410 do :
14411  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14413 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14414  cat >>confdefs.h <<_ACEOF
14415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14416 _ACEOF
14417
14418 fi
14419 done
14633  
14634 <
14635 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14636 < $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14637 < if ${ac_cv_c_bigendian+:} false; then :
14634 > for flag in -Wundef; do
14635 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14636 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14637 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14638 > if eval \${$as_CACHEVAR+:} false; then :
14639    $as_echo_n "(cached) " >&6
14640   else
14427  ac_cv_c_bigendian=unknown
14428    # See if we're dealing with a universal compiler.
14429    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14430 /* end confdefs.h.  */
14431 #ifndef __APPLE_CC__
14432               not a universal capable compiler
14433             #endif
14434             typedef int dummy;
14641  
14642 < _ACEOF
14643 < if ac_fn_c_try_compile "$LINENO"; then :
14644 <
14439 <        # Check for potential -arch flags.  It is not universal unless
14440 <        # there are at least two -arch flags with different values.
14441 <        ac_arch=
14442 <        ac_prev=
14443 <        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14444 <         if test -n "$ac_prev"; then
14445 <           case $ac_word in
14446 <             i?86 | x86_64 | ppc | ppc64)
14447 <               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14448 <                 ac_arch=$ac_word
14449 <               else
14450 <                 ac_cv_c_bigendian=universal
14451 <                 break
14452 <               fi
14453 <               ;;
14454 <           esac
14455 <           ac_prev=
14456 <         elif test "x$ac_word" = "x-arch"; then
14457 <           ac_prev=arch
14458 <         fi
14459 <       done
14460 < fi
14461 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14462 <    if test $ac_cv_c_bigendian = unknown; then
14463 <      # See if sys/param.h defines the BYTE_ORDER macro.
14464 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 >  ax_check_save_flags=$CFLAGS
14643 >  CFLAGS="$CFLAGS  $flag"
14644 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645   /* end confdefs.h.  */
14466 #include <sys/types.h>
14467             #include <sys/param.h>
14646  
14647   int
14648   main ()
14649   {
14472 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14473                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14474                     && LITTLE_ENDIAN)
14475              bogus endian macros
14476             #endif
14650  
14651    ;
14652    return 0;
14653   }
14654   _ACEOF
14655   if ac_fn_c_try_compile "$LINENO"; then :
14656 <  # It does; now see whether it defined to BIG_ENDIAN or not.
14657 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 < /* end confdefs.h.  */
14659 < #include <sys/types.h>
14660 <                #include <sys/param.h>
14656 >  eval "$as_CACHEVAR=yes"
14657 > else
14658 >  eval "$as_CACHEVAR=no"
14659 > fi
14660 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 >  CFLAGS=$ax_check_save_flags
14662 > fi
14663 > eval ac_res=\$$as_CACHEVAR
14664 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14665 > $as_echo "$ac_res" >&6; }
14666 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14667  
14668 < int
14669 < main ()
14670 < {
14671 < #if BYTE_ORDER != BIG_ENDIAN
14672 <                 not big endian
14673 <                #endif
14668 > if ${CFLAGS+:} false; then :
14669 >
14670 >  case " $CFLAGS " in #(
14671 >  *" $flag "*) :
14672 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14673 >  (: CFLAGS already contains $flag) 2>&5
14674 >  ac_status=$?
14675 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14676 >  test $ac_status = 0; } ;; #(
14677 >  *) :
14678 >
14679 >     as_fn_append CFLAGS " $flag"
14680 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14681 >  (: CFLAGS="$CFLAGS") 2>&5
14682 >  ac_status=$?
14683 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14684 >  test $ac_status = 0; }
14685 >     ;;
14686 > esac
14687  
14496  ;
14497  return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_c_try_compile "$LINENO"; then :
14501  ac_cv_c_bigendian=yes
14688   else
14689 <  ac_cv_c_bigendian=no
14689 >
14690 >  CFLAGS=$flag
14691 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14692 >  (: CFLAGS="$CFLAGS") 2>&5
14693 >  ac_status=$?
14694 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14695 >  test $ac_status = 0; }
14696 >
14697   fi
14698 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14698 >
14699 > else
14700 >  :
14701   fi
14507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14508    fi
14509    if test $ac_cv_c_bigendian = unknown; then
14510      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h.  */
14513 #include <limits.h>
14702  
14703 < int
14516 < main ()
14517 < {
14518 < #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14519 <              bogus endian macros
14520 <             #endif
14703 > done
14704  
14705 <  ;
14706 <  return 0;
14707 < }
14708 < _ACEOF
14709 < if ac_fn_c_try_compile "$LINENO"; then :
14710 <  # It does; now see whether it defined to _BIG_ENDIAN or not.
14711 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 >
14706 >
14707 >
14708 >
14709 > for flag in -Wuninitialized; do
14710 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14711 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14712 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14713 > if eval \${$as_CACHEVAR+:} false; then :
14714 >  $as_echo_n "(cached) " >&6
14715 > else
14716 >
14717 >  ax_check_save_flags=$CFLAGS
14718 >  CFLAGS="$CFLAGS  $flag"
14719 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720   /* end confdefs.h.  */
14530 #include <limits.h>
14721  
14722   int
14723   main ()
14724   {
14535 #ifndef _BIG_ENDIAN
14536                 not big endian
14537                #endif
14725  
14726    ;
14727    return 0;
14728   }
14729   _ACEOF
14730   if ac_fn_c_try_compile "$LINENO"; then :
14731 <  ac_cv_c_bigendian=yes
14731 >  eval "$as_CACHEVAR=yes"
14732   else
14733 <  ac_cv_c_bigendian=no
14733 >  eval "$as_CACHEVAR=no"
14734   fi
14735   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14736 +  CFLAGS=$ax_check_save_flags
14737   fi
14738 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14739 <    fi
14740 <    if test $ac_cv_c_bigendian = unknown; then
14741 <      # Compile a test program.
14742 <      if test "$cross_compiling" = yes; then :
14743 <  # Try to guess by grepping values from an object file.
14744 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 > eval ac_res=\$$as_CACHEVAR
14739 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14740 > $as_echo "$ac_res" >&6; }
14741 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14742 >
14743 > if ${CFLAGS+:} false; then :
14744 >
14745 >  case " $CFLAGS " in #(
14746 >  *" $flag "*) :
14747 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14748 >  (: CFLAGS already contains $flag) 2>&5
14749 >  ac_status=$?
14750 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 >  test $ac_status = 0; } ;; #(
14752 >  *) :
14753 >
14754 >     as_fn_append CFLAGS " $flag"
14755 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14756 >  (: CFLAGS="$CFLAGS") 2>&5
14757 >  ac_status=$?
14758 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14759 >  test $ac_status = 0; }
14760 >     ;;
14761 > esac
14762 >
14763 > else
14764 >
14765 >  CFLAGS=$flag
14766 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14767 >  (: CFLAGS="$CFLAGS") 2>&5
14768 >  ac_status=$?
14769 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14770 >  test $ac_status = 0; }
14771 >
14772 > fi
14773 >
14774 > else
14775 >  :
14776 > fi
14777 >
14778 > done
14779 >
14780 >
14781 >
14782 >
14783 >
14784 > for flag in -Wwrite-strings; do
14785 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14786 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14787 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14788 > if eval \${$as_CACHEVAR+:} false; then :
14789 >  $as_echo_n "(cached) " >&6
14790 > else
14791 >
14792 >  ax_check_save_flags=$CFLAGS
14793 >  CFLAGS="$CFLAGS  $flag"
14794 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795   /* end confdefs.h.  */
14558 short int ascii_mm[] =
14559                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14560                short int ascii_ii[] =
14561                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14562                int use_ascii (int i) {
14563                  return ascii_mm[i] + ascii_ii[i];
14564                }
14565                short int ebcdic_ii[] =
14566                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14567                short int ebcdic_mm[] =
14568                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14569                int use_ebcdic (int i) {
14570                  return ebcdic_mm[i] + ebcdic_ii[i];
14571                }
14572                extern int foo;
14796  
14797   int
14798   main ()
14799   {
14800 < return use_ascii (foo) == use_ebcdic (foo);
14800 >
14801    ;
14802    return 0;
14803   }
14804   _ACEOF
14805   if ac_fn_c_try_compile "$LINENO"; then :
14806 <  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14807 <              ac_cv_c_bigendian=yes
14808 <            fi
14586 <            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14587 <              if test "$ac_cv_c_bigendian" = unknown; then
14588 <                ac_cv_c_bigendian=no
14589 <              else
14590 <                # finding both strings is unlikely to happen, but who knows?
14591 <                ac_cv_c_bigendian=unknown
14592 <              fi
14593 <            fi
14806 >  eval "$as_CACHEVAR=yes"
14807 > else
14808 >  eval "$as_CACHEVAR=no"
14809   fi
14810   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14811 +  CFLAGS=$ax_check_save_flags
14812 + fi
14813 + eval ac_res=\$$as_CACHEVAR
14814 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14815 + $as_echo "$ac_res" >&6; }
14816 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14817 +
14818 + if ${CFLAGS+:} false; then :
14819 +
14820 +  case " $CFLAGS " in #(
14821 +  *" $flag "*) :
14822 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14823 +  (: CFLAGS already contains $flag) 2>&5
14824 +  ac_status=$?
14825 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14826 +  test $ac_status = 0; } ;; #(
14827 +  *) :
14828 +
14829 +     as_fn_append CFLAGS " $flag"
14830 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14831 +  (: CFLAGS="$CFLAGS") 2>&5
14832 +  ac_status=$?
14833 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14834 +  test $ac_status = 0; }
14835 +     ;;
14836 + esac
14837 +
14838   else
14839 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 >
14840 >  CFLAGS=$flag
14841 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14842 >  (: CFLAGS="$CFLAGS") 2>&5
14843 >  ac_status=$?
14844 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14845 >  test $ac_status = 0; }
14846 >
14847 > fi
14848 >
14849 > else
14850 >  :
14851 > fi
14852 >
14853 > done
14854 >
14855 >
14856 > fi
14857 >
14858 >
14859 >  # Check whether --enable-efence was given.
14860 > if test "${enable_efence+set}" = set; then :
14861 >  enableval=$enable_efence; efence="$enableval"
14862 > else
14863 >  efence="no"
14864 > fi
14865 >
14866 >
14867 >  if test "$efence" = "yes"; then :
14868 >
14869 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
14870 > $as_echo_n "checking for library containing EF_Print... " >&6; }
14871 > if ${ac_cv_search_EF_Print+:} false; then :
14872 >  $as_echo_n "(cached) " >&6
14873 > else
14874 >  ac_func_search_save_LIBS=$LIBS
14875 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876   /* end confdefs.h.  */
14877 < $ac_includes_default
14877 >
14878 > /* Override any GCC internal prototype to avoid an error.
14879 >   Use char because int might match the return type of a GCC
14880 >   builtin and then its argument prototype would still apply.  */
14881 > #ifdef __cplusplus
14882 > extern "C"
14883 > #endif
14884 > char EF_Print ();
14885   int
14886   main ()
14887   {
14888 <
14604 <             /* Are we little or big endian?  From Harbison&Steele.  */
14605 <             union
14606 <             {
14607 <               long int l;
14608 <               char c[sizeof (long int)];
14609 <             } u;
14610 <             u.l = 1;
14611 <             return u.c[sizeof (long int) - 1] == 1;
14612 <
14888 > return EF_Print ();
14889    ;
14890    return 0;
14891   }
14892   _ACEOF
14893 < if ac_fn_c_try_run "$LINENO"; then :
14894 <  ac_cv_c_bigendian=no
14893 > for ac_lib in '' efence; do
14894 >  if test -z "$ac_lib"; then
14895 >    ac_res="none required"
14896 >  else
14897 >    ac_res=-l$ac_lib
14898 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14899 >  fi
14900 >  if ac_fn_c_try_link "$LINENO"; then :
14901 >  ac_cv_search_EF_Print=$ac_res
14902 > fi
14903 > rm -f core conftest.err conftest.$ac_objext \
14904 >    conftest$ac_exeext
14905 >  if ${ac_cv_search_EF_Print+:} false; then :
14906 >  break
14907 > fi
14908 > done
14909 > if ${ac_cv_search_EF_Print+:} false; then :
14910 >
14911   else
14912 <  ac_cv_c_bigendian=yes
14912 >  ac_cv_search_EF_Print=no
14913   fi
14914 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14915 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14914 > rm conftest.$ac_ext
14915 > LIBS=$ac_func_search_save_LIBS
14916   fi
14917 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
14918 + $as_echo "$ac_cv_search_EF_Print" >&6; }
14919 + ac_res=$ac_cv_search_EF_Print
14920 + if test "$ac_res" != no; then :
14921 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14922  
14923 <    fi
14923 > else
14924 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14925 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14926 > as_fn_error $? "Electric Fence 'efence' library not found
14927 > See \`config.log' for more details" "$LINENO" 5; }
14928   fi
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14629 $as_echo "$ac_cv_c_bigendian" >&6; }
14630 case $ac_cv_c_bigendian in #(
14631   yes)
14632     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14633 ;; #(
14634   no)
14635      ;; #(
14636   universal)
14929  
14638 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14930  
14931 <     ;; #(
14932 <   *)
14933 <     as_fn_error $? "unknown endianness
14934 < presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14935 < esac
14931 > fi
14932 >
14933 >
14934 > for ac_func in strlcpy strlcat
14935 > do :
14936 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14937 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14938 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14939 >  cat >>confdefs.h <<_ACEOF
14940 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14941 > _ACEOF
14942 >
14943 > fi
14944 > done
14945  
14946  
14947   ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
# Line 14784 | Line 15084 | if test -z "${am__fastdepCC_TRUE}" && te
15084   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15085   fi
15086  
14787
15087   : "${CONFIG_STATUS=./config.status}"
15088   ac_write_fail=0
15089   ac_clean_files_save=$ac_clean_files
# Line 15181 | Line 15480 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15480   # report actual input values of CONFIG_FILES etc. instead of their
15481   # values after options handling.
15482   ac_log="
15483 < This file was extended by hopm $as_me TRUNK, which was
15483 > This file was extended by hopm $as_me 1.1.9, which was
15484   generated by GNU Autoconf 2.69.  Invocation command line was
15485  
15486    CONFIG_FILES    = $CONFIG_FILES
# Line 15247 | Line 15546 | _ACEOF
15546   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15547   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15548   ac_cs_version="\\
15549 < hopm config.status TRUNK
15549 > hopm config.status 1.1.9
15550   configured by $0, generated by GNU Autoconf 2.69,
15551    with options \\"\$ac_cs_config\\"
15552  
# Line 15366 | Line 15665 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15665   #
15666   # INIT-COMMANDS
15667   #
15668 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15668 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15669  
15670  
15671   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 16266 | Line 16565 | $as_echo "$as_me: executing $ac_file com
16565    # Older Autoconf quotes --file arguments for eval, but not when files
16566    # are listed without --file.  Let's play safe and only enable the eval
16567    # if we detect the quoting.
16568 <  case $CONFIG_FILES in
16569 <  *\'*) eval set x "$CONFIG_FILES" ;;
16570 <  *)   set x $CONFIG_FILES ;;
16571 <  esac
16568 >  # TODO: see whether this extra hack can be removed once we start
16569 >  # requiring Autoconf 2.70 or later.
16570 >  case $CONFIG_FILES in #(
16571 >  *\'*) :
16572 >    eval set x "$CONFIG_FILES" ;; #(
16573 >  *) :
16574 >    set x $CONFIG_FILES ;; #(
16575 >  *) :
16576 >     ;;
16577 > esac
16578    shift
16579 <  for mf
16579 >  # Used to flag and report bootstrapping failures.
16580 >  am_rc=0
16581 >  for am_mf
16582    do
16583      # Strip MF so we end up with the name of the file.
16584 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
16585 <    # Check whether this is an Automake generated Makefile or not.
16586 <    # We used to match only the files named 'Makefile.in', but
16587 <    # some people rename them; so instead we look at the file content.
16281 <    # Grep'ing the first line is not enough: some people post-process
16282 <    # each Makefile.in and add a new line on top of each file to say so.
16283 <    # Grep'ing the whole file is not good either: AIX grep has a line
16584 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16585 >    # Check whether this is an Automake generated Makefile which includes
16586 >    # dependency-tracking related rules and includes.
16587 >    # Grep'ing the whole file directly is not great: AIX grep has a line
16588      # limit of 2048, but all sed's we know have understand at least 4000.
16589 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16590 <      dirpart=`$as_dirname -- "$mf" ||
16591 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16592 <         X"$mf" : 'X\(//\)[^/]' \| \
16593 <         X"$mf" : 'X\(//\)$' \| \
16594 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16595 < $as_echo X"$mf" |
16589 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16590 >      || continue
16591 >    am_dirpart=`$as_dirname -- "$am_mf" ||
16592 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16593 >         X"$am_mf" : 'X\(//\)[^/]' \| \
16594 >         X"$am_mf" : 'X\(//\)$' \| \
16595 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16596 > $as_echo X"$am_mf" |
16597      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16598              s//\1/
16599              q
# Line 16306 | Line 16611 | $as_echo X"$mf" |
16611              q
16612            }
16613            s/.*/./; q'`
16614 <    else
16615 <      continue
16616 <    fi
16617 <    # Extract the definition of DEPDIR, am__include, and am__quote
16618 <    # from the Makefile without running 'make'.
16619 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16315 <    test -z "$DEPDIR" && continue
16316 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16317 <    test -z "$am__include" && continue
16318 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16319 <    # Find all dependency output files, they are included files with
16320 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16321 <    # simplest approach to changing $(DEPDIR) to its actual value in the
16322 <    # expansion.
16323 <    for file in `sed -n "
16324 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16325 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16326 <      # Make sure the directory exists.
16327 <      test -f "$dirpart/$file" && continue
16328 <      fdir=`$as_dirname -- "$file" ||
16329 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16330 <         X"$file" : 'X\(//\)[^/]' \| \
16331 <         X"$file" : 'X\(//\)$' \| \
16332 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16333 < $as_echo X"$file" |
16334 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16335 <            s//\1/
16336 <            q
16337 <          }
16338 <          /^X\(\/\/\)[^/].*/{
16614 >    am_filepart=`$as_basename -- "$am_mf" ||
16615 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16616 >         X"$am_mf" : 'X\(//\)$' \| \
16617 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16618 > $as_echo X/"$am_mf" |
16619 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
16620              s//\1/
16621              q
16622            }
16623 <          /^X\(\/\/\)$/{
16623 >          /^X\/\(\/\/\)$/{
16624              s//\1/
16625              q
16626            }
16627 <          /^X\(\/\).*/{
16627 >          /^X\/\(\/\).*/{
16628              s//\1/
16629              q
16630            }
16631            s/.*/./; q'`
16632 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16633 <      # echo "creating $dirpart/$file"
16634 <      echo '# dummy' > "$dirpart/$file"
16635 <    done
16632 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16633 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16634 >        | $MAKE -f - am--depfiles" >&5
16635 >   (cd "$am_dirpart" \
16636 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16637 >        | $MAKE -f - am--depfiles) >&5 2>&5
16638 >   ac_status=$?
16639 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 >   (exit $ac_status); } || am_rc=$?
16641    done
16642 +  if test $am_rc -ne 0; then
16643 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16644 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16645 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
16646 +    for automatic dependency tracking.  Try re-running configure with the
16647 +    '--disable-dependency-tracking' option to at least be able to build
16648 +    the package (albeit without support for automatic dependency tracking).
16649 + See \`config.log' for more details" "$LINENO" 5; }
16650 +  fi
16651 +  { am_dirpart=; unset am_dirpart;}
16652 +  { am_filepart=; unset am_filepart;}
16653 +  { am_mf=; unset am_mf;}
16654 +  { am_rc=; unset am_rc;}
16655 +  rm -f conftest-deps.mk
16656   }
16657   ;;
16658      "libtool":C)
# Line 16370 | Line 16670 | $as_echo X"$file" |
16670      cat <<_LT_EOF >> "$cfgfile"
16671   #! $SHELL
16672   # Generated automatically by $as_me ($PACKAGE) $VERSION
16373 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16673   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16674  
16675   # Provide generalized library-building support services.

Diff Legend

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