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 5135 by michael, Thu Dec 25 18:51:51 2014 UTC vs.
hopm/branches/1.1.x/configure (file contents), Revision 9913 by michael, Sat Jan 30 13:50:03 2021 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 9677 2020-10-24 11:10:13Z 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.10.
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.10'
595 > PACKAGE_STRING='hopm 1.1.10'
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.10 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.10:";;
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.10
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
1929
1930 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1931 # --------------------------------------------
1932 # Tries to find the compile-time value of EXPR in a program that includes
1933 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1934 # computed
1935 ac_fn_c_compute_int ()
1936 {
1937  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938  if test "$cross_compiling" = yes; then
1939    # Depending upon the size, compute the lo and hi bounds.
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h.  */
1942 $4
1943 int
1944 main ()
1945 {
1946 static int test_array [1 - 2 * !(($2) >= 0)];
1947 test_array [0] = 0;
1948 return test_array [0];
1949
1950  ;
1951  return 0;
1952 }
1953 _ACEOF
1954 if ac_fn_c_try_compile "$LINENO"; then :
1955  ac_lo=0 ac_mid=0
1956  while :; do
1957    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h.  */
1959 $4
1960 int
1961 main ()
1962 {
1963 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1964 test_array [0] = 0;
1965 return test_array [0];
1966
1967  ;
1968  return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_compile "$LINENO"; then :
1972  ac_hi=$ac_mid; break
1973 else
1974  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1975                        if test $ac_lo -le $ac_mid; then
1976                          ac_lo= ac_hi=
1977                          break
1978                        fi
1979                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1980 fi
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982  done
1983 else
1984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h.  */
1986 $4
1987 int
1988 main ()
1989 {
1990 static int test_array [1 - 2 * !(($2) < 0)];
1991 test_array [0] = 0;
1992 return test_array [0];
1993
1994  ;
1995  return 0;
1996 }
1997 _ACEOF
1998 if ac_fn_c_try_compile "$LINENO"; then :
1999  ac_hi=-1 ac_mid=-1
2000  while :; do
2001    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h.  */
2003 $4
2004 int
2005 main ()
2006 {
2007 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2008 test_array [0] = 0;
2009 return test_array [0];
2010
2011  ;
2012  return 0;
2013 }
2014 _ACEOF
2015 if ac_fn_c_try_compile "$LINENO"; then :
2016  ac_lo=$ac_mid; break
2017 else
2018  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2019                        if test $ac_mid -le $ac_hi; then
2020                          ac_lo= ac_hi=
2021                          break
2022                        fi
2023                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2024 fi
2025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026  done
2027 else
2028  ac_lo= ac_hi=
2029 fi
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 fi
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 # Binary search between lo and hi bounds.
2034 while test "x$ac_lo" != "x$ac_hi"; do
2035  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2036  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h.  */
2038 $4
2039 int
2040 main ()
2041 {
2042 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2043 test_array [0] = 0;
2044 return test_array [0];
2045
2046  ;
2047  return 0;
2048 }
2049 _ACEOF
2050 if ac_fn_c_try_compile "$LINENO"; then :
2051  ac_hi=$ac_mid
2052 else
2053  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2054 fi
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 done
2057 case $ac_lo in #((
2058 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2059 '') ac_retval=1 ;;
2060 esac
2061  else
2062    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h.  */
2064 $4
2065 static long int longval () { return $2; }
2066 static unsigned long int ulongval () { return $2; }
2067 #include <stdio.h>
2068 #include <stdlib.h>
2069 int
2070 main ()
2071 {
2072
2073  FILE *f = fopen ("conftest.val", "w");
2074  if (! f)
2075    return 1;
2076  if (($2) < 0)
2077    {
2078      long int i = longval ();
2079      if (i != ($2))
2080        return 1;
2081      fprintf (f, "%ld", i);
2082    }
2083  else
2084    {
2085      unsigned long int i = ulongval ();
2086      if (i != ($2))
2087        return 1;
2088      fprintf (f, "%lu", i);
2089    }
2090  /* Do not output a trailing newline, as this causes \r\n confusion
2091     on some platforms.  */
2092  return ferror (f) || fclose (f) != 0;
2093
2094  ;
2095  return 0;
2096 }
2097 _ACEOF
2098 if ac_fn_c_try_run "$LINENO"; then :
2099  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2100 else
2101  ac_retval=1
2102 fi
2103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2104  conftest.$ac_objext conftest.beam conftest.$ac_ext
2105 rm -f conftest.val
2106
2107  fi
2108  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109  as_fn_set_status $ac_retval
2110
2111 } # ac_fn_c_compute_int
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.10, which was
1819   generated by GNU Autoconf 2.69.  Invocation command line was
1820  
1821    $ $0 $@
# Line 2461 | Line 2163 | ac_link='$CC -o conftest$ac_exeext $CFLA
2163   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164  
2165  
2166 <
2465 < ac_config_headers="$ac_config_headers src/setup.h"
2466 <
2467 < 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 2665 | 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 2685 | 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 2979 | Line 2678 | fi
2678  
2679   # Define the identity of the package.
2680   PACKAGE='hopm'
2681 < VERSION='1.0.0beta1'
2681 > VERSION='1.1.10'
2682  
2683  
2684   cat >>confdefs.h <<_ACEOF
# Line 3009 | 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 3061 | 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 3096 | Line 2795 | fi
2795  
2796  
2797  
2798 <
3100 < # Check whether --with-extra-fascism was given.
3101 < if test "${with_extra_fascism+set}" = set; then :
3102 <  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"
3103 < fi
3104 <
2798 > ac_config_headers="$ac_config_headers src/setup.h"
2799  
2800  
2801  
# Line 3110 | 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
3120 # If we don't find an include directive, just comment out the code.
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3122 $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 4333 | 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 5634 | 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 5997 | Line 5691 | esac
5691   fi
5692  
5693   : ${AR=ar}
5694 < : ${AR_FLAGS=cru}
5694 > : ${AR_FLAGS=cr}
5695  
5696  
5697  
# Line 6498 | 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
6503 <  ac_status=$?
6504 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6505 <  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 6757 | 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 7706 | 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 7764 | 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 8351 | 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
8356 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8357 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8358 <    \-*) ;;
8359 <    *) break;;
8360 <  esac
8361 < done
8362 < 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 8559 | 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 8804 | 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 9280 | 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 9534 | 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 10204 | 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 10225 | 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 10814 | 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 11102 | 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 11161 | 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
11167    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10920      ;;
10921    hppa*64*)
10922      shrext_cmds='.sl'
# Line 11316 | 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 11331 | 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 11541 | 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 12325 | Line 12109 | CC=$lt_save_CC
12109  
12110  
12111  
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12329 $as_echo_n "checking for ANSI C header files... " >&6; }
12330 if ${ac_cv_header_stdc+:} false; then :
12331  $as_echo_n "(cached) " >&6
12332 else
12333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h.  */
12335 #include <stdlib.h>
12336 #include <stdarg.h>
12337 #include <string.h>
12338 #include <float.h>
12339
12340 int
12341 main ()
12342 {
12343
12344  ;
12345  return 0;
12346 }
12347 _ACEOF
12348 if ac_fn_c_try_compile "$LINENO"; then :
12349  ac_cv_header_stdc=yes
12350 else
12351  ac_cv_header_stdc=no
12352 fi
12353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12354
12355 if test $ac_cv_header_stdc = yes; then
12356  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12357  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h.  */
12359 #include <string.h>
12360
12361 _ACEOF
12362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12363  $EGREP "memchr" >/dev/null 2>&1; then :
12364
12365 else
12366  ac_cv_header_stdc=no
12367 fi
12368 rm -f conftest*
12369
12370 fi
12371
12372 if test $ac_cv_header_stdc = yes; then
12373  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h.  */
12376 #include <stdlib.h>
12377
12378 _ACEOF
12379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12380  $EGREP "free" >/dev/null 2>&1; then :
12381
12382 else
12383  ac_cv_header_stdc=no
12384 fi
12385 rm -f conftest*
12386
12387 fi
12388
12389 if test $ac_cv_header_stdc = yes; then
12390  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12391  if test "$cross_compiling" = yes; then :
12392  :
12393 else
12394  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395 /* end confdefs.h.  */
12396 #include <ctype.h>
12397 #include <stdlib.h>
12398 #if ((' ' & 0x0FF) == 0x020)
12399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12401 #else
12402 # define ISLOWER(c) \
12403                   (('a' <= (c) && (c) <= 'i') \
12404                     || ('j' <= (c) && (c) <= 'r') \
12405                     || ('s' <= (c) && (c) <= 'z'))
12406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12407 #endif
12408
12409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12410 int
12411 main ()
12412 {
12413  int i;
12414  for (i = 0; i < 256; i++)
12415    if (XOR (islower (i), ISLOWER (i))
12416        || toupper (i) != TOUPPER (i))
12417      return 2;
12418  return 0;
12419 }
12420 _ACEOF
12421 if ac_fn_c_try_run "$LINENO"; then :
12422
12423 else
12424  ac_cv_header_stdc=no
12425 fi
12426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12427  conftest.$ac_objext conftest.beam conftest.$ac_ext
12428 fi
12429
12430 fi
12431 fi
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12433 $as_echo "$ac_cv_header_stdc" >&6; }
12434 if test $ac_cv_header_stdc = yes; then
12435
12436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12437
12438 fi
12439
12440
12441 for ac_header in sys/poll.h
12442 do :
12443  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12444 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12445  cat >>confdefs.h <<_ACEOF
12446 #define HAVE_SYS_POLL_H 1
12447 _ACEOF
12448 have_poll_sys_h=yes
12449 else
12450  have_sys_poll_h=no
12451 fi
12452
12453 done
12454
12455
12456 for ac_header in fcntl.h sys/time.h unistd.h strings.h
12457 do :
12458  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12459 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12461  cat >>confdefs.h <<_ACEOF
12462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12463 _ACEOF
12464
12465 fi
12466
12467 done
12468
12469
12470 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12471 if test "x$ac_cv_type_size_t" = xyes; then :
12472
12473 else
12474
12475 cat >>confdefs.h <<_ACEOF
12476 #define size_t unsigned int
12477 _ACEOF
12478
12479 fi
12480
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12482 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12483 if ${ac_cv_header_time+:} false; then :
12484  $as_echo_n "(cached) " >&6
12485 else
12486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h.  */
12488 #include <sys/types.h>
12489 #include <sys/time.h>
12490 #include <time.h>
12491
12492 int
12493 main ()
12494 {
12495 if ((struct tm *) 0)
12496 return 0;
12497  ;
12498  return 0;
12499 }
12500 _ACEOF
12501 if ac_fn_c_try_compile "$LINENO"; then :
12502  ac_cv_header_time=yes
12503 else
12504  ac_cv_header_time=no
12505 fi
12506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12507 fi
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12509 $as_echo "$ac_cv_header_time" >&6; }
12510 if test $ac_cv_header_time = yes; then
12511
12512 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12513
12514 fi
12515
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12517 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12518 if ${ac_cv_struct_tm+:} false; then :
12519  $as_echo_n "(cached) " >&6
12520 else
12521  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h.  */
12523 #include <sys/types.h>
12524 #include <time.h>
12525
12526 int
12527 main ()
12528 {
12529 struct tm tm;
12530                                     int *p = &tm.tm_sec;
12531                                     return !p;
12532  ;
12533  return 0;
12534 }
12535 _ACEOF
12536 if ac_fn_c_try_compile "$LINENO"; then :
12537  ac_cv_struct_tm=time.h
12538 else
12539  ac_cv_struct_tm=sys/time.h
12540 fi
12541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 fi
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12544 $as_echo "$ac_cv_struct_tm" >&6; }
12545 if test $ac_cv_struct_tm = sys/time.h; then
12546
12547 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12548
12549 fi
12550
12551
12552
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 12757 | 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  
12769 /* Override any GCC internal prototype to avoid an error.
12770   Use char because int might match the return type of a GCC
12771   builtin and then its argument prototype would still apply.  */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 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
12788 <    ac_res=-l$ac_lib
12789 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12790 <  fi
12791 <  if ac_fn_c_try_link "$LINENO"; then :
12792 <  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 :
12797 <  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 >  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 <  ac_cv_search_socket=no
12379 >  ssp_cv_cc=no
12380   fi
12381 < rm conftest.$ac_ext
12382 < LIBS=$ac_func_search_save_LIBS
12381 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12382 >         CFLAGS="$ssp_old_cflags"
12383 >
12384   fi
12385 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12386 < $as_echo "$ac_cv_search_socket" >&6; }
12387 < ac_res=$ac_cv_search_socket
12388 < if test "$ac_res" != no; then :
12389 <  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12385 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12386 > $as_echo "$ssp_cv_cc" >&6; }
12387 >      if test $ssp_cv_cc = yes; then
12388 >        CFLAGS="$CFLAGS -fstack-protector"
12389 >
12390 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12391  
12392 +      fi
12393 +    fi
12394 +  fi
12395 +
12396 +
12397 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
12398 + $as_echo_n "checking whether libssp exists... " >&6; }
12399 + if ${ssp_cv_lib+:} false; then :
12400 +  $as_echo_n "(cached) " >&6
12401   else
12402 <  as_fn_error $? "socket library not found" "$LINENO" 5
12402 >  ssp_old_libs="$LIBS"
12403 >     LIBS="$LIBS -lssp"
12404 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 > /* end confdefs.h.  */
12406 >
12407 > int
12408 > main ()
12409 > {
12410 >
12411 >  ;
12412 >  return 0;
12413 > }
12414 > _ACEOF
12415 > if ac_fn_c_try_link "$LINENO"; then :
12416 >  ssp_cv_lib=yes
12417 > else
12418 >  ssp_cv_lib=no
12419 > fi
12420 > rm -f core conftest.err conftest.$ac_objext \
12421 >    conftest$ac_exeext conftest.$ac_ext
12422 >     LIBS="$ssp_old_libs"
12423 >
12424   fi
12425 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
12426 + $as_echo "$ssp_cv_lib" >&6; }
12427 +  if test $ssp_cv_lib = yes; then
12428 +    LIBS="$LIBS -lssp"
12429 +  fi
12430 +
12431 +
12432  
12433 < ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
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 12877 | 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 12939 | 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
12953 done
12748  
12749 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12750 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
12751 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
12752 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
12753 +  $as_echo_n "(cached) " >&6
12754 + else
12755 +  ac_check_lib_save_LIBS=$LIBS
12756 + LIBS="-lssl  $LIBS"
12757 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 + /* end confdefs.h.  */
12759  
12760 < for ac_func in gethostbyname
12761 < do :
12762 <  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12763 < if test "x$ac_cv_func_gethostbyname" = xyes; then :
12760 > /* Override any GCC internal prototype to avoid an error.
12761 >   Use char because int might match the return type of a GCC
12762 >   builtin and then its argument prototype would still apply.  */
12763 > #ifdef __cplusplus
12764 > extern "C"
12765 > #endif
12766 > char SSL_connect ();
12767 > int
12768 > main ()
12769 > {
12770 > return SSL_connect ();
12771 >  ;
12772 >  return 0;
12773 > }
12774 > _ACEOF
12775 > if ac_fn_c_try_link "$LINENO"; then :
12776 >  ac_cv_lib_ssl_SSL_connect=yes
12777 > else
12778 >  ac_cv_lib_ssl_SSL_connect=no
12779 > fi
12780 > rm -f core conftest.err conftest.$ac_objext \
12781 >    conftest$ac_exeext conftest.$ac_ext
12782 > LIBS=$ac_check_lib_save_LIBS
12783 > fi
12784 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
12785 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
12786 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
12787    cat >>confdefs.h <<_ACEOF
12788 < #define HAVE_GETHOSTBYNAME 1
12788 > #define HAVE_LIBSSL 1
12789 > _ACEOF
12790 >
12791 >  LIBS="-lssl $LIBS"
12792 >
12793 > fi
12794 >
12795 > fi
12796 >
12797 > else
12798 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
12799 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
12800 >    cf_enable_openssl="no"
12801 > fi
12802 > fi
12803 >
12804 >
12805 >  # Check whether --enable-assert was given.
12806 > if test "${enable_assert+set}" = set; then :
12807 >  enableval=$enable_assert; assert=$enableval
12808 > else
12809 >  assert=no
12810 > fi
12811 >
12812 >
12813 >  if test "$assert" = "no"; then :
12814 >
12815 > $as_echo "#define NDEBUG 1" >>confdefs.h
12816 >
12817 > fi
12818 >
12819 >
12820 >  # Check whether --enable-warnings was given.
12821 > if test "${enable_warnings+set}" = set; then :
12822 >  enableval=$enable_warnings; warnings="$enableval"
12823 > else
12824 >  warnings="no"
12825 > fi
12826 >
12827 >
12828 >  if test "$warnings" = "yes"; then :
12829 >
12830 >
12831 >
12832 >
12833 >
12834 > for flag in -Wall; do
12835 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12836 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12837 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12838 > if eval \${$as_CACHEVAR+:} false; then :
12839 >  $as_echo_n "(cached) " >&6
12840 > else
12841 >
12842 >  ax_check_save_flags=$CFLAGS
12843 >  CFLAGS="$CFLAGS  $flag"
12844 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 > /* end confdefs.h.  */
12846 >
12847 > int
12848 > main ()
12849 > {
12850 >
12851 >  ;
12852 >  return 0;
12853 > }
12854   _ACEOF
12855 + if ac_fn_c_try_compile "$LINENO"; then :
12856 +  eval "$as_CACHEVAR=yes"
12857 + else
12858 +  eval "$as_CACHEVAR=no"
12859 + fi
12860 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12861 +  CFLAGS=$ax_check_save_flags
12862 + fi
12863 + eval ac_res=\$$as_CACHEVAR
12864 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12865 + $as_echo "$ac_res" >&6; }
12866 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12867 +
12868 + if ${CFLAGS+:} false; then :
12869 +
12870 +  case " $CFLAGS " in #(
12871 +  *" $flag "*) :
12872 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12873 +  (: CFLAGS already contains $flag) 2>&5
12874 +  ac_status=$?
12875 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12876 +  test $ac_status = 0; } ;; #(
12877 +  *) :
12878 +
12879 +     as_fn_append CFLAGS " $flag"
12880 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12881 +  (: CFLAGS="$CFLAGS") 2>&5
12882 +  ac_status=$?
12883 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884 +  test $ac_status = 0; }
12885 +     ;;
12886 + esac
12887 +
12888 + else
12889 +
12890 +  CFLAGS=$flag
12891 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12892 +  (: CFLAGS="$CFLAGS") 2>&5
12893 +  ac_status=$?
12894 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12895 +  test $ac_status = 0; }
12896  
12897   fi
12898 +
12899 + else
12900 +  :
12901 + fi
12902 +
12903   done
12904  
12905  
12906 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12907 < $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12908 < if ${ac_cv_c_bigendian+:} false; then :
12906 >
12907 >
12908 >
12909 > for flag in -Wbad-function-cast; do
12910 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12911 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12912 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12913 > if eval \${$as_CACHEVAR+:} false; then :
12914    $as_echo_n "(cached) " >&6
12915   else
12916 <  ac_cv_c_bigendian=unknown
12917 <    # See if we're dealing with a universal compiler.
12918 <    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 >
12917 >  ax_check_save_flags=$CFLAGS
12918 >  CFLAGS="$CFLAGS  $flag"
12919 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12920   /* end confdefs.h.  */
12977 #ifndef __APPLE_CC__
12978               not a universal capable compiler
12979             #endif
12980             typedef int dummy;
12921  
12922 + int
12923 + main ()
12924 + {
12925 +
12926 +  ;
12927 +  return 0;
12928 + }
12929   _ACEOF
12930   if ac_fn_c_try_compile "$LINENO"; then :
12931 +  eval "$as_CACHEVAR=yes"
12932 + else
12933 +  eval "$as_CACHEVAR=no"
12934 + fi
12935 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12936 +  CFLAGS=$ax_check_save_flags
12937 + fi
12938 + eval ac_res=\$$as_CACHEVAR
12939 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12940 + $as_echo "$ac_res" >&6; }
12941 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12942  
12943 <        # Check for potential -arch flags.  It is not universal unless
12944 <        # there are at least two -arch flags with different values.
12945 <        ac_arch=
12946 <        ac_prev=
12947 <        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12948 <         if test -n "$ac_prev"; then
12949 <           case $ac_word in
12950 <             i?86 | x86_64 | ppc | ppc64)
12951 <               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12952 <                 ac_arch=$ac_word
12953 <               else
12954 <                 ac_cv_c_bigendian=universal
12955 <                 break
12956 <               fi
12957 <               ;;
12958 <           esac
12959 <           ac_prev=
12960 <         elif test "x$ac_word" = "x-arch"; then
12961 <           ac_prev=arch
12962 <         fi
12963 <       done
12943 > if ${CFLAGS+:} false; then :
12944 >
12945 >  case " $CFLAGS " in #(
12946 >  *" $flag "*) :
12947 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12948 >  (: CFLAGS already contains $flag) 2>&5
12949 >  ac_status=$?
12950 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12951 >  test $ac_status = 0; } ;; #(
12952 >  *) :
12953 >
12954 >     as_fn_append CFLAGS " $flag"
12955 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12956 >  (: CFLAGS="$CFLAGS") 2>&5
12957 >  ac_status=$?
12958 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12959 >  test $ac_status = 0; }
12960 >     ;;
12961 > esac
12962 >
12963 > else
12964 >
12965 >  CFLAGS=$flag
12966 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12967 >  (: CFLAGS="$CFLAGS") 2>&5
12968 >  ac_status=$?
12969 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970 >  test $ac_status = 0; }
12971 >
12972 > fi
12973 >
12974 > else
12975 >  :
12976 > fi
12977 >
12978 > done
12979 >
12980 >
12981 >
12982 >
12983 >
12984 > for flag in -Wcast-align; do
12985 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12986 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12987 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12988 > if eval \${$as_CACHEVAR+:} false; then :
12989 >  $as_echo_n "(cached) " >&6
12990 > else
12991 >
12992 >  ax_check_save_flags=$CFLAGS
12993 >  CFLAGS="$CFLAGS  $flag"
12994 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 > /* end confdefs.h.  */
12996 >
12997 > int
12998 > main ()
12999 > {
13000 >
13001 >  ;
13002 >  return 0;
13003 > }
13004 > _ACEOF
13005 > if ac_fn_c_try_compile "$LINENO"; then :
13006 >  eval "$as_CACHEVAR=yes"
13007 > else
13008 >  eval "$as_CACHEVAR=no"
13009   fi
13010   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13011 <    if test $ac_cv_c_bigendian = unknown; then
13012 <      # See if sys/param.h defines the BYTE_ORDER macro.
13013 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 >  CFLAGS=$ax_check_save_flags
13012 > fi
13013 > eval ac_res=\$$as_CACHEVAR
13014 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13015 > $as_echo "$ac_res" >&6; }
13016 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13017 >
13018 > if ${CFLAGS+:} false; then :
13019 >
13020 >  case " $CFLAGS " in #(
13021 >  *" $flag "*) :
13022 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13023 >  (: CFLAGS already contains $flag) 2>&5
13024 >  ac_status=$?
13025 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13026 >  test $ac_status = 0; } ;; #(
13027 >  *) :
13028 >
13029 >     as_fn_append CFLAGS " $flag"
13030 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13031 >  (: CFLAGS="$CFLAGS") 2>&5
13032 >  ac_status=$?
13033 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13034 >  test $ac_status = 0; }
13035 >     ;;
13036 > esac
13037 >
13038 > else
13039 >
13040 >  CFLAGS=$flag
13041 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13042 >  (: CFLAGS="$CFLAGS") 2>&5
13043 >  ac_status=$?
13044 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13045 >  test $ac_status = 0; }
13046 >
13047 > fi
13048 >
13049 > else
13050 >  :
13051 > fi
13052 >
13053 > done
13054 >
13055 >
13056 >
13057 >
13058 >
13059 > for flag in -Wcast-function-type; do
13060 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13061 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13062 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13063 > if eval \${$as_CACHEVAR+:} false; then :
13064 >  $as_echo_n "(cached) " >&6
13065 > else
13066 >
13067 >  ax_check_save_flags=$CFLAGS
13068 >  CFLAGS="$CFLAGS  $flag"
13069 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070   /* end confdefs.h.  */
13012 #include <sys/types.h>
13013             #include <sys/param.h>
13071  
13072   int
13073   main ()
13074   {
13018 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13019                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13020                     && LITTLE_ENDIAN)
13021              bogus endian macros
13022             #endif
13075  
13076    ;
13077    return 0;
13078   }
13079   _ACEOF
13080   if ac_fn_c_try_compile "$LINENO"; then :
13081 <  # It does; now see whether it defined to BIG_ENDIAN or not.
13082 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 >  eval "$as_CACHEVAR=yes"
13082 > else
13083 >  eval "$as_CACHEVAR=no"
13084 > fi
13085 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13086 >  CFLAGS=$ax_check_save_flags
13087 > fi
13088 > eval ac_res=\$$as_CACHEVAR
13089 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13090 > $as_echo "$ac_res" >&6; }
13091 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13092 >
13093 > if ${CFLAGS+:} false; then :
13094 >
13095 >  case " $CFLAGS " in #(
13096 >  *" $flag "*) :
13097 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13098 >  (: CFLAGS already contains $flag) 2>&5
13099 >  ac_status=$?
13100 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13101 >  test $ac_status = 0; } ;; #(
13102 >  *) :
13103 >
13104 >     as_fn_append CFLAGS " $flag"
13105 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13106 >  (: CFLAGS="$CFLAGS") 2>&5
13107 >  ac_status=$?
13108 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13109 >  test $ac_status = 0; }
13110 >     ;;
13111 > esac
13112 >
13113 > else
13114 >
13115 >  CFLAGS=$flag
13116 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13117 >  (: CFLAGS="$CFLAGS") 2>&5
13118 >  ac_status=$?
13119 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13120 >  test $ac_status = 0; }
13121 >
13122 > fi
13123 >
13124 > else
13125 >  :
13126 > fi
13127 >
13128 > done
13129 >
13130 >
13131 >
13132 >
13133 >
13134 > for flag in -Wcast-qual; do
13135 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13136 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13137 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13138 > if eval \${$as_CACHEVAR+:} false; then :
13139 >  $as_echo_n "(cached) " >&6
13140 > else
13141 >
13142 >  ax_check_save_flags=$CFLAGS
13143 >  CFLAGS="$CFLAGS  $flag"
13144 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 > /* end confdefs.h.  */
13146 >
13147 > int
13148 > main ()
13149 > {
13150 >
13151 >  ;
13152 >  return 0;
13153 > }
13154 > _ACEOF
13155 > if ac_fn_c_try_compile "$LINENO"; then :
13156 >  eval "$as_CACHEVAR=yes"
13157 > else
13158 >  eval "$as_CACHEVAR=no"
13159 > fi
13160 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13161 >  CFLAGS=$ax_check_save_flags
13162 > fi
13163 > eval ac_res=\$$as_CACHEVAR
13164 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13165 > $as_echo "$ac_res" >&6; }
13166 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13167 >
13168 > if ${CFLAGS+:} false; then :
13169 >
13170 >  case " $CFLAGS " in #(
13171 >  *" $flag "*) :
13172 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13173 >  (: CFLAGS already contains $flag) 2>&5
13174 >  ac_status=$?
13175 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176 >  test $ac_status = 0; } ;; #(
13177 >  *) :
13178 >
13179 >     as_fn_append CFLAGS " $flag"
13180 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13181 >  (: CFLAGS="$CFLAGS") 2>&5
13182 >  ac_status=$?
13183 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13184 >  test $ac_status = 0; }
13185 >     ;;
13186 > esac
13187 >
13188 > else
13189 >
13190 >  CFLAGS=$flag
13191 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13192 >  (: CFLAGS="$CFLAGS") 2>&5
13193 >  ac_status=$?
13194 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195 >  test $ac_status = 0; }
13196 >
13197 > fi
13198 >
13199 > else
13200 >  :
13201 > fi
13202 >
13203 > done
13204 >
13205 >
13206 >
13207 >
13208 >
13209 > for flag in -Wclobbered; do
13210 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13211 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13212 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13213 > if eval \${$as_CACHEVAR+:} false; then :
13214 >  $as_echo_n "(cached) " >&6
13215 > else
13216 >
13217 >  ax_check_save_flags=$CFLAGS
13218 >  CFLAGS="$CFLAGS  $flag"
13219 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220   /* end confdefs.h.  */
13032 #include <sys/types.h>
13033                #include <sys/param.h>
13221  
13222   int
13223   main ()
13224   {
13038 #if BYTE_ORDER != BIG_ENDIAN
13039                 not big endian
13040                #endif
13225  
13226    ;
13227    return 0;
13228   }
13229   _ACEOF
13230   if ac_fn_c_try_compile "$LINENO"; then :
13231 <  ac_cv_c_bigendian=yes
13231 >  eval "$as_CACHEVAR=yes"
13232   else
13233 <  ac_cv_c_bigendian=no
13233 >  eval "$as_CACHEVAR=no"
13234   fi
13235   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13236 +  CFLAGS=$ax_check_save_flags
13237 + fi
13238 + eval ac_res=\$$as_CACHEVAR
13239 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13240 + $as_echo "$ac_res" >&6; }
13241 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13242 +
13243 + if ${CFLAGS+:} false; then :
13244 +
13245 +  case " $CFLAGS " in #(
13246 +  *" $flag "*) :
13247 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13248 +  (: CFLAGS already contains $flag) 2>&5
13249 +  ac_status=$?
13250 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13251 +  test $ac_status = 0; } ;; #(
13252 +  *) :
13253 +
13254 +     as_fn_append CFLAGS " $flag"
13255 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13256 +  (: CFLAGS="$CFLAGS") 2>&5
13257 +  ac_status=$?
13258 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13259 +  test $ac_status = 0; }
13260 +     ;;
13261 + esac
13262 +
13263 + else
13264 +
13265 +  CFLAGS=$flag
13266 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13267 +  (: CFLAGS="$CFLAGS") 2>&5
13268 +  ac_status=$?
13269 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13270 +  test $ac_status = 0; }
13271 +
13272 + fi
13273 +
13274 + else
13275 +  :
13276 + fi
13277 +
13278 + done
13279 +
13280 +
13281 +
13282 +
13283 +
13284 + for flag in -Wduplicated-cond; do
13285 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13286 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13287 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13288 + if eval \${$as_CACHEVAR+:} false; then :
13289 +  $as_echo_n "(cached) " >&6
13290 + else
13291 +
13292 +  ax_check_save_flags=$CFLAGS
13293 +  CFLAGS="$CFLAGS  $flag"
13294 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 + /* end confdefs.h.  */
13296 +
13297 + int
13298 + main ()
13299 + {
13300 +
13301 +  ;
13302 +  return 0;
13303 + }
13304 + _ACEOF
13305 + if ac_fn_c_try_compile "$LINENO"; then :
13306 +  eval "$as_CACHEVAR=yes"
13307 + else
13308 +  eval "$as_CACHEVAR=no"
13309   fi
13310   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13311 <    fi
13312 <    if test $ac_cv_c_bigendian = unknown; then
13313 <      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13314 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 >  CFLAGS=$ax_check_save_flags
13312 > fi
13313 > eval ac_res=\$$as_CACHEVAR
13314 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13315 > $as_echo "$ac_res" >&6; }
13316 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13317 >
13318 > if ${CFLAGS+:} false; then :
13319 >
13320 >  case " $CFLAGS " in #(
13321 >  *" $flag "*) :
13322 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13323 >  (: CFLAGS already contains $flag) 2>&5
13324 >  ac_status=$?
13325 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326 >  test $ac_status = 0; } ;; #(
13327 >  *) :
13328 >
13329 >     as_fn_append CFLAGS " $flag"
13330 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13331 >  (: CFLAGS="$CFLAGS") 2>&5
13332 >  ac_status=$?
13333 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13334 >  test $ac_status = 0; }
13335 >     ;;
13336 > esac
13337 >
13338 > else
13339 >
13340 >  CFLAGS=$flag
13341 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13342 >  (: CFLAGS="$CFLAGS") 2>&5
13343 >  ac_status=$?
13344 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13345 >  test $ac_status = 0; }
13346 >
13347 > fi
13348 >
13349 > else
13350 >  :
13351 > fi
13352 >
13353 > done
13354 >
13355 >
13356 >
13357 >
13358 >
13359 > for flag in -Wempty-body; do
13360 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13361 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13362 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13363 > if eval \${$as_CACHEVAR+:} false; then :
13364 >  $as_echo_n "(cached) " >&6
13365 > else
13366 >
13367 >  ax_check_save_flags=$CFLAGS
13368 >  CFLAGS="$CFLAGS  $flag"
13369 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370   /* end confdefs.h.  */
13059 #include <limits.h>
13371  
13372   int
13373   main ()
13374   {
13064 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13065              bogus endian macros
13066             #endif
13375  
13376    ;
13377    return 0;
13378   }
13379   _ACEOF
13380   if ac_fn_c_try_compile "$LINENO"; then :
13381 <  # It does; now see whether it defined to _BIG_ENDIAN or not.
13382 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 >  eval "$as_CACHEVAR=yes"
13382 > else
13383 >  eval "$as_CACHEVAR=no"
13384 > fi
13385 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13386 >  CFLAGS=$ax_check_save_flags
13387 > fi
13388 > eval ac_res=\$$as_CACHEVAR
13389 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13390 > $as_echo "$ac_res" >&6; }
13391 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13392 >
13393 > if ${CFLAGS+:} false; then :
13394 >
13395 >  case " $CFLAGS " in #(
13396 >  *" $flag "*) :
13397 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13398 >  (: CFLAGS already contains $flag) 2>&5
13399 >  ac_status=$?
13400 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13401 >  test $ac_status = 0; } ;; #(
13402 >  *) :
13403 >
13404 >     as_fn_append CFLAGS " $flag"
13405 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13406 >  (: CFLAGS="$CFLAGS") 2>&5
13407 >  ac_status=$?
13408 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13409 >  test $ac_status = 0; }
13410 >     ;;
13411 > esac
13412 >
13413 > else
13414 >
13415 >  CFLAGS=$flag
13416 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13417 >  (: CFLAGS="$CFLAGS") 2>&5
13418 >  ac_status=$?
13419 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13420 >  test $ac_status = 0; }
13421 >
13422 > fi
13423 >
13424 > else
13425 >  :
13426 > fi
13427 >
13428 > done
13429 >
13430 >
13431 >
13432 >
13433 >
13434 > for flag in -Wignored-qualifiers; do
13435 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13436 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13437 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13438 > if eval \${$as_CACHEVAR+:} false; then :
13439 >  $as_echo_n "(cached) " >&6
13440 > else
13441 >
13442 >  ax_check_save_flags=$CFLAGS
13443 >  CFLAGS="$CFLAGS  $flag"
13444 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445   /* end confdefs.h.  */
13076 #include <limits.h>
13446  
13447   int
13448   main ()
13449   {
13081 #ifndef _BIG_ENDIAN
13082                 not big endian
13083                #endif
13450  
13451    ;
13452    return 0;
13453   }
13454   _ACEOF
13455   if ac_fn_c_try_compile "$LINENO"; then :
13456 <  ac_cv_c_bigendian=yes
13456 >  eval "$as_CACHEVAR=yes"
13457   else
13458 <  ac_cv_c_bigendian=no
13458 >  eval "$as_CACHEVAR=no"
13459   fi
13460   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13461 +  CFLAGS=$ax_check_save_flags
13462 + fi
13463 + eval ac_res=\$$as_CACHEVAR
13464 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13465 + $as_echo "$ac_res" >&6; }
13466 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13467 +
13468 + if ${CFLAGS+:} false; then :
13469 +
13470 +  case " $CFLAGS " in #(
13471 +  *" $flag "*) :
13472 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13473 +  (: CFLAGS already contains $flag) 2>&5
13474 +  ac_status=$?
13475 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13476 +  test $ac_status = 0; } ;; #(
13477 +  *) :
13478 +
13479 +     as_fn_append CFLAGS " $flag"
13480 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13481 +  (: CFLAGS="$CFLAGS") 2>&5
13482 +  ac_status=$?
13483 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13484 +  test $ac_status = 0; }
13485 +     ;;
13486 + esac
13487 +
13488 + else
13489 +
13490 +  CFLAGS=$flag
13491 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13492 +  (: CFLAGS="$CFLAGS") 2>&5
13493 +  ac_status=$?
13494 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13495 +  test $ac_status = 0; }
13496 +
13497 + fi
13498 +
13499 + else
13500 +  :
13501 + fi
13502 +
13503 + done
13504 +
13505 +
13506 +
13507 +
13508 +
13509 + for flag in -Wlogical-op; do
13510 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13511 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13512 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13513 + if eval \${$as_CACHEVAR+:} false; then :
13514 +  $as_echo_n "(cached) " >&6
13515 + else
13516 +
13517 +  ax_check_save_flags=$CFLAGS
13518 +  CFLAGS="$CFLAGS  $flag"
13519 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 + /* end confdefs.h.  */
13521 +
13522 + int
13523 + main ()
13524 + {
13525 +
13526 +  ;
13527 +  return 0;
13528 + }
13529 + _ACEOF
13530 + if ac_fn_c_try_compile "$LINENO"; then :
13531 +  eval "$as_CACHEVAR=yes"
13532 + else
13533 +  eval "$as_CACHEVAR=no"
13534   fi
13535   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13536 <    fi
13537 <    if test $ac_cv_c_bigendian = unknown; then
13538 <      # Compile a test program.
13539 <      if test "$cross_compiling" = yes; then :
13540 <  # Try to guess by grepping values from an object file.
13541 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 >  CFLAGS=$ax_check_save_flags
13537 > fi
13538 > eval ac_res=\$$as_CACHEVAR
13539 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13540 > $as_echo "$ac_res" >&6; }
13541 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13542 >
13543 > if ${CFLAGS+:} false; then :
13544 >
13545 >  case " $CFLAGS " in #(
13546 >  *" $flag "*) :
13547 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13548 >  (: CFLAGS already contains $flag) 2>&5
13549 >  ac_status=$?
13550 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13551 >  test $ac_status = 0; } ;; #(
13552 >  *) :
13553 >
13554 >     as_fn_append CFLAGS " $flag"
13555 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13556 >  (: CFLAGS="$CFLAGS") 2>&5
13557 >  ac_status=$?
13558 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13559 >  test $ac_status = 0; }
13560 >     ;;
13561 > esac
13562 >
13563 > else
13564 >
13565 >  CFLAGS=$flag
13566 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13567 >  (: CFLAGS="$CFLAGS") 2>&5
13568 >  ac_status=$?
13569 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13570 >  test $ac_status = 0; }
13571 >
13572 > fi
13573 >
13574 > else
13575 >  :
13576 > fi
13577 >
13578 > done
13579 >
13580 >
13581 >
13582 >
13583 >
13584 > for flag in -Wmissing-declarations; do
13585 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13586 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13587 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13588 > if eval \${$as_CACHEVAR+:} false; then :
13589 >  $as_echo_n "(cached) " >&6
13590 > else
13591 >
13592 >  ax_check_save_flags=$CFLAGS
13593 >  CFLAGS="$CFLAGS  $flag"
13594 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595   /* end confdefs.h.  */
13104 short int ascii_mm[] =
13105                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13106                short int ascii_ii[] =
13107                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13108                int use_ascii (int i) {
13109                  return ascii_mm[i] + ascii_ii[i];
13110                }
13111                short int ebcdic_ii[] =
13112                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13113                short int ebcdic_mm[] =
13114                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13115                int use_ebcdic (int i) {
13116                  return ebcdic_mm[i] + ebcdic_ii[i];
13117                }
13118                extern int foo;
13596  
13597   int
13598   main ()
13599   {
13600 < return use_ascii (foo) == use_ebcdic (foo);
13600 >
13601    ;
13602    return 0;
13603   }
13604   _ACEOF
13605   if ac_fn_c_try_compile "$LINENO"; then :
13606 <  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13607 <              ac_cv_c_bigendian=yes
13608 <            fi
13132 <            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13133 <              if test "$ac_cv_c_bigendian" = unknown; then
13134 <                ac_cv_c_bigendian=no
13135 <              else
13136 <                # finding both strings is unlikely to happen, but who knows?
13137 <                ac_cv_c_bigendian=unknown
13138 <              fi
13139 <            fi
13606 >  eval "$as_CACHEVAR=yes"
13607 > else
13608 >  eval "$as_CACHEVAR=no"
13609   fi
13610   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611 +  CFLAGS=$ax_check_save_flags
13612 + fi
13613 + eval ac_res=\$$as_CACHEVAR
13614 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13615 + $as_echo "$ac_res" >&6; }
13616 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13617 +
13618 + if ${CFLAGS+:} false; then :
13619 +
13620 +  case " $CFLAGS " in #(
13621 +  *" $flag "*) :
13622 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13623 +  (: CFLAGS already contains $flag) 2>&5
13624 +  ac_status=$?
13625 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13626 +  test $ac_status = 0; } ;; #(
13627 +  *) :
13628 +
13629 +     as_fn_append CFLAGS " $flag"
13630 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13631 +  (: CFLAGS="$CFLAGS") 2>&5
13632 +  ac_status=$?
13633 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13634 +  test $ac_status = 0; }
13635 +     ;;
13636 + esac
13637 +
13638 + else
13639 +
13640 +  CFLAGS=$flag
13641 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13642 +  (: CFLAGS="$CFLAGS") 2>&5
13643 +  ac_status=$?
13644 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13645 +  test $ac_status = 0; }
13646 +
13647 + fi
13648 +
13649   else
13650 +  :
13651 + fi
13652 +
13653 + done
13654 +
13655 +
13656 +
13657 +
13658 +
13659 + for flag in -Wmissing-field-initializers; do
13660 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13661 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13662 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13663 + if eval \${$as_CACHEVAR+:} false; then :
13664 +  $as_echo_n "(cached) " >&6
13665 + else
13666 +
13667 +  ax_check_save_flags=$CFLAGS
13668 +  CFLAGS="$CFLAGS  $flag"
13669    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670   /* end confdefs.h.  */
13671 < $ac_includes_default
13671 >
13672   int
13673   main ()
13674   {
13675  
13676 <             /* Are we little or big endian?  From Harbison&Steele.  */
13677 <             union
13678 <             {
13679 <               long int l;
13680 <               char c[sizeof (long int)];
13681 <             } u;
13682 <             u.l = 1;
13683 <             return u.c[sizeof (long int) - 1] == 1;
13676 >  ;
13677 >  return 0;
13678 > }
13679 > _ACEOF
13680 > if ac_fn_c_try_compile "$LINENO"; then :
13681 >  eval "$as_CACHEVAR=yes"
13682 > else
13683 >  eval "$as_CACHEVAR=no"
13684 > fi
13685 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13686 >  CFLAGS=$ax_check_save_flags
13687 > fi
13688 > eval ac_res=\$$as_CACHEVAR
13689 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13690 > $as_echo "$ac_res" >&6; }
13691 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13692 >
13693 > if ${CFLAGS+:} false; then :
13694 >
13695 >  case " $CFLAGS " in #(
13696 >  *" $flag "*) :
13697 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13698 >  (: CFLAGS already contains $flag) 2>&5
13699 >  ac_status=$?
13700 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13701 >  test $ac_status = 0; } ;; #(
13702 >  *) :
13703 >
13704 >     as_fn_append CFLAGS " $flag"
13705 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13706 >  (: CFLAGS="$CFLAGS") 2>&5
13707 >  ac_status=$?
13708 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13709 >  test $ac_status = 0; }
13710 >     ;;
13711 > esac
13712 >
13713 > else
13714 >
13715 >  CFLAGS=$flag
13716 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13717 >  (: CFLAGS="$CFLAGS") 2>&5
13718 >  ac_status=$?
13719 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13720 >  test $ac_status = 0; }
13721 >
13722 > fi
13723 >
13724 > else
13725 >  :
13726 > fi
13727 >
13728 > done
13729 >
13730 >
13731 >
13732 >
13733 >
13734 > for flag in -Wmissing-include-dirs; do
13735 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13736 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13737 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13738 > if eval \${$as_CACHEVAR+:} false; then :
13739 >  $as_echo_n "(cached) " >&6
13740 > else
13741 >
13742 >  ax_check_save_flags=$CFLAGS
13743 >  CFLAGS="$CFLAGS  $flag"
13744 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 > /* end confdefs.h.  */
13746 >
13747 > int
13748 > main ()
13749 > {
13750  
13751    ;
13752    return 0;
13753   }
13754   _ACEOF
13755 < if ac_fn_c_try_run "$LINENO"; then :
13756 <  ac_cv_c_bigendian=no
13755 > if ac_fn_c_try_compile "$LINENO"; then :
13756 >  eval "$as_CACHEVAR=yes"
13757   else
13758 <  ac_cv_c_bigendian=yes
13758 >  eval "$as_CACHEVAR=no"
13759   fi
13760 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13761 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13760 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761 >  CFLAGS=$ax_check_save_flags
13762   fi
13763 + eval ac_res=\$$as_CACHEVAR
13764 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13765 + $as_echo "$ac_res" >&6; }
13766 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13767 +
13768 + if ${CFLAGS+:} false; then :
13769 +
13770 +  case " $CFLAGS " in #(
13771 +  *" $flag "*) :
13772 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13773 +  (: CFLAGS already contains $flag) 2>&5
13774 +  ac_status=$?
13775 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13776 +  test $ac_status = 0; } ;; #(
13777 +  *) :
13778 +
13779 +     as_fn_append CFLAGS " $flag"
13780 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13781 +  (: CFLAGS="$CFLAGS") 2>&5
13782 +  ac_status=$?
13783 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13784 +  test $ac_status = 0; }
13785 +     ;;
13786 + esac
13787 +
13788 + else
13789 +
13790 +  CFLAGS=$flag
13791 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13792 +  (: CFLAGS="$CFLAGS") 2>&5
13793 +  ac_status=$?
13794 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13795 +  test $ac_status = 0; }
13796  
13172    fi
13797   fi
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13175 $as_echo "$ac_cv_c_bigendian" >&6; }
13176 case $ac_cv_c_bigendian in #(
13177   yes)
13178     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13179 ;; #(
13180   no)
13181      ;; #(
13182   universal)
13798  
13799 < $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13799 > else
13800 >  :
13801 > fi
13802 >
13803 > done
13804  
13186     ;; #(
13187   *)
13188     as_fn_error $? "unknown endianness
13189 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13190 esac
13805  
13806  
13807 < # The cast to long int works around a bug in the HP C Compiler
13808 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13809 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13810 < # This bug is HP SR number 8606223364.
13811 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13812 < $as_echo_n "checking size of int... " >&6; }
13813 < if ${ac_cv_sizeof_int+:} false; then :
13807 >
13808 >
13809 > for flag in -Wmissing-parameter-type; do
13810 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13811 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13812 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13813 > if eval \${$as_CACHEVAR+:} false; then :
13814    $as_echo_n "(cached) " >&6
13815   else
13202  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13816  
13817 +  ax_check_save_flags=$CFLAGS
13818 +  CFLAGS="$CFLAGS  $flag"
13819 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 + /* end confdefs.h.  */
13821 +
13822 + int
13823 + main ()
13824 + {
13825 +
13826 +  ;
13827 +  return 0;
13828 + }
13829 + _ACEOF
13830 + if ac_fn_c_try_compile "$LINENO"; then :
13831 +  eval "$as_CACHEVAR=yes"
13832   else
13833 <  if test "$ac_cv_type_int" = yes; then
13834 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13835 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13836 < as_fn_error 77 "cannot compute sizeof (int)
13837 < See \`config.log' for more details" "$LINENO" 5; }
13838 <   else
13839 <     ac_cv_sizeof_int=0
13840 <   fi
13833 >  eval "$as_CACHEVAR=no"
13834 > fi
13835 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13836 >  CFLAGS=$ax_check_save_flags
13837 > fi
13838 > eval ac_res=\$$as_CACHEVAR
13839 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13840 > $as_echo "$ac_res" >&6; }
13841 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13842 >
13843 > if ${CFLAGS+:} false; then :
13844 >
13845 >  case " $CFLAGS " in #(
13846 >  *" $flag "*) :
13847 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13848 >  (: CFLAGS already contains $flag) 2>&5
13849 >  ac_status=$?
13850 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13851 >  test $ac_status = 0; } ;; #(
13852 >  *) :
13853 >
13854 >     as_fn_append CFLAGS " $flag"
13855 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13856 >  (: CFLAGS="$CFLAGS") 2>&5
13857 >  ac_status=$?
13858 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13859 >  test $ac_status = 0; }
13860 >     ;;
13861 > esac
13862 >
13863 > else
13864 >
13865 >  CFLAGS=$flag
13866 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13867 >  (: CFLAGS="$CFLAGS") 2>&5
13868 >  ac_status=$?
13869 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13870 >  test $ac_status = 0; }
13871 >
13872   fi
13873  
13874 + else
13875 +  :
13876   fi
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13217 $as_echo "$ac_cv_sizeof_int" >&6; }
13877  
13878 + done
13879  
13880  
13881 < cat >>confdefs.h <<_ACEOF
13882 < #define SIZEOF_INT $ac_cv_sizeof_int
13881 >
13882 >
13883 >
13884 > for flag in -Wmissing-prototypes; do
13885 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13886 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13887 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13888 > if eval \${$as_CACHEVAR+:} false; then :
13889 >  $as_echo_n "(cached) " >&6
13890 > else
13891 >
13892 >  ax_check_save_flags=$CFLAGS
13893 >  CFLAGS="$CFLAGS  $flag"
13894 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 > /* end confdefs.h.  */
13896 >
13897 > int
13898 > main ()
13899 > {
13900 >
13901 >  ;
13902 >  return 0;
13903 > }
13904   _ACEOF
13905 + if ac_fn_c_try_compile "$LINENO"; then :
13906 +  eval "$as_CACHEVAR=yes"
13907 + else
13908 +  eval "$as_CACHEVAR=no"
13909 + fi
13910 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13911 +  CFLAGS=$ax_check_save_flags
13912 + fi
13913 + eval ac_res=\$$as_CACHEVAR
13914 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13915 + $as_echo "$ac_res" >&6; }
13916 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13917 +
13918 + if ${CFLAGS+:} false; then :
13919 +
13920 +  case " $CFLAGS " in #(
13921 +  *" $flag "*) :
13922 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13923 +  (: CFLAGS already contains $flag) 2>&5
13924 +  ac_status=$?
13925 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13926 +  test $ac_status = 0; } ;; #(
13927 +  *) :
13928 +
13929 +     as_fn_append CFLAGS " $flag"
13930 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13931 +  (: CFLAGS="$CFLAGS") 2>&5
13932 +  ac_status=$?
13933 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13934 +  test $ac_status = 0; }
13935 +     ;;
13936 + esac
13937 +
13938 + else
13939 +
13940 +  CFLAGS=$flag
13941 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13942 +  (: CFLAGS="$CFLAGS") 2>&5
13943 +  ac_status=$?
13944 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13945 +  test $ac_status = 0; }
13946 +
13947 + fi
13948 +
13949 + else
13950 +  :
13951 + fi
13952 +
13953 + done
13954 +
13955  
13956  
13957 < # The cast to long int works around a bug in the HP C Compiler
13958 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13959 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13960 < # This bug is HP SR number 8606223364.
13961 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13962 < $as_echo_n "checking size of short... " >&6; }
13963 < if ${ac_cv_sizeof_short+:} false; then :
13957 >
13958 >
13959 > for flag in -Wnested-externs; do
13960 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13961 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13962 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13963 > if eval \${$as_CACHEVAR+:} false; then :
13964    $as_echo_n "(cached) " >&6
13965   else
13235  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13966  
13967 +  ax_check_save_flags=$CFLAGS
13968 +  CFLAGS="$CFLAGS  $flag"
13969 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13970 + /* end confdefs.h.  */
13971 +
13972 + int
13973 + main ()
13974 + {
13975 +
13976 +  ;
13977 +  return 0;
13978 + }
13979 + _ACEOF
13980 + if ac_fn_c_try_compile "$LINENO"; then :
13981 +  eval "$as_CACHEVAR=yes"
13982   else
13983 <  if test "$ac_cv_type_short" = yes; then
13984 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13985 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13986 < as_fn_error 77 "cannot compute sizeof (short)
13987 < See \`config.log' for more details" "$LINENO" 5; }
13988 <   else
13989 <     ac_cv_sizeof_short=0
13990 <   fi
13983 >  eval "$as_CACHEVAR=no"
13984 > fi
13985 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13986 >  CFLAGS=$ax_check_save_flags
13987 > fi
13988 > eval ac_res=\$$as_CACHEVAR
13989 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13990 > $as_echo "$ac_res" >&6; }
13991 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13992 >
13993 > if ${CFLAGS+:} false; then :
13994 >
13995 >  case " $CFLAGS " in #(
13996 >  *" $flag "*) :
13997 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13998 >  (: CFLAGS already contains $flag) 2>&5
13999 >  ac_status=$?
14000 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14001 >  test $ac_status = 0; } ;; #(
14002 >  *) :
14003 >
14004 >     as_fn_append CFLAGS " $flag"
14005 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14006 >  (: CFLAGS="$CFLAGS") 2>&5
14007 >  ac_status=$?
14008 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 >  test $ac_status = 0; }
14010 >     ;;
14011 > esac
14012 >
14013 > else
14014 >
14015 >  CFLAGS=$flag
14016 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14017 >  (: CFLAGS="$CFLAGS") 2>&5
14018 >  ac_status=$?
14019 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14020 >  test $ac_status = 0; }
14021 >
14022   fi
14023  
14024 + else
14025 +  :
14026   fi
14027 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14028 < $as_echo "$ac_cv_sizeof_short" >&6; }
14027 >
14028 > done
14029  
14030  
14031  
14032 < cat >>confdefs.h <<_ACEOF
14033 < #define SIZEOF_SHORT $ac_cv_sizeof_short
14032 >
14033 >
14034 > for flag in -Wold-style-declaration; do
14035 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14036 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14037 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14038 > if eval \${$as_CACHEVAR+:} false; then :
14039 >  $as_echo_n "(cached) " >&6
14040 > else
14041 >
14042 >  ax_check_save_flags=$CFLAGS
14043 >  CFLAGS="$CFLAGS  $flag"
14044 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 > /* end confdefs.h.  */
14046 >
14047 > int
14048 > main ()
14049 > {
14050 >
14051 >  ;
14052 >  return 0;
14053 > }
14054 > _ACEOF
14055 > if ac_fn_c_try_compile "$LINENO"; then :
14056 >  eval "$as_CACHEVAR=yes"
14057 > else
14058 >  eval "$as_CACHEVAR=no"
14059 > fi
14060 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14061 >  CFLAGS=$ax_check_save_flags
14062 > fi
14063 > eval ac_res=\$$as_CACHEVAR
14064 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14065 > $as_echo "$ac_res" >&6; }
14066 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14067 >
14068 > if ${CFLAGS+:} false; then :
14069 >
14070 >  case " $CFLAGS " in #(
14071 >  *" $flag "*) :
14072 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14073 >  (: CFLAGS already contains $flag) 2>&5
14074 >  ac_status=$?
14075 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14076 >  test $ac_status = 0; } ;; #(
14077 >  *) :
14078 >
14079 >     as_fn_append CFLAGS " $flag"
14080 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14081 >  (: CFLAGS="$CFLAGS") 2>&5
14082 >  ac_status=$?
14083 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14084 >  test $ac_status = 0; }
14085 >     ;;
14086 > esac
14087 >
14088 > else
14089 >
14090 >  CFLAGS=$flag
14091 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14092 >  (: CFLAGS="$CFLAGS") 2>&5
14093 >  ac_status=$?
14094 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14095 >  test $ac_status = 0; }
14096 >
14097 > fi
14098 >
14099 > else
14100 >  :
14101 > fi
14102 >
14103 > done
14104 >
14105 >
14106 >
14107 >
14108 >
14109 > for flag in -Woverride-init; do
14110 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14111 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14112 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14113 > if eval \${$as_CACHEVAR+:} false; then :
14114 >  $as_echo_n "(cached) " >&6
14115 > else
14116 >
14117 >  ax_check_save_flags=$CFLAGS
14118 >  CFLAGS="$CFLAGS  $flag"
14119 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 > /* end confdefs.h.  */
14121 >
14122 > int
14123 > main ()
14124 > {
14125 >
14126 >  ;
14127 >  return 0;
14128 > }
14129   _ACEOF
14130 + if ac_fn_c_try_compile "$LINENO"; then :
14131 +  eval "$as_CACHEVAR=yes"
14132 + else
14133 +  eval "$as_CACHEVAR=no"
14134 + fi
14135 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14136 +  CFLAGS=$ax_check_save_flags
14137 + fi
14138 + eval ac_res=\$$as_CACHEVAR
14139 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14140 + $as_echo "$ac_res" >&6; }
14141 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14142 +
14143 + if ${CFLAGS+:} false; then :
14144 +
14145 +  case " $CFLAGS " in #(
14146 +  *" $flag "*) :
14147 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14148 +  (: CFLAGS already contains $flag) 2>&5
14149 +  ac_status=$?
14150 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14151 +  test $ac_status = 0; } ;; #(
14152 +  *) :
14153 +
14154 +     as_fn_append CFLAGS " $flag"
14155 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14156 +  (: CFLAGS="$CFLAGS") 2>&5
14157 +  ac_status=$?
14158 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14159 +  test $ac_status = 0; }
14160 +     ;;
14161 + esac
14162 +
14163 + else
14164  
14165 +  CFLAGS=$flag
14166 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14167 +  (: CFLAGS="$CFLAGS") 2>&5
14168 +  ac_status=$?
14169 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14170 +  test $ac_status = 0; }
14171  
14172 < # The cast to long int works around a bug in the HP C Compiler
14173 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14174 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14175 < # This bug is HP SR number 8606223364.
14176 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14177 < $as_echo_n "checking size of long... " >&6; }
14178 < if ${ac_cv_sizeof_long+:} false; then :
14172 > fi
14173 >
14174 > else
14175 >  :
14176 > fi
14177 >
14178 > done
14179 >
14180 >
14181 >
14182 >
14183 >
14184 > for flag in -Wpointer-arith; do
14185 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14186 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14187 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14188 > if eval \${$as_CACHEVAR+:} false; then :
14189    $as_echo_n "(cached) " >&6
14190   else
13268  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
14191  
14192 +  ax_check_save_flags=$CFLAGS
14193 +  CFLAGS="$CFLAGS  $flag"
14194 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 + /* end confdefs.h.  */
14196 +
14197 + int
14198 + main ()
14199 + {
14200 +
14201 +  ;
14202 +  return 0;
14203 + }
14204 + _ACEOF
14205 + if ac_fn_c_try_compile "$LINENO"; then :
14206 +  eval "$as_CACHEVAR=yes"
14207   else
14208 <  if test "$ac_cv_type_long" = yes; then
14209 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14210 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14211 < as_fn_error 77 "cannot compute sizeof (long)
13275 < See \`config.log' for more details" "$LINENO" 5; }
13276 <   else
13277 <     ac_cv_sizeof_long=0
13278 <   fi
14208 >  eval "$as_CACHEVAR=no"
14209 > fi
14210 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14211 >  CFLAGS=$ax_check_save_flags
14212   fi
14213 + eval ac_res=\$$as_CACHEVAR
14214 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14215 + $as_echo "$ac_res" >&6; }
14216 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14217 +
14218 + if ${CFLAGS+:} false; then :
14219 +
14220 +  case " $CFLAGS " in #(
14221 +  *" $flag "*) :
14222 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14223 +  (: CFLAGS already contains $flag) 2>&5
14224 +  ac_status=$?
14225 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14226 +  test $ac_status = 0; } ;; #(
14227 +  *) :
14228 +
14229 +     as_fn_append CFLAGS " $flag"
14230 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14231 +  (: CFLAGS="$CFLAGS") 2>&5
14232 +  ac_status=$?
14233 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14234 +  test $ac_status = 0; }
14235 +     ;;
14236 + esac
14237 +
14238 + else
14239 +
14240 +  CFLAGS=$flag
14241 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14242 +  (: CFLAGS="$CFLAGS") 2>&5
14243 +  ac_status=$?
14244 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14245 +  test $ac_status = 0; }
14246  
14247   fi
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13283 $as_echo "$ac_cv_sizeof_long" >&6; }
14248  
14249 + else
14250 +  :
14251 + fi
14252  
14253 + done
14254  
14255 < cat >>confdefs.h <<_ACEOF
14256 < #define SIZEOF_LONG $ac_cv_sizeof_long
14255 >
14256 >
14257 >
14258 >
14259 > for flag in -Wredundant-decls; do
14260 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14261 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14262 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14263 > if eval \${$as_CACHEVAR+:} false; then :
14264 >  $as_echo_n "(cached) " >&6
14265 > else
14266 >
14267 >  ax_check_save_flags=$CFLAGS
14268 >  CFLAGS="$CFLAGS  $flag"
14269 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 > /* end confdefs.h.  */
14271 >
14272 > int
14273 > main ()
14274 > {
14275 >
14276 >  ;
14277 >  return 0;
14278 > }
14279 > _ACEOF
14280 > if ac_fn_c_try_compile "$LINENO"; then :
14281 >  eval "$as_CACHEVAR=yes"
14282 > else
14283 >  eval "$as_CACHEVAR=no"
14284 > fi
14285 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14286 >  CFLAGS=$ax_check_save_flags
14287 > fi
14288 > eval ac_res=\$$as_CACHEVAR
14289 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14290 > $as_echo "$ac_res" >&6; }
14291 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14292 >
14293 > if ${CFLAGS+:} false; then :
14294 >
14295 >  case " $CFLAGS " in #(
14296 >  *" $flag "*) :
14297 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14298 >  (: CFLAGS already contains $flag) 2>&5
14299 >  ac_status=$?
14300 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14301 >  test $ac_status = 0; } ;; #(
14302 >  *) :
14303 >
14304 >     as_fn_append CFLAGS " $flag"
14305 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14306 >  (: CFLAGS="$CFLAGS") 2>&5
14307 >  ac_status=$?
14308 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14309 >  test $ac_status = 0; }
14310 >     ;;
14311 > esac
14312 >
14313 > else
14314 >
14315 >  CFLAGS=$flag
14316 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14317 >  (: CFLAGS="$CFLAGS") 2>&5
14318 >  ac_status=$?
14319 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14320 >  test $ac_status = 0; }
14321 >
14322 > fi
14323 >
14324 > else
14325 >  :
14326 > fi
14327 >
14328 > done
14329 >
14330 >
14331 >
14332 >
14333 >
14334 > for flag in -Wshadow; do
14335 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14336 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14337 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14338 > if eval \${$as_CACHEVAR+:} false; then :
14339 >  $as_echo_n "(cached) " >&6
14340 > else
14341 >
14342 >  ax_check_save_flags=$CFLAGS
14343 >  CFLAGS="$CFLAGS  $flag"
14344 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 > /* end confdefs.h.  */
14346 >
14347 > int
14348 > main ()
14349 > {
14350 >
14351 >  ;
14352 >  return 0;
14353 > }
14354   _ACEOF
14355 + if ac_fn_c_try_compile "$LINENO"; then :
14356 +  eval "$as_CACHEVAR=yes"
14357 + else
14358 +  eval "$as_CACHEVAR=no"
14359 + fi
14360 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14361 +  CFLAGS=$ax_check_save_flags
14362 + fi
14363 + eval ac_res=\$$as_CACHEVAR
14364 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14365 + $as_echo "$ac_res" >&6; }
14366 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14367  
14368 + if ${CFLAGS+:} false; then :
14369  
14370 +  case " $CFLAGS " in #(
14371 +  *" $flag "*) :
14372 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14373 +  (: CFLAGS already contains $flag) 2>&5
14374 +  ac_status=$?
14375 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14376 +  test $ac_status = 0; } ;; #(
14377 +  *) :
14378  
14379 +     as_fn_append CFLAGS " $flag"
14380 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14381 +  (: CFLAGS="$CFLAGS") 2>&5
14382 +  ac_status=$?
14383 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14384 +  test $ac_status = 0; }
14385 +     ;;
14386 + esac
14387 +
14388 + else
14389 +
14390 +  CFLAGS=$flag
14391 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14392 +  (: CFLAGS="$CFLAGS") 2>&5
14393 +  ac_status=$?
14394 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14395 +  test $ac_status = 0; }
14396 +
14397 + fi
14398 +
14399 + else
14400 +  :
14401 + fi
14402 +
14403 + done
14404  
14405  
14406  
14407  
14408  
14409 < subdirs="$subdirs src/libopm"
14409 > for flag in -Wshift-negative-value; do
14410 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14411 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14412 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14413 > if eval \${$as_CACHEVAR+:} false; then :
14414 >  $as_echo_n "(cached) " >&6
14415 > else
14416  
14417 +  ax_check_save_flags=$CFLAGS
14418 +  CFLAGS="$CFLAGS  $flag"
14419 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 + /* end confdefs.h.  */
14421  
14422 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
14422 > int
14423 > main ()
14424 > {
14425 >
14426 >  ;
14427 >  return 0;
14428 > }
14429 > _ACEOF
14430 > if ac_fn_c_try_compile "$LINENO"; then :
14431 >  eval "$as_CACHEVAR=yes"
14432 > else
14433 >  eval "$as_CACHEVAR=no"
14434 > fi
14435 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14436 >  CFLAGS=$ax_check_save_flags
14437 > fi
14438 > eval ac_res=\$$as_CACHEVAR
14439 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14440 > $as_echo "$ac_res" >&6; }
14441 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14442 >
14443 > if ${CFLAGS+:} false; then :
14444 >
14445 >  case " $CFLAGS " in #(
14446 >  *" $flag "*) :
14447 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14448 >  (: CFLAGS already contains $flag) 2>&5
14449 >  ac_status=$?
14450 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14451 >  test $ac_status = 0; } ;; #(
14452 >  *) :
14453 >
14454 >     as_fn_append CFLAGS " $flag"
14455 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14456 >  (: CFLAGS="$CFLAGS") 2>&5
14457 >  ac_status=$?
14458 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14459 >  test $ac_status = 0; }
14460 >     ;;
14461 > esac
14462 >
14463 > else
14464 >
14465 >  CFLAGS=$flag
14466 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14467 >  (: CFLAGS="$CFLAGS") 2>&5
14468 >  ac_status=$?
14469 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14470 >  test $ac_status = 0; }
14471 >
14472 > fi
14473 >
14474 > else
14475 >  :
14476 > fi
14477 >
14478 > done
14479 >
14480 >
14481 >
14482 >
14483 >
14484 > for flag in -Wsign-compare; do
14485 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14486 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14487 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14488 > if eval \${$as_CACHEVAR+:} false; then :
14489 >  $as_echo_n "(cached) " >&6
14490 > else
14491 >
14492 >  ax_check_save_flags=$CFLAGS
14493 >  CFLAGS="$CFLAGS  $flag"
14494 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 > /* end confdefs.h.  */
14496 >
14497 > int
14498 > main ()
14499 > {
14500 >
14501 >  ;
14502 >  return 0;
14503 > }
14504 > _ACEOF
14505 > if ac_fn_c_try_compile "$LINENO"; then :
14506 >  eval "$as_CACHEVAR=yes"
14507 > else
14508 >  eval "$as_CACHEVAR=no"
14509 > fi
14510 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14511 >  CFLAGS=$ax_check_save_flags
14512 > fi
14513 > eval ac_res=\$$as_CACHEVAR
14514 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14515 > $as_echo "$ac_res" >&6; }
14516 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14517 >
14518 > if ${CFLAGS+:} false; then :
14519 >
14520 >  case " $CFLAGS " in #(
14521 >  *" $flag "*) :
14522 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14523 >  (: CFLAGS already contains $flag) 2>&5
14524 >  ac_status=$?
14525 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14526 >  test $ac_status = 0; } ;; #(
14527 >  *) :
14528 >
14529 >     as_fn_append CFLAGS " $flag"
14530 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14531 >  (: CFLAGS="$CFLAGS") 2>&5
14532 >  ac_status=$?
14533 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14534 >  test $ac_status = 0; }
14535 >     ;;
14536 > esac
14537 >
14538 > else
14539 >
14540 >  CFLAGS=$flag
14541 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14542 >  (: CFLAGS="$CFLAGS") 2>&5
14543 >  ac_status=$?
14544 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14545 >  test $ac_status = 0; }
14546 >
14547 > fi
14548 >
14549 > else
14550 >  :
14551 > fi
14552 >
14553 > done
14554 >
14555 >
14556 >
14557 >
14558 >
14559 > for flag in -Wtype-limits; do
14560 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14561 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14562 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14563 > if eval \${$as_CACHEVAR+:} false; then :
14564 >  $as_echo_n "(cached) " >&6
14565 > else
14566 >
14567 >  ax_check_save_flags=$CFLAGS
14568 >  CFLAGS="$CFLAGS  $flag"
14569 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 > /* end confdefs.h.  */
14571 >
14572 > int
14573 > main ()
14574 > {
14575 >
14576 >  ;
14577 >  return 0;
14578 > }
14579 > _ACEOF
14580 > if ac_fn_c_try_compile "$LINENO"; then :
14581 >  eval "$as_CACHEVAR=yes"
14582 > else
14583 >  eval "$as_CACHEVAR=no"
14584 > fi
14585 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14586 >  CFLAGS=$ax_check_save_flags
14587 > fi
14588 > eval ac_res=\$$as_CACHEVAR
14589 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14590 > $as_echo "$ac_res" >&6; }
14591 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14592 >
14593 > if ${CFLAGS+:} false; then :
14594 >
14595 >  case " $CFLAGS " in #(
14596 >  *" $flag "*) :
14597 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14598 >  (: CFLAGS already contains $flag) 2>&5
14599 >  ac_status=$?
14600 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14601 >  test $ac_status = 0; } ;; #(
14602 >  *) :
14603 >
14604 >     as_fn_append CFLAGS " $flag"
14605 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14606 >  (: CFLAGS="$CFLAGS") 2>&5
14607 >  ac_status=$?
14608 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14609 >  test $ac_status = 0; }
14610 >     ;;
14611 > esac
14612 >
14613 > else
14614 >
14615 >  CFLAGS=$flag
14616 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14617 >  (: CFLAGS="$CFLAGS") 2>&5
14618 >  ac_status=$?
14619 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14620 >  test $ac_status = 0; }
14621 >
14622 > fi
14623 >
14624 > else
14625 >  :
14626 > fi
14627 >
14628 > done
14629 >
14630 >
14631 >
14632 >
14633 >
14634 > for flag in -Wundef; do
14635 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14636 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14637 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14638 > if eval \${$as_CACHEVAR+:} false; then :
14639 >  $as_echo_n "(cached) " >&6
14640 > else
14641 >
14642 >  ax_check_save_flags=$CFLAGS
14643 >  CFLAGS="$CFLAGS  $flag"
14644 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 > /* end confdefs.h.  */
14646 >
14647 > int
14648 > main ()
14649 > {
14650 >
14651 >  ;
14652 >  return 0;
14653 > }
14654 > _ACEOF
14655 > if ac_fn_c_try_compile "$LINENO"; then :
14656 >  eval "$as_CACHEVAR=yes"
14657 > else
14658 >  eval "$as_CACHEVAR=no"
14659 > fi
14660 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 >  CFLAGS=$ax_check_save_flags
14662 > fi
14663 > eval ac_res=\$$as_CACHEVAR
14664 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14665 > $as_echo "$ac_res" >&6; }
14666 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14667 >
14668 > if ${CFLAGS+:} false; then :
14669 >
14670 >  case " $CFLAGS " in #(
14671 >  *" $flag "*) :
14672 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14673 >  (: CFLAGS already contains $flag) 2>&5
14674 >  ac_status=$?
14675 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14676 >  test $ac_status = 0; } ;; #(
14677 >  *) :
14678 >
14679 >     as_fn_append CFLAGS " $flag"
14680 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14681 >  (: CFLAGS="$CFLAGS") 2>&5
14682 >  ac_status=$?
14683 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14684 >  test $ac_status = 0; }
14685 >     ;;
14686 > esac
14687 >
14688 > else
14689 >
14690 >  CFLAGS=$flag
14691 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14692 >  (: CFLAGS="$CFLAGS") 2>&5
14693 >  ac_status=$?
14694 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14695 >  test $ac_status = 0; }
14696 >
14697 > fi
14698 >
14699 > else
14700 >  :
14701 > fi
14702 >
14703 > done
14704 >
14705 >
14706 >
14707 >
14708 >
14709 > for flag in -Wuninitialized; do
14710 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14711 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14712 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14713 > if eval \${$as_CACHEVAR+:} false; then :
14714 >  $as_echo_n "(cached) " >&6
14715 > else
14716 >
14717 >  ax_check_save_flags=$CFLAGS
14718 >  CFLAGS="$CFLAGS  $flag"
14719 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 > /* end confdefs.h.  */
14721 >
14722 > int
14723 > main ()
14724 > {
14725 >
14726 >  ;
14727 >  return 0;
14728 > }
14729 > _ACEOF
14730 > if ac_fn_c_try_compile "$LINENO"; then :
14731 >  eval "$as_CACHEVAR=yes"
14732 > else
14733 >  eval "$as_CACHEVAR=no"
14734 > fi
14735 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14736 >  CFLAGS=$ax_check_save_flags
14737 > fi
14738 > eval ac_res=\$$as_CACHEVAR
14739 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14740 > $as_echo "$ac_res" >&6; }
14741 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14742 >
14743 > if ${CFLAGS+:} false; then :
14744 >
14745 >  case " $CFLAGS " in #(
14746 >  *" $flag "*) :
14747 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14748 >  (: CFLAGS already contains $flag) 2>&5
14749 >  ac_status=$?
14750 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 >  test $ac_status = 0; } ;; #(
14752 >  *) :
14753 >
14754 >     as_fn_append CFLAGS " $flag"
14755 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14756 >  (: CFLAGS="$CFLAGS") 2>&5
14757 >  ac_status=$?
14758 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14759 >  test $ac_status = 0; }
14760 >     ;;
14761 > esac
14762 >
14763 > else
14764 >
14765 >  CFLAGS=$flag
14766 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14767 >  (: CFLAGS="$CFLAGS") 2>&5
14768 >  ac_status=$?
14769 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14770 >  test $ac_status = 0; }
14771 >
14772 > fi
14773 >
14774 > else
14775 >  :
14776 > fi
14777 >
14778 > done
14779 >
14780 >
14781 >
14782 >
14783 >
14784 > for flag in -Wwrite-strings; do
14785 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14786 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14787 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14788 > if eval \${$as_CACHEVAR+:} false; then :
14789 >  $as_echo_n "(cached) " >&6
14790 > else
14791 >
14792 >  ax_check_save_flags=$CFLAGS
14793 >  CFLAGS="$CFLAGS  $flag"
14794 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 > /* end confdefs.h.  */
14796 >
14797 > int
14798 > main ()
14799 > {
14800 >
14801 >  ;
14802 >  return 0;
14803 > }
14804 > _ACEOF
14805 > if ac_fn_c_try_compile "$LINENO"; then :
14806 >  eval "$as_CACHEVAR=yes"
14807 > else
14808 >  eval "$as_CACHEVAR=no"
14809 > fi
14810 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14811 >  CFLAGS=$ax_check_save_flags
14812 > fi
14813 > eval ac_res=\$$as_CACHEVAR
14814 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14815 > $as_echo "$ac_res" >&6; }
14816 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14817 >
14818 > if ${CFLAGS+:} false; then :
14819 >
14820 >  case " $CFLAGS " in #(
14821 >  *" $flag "*) :
14822 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14823 >  (: CFLAGS already contains $flag) 2>&5
14824 >  ac_status=$?
14825 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14826 >  test $ac_status = 0; } ;; #(
14827 >  *) :
14828 >
14829 >     as_fn_append CFLAGS " $flag"
14830 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14831 >  (: CFLAGS="$CFLAGS") 2>&5
14832 >  ac_status=$?
14833 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14834 >  test $ac_status = 0; }
14835 >     ;;
14836 > esac
14837 >
14838 > else
14839 >
14840 >  CFLAGS=$flag
14841 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14842 >  (: CFLAGS="$CFLAGS") 2>&5
14843 >  ac_status=$?
14844 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14845 >  test $ac_status = 0; }
14846 >
14847 > fi
14848 >
14849 > else
14850 >  :
14851 > fi
14852 >
14853 > done
14854 >
14855 >
14856 > fi
14857 >
14858 >
14859 >  # Check whether --enable-efence was given.
14860 > if test "${enable_efence+set}" = set; then :
14861 >  enableval=$enable_efence; efence="$enableval"
14862 > else
14863 >  efence="no"
14864 > fi
14865 >
14866 >
14867 >  if test "$efence" = "yes"; then :
14868 >
14869 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
14870 > $as_echo_n "checking for library containing EF_Print... " >&6; }
14871 > if ${ac_cv_search_EF_Print+:} false; then :
14872 >  $as_echo_n "(cached) " >&6
14873 > else
14874 >  ac_func_search_save_LIBS=$LIBS
14875 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 > /* end confdefs.h.  */
14877 >
14878 > /* Override any GCC internal prototype to avoid an error.
14879 >   Use char because int might match the return type of a GCC
14880 >   builtin and then its argument prototype would still apply.  */
14881 > #ifdef __cplusplus
14882 > extern "C"
14883 > #endif
14884 > char EF_Print ();
14885 > int
14886 > main ()
14887 > {
14888 > return EF_Print ();
14889 >  ;
14890 >  return 0;
14891 > }
14892 > _ACEOF
14893 > for ac_lib in '' efence; do
14894 >  if test -z "$ac_lib"; then
14895 >    ac_res="none required"
14896 >  else
14897 >    ac_res=-l$ac_lib
14898 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14899 >  fi
14900 >  if ac_fn_c_try_link "$LINENO"; then :
14901 >  ac_cv_search_EF_Print=$ac_res
14902 > fi
14903 > rm -f core conftest.err conftest.$ac_objext \
14904 >    conftest$ac_exeext
14905 >  if ${ac_cv_search_EF_Print+:} false; then :
14906 >  break
14907 > fi
14908 > done
14909 > if ${ac_cv_search_EF_Print+:} false; then :
14910 >
14911 > else
14912 >  ac_cv_search_EF_Print=no
14913 > fi
14914 > rm conftest.$ac_ext
14915 > LIBS=$ac_func_search_save_LIBS
14916 > fi
14917 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
14918 > $as_echo "$ac_cv_search_EF_Print" >&6; }
14919 > ac_res=$ac_cv_search_EF_Print
14920 > if test "$ac_res" != no; then :
14921 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14922 >
14923 > else
14924 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14925 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14926 > as_fn_error $? "Electric Fence 'efence' library not found
14927 > See \`config.log' for more details" "$LINENO" 5; }
14928 > fi
14929 >
14930 >
14931 > fi
14932 >
14933 >
14934 > for ac_func in strlcpy strlcat
14935 > do :
14936 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14937 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14938 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14939 >  cat >>confdefs.h <<_ACEOF
14940 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14941 > _ACEOF
14942 >
14943 > fi
14944 > done
14945 >
14946 >
14947 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
14948  
14949   cat >confcache <<\_ACEOF
14950   # This file is a shell script that caches the results of configure
# Line 13394 | Line 15040 | DEFS=-DHAVE_CONFIG_H
15040  
15041   ac_libobjs=
15042   ac_ltlibobjs=
15043 + U=
15044   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15045    # 1. Remove the extension, and $U if already installed.
15046    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13437 | Line 15084 | if test -z "${am__fastdepCC_TRUE}" && te
15084   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15085   fi
15086  
13440
15087   : "${CONFIG_STATUS=./config.status}"
15088   ac_write_fail=0
15089   ac_clean_files_save=$ac_clean_files
# Line 13834 | Line 15480 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15480   # report actual input values of CONFIG_FILES etc. instead of their
15481   # values after options handling.
15482   ac_log="
15483 < This file was extended by hopm $as_me 1.0.0beta1, which was
15483 > This file was extended by hopm $as_me 1.1.10, which was
15484   generated by GNU Autoconf 2.69.  Invocation command line was
15485  
15486    CONFIG_FILES    = $CONFIG_FILES
# Line 13894 | Line 15540 | $config_headers
15540   Configuration commands:
15541   $config_commands
15542  
15543 < Report bugs to the package provider."
15543 > Report bugs to <bugs@ircd-hybrid.org>."
15544  
15545   _ACEOF
15546   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15547   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15548   ac_cs_version="\\
15549 < hopm config.status 1.0.0beta1
15549 > hopm config.status 1.1.10
15550   configured by $0, generated by GNU Autoconf 2.69,
15551    with options \\"\$ac_cs_config\\"
15552  
# Line 14019 | Line 15665 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15665   #
15666   # INIT-COMMANDS
15667   #
15668 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15668 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15669  
15670  
15671   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 14156 | Line 15802 | finish_cmds='`$ECHO "$finish_cmds" | $SE
15802   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15803   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15804   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15805 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15805 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15806 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15807   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15808   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15809   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 14274 | Line 15921 | postinstall_cmds \
15921   postuninstall_cmds \
15922   finish_cmds \
15923   sys_lib_search_path_spec \
15924 < sys_lib_dlsearch_path_spec; do
15924 > configure_time_dlsearch_path \
15925 > configure_time_lt_sys_library_path; do
15926      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15927      *[\\\\\\\`\\"\\\$]*)
15928        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
# Line 14316 | Line 15964 | do
15964      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15965      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15966      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15967 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
15968 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
15969  
15970    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15971    esac
# Line 14915 | Line 16565 | $as_echo "$as_me: executing $ac_file com
16565    # Older Autoconf quotes --file arguments for eval, but not when files
16566    # are listed without --file.  Let's play safe and only enable the eval
16567    # if we detect the quoting.
16568 <  case $CONFIG_FILES in
16569 <  *\'*) eval set x "$CONFIG_FILES" ;;
16570 <  *)   set x $CONFIG_FILES ;;
16571 <  esac
16568 >  # TODO: see whether this extra hack can be removed once we start
16569 >  # requiring Autoconf 2.70 or later.
16570 >  case $CONFIG_FILES in #(
16571 >  *\'*) :
16572 >    eval set x "$CONFIG_FILES" ;; #(
16573 >  *) :
16574 >    set x $CONFIG_FILES ;; #(
16575 >  *) :
16576 >     ;;
16577 > esac
16578    shift
16579 <  for mf
16579 >  # Used to flag and report bootstrapping failures.
16580 >  am_rc=0
16581 >  for am_mf
16582    do
16583      # Strip MF so we end up with the name of the file.
16584 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
16585 <    # Check whether this is an Automake generated Makefile or not.
16586 <    # We used to match only the files named 'Makefile.in', but
16587 <    # some people rename them; so instead we look at the file content.
14930 <    # Grep'ing the first line is not enough: some people post-process
14931 <    # each Makefile.in and add a new line on top of each file to say so.
14932 <    # Grep'ing the whole file is not good either: AIX grep has a line
16584 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16585 >    # Check whether this is an Automake generated Makefile which includes
16586 >    # dependency-tracking related rules and includes.
16587 >    # Grep'ing the whole file directly is not great: AIX grep has a line
16588      # limit of 2048, but all sed's we know have understand at least 4000.
16589 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16590 <      dirpart=`$as_dirname -- "$mf" ||
16591 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16592 <         X"$mf" : 'X\(//\)[^/]' \| \
16593 <         X"$mf" : 'X\(//\)$' \| \
16594 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16595 < $as_echo X"$mf" |
16589 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16590 >      || continue
16591 >    am_dirpart=`$as_dirname -- "$am_mf" ||
16592 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16593 >         X"$am_mf" : 'X\(//\)[^/]' \| \
16594 >         X"$am_mf" : 'X\(//\)$' \| \
16595 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16596 > $as_echo X"$am_mf" |
16597      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16598              s//\1/
16599              q
# Line 14955 | Line 16611 | $as_echo X"$mf" |
16611              q
16612            }
16613            s/.*/./; q'`
16614 <    else
16615 <      continue
16616 <    fi
16617 <    # Extract the definition of DEPDIR, am__include, and am__quote
16618 <    # from the Makefile without running 'make'.
16619 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14964 <    test -z "$DEPDIR" && continue
14965 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14966 <    test -z "$am__include" && continue
14967 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14968 <    # Find all dependency output files, they are included files with
14969 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14970 <    # simplest approach to changing $(DEPDIR) to its actual value in the
14971 <    # expansion.
14972 <    for file in `sed -n "
14973 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14974 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14975 <      # Make sure the directory exists.
14976 <      test -f "$dirpart/$file" && continue
14977 <      fdir=`$as_dirname -- "$file" ||
14978 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14979 <         X"$file" : 'X\(//\)[^/]' \| \
14980 <         X"$file" : 'X\(//\)$' \| \
14981 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14982 < $as_echo X"$file" |
14983 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14984 <            s//\1/
14985 <            q
14986 <          }
14987 <          /^X\(\/\/\)[^/].*/{
16614 >    am_filepart=`$as_basename -- "$am_mf" ||
16615 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16616 >         X"$am_mf" : 'X\(//\)$' \| \
16617 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16618 > $as_echo X/"$am_mf" |
16619 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
16620              s//\1/
16621              q
16622            }
16623 <          /^X\(\/\/\)$/{
16623 >          /^X\/\(\/\/\)$/{
16624              s//\1/
16625              q
16626            }
16627 <          /^X\(\/\).*/{
16627 >          /^X\/\(\/\).*/{
16628              s//\1/
16629              q
16630            }
16631            s/.*/./; q'`
16632 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16633 <      # echo "creating $dirpart/$file"
16634 <      echo '# dummy' > "$dirpart/$file"
16635 <    done
16632 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16633 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16634 >        | $MAKE -f - am--depfiles" >&5
16635 >   (cd "$am_dirpart" \
16636 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16637 >        | $MAKE -f - am--depfiles) >&5 2>&5
16638 >   ac_status=$?
16639 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 >   (exit $ac_status); } || am_rc=$?
16641    done
16642 +  if test $am_rc -ne 0; then
16643 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16644 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16645 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
16646 +    for automatic dependency tracking.  Try re-running configure with the
16647 +    '--disable-dependency-tracking' option to at least be able to build
16648 +    the package (albeit without support for automatic dependency tracking).
16649 + See \`config.log' for more details" "$LINENO" 5; }
16650 +  fi
16651 +  { am_dirpart=; unset am_dirpart;}
16652 +  { am_filepart=; unset am_filepart;}
16653 +  { am_mf=; unset am_mf;}
16654 +  { am_rc=; unset am_rc;}
16655 +  rm -f conftest-deps.mk
16656   }
16657   ;;
16658      "libtool":C)
# Line 15019 | Line 16670 | $as_echo X"$file" |
16670      cat <<_LT_EOF >> "$cfgfile"
16671   #! $SHELL
16672   # Generated automatically by $as_me ($PACKAGE) $VERSION
15022 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16673   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16674  
16675   # Provide generalized library-building support services.
# Line 15051 | Line 16701 | $as_echo X"$file" |
16701   # The names of the tagged configurations supported by this script.
16702   available_tags=''
16703  
16704 + # Configured defaults for sys_lib_dlsearch_path munging.
16705 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16706 +
16707   # ### BEGIN LIBTOOL CONFIG
16708  
16709   # Which release of libtool.m4 was used?
# Line 15300 | Line 16953 | hardcode_into_libs=$hardcode_into_libs
16953   # Compile-time system search path for libraries.
16954   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16955  
16956 < # Run-time system search path for libraries.
16957 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16956 > # Detected run-time system search path for libraries.
16957 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16958 >
16959 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16960 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16961  
16962   # Whether dlopen is supported.
16963   dlopen_support=$enable_dlopen
# Line 15452 | Line 17108 | hardcode_action=$hardcode_action
17108  
17109   _LT_EOF
17110  
17111 +    cat <<'_LT_EOF' >> "$cfgfile"
17112 +
17113 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17114 +
17115 + # func_munge_path_list VARIABLE PATH
17116 + # -----------------------------------
17117 + # VARIABLE is name of variable containing _space_ separated list of
17118 + # directories to be munged by the contents of PATH, which is string
17119 + # having a format:
17120 + # "DIR[:DIR]:"
17121 + #       string "DIR[ DIR]" will be prepended to VARIABLE
17122 + # ":DIR[:DIR]"
17123 + #       string "DIR[ DIR]" will be appended to VARIABLE
17124 + # "DIRP[:DIRP]::[DIRA:]DIRA"
17125 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17126 + #       "DIRA[ DIRA]" will be appended to VARIABLE
17127 + # "DIR[:DIR]"
17128 + #       VARIABLE will be replaced by "DIR[ DIR]"
17129 + func_munge_path_list ()
17130 + {
17131 +    case x$2 in
17132 +    x)
17133 +        ;;
17134 +    *:)
17135 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17136 +        ;;
17137 +    x:*)
17138 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17139 +        ;;
17140 +    *::*)
17141 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17142 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17143 +        ;;
17144 +    *)
17145 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17146 +        ;;
17147 +    esac
17148 + }
17149 +
17150 +
17151 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17152 + func_cc_basename ()
17153 + {
17154 +    for cc_temp in $*""; do
17155 +      case $cc_temp in
17156 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17157 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17158 +        \-*) ;;
17159 +        *) break;;
17160 +      esac
17161 +    done
17162 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17163 + }
17164 +
17165 +
17166 + # ### END FUNCTIONS SHARED WITH CONFIGURE
17167 +
17168 + _LT_EOF
17169 +
17170    case $host_os in
17171    aix3*)
17172      cat <<\_LT_EOF >> "$cfgfile"
# Line 15515 | Line 17230 | if test "$no_create" != yes; then
17230    # would make configure fail if this is the last instruction.
17231    $ac_cs_success || as_fn_exit 1
17232   fi
15518
15519 #
15520 # CONFIG_SUBDIRS section.
15521 #
15522 if test "$no_recursion" != yes; then
15523
15524  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15525  # so they do not pile up.
15526  ac_sub_configure_args=
15527  ac_prev=
15528  eval "set x $ac_configure_args"
15529  shift
15530  for ac_arg
15531  do
15532    if test -n "$ac_prev"; then
15533      ac_prev=
15534      continue
15535    fi
15536    case $ac_arg in
15537    -cache-file | --cache-file | --cache-fil | --cache-fi \
15538    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15539      ac_prev=cache_file ;;
15540    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15541    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15542    | --c=*)
15543      ;;
15544    --config-cache | -C)
15545      ;;
15546    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15547      ac_prev=srcdir ;;
15548    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15549      ;;
15550    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15551      ac_prev=prefix ;;
15552    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15553      ;;
15554    --disable-option-checking)
15555      ;;
15556    *)
15557      case $ac_arg in
15558      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15559      esac
15560      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15561    esac
15562  done
15563
15564  # Always prepend --prefix to ensure using the same prefix
15565  # in subdir configurations.
15566  ac_arg="--prefix=$prefix"
15567  case $ac_arg in
15568  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15569  esac
15570  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15571
15572  # Pass --silent
15573  if test "$silent" = yes; then
15574    ac_sub_configure_args="--silent $ac_sub_configure_args"
15575  fi
15576
15577  # Always prepend --disable-option-checking to silence warnings, since
15578  # different subdirs can have different --enable and --with options.
15579  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15580
15581  ac_popdir=`pwd`
15582  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15583
15584    # Do not complain, so a configure script can configure whichever
15585    # parts of a large source tree are present.
15586    test -d "$srcdir/$ac_dir" || continue
15587
15588    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15589    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15590    $as_echo "$ac_msg" >&6
15591    as_dir="$ac_dir"; as_fn_mkdir_p
15592    ac_builddir=.
15593
15594 case "$ac_dir" in
15595 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15596 *)
15597  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15598  # A ".." for each directory in $ac_dir_suffix.
15599  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15600  case $ac_top_builddir_sub in
15601  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15602  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15603  esac ;;
15604 esac
15605 ac_abs_top_builddir=$ac_pwd
15606 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15607 # for backward compatibility:
15608 ac_top_builddir=$ac_top_build_prefix
15609
15610 case $srcdir in
15611  .)  # We are building in place.
15612    ac_srcdir=.
15613    ac_top_srcdir=$ac_top_builddir_sub
15614    ac_abs_top_srcdir=$ac_pwd ;;
15615  [\\/]* | ?:[\\/]* )  # Absolute name.
15616    ac_srcdir=$srcdir$ac_dir_suffix;
15617    ac_top_srcdir=$srcdir
15618    ac_abs_top_srcdir=$srcdir ;;
15619  *) # Relative name.
15620    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15621    ac_top_srcdir=$ac_top_build_prefix$srcdir
15622    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15623 esac
15624 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15625
15626
15627    cd "$ac_dir"
15628
15629    # Check for guested configure; otherwise get Cygnus style configure.
15630    if test -f "$ac_srcdir/configure.gnu"; then
15631      ac_sub_configure=$ac_srcdir/configure.gnu
15632    elif test -f "$ac_srcdir/configure"; then
15633      ac_sub_configure=$ac_srcdir/configure
15634    elif test -f "$ac_srcdir/configure.in"; then
15635      # This should be Cygnus configure.
15636      ac_sub_configure=$ac_aux_dir/configure
15637    else
15638      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15639 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15640      ac_sub_configure=
15641    fi
15642
15643    # The recursion is here.
15644    if test -n "$ac_sub_configure"; then
15645      # Make the cache file name correct relative to the subdirectory.
15646      case $cache_file in
15647      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15648      *) # Relative name.
15649        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15650      esac
15651
15652      { $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
15653 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15654      # The eval makes quoting arguments work.
15655      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15656           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15657        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15658    fi
15659
15660    cd "$ac_popdir"
15661  done
15662 fi
17233   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17234    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17235   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

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