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 5157 by michael, Fri Dec 26 17:16:28 2014 UTC vs.
hopm/branches/1.1.x/configure (file contents), Revision 9998 by michael, Wed Jun 23 14:13:52 2021 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 9938 2021-05-15 13:27:09Z 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.11.
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.11'
595 > PACKAGE_STRING='hopm 1.1.11'
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.11 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.11:";;
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.11
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
1875
1876 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1877 # -------------------------------------------
1878 # Tests whether TYPE exists after having included INCLUDES, setting cache
1879 # variable VAR accordingly.
1880 ac_fn_c_check_type ()
1881 {
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886  $as_echo_n "(cached) " >&6
1887 else
1888  eval "$3=no"
1889  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h.  */
1891 $4
1892 int
1893 main ()
1894 {
1895 if (sizeof ($2))
1896         return 0;
1897  ;
1898  return 0;
1899 }
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h.  */
1904 $4
1905 int
1906 main ()
1907 {
1908 if (sizeof (($2)))
1909            return 0;
1910  ;
1911  return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_compile "$LINENO"; then :
1915
1916 else
1917  eval "$3=yes"
1918 fi
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 fi
1923 eval ac_res=\$$3
1924               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927
1928 } # ac_fn_c_check_type
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.11, which was
1819   generated by GNU Autoconf 2.69.  Invocation command line was
1820  
1821    $ $0 $@
# Line 2278 | Line 2163 | ac_link='$CC -o conftest$ac_exeext $CFLA
2163   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164  
2165  
2166 <
2282 < ac_config_headers="$ac_config_headers src/setup.h"
2283 <
2284 < 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 2482 | 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 2502 | 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 2796 | Line 2678 | fi
2678  
2679   # Define the identity of the package.
2680   PACKAGE='hopm'
2681 < VERSION='1.0.0beta1'
2681 > VERSION='1.1.11'
2682  
2683  
2684   cat >>confdefs.h <<_ACEOF
# Line 2826 | 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 2878 | 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 2913 | Line 2795 | fi
2795  
2796  
2797  
2798 <
2917 < # Check whether --with-extra-fascism was given.
2918 < if test "${with_extra_fascism+set}" = set; then :
2919 <  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"
2920 < fi
2921 <
2798 > ac_config_headers="$ac_config_headers src/setup.h"
2799  
2800  
2801  
# Line 2927 | 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
2937 # If we don't find an include directive, just comment out the code.
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2939 $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 4150 | 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 5451 | 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 5814 | Line 5691 | esac
5691   fi
5692  
5693   : ${AR=ar}
5694 < : ${AR_FLAGS=cru}
5694 > : ${AR_FLAGS=cr}
5695  
5696  
5697  
# Line 6315 | 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
6320 <  ac_status=$?
6321 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6322 <  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 6574 | 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 7523 | Line 7412 | int forced_loaded() { return 2;}
7412   _LT_EOF
7413        echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7414        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7415 <      echo "$AR cru libconftest.a conftest.o" >&5
7416 <      $AR cru libconftest.a conftest.o 2>&5
7415 >      echo "$AR cr libconftest.a conftest.o" >&5
7416 >      $AR cr libconftest.a conftest.o 2>&5
7417        echo "$RANLIB libconftest.a" >&5
7418        $RANLIB libconftest.a 2>&5
7419        cat > conftest.c << _LT_EOF
# Line 7581 | 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 8168 | 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
8173 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8174 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8175 <    \-*) ;;
8176 <    *) break;;
8177 <  esac
8178 < done
8179 < 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 8376 | 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 8621 | 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 9097 | 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 9351 | 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 10021 | 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 10042 | 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 10631 | 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 10919 | 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 10978 | 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
10984    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10920      ;;
10921    hppa*64*)
10922      shrext_cmds='.sl'
# Line 11133 | 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 11148 | 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 11358 | 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 12142 | Line 12109 | CC=$lt_save_CC
12109  
12110  
12111  
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12146 $as_echo_n "checking for ANSI C header files... " >&6; }
12147 if ${ac_cv_header_stdc+:} false; then :
12148  $as_echo_n "(cached) " >&6
12149 else
12150  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h.  */
12152 #include <stdlib.h>
12153 #include <stdarg.h>
12154 #include <string.h>
12155 #include <float.h>
12156
12157 int
12158 main ()
12159 {
12160
12161  ;
12162  return 0;
12163 }
12164 _ACEOF
12165 if ac_fn_c_try_compile "$LINENO"; then :
12166  ac_cv_header_stdc=yes
12167 else
12168  ac_cv_header_stdc=no
12169 fi
12170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12171
12172 if test $ac_cv_header_stdc = yes; then
12173  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12174  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h.  */
12176 #include <string.h>
12177
12178 _ACEOF
12179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12180  $EGREP "memchr" >/dev/null 2>&1; then :
12181
12182 else
12183  ac_cv_header_stdc=no
12184 fi
12185 rm -f conftest*
12186
12187 fi
12188
12189 if test $ac_cv_header_stdc = yes; then
12190  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12191  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h.  */
12193 #include <stdlib.h>
12194
12195 _ACEOF
12196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12197  $EGREP "free" >/dev/null 2>&1; then :
12198
12199 else
12200  ac_cv_header_stdc=no
12201 fi
12202 rm -f conftest*
12203
12204 fi
12205
12206 if test $ac_cv_header_stdc = yes; then
12207  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12208  if test "$cross_compiling" = yes; then :
12209  :
12210 else
12211  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h.  */
12213 #include <ctype.h>
12214 #include <stdlib.h>
12215 #if ((' ' & 0x0FF) == 0x020)
12216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12218 #else
12219 # define ISLOWER(c) \
12220                   (('a' <= (c) && (c) <= 'i') \
12221                     || ('j' <= (c) && (c) <= 'r') \
12222                     || ('s' <= (c) && (c) <= 'z'))
12223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12224 #endif
12225
12226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12227 int
12228 main ()
12229 {
12230  int i;
12231  for (i = 0; i < 256; i++)
12232    if (XOR (islower (i), ISLOWER (i))
12233        || toupper (i) != TOUPPER (i))
12234      return 2;
12235  return 0;
12236 }
12237 _ACEOF
12238 if ac_fn_c_try_run "$LINENO"; then :
12239
12240 else
12241  ac_cv_header_stdc=no
12242 fi
12243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12244  conftest.$ac_objext conftest.beam conftest.$ac_ext
12245 fi
12246
12247 fi
12248 fi
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12250 $as_echo "$ac_cv_header_stdc" >&6; }
12251 if test $ac_cv_header_stdc = yes; then
12252
12253 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12254
12255 fi
12256
12257
12258 for ac_header in sys/poll.h
12259 do :
12260  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12261 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12262  cat >>confdefs.h <<_ACEOF
12263 #define HAVE_SYS_POLL_H 1
12264 _ACEOF
12265 have_poll_sys_h=yes
12266 else
12267  have_sys_poll_h=no
12268 fi
12269
12270 done
12271
12272
12273 for ac_header in fcntl.h sys/time.h unistd.h strings.h
12274 do :
12275  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12276 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12278  cat >>confdefs.h <<_ACEOF
12279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12280 _ACEOF
12281
12282 fi
12283
12284 done
12285
12286
12287 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12288 if test "x$ac_cv_type_size_t" = xyes; then :
12289
12290 else
12291
12292 cat >>confdefs.h <<_ACEOF
12293 #define size_t unsigned int
12294 _ACEOF
12295
12296 fi
12297
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12299 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12300 if ${ac_cv_header_time+:} false; then :
12301  $as_echo_n "(cached) " >&6
12302 else
12303  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h.  */
12305 #include <sys/types.h>
12306 #include <sys/time.h>
12307 #include <time.h>
12308
12309 int
12310 main ()
12311 {
12312 if ((struct tm *) 0)
12313 return 0;
12314  ;
12315  return 0;
12316 }
12317 _ACEOF
12318 if ac_fn_c_try_compile "$LINENO"; then :
12319  ac_cv_header_time=yes
12320 else
12321  ac_cv_header_time=no
12322 fi
12323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12324 fi
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12326 $as_echo "$ac_cv_header_time" >&6; }
12327 if test $ac_cv_header_time = yes; then
12328
12329 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12330
12331 fi
12332
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12334 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12335 if ${ac_cv_struct_tm+:} false; then :
12336  $as_echo_n "(cached) " >&6
12337 else
12338  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h.  */
12340 #include <sys/types.h>
12341 #include <time.h>
12342
12343 int
12344 main ()
12345 {
12346 struct tm tm;
12347                                     int *p = &tm.tm_sec;
12348                                     return !p;
12349  ;
12350  return 0;
12351 }
12352 _ACEOF
12353 if ac_fn_c_try_compile "$LINENO"; then :
12354  ac_cv_struct_tm=time.h
12355 else
12356  ac_cv_struct_tm=sys/time.h
12357 fi
12358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359 fi
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12361 $as_echo "$ac_cv_struct_tm" >&6; }
12362 if test $ac_cv_struct_tm = sys/time.h; then
12363
12364 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12365
12366 fi
12367
12368
12369
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 12574 | 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  
12586 /* Override any GCC internal prototype to avoid an error.
12587   Use char because int might match the return type of a GCC
12588   builtin and then its argument prototype would still apply.  */
12589 #ifdef __cplusplus
12590 extern "C"
12591 #endif
12592 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
12605 <    ac_res=-l$ac_lib
12606 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12607 <  fi
12608 <  if ac_fn_c_try_link "$LINENO"; then :
12609 <  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 :
12614 <  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 < ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
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 >
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 12694 | 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 12756 | 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 inet_aton inet_pton socket strdup strstr
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
12770 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 -Werror=unknown-warning-option; 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 >
12910 > for flag in -Wall; do
12911 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12912 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12913 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12914 > if eval \${$as_CACHEVAR+:} false; then :
12915    $as_echo_n "(cached) " >&6
12916   else
12917 <  ac_cv_c_bigendian=unknown
12918 <    # See if we're dealing with a universal compiler.
12919 <    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 >
12918 >  ax_check_save_flags=$CFLAGS
12919 >  CFLAGS="$CFLAGS  $flag"
12920 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921   /* end confdefs.h.  */
12794 #ifndef __APPLE_CC__
12795               not a universal capable compiler
12796             #endif
12797             typedef int dummy;
12922  
12923 + int
12924 + main ()
12925 + {
12926 +
12927 +  ;
12928 +  return 0;
12929 + }
12930   _ACEOF
12931   if ac_fn_c_try_compile "$LINENO"; then :
12932 +  eval "$as_CACHEVAR=yes"
12933 + else
12934 +  eval "$as_CACHEVAR=no"
12935 + fi
12936 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12937 +  CFLAGS=$ax_check_save_flags
12938 + fi
12939 + eval ac_res=\$$as_CACHEVAR
12940 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12941 + $as_echo "$ac_res" >&6; }
12942 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12943  
12944 <        # Check for potential -arch flags.  It is not universal unless
12945 <        # there are at least two -arch flags with different values.
12946 <        ac_arch=
12947 <        ac_prev=
12948 <        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12949 <         if test -n "$ac_prev"; then
12950 <           case $ac_word in
12951 <             i?86 | x86_64 | ppc | ppc64)
12952 <               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12953 <                 ac_arch=$ac_word
12954 <               else
12955 <                 ac_cv_c_bigendian=universal
12956 <                 break
12957 <               fi
12958 <               ;;
12959 <           esac
12960 <           ac_prev=
12961 <         elif test "x$ac_word" = "x-arch"; then
12962 <           ac_prev=arch
12963 <         fi
12964 <       done
12944 > if ${CFLAGS+:} false; then :
12945 >
12946 >  case " $CFLAGS " in #(
12947 >  *" $flag "*) :
12948 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12949 >  (: CFLAGS already contains $flag) 2>&5
12950 >  ac_status=$?
12951 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12952 >  test $ac_status = 0; } ;; #(
12953 >  *) :
12954 >
12955 >     as_fn_append CFLAGS " $flag"
12956 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12957 >  (: CFLAGS="$CFLAGS") 2>&5
12958 >  ac_status=$?
12959 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12960 >  test $ac_status = 0; }
12961 >     ;;
12962 > esac
12963 >
12964 > else
12965 >
12966 >  CFLAGS=$flag
12967 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12968 >  (: CFLAGS="$CFLAGS") 2>&5
12969 >  ac_status=$?
12970 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12971 >  test $ac_status = 0; }
12972 >
12973 > fi
12974 >
12975 > else
12976 >  :
12977 > fi
12978 >
12979 > done
12980 >
12981 >
12982 >
12983 >
12984 >
12985 > for flag in -Wbad-function-cast; do
12986 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12987 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12988 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12989 > if eval \${$as_CACHEVAR+:} false; then :
12990 >  $as_echo_n "(cached) " >&6
12991 > else
12992 >
12993 >  ax_check_save_flags=$CFLAGS
12994 >  CFLAGS="$CFLAGS  $flag"
12995 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 > /* end confdefs.h.  */
12997 >
12998 > int
12999 > main ()
13000 > {
13001 >
13002 >  ;
13003 >  return 0;
13004 > }
13005 > _ACEOF
13006 > if ac_fn_c_try_compile "$LINENO"; then :
13007 >  eval "$as_CACHEVAR=yes"
13008 > else
13009 >  eval "$as_CACHEVAR=no"
13010   fi
13011   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13012 <    if test $ac_cv_c_bigendian = unknown; then
13013 <      # See if sys/param.h defines the BYTE_ORDER macro.
13014 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 >  CFLAGS=$ax_check_save_flags
13013 > fi
13014 > eval ac_res=\$$as_CACHEVAR
13015 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13016 > $as_echo "$ac_res" >&6; }
13017 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13018 >
13019 > if ${CFLAGS+:} false; then :
13020 >
13021 >  case " $CFLAGS " in #(
13022 >  *" $flag "*) :
13023 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13024 >  (: CFLAGS already contains $flag) 2>&5
13025 >  ac_status=$?
13026 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13027 >  test $ac_status = 0; } ;; #(
13028 >  *) :
13029 >
13030 >     as_fn_append CFLAGS " $flag"
13031 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13032 >  (: CFLAGS="$CFLAGS") 2>&5
13033 >  ac_status=$?
13034 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13035 >  test $ac_status = 0; }
13036 >     ;;
13037 > esac
13038 >
13039 > else
13040 >
13041 >  CFLAGS=$flag
13042 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13043 >  (: CFLAGS="$CFLAGS") 2>&5
13044 >  ac_status=$?
13045 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13046 >  test $ac_status = 0; }
13047 >
13048 > fi
13049 >
13050 > else
13051 >  :
13052 > fi
13053 >
13054 > done
13055 >
13056 >
13057 >
13058 >
13059 >
13060 > for flag in -Wcast-align; do
13061 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13062 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13063 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13064 > if eval \${$as_CACHEVAR+:} false; then :
13065 >  $as_echo_n "(cached) " >&6
13066 > else
13067 >
13068 >  ax_check_save_flags=$CFLAGS
13069 >  CFLAGS="$CFLAGS  $flag"
13070 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071   /* end confdefs.h.  */
12829 #include <sys/types.h>
12830             #include <sys/param.h>
13072  
13073   int
13074   main ()
13075   {
12835 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12836                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12837                     && LITTLE_ENDIAN)
12838              bogus endian macros
12839             #endif
13076  
13077    ;
13078    return 0;
13079   }
13080   _ACEOF
13081   if ac_fn_c_try_compile "$LINENO"; then :
13082 <  # It does; now see whether it defined to BIG_ENDIAN or not.
13083 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 >  eval "$as_CACHEVAR=yes"
13083 > else
13084 >  eval "$as_CACHEVAR=no"
13085 > fi
13086 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13087 >  CFLAGS=$ax_check_save_flags
13088 > fi
13089 > eval ac_res=\$$as_CACHEVAR
13090 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13091 > $as_echo "$ac_res" >&6; }
13092 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13093 >
13094 > if ${CFLAGS+:} false; then :
13095 >
13096 >  case " $CFLAGS " in #(
13097 >  *" $flag "*) :
13098 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13099 >  (: CFLAGS already contains $flag) 2>&5
13100 >  ac_status=$?
13101 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13102 >  test $ac_status = 0; } ;; #(
13103 >  *) :
13104 >
13105 >     as_fn_append CFLAGS " $flag"
13106 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13107 >  (: CFLAGS="$CFLAGS") 2>&5
13108 >  ac_status=$?
13109 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13110 >  test $ac_status = 0; }
13111 >     ;;
13112 > esac
13113 >
13114 > else
13115 >
13116 >  CFLAGS=$flag
13117 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13118 >  (: CFLAGS="$CFLAGS") 2>&5
13119 >  ac_status=$?
13120 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121 >  test $ac_status = 0; }
13122 >
13123 > fi
13124 >
13125 > else
13126 >  :
13127 > fi
13128 >
13129 > done
13130 >
13131 >
13132 >
13133 >
13134 >
13135 > for flag in -Wcast-function-type; do
13136 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13137 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13138 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13139 > if eval \${$as_CACHEVAR+:} false; then :
13140 >  $as_echo_n "(cached) " >&6
13141 > else
13142 >
13143 >  ax_check_save_flags=$CFLAGS
13144 >  CFLAGS="$CFLAGS  $flag"
13145 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146   /* end confdefs.h.  */
12849 #include <sys/types.h>
12850                #include <sys/param.h>
13147  
13148   int
13149   main ()
13150   {
12855 #if BYTE_ORDER != BIG_ENDIAN
12856                 not big endian
12857                #endif
13151  
13152    ;
13153    return 0;
13154   }
13155   _ACEOF
13156   if ac_fn_c_try_compile "$LINENO"; then :
13157 <  ac_cv_c_bigendian=yes
13157 >  eval "$as_CACHEVAR=yes"
13158   else
13159 <  ac_cv_c_bigendian=no
13159 >  eval "$as_CACHEVAR=no"
13160   fi
13161   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13162 +  CFLAGS=$ax_check_save_flags
13163 + fi
13164 + eval ac_res=\$$as_CACHEVAR
13165 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13166 + $as_echo "$ac_res" >&6; }
13167 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13168 +
13169 + if ${CFLAGS+:} false; then :
13170 +
13171 +  case " $CFLAGS " in #(
13172 +  *" $flag "*) :
13173 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13174 +  (: CFLAGS already contains $flag) 2>&5
13175 +  ac_status=$?
13176 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13177 +  test $ac_status = 0; } ;; #(
13178 +  *) :
13179 +
13180 +     as_fn_append CFLAGS " $flag"
13181 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13182 +  (: CFLAGS="$CFLAGS") 2>&5
13183 +  ac_status=$?
13184 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13185 +  test $ac_status = 0; }
13186 +     ;;
13187 + esac
13188 +
13189 + else
13190 +
13191 +  CFLAGS=$flag
13192 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13193 +  (: CFLAGS="$CFLAGS") 2>&5
13194 +  ac_status=$?
13195 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13196 +  test $ac_status = 0; }
13197 +
13198 + fi
13199 +
13200 + else
13201 +  :
13202 + fi
13203 +
13204 + done
13205 +
13206 +
13207 +
13208 +
13209 +
13210 + for flag in -Wcast-qual; do
13211 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13212 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13213 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13214 + if eval \${$as_CACHEVAR+:} false; then :
13215 +  $as_echo_n "(cached) " >&6
13216 + else
13217 +
13218 +  ax_check_save_flags=$CFLAGS
13219 +  CFLAGS="$CFLAGS  $flag"
13220 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 + /* end confdefs.h.  */
13222 +
13223 + int
13224 + main ()
13225 + {
13226 +
13227 +  ;
13228 +  return 0;
13229 + }
13230 + _ACEOF
13231 + if ac_fn_c_try_compile "$LINENO"; then :
13232 +  eval "$as_CACHEVAR=yes"
13233 + else
13234 +  eval "$as_CACHEVAR=no"
13235   fi
13236   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13237 <    fi
13238 <    if test $ac_cv_c_bigendian = unknown; then
13239 <      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13240 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 >  CFLAGS=$ax_check_save_flags
13238 > fi
13239 > eval ac_res=\$$as_CACHEVAR
13240 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13241 > $as_echo "$ac_res" >&6; }
13242 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13243 >
13244 > if ${CFLAGS+:} false; then :
13245 >
13246 >  case " $CFLAGS " in #(
13247 >  *" $flag "*) :
13248 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13249 >  (: CFLAGS already contains $flag) 2>&5
13250 >  ac_status=$?
13251 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252 >  test $ac_status = 0; } ;; #(
13253 >  *) :
13254 >
13255 >     as_fn_append CFLAGS " $flag"
13256 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13257 >  (: CFLAGS="$CFLAGS") 2>&5
13258 >  ac_status=$?
13259 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 >  test $ac_status = 0; }
13261 >     ;;
13262 > esac
13263 >
13264 > else
13265 >
13266 >  CFLAGS=$flag
13267 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13268 >  (: CFLAGS="$CFLAGS") 2>&5
13269 >  ac_status=$?
13270 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13271 >  test $ac_status = 0; }
13272 >
13273 > fi
13274 >
13275 > else
13276 >  :
13277 > fi
13278 >
13279 > done
13280 >
13281 >
13282 >
13283 >
13284 >
13285 > for flag in -Wclobbered; do
13286 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13287 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13288 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13289 > if eval \${$as_CACHEVAR+:} false; then :
13290 >  $as_echo_n "(cached) " >&6
13291 > else
13292 >
13293 >  ax_check_save_flags=$CFLAGS
13294 >  CFLAGS="$CFLAGS  $flag"
13295 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296   /* end confdefs.h.  */
12876 #include <limits.h>
13297  
13298   int
13299   main ()
13300   {
12881 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12882              bogus endian macros
12883             #endif
13301  
13302    ;
13303    return 0;
13304   }
13305   _ACEOF
13306   if ac_fn_c_try_compile "$LINENO"; then :
13307 <  # It does; now see whether it defined to _BIG_ENDIAN or not.
13308 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 >  eval "$as_CACHEVAR=yes"
13308 > else
13309 >  eval "$as_CACHEVAR=no"
13310 > fi
13311 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13312 >  CFLAGS=$ax_check_save_flags
13313 > fi
13314 > eval ac_res=\$$as_CACHEVAR
13315 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13316 > $as_echo "$ac_res" >&6; }
13317 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13318 >
13319 > if ${CFLAGS+:} false; then :
13320 >
13321 >  case " $CFLAGS " in #(
13322 >  *" $flag "*) :
13323 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13324 >  (: CFLAGS already contains $flag) 2>&5
13325 >  ac_status=$?
13326 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327 >  test $ac_status = 0; } ;; #(
13328 >  *) :
13329 >
13330 >     as_fn_append CFLAGS " $flag"
13331 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13332 >  (: CFLAGS="$CFLAGS") 2>&5
13333 >  ac_status=$?
13334 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13335 >  test $ac_status = 0; }
13336 >     ;;
13337 > esac
13338 >
13339 > else
13340 >
13341 >  CFLAGS=$flag
13342 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13343 >  (: CFLAGS="$CFLAGS") 2>&5
13344 >  ac_status=$?
13345 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13346 >  test $ac_status = 0; }
13347 >
13348 > fi
13349 >
13350 > else
13351 >  :
13352 > fi
13353 >
13354 > done
13355 >
13356 >
13357 >
13358 >
13359 >
13360 > for flag in -Wduplicated-cond; do
13361 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13362 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13363 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13364 > if eval \${$as_CACHEVAR+:} false; then :
13365 >  $as_echo_n "(cached) " >&6
13366 > else
13367 >
13368 >  ax_check_save_flags=$CFLAGS
13369 >  CFLAGS="$CFLAGS  $flag"
13370 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371   /* end confdefs.h.  */
12893 #include <limits.h>
13372  
13373   int
13374   main ()
13375   {
12898 #ifndef _BIG_ENDIAN
12899                 not big endian
12900                #endif
13376  
13377    ;
13378    return 0;
13379   }
13380   _ACEOF
13381   if ac_fn_c_try_compile "$LINENO"; then :
13382 <  ac_cv_c_bigendian=yes
13382 >  eval "$as_CACHEVAR=yes"
13383   else
13384 <  ac_cv_c_bigendian=no
13384 >  eval "$as_CACHEVAR=no"
13385   fi
13386   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13387 +  CFLAGS=$ax_check_save_flags
13388 + fi
13389 + eval ac_res=\$$as_CACHEVAR
13390 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13391 + $as_echo "$ac_res" >&6; }
13392 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13393 +
13394 + if ${CFLAGS+:} false; then :
13395 +
13396 +  case " $CFLAGS " in #(
13397 +  *" $flag "*) :
13398 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13399 +  (: CFLAGS already contains $flag) 2>&5
13400 +  ac_status=$?
13401 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13402 +  test $ac_status = 0; } ;; #(
13403 +  *) :
13404 +
13405 +     as_fn_append CFLAGS " $flag"
13406 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13407 +  (: CFLAGS="$CFLAGS") 2>&5
13408 +  ac_status=$?
13409 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410 +  test $ac_status = 0; }
13411 +     ;;
13412 + esac
13413 +
13414 + else
13415 +
13416 +  CFLAGS=$flag
13417 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13418 +  (: CFLAGS="$CFLAGS") 2>&5
13419 +  ac_status=$?
13420 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13421 +  test $ac_status = 0; }
13422 +
13423 + fi
13424 +
13425 + else
13426 +  :
13427 + fi
13428 +
13429 + done
13430 +
13431 +
13432 +
13433 +
13434 +
13435 + for flag in -Wempty-body; do
13436 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13437 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13438 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13439 + if eval \${$as_CACHEVAR+:} false; then :
13440 +  $as_echo_n "(cached) " >&6
13441 + else
13442 +
13443 +  ax_check_save_flags=$CFLAGS
13444 +  CFLAGS="$CFLAGS  $flag"
13445 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446 + /* end confdefs.h.  */
13447 +
13448 + int
13449 + main ()
13450 + {
13451 +
13452 +  ;
13453 +  return 0;
13454 + }
13455 + _ACEOF
13456 + if ac_fn_c_try_compile "$LINENO"; then :
13457 +  eval "$as_CACHEVAR=yes"
13458 + else
13459 +  eval "$as_CACHEVAR=no"
13460   fi
13461   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 <    fi
13463 <    if test $ac_cv_c_bigendian = unknown; then
13464 <      # Compile a test program.
13465 <      if test "$cross_compiling" = yes; then :
13466 <  # Try to guess by grepping values from an object file.
13467 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462 >  CFLAGS=$ax_check_save_flags
13463 > fi
13464 > eval ac_res=\$$as_CACHEVAR
13465 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13466 > $as_echo "$ac_res" >&6; }
13467 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13468 >
13469 > if ${CFLAGS+:} false; then :
13470 >
13471 >  case " $CFLAGS " in #(
13472 >  *" $flag "*) :
13473 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13474 >  (: CFLAGS already contains $flag) 2>&5
13475 >  ac_status=$?
13476 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13477 >  test $ac_status = 0; } ;; #(
13478 >  *) :
13479 >
13480 >     as_fn_append CFLAGS " $flag"
13481 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13482 >  (: CFLAGS="$CFLAGS") 2>&5
13483 >  ac_status=$?
13484 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13485 >  test $ac_status = 0; }
13486 >     ;;
13487 > esac
13488 >
13489 > else
13490 >
13491 >  CFLAGS=$flag
13492 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13493 >  (: CFLAGS="$CFLAGS") 2>&5
13494 >  ac_status=$?
13495 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13496 >  test $ac_status = 0; }
13497 >
13498 > fi
13499 >
13500 > else
13501 >  :
13502 > fi
13503 >
13504 > done
13505 >
13506 >
13507 >
13508 >
13509 >
13510 > for flag in -Wignored-qualifiers; do
13511 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13512 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13513 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13514 > if eval \${$as_CACHEVAR+:} false; then :
13515 >  $as_echo_n "(cached) " >&6
13516 > else
13517 >
13518 >  ax_check_save_flags=$CFLAGS
13519 >  CFLAGS="$CFLAGS  $flag"
13520 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521   /* end confdefs.h.  */
12921 short int ascii_mm[] =
12922                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12923                short int ascii_ii[] =
12924                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12925                int use_ascii (int i) {
12926                  return ascii_mm[i] + ascii_ii[i];
12927                }
12928                short int ebcdic_ii[] =
12929                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12930                short int ebcdic_mm[] =
12931                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12932                int use_ebcdic (int i) {
12933                  return ebcdic_mm[i] + ebcdic_ii[i];
12934                }
12935                extern int foo;
13522  
13523   int
13524   main ()
13525   {
13526 < return use_ascii (foo) == use_ebcdic (foo);
13526 >
13527    ;
13528    return 0;
13529   }
13530   _ACEOF
13531   if ac_fn_c_try_compile "$LINENO"; then :
13532 <  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13533 <              ac_cv_c_bigendian=yes
13534 <            fi
12949 <            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12950 <              if test "$ac_cv_c_bigendian" = unknown; then
12951 <                ac_cv_c_bigendian=no
12952 <              else
12953 <                # finding both strings is unlikely to happen, but who knows?
12954 <                ac_cv_c_bigendian=unknown
12955 <              fi
12956 <            fi
13532 >  eval "$as_CACHEVAR=yes"
13533 > else
13534 >  eval "$as_CACHEVAR=no"
13535   fi
13536   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13537 +  CFLAGS=$ax_check_save_flags
13538 + fi
13539 + eval ac_res=\$$as_CACHEVAR
13540 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13541 + $as_echo "$ac_res" >&6; }
13542 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13543 +
13544 + if ${CFLAGS+:} false; then :
13545 +
13546 +  case " $CFLAGS " in #(
13547 +  *" $flag "*) :
13548 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13549 +  (: CFLAGS already contains $flag) 2>&5
13550 +  ac_status=$?
13551 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552 +  test $ac_status = 0; } ;; #(
13553 +  *) :
13554 +
13555 +     as_fn_append CFLAGS " $flag"
13556 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13557 +  (: CFLAGS="$CFLAGS") 2>&5
13558 +  ac_status=$?
13559 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13560 +  test $ac_status = 0; }
13561 +     ;;
13562 + esac
13563 +
13564   else
13565 +
13566 +  CFLAGS=$flag
13567 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13568 +  (: CFLAGS="$CFLAGS") 2>&5
13569 +  ac_status=$?
13570 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13571 +  test $ac_status = 0; }
13572 +
13573 + fi
13574 +
13575 + else
13576 +  :
13577 + fi
13578 +
13579 + done
13580 +
13581 +
13582 +
13583 +
13584 +
13585 + for flag in -Wlogical-op; do
13586 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13587 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13588 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13589 + if eval \${$as_CACHEVAR+:} false; then :
13590 +  $as_echo_n "(cached) " >&6
13591 + else
13592 +
13593 +  ax_check_save_flags=$CFLAGS
13594 +  CFLAGS="$CFLAGS  $flag"
13595    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596   /* end confdefs.h.  */
13597 < $ac_includes_default
13597 >
13598   int
13599   main ()
13600   {
13601  
13602 <             /* Are we little or big endian?  From Harbison&Steele.  */
13603 <             union
13604 <             {
13605 <               long int l;
13606 <               char c[sizeof (long int)];
13607 <             } u;
13608 <             u.l = 1;
13609 <             return u.c[sizeof (long int) - 1] == 1;
13602 >  ;
13603 >  return 0;
13604 > }
13605 > _ACEOF
13606 > if ac_fn_c_try_compile "$LINENO"; then :
13607 >  eval "$as_CACHEVAR=yes"
13608 > else
13609 >  eval "$as_CACHEVAR=no"
13610 > fi
13611 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13612 >  CFLAGS=$ax_check_save_flags
13613 > fi
13614 > eval ac_res=\$$as_CACHEVAR
13615 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13616 > $as_echo "$ac_res" >&6; }
13617 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13618 >
13619 > if ${CFLAGS+:} false; then :
13620 >
13621 >  case " $CFLAGS " in #(
13622 >  *" $flag "*) :
13623 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13624 >  (: CFLAGS already contains $flag) 2>&5
13625 >  ac_status=$?
13626 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627 >  test $ac_status = 0; } ;; #(
13628 >  *) :
13629 >
13630 >     as_fn_append CFLAGS " $flag"
13631 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13632 >  (: CFLAGS="$CFLAGS") 2>&5
13633 >  ac_status=$?
13634 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13635 >  test $ac_status = 0; }
13636 >     ;;
13637 > esac
13638 >
13639 > else
13640 >
13641 >  CFLAGS=$flag
13642 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13643 >  (: CFLAGS="$CFLAGS") 2>&5
13644 >  ac_status=$?
13645 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13646 >  test $ac_status = 0; }
13647 >
13648 > fi
13649 >
13650 > else
13651 >  :
13652 > fi
13653 >
13654 > done
13655 >
13656 >
13657 >
13658 >
13659 >
13660 > for flag in -Wmissing-declarations; do
13661 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13662 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13663 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13664 > if eval \${$as_CACHEVAR+:} false; then :
13665 >  $as_echo_n "(cached) " >&6
13666 > else
13667 >
13668 >  ax_check_save_flags=$CFLAGS
13669 >  CFLAGS="$CFLAGS  $flag"
13670 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 > /* end confdefs.h.  */
13672 >
13673 > int
13674 > main ()
13675 > {
13676  
13677    ;
13678    return 0;
13679   }
13680   _ACEOF
13681 < if ac_fn_c_try_run "$LINENO"; then :
13682 <  ac_cv_c_bigendian=no
13681 > if ac_fn_c_try_compile "$LINENO"; then :
13682 >  eval "$as_CACHEVAR=yes"
13683   else
13684 <  ac_cv_c_bigendian=yes
13684 >  eval "$as_CACHEVAR=no"
13685   fi
13686 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13687 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13686 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13687 >  CFLAGS=$ax_check_save_flags
13688   fi
13689 + eval ac_res=\$$as_CACHEVAR
13690 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13691 + $as_echo "$ac_res" >&6; }
13692 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13693 +
13694 + if ${CFLAGS+:} false; then :
13695 +
13696 +  case " $CFLAGS " in #(
13697 +  *" $flag "*) :
13698 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13699 +  (: CFLAGS already contains $flag) 2>&5
13700 +  ac_status=$?
13701 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13702 +  test $ac_status = 0; } ;; #(
13703 +  *) :
13704 +
13705 +     as_fn_append CFLAGS " $flag"
13706 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13707 +  (: CFLAGS="$CFLAGS") 2>&5
13708 +  ac_status=$?
13709 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13710 +  test $ac_status = 0; }
13711 +     ;;
13712 + esac
13713 +
13714 + else
13715 +
13716 +  CFLAGS=$flag
13717 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13718 +  (: CFLAGS="$CFLAGS") 2>&5
13719 +  ac_status=$?
13720 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13721 +  test $ac_status = 0; }
13722  
12989    fi
13723   fi
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12992 $as_echo "$ac_cv_c_bigendian" >&6; }
12993 case $ac_cv_c_bigendian in #(
12994   yes)
12995     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12996 ;; #(
12997   no)
12998      ;; #(
12999   universal)
13724  
13725 < $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13725 > else
13726 >  :
13727 > fi
13728 >
13729 > done
13730 >
13731  
13003     ;; #(
13004   *)
13005     as_fn_error $? "unknown endianness
13006 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13007 esac
13732  
13733  
13734  
13735 + for flag in -Wmissing-field-initializers; do
13736 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13737 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13738 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13739 + if eval \${$as_CACHEVAR+:} false; then :
13740 +  $as_echo_n "(cached) " >&6
13741 + else
13742 +
13743 +  ax_check_save_flags=$CFLAGS
13744 +  CFLAGS="$CFLAGS  $flag"
13745 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 + /* end confdefs.h.  */
13747 +
13748 + int
13749 + main ()
13750 + {
13751 +
13752 +  ;
13753 +  return 0;
13754 + }
13755 + _ACEOF
13756 + if ac_fn_c_try_compile "$LINENO"; then :
13757 +  eval "$as_CACHEVAR=yes"
13758 + else
13759 +  eval "$as_CACHEVAR=no"
13760 + fi
13761 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 +  CFLAGS=$ax_check_save_flags
13763 + fi
13764 + eval ac_res=\$$as_CACHEVAR
13765 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13766 + $as_echo "$ac_res" >&6; }
13767 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13768  
13769 + if ${CFLAGS+:} false; then :
13770  
13771 < subdirs="$subdirs src/libopm"
13771 >  case " $CFLAGS " in #(
13772 >  *" $flag "*) :
13773 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13774 >  (: CFLAGS already contains $flag) 2>&5
13775 >  ac_status=$?
13776 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13777 >  test $ac_status = 0; } ;; #(
13778 >  *) :
13779  
13780 +     as_fn_append CFLAGS " $flag"
13781 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13782 +  (: CFLAGS="$CFLAGS") 2>&5
13783 +  ac_status=$?
13784 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13785 +  test $ac_status = 0; }
13786 +     ;;
13787 + esac
13788 +
13789 + else
13790 +
13791 +  CFLAGS=$flag
13792 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13793 +  (: CFLAGS="$CFLAGS") 2>&5
13794 +  ac_status=$?
13795 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13796 +  test $ac_status = 0; }
13797 +
13798 + fi
13799 +
13800 + else
13801 +  :
13802 + fi
13803 +
13804 + done
13805 +
13806 +
13807 +
13808 +
13809 +
13810 + for flag in -Wmissing-include-dirs; do
13811 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13812 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13813 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13814 + if eval \${$as_CACHEVAR+:} false; then :
13815 +  $as_echo_n "(cached) " >&6
13816 + else
13817 +
13818 +  ax_check_save_flags=$CFLAGS
13819 +  CFLAGS="$CFLAGS  $flag"
13820 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 + /* end confdefs.h.  */
13822 +
13823 + int
13824 + main ()
13825 + {
13826 +
13827 +  ;
13828 +  return 0;
13829 + }
13830 + _ACEOF
13831 + if ac_fn_c_try_compile "$LINENO"; then :
13832 +  eval "$as_CACHEVAR=yes"
13833 + else
13834 +  eval "$as_CACHEVAR=no"
13835 + fi
13836 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13837 +  CFLAGS=$ax_check_save_flags
13838 + fi
13839 + eval ac_res=\$$as_CACHEVAR
13840 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13841 + $as_echo "$ac_res" >&6; }
13842 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13843 +
13844 + if ${CFLAGS+:} false; then :
13845 +
13846 +  case " $CFLAGS " in #(
13847 +  *" $flag "*) :
13848 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13849 +  (: CFLAGS already contains $flag) 2>&5
13850 +  ac_status=$?
13851 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13852 +  test $ac_status = 0; } ;; #(
13853 +  *) :
13854 +
13855 +     as_fn_append CFLAGS " $flag"
13856 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13857 +  (: CFLAGS="$CFLAGS") 2>&5
13858 +  ac_status=$?
13859 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860 +  test $ac_status = 0; }
13861 +     ;;
13862 + esac
13863 +
13864 + else
13865 +
13866 +  CFLAGS=$flag
13867 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13868 +  (: CFLAGS="$CFLAGS") 2>&5
13869 +  ac_status=$?
13870 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13871 +  test $ac_status = 0; }
13872 +
13873 + fi
13874 +
13875 + else
13876 +  :
13877 + fi
13878 +
13879 + done
13880 +
13881 +
13882 +
13883 +
13884 +
13885 + for flag in -Wmissing-parameter-type; do
13886 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13887 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13888 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13889 + if eval \${$as_CACHEVAR+:} false; then :
13890 +  $as_echo_n "(cached) " >&6
13891 + else
13892 +
13893 +  ax_check_save_flags=$CFLAGS
13894 +  CFLAGS="$CFLAGS  $flag"
13895 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 + /* end confdefs.h.  */
13897 +
13898 + int
13899 + main ()
13900 + {
13901 +
13902 +  ;
13903 +  return 0;
13904 + }
13905 + _ACEOF
13906 + if ac_fn_c_try_compile "$LINENO"; then :
13907 +  eval "$as_CACHEVAR=yes"
13908 + else
13909 +  eval "$as_CACHEVAR=no"
13910 + fi
13911 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912 +  CFLAGS=$ax_check_save_flags
13913 + fi
13914 + eval ac_res=\$$as_CACHEVAR
13915 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13916 + $as_echo "$ac_res" >&6; }
13917 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13918 +
13919 + if ${CFLAGS+:} false; then :
13920 +
13921 +  case " $CFLAGS " in #(
13922 +  *" $flag "*) :
13923 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13924 +  (: CFLAGS already contains $flag) 2>&5
13925 +  ac_status=$?
13926 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13927 +  test $ac_status = 0; } ;; #(
13928 +  *) :
13929 +
13930 +     as_fn_append CFLAGS " $flag"
13931 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13932 +  (: CFLAGS="$CFLAGS") 2>&5
13933 +  ac_status=$?
13934 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13935 +  test $ac_status = 0; }
13936 +     ;;
13937 + esac
13938 +
13939 + else
13940 +
13941 +  CFLAGS=$flag
13942 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13943 +  (: CFLAGS="$CFLAGS") 2>&5
13944 +  ac_status=$?
13945 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13946 +  test $ac_status = 0; }
13947 +
13948 + fi
13949 +
13950 + else
13951 +  :
13952 + fi
13953 +
13954 + done
13955 +
13956 +
13957 +
13958 +
13959 +
13960 + for flag in -Wmissing-prototypes; do
13961 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13962 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13963 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13964 + if eval \${$as_CACHEVAR+:} false; then :
13965 +  $as_echo_n "(cached) " >&6
13966 + else
13967 +
13968 +  ax_check_save_flags=$CFLAGS
13969 +  CFLAGS="$CFLAGS  $flag"
13970 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 + /* end confdefs.h.  */
13972 +
13973 + int
13974 + main ()
13975 + {
13976 +
13977 +  ;
13978 +  return 0;
13979 + }
13980 + _ACEOF
13981 + if ac_fn_c_try_compile "$LINENO"; then :
13982 +  eval "$as_CACHEVAR=yes"
13983 + else
13984 +  eval "$as_CACHEVAR=no"
13985 + fi
13986 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13987 +  CFLAGS=$ax_check_save_flags
13988 + fi
13989 + eval ac_res=\$$as_CACHEVAR
13990 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13991 + $as_echo "$ac_res" >&6; }
13992 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13993 +
13994 + if ${CFLAGS+:} false; then :
13995 +
13996 +  case " $CFLAGS " in #(
13997 +  *" $flag "*) :
13998 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13999 +  (: CFLAGS already contains $flag) 2>&5
14000 +  ac_status=$?
14001 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14002 +  test $ac_status = 0; } ;; #(
14003 +  *) :
14004 +
14005 +     as_fn_append CFLAGS " $flag"
14006 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14007 +  (: CFLAGS="$CFLAGS") 2>&5
14008 +  ac_status=$?
14009 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010 +  test $ac_status = 0; }
14011 +     ;;
14012 + esac
14013 +
14014 + else
14015 +
14016 +  CFLAGS=$flag
14017 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14018 +  (: CFLAGS="$CFLAGS") 2>&5
14019 +  ac_status=$?
14020 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14021 +  test $ac_status = 0; }
14022 +
14023 + fi
14024 +
14025 + else
14026 +  :
14027 + fi
14028 +
14029 + done
14030  
14031 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
14031 >
14032 >
14033 >
14034 >
14035 > for flag in -Wnested-externs; do
14036 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14037 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14038 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14039 > if eval \${$as_CACHEVAR+:} false; then :
14040 >  $as_echo_n "(cached) " >&6
14041 > else
14042 >
14043 >  ax_check_save_flags=$CFLAGS
14044 >  CFLAGS="$CFLAGS  $flag"
14045 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 > /* end confdefs.h.  */
14047 >
14048 > int
14049 > main ()
14050 > {
14051 >
14052 >  ;
14053 >  return 0;
14054 > }
14055 > _ACEOF
14056 > if ac_fn_c_try_compile "$LINENO"; then :
14057 >  eval "$as_CACHEVAR=yes"
14058 > else
14059 >  eval "$as_CACHEVAR=no"
14060 > fi
14061 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14062 >  CFLAGS=$ax_check_save_flags
14063 > fi
14064 > eval ac_res=\$$as_CACHEVAR
14065 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14066 > $as_echo "$ac_res" >&6; }
14067 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14068 >
14069 > if ${CFLAGS+:} false; then :
14070 >
14071 >  case " $CFLAGS " in #(
14072 >  *" $flag "*) :
14073 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14074 >  (: CFLAGS already contains $flag) 2>&5
14075 >  ac_status=$?
14076 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14077 >  test $ac_status = 0; } ;; #(
14078 >  *) :
14079 >
14080 >     as_fn_append CFLAGS " $flag"
14081 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14082 >  (: CFLAGS="$CFLAGS") 2>&5
14083 >  ac_status=$?
14084 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14085 >  test $ac_status = 0; }
14086 >     ;;
14087 > esac
14088 >
14089 > else
14090 >
14091 >  CFLAGS=$flag
14092 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14093 >  (: CFLAGS="$CFLAGS") 2>&5
14094 >  ac_status=$?
14095 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14096 >  test $ac_status = 0; }
14097 >
14098 > fi
14099 >
14100 > else
14101 >  :
14102 > fi
14103 >
14104 > done
14105 >
14106 >
14107 >
14108 >
14109 >
14110 > for flag in -Wold-style-declaration; do
14111 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14112 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14113 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14114 > if eval \${$as_CACHEVAR+:} false; then :
14115 >  $as_echo_n "(cached) " >&6
14116 > else
14117 >
14118 >  ax_check_save_flags=$CFLAGS
14119 >  CFLAGS="$CFLAGS  $flag"
14120 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 > /* end confdefs.h.  */
14122 >
14123 > int
14124 > main ()
14125 > {
14126 >
14127 >  ;
14128 >  return 0;
14129 > }
14130 > _ACEOF
14131 > if ac_fn_c_try_compile "$LINENO"; then :
14132 >  eval "$as_CACHEVAR=yes"
14133 > else
14134 >  eval "$as_CACHEVAR=no"
14135 > fi
14136 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14137 >  CFLAGS=$ax_check_save_flags
14138 > fi
14139 > eval ac_res=\$$as_CACHEVAR
14140 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14141 > $as_echo "$ac_res" >&6; }
14142 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14143 >
14144 > if ${CFLAGS+:} false; then :
14145 >
14146 >  case " $CFLAGS " in #(
14147 >  *" $flag "*) :
14148 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14149 >  (: CFLAGS already contains $flag) 2>&5
14150 >  ac_status=$?
14151 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14152 >  test $ac_status = 0; } ;; #(
14153 >  *) :
14154 >
14155 >     as_fn_append CFLAGS " $flag"
14156 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14157 >  (: CFLAGS="$CFLAGS") 2>&5
14158 >  ac_status=$?
14159 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160 >  test $ac_status = 0; }
14161 >     ;;
14162 > esac
14163 >
14164 > else
14165 >
14166 >  CFLAGS=$flag
14167 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14168 >  (: CFLAGS="$CFLAGS") 2>&5
14169 >  ac_status=$?
14170 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14171 >  test $ac_status = 0; }
14172 >
14173 > fi
14174 >
14175 > else
14176 >  :
14177 > fi
14178 >
14179 > done
14180 >
14181 >
14182 >
14183 >
14184 >
14185 > for flag in -Woverride-init; do
14186 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14187 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14188 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14189 > if eval \${$as_CACHEVAR+:} false; then :
14190 >  $as_echo_n "(cached) " >&6
14191 > else
14192 >
14193 >  ax_check_save_flags=$CFLAGS
14194 >  CFLAGS="$CFLAGS  $flag"
14195 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 > /* end confdefs.h.  */
14197 >
14198 > int
14199 > main ()
14200 > {
14201 >
14202 >  ;
14203 >  return 0;
14204 > }
14205 > _ACEOF
14206 > if ac_fn_c_try_compile "$LINENO"; then :
14207 >  eval "$as_CACHEVAR=yes"
14208 > else
14209 >  eval "$as_CACHEVAR=no"
14210 > fi
14211 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14212 >  CFLAGS=$ax_check_save_flags
14213 > fi
14214 > eval ac_res=\$$as_CACHEVAR
14215 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14216 > $as_echo "$ac_res" >&6; }
14217 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14218 >
14219 > if ${CFLAGS+:} false; then :
14220 >
14221 >  case " $CFLAGS " in #(
14222 >  *" $flag "*) :
14223 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14224 >  (: CFLAGS already contains $flag) 2>&5
14225 >  ac_status=$?
14226 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14227 >  test $ac_status = 0; } ;; #(
14228 >  *) :
14229 >
14230 >     as_fn_append CFLAGS " $flag"
14231 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14232 >  (: CFLAGS="$CFLAGS") 2>&5
14233 >  ac_status=$?
14234 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14235 >  test $ac_status = 0; }
14236 >     ;;
14237 > esac
14238 >
14239 > else
14240 >
14241 >  CFLAGS=$flag
14242 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14243 >  (: CFLAGS="$CFLAGS") 2>&5
14244 >  ac_status=$?
14245 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14246 >  test $ac_status = 0; }
14247 >
14248 > fi
14249 >
14250 > else
14251 >  :
14252 > fi
14253 >
14254 > done
14255 >
14256 >
14257 >
14258 >
14259 >
14260 > for flag in -Wpointer-arith; do
14261 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14262 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14263 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14264 > if eval \${$as_CACHEVAR+:} false; then :
14265 >  $as_echo_n "(cached) " >&6
14266 > else
14267 >
14268 >  ax_check_save_flags=$CFLAGS
14269 >  CFLAGS="$CFLAGS  $flag"
14270 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 > /* end confdefs.h.  */
14272 >
14273 > int
14274 > main ()
14275 > {
14276 >
14277 >  ;
14278 >  return 0;
14279 > }
14280 > _ACEOF
14281 > if ac_fn_c_try_compile "$LINENO"; then :
14282 >  eval "$as_CACHEVAR=yes"
14283 > else
14284 >  eval "$as_CACHEVAR=no"
14285 > fi
14286 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14287 >  CFLAGS=$ax_check_save_flags
14288 > fi
14289 > eval ac_res=\$$as_CACHEVAR
14290 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14291 > $as_echo "$ac_res" >&6; }
14292 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14293 >
14294 > if ${CFLAGS+:} false; then :
14295 >
14296 >  case " $CFLAGS " in #(
14297 >  *" $flag "*) :
14298 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14299 >  (: CFLAGS already contains $flag) 2>&5
14300 >  ac_status=$?
14301 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14302 >  test $ac_status = 0; } ;; #(
14303 >  *) :
14304 >
14305 >     as_fn_append CFLAGS " $flag"
14306 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14307 >  (: CFLAGS="$CFLAGS") 2>&5
14308 >  ac_status=$?
14309 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14310 >  test $ac_status = 0; }
14311 >     ;;
14312 > esac
14313 >
14314 > else
14315 >
14316 >  CFLAGS=$flag
14317 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14318 >  (: CFLAGS="$CFLAGS") 2>&5
14319 >  ac_status=$?
14320 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14321 >  test $ac_status = 0; }
14322 >
14323 > fi
14324 >
14325 > else
14326 >  :
14327 > fi
14328 >
14329 > done
14330 >
14331 >
14332 >
14333 >
14334 >
14335 > for flag in -Wredundant-decls; do
14336 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14337 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14338 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14339 > if eval \${$as_CACHEVAR+:} false; then :
14340 >  $as_echo_n "(cached) " >&6
14341 > else
14342 >
14343 >  ax_check_save_flags=$CFLAGS
14344 >  CFLAGS="$CFLAGS  $flag"
14345 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 > /* end confdefs.h.  */
14347 >
14348 > int
14349 > main ()
14350 > {
14351 >
14352 >  ;
14353 >  return 0;
14354 > }
14355 > _ACEOF
14356 > if ac_fn_c_try_compile "$LINENO"; then :
14357 >  eval "$as_CACHEVAR=yes"
14358 > else
14359 >  eval "$as_CACHEVAR=no"
14360 > fi
14361 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14362 >  CFLAGS=$ax_check_save_flags
14363 > fi
14364 > eval ac_res=\$$as_CACHEVAR
14365 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14366 > $as_echo "$ac_res" >&6; }
14367 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14368 >
14369 > if ${CFLAGS+:} false; then :
14370 >
14371 >  case " $CFLAGS " in #(
14372 >  *" $flag "*) :
14373 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14374 >  (: CFLAGS already contains $flag) 2>&5
14375 >  ac_status=$?
14376 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 >  test $ac_status = 0; } ;; #(
14378 >  *) :
14379 >
14380 >     as_fn_append CFLAGS " $flag"
14381 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14382 >  (: CFLAGS="$CFLAGS") 2>&5
14383 >  ac_status=$?
14384 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 >  test $ac_status = 0; }
14386 >     ;;
14387 > esac
14388 >
14389 > else
14390 >
14391 >  CFLAGS=$flag
14392 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14393 >  (: CFLAGS="$CFLAGS") 2>&5
14394 >  ac_status=$?
14395 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14396 >  test $ac_status = 0; }
14397 >
14398 > fi
14399 >
14400 > else
14401 >  :
14402 > fi
14403 >
14404 > done
14405 >
14406 >
14407 >
14408 >
14409 >
14410 > for flag in -Wshadow; do
14411 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14412 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14413 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14414 > if eval \${$as_CACHEVAR+:} false; then :
14415 >  $as_echo_n "(cached) " >&6
14416 > else
14417 >
14418 >  ax_check_save_flags=$CFLAGS
14419 >  CFLAGS="$CFLAGS  $flag"
14420 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 > /* end confdefs.h.  */
14422 >
14423 > int
14424 > main ()
14425 > {
14426 >
14427 >  ;
14428 >  return 0;
14429 > }
14430 > _ACEOF
14431 > if ac_fn_c_try_compile "$LINENO"; then :
14432 >  eval "$as_CACHEVAR=yes"
14433 > else
14434 >  eval "$as_CACHEVAR=no"
14435 > fi
14436 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14437 >  CFLAGS=$ax_check_save_flags
14438 > fi
14439 > eval ac_res=\$$as_CACHEVAR
14440 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14441 > $as_echo "$ac_res" >&6; }
14442 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14443 >
14444 > if ${CFLAGS+:} false; then :
14445 >
14446 >  case " $CFLAGS " in #(
14447 >  *" $flag "*) :
14448 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14449 >  (: CFLAGS already contains $flag) 2>&5
14450 >  ac_status=$?
14451 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452 >  test $ac_status = 0; } ;; #(
14453 >  *) :
14454 >
14455 >     as_fn_append CFLAGS " $flag"
14456 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14457 >  (: CFLAGS="$CFLAGS") 2>&5
14458 >  ac_status=$?
14459 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14460 >  test $ac_status = 0; }
14461 >     ;;
14462 > esac
14463 >
14464 > else
14465 >
14466 >  CFLAGS=$flag
14467 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14468 >  (: CFLAGS="$CFLAGS") 2>&5
14469 >  ac_status=$?
14470 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14471 >  test $ac_status = 0; }
14472 >
14473 > fi
14474 >
14475 > else
14476 >  :
14477 > fi
14478 >
14479 > done
14480 >
14481 >
14482 >
14483 >
14484 >
14485 > for flag in -Wshift-negative-value; do
14486 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14487 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14488 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14489 > if eval \${$as_CACHEVAR+:} false; then :
14490 >  $as_echo_n "(cached) " >&6
14491 > else
14492 >
14493 >  ax_check_save_flags=$CFLAGS
14494 >  CFLAGS="$CFLAGS  $flag"
14495 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 > /* end confdefs.h.  */
14497 >
14498 > int
14499 > main ()
14500 > {
14501 >
14502 >  ;
14503 >  return 0;
14504 > }
14505 > _ACEOF
14506 > if ac_fn_c_try_compile "$LINENO"; then :
14507 >  eval "$as_CACHEVAR=yes"
14508 > else
14509 >  eval "$as_CACHEVAR=no"
14510 > fi
14511 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14512 >  CFLAGS=$ax_check_save_flags
14513 > fi
14514 > eval ac_res=\$$as_CACHEVAR
14515 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14516 > $as_echo "$ac_res" >&6; }
14517 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14518 >
14519 > if ${CFLAGS+:} false; then :
14520 >
14521 >  case " $CFLAGS " in #(
14522 >  *" $flag "*) :
14523 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14524 >  (: CFLAGS already contains $flag) 2>&5
14525 >  ac_status=$?
14526 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14527 >  test $ac_status = 0; } ;; #(
14528 >  *) :
14529 >
14530 >     as_fn_append CFLAGS " $flag"
14531 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14532 >  (: CFLAGS="$CFLAGS") 2>&5
14533 >  ac_status=$?
14534 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14535 >  test $ac_status = 0; }
14536 >     ;;
14537 > esac
14538 >
14539 > else
14540 >
14541 >  CFLAGS=$flag
14542 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14543 >  (: CFLAGS="$CFLAGS") 2>&5
14544 >  ac_status=$?
14545 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14546 >  test $ac_status = 0; }
14547 >
14548 > fi
14549 >
14550 > else
14551 >  :
14552 > fi
14553 >
14554 > done
14555 >
14556 >
14557 >
14558 >
14559 >
14560 > for flag in -Wsign-compare; do
14561 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14562 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14563 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14564 > if eval \${$as_CACHEVAR+:} false; then :
14565 >  $as_echo_n "(cached) " >&6
14566 > else
14567 >
14568 >  ax_check_save_flags=$CFLAGS
14569 >  CFLAGS="$CFLAGS  $flag"
14570 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 > /* end confdefs.h.  */
14572 >
14573 > int
14574 > main ()
14575 > {
14576 >
14577 >  ;
14578 >  return 0;
14579 > }
14580 > _ACEOF
14581 > if ac_fn_c_try_compile "$LINENO"; then :
14582 >  eval "$as_CACHEVAR=yes"
14583 > else
14584 >  eval "$as_CACHEVAR=no"
14585 > fi
14586 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14587 >  CFLAGS=$ax_check_save_flags
14588 > fi
14589 > eval ac_res=\$$as_CACHEVAR
14590 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14591 > $as_echo "$ac_res" >&6; }
14592 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14593 >
14594 > if ${CFLAGS+:} false; then :
14595 >
14596 >  case " $CFLAGS " in #(
14597 >  *" $flag "*) :
14598 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14599 >  (: CFLAGS already contains $flag) 2>&5
14600 >  ac_status=$?
14601 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14602 >  test $ac_status = 0; } ;; #(
14603 >  *) :
14604 >
14605 >     as_fn_append CFLAGS " $flag"
14606 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14607 >  (: CFLAGS="$CFLAGS") 2>&5
14608 >  ac_status=$?
14609 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14610 >  test $ac_status = 0; }
14611 >     ;;
14612 > esac
14613 >
14614 > else
14615 >
14616 >  CFLAGS=$flag
14617 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14618 >  (: CFLAGS="$CFLAGS") 2>&5
14619 >  ac_status=$?
14620 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 >  test $ac_status = 0; }
14622 >
14623 > fi
14624 >
14625 > else
14626 >  :
14627 > fi
14628 >
14629 > done
14630 >
14631 >
14632 >
14633 >
14634 >
14635 > for flag in -Wtype-limits; do
14636 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14637 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14638 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14639 > if eval \${$as_CACHEVAR+:} false; then :
14640 >  $as_echo_n "(cached) " >&6
14641 > else
14642 >
14643 >  ax_check_save_flags=$CFLAGS
14644 >  CFLAGS="$CFLAGS  $flag"
14645 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 > /* end confdefs.h.  */
14647 >
14648 > int
14649 > main ()
14650 > {
14651 >
14652 >  ;
14653 >  return 0;
14654 > }
14655 > _ACEOF
14656 > if ac_fn_c_try_compile "$LINENO"; then :
14657 >  eval "$as_CACHEVAR=yes"
14658 > else
14659 >  eval "$as_CACHEVAR=no"
14660 > fi
14661 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 >  CFLAGS=$ax_check_save_flags
14663 > fi
14664 > eval ac_res=\$$as_CACHEVAR
14665 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14666 > $as_echo "$ac_res" >&6; }
14667 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14668 >
14669 > if ${CFLAGS+:} false; then :
14670 >
14671 >  case " $CFLAGS " in #(
14672 >  *" $flag "*) :
14673 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14674 >  (: CFLAGS already contains $flag) 2>&5
14675 >  ac_status=$?
14676 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14677 >  test $ac_status = 0; } ;; #(
14678 >  *) :
14679 >
14680 >     as_fn_append CFLAGS " $flag"
14681 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14682 >  (: CFLAGS="$CFLAGS") 2>&5
14683 >  ac_status=$?
14684 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685 >  test $ac_status = 0; }
14686 >     ;;
14687 > esac
14688 >
14689 > else
14690 >
14691 >  CFLAGS=$flag
14692 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14693 >  (: CFLAGS="$CFLAGS") 2>&5
14694 >  ac_status=$?
14695 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14696 >  test $ac_status = 0; }
14697 >
14698 > fi
14699 >
14700 > else
14701 >  :
14702 > fi
14703 >
14704 > done
14705 >
14706 >
14707 >
14708 >
14709 >
14710 > for flag in -Wundef; do
14711 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14712 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14713 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14714 > if eval \${$as_CACHEVAR+:} false; then :
14715 >  $as_echo_n "(cached) " >&6
14716 > else
14717 >
14718 >  ax_check_save_flags=$CFLAGS
14719 >  CFLAGS="$CFLAGS  $flag"
14720 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 > /* end confdefs.h.  */
14722 >
14723 > int
14724 > main ()
14725 > {
14726 >
14727 >  ;
14728 >  return 0;
14729 > }
14730 > _ACEOF
14731 > if ac_fn_c_try_compile "$LINENO"; then :
14732 >  eval "$as_CACHEVAR=yes"
14733 > else
14734 >  eval "$as_CACHEVAR=no"
14735 > fi
14736 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14737 >  CFLAGS=$ax_check_save_flags
14738 > fi
14739 > eval ac_res=\$$as_CACHEVAR
14740 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14741 > $as_echo "$ac_res" >&6; }
14742 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14743 >
14744 > if ${CFLAGS+:} false; then :
14745 >
14746 >  case " $CFLAGS " in #(
14747 >  *" $flag "*) :
14748 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14749 >  (: CFLAGS already contains $flag) 2>&5
14750 >  ac_status=$?
14751 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14752 >  test $ac_status = 0; } ;; #(
14753 >  *) :
14754 >
14755 >     as_fn_append CFLAGS " $flag"
14756 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14757 >  (: CFLAGS="$CFLAGS") 2>&5
14758 >  ac_status=$?
14759 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14760 >  test $ac_status = 0; }
14761 >     ;;
14762 > esac
14763 >
14764 > else
14765 >
14766 >  CFLAGS=$flag
14767 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14768 >  (: CFLAGS="$CFLAGS") 2>&5
14769 >  ac_status=$?
14770 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14771 >  test $ac_status = 0; }
14772 >
14773 > fi
14774 >
14775 > else
14776 >  :
14777 > fi
14778 >
14779 > done
14780 >
14781 >
14782 >
14783 >
14784 >
14785 > for flag in -Wuninitialized; do
14786 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14787 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14788 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14789 > if eval \${$as_CACHEVAR+:} false; then :
14790 >  $as_echo_n "(cached) " >&6
14791 > else
14792 >
14793 >  ax_check_save_flags=$CFLAGS
14794 >  CFLAGS="$CFLAGS  $flag"
14795 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 > /* end confdefs.h.  */
14797 >
14798 > int
14799 > main ()
14800 > {
14801 >
14802 >  ;
14803 >  return 0;
14804 > }
14805 > _ACEOF
14806 > if ac_fn_c_try_compile "$LINENO"; then :
14807 >  eval "$as_CACHEVAR=yes"
14808 > else
14809 >  eval "$as_CACHEVAR=no"
14810 > fi
14811 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 >  CFLAGS=$ax_check_save_flags
14813 > fi
14814 > eval ac_res=\$$as_CACHEVAR
14815 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14816 > $as_echo "$ac_res" >&6; }
14817 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14818 >
14819 > if ${CFLAGS+:} false; then :
14820 >
14821 >  case " $CFLAGS " in #(
14822 >  *" $flag "*) :
14823 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14824 >  (: CFLAGS already contains $flag) 2>&5
14825 >  ac_status=$?
14826 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827 >  test $ac_status = 0; } ;; #(
14828 >  *) :
14829 >
14830 >     as_fn_append CFLAGS " $flag"
14831 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14832 >  (: CFLAGS="$CFLAGS") 2>&5
14833 >  ac_status=$?
14834 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14835 >  test $ac_status = 0; }
14836 >     ;;
14837 > esac
14838 >
14839 > else
14840 >
14841 >  CFLAGS=$flag
14842 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14843 >  (: CFLAGS="$CFLAGS") 2>&5
14844 >  ac_status=$?
14845 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14846 >  test $ac_status = 0; }
14847 >
14848 > fi
14849 >
14850 > else
14851 >  :
14852 > fi
14853 >
14854 > done
14855 >
14856 >
14857 >
14858 >
14859 >
14860 > for flag in -Wwrite-strings; do
14861 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14862 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14863 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14864 > if eval \${$as_CACHEVAR+:} false; then :
14865 >  $as_echo_n "(cached) " >&6
14866 > else
14867 >
14868 >  ax_check_save_flags=$CFLAGS
14869 >  CFLAGS="$CFLAGS  $flag"
14870 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 > /* end confdefs.h.  */
14872 >
14873 > int
14874 > main ()
14875 > {
14876 >
14877 >  ;
14878 >  return 0;
14879 > }
14880 > _ACEOF
14881 > if ac_fn_c_try_compile "$LINENO"; then :
14882 >  eval "$as_CACHEVAR=yes"
14883 > else
14884 >  eval "$as_CACHEVAR=no"
14885 > fi
14886 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14887 >  CFLAGS=$ax_check_save_flags
14888 > fi
14889 > eval ac_res=\$$as_CACHEVAR
14890 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14891 > $as_echo "$ac_res" >&6; }
14892 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14893 >
14894 > if ${CFLAGS+:} false; then :
14895 >
14896 >  case " $CFLAGS " in #(
14897 >  *" $flag "*) :
14898 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14899 >  (: CFLAGS already contains $flag) 2>&5
14900 >  ac_status=$?
14901 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902 >  test $ac_status = 0; } ;; #(
14903 >  *) :
14904 >
14905 >     as_fn_append CFLAGS " $flag"
14906 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14907 >  (: CFLAGS="$CFLAGS") 2>&5
14908 >  ac_status=$?
14909 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14910 >  test $ac_status = 0; }
14911 >     ;;
14912 > esac
14913 >
14914 > else
14915 >
14916 >  CFLAGS=$flag
14917 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14918 >  (: CFLAGS="$CFLAGS") 2>&5
14919 >  ac_status=$?
14920 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14921 >  test $ac_status = 0; }
14922 >
14923 > fi
14924 >
14925 > else
14926 >  :
14927 > fi
14928 >
14929 > done
14930 >
14931 >
14932 > fi
14933 >
14934 >
14935 >  # Check whether --enable-efence was given.
14936 > if test "${enable_efence+set}" = set; then :
14937 >  enableval=$enable_efence; efence="$enableval"
14938 > else
14939 >  efence="no"
14940 > fi
14941 >
14942 >
14943 >  if test "$efence" = "yes"; then :
14944 >
14945 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
14946 > $as_echo_n "checking for library containing EF_Print... " >&6; }
14947 > if ${ac_cv_search_EF_Print+:} false; then :
14948 >  $as_echo_n "(cached) " >&6
14949 > else
14950 >  ac_func_search_save_LIBS=$LIBS
14951 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 > /* end confdefs.h.  */
14953 >
14954 > /* Override any GCC internal prototype to avoid an error.
14955 >   Use char because int might match the return type of a GCC
14956 >   builtin and then its argument prototype would still apply.  */
14957 > #ifdef __cplusplus
14958 > extern "C"
14959 > #endif
14960 > char EF_Print ();
14961 > int
14962 > main ()
14963 > {
14964 > return EF_Print ();
14965 >  ;
14966 >  return 0;
14967 > }
14968 > _ACEOF
14969 > for ac_lib in '' efence; do
14970 >  if test -z "$ac_lib"; then
14971 >    ac_res="none required"
14972 >  else
14973 >    ac_res=-l$ac_lib
14974 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14975 >  fi
14976 >  if ac_fn_c_try_link "$LINENO"; then :
14977 >  ac_cv_search_EF_Print=$ac_res
14978 > fi
14979 > rm -f core conftest.err conftest.$ac_objext \
14980 >    conftest$ac_exeext
14981 >  if ${ac_cv_search_EF_Print+:} false; then :
14982 >  break
14983 > fi
14984 > done
14985 > if ${ac_cv_search_EF_Print+:} false; then :
14986 >
14987 > else
14988 >  ac_cv_search_EF_Print=no
14989 > fi
14990 > rm conftest.$ac_ext
14991 > LIBS=$ac_func_search_save_LIBS
14992 > fi
14993 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
14994 > $as_echo "$ac_cv_search_EF_Print" >&6; }
14995 > ac_res=$ac_cv_search_EF_Print
14996 > if test "$ac_res" != no; then :
14997 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14998 >
14999 > else
15000 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15001 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15002 > as_fn_error $? "Electric Fence 'efence' library not found
15003 > See \`config.log' for more details" "$LINENO" 5; }
15004 > fi
15005 >
15006 >
15007 > fi
15008 >
15009 >
15010 > for ac_func in strlcpy strlcat
15011 > do :
15012 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15013 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15014 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15015 >  cat >>confdefs.h <<_ACEOF
15016 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15017 > _ACEOF
15018 >
15019 > fi
15020 > done
15021 >
15022 >
15023 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
15024  
15025   cat >confcache <<\_ACEOF
15026   # This file is a shell script that caches the results of configure
# Line 13153 | Line 15160 | if test -z "${am__fastdepCC_TRUE}" && te
15160   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15161   fi
15162  
13156
15163   : "${CONFIG_STATUS=./config.status}"
15164   ac_write_fail=0
15165   ac_clean_files_save=$ac_clean_files
# Line 13550 | Line 15556 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15556   # report actual input values of CONFIG_FILES etc. instead of their
15557   # values after options handling.
15558   ac_log="
15559 < This file was extended by hopm $as_me 1.0.0beta1, which was
15559 > This file was extended by hopm $as_me 1.1.11, which was
15560   generated by GNU Autoconf 2.69.  Invocation command line was
15561  
15562    CONFIG_FILES    = $CONFIG_FILES
# Line 13610 | Line 15616 | $config_headers
15616   Configuration commands:
15617   $config_commands
15618  
15619 < Report bugs to the package provider."
15619 > Report bugs to <bugs@ircd-hybrid.org>."
15620  
15621   _ACEOF
15622   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15623   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15624   ac_cs_version="\\
15625 < hopm config.status 1.0.0beta1
15625 > hopm config.status 1.1.11
15626   configured by $0, generated by GNU Autoconf 2.69,
15627    with options \\"\$ac_cs_config\\"
15628  
# Line 13735 | Line 15741 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15741   #
15742   # INIT-COMMANDS
15743   #
15744 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15744 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15745  
15746  
15747   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 13872 | Line 15878 | finish_cmds='`$ECHO "$finish_cmds" | $SE
15878   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15879   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15880   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15881 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15881 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15882 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15883   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15884   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15885   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 13990 | Line 15997 | postinstall_cmds \
15997   postuninstall_cmds \
15998   finish_cmds \
15999   sys_lib_search_path_spec \
16000 < sys_lib_dlsearch_path_spec; do
16000 > configure_time_dlsearch_path \
16001 > configure_time_lt_sys_library_path; do
16002      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16003      *[\\\\\\\`\\"\\\$]*)
16004        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 14032 | Line 16040 | do
16040      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16041      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16042      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16043 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
16044 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
16045  
16046    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16047    esac
# Line 14631 | Line 16641 | $as_echo "$as_me: executing $ac_file com
16641    # Older Autoconf quotes --file arguments for eval, but not when files
16642    # are listed without --file.  Let's play safe and only enable the eval
16643    # if we detect the quoting.
16644 <  case $CONFIG_FILES in
16645 <  *\'*) eval set x "$CONFIG_FILES" ;;
16646 <  *)   set x $CONFIG_FILES ;;
16647 <  esac
16644 >  # TODO: see whether this extra hack can be removed once we start
16645 >  # requiring Autoconf 2.70 or later.
16646 >  case $CONFIG_FILES in #(
16647 >  *\'*) :
16648 >    eval set x "$CONFIG_FILES" ;; #(
16649 >  *) :
16650 >    set x $CONFIG_FILES ;; #(
16651 >  *) :
16652 >     ;;
16653 > esac
16654    shift
16655 <  for mf
16655 >  # Used to flag and report bootstrapping failures.
16656 >  am_rc=0
16657 >  for am_mf
16658    do
16659      # Strip MF so we end up with the name of the file.
16660 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
16661 <    # Check whether this is an Automake generated Makefile or not.
16662 <    # We used to match only the files named 'Makefile.in', but
16663 <    # some people rename them; so instead we look at the file content.
14646 <    # Grep'ing the first line is not enough: some people post-process
14647 <    # each Makefile.in and add a new line on top of each file to say so.
14648 <    # Grep'ing the whole file is not good either: AIX grep has a line
16660 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16661 >    # Check whether this is an Automake generated Makefile which includes
16662 >    # dependency-tracking related rules and includes.
16663 >    # Grep'ing the whole file directly is not great: AIX grep has a line
16664      # limit of 2048, but all sed's we know have understand at least 4000.
16665 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16666 <      dirpart=`$as_dirname -- "$mf" ||
16667 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16668 <         X"$mf" : 'X\(//\)[^/]' \| \
16669 <         X"$mf" : 'X\(//\)$' \| \
16670 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16671 < $as_echo X"$mf" |
16665 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16666 >      || continue
16667 >    am_dirpart=`$as_dirname -- "$am_mf" ||
16668 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16669 >         X"$am_mf" : 'X\(//\)[^/]' \| \
16670 >         X"$am_mf" : 'X\(//\)$' \| \
16671 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16672 > $as_echo X"$am_mf" |
16673      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16674              s//\1/
16675              q
# Line 14671 | Line 16687 | $as_echo X"$mf" |
16687              q
16688            }
16689            s/.*/./; q'`
16690 <    else
16691 <      continue
16692 <    fi
16693 <    # Extract the definition of DEPDIR, am__include, and am__quote
16694 <    # from the Makefile without running 'make'.
16695 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14680 <    test -z "$DEPDIR" && continue
14681 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14682 <    test -z "$am__include" && continue
14683 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14684 <    # Find all dependency output files, they are included files with
14685 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14686 <    # simplest approach to changing $(DEPDIR) to its actual value in the
14687 <    # expansion.
14688 <    for file in `sed -n "
14689 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14690 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14691 <      # Make sure the directory exists.
14692 <      test -f "$dirpart/$file" && continue
14693 <      fdir=`$as_dirname -- "$file" ||
14694 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14695 <         X"$file" : 'X\(//\)[^/]' \| \
14696 <         X"$file" : 'X\(//\)$' \| \
14697 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14698 < $as_echo X"$file" |
14699 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14700 <            s//\1/
14701 <            q
14702 <          }
14703 <          /^X\(\/\/\)[^/].*/{
16690 >    am_filepart=`$as_basename -- "$am_mf" ||
16691 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16692 >         X"$am_mf" : 'X\(//\)$' \| \
16693 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16694 > $as_echo X/"$am_mf" |
16695 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
16696              s//\1/
16697              q
16698            }
16699 <          /^X\(\/\/\)$/{
16699 >          /^X\/\(\/\/\)$/{
16700              s//\1/
16701              q
16702            }
16703 <          /^X\(\/\).*/{
16703 >          /^X\/\(\/\).*/{
16704              s//\1/
16705              q
16706            }
16707            s/.*/./; q'`
16708 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16709 <      # echo "creating $dirpart/$file"
16710 <      echo '# dummy' > "$dirpart/$file"
16711 <    done
16708 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16709 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16710 >        | $MAKE -f - am--depfiles" >&5
16711 >   (cd "$am_dirpart" \
16712 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16713 >        | $MAKE -f - am--depfiles) >&5 2>&5
16714 >   ac_status=$?
16715 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 >   (exit $ac_status); } || am_rc=$?
16717    done
16718 +  if test $am_rc -ne 0; then
16719 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16720 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16721 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
16722 +    for automatic dependency tracking.  Try re-running configure with the
16723 +    '--disable-dependency-tracking' option to at least be able to build
16724 +    the package (albeit without support for automatic dependency tracking).
16725 + See \`config.log' for more details" "$LINENO" 5; }
16726 +  fi
16727 +  { am_dirpart=; unset am_dirpart;}
16728 +  { am_filepart=; unset am_filepart;}
16729 +  { am_mf=; unset am_mf;}
16730 +  { am_rc=; unset am_rc;}
16731 +  rm -f conftest-deps.mk
16732   }
16733   ;;
16734      "libtool":C)
# Line 14735 | Line 16746 | $as_echo X"$file" |
16746      cat <<_LT_EOF >> "$cfgfile"
16747   #! $SHELL
16748   # Generated automatically by $as_me ($PACKAGE) $VERSION
14738 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16749   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16750  
16751   # Provide generalized library-building support services.
# Line 14767 | Line 16777 | $as_echo X"$file" |
16777   # The names of the tagged configurations supported by this script.
16778   available_tags=''
16779  
16780 + # Configured defaults for sys_lib_dlsearch_path munging.
16781 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16782 +
16783   # ### BEGIN LIBTOOL CONFIG
16784  
16785   # Which release of libtool.m4 was used?
# Line 15016 | Line 17029 | hardcode_into_libs=$hardcode_into_libs
17029   # Compile-time system search path for libraries.
17030   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17031  
17032 < # Run-time system search path for libraries.
17033 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17032 > # Detected run-time system search path for libraries.
17033 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17034 >
17035 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17036 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17037  
17038   # Whether dlopen is supported.
17039   dlopen_support=$enable_dlopen
# Line 15168 | Line 17184 | hardcode_action=$hardcode_action
17184  
17185   _LT_EOF
17186  
17187 +    cat <<'_LT_EOF' >> "$cfgfile"
17188 +
17189 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17190 +
17191 + # func_munge_path_list VARIABLE PATH
17192 + # -----------------------------------
17193 + # VARIABLE is name of variable containing _space_ separated list of
17194 + # directories to be munged by the contents of PATH, which is string
17195 + # having a format:
17196 + # "DIR[:DIR]:"
17197 + #       string "DIR[ DIR]" will be prepended to VARIABLE
17198 + # ":DIR[:DIR]"
17199 + #       string "DIR[ DIR]" will be appended to VARIABLE
17200 + # "DIRP[:DIRP]::[DIRA:]DIRA"
17201 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17202 + #       "DIRA[ DIRA]" will be appended to VARIABLE
17203 + # "DIR[:DIR]"
17204 + #       VARIABLE will be replaced by "DIR[ DIR]"
17205 + func_munge_path_list ()
17206 + {
17207 +    case x$2 in
17208 +    x)
17209 +        ;;
17210 +    *:)
17211 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17212 +        ;;
17213 +    x:*)
17214 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17215 +        ;;
17216 +    *::*)
17217 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17218 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17219 +        ;;
17220 +    *)
17221 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17222 +        ;;
17223 +    esac
17224 + }
17225 +
17226 +
17227 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17228 + func_cc_basename ()
17229 + {
17230 +    for cc_temp in $*""; do
17231 +      case $cc_temp in
17232 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17233 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17234 +        \-*) ;;
17235 +        *) break;;
17236 +      esac
17237 +    done
17238 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17239 + }
17240 +
17241 +
17242 + # ### END FUNCTIONS SHARED WITH CONFIGURE
17243 +
17244 + _LT_EOF
17245 +
17246    case $host_os in
17247    aix3*)
17248      cat <<\_LT_EOF >> "$cfgfile"
# Line 15231 | Line 17306 | if test "$no_create" != yes; then
17306    # would make configure fail if this is the last instruction.
17307    $ac_cs_success || as_fn_exit 1
17308   fi
15234
15235 #
15236 # CONFIG_SUBDIRS section.
15237 #
15238 if test "$no_recursion" != yes; then
15239
15240  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15241  # so they do not pile up.
15242  ac_sub_configure_args=
15243  ac_prev=
15244  eval "set x $ac_configure_args"
15245  shift
15246  for ac_arg
15247  do
15248    if test -n "$ac_prev"; then
15249      ac_prev=
15250      continue
15251    fi
15252    case $ac_arg in
15253    -cache-file | --cache-file | --cache-fil | --cache-fi \
15254    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15255      ac_prev=cache_file ;;
15256    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15257    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15258    | --c=*)
15259      ;;
15260    --config-cache | -C)
15261      ;;
15262    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15263      ac_prev=srcdir ;;
15264    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15265      ;;
15266    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15267      ac_prev=prefix ;;
15268    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15269      ;;
15270    --disable-option-checking)
15271      ;;
15272    *)
15273      case $ac_arg in
15274      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15275      esac
15276      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15277    esac
15278  done
15279
15280  # Always prepend --prefix to ensure using the same prefix
15281  # in subdir configurations.
15282  ac_arg="--prefix=$prefix"
15283  case $ac_arg in
15284  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15285  esac
15286  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15287
15288  # Pass --silent
15289  if test "$silent" = yes; then
15290    ac_sub_configure_args="--silent $ac_sub_configure_args"
15291  fi
15292
15293  # Always prepend --disable-option-checking to silence warnings, since
15294  # different subdirs can have different --enable and --with options.
15295  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15296
15297  ac_popdir=`pwd`
15298  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15299
15300    # Do not complain, so a configure script can configure whichever
15301    # parts of a large source tree are present.
15302    test -d "$srcdir/$ac_dir" || continue
15303
15304    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15305    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15306    $as_echo "$ac_msg" >&6
15307    as_dir="$ac_dir"; as_fn_mkdir_p
15308    ac_builddir=.
15309
15310 case "$ac_dir" in
15311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15312 *)
15313  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15314  # A ".." for each directory in $ac_dir_suffix.
15315  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15316  case $ac_top_builddir_sub in
15317  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15318  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15319  esac ;;
15320 esac
15321 ac_abs_top_builddir=$ac_pwd
15322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15323 # for backward compatibility:
15324 ac_top_builddir=$ac_top_build_prefix
15325
15326 case $srcdir in
15327  .)  # We are building in place.
15328    ac_srcdir=.
15329    ac_top_srcdir=$ac_top_builddir_sub
15330    ac_abs_top_srcdir=$ac_pwd ;;
15331  [\\/]* | ?:[\\/]* )  # Absolute name.
15332    ac_srcdir=$srcdir$ac_dir_suffix;
15333    ac_top_srcdir=$srcdir
15334    ac_abs_top_srcdir=$srcdir ;;
15335  *) # Relative name.
15336    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15337    ac_top_srcdir=$ac_top_build_prefix$srcdir
15338    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15339 esac
15340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15341
15342
15343    cd "$ac_dir"
15344
15345    # Check for guested configure; otherwise get Cygnus style configure.
15346    if test -f "$ac_srcdir/configure.gnu"; then
15347      ac_sub_configure=$ac_srcdir/configure.gnu
15348    elif test -f "$ac_srcdir/configure"; then
15349      ac_sub_configure=$ac_srcdir/configure
15350    elif test -f "$ac_srcdir/configure.in"; then
15351      # This should be Cygnus configure.
15352      ac_sub_configure=$ac_aux_dir/configure
15353    else
15354      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15355 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15356      ac_sub_configure=
15357    fi
15358
15359    # The recursion is here.
15360    if test -n "$ac_sub_configure"; then
15361      # Make the cache file name correct relative to the subdirectory.
15362      case $cache_file in
15363      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15364      *) # Relative name.
15365        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15366      esac
15367
15368      { $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
15369 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15370      # The eval makes quoting arguments work.
15371      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15372           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15373        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15374    fi
15375
15376    cd "$ac_popdir"
15377  done
15378 fi
17309   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17310    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17311   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

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