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 5209 by michael, Mon Dec 29 19:50:33 2014 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 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 1.0.0beta1.
4 > # Generated by GNU Autoconf 2.69 for hopm 1.1.9.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9   # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Line 272 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 587 | Line 591 | MAKEFLAGS=
591   # Identity of this package.
592   PACKAGE_NAME='hopm'
593   PACKAGE_TARNAME='hopm'
594 < PACKAGE_VERSION='1.0.0beta1'
595 < PACKAGE_STRING='hopm 1.0.0beta1'
596 < PACKAGE_BUGREPORT=''
594 > PACKAGE_VERSION='1.1.9'
595 > PACKAGE_STRING='hopm 1.1.9'
596 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
597   PACKAGE_URL=''
598  
599   ac_unique_file="src/opercmd.h"
# Line 630 | Line 634 | ac_includes_default="\
634   # include <unistd.h>
635   #endif"
636  
633 enable_option_checking=no
637   ac_subst_vars='am__EXEEXT_FALSE
638   am__EXEEXT_TRUE
639   LTLIBOBJS
640   LIBOBJS
638 subdirs
641   LEXLIB
642   LEX_OUTPUT_ROOT
643   LEX
644   YFLAGS
645   YACC
646   CPP
647 + LT_SYS_LIBRARY_PATH
648   OTOOL64
649   OTOOL
650   LIPO
# Line 678 | Line 681 | am__nodep
681   AMDEPBACKSLASH
682   AMDEP_FALSE
683   AMDEP_TRUE
681 am__quote
684   am__include
685   DEPDIR
686   OBJEXT
# Line 737 | Line 739 | infodir
739   docdir
740   oldincludedir
741   includedir
742 + runstatedir
743   localstatedir
744   sharedstatedir
745   sysconfdir
# Line 755 | 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
766   enable_silent_rules
767   enable_maintainer_mode
764 with_extra_fascism
768   enable_dependency_tracking
769   enable_shared
770   enable_static
# Line 771 | 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 780 | Line 787 | CFLAGS
787   LDFLAGS
788   LIBS
789   CPPFLAGS
790 + LT_SYS_LIBRARY_PATH
791   CPP
792   YACC
793   YFLAGS'
794 < ac_subdirs_all='src/libopm'
794 >
795  
796   # Initialize some variables set by options.
797   ac_init_help=
# Line 821 | 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 1073 | 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 1210 | 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 1323 | 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 1.0.0beta1 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 1363 | 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 1393 | 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 1.0.0beta1:";;
1415 >     short | recursive ) echo "Configuration of hopm 1.1.9:";;
1416     esac
1417    cat <<\_ACEOF
1418  
# Line 1415 | 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]
1446    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422  --with-extra-fascism    Add extra gcc3-specific warning flags
1447    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1448                            both]
1449    --with-aix-soname=aix|svr4|both
# Line 1437 | Line 1461 | Some influential environment variables:
1461    LIBS        libraries to pass to the linker, e.g. -l<library>
1462    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463                you have headers in a nonstandard directory <include dir>
1464 +  LT_SYS_LIBRARY_PATH
1465 +              User-defined run-time library search path.
1466    CPP         C preprocessor
1467    YACC        The `Yet Another Compiler Compiler' implementation to use.
1468                Defaults to the first program found out of: `bison -y', `byacc',
# Line 1448 | Line 1474 | Some influential environment variables:
1474   Use these variables to override the choices made by `configure' or to help
1475   it to find libraries and programs with nonstandard names/locations.
1476  
1477 < Report bugs to the package provider.
1477 > Report bugs to <bugs@ircd-hybrid.org>.
1478   _ACEOF
1479   ac_status=$?
1480   fi
# Line 1511 | Line 1537 | fi
1537   test -n "$ac_init_help" && exit $ac_status
1538   if $ac_init_version; then
1539    cat <<\_ACEOF
1540 < hopm configure 1.0.0beta1
1540 > hopm configure 1.1.9
1541   generated by GNU Autoconf 2.69
1542  
1543   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1785 | Line 1811 | $as_echo "$ac_res" >&6; }
1811    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812  
1813   } # ac_fn_c_check_func
1788
1789 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1792 # the include files in INCLUDES and setting the cache variable VAR
1793 # accordingly.
1794 ac_fn_c_check_header_mongrel ()
1795 {
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  if eval \${$3+:} false; then :
1798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801  $as_echo_n "(cached) " >&6
1802 fi
1803 eval ac_res=\$$3
1804               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 else
1807  # Is the header compilable?
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1809 $as_echo_n "checking $2 usability... " >&6; }
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h.  */
1812 $4
1813 #include <$2>
1814 _ACEOF
1815 if ac_fn_c_try_compile "$LINENO"; then :
1816  ac_header_compiler=yes
1817 else
1818  ac_header_compiler=no
1819 fi
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1822 $as_echo "$ac_header_compiler" >&6; }
1823
1824 # Is the header present?
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1826 $as_echo_n "checking $2 presence... " >&6; }
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 #include <$2>
1830 _ACEOF
1831 if ac_fn_c_try_cpp "$LINENO"; then :
1832  ac_header_preproc=yes
1833 else
1834  ac_header_preproc=no
1835 fi
1836 rm -f conftest.err conftest.i conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1838 $as_echo "$ac_header_preproc" >&6; }
1839
1840 # So?  What about this header?
1841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842  yes:no: )
1843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1844 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1845    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1847    ;;
1848  no:yes:* )
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1850 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1852 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1854 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1856 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1858 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1859    ;;
1860 esac
1861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864  $as_echo_n "(cached) " >&6
1865 else
1866  eval "$3=\$ac_header_compiler"
1867 fi
1868 eval ac_res=\$$3
1869               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 fi
1872  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874 } # ac_fn_c_check_header_mongrel
1814   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 1.0.0beta1, 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 2224 | Line 2163 | ac_link='$CC -o conftest$ac_exeext $CFLA
2163   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164  
2165  
2166 <
2228 < ac_config_headers="$ac_config_headers src/setup.h"
2229 <
2230 < am__api_version='1.14'
2166 > am__api_version='1.16'
2167  
2168   ac_aux_dir=
2169   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2428 | Line 2364 | test "$program_suffix" != NONE &&
2364   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2365   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2366  
2367 < # expand $ac_aux_dir to an absolute path
2368 < am_aux_dir=`cd $ac_aux_dir && pwd`
2367 > # Expand $ac_aux_dir to an absolute path.
2368 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2369  
2370   if test x"${MISSING+set}" != xset; then
2371    case $am_aux_dir in
# Line 2448 | Line 2384 | else
2384   $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2385   fi
2386  
2387 < if test x"${install_sh}" != xset; then
2387 > if test x"${install_sh+set}" != xset; then
2388    case $am_aux_dir in
2389    *\ * | *\     *)
2390      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2742 | Line 2678 | fi
2678  
2679   # Define the identity of the package.
2680   PACKAGE='hopm'
2681 < VERSION='1.0.0beta1'
2681 > VERSION='1.1.9'
2682  
2683  
2684   cat >>confdefs.h <<_ACEOF
# Line 2772 | 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.  The system "awk" is bad on
2716 < # some platforms.
2715 > # We need awk for the "check" target (and possibly the TAP driver).  The
2716 > # system "awk" is bad on some platforms.
2717   # Always define AMTAR for backward compatibility.  Yes, it's still used
2718   # in the wild :-(  We should find a proper way to deprecate it ...
2719   AMTAR='$${TAR-tar}'
# Line 2824 | 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 2859 | Line 2795 | fi
2795  
2796  
2797  
2798 <
2863 < # Check whether --with-extra-fascism was given.
2864 < if test "${with_extra_fascism+set}" = set; then :
2865 <  withval=$with_extra_fascism; CFLAGS="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"
2866 < fi
2867 <
2798 > ac_config_headers="$ac_config_headers src/setup.h"
2799  
2800  
2801  
# Line 2873 | 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
2883 # If we don't find an include directive, just comment out the code.
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2885 $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 4096 | Line 4027 | esac
4027  
4028  
4029  
4030 < macro_version='2.4.4'
4031 < macro_revision='2.4.4'
4030 > macro_version='2.4.6'
4031 > macro_revision='2.4.6'
4032  
4033  
4034  
# Line 5397 | 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 6261 | 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
6266 <  ac_status=$?
6267 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6268 <  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 6520 | Line 6448 | $as_echo "$lt_cv_truncate_bin" >&6; }
6448  
6449  
6450  
6451 +
6452 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6453 + func_cc_basename ()
6454 + {
6455 +    for cc_temp in $*""; do
6456 +      case $cc_temp in
6457 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6458 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6459 +        \-*) ;;
6460 +        *) break;;
6461 +      esac
6462 +    done
6463 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6464 + }
6465 +
6466   # Check whether --enable-libtool-lock was given.
6467   if test "${enable_libtool_lock+set}" = set; then :
6468    enableval=$enable_libtool_lock;
# Line 7527 | Line 7470 | $as_echo "$lt_cv_ld_force_load" >&6; }
7470      ;;
7471    esac
7472  
7473 + # func_munge_path_list VARIABLE PATH
7474 + # -----------------------------------
7475 + # VARIABLE is name of variable containing _space_ separated list of
7476 + # directories to be munged by the contents of PATH, which is string
7477 + # having a format:
7478 + # "DIR[:DIR]:"
7479 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7480 + # ":DIR[:DIR]"
7481 + #       string "DIR[ DIR]" will be appended to VARIABLE
7482 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7483 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7484 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7485 + # "DIR[:DIR]"
7486 + #       VARIABLE will be replaced by "DIR[ DIR]"
7487 + func_munge_path_list ()
7488 + {
7489 +    case x$2 in
7490 +    x)
7491 +        ;;
7492 +    *:)
7493 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7494 +        ;;
7495 +    x:*)
7496 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7497 +        ;;
7498 +    *::*)
7499 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7500 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7501 +        ;;
7502 +    *)
7503 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7504 +        ;;
7505 +    esac
7506 + }
7507 +
7508   ac_ext=c
7509   ac_cpp='$CPP $CPPFLAGS'
7510   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8114 | Line 8092 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8092   test -z "$LD" && LD=ld
8093   test -z "$ac_objext" && ac_objext=o
8094  
8095 < for cc_temp in $compiler""; do
8096 <  case $cc_temp in
8119 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8120 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8121 <    \-*) ;;
8122 <    *) break;;
8123 <  esac
8124 < done
8125 < cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8095 > func_cc_basename $compiler
8096 > cc_basename=$func_cc_basename_result
8097  
8098  
8099   # Only perform the check for file, if the check method requires it
# Line 8322 | Line 8293 | _lt_linker_boilerplate=`cat conftest.err
8293   $RM -r conftest*
8294  
8295  
8296 + ## CAVEAT EMPTOR:
8297 + ## There is no encapsulation within the following macros, do not change
8298 + ## the running order or otherwise move them around unless you know exactly
8299 + ## what you are doing...
8300   if test -n "$compiler"; then
8301  
8302   lt_prog_compiler_no_builtin_flag=
# Line 8567 | 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 9043 | 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 9297 | 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 9967 | 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 9988 | 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 10577 | Line 10562 | hardcode_into_libs=no
10562   # flags to be left without arguments
10563   need_version=unknown
10564  
10565 +
10566 +
10567   case $host_os in
10568   aix3*)
10569    version_type=linux # correct to gnu/linux during the next big refactor
# Line 10865 | Line 10852 | freebsd* | dragonfly*)
10852    case $version_type in
10853      freebsd-elf*)
10854        library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10855 +      soname_spec='$libname$release$shared_ext$major'
10856        need_version=no
10857        need_lib_prefix=no
10858        ;;
# Line 10924 | Line 10912 | hpux9* | hpux10* | hpux11*)
10912      soname_spec='$libname$release$shared_ext$major'
10913      if test 32 = "$HPUX_IA64_MODE"; then
10914        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10915 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10916      else
10917        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10918 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10919      fi
10930    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10920      ;;
10921    hppa*64*)
10922      shrext_cmds='.sl'
# Line 11079 | Line 11068 | fi
11068    # before this can be enabled.
11069    hardcode_into_libs=yes
11070  
11071 <  # Append ld.so.conf contents to the search path
11071 >  # Ideally, we could use ldconfig to report *all* directores which are
11072 >  # searched for libraries, however this is still not possible.  Aside from not
11073 >  # being certain /sbin/ldconfig is available, command
11074 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11075 >  # even though it is searched at run-time.  Try to do the best guess by
11076 >  # appending ld.so.conf contents (and includes) to the search path.
11077    if test -f /etc/ld.so.conf; then
11078      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11079      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
# Line 11094 | 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 11304 | Line 11310 | fi
11310   if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11311    sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11312   fi
11313 +
11314   if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11315    sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11316   fi
11317  
11318 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11319 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11320 +
11321 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11322 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11323 +
11324 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11325 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11326 +
11327 +
11328 +
11329 +
11330 +
11331 +
11332  
11333  
11334  
# Line 12088 | Line 12109 | CC=$lt_save_CC
12109  
12110  
12111  
12091 for ac_header in sys/poll.h
12092 do :
12093  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12094 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12095  cat >>confdefs.h <<_ACEOF
12096 #define HAVE_SYS_POLL_H 1
12097 _ACEOF
12098 have_poll_sys_h=yes
12099 else
12100  have_sys_poll_h=no
12101 fi
12102
12103 done
12104
12105
12106 for ac_header in fcntl.h sys/time.h unistd.h
12107 do :
12108  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12109 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12110 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12111  cat >>confdefs.h <<_ACEOF
12112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12113 _ACEOF
12114
12115 fi
12116
12117 done
12118
12119
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12121 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12122 if ${ac_cv_header_time+:} false; then :
12123  $as_echo_n "(cached) " >&6
12124 else
12125  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h.  */
12127 #include <sys/types.h>
12128 #include <sys/time.h>
12129 #include <time.h>
12130
12131 int
12132 main ()
12133 {
12134 if ((struct tm *) 0)
12135 return 0;
12136  ;
12137  return 0;
12138 }
12139 _ACEOF
12140 if ac_fn_c_try_compile "$LINENO"; then :
12141  ac_cv_header_time=yes
12142 else
12143  ac_cv_header_time=no
12144 fi
12145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12146 fi
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12148 $as_echo "$ac_cv_header_time" >&6; }
12149 if test $ac_cv_header_time = yes; then
12150
12151 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12152
12153 fi
12154
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12156 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12157 if ${ac_cv_struct_tm+:} false; then :
12158  $as_echo_n "(cached) " >&6
12159 else
12160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h.  */
12162 #include <sys/types.h>
12163 #include <time.h>
12164
12165 int
12166 main ()
12167 {
12168 struct tm tm;
12169                                     int *p = &tm.tm_sec;
12170                                     return !p;
12171  ;
12172  return 0;
12173 }
12174 _ACEOF
12175 if ac_fn_c_try_compile "$LINENO"; then :
12176  ac_cv_struct_tm=time.h
12177 else
12178  ac_cv_struct_tm=sys/time.h
12179 fi
12180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12181 fi
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12183 $as_echo "$ac_cv_struct_tm" >&6; }
12184 if test $ac_cv_struct_tm = sys/time.h; then
12185
12186 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12187
12188 fi
12189
12190
12191
12112   for ac_prog in 'bison -y' byacc
12113   do
12114    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 12396 | Line 12316 | if test "$LEX" = :; then
12316    LEX=${am_missing_run}flex
12317   fi
12318  
12319 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12320 < $as_echo_n "checking for library containing socket... " >&6; }
12321 < if ${ac_cv_search_socket+:} false; then :
12319 >
12320 >
12321 >  if test "X$CC" != "X"; then
12322 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
12323 > $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
12324 > if ${ssp_cv_cc+:} false; then :
12325    $as_echo_n "(cached) " >&6
12326   else
12327 <  ac_func_search_save_LIBS=$LIBS
12328 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 >  ssp_old_cflags="$CFLAGS"
12328 >       CFLAGS="$CFLAGS -fstack-protector-strong"
12329 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330   /* end confdefs.h.  */
12331  
12408 /* Override any GCC internal prototype to avoid an error.
12409   Use char because int might match the return type of a GCC
12410   builtin and then its argument prototype would still apply.  */
12411 #ifdef __cplusplus
12412 extern "C"
12413 #endif
12414 char socket ();
12332   int
12333   main ()
12334   {
12335 < return socket ();
12335 >
12336    ;
12337    return 0;
12338   }
12339   _ACEOF
12340 < for ac_lib in '' socket; do
12341 <  if test -z "$ac_lib"; then
12342 <    ac_res="none required"
12343 <  else
12427 <    ac_res=-l$ac_lib
12428 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12429 <  fi
12430 <  if ac_fn_c_try_link "$LINENO"; then :
12431 <  ac_cv_search_socket=$ac_res
12340 > if ac_fn_c_try_compile "$LINENO"; then :
12341 >  ssp_cv_cc=yes
12342 > else
12343 >  ssp_cv_cc=no
12344   fi
12345 < rm -f core conftest.err conftest.$ac_objext \
12346 <    conftest$ac_exeext
12347 <  if ${ac_cv_search_socket+:} false; then :
12436 <  break
12345 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12346 >       CFLAGS="$ssp_old_cflags"
12347 >
12348   fi
12349 < done
12350 < if ${ac_cv_search_socket+:} false; then :
12349 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12350 > $as_echo "$ssp_cv_cc" >&6; }
12351 >    if test $ssp_cv_cc = yes; then
12352 >      CFLAGS="$CFLAGS -fstack-protector-strong"
12353 >
12354 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12355  
12356 +    else
12357 +      unset ssp_cv_cc
12358 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
12359 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
12360 + if ${ssp_cv_cc+:} false; then :
12361 +  $as_echo_n "(cached) " >&6
12362   else
12363 <  ac_cv_search_socket=no
12363 >  ssp_old_cflags="$CFLAGS"
12364 >         CFLAGS="$CFLAGS -fstack-protector"
12365 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 > /* end confdefs.h.  */
12367 >
12368 > int
12369 > main ()
12370 > {
12371 >
12372 >  ;
12373 >  return 0;
12374 > }
12375 > _ACEOF
12376 > if ac_fn_c_try_compile "$LINENO"; then :
12377 >  ssp_cv_cc=yes
12378 > else
12379 >  ssp_cv_cc=no
12380   fi
12381 < rm conftest.$ac_ext
12382 < LIBS=$ac_func_search_save_LIBS
12381 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12382 >         CFLAGS="$ssp_old_cflags"
12383 >
12384   fi
12385 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12386 < $as_echo "$ac_cv_search_socket" >&6; }
12387 < ac_res=$ac_cv_search_socket
12388 < if test "$ac_res" != no; then :
12389 <  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12385 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12386 > $as_echo "$ssp_cv_cc" >&6; }
12387 >      if test $ssp_cv_cc = yes; then
12388 >        CFLAGS="$CFLAGS -fstack-protector"
12389 >
12390 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12391  
12392 +      fi
12393 +    fi
12394 +  fi
12395 +
12396 +
12397 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
12398 + $as_echo_n "checking whether libssp exists... " >&6; }
12399 + if ${ssp_cv_lib+:} false; then :
12400 +  $as_echo_n "(cached) " >&6
12401   else
12402 <  as_fn_error $? "socket library not found" "$LINENO" 5
12402 >  ssp_old_libs="$LIBS"
12403 >     LIBS="$LIBS -lssp"
12404 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 > /* end confdefs.h.  */
12406 >
12407 > int
12408 > main ()
12409 > {
12410 >
12411 >  ;
12412 >  return 0;
12413 > }
12414 > _ACEOF
12415 > if ac_fn_c_try_link "$LINENO"; then :
12416 >  ssp_cv_lib=yes
12417 > else
12418 >  ssp_cv_lib=no
12419 > fi
12420 > rm -f core conftest.err conftest.$ac_objext \
12421 >    conftest$ac_exeext conftest.$ac_ext
12422 >     LIBS="$ssp_old_libs"
12423 >
12424   fi
12425 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
12426 + $as_echo "$ssp_cv_lib" >&6; }
12427 +  if test $ssp_cv_lib = yes; then
12428 +    LIBS="$LIBS -lssp"
12429 +  fi
12430  
12431 < ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12431 >
12432 >
12433 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12434   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12435  
12436   else
# Line 12516 | Line 12492 | fi
12492  
12493   fi
12494  
12495 < ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12495 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12496   if test "x$ac_cv_func_getnameinfo" = xyes; then :
12497  
12498   else
# Line 12578 | Line 12554 | fi
12554  
12555   fi
12556  
12557 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12558 + $as_echo_n "checking for library containing socket... " >&6; }
12559 + if ${ac_cv_search_socket+:} false; then :
12560 +  $as_echo_n "(cached) " >&6
12561 + else
12562 +  ac_func_search_save_LIBS=$LIBS
12563 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 + /* end confdefs.h.  */
12565  
12566 < for ac_func in strlcpy strlcat socket
12567 < do :
12568 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12569 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12570 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12566 > /* Override any GCC internal prototype to avoid an error.
12567 >   Use char because int might match the return type of a GCC
12568 >   builtin and then its argument prototype would still apply.  */
12569 > #ifdef __cplusplus
12570 > extern "C"
12571 > #endif
12572 > char socket ();
12573 > int
12574 > main ()
12575 > {
12576 > return socket ();
12577 >  ;
12578 >  return 0;
12579 > }
12580 > _ACEOF
12581 > for ac_lib in '' socket; do
12582 >  if test -z "$ac_lib"; then
12583 >    ac_res="none required"
12584 >  else
12585 >    ac_res=-l$ac_lib
12586 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12587 >  fi
12588 >  if ac_fn_c_try_link "$LINENO"; then :
12589 >  ac_cv_search_socket=$ac_res
12590 > fi
12591 > rm -f core conftest.err conftest.$ac_objext \
12592 >    conftest$ac_exeext
12593 >  if ${ac_cv_search_socket+:} false; then :
12594 >  break
12595 > fi
12596 > done
12597 > if ${ac_cv_search_socket+:} false; then :
12598 >
12599 > else
12600 >  ac_cv_search_socket=no
12601 > fi
12602 > rm conftest.$ac_ext
12603 > LIBS=$ac_func_search_save_LIBS
12604 > fi
12605 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12606 > $as_echo "$ac_cv_search_socket" >&6; }
12607 > ac_res=$ac_cv_search_socket
12608 > if test "$ac_res" != no; then :
12609 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12610 >
12611 > else
12612 >  as_fn_error $? "socket library not found" "$LINENO" 5
12613 > 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 `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12742 > #define HAVE_LIBCRYPTO 1
12743   _ACEOF
12744  
12745 +  LIBS="-lcrypto $LIBS"
12746 +
12747   fi
12592 done
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 < for ac_func in gethostbyname
12761 < do :
12762 <  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12763 < if test "x$ac_cv_func_gethostbyname" = xyes; then :
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_GETHOSTBYNAME 1
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
12808 + else
12809 +  assert=no
12810 + fi
12811 +
12812 +
12813 +  if test "$assert" = "no"; then :
12814 +
12815 + $as_echo "#define NDEBUG 1" >>confdefs.h
12816 +
12817 + fi
12818 +
12819 +
12820 +  # Check whether --enable-warnings was given.
12821 + if test "${enable_warnings+set}" = set; then :
12822 +  enableval=$enable_warnings; warnings="$enableval"
12823 + else
12824 +  warnings="no"
12825 + fi
12826 +
12827 +
12828 +  if test "$warnings" = "yes"; then :
12829 +
12830 +
12831 +
12832 +
12833 +
12834 + for flag in -Wall; do
12835 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12836 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12837 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12838 + if eval \${$as_CACHEVAR+:} false; then :
12839 +  $as_echo_n "(cached) " >&6
12840 + else
12841 +
12842 +  ax_check_save_flags=$CFLAGS
12843 +  CFLAGS="$CFLAGS  $flag"
12844 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 + /* end confdefs.h.  */
12846 +
12847 + int
12848 + main ()
12849 + {
12850 +
12851 +  ;
12852 +  return 0;
12853 + }
12854 + _ACEOF
12855 + if ac_fn_c_try_compile "$LINENO"; then :
12856 +  eval "$as_CACHEVAR=yes"
12857 + else
12858 +  eval "$as_CACHEVAR=no"
12859 + fi
12860 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12861 +  CFLAGS=$ax_check_save_flags
12862   fi
12863 + eval ac_res=\$$as_CACHEVAR
12864 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12865 + $as_echo "$ac_res" >&6; }
12866 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12867 +
12868 + if ${CFLAGS+:} false; then :
12869 +
12870 +  case " $CFLAGS " in #(
12871 +  *" $flag "*) :
12872 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12873 +  (: CFLAGS already contains $flag) 2>&5
12874 +  ac_status=$?
12875 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12876 +  test $ac_status = 0; } ;; #(
12877 +  *) :
12878 +
12879 +     as_fn_append CFLAGS " $flag"
12880 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12881 +  (: CFLAGS="$CFLAGS") 2>&5
12882 +  ac_status=$?
12883 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884 +  test $ac_status = 0; }
12885 +     ;;
12886 + esac
12887 +
12888 + else
12889 +
12890 +  CFLAGS=$flag
12891 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12892 +  (: CFLAGS="$CFLAGS") 2>&5
12893 +  ac_status=$?
12894 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12895 +  test $ac_status = 0; }
12896 +
12897 + fi
12898 +
12899 + else
12900 +  :
12901 + fi
12902 +
12903   done
12904  
12905  
12906 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12907 < $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12908 < if ${ac_cv_c_bigendian+:} false; then :
12906 >
12907 >
12908 >
12909 > for flag in -Wbad-function-cast; do
12910 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12911 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12912 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12913 > if eval \${$as_CACHEVAR+:} false; then :
12914    $as_echo_n "(cached) " >&6
12915   else
12916 <  ac_cv_c_bigendian=unknown
12917 <    # See if we're dealing with a universal compiler.
12918 <    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 >
12917 >  ax_check_save_flags=$CFLAGS
12918 >  CFLAGS="$CFLAGS  $flag"
12919 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12920   /* end confdefs.h.  */
12616 #ifndef __APPLE_CC__
12617               not a universal capable compiler
12618             #endif
12619             typedef int dummy;
12921  
12922 + int
12923 + main ()
12924 + {
12925 +
12926 +  ;
12927 +  return 0;
12928 + }
12929   _ACEOF
12930   if ac_fn_c_try_compile "$LINENO"; then :
12931 +  eval "$as_CACHEVAR=yes"
12932 + else
12933 +  eval "$as_CACHEVAR=no"
12934 + fi
12935 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12936 +  CFLAGS=$ax_check_save_flags
12937 + fi
12938 + eval ac_res=\$$as_CACHEVAR
12939 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12940 + $as_echo "$ac_res" >&6; }
12941 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12942 +
12943 + if ${CFLAGS+:} false; then :
12944 +
12945 +  case " $CFLAGS " in #(
12946 +  *" $flag "*) :
12947 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12948 +  (: CFLAGS already contains $flag) 2>&5
12949 +  ac_status=$?
12950 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12951 +  test $ac_status = 0; } ;; #(
12952 +  *) :
12953 +
12954 +     as_fn_append CFLAGS " $flag"
12955 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12956 +  (: CFLAGS="$CFLAGS") 2>&5
12957 +  ac_status=$?
12958 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12959 +  test $ac_status = 0; }
12960 +     ;;
12961 + esac
12962 +
12963 + else
12964 +
12965 +  CFLAGS=$flag
12966 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12967 +  (: CFLAGS="$CFLAGS") 2>&5
12968 +  ac_status=$?
12969 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970 +  test $ac_status = 0; }
12971  
12972 <        # Check for potential -arch flags.  It is not universal unless
12973 <        # there are at least two -arch flags with different values.
12974 <        ac_arch=
12975 <        ac_prev=
12976 <        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12977 <         if test -n "$ac_prev"; then
12978 <           case $ac_word in
12979 <             i?86 | x86_64 | ppc | ppc64)
12980 <               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12981 <                 ac_arch=$ac_word
12982 <               else
12983 <                 ac_cv_c_bigendian=universal
12984 <                 break
12985 <               fi
12986 <               ;;
12987 <           esac
12988 <           ac_prev=
12989 <         elif test "x$ac_word" = "x-arch"; then
12990 <           ac_prev=arch
12991 <         fi
12992 <       done
12972 > fi
12973 >
12974 > else
12975 >  :
12976 > fi
12977 >
12978 > done
12979 >
12980 >
12981 >
12982 >
12983 >
12984 > for flag in -Wcast-align; do
12985 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12986 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12987 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12988 > if eval \${$as_CACHEVAR+:} false; then :
12989 >  $as_echo_n "(cached) " >&6
12990 > else
12991 >
12992 >  ax_check_save_flags=$CFLAGS
12993 >  CFLAGS="$CFLAGS  $flag"
12994 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 > /* end confdefs.h.  */
12996 >
12997 > int
12998 > main ()
12999 > {
13000 >
13001 >  ;
13002 >  return 0;
13003 > }
13004 > _ACEOF
13005 > if ac_fn_c_try_compile "$LINENO"; then :
13006 >  eval "$as_CACHEVAR=yes"
13007 > else
13008 >  eval "$as_CACHEVAR=no"
13009   fi
13010   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13011 <    if test $ac_cv_c_bigendian = unknown; then
13012 <      # See if sys/param.h defines the BYTE_ORDER macro.
13013 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 >  CFLAGS=$ax_check_save_flags
13012 > fi
13013 > eval ac_res=\$$as_CACHEVAR
13014 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13015 > $as_echo "$ac_res" >&6; }
13016 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13017 >
13018 > if ${CFLAGS+:} false; then :
13019 >
13020 >  case " $CFLAGS " in #(
13021 >  *" $flag "*) :
13022 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13023 >  (: CFLAGS already contains $flag) 2>&5
13024 >  ac_status=$?
13025 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13026 >  test $ac_status = 0; } ;; #(
13027 >  *) :
13028 >
13029 >     as_fn_append CFLAGS " $flag"
13030 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13031 >  (: CFLAGS="$CFLAGS") 2>&5
13032 >  ac_status=$?
13033 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13034 >  test $ac_status = 0; }
13035 >     ;;
13036 > esac
13037 >
13038 > else
13039 >
13040 >  CFLAGS=$flag
13041 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13042 >  (: CFLAGS="$CFLAGS") 2>&5
13043 >  ac_status=$?
13044 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13045 >  test $ac_status = 0; }
13046 >
13047 > fi
13048 >
13049 > else
13050 >  :
13051 > fi
13052 >
13053 > done
13054 >
13055 >
13056 >
13057 >
13058 >
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; }
13063 > if eval \${$as_CACHEVAR+:} false; then :
13064 >  $as_echo_n "(cached) " >&6
13065 > else
13066 >
13067 >  ax_check_save_flags=$CFLAGS
13068 >  CFLAGS="$CFLAGS  $flag"
13069 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070   /* end confdefs.h.  */
12651 #include <sys/types.h>
12652             #include <sys/param.h>
13071  
13072   int
13073   main ()
13074   {
12657 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12658                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12659                     && LITTLE_ENDIAN)
12660              bogus endian macros
12661             #endif
13075  
13076    ;
13077    return 0;
13078   }
13079   _ACEOF
13080   if ac_fn_c_try_compile "$LINENO"; then :
13081 <  # It does; now see whether it defined to BIG_ENDIAN or not.
13082 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 >  eval "$as_CACHEVAR=yes"
13082 > else
13083 >  eval "$as_CACHEVAR=no"
13084 > fi
13085 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13086 >  CFLAGS=$ax_check_save_flags
13087 > fi
13088 > eval ac_res=\$$as_CACHEVAR
13089 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13090 > $as_echo "$ac_res" >&6; }
13091 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13092 >
13093 > if ${CFLAGS+:} false; then :
13094 >
13095 >  case " $CFLAGS " in #(
13096 >  *" $flag "*) :
13097 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13098 >  (: CFLAGS already contains $flag) 2>&5
13099 >  ac_status=$?
13100 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13101 >  test $ac_status = 0; } ;; #(
13102 >  *) :
13103 >
13104 >     as_fn_append CFLAGS " $flag"
13105 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13106 >  (: CFLAGS="$CFLAGS") 2>&5
13107 >  ac_status=$?
13108 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13109 >  test $ac_status = 0; }
13110 >     ;;
13111 > esac
13112 >
13113 > else
13114 >
13115 >  CFLAGS=$flag
13116 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13117 >  (: CFLAGS="$CFLAGS") 2>&5
13118 >  ac_status=$?
13119 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13120 >  test $ac_status = 0; }
13121 >
13122 > fi
13123 >
13124 > else
13125 >  :
13126 > fi
13127 >
13128 > done
13129 >
13130 >
13131 >
13132 >
13133 >
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; }
13138 > if eval \${$as_CACHEVAR+:} false; then :
13139 >  $as_echo_n "(cached) " >&6
13140 > else
13141 >
13142 >  ax_check_save_flags=$CFLAGS
13143 >  CFLAGS="$CFLAGS  $flag"
13144 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145   /* end confdefs.h.  */
12671 #include <sys/types.h>
12672                #include <sys/param.h>
13146  
13147   int
13148   main ()
13149   {
12677 #if BYTE_ORDER != BIG_ENDIAN
12678                 not big endian
12679                #endif
13150  
13151    ;
13152    return 0;
13153   }
13154   _ACEOF
13155   if ac_fn_c_try_compile "$LINENO"; then :
13156 <  ac_cv_c_bigendian=yes
13156 >  eval "$as_CACHEVAR=yes"
13157   else
13158 <  ac_cv_c_bigendian=no
13158 >  eval "$as_CACHEVAR=no"
13159   fi
13160   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13161 +  CFLAGS=$ax_check_save_flags
13162 + fi
13163 + eval ac_res=\$$as_CACHEVAR
13164 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13165 + $as_echo "$ac_res" >&6; }
13166 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13167 +
13168 + if ${CFLAGS+:} false; then :
13169 +
13170 +  case " $CFLAGS " in #(
13171 +  *" $flag "*) :
13172 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13173 +  (: CFLAGS already contains $flag) 2>&5
13174 +  ac_status=$?
13175 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176 +  test $ac_status = 0; } ;; #(
13177 +  *) :
13178 +
13179 +     as_fn_append CFLAGS " $flag"
13180 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13181 +  (: CFLAGS="$CFLAGS") 2>&5
13182 +  ac_status=$?
13183 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13184 +  test $ac_status = 0; }
13185 +     ;;
13186 + esac
13187 +
13188 + else
13189 +
13190 +  CFLAGS=$flag
13191 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13192 +  (: CFLAGS="$CFLAGS") 2>&5
13193 +  ac_status=$?
13194 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195 +  test $ac_status = 0; }
13196 +
13197 + fi
13198 +
13199 + else
13200 +  :
13201 + fi
13202 +
13203 + done
13204 +
13205 +
13206 +
13207 +
13208 +
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; }
13213 + if eval \${$as_CACHEVAR+:} false; then :
13214 +  $as_echo_n "(cached) " >&6
13215 + else
13216 +
13217 +  ax_check_save_flags=$CFLAGS
13218 +  CFLAGS="$CFLAGS  $flag"
13219 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220 + /* end confdefs.h.  */
13221 +
13222 + int
13223 + main ()
13224 + {
13225 +
13226 +  ;
13227 +  return 0;
13228 + }
13229 + _ACEOF
13230 + if ac_fn_c_try_compile "$LINENO"; then :
13231 +  eval "$as_CACHEVAR=yes"
13232 + else
13233 +  eval "$as_CACHEVAR=no"
13234   fi
13235   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13236 <    fi
13237 <    if test $ac_cv_c_bigendian = unknown; then
13238 <      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13239 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13236 >  CFLAGS=$ax_check_save_flags
13237 > fi
13238 > eval ac_res=\$$as_CACHEVAR
13239 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13240 > $as_echo "$ac_res" >&6; }
13241 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13242 >
13243 > if ${CFLAGS+:} false; then :
13244 >
13245 >  case " $CFLAGS " in #(
13246 >  *" $flag "*) :
13247 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13248 >  (: CFLAGS already contains $flag) 2>&5
13249 >  ac_status=$?
13250 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13251 >  test $ac_status = 0; } ;; #(
13252 >  *) :
13253 >
13254 >     as_fn_append CFLAGS " $flag"
13255 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13256 >  (: CFLAGS="$CFLAGS") 2>&5
13257 >  ac_status=$?
13258 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13259 >  test $ac_status = 0; }
13260 >     ;;
13261 > esac
13262 >
13263 > else
13264 >
13265 >  CFLAGS=$flag
13266 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13267 >  (: CFLAGS="$CFLAGS") 2>&5
13268 >  ac_status=$?
13269 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13270 >  test $ac_status = 0; }
13271 >
13272 > fi
13273 >
13274 > else
13275 >  :
13276 > fi
13277 >
13278 > done
13279 >
13280 >
13281 >
13282 >
13283 >
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; }
13288 > if eval \${$as_CACHEVAR+:} false; then :
13289 >  $as_echo_n "(cached) " >&6
13290 > else
13291 >
13292 >  ax_check_save_flags=$CFLAGS
13293 >  CFLAGS="$CFLAGS  $flag"
13294 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295   /* end confdefs.h.  */
12698 #include <limits.h>
13296  
13297   int
13298   main ()
13299   {
12703 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12704              bogus endian macros
12705             #endif
13300  
13301    ;
13302    return 0;
13303   }
13304   _ACEOF
13305   if ac_fn_c_try_compile "$LINENO"; then :
13306 <  # It does; now see whether it defined to _BIG_ENDIAN or not.
13307 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13306 >  eval "$as_CACHEVAR=yes"
13307 > else
13308 >  eval "$as_CACHEVAR=no"
13309 > fi
13310 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13311 >  CFLAGS=$ax_check_save_flags
13312 > fi
13313 > eval ac_res=\$$as_CACHEVAR
13314 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13315 > $as_echo "$ac_res" >&6; }
13316 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13317 >
13318 > if ${CFLAGS+:} false; then :
13319 >
13320 >  case " $CFLAGS " in #(
13321 >  *" $flag "*) :
13322 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13323 >  (: CFLAGS already contains $flag) 2>&5
13324 >  ac_status=$?
13325 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326 >  test $ac_status = 0; } ;; #(
13327 >  *) :
13328 >
13329 >     as_fn_append CFLAGS " $flag"
13330 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13331 >  (: CFLAGS="$CFLAGS") 2>&5
13332 >  ac_status=$?
13333 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13334 >  test $ac_status = 0; }
13335 >     ;;
13336 > esac
13337 >
13338 > else
13339 >
13340 >  CFLAGS=$flag
13341 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13342 >  (: CFLAGS="$CFLAGS") 2>&5
13343 >  ac_status=$?
13344 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13345 >  test $ac_status = 0; }
13346 >
13347 > fi
13348 >
13349 > else
13350 >  :
13351 > fi
13352 >
13353 > done
13354 >
13355 >
13356 >
13357 >
13358 >
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; }
13363 > if eval \${$as_CACHEVAR+:} false; then :
13364 >  $as_echo_n "(cached) " >&6
13365 > else
13366 >
13367 >  ax_check_save_flags=$CFLAGS
13368 >  CFLAGS="$CFLAGS  $flag"
13369 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370   /* end confdefs.h.  */
12715 #include <limits.h>
13371  
13372   int
13373   main ()
13374   {
12720 #ifndef _BIG_ENDIAN
12721                 not big endian
12722                #endif
13375  
13376    ;
13377    return 0;
13378   }
13379   _ACEOF
13380   if ac_fn_c_try_compile "$LINENO"; then :
13381 <  ac_cv_c_bigendian=yes
13381 >  eval "$as_CACHEVAR=yes"
13382   else
13383 <  ac_cv_c_bigendian=no
13383 >  eval "$as_CACHEVAR=no"
13384   fi
13385   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13386 +  CFLAGS=$ax_check_save_flags
13387 + fi
13388 + eval ac_res=\$$as_CACHEVAR
13389 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13390 + $as_echo "$ac_res" >&6; }
13391 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13392 +
13393 + if ${CFLAGS+:} false; then :
13394 +
13395 +  case " $CFLAGS " in #(
13396 +  *" $flag "*) :
13397 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13398 +  (: CFLAGS already contains $flag) 2>&5
13399 +  ac_status=$?
13400 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13401 +  test $ac_status = 0; } ;; #(
13402 +  *) :
13403 +
13404 +     as_fn_append CFLAGS " $flag"
13405 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13406 +  (: CFLAGS="$CFLAGS") 2>&5
13407 +  ac_status=$?
13408 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13409 +  test $ac_status = 0; }
13410 +     ;;
13411 + esac
13412 +
13413 + else
13414 +
13415 +  CFLAGS=$flag
13416 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13417 +  (: CFLAGS="$CFLAGS") 2>&5
13418 +  ac_status=$?
13419 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13420 +  test $ac_status = 0; }
13421 +
13422 + fi
13423 +
13424 + else
13425 +  :
13426 + fi
13427 +
13428 + done
13429 +
13430 +
13431 +
13432 +
13433 +
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; }
13438 + if eval \${$as_CACHEVAR+:} false; then :
13439 +  $as_echo_n "(cached) " >&6
13440 + else
13441 +
13442 +  ax_check_save_flags=$CFLAGS
13443 +  CFLAGS="$CFLAGS  $flag"
13444 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 + /* end confdefs.h.  */
13446 +
13447 + int
13448 + main ()
13449 + {
13450 +
13451 +  ;
13452 +  return 0;
13453 + }
13454 + _ACEOF
13455 + if ac_fn_c_try_compile "$LINENO"; then :
13456 +  eval "$as_CACHEVAR=yes"
13457 + else
13458 +  eval "$as_CACHEVAR=no"
13459   fi
13460   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13461 <    fi
13462 <    if test $ac_cv_c_bigendian = unknown; then
13463 <      # Compile a test program.
13464 <      if test "$cross_compiling" = yes; then :
13465 <  # Try to guess by grepping values from an object file.
13466 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 >  CFLAGS=$ax_check_save_flags
13462 > fi
13463 > eval ac_res=\$$as_CACHEVAR
13464 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13465 > $as_echo "$ac_res" >&6; }
13466 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13467 >
13468 > if ${CFLAGS+:} false; then :
13469 >
13470 >  case " $CFLAGS " in #(
13471 >  *" $flag "*) :
13472 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13473 >  (: CFLAGS already contains $flag) 2>&5
13474 >  ac_status=$?
13475 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13476 >  test $ac_status = 0; } ;; #(
13477 >  *) :
13478 >
13479 >     as_fn_append CFLAGS " $flag"
13480 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13481 >  (: CFLAGS="$CFLAGS") 2>&5
13482 >  ac_status=$?
13483 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13484 >  test $ac_status = 0; }
13485 >     ;;
13486 > esac
13487 >
13488 > else
13489 >
13490 >  CFLAGS=$flag
13491 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13492 >  (: CFLAGS="$CFLAGS") 2>&5
13493 >  ac_status=$?
13494 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13495 >  test $ac_status = 0; }
13496 >
13497 > fi
13498 >
13499 > else
13500 >  :
13501 > fi
13502 >
13503 > done
13504 >
13505 >
13506 >
13507 >
13508 >
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; }
13513 > if eval \${$as_CACHEVAR+:} false; then :
13514 >  $as_echo_n "(cached) " >&6
13515 > else
13516 >
13517 >  ax_check_save_flags=$CFLAGS
13518 >  CFLAGS="$CFLAGS  $flag"
13519 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520   /* end confdefs.h.  */
12743 short int ascii_mm[] =
12744                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12745                short int ascii_ii[] =
12746                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12747                int use_ascii (int i) {
12748                  return ascii_mm[i] + ascii_ii[i];
12749                }
12750                short int ebcdic_ii[] =
12751                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12752                short int ebcdic_mm[] =
12753                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12754                int use_ebcdic (int i) {
12755                  return ebcdic_mm[i] + ebcdic_ii[i];
12756                }
12757                extern int foo;
13521  
13522   int
13523   main ()
13524   {
13525 < return use_ascii (foo) == use_ebcdic (foo);
13525 >
13526    ;
13527    return 0;
13528   }
13529   _ACEOF
13530   if ac_fn_c_try_compile "$LINENO"; then :
13531 <  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13532 <              ac_cv_c_bigendian=yes
13533 <            fi
12771 <            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12772 <              if test "$ac_cv_c_bigendian" = unknown; then
12773 <                ac_cv_c_bigendian=no
12774 <              else
12775 <                # finding both strings is unlikely to happen, but who knows?
12776 <                ac_cv_c_bigendian=unknown
12777 <              fi
12778 <            fi
13531 >  eval "$as_CACHEVAR=yes"
13532 > else
13533 >  eval "$as_CACHEVAR=no"
13534   fi
13535   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13536 +  CFLAGS=$ax_check_save_flags
13537 + fi
13538 + eval ac_res=\$$as_CACHEVAR
13539 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13540 + $as_echo "$ac_res" >&6; }
13541 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13542 +
13543 + if ${CFLAGS+:} false; then :
13544 +
13545 +  case " $CFLAGS " in #(
13546 +  *" $flag "*) :
13547 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13548 +  (: CFLAGS already contains $flag) 2>&5
13549 +  ac_status=$?
13550 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13551 +  test $ac_status = 0; } ;; #(
13552 +  *) :
13553 +
13554 +     as_fn_append CFLAGS " $flag"
13555 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13556 +  (: CFLAGS="$CFLAGS") 2>&5
13557 +  ac_status=$?
13558 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13559 +  test $ac_status = 0; }
13560 +     ;;
13561 + esac
13562 +
13563 + else
13564 +
13565 +  CFLAGS=$flag
13566 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13567 +  (: CFLAGS="$CFLAGS") 2>&5
13568 +  ac_status=$?
13569 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13570 +  test $ac_status = 0; }
13571 +
13572 + fi
13573 +
13574 + else
13575 +  :
13576 + fi
13577 +
13578 + done
13579 +
13580 +
13581 +
13582 +
13583 +
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; }
13588 + if eval \${$as_CACHEVAR+:} false; then :
13589 +  $as_echo_n "(cached) " >&6
13590   else
13591 +
13592 +  ax_check_save_flags=$CFLAGS
13593 +  CFLAGS="$CFLAGS  $flag"
13594    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595   /* end confdefs.h.  */
13596 < $ac_includes_default
13596 >
13597   int
13598   main ()
13599   {
13600  
13601 <             /* Are we little or big endian?  From Harbison&Steele.  */
13602 <             union
13603 <             {
13604 <               long int l;
13605 <               char c[sizeof (long int)];
13606 <             } u;
13607 <             u.l = 1;
13608 <             return u.c[sizeof (long int) - 1] == 1;
13601 >  ;
13602 >  return 0;
13603 > }
13604 > _ACEOF
13605 > if ac_fn_c_try_compile "$LINENO"; then :
13606 >  eval "$as_CACHEVAR=yes"
13607 > else
13608 >  eval "$as_CACHEVAR=no"
13609 > fi
13610 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611 >  CFLAGS=$ax_check_save_flags
13612 > fi
13613 > eval ac_res=\$$as_CACHEVAR
13614 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13615 > $as_echo "$ac_res" >&6; }
13616 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13617 >
13618 > if ${CFLAGS+:} false; then :
13619 >
13620 >  case " $CFLAGS " in #(
13621 >  *" $flag "*) :
13622 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13623 >  (: CFLAGS already contains $flag) 2>&5
13624 >  ac_status=$?
13625 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13626 >  test $ac_status = 0; } ;; #(
13627 >  *) :
13628 >
13629 >     as_fn_append CFLAGS " $flag"
13630 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13631 >  (: CFLAGS="$CFLAGS") 2>&5
13632 >  ac_status=$?
13633 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13634 >  test $ac_status = 0; }
13635 >     ;;
13636 > esac
13637 >
13638 > else
13639 >
13640 >  CFLAGS=$flag
13641 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13642 >  (: CFLAGS="$CFLAGS") 2>&5
13643 >  ac_status=$?
13644 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13645 >  test $ac_status = 0; }
13646 >
13647 > fi
13648 >
13649 > else
13650 >  :
13651 > fi
13652 >
13653 > done
13654 >
13655 >
13656 >
13657 >
13658 >
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; }
13663 > if eval \${$as_CACHEVAR+:} false; then :
13664 >  $as_echo_n "(cached) " >&6
13665 > else
13666 >
13667 >  ax_check_save_flags=$CFLAGS
13668 >  CFLAGS="$CFLAGS  $flag"
13669 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670 > /* end confdefs.h.  */
13671 >
13672 > int
13673 > main ()
13674 > {
13675  
13676    ;
13677    return 0;
13678   }
13679   _ACEOF
13680 < if ac_fn_c_try_run "$LINENO"; then :
13681 <  ac_cv_c_bigendian=no
13680 > if ac_fn_c_try_compile "$LINENO"; then :
13681 >  eval "$as_CACHEVAR=yes"
13682   else
13683 <  ac_cv_c_bigendian=yes
13683 >  eval "$as_CACHEVAR=no"
13684   fi
13685 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13686 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13685 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13686 >  CFLAGS=$ax_check_save_flags
13687   fi
13688 + eval ac_res=\$$as_CACHEVAR
13689 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13690 + $as_echo "$ac_res" >&6; }
13691 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13692 +
13693 + if ${CFLAGS+:} false; then :
13694 +
13695 +  case " $CFLAGS " in #(
13696 +  *" $flag "*) :
13697 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13698 +  (: CFLAGS already contains $flag) 2>&5
13699 +  ac_status=$?
13700 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13701 +  test $ac_status = 0; } ;; #(
13702 +  *) :
13703 +
13704 +     as_fn_append CFLAGS " $flag"
13705 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13706 +  (: CFLAGS="$CFLAGS") 2>&5
13707 +  ac_status=$?
13708 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13709 +  test $ac_status = 0; }
13710 +     ;;
13711 + esac
13712 +
13713 + else
13714 +
13715 +  CFLAGS=$flag
13716 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13717 +  (: CFLAGS="$CFLAGS") 2>&5
13718 +  ac_status=$?
13719 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13720 +  test $ac_status = 0; }
13721  
12811    fi
13722   fi
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12814 $as_echo "$ac_cv_c_bigendian" >&6; }
12815 case $ac_cv_c_bigendian in #(
12816   yes)
12817     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12818 ;; #(
12819   no)
12820      ;; #(
12821   universal)
13723  
13724 < $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13724 > else
13725 >  :
13726 > fi
13727 >
13728 > done
13729 >
13730 >
13731 >
13732 >
13733 >
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; }
13738 > if eval \${$as_CACHEVAR+:} false; then :
13739 >  $as_echo_n "(cached) " >&6
13740 > else
13741 >
13742 >  ax_check_save_flags=$CFLAGS
13743 >  CFLAGS="$CFLAGS  $flag"
13744 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 > /* end confdefs.h.  */
13746 >
13747 > int
13748 > main ()
13749 > {
13750 >
13751 >  ;
13752 >  return 0;
13753 > }
13754 > _ACEOF
13755 > if ac_fn_c_try_compile "$LINENO"; then :
13756 >  eval "$as_CACHEVAR=yes"
13757 > else
13758 >  eval "$as_CACHEVAR=no"
13759 > fi
13760 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761 >  CFLAGS=$ax_check_save_flags
13762 > fi
13763 > eval ac_res=\$$as_CACHEVAR
13764 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13765 > $as_echo "$ac_res" >&6; }
13766 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13767 >
13768 > if ${CFLAGS+:} false; then :
13769 >
13770 >  case " $CFLAGS " in #(
13771 >  *" $flag "*) :
13772 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13773 >  (: CFLAGS already contains $flag) 2>&5
13774 >  ac_status=$?
13775 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13776 >  test $ac_status = 0; } ;; #(
13777 >  *) :
13778 >
13779 >     as_fn_append CFLAGS " $flag"
13780 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13781 >  (: CFLAGS="$CFLAGS") 2>&5
13782 >  ac_status=$?
13783 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13784 >  test $ac_status = 0; }
13785 >     ;;
13786 > esac
13787 >
13788 > else
13789 >
13790 >  CFLAGS=$flag
13791 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13792 >  (: CFLAGS="$CFLAGS") 2>&5
13793 >  ac_status=$?
13794 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13795 >  test $ac_status = 0; }
13796 >
13797 > fi
13798 >
13799 > else
13800 >  :
13801 > fi
13802 >
13803 > done
13804 >
13805 >
13806 >
13807 >
13808 >
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; }
13813 > if eval \${$as_CACHEVAR+:} false; then :
13814 >  $as_echo_n "(cached) " >&6
13815 > else
13816 >
13817 >  ax_check_save_flags=$CFLAGS
13818 >  CFLAGS="$CFLAGS  $flag"
13819 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 > /* end confdefs.h.  */
13821 >
13822 > int
13823 > main ()
13824 > {
13825 >
13826 >  ;
13827 >  return 0;
13828 > }
13829 > _ACEOF
13830 > if ac_fn_c_try_compile "$LINENO"; then :
13831 >  eval "$as_CACHEVAR=yes"
13832 > else
13833 >  eval "$as_CACHEVAR=no"
13834 > fi
13835 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13836 >  CFLAGS=$ax_check_save_flags
13837 > fi
13838 > eval ac_res=\$$as_CACHEVAR
13839 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13840 > $as_echo "$ac_res" >&6; }
13841 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13842 >
13843 > if ${CFLAGS+:} false; then :
13844 >
13845 >  case " $CFLAGS " in #(
13846 >  *" $flag "*) :
13847 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13848 >  (: CFLAGS already contains $flag) 2>&5
13849 >  ac_status=$?
13850 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13851 >  test $ac_status = 0; } ;; #(
13852 >  *) :
13853 >
13854 >     as_fn_append CFLAGS " $flag"
13855 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13856 >  (: CFLAGS="$CFLAGS") 2>&5
13857 >  ac_status=$?
13858 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13859 >  test $ac_status = 0; }
13860 >     ;;
13861 > esac
13862 >
13863 > else
13864 >
13865 >  CFLAGS=$flag
13866 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13867 >  (: CFLAGS="$CFLAGS") 2>&5
13868 >  ac_status=$?
13869 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13870 >  test $ac_status = 0; }
13871 >
13872 > fi
13873 >
13874 > else
13875 >  :
13876 > fi
13877 >
13878 > done
13879 >
13880 >
13881 >
13882 >
13883  
13884 <     ;; #(
13885 <   *)
13886 <     as_fn_error $? "unknown endianness
13887 < presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13888 < esac
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; }
13888 > if eval \${$as_CACHEVAR+:} false; then :
13889 >  $as_echo_n "(cached) " >&6
13890 > else
13891  
13892 +  ax_check_save_flags=$CFLAGS
13893 +  CFLAGS="$CFLAGS  $flag"
13894 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 + /* end confdefs.h.  */
13896  
13897 + int
13898 + main ()
13899 + {
13900  
13901 +  ;
13902 +  return 0;
13903 + }
13904 + _ACEOF
13905 + if ac_fn_c_try_compile "$LINENO"; then :
13906 +  eval "$as_CACHEVAR=yes"
13907 + else
13908 +  eval "$as_CACHEVAR=no"
13909 + fi
13910 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13911 +  CFLAGS=$ax_check_save_flags
13912 + fi
13913 + eval ac_res=\$$as_CACHEVAR
13914 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13915 + $as_echo "$ac_res" >&6; }
13916 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13917  
13918 + if ${CFLAGS+:} false; then :
13919  
13920 < subdirs="$subdirs src/libopm"
13920 >  case " $CFLAGS " in #(
13921 >  *" $flag "*) :
13922 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13923 >  (: CFLAGS already contains $flag) 2>&5
13924 >  ac_status=$?
13925 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13926 >  test $ac_status = 0; } ;; #(
13927 >  *) :
13928  
13929 +     as_fn_append CFLAGS " $flag"
13930 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13931 +  (: CFLAGS="$CFLAGS") 2>&5
13932 +  ac_status=$?
13933 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13934 +  test $ac_status = 0; }
13935 +     ;;
13936 + esac
13937 +
13938 + else
13939  
13940 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13940 >  CFLAGS=$flag
13941 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13942 >  (: CFLAGS="$CFLAGS") 2>&5
13943 >  ac_status=$?
13944 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13945 >  test $ac_status = 0; }
13946 >
13947 > fi
13948 >
13949 > else
13950 >  :
13951 > fi
13952 >
13953 > done
13954 >
13955 >
13956 >
13957 >
13958 >
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; }
13963 > if eval \${$as_CACHEVAR+:} false; then :
13964 >  $as_echo_n "(cached) " >&6
13965 > else
13966 >
13967 >  ax_check_save_flags=$CFLAGS
13968 >  CFLAGS="$CFLAGS  $flag"
13969 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13970 > /* end confdefs.h.  */
13971 >
13972 > int
13973 > main ()
13974 > {
13975 >
13976 >  ;
13977 >  return 0;
13978 > }
13979 > _ACEOF
13980 > if ac_fn_c_try_compile "$LINENO"; then :
13981 >  eval "$as_CACHEVAR=yes"
13982 > else
13983 >  eval "$as_CACHEVAR=no"
13984 > fi
13985 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13986 >  CFLAGS=$ax_check_save_flags
13987 > fi
13988 > eval ac_res=\$$as_CACHEVAR
13989 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13990 > $as_echo "$ac_res" >&6; }
13991 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13992 >
13993 > if ${CFLAGS+:} false; then :
13994 >
13995 >  case " $CFLAGS " in #(
13996 >  *" $flag "*) :
13997 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13998 >  (: CFLAGS already contains $flag) 2>&5
13999 >  ac_status=$?
14000 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14001 >  test $ac_status = 0; } ;; #(
14002 >  *) :
14003 >
14004 >     as_fn_append CFLAGS " $flag"
14005 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14006 >  (: CFLAGS="$CFLAGS") 2>&5
14007 >  ac_status=$?
14008 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 >  test $ac_status = 0; }
14010 >     ;;
14011 > esac
14012 >
14013 > else
14014 >
14015 >  CFLAGS=$flag
14016 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14017 >  (: CFLAGS="$CFLAGS") 2>&5
14018 >  ac_status=$?
14019 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14020 >  test $ac_status = 0; }
14021 >
14022 > fi
14023 >
14024 > else
14025 >  :
14026 > fi
14027 >
14028 > done
14029 >
14030 >
14031 >
14032 >
14033 >
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; }
14038 > if eval \${$as_CACHEVAR+:} false; then :
14039 >  $as_echo_n "(cached) " >&6
14040 > else
14041 >
14042 >  ax_check_save_flags=$CFLAGS
14043 >  CFLAGS="$CFLAGS  $flag"
14044 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 > /* end confdefs.h.  */
14046 >
14047 > int
14048 > main ()
14049 > {
14050 >
14051 >  ;
14052 >  return 0;
14053 > }
14054 > _ACEOF
14055 > if ac_fn_c_try_compile "$LINENO"; then :
14056 >  eval "$as_CACHEVAR=yes"
14057 > else
14058 >  eval "$as_CACHEVAR=no"
14059 > fi
14060 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14061 >  CFLAGS=$ax_check_save_flags
14062 > fi
14063 > eval ac_res=\$$as_CACHEVAR
14064 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14065 > $as_echo "$ac_res" >&6; }
14066 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14067 >
14068 > if ${CFLAGS+:} false; then :
14069 >
14070 >  case " $CFLAGS " in #(
14071 >  *" $flag "*) :
14072 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14073 >  (: CFLAGS already contains $flag) 2>&5
14074 >  ac_status=$?
14075 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14076 >  test $ac_status = 0; } ;; #(
14077 >  *) :
14078 >
14079 >     as_fn_append CFLAGS " $flag"
14080 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14081 >  (: CFLAGS="$CFLAGS") 2>&5
14082 >  ac_status=$?
14083 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14084 >  test $ac_status = 0; }
14085 >     ;;
14086 > esac
14087 >
14088 > else
14089 >
14090 >  CFLAGS=$flag
14091 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14092 >  (: CFLAGS="$CFLAGS") 2>&5
14093 >  ac_status=$?
14094 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14095 >  test $ac_status = 0; }
14096 >
14097 > fi
14098 >
14099 > else
14100 >  :
14101 > fi
14102 >
14103 > done
14104 >
14105 >
14106 >
14107 >
14108 >
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; }
14113 > if eval \${$as_CACHEVAR+:} false; then :
14114 >  $as_echo_n "(cached) " >&6
14115 > else
14116 >
14117 >  ax_check_save_flags=$CFLAGS
14118 >  CFLAGS="$CFLAGS  $flag"
14119 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 > /* end confdefs.h.  */
14121 >
14122 > int
14123 > main ()
14124 > {
14125 >
14126 >  ;
14127 >  return 0;
14128 > }
14129 > _ACEOF
14130 > if ac_fn_c_try_compile "$LINENO"; then :
14131 >  eval "$as_CACHEVAR=yes"
14132 > else
14133 >  eval "$as_CACHEVAR=no"
14134 > fi
14135 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14136 >  CFLAGS=$ax_check_save_flags
14137 > fi
14138 > eval ac_res=\$$as_CACHEVAR
14139 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14140 > $as_echo "$ac_res" >&6; }
14141 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14142 >
14143 > if ${CFLAGS+:} false; then :
14144 >
14145 >  case " $CFLAGS " in #(
14146 >  *" $flag "*) :
14147 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14148 >  (: CFLAGS already contains $flag) 2>&5
14149 >  ac_status=$?
14150 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14151 >  test $ac_status = 0; } ;; #(
14152 >  *) :
14153 >
14154 >     as_fn_append CFLAGS " $flag"
14155 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14156 >  (: CFLAGS="$CFLAGS") 2>&5
14157 >  ac_status=$?
14158 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14159 >  test $ac_status = 0; }
14160 >     ;;
14161 > esac
14162 >
14163 > else
14164 >
14165 >  CFLAGS=$flag
14166 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14167 >  (: CFLAGS="$CFLAGS") 2>&5
14168 >  ac_status=$?
14169 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14170 >  test $ac_status = 0; }
14171 >
14172 > fi
14173 >
14174 > else
14175 >  :
14176 > fi
14177 >
14178 > done
14179 >
14180 >
14181 >
14182 >
14183 >
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; }
14188 > if eval \${$as_CACHEVAR+:} false; then :
14189 >  $as_echo_n "(cached) " >&6
14190 > else
14191 >
14192 >  ax_check_save_flags=$CFLAGS
14193 >  CFLAGS="$CFLAGS  $flag"
14194 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 > /* end confdefs.h.  */
14196 >
14197 > int
14198 > main ()
14199 > {
14200 >
14201 >  ;
14202 >  return 0;
14203 > }
14204 > _ACEOF
14205 > if ac_fn_c_try_compile "$LINENO"; then :
14206 >  eval "$as_CACHEVAR=yes"
14207 > else
14208 >  eval "$as_CACHEVAR=no"
14209 > fi
14210 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14211 >  CFLAGS=$ax_check_save_flags
14212 > fi
14213 > eval ac_res=\$$as_CACHEVAR
14214 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14215 > $as_echo "$ac_res" >&6; }
14216 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14217 >
14218 > if ${CFLAGS+:} false; then :
14219 >
14220 >  case " $CFLAGS " in #(
14221 >  *" $flag "*) :
14222 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14223 >  (: CFLAGS already contains $flag) 2>&5
14224 >  ac_status=$?
14225 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14226 >  test $ac_status = 0; } ;; #(
14227 >  *) :
14228 >
14229 >     as_fn_append CFLAGS " $flag"
14230 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14231 >  (: CFLAGS="$CFLAGS") 2>&5
14232 >  ac_status=$?
14233 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14234 >  test $ac_status = 0; }
14235 >     ;;
14236 > esac
14237 >
14238 > else
14239 >
14240 >  CFLAGS=$flag
14241 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14242 >  (: CFLAGS="$CFLAGS") 2>&5
14243 >  ac_status=$?
14244 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14245 >  test $ac_status = 0; }
14246 >
14247 > fi
14248 >
14249 > else
14250 >  :
14251 > fi
14252 >
14253 > done
14254 >
14255 >
14256 >
14257 >
14258 >
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; }
14263 > if eval \${$as_CACHEVAR+:} false; then :
14264 >  $as_echo_n "(cached) " >&6
14265 > else
14266 >
14267 >  ax_check_save_flags=$CFLAGS
14268 >  CFLAGS="$CFLAGS  $flag"
14269 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 > /* end confdefs.h.  */
14271 >
14272 > int
14273 > main ()
14274 > {
14275 >
14276 >  ;
14277 >  return 0;
14278 > }
14279 > _ACEOF
14280 > if ac_fn_c_try_compile "$LINENO"; then :
14281 >  eval "$as_CACHEVAR=yes"
14282 > else
14283 >  eval "$as_CACHEVAR=no"
14284 > fi
14285 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14286 >  CFLAGS=$ax_check_save_flags
14287 > fi
14288 > eval ac_res=\$$as_CACHEVAR
14289 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14290 > $as_echo "$ac_res" >&6; }
14291 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14292 >
14293 > if ${CFLAGS+:} false; then :
14294 >
14295 >  case " $CFLAGS " in #(
14296 >  *" $flag "*) :
14297 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14298 >  (: CFLAGS already contains $flag) 2>&5
14299 >  ac_status=$?
14300 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14301 >  test $ac_status = 0; } ;; #(
14302 >  *) :
14303 >
14304 >     as_fn_append CFLAGS " $flag"
14305 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14306 >  (: CFLAGS="$CFLAGS") 2>&5
14307 >  ac_status=$?
14308 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14309 >  test $ac_status = 0; }
14310 >     ;;
14311 > esac
14312 >
14313 > else
14314 >
14315 >  CFLAGS=$flag
14316 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14317 >  (: CFLAGS="$CFLAGS") 2>&5
14318 >  ac_status=$?
14319 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14320 >  test $ac_status = 0; }
14321 >
14322 > fi
14323 >
14324 > else
14325 >  :
14326 > fi
14327 >
14328 > done
14329 >
14330 >
14331 >
14332 >
14333 >
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; }
14338 > if eval \${$as_CACHEVAR+:} false; then :
14339 >  $as_echo_n "(cached) " >&6
14340 > else
14341 >
14342 >  ax_check_save_flags=$CFLAGS
14343 >  CFLAGS="$CFLAGS  $flag"
14344 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 > /* end confdefs.h.  */
14346 >
14347 > int
14348 > main ()
14349 > {
14350 >
14351 >  ;
14352 >  return 0;
14353 > }
14354 > _ACEOF
14355 > if ac_fn_c_try_compile "$LINENO"; then :
14356 >  eval "$as_CACHEVAR=yes"
14357 > else
14358 >  eval "$as_CACHEVAR=no"
14359 > fi
14360 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14361 >  CFLAGS=$ax_check_save_flags
14362 > fi
14363 > eval ac_res=\$$as_CACHEVAR
14364 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14365 > $as_echo "$ac_res" >&6; }
14366 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14367 >
14368 > if ${CFLAGS+:} false; then :
14369 >
14370 >  case " $CFLAGS " in #(
14371 >  *" $flag "*) :
14372 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14373 >  (: CFLAGS already contains $flag) 2>&5
14374 >  ac_status=$?
14375 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14376 >  test $ac_status = 0; } ;; #(
14377 >  *) :
14378 >
14379 >     as_fn_append CFLAGS " $flag"
14380 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14381 >  (: CFLAGS="$CFLAGS") 2>&5
14382 >  ac_status=$?
14383 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14384 >  test $ac_status = 0; }
14385 >     ;;
14386 > esac
14387 >
14388 > else
14389 >
14390 >  CFLAGS=$flag
14391 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14392 >  (: CFLAGS="$CFLAGS") 2>&5
14393 >  ac_status=$?
14394 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14395 >  test $ac_status = 0; }
14396 >
14397 > fi
14398 >
14399 > else
14400 >  :
14401 > fi
14402 >
14403 > done
14404 >
14405 >
14406 >
14407 >
14408 >
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; }
14413 > if eval \${$as_CACHEVAR+:} false; then :
14414 >  $as_echo_n "(cached) " >&6
14415 > else
14416 >
14417 >  ax_check_save_flags=$CFLAGS
14418 >  CFLAGS="$CFLAGS  $flag"
14419 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 > /* end confdefs.h.  */
14421 >
14422 > int
14423 > main ()
14424 > {
14425 >
14426 >  ;
14427 >  return 0;
14428 > }
14429 > _ACEOF
14430 > if ac_fn_c_try_compile "$LINENO"; then :
14431 >  eval "$as_CACHEVAR=yes"
14432 > else
14433 >  eval "$as_CACHEVAR=no"
14434 > fi
14435 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14436 >  CFLAGS=$ax_check_save_flags
14437 > fi
14438 > eval ac_res=\$$as_CACHEVAR
14439 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14440 > $as_echo "$ac_res" >&6; }
14441 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14442 >
14443 > if ${CFLAGS+:} false; then :
14444 >
14445 >  case " $CFLAGS " in #(
14446 >  *" $flag "*) :
14447 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14448 >  (: CFLAGS already contains $flag) 2>&5
14449 >  ac_status=$?
14450 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14451 >  test $ac_status = 0; } ;; #(
14452 >  *) :
14453 >
14454 >     as_fn_append CFLAGS " $flag"
14455 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14456 >  (: CFLAGS="$CFLAGS") 2>&5
14457 >  ac_status=$?
14458 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14459 >  test $ac_status = 0; }
14460 >     ;;
14461 > esac
14462 >
14463 > else
14464 >
14465 >  CFLAGS=$flag
14466 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14467 >  (: CFLAGS="$CFLAGS") 2>&5
14468 >  ac_status=$?
14469 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14470 >  test $ac_status = 0; }
14471 >
14472 > fi
14473 >
14474 > else
14475 >  :
14476 > fi
14477 >
14478 > done
14479 >
14480 >
14481 >
14482 >
14483 >
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; }
14488 > if eval \${$as_CACHEVAR+:} false; then :
14489 >  $as_echo_n "(cached) " >&6
14490 > else
14491 >
14492 >  ax_check_save_flags=$CFLAGS
14493 >  CFLAGS="$CFLAGS  $flag"
14494 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 > /* end confdefs.h.  */
14496 >
14497 > int
14498 > main ()
14499 > {
14500 >
14501 >  ;
14502 >  return 0;
14503 > }
14504 > _ACEOF
14505 > if ac_fn_c_try_compile "$LINENO"; then :
14506 >  eval "$as_CACHEVAR=yes"
14507 > else
14508 >  eval "$as_CACHEVAR=no"
14509 > fi
14510 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14511 >  CFLAGS=$ax_check_save_flags
14512 > fi
14513 > eval ac_res=\$$as_CACHEVAR
14514 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14515 > $as_echo "$ac_res" >&6; }
14516 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14517 >
14518 > if ${CFLAGS+:} false; then :
14519 >
14520 >  case " $CFLAGS " in #(
14521 >  *" $flag "*) :
14522 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14523 >  (: CFLAGS already contains $flag) 2>&5
14524 >  ac_status=$?
14525 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14526 >  test $ac_status = 0; } ;; #(
14527 >  *) :
14528 >
14529 >     as_fn_append CFLAGS " $flag"
14530 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14531 >  (: CFLAGS="$CFLAGS") 2>&5
14532 >  ac_status=$?
14533 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14534 >  test $ac_status = 0; }
14535 >     ;;
14536 > esac
14537 >
14538 > else
14539 >
14540 >  CFLAGS=$flag
14541 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14542 >  (: CFLAGS="$CFLAGS") 2>&5
14543 >  ac_status=$?
14544 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14545 >  test $ac_status = 0; }
14546 >
14547 > fi
14548 >
14549 > else
14550 >  :
14551 > fi
14552 >
14553 > done
14554 >
14555 >
14556 >
14557 >
14558 >
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; }
14563 > if eval \${$as_CACHEVAR+:} false; then :
14564 >  $as_echo_n "(cached) " >&6
14565 > else
14566 >
14567 >  ax_check_save_flags=$CFLAGS
14568 >  CFLAGS="$CFLAGS  $flag"
14569 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 > /* end confdefs.h.  */
14571 >
14572 > int
14573 > main ()
14574 > {
14575 >
14576 >  ;
14577 >  return 0;
14578 > }
14579 > _ACEOF
14580 > if ac_fn_c_try_compile "$LINENO"; then :
14581 >  eval "$as_CACHEVAR=yes"
14582 > else
14583 >  eval "$as_CACHEVAR=no"
14584 > fi
14585 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14586 >  CFLAGS=$ax_check_save_flags
14587 > fi
14588 > eval ac_res=\$$as_CACHEVAR
14589 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14590 > $as_echo "$ac_res" >&6; }
14591 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14592 >
14593 > if ${CFLAGS+:} false; then :
14594 >
14595 >  case " $CFLAGS " in #(
14596 >  *" $flag "*) :
14597 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14598 >  (: CFLAGS already contains $flag) 2>&5
14599 >  ac_status=$?
14600 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14601 >  test $ac_status = 0; } ;; #(
14602 >  *) :
14603 >
14604 >     as_fn_append CFLAGS " $flag"
14605 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14606 >  (: CFLAGS="$CFLAGS") 2>&5
14607 >  ac_status=$?
14608 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14609 >  test $ac_status = 0; }
14610 >     ;;
14611 > esac
14612 >
14613 > else
14614 >
14615 >  CFLAGS=$flag
14616 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14617 >  (: CFLAGS="$CFLAGS") 2>&5
14618 >  ac_status=$?
14619 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14620 >  test $ac_status = 0; }
14621 >
14622 > fi
14623 >
14624 > else
14625 >  :
14626 > fi
14627 >
14628 > done
14629 >
14630 >
14631 >
14632 >
14633 >
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
14641 >
14642 >  ax_check_save_flags=$CFLAGS
14643 >  CFLAGS="$CFLAGS  $flag"
14644 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 > /* end confdefs.h.  */
14646 >
14647 > int
14648 > main ()
14649 > {
14650 >
14651 >  ;
14652 >  return 0;
14653 > }
14654 > _ACEOF
14655 > if ac_fn_c_try_compile "$LINENO"; then :
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 > 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 >
14688 > else
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 >
14699 > else
14700 >  :
14701 > fi
14702 >
14703 > done
14704 >
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.  */
14721 >
14722 > int
14723 > main ()
14724 > {
14725 >
14726 >  ;
14727 >  return 0;
14728 > }
14729 > _ACEOF
14730 > if ac_fn_c_try_compile "$LINENO"; then :
14731 >  eval "$as_CACHEVAR=yes"
14732 > else
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 > 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.  */
14796 >
14797 > int
14798 > main ()
14799 > {
14800 >
14801 >  ;
14802 >  return 0;
14803 > }
14804 > _ACEOF
14805 > if ac_fn_c_try_compile "$LINENO"; then :
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 >
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 >
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 > return EF_Print ();
14889 >  ;
14890 >  return 0;
14891 > }
14892 > _ACEOF
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_search_EF_Print=no
14913 > fi
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 > 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
14929 >
14930 >
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"
14948  
14949   cat >confcache <<\_ACEOF
14950   # This file is a shell script that caches the results of configure
# Line 12975 | Line 15084 | if test -z "${am__fastdepCC_TRUE}" && te
15084   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15085   fi
15086  
12978
15087   : "${CONFIG_STATUS=./config.status}"
15088   ac_write_fail=0
15089   ac_clean_files_save=$ac_clean_files
# Line 13372 | 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 1.0.0beta1, 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 13432 | Line 15540 | $config_headers
15540   Configuration commands:
15541   $config_commands
15542  
15543 < Report bugs to the package provider."
15543 > Report bugs to <bugs@ircd-hybrid.org>."
15544  
15545   _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 1.0.0beta1
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 13557 | 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 13694 | Line 15802 | finish_cmds='`$ECHO "$finish_cmds" | $SE
15802   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15803   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15804   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15805 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15805 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15806 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15807   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15808   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15809   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 13812 | Line 15921 | postinstall_cmds \
15921   postuninstall_cmds \
15922   finish_cmds \
15923   sys_lib_search_path_spec \
15924 < sys_lib_dlsearch_path_spec; do
15924 > configure_time_dlsearch_path \
15925 > configure_time_lt_sys_library_path; do
15926      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15927      *[\\\\\\\`\\"\\\$]*)
15928        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
# Line 13854 | Line 15964 | do
15964      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15965      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15966      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15967 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
15968 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
15969  
15970    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15971    esac
# Line 14453 | 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.
14468 <    # Grep'ing the first line is not enough: some people post-process
14469 <    # each Makefile.in and add a new line on top of each file to say so.
14470 <    # 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 14493 | 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"`
14502 <    test -z "$DEPDIR" && continue
14503 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14504 <    test -z "$am__include" && continue
14505 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14506 <    # Find all dependency output files, they are included files with
14507 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14508 <    # simplest approach to changing $(DEPDIR) to its actual value in the
14509 <    # expansion.
14510 <    for file in `sed -n "
14511 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14512 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14513 <      # Make sure the directory exists.
14514 <      test -f "$dirpart/$file" && continue
14515 <      fdir=`$as_dirname -- "$file" ||
14516 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14517 <         X"$file" : 'X\(//\)[^/]' \| \
14518 <         X"$file" : 'X\(//\)$' \| \
14519 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14520 < $as_echo X"$file" |
14521 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14522 <            s//\1/
14523 <            q
14524 <          }
14525 <          /^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 14557 | Line 16670 | $as_echo X"$file" |
16670      cat <<_LT_EOF >> "$cfgfile"
16671   #! $SHELL
16672   # Generated automatically by $as_me ($PACKAGE) $VERSION
14560 # 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.
# Line 14589 | Line 16701 | $as_echo X"$file" |
16701   # The names of the tagged configurations supported by this script.
16702   available_tags=''
16703  
16704 + # Configured defaults for sys_lib_dlsearch_path munging.
16705 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16706 +
16707   # ### BEGIN LIBTOOL CONFIG
16708  
16709   # Which release of libtool.m4 was used?
# Line 14838 | Line 16953 | hardcode_into_libs=$hardcode_into_libs
16953   # Compile-time system search path for libraries.
16954   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16955  
16956 < # Run-time system search path for libraries.
16957 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16956 > # Detected run-time system search path for libraries.
16957 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16958 >
16959 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16960 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16961  
16962   # Whether dlopen is supported.
16963   dlopen_support=$enable_dlopen
# Line 14990 | Line 17108 | hardcode_action=$hardcode_action
17108  
17109   _LT_EOF
17110  
17111 +    cat <<'_LT_EOF' >> "$cfgfile"
17112 +
17113 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17114 +
17115 + # func_munge_path_list VARIABLE PATH
17116 + # -----------------------------------
17117 + # VARIABLE is name of variable containing _space_ separated list of
17118 + # directories to be munged by the contents of PATH, which is string
17119 + # having a format:
17120 + # "DIR[:DIR]:"
17121 + #       string "DIR[ DIR]" will be prepended to VARIABLE
17122 + # ":DIR[:DIR]"
17123 + #       string "DIR[ DIR]" will be appended to VARIABLE
17124 + # "DIRP[:DIRP]::[DIRA:]DIRA"
17125 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17126 + #       "DIRA[ DIRA]" will be appended to VARIABLE
17127 + # "DIR[:DIR]"
17128 + #       VARIABLE will be replaced by "DIR[ DIR]"
17129 + func_munge_path_list ()
17130 + {
17131 +    case x$2 in
17132 +    x)
17133 +        ;;
17134 +    *:)
17135 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17136 +        ;;
17137 +    x:*)
17138 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17139 +        ;;
17140 +    *::*)
17141 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17142 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17143 +        ;;
17144 +    *)
17145 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17146 +        ;;
17147 +    esac
17148 + }
17149 +
17150 +
17151 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17152 + func_cc_basename ()
17153 + {
17154 +    for cc_temp in $*""; do
17155 +      case $cc_temp in
17156 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17157 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17158 +        \-*) ;;
17159 +        *) break;;
17160 +      esac
17161 +    done
17162 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17163 + }
17164 +
17165 +
17166 + # ### END FUNCTIONS SHARED WITH CONFIGURE
17167 +
17168 + _LT_EOF
17169 +
17170    case $host_os in
17171    aix3*)
17172      cat <<\_LT_EOF >> "$cfgfile"
# Line 15053 | Line 17230 | if test "$no_create" != yes; then
17230    # would make configure fail if this is the last instruction.
17231    $ac_cs_success || as_fn_exit 1
17232   fi
15056
15057 #
15058 # CONFIG_SUBDIRS section.
15059 #
15060 if test "$no_recursion" != yes; then
15061
15062  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15063  # so they do not pile up.
15064  ac_sub_configure_args=
15065  ac_prev=
15066  eval "set x $ac_configure_args"
15067  shift
15068  for ac_arg
15069  do
15070    if test -n "$ac_prev"; then
15071      ac_prev=
15072      continue
15073    fi
15074    case $ac_arg in
15075    -cache-file | --cache-file | --cache-fil | --cache-fi \
15076    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15077      ac_prev=cache_file ;;
15078    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15079    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15080    | --c=*)
15081      ;;
15082    --config-cache | -C)
15083      ;;
15084    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15085      ac_prev=srcdir ;;
15086    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15087      ;;
15088    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15089      ac_prev=prefix ;;
15090    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15091      ;;
15092    --disable-option-checking)
15093      ;;
15094    *)
15095      case $ac_arg in
15096      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15097      esac
15098      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15099    esac
15100  done
15101
15102  # Always prepend --prefix to ensure using the same prefix
15103  # in subdir configurations.
15104  ac_arg="--prefix=$prefix"
15105  case $ac_arg in
15106  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15107  esac
15108  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15109
15110  # Pass --silent
15111  if test "$silent" = yes; then
15112    ac_sub_configure_args="--silent $ac_sub_configure_args"
15113  fi
15114
15115  # Always prepend --disable-option-checking to silence warnings, since
15116  # different subdirs can have different --enable and --with options.
15117  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15118
15119  ac_popdir=`pwd`
15120  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15121
15122    # Do not complain, so a configure script can configure whichever
15123    # parts of a large source tree are present.
15124    test -d "$srcdir/$ac_dir" || continue
15125
15126    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15127    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15128    $as_echo "$ac_msg" >&6
15129    as_dir="$ac_dir"; as_fn_mkdir_p
15130    ac_builddir=.
15131
15132 case "$ac_dir" in
15133 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15134 *)
15135  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15136  # A ".." for each directory in $ac_dir_suffix.
15137  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15138  case $ac_top_builddir_sub in
15139  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15140  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15141  esac ;;
15142 esac
15143 ac_abs_top_builddir=$ac_pwd
15144 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15145 # for backward compatibility:
15146 ac_top_builddir=$ac_top_build_prefix
15147
15148 case $srcdir in
15149  .)  # We are building in place.
15150    ac_srcdir=.
15151    ac_top_srcdir=$ac_top_builddir_sub
15152    ac_abs_top_srcdir=$ac_pwd ;;
15153  [\\/]* | ?:[\\/]* )  # Absolute name.
15154    ac_srcdir=$srcdir$ac_dir_suffix;
15155    ac_top_srcdir=$srcdir
15156    ac_abs_top_srcdir=$srcdir ;;
15157  *) # Relative name.
15158    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15159    ac_top_srcdir=$ac_top_build_prefix$srcdir
15160    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15161 esac
15162 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15163
15164
15165    cd "$ac_dir"
15166
15167    # Check for guested configure; otherwise get Cygnus style configure.
15168    if test -f "$ac_srcdir/configure.gnu"; then
15169      ac_sub_configure=$ac_srcdir/configure.gnu
15170    elif test -f "$ac_srcdir/configure"; then
15171      ac_sub_configure=$ac_srcdir/configure
15172    elif test -f "$ac_srcdir/configure.in"; then
15173      # This should be Cygnus configure.
15174      ac_sub_configure=$ac_aux_dir/configure
15175    else
15176      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15177 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15178      ac_sub_configure=
15179    fi
15180
15181    # The recursion is here.
15182    if test -n "$ac_sub_configure"; then
15183      # Make the cache file name correct relative to the subdirectory.
15184      case $cache_file in
15185      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15186      *) # Relative name.
15187        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15188      esac
15189
15190      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15191 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15192      # The eval makes quoting arguments work.
15193      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15194           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15195        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15196    fi
15197
15198    cd "$ac_popdir"
15199  done
15200 fi
17233   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17234    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17235   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

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