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 5122 by michael, Thu Dec 25 16:50:00 2014 UTC vs.
hopm/branches/1.1.x/configure (file contents), Revision 9998 by michael, Wed Jun 23 14:13:52 2021 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 9938 2021-05-15 13:27:09Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for hopm 1.0.0beta1.
4 > # Generated by GNU Autoconf 2.69 for hopm 1.1.11.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9   # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Line 272 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 587 | Line 591 | MAKEFLAGS=
591   # Identity of this package.
592   PACKAGE_NAME='hopm'
593   PACKAGE_TARNAME='hopm'
594 < PACKAGE_VERSION='1.0.0beta1'
595 < PACKAGE_STRING='hopm 1.0.0beta1'
596 < PACKAGE_BUGREPORT=''
594 > PACKAGE_VERSION='1.1.11'
595 > PACKAGE_STRING='hopm 1.1.11'
596 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
597   PACKAGE_URL=''
598  
599   ac_unique_file="src/opercmd.h"
# Line 630 | Line 634 | ac_includes_default="\
634   # include <unistd.h>
635   #endif"
636  
633 enable_option_checking=no
637   ac_subst_vars='am__EXEEXT_FALSE
638   am__EXEEXT_TRUE
639   LTLIBOBJS
640   LIBOBJS
638 subdirs
641   LEXLIB
642   LEX_OUTPUT_ROOT
643   LEX
644   YFLAGS
645   YACC
646   CPP
647 + LT_SYS_LIBRARY_PATH
648   OTOOL64
649   OTOOL
650   LIPO
# Line 678 | Line 681 | am__nodep
681   AMDEPBACKSLASH
682   AMDEP_FALSE
683   AMDEP_TRUE
681 am__quote
684   am__include
685   DEPDIR
686   OBJEXT
# Line 737 | Line 739 | infodir
739   docdir
740   oldincludedir
741   includedir
742 + runstatedir
743   localstatedir
744   sharedstatedir
745   sysconfdir
# Line 755 | Line 758 | PACKAGE_VERSION
758   PACKAGE_TARNAME
759   PACKAGE_NAME
760   PATH_SEPARATOR
761 < SHELL'
761 > SHELL
762 > am__quote'
763   ac_subst_files=''
764   ac_user_opts='
765   enable_option_checking
766   enable_silent_rules
767   enable_maintainer_mode
764 with_extra_fascism
768   enable_dependency_tracking
769   enable_shared
770   enable_static
# Line 771 | Line 774 | with_aix_soname
774   with_gnu_ld
775   with_sysroot
776   enable_libtool_lock
777 + enable_openssl
778 + enable_assert
779 + enable_warnings
780 + enable_efence
781   '
782        ac_precious_vars='build_alias
783   host_alias
# Line 780 | Line 787 | CFLAGS
787   LDFLAGS
788   LIBS
789   CPPFLAGS
790 + LT_SYS_LIBRARY_PATH
791   CPP
792   YACC
793   YFLAGS'
794 < ac_subdirs_all='src/libopm'
794 >
795  
796   # Initialize some variables set by options.
797   ac_init_help=
# Line 821 | Line 829 | datadir='${datarootdir}'
829   sysconfdir='${prefix}/etc'
830   sharedstatedir='${prefix}/com'
831   localstatedir='${prefix}/var'
832 + runstatedir='${localstatedir}/run'
833   includedir='${prefix}/include'
834   oldincludedir='/usr/include'
835   docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# Line 1073 | Line 1082 | do
1082    | -silent | --silent | --silen | --sile | --sil)
1083      silent=yes ;;
1084  
1085 +  -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 +  | --runstate | --runstat | --runsta | --runst | --runs \
1087 +  | --run | --ru | --r)
1088 +    ac_prev=runstatedir ;;
1089 +  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 +  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 +  | --run=* | --ru=* | --r=*)
1092 +    runstatedir=$ac_optarg ;;
1093 +
1094    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095      ac_prev=sbindir ;;
1096    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
# Line 1210 | Line 1228 | fi
1228   for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229                  datadir sysconfdir sharedstatedir localstatedir includedir \
1230                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 <                libdir localedir mandir
1231 >                libdir localedir mandir runstatedir
1232   do
1233    eval ac_val=\$$ac_var
1234    # Remove trailing slashes.
# Line 1323 | Line 1341 | if test "$ac_init_help" = "long"; then
1341    # Omit some internal or obsolete options to make the list less imposing.
1342    # This message is too long to be a string in the A/UX 3.1 sh.
1343    cat <<_ACEOF
1344 < \`configure' configures hopm 1.0.0beta1 to adapt to many kinds of systems.
1344 > \`configure' configures hopm 1.1.11 to adapt to many kinds of systems.
1345  
1346   Usage: $0 [OPTION]... [VAR=VALUE]...
1347  
# Line 1363 | Line 1381 | Fine tuning of the installation director
1381    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1382    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1383    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1384 +  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1385    --libdir=DIR            object code libraries [EPREFIX/lib]
1386    --includedir=DIR        C header files [PREFIX/include]
1387    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
# Line 1393 | Line 1412 | fi
1412  
1413   if test -n "$ac_init_help"; then
1414    case $ac_init_help in
1415 <     short | recursive ) echo "Configuration of hopm 1.0.0beta1:";;
1415 >     short | recursive ) echo "Configuration of hopm 1.1.11:";;
1416     esac
1417    cat <<\_ACEOF
1418  
# Line 1415 | Line 1434 | Optional Features:
1434    --enable-fast-install[=PKGS]
1435                            optimize for fast installation [default=yes]
1436    --disable-libtool-lock  avoid locking (might break parallel builds)
1437 +  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1438 +  --disable-openssl            Disable LibreSSL/OpenSSL support.
1439 +  --enable-assert         Enable assert() statements
1440 +  --enable-warnings       Enable compiler warnings.
1441 +  --enable-efence         Enable linking with Electric Fence 'efence' memory
1442 +                          debugger library.
1443  
1444   Optional Packages:
1445    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1446    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422  --with-extra-fascism    Add extra gcc3-specific warning flags
1447    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1448                            both]
1449    --with-aix-soname=aix|svr4|both
# Line 1437 | Line 1461 | Some influential environment variables:
1461    LIBS        libraries to pass to the linker, e.g. -l<library>
1462    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463                you have headers in a nonstandard directory <include dir>
1464 +  LT_SYS_LIBRARY_PATH
1465 +              User-defined run-time library search path.
1466    CPP         C preprocessor
1467    YACC        The `Yet Another Compiler Compiler' implementation to use.
1468                Defaults to the first program found out of: `bison -y', `byacc',
# Line 1448 | Line 1474 | Some influential environment variables:
1474   Use these variables to override the choices made by `configure' or to help
1475   it to find libraries and programs with nonstandard names/locations.
1476  
1477 < Report bugs to the package provider.
1477 > Report bugs to <bugs@ircd-hybrid.org>.
1478   _ACEOF
1479   ac_status=$?
1480   fi
# Line 1511 | Line 1537 | fi
1537   test -n "$ac_init_help" && exit $ac_status
1538   if $ac_init_version; then
1539    cat <<\_ACEOF
1540 < hopm configure 1.0.0beta1
1540 > hopm configure 1.1.11
1541   generated by GNU Autoconf 2.69
1542  
1543   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1785 | Line 1811 | $as_echo "$ac_res" >&6; }
1811    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812  
1813   } # ac_fn_c_check_func
1788
1789 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1792 # the include files in INCLUDES and setting the cache variable VAR
1793 # accordingly.
1794 ac_fn_c_check_header_mongrel ()
1795 {
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  if eval \${$3+:} false; then :
1798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801  $as_echo_n "(cached) " >&6
1802 fi
1803 eval ac_res=\$$3
1804               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 else
1807  # Is the header compilable?
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1809 $as_echo_n "checking $2 usability... " >&6; }
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h.  */
1812 $4
1813 #include <$2>
1814 _ACEOF
1815 if ac_fn_c_try_compile "$LINENO"; then :
1816  ac_header_compiler=yes
1817 else
1818  ac_header_compiler=no
1819 fi
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1822 $as_echo "$ac_header_compiler" >&6; }
1823
1824 # Is the header present?
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1826 $as_echo_n "checking $2 presence... " >&6; }
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 #include <$2>
1830 _ACEOF
1831 if ac_fn_c_try_cpp "$LINENO"; then :
1832  ac_header_preproc=yes
1833 else
1834  ac_header_preproc=no
1835 fi
1836 rm -f conftest.err conftest.i conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1838 $as_echo "$ac_header_preproc" >&6; }
1839
1840 # So?  What about this header?
1841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842  yes:no: )
1843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1844 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1845    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1847    ;;
1848  no:yes:* )
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1850 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1852 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1854 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1856 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1858 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1859    ;;
1860 esac
1861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864  $as_echo_n "(cached) " >&6
1865 else
1866  eval "$3=\$ac_header_compiler"
1867 fi
1868 eval ac_res=\$$3
1869               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 fi
1872  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874 } # ac_fn_c_check_header_mongrel
1875
1876 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1877 # -------------------------------------------
1878 # Tests whether TYPE exists after having included INCLUDES, setting cache
1879 # variable VAR accordingly.
1880 ac_fn_c_check_type ()
1881 {
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886  $as_echo_n "(cached) " >&6
1887 else
1888  eval "$3=no"
1889  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h.  */
1891 $4
1892 int
1893 main ()
1894 {
1895 if (sizeof ($2))
1896         return 0;
1897  ;
1898  return 0;
1899 }
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h.  */
1904 $4
1905 int
1906 main ()
1907 {
1908 if (sizeof (($2)))
1909            return 0;
1910  ;
1911  return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_compile "$LINENO"; then :
1915
1916 else
1917  eval "$3=yes"
1918 fi
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 fi
1923 eval ac_res=\$$3
1924               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927
1928 } # ac_fn_c_check_type
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.11, 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.11'
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 for ac_func in strftime
12553 do :
12554  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12555 if test "x$ac_cv_func_strftime" = xyes; then :
12556  cat >>confdefs.h <<_ACEOF
12557 #define HAVE_STRFTIME 1
12558 _ACEOF
12559
12560 else
12561  # strftime is in -lintl on SCO UNIX.
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12563 $as_echo_n "checking for strftime in -lintl... " >&6; }
12564 if ${ac_cv_lib_intl_strftime+:} false; then :
12565  $as_echo_n "(cached) " >&6
12566 else
12567  ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-lintl  $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h.  */
12571
12572 /* Override any GCC internal prototype to avoid an error.
12573   Use char because int might match the return type of a GCC
12574   builtin and then its argument prototype would still apply.  */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char strftime ();
12579 int
12580 main ()
12581 {
12582 return strftime ();
12583  ;
12584  return 0;
12585 }
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588  ac_cv_lib_intl_strftime=yes
12589 else
12590  ac_cv_lib_intl_strftime=no
12591 fi
12592 rm -f core conftest.err conftest.$ac_objext \
12593    conftest$ac_exeext conftest.$ac_ext
12594 LIBS=$ac_check_lib_save_LIBS
12595 fi
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12597 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12598 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12599  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12600
12601 LIBS="-lintl $LIBS"
12602 fi
12603
12604 fi
12605 done
12606
12607
12608
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 12813 | 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  
12825 /* Override any GCC internal prototype to avoid an error.
12826   Use char because int might match the return type of a GCC
12827   builtin and then its argument prototype would still apply.  */
12828 #ifdef __cplusplus
12829 extern "C"
12830 #endif
12831 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
12844 <    ac_res=-l$ac_lib
12845 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12846 <  fi
12847 <  if ac_fn_c_try_link "$LINENO"; then :
12848 <  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 :
12853 <  break
12345 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12346 >       CFLAGS="$ssp_old_cflags"
12347 >
12348   fi
12349 < done
12350 < if ${ac_cv_search_socket+:} false; then :
12349 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12350 > $as_echo "$ssp_cv_cc" >&6; }
12351 >    if test $ssp_cv_cc = yes; then
12352 >      CFLAGS="$CFLAGS -fstack-protector-strong"
12353 >
12354 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12355  
12356 +    else
12357 +      unset ssp_cv_cc
12358 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
12359 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
12360 + if ${ssp_cv_cc+:} false; then :
12361 +  $as_echo_n "(cached) " >&6
12362   else
12363 <  ac_cv_search_socket=no
12363 >  ssp_old_cflags="$CFLAGS"
12364 >         CFLAGS="$CFLAGS -fstack-protector"
12365 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 > /* end confdefs.h.  */
12367 >
12368 > int
12369 > main ()
12370 > {
12371 >
12372 >  ;
12373 >  return 0;
12374 > }
12375 > _ACEOF
12376 > if ac_fn_c_try_compile "$LINENO"; then :
12377 >  ssp_cv_cc=yes
12378 > else
12379 >  ssp_cv_cc=no
12380   fi
12381 < rm conftest.$ac_ext
12382 < LIBS=$ac_func_search_save_LIBS
12381 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12382 >         CFLAGS="$ssp_old_cflags"
12383 >
12384   fi
12385 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12386 < $as_echo "$ac_cv_search_socket" >&6; }
12387 < ac_res=$ac_cv_search_socket
12388 < if test "$ac_res" != no; then :
12389 <  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12385 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12386 > $as_echo "$ssp_cv_cc" >&6; }
12387 >      if test $ssp_cv_cc = yes; then
12388 >        CFLAGS="$CFLAGS -fstack-protector"
12389 >
12390 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12391 >
12392 >      fi
12393 >    fi
12394 >  fi
12395  
12396 +
12397 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
12398 + $as_echo_n "checking whether libssp exists... " >&6; }
12399 + if ${ssp_cv_lib+:} false; then :
12400 +  $as_echo_n "(cached) " >&6
12401   else
12402 <  as_fn_error $? "socket library not found" "$LINENO" 5
12402 >  ssp_old_libs="$LIBS"
12403 >     LIBS="$LIBS -lssp"
12404 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 > /* end confdefs.h.  */
12406 >
12407 > int
12408 > main ()
12409 > {
12410 >
12411 >  ;
12412 >  return 0;
12413 > }
12414 > _ACEOF
12415 > if ac_fn_c_try_link "$LINENO"; then :
12416 >  ssp_cv_lib=yes
12417 > else
12418 >  ssp_cv_lib=no
12419 > fi
12420 > rm -f core conftest.err conftest.$ac_objext \
12421 >    conftest$ac_exeext conftest.$ac_ext
12422 >     LIBS="$ssp_old_libs"
12423 >
12424   fi
12425 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
12426 + $as_echo "$ssp_cv_lib" >&6; }
12427 +  if test $ssp_cv_lib = yes; then
12428 +    LIBS="$LIBS -lssp"
12429 +  fi
12430 +
12431  
12432 < ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12432 >
12433 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12434   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12435  
12436   else
# Line 12933 | 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 12995 | 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
13009 done
12748  
12749 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12750 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
12751 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
12752 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
12753 +  $as_echo_n "(cached) " >&6
12754 + else
12755 +  ac_check_lib_save_LIBS=$LIBS
12756 + LIBS="-lssl  $LIBS"
12757 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 + /* end confdefs.h.  */
12759  
12760 < for ac_func in gethostbyname
12761 < do :
12762 <  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12763 < if test "x$ac_cv_func_gethostbyname" = xyes; then :
12760 > /* Override any GCC internal prototype to avoid an error.
12761 >   Use char because int might match the return type of a GCC
12762 >   builtin and then its argument prototype would still apply.  */
12763 > #ifdef __cplusplus
12764 > extern "C"
12765 > #endif
12766 > char SSL_connect ();
12767 > int
12768 > main ()
12769 > {
12770 > return SSL_connect ();
12771 >  ;
12772 >  return 0;
12773 > }
12774 > _ACEOF
12775 > if ac_fn_c_try_link "$LINENO"; then :
12776 >  ac_cv_lib_ssl_SSL_connect=yes
12777 > else
12778 >  ac_cv_lib_ssl_SSL_connect=no
12779 > fi
12780 > rm -f core conftest.err conftest.$ac_objext \
12781 >    conftest$ac_exeext conftest.$ac_ext
12782 > LIBS=$ac_check_lib_save_LIBS
12783 > fi
12784 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
12785 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
12786 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
12787    cat >>confdefs.h <<_ACEOF
12788 < #define HAVE_GETHOSTBYNAME 1
12788 > #define HAVE_LIBSSL 1
12789 > _ACEOF
12790 >
12791 >  LIBS="-lssl $LIBS"
12792 >
12793 > fi
12794 >
12795 > fi
12796 >
12797 > else
12798 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
12799 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
12800 >    cf_enable_openssl="no"
12801 > fi
12802 > fi
12803 >
12804 >
12805 >  # Check whether --enable-assert was given.
12806 > if test "${enable_assert+set}" = set; then :
12807 >  enableval=$enable_assert; assert=$enableval
12808 > else
12809 >  assert=no
12810 > fi
12811 >
12812 >
12813 >  if test "$assert" = "no"; then :
12814 >
12815 > $as_echo "#define NDEBUG 1" >>confdefs.h
12816 >
12817 > fi
12818 >
12819 >
12820 >  # Check whether --enable-warnings was given.
12821 > if test "${enable_warnings+set}" = set; then :
12822 >  enableval=$enable_warnings; warnings="$enableval"
12823 > else
12824 >  warnings="no"
12825 > fi
12826 >
12827 >
12828 >  if test "$warnings" = "yes"; then :
12829 >
12830 >
12831 >
12832 >
12833 >
12834 > for flag in -Werror=unknown-warning-option; do
12835 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12836 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12837 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12838 > if eval \${$as_CACHEVAR+:} false; then :
12839 >  $as_echo_n "(cached) " >&6
12840 > else
12841 >
12842 >  ax_check_save_flags=$CFLAGS
12843 >  CFLAGS="$CFLAGS  $flag"
12844 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 > /* end confdefs.h.  */
12846 >
12847 > int
12848 > main ()
12849 > {
12850 >
12851 >  ;
12852 >  return 0;
12853 > }
12854   _ACEOF
12855 + if ac_fn_c_try_compile "$LINENO"; then :
12856 +  eval "$as_CACHEVAR=yes"
12857 + else
12858 +  eval "$as_CACHEVAR=no"
12859 + fi
12860 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12861 +  CFLAGS=$ax_check_save_flags
12862 + fi
12863 + eval ac_res=\$$as_CACHEVAR
12864 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12865 + $as_echo "$ac_res" >&6; }
12866 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12867 +
12868 + if ${CFLAGS+:} false; then :
12869 +
12870 +  case " $CFLAGS " in #(
12871 +  *" $flag "*) :
12872 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12873 +  (: CFLAGS already contains $flag) 2>&5
12874 +  ac_status=$?
12875 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12876 +  test $ac_status = 0; } ;; #(
12877 +  *) :
12878 +
12879 +     as_fn_append CFLAGS " $flag"
12880 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12881 +  (: CFLAGS="$CFLAGS") 2>&5
12882 +  ac_status=$?
12883 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884 +  test $ac_status = 0; }
12885 +     ;;
12886 + esac
12887 +
12888 + else
12889 +
12890 +  CFLAGS=$flag
12891 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12892 +  (: CFLAGS="$CFLAGS") 2>&5
12893 +  ac_status=$?
12894 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12895 +  test $ac_status = 0; }
12896 +
12897 + fi
12898  
12899 + else
12900 +  :
12901   fi
12902 +
12903   done
12904  
12905  
12906 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12907 < $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12908 < if ${ac_cv_c_bigendian+:} false; then :
12906 >
12907 >
12908 >
12909 >
12910 > for flag in -Wall; do
12911 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12912 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12913 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12914 > if eval \${$as_CACHEVAR+:} false; then :
12915    $as_echo_n "(cached) " >&6
12916   else
12917 <  ac_cv_c_bigendian=unknown
12918 <    # See if we're dealing with a universal compiler.
12919 <    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 >
12918 >  ax_check_save_flags=$CFLAGS
12919 >  CFLAGS="$CFLAGS  $flag"
12920 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921   /* end confdefs.h.  */
13033 #ifndef __APPLE_CC__
13034               not a universal capable compiler
13035             #endif
13036             typedef int dummy;
12922  
12923 + int
12924 + main ()
12925 + {
12926 +
12927 +  ;
12928 +  return 0;
12929 + }
12930   _ACEOF
12931   if ac_fn_c_try_compile "$LINENO"; then :
12932 +  eval "$as_CACHEVAR=yes"
12933 + else
12934 +  eval "$as_CACHEVAR=no"
12935 + fi
12936 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12937 +  CFLAGS=$ax_check_save_flags
12938 + fi
12939 + eval ac_res=\$$as_CACHEVAR
12940 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12941 + $as_echo "$ac_res" >&6; }
12942 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12943 +
12944 + if ${CFLAGS+:} false; then :
12945 +
12946 +  case " $CFLAGS " in #(
12947 +  *" $flag "*) :
12948 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12949 +  (: CFLAGS already contains $flag) 2>&5
12950 +  ac_status=$?
12951 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12952 +  test $ac_status = 0; } ;; #(
12953 +  *) :
12954 +
12955 +     as_fn_append CFLAGS " $flag"
12956 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12957 +  (: CFLAGS="$CFLAGS") 2>&5
12958 +  ac_status=$?
12959 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12960 +  test $ac_status = 0; }
12961 +     ;;
12962 + esac
12963 +
12964 + else
12965 +
12966 +  CFLAGS=$flag
12967 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12968 +  (: CFLAGS="$CFLAGS") 2>&5
12969 +  ac_status=$?
12970 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12971 +  test $ac_status = 0; }
12972  
12973 <        # Check for potential -arch flags.  It is not universal unless
12974 <        # there are at least two -arch flags with different values.
12975 <        ac_arch=
12976 <        ac_prev=
12977 <        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12978 <         if test -n "$ac_prev"; then
12979 <           case $ac_word in
12980 <             i?86 | x86_64 | ppc | ppc64)
12981 <               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12982 <                 ac_arch=$ac_word
12983 <               else
12984 <                 ac_cv_c_bigendian=universal
12985 <                 break
12986 <               fi
12987 <               ;;
12988 <           esac
12989 <           ac_prev=
12990 <         elif test "x$ac_word" = "x-arch"; then
12991 <           ac_prev=arch
12992 <         fi
12993 <       done
12973 > fi
12974 >
12975 > else
12976 >  :
12977 > fi
12978 >
12979 > done
12980 >
12981 >
12982 >
12983 >
12984 >
12985 > for flag in -Wbad-function-cast; do
12986 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12987 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12988 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12989 > if eval \${$as_CACHEVAR+:} false; then :
12990 >  $as_echo_n "(cached) " >&6
12991 > else
12992 >
12993 >  ax_check_save_flags=$CFLAGS
12994 >  CFLAGS="$CFLAGS  $flag"
12995 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 > /* end confdefs.h.  */
12997 >
12998 > int
12999 > main ()
13000 > {
13001 >
13002 >  ;
13003 >  return 0;
13004 > }
13005 > _ACEOF
13006 > if ac_fn_c_try_compile "$LINENO"; then :
13007 >  eval "$as_CACHEVAR=yes"
13008 > else
13009 >  eval "$as_CACHEVAR=no"
13010   fi
13011   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13012 <    if test $ac_cv_c_bigendian = unknown; then
13013 <      # See if sys/param.h defines the BYTE_ORDER macro.
13014 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 >  CFLAGS=$ax_check_save_flags
13013 > fi
13014 > eval ac_res=\$$as_CACHEVAR
13015 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13016 > $as_echo "$ac_res" >&6; }
13017 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13018 >
13019 > if ${CFLAGS+:} false; then :
13020 >
13021 >  case " $CFLAGS " in #(
13022 >  *" $flag "*) :
13023 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13024 >  (: CFLAGS already contains $flag) 2>&5
13025 >  ac_status=$?
13026 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13027 >  test $ac_status = 0; } ;; #(
13028 >  *) :
13029 >
13030 >     as_fn_append CFLAGS " $flag"
13031 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13032 >  (: CFLAGS="$CFLAGS") 2>&5
13033 >  ac_status=$?
13034 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13035 >  test $ac_status = 0; }
13036 >     ;;
13037 > esac
13038 >
13039 > else
13040 >
13041 >  CFLAGS=$flag
13042 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13043 >  (: CFLAGS="$CFLAGS") 2>&5
13044 >  ac_status=$?
13045 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13046 >  test $ac_status = 0; }
13047 >
13048 > fi
13049 >
13050 > else
13051 >  :
13052 > fi
13053 >
13054 > done
13055 >
13056 >
13057 >
13058 >
13059 >
13060 > for flag in -Wcast-align; do
13061 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13062 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13063 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13064 > if eval \${$as_CACHEVAR+:} false; then :
13065 >  $as_echo_n "(cached) " >&6
13066 > else
13067 >
13068 >  ax_check_save_flags=$CFLAGS
13069 >  CFLAGS="$CFLAGS  $flag"
13070 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071   /* end confdefs.h.  */
13068 #include <sys/types.h>
13069             #include <sys/param.h>
13072  
13073   int
13074   main ()
13075   {
13074 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13075                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13076                     && LITTLE_ENDIAN)
13077              bogus endian macros
13078             #endif
13076  
13077    ;
13078    return 0;
13079   }
13080   _ACEOF
13081   if ac_fn_c_try_compile "$LINENO"; then :
13082 <  # It does; now see whether it defined to BIG_ENDIAN or not.
13083 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 >  eval "$as_CACHEVAR=yes"
13083 > else
13084 >  eval "$as_CACHEVAR=no"
13085 > fi
13086 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13087 >  CFLAGS=$ax_check_save_flags
13088 > fi
13089 > eval ac_res=\$$as_CACHEVAR
13090 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13091 > $as_echo "$ac_res" >&6; }
13092 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13093 >
13094 > if ${CFLAGS+:} false; then :
13095 >
13096 >  case " $CFLAGS " in #(
13097 >  *" $flag "*) :
13098 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13099 >  (: CFLAGS already contains $flag) 2>&5
13100 >  ac_status=$?
13101 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13102 >  test $ac_status = 0; } ;; #(
13103 >  *) :
13104 >
13105 >     as_fn_append CFLAGS " $flag"
13106 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13107 >  (: CFLAGS="$CFLAGS") 2>&5
13108 >  ac_status=$?
13109 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13110 >  test $ac_status = 0; }
13111 >     ;;
13112 > esac
13113 >
13114 > else
13115 >
13116 >  CFLAGS=$flag
13117 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13118 >  (: CFLAGS="$CFLAGS") 2>&5
13119 >  ac_status=$?
13120 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121 >  test $ac_status = 0; }
13122 >
13123 > fi
13124 >
13125 > else
13126 >  :
13127 > fi
13128 >
13129 > done
13130 >
13131 >
13132 >
13133 >
13134 >
13135 > for flag in -Wcast-function-type; do
13136 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13137 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13138 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13139 > if eval \${$as_CACHEVAR+:} false; then :
13140 >  $as_echo_n "(cached) " >&6
13141 > else
13142 >
13143 >  ax_check_save_flags=$CFLAGS
13144 >  CFLAGS="$CFLAGS  $flag"
13145 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146   /* end confdefs.h.  */
13088 #include <sys/types.h>
13089                #include <sys/param.h>
13147  
13148   int
13149   main ()
13150   {
13094 #if BYTE_ORDER != BIG_ENDIAN
13095                 not big endian
13096                #endif
13151  
13152    ;
13153    return 0;
13154   }
13155   _ACEOF
13156   if ac_fn_c_try_compile "$LINENO"; then :
13157 <  ac_cv_c_bigendian=yes
13157 >  eval "$as_CACHEVAR=yes"
13158   else
13159 <  ac_cv_c_bigendian=no
13159 >  eval "$as_CACHEVAR=no"
13160   fi
13161   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13162 +  CFLAGS=$ax_check_save_flags
13163 + fi
13164 + eval ac_res=\$$as_CACHEVAR
13165 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13166 + $as_echo "$ac_res" >&6; }
13167 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13168 +
13169 + if ${CFLAGS+:} false; then :
13170 +
13171 +  case " $CFLAGS " in #(
13172 +  *" $flag "*) :
13173 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13174 +  (: CFLAGS already contains $flag) 2>&5
13175 +  ac_status=$?
13176 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13177 +  test $ac_status = 0; } ;; #(
13178 +  *) :
13179 +
13180 +     as_fn_append CFLAGS " $flag"
13181 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13182 +  (: CFLAGS="$CFLAGS") 2>&5
13183 +  ac_status=$?
13184 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13185 +  test $ac_status = 0; }
13186 +     ;;
13187 + esac
13188 +
13189 + else
13190 +
13191 +  CFLAGS=$flag
13192 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13193 +  (: CFLAGS="$CFLAGS") 2>&5
13194 +  ac_status=$?
13195 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13196 +  test $ac_status = 0; }
13197 +
13198 + fi
13199 +
13200 + else
13201 +  :
13202 + fi
13203 +
13204 + done
13205 +
13206 +
13207 +
13208 +
13209 +
13210 + for flag in -Wcast-qual; do
13211 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13212 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13213 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13214 + if eval \${$as_CACHEVAR+:} false; then :
13215 +  $as_echo_n "(cached) " >&6
13216 + else
13217 +
13218 +  ax_check_save_flags=$CFLAGS
13219 +  CFLAGS="$CFLAGS  $flag"
13220 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 + /* end confdefs.h.  */
13222 +
13223 + int
13224 + main ()
13225 + {
13226 +
13227 +  ;
13228 +  return 0;
13229 + }
13230 + _ACEOF
13231 + if ac_fn_c_try_compile "$LINENO"; then :
13232 +  eval "$as_CACHEVAR=yes"
13233 + else
13234 +  eval "$as_CACHEVAR=no"
13235   fi
13236   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13237 <    fi
13238 <    if test $ac_cv_c_bigendian = unknown; then
13239 <      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13240 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 >  CFLAGS=$ax_check_save_flags
13238 > fi
13239 > eval ac_res=\$$as_CACHEVAR
13240 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13241 > $as_echo "$ac_res" >&6; }
13242 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13243 >
13244 > if ${CFLAGS+:} false; then :
13245 >
13246 >  case " $CFLAGS " in #(
13247 >  *" $flag "*) :
13248 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13249 >  (: CFLAGS already contains $flag) 2>&5
13250 >  ac_status=$?
13251 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252 >  test $ac_status = 0; } ;; #(
13253 >  *) :
13254 >
13255 >     as_fn_append CFLAGS " $flag"
13256 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13257 >  (: CFLAGS="$CFLAGS") 2>&5
13258 >  ac_status=$?
13259 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 >  test $ac_status = 0; }
13261 >     ;;
13262 > esac
13263 >
13264 > else
13265 >
13266 >  CFLAGS=$flag
13267 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13268 >  (: CFLAGS="$CFLAGS") 2>&5
13269 >  ac_status=$?
13270 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13271 >  test $ac_status = 0; }
13272 >
13273 > fi
13274 >
13275 > else
13276 >  :
13277 > fi
13278 >
13279 > done
13280 >
13281 >
13282 >
13283 >
13284 >
13285 > for flag in -Wclobbered; do
13286 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13287 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13288 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13289 > if eval \${$as_CACHEVAR+:} false; then :
13290 >  $as_echo_n "(cached) " >&6
13291 > else
13292 >
13293 >  ax_check_save_flags=$CFLAGS
13294 >  CFLAGS="$CFLAGS  $flag"
13295 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296   /* end confdefs.h.  */
13115 #include <limits.h>
13297  
13298   int
13299   main ()
13300   {
13120 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13121              bogus endian macros
13122             #endif
13301  
13302    ;
13303    return 0;
13304   }
13305   _ACEOF
13306   if ac_fn_c_try_compile "$LINENO"; then :
13307 <  # It does; now see whether it defined to _BIG_ENDIAN or not.
13308 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 >  eval "$as_CACHEVAR=yes"
13308 > else
13309 >  eval "$as_CACHEVAR=no"
13310 > fi
13311 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13312 >  CFLAGS=$ax_check_save_flags
13313 > fi
13314 > eval ac_res=\$$as_CACHEVAR
13315 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13316 > $as_echo "$ac_res" >&6; }
13317 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13318 >
13319 > if ${CFLAGS+:} false; then :
13320 >
13321 >  case " $CFLAGS " in #(
13322 >  *" $flag "*) :
13323 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13324 >  (: CFLAGS already contains $flag) 2>&5
13325 >  ac_status=$?
13326 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327 >  test $ac_status = 0; } ;; #(
13328 >  *) :
13329 >
13330 >     as_fn_append CFLAGS " $flag"
13331 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13332 >  (: CFLAGS="$CFLAGS") 2>&5
13333 >  ac_status=$?
13334 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13335 >  test $ac_status = 0; }
13336 >     ;;
13337 > esac
13338 >
13339 > else
13340 >
13341 >  CFLAGS=$flag
13342 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13343 >  (: CFLAGS="$CFLAGS") 2>&5
13344 >  ac_status=$?
13345 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13346 >  test $ac_status = 0; }
13347 >
13348 > fi
13349 >
13350 > else
13351 >  :
13352 > fi
13353 >
13354 > done
13355 >
13356 >
13357 >
13358 >
13359 >
13360 > for flag in -Wduplicated-cond; do
13361 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13362 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13363 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13364 > if eval \${$as_CACHEVAR+:} false; then :
13365 >  $as_echo_n "(cached) " >&6
13366 > else
13367 >
13368 >  ax_check_save_flags=$CFLAGS
13369 >  CFLAGS="$CFLAGS  $flag"
13370 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 > /* end confdefs.h.  */
13372 >
13373 > int
13374 > main ()
13375 > {
13376 >
13377 >  ;
13378 >  return 0;
13379 > }
13380 > _ACEOF
13381 > if ac_fn_c_try_compile "$LINENO"; then :
13382 >  eval "$as_CACHEVAR=yes"
13383 > else
13384 >  eval "$as_CACHEVAR=no"
13385 > fi
13386 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13387 >  CFLAGS=$ax_check_save_flags
13388 > fi
13389 > eval ac_res=\$$as_CACHEVAR
13390 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13391 > $as_echo "$ac_res" >&6; }
13392 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13393 >
13394 > if ${CFLAGS+:} false; then :
13395 >
13396 >  case " $CFLAGS " in #(
13397 >  *" $flag "*) :
13398 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13399 >  (: CFLAGS already contains $flag) 2>&5
13400 >  ac_status=$?
13401 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13402 >  test $ac_status = 0; } ;; #(
13403 >  *) :
13404 >
13405 >     as_fn_append CFLAGS " $flag"
13406 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13407 >  (: CFLAGS="$CFLAGS") 2>&5
13408 >  ac_status=$?
13409 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410 >  test $ac_status = 0; }
13411 >     ;;
13412 > esac
13413 >
13414 > else
13415 >
13416 >  CFLAGS=$flag
13417 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13418 >  (: CFLAGS="$CFLAGS") 2>&5
13419 >  ac_status=$?
13420 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13421 >  test $ac_status = 0; }
13422 >
13423 > fi
13424 >
13425 > else
13426 >  :
13427 > fi
13428 >
13429 > done
13430 >
13431 >
13432 >
13433 >
13434 >
13435 > for flag in -Wempty-body; do
13436 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13437 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13438 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13439 > if eval \${$as_CACHEVAR+:} false; then :
13440 >  $as_echo_n "(cached) " >&6
13441 > else
13442 >
13443 >  ax_check_save_flags=$CFLAGS
13444 >  CFLAGS="$CFLAGS  $flag"
13445 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446   /* end confdefs.h.  */
13132 #include <limits.h>
13447  
13448   int
13449   main ()
13450   {
13137 #ifndef _BIG_ENDIAN
13138                 not big endian
13139                #endif
13451  
13452    ;
13453    return 0;
13454   }
13455   _ACEOF
13456   if ac_fn_c_try_compile "$LINENO"; then :
13457 <  ac_cv_c_bigendian=yes
13457 >  eval "$as_CACHEVAR=yes"
13458   else
13459 <  ac_cv_c_bigendian=no
13459 >  eval "$as_CACHEVAR=no"
13460   fi
13461   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 +  CFLAGS=$ax_check_save_flags
13463 + fi
13464 + eval ac_res=\$$as_CACHEVAR
13465 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13466 + $as_echo "$ac_res" >&6; }
13467 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13468 +
13469 + if ${CFLAGS+:} false; then :
13470 +
13471 +  case " $CFLAGS " in #(
13472 +  *" $flag "*) :
13473 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13474 +  (: CFLAGS already contains $flag) 2>&5
13475 +  ac_status=$?
13476 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13477 +  test $ac_status = 0; } ;; #(
13478 +  *) :
13479 +
13480 +     as_fn_append CFLAGS " $flag"
13481 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13482 +  (: CFLAGS="$CFLAGS") 2>&5
13483 +  ac_status=$?
13484 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13485 +  test $ac_status = 0; }
13486 +     ;;
13487 + esac
13488 +
13489 + else
13490 +
13491 +  CFLAGS=$flag
13492 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13493 +  (: CFLAGS="$CFLAGS") 2>&5
13494 +  ac_status=$?
13495 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13496 +  test $ac_status = 0; }
13497 +
13498 + fi
13499 +
13500 + else
13501 +  :
13502 + fi
13503 +
13504 + done
13505 +
13506 +
13507 +
13508 +
13509 +
13510 + for flag in -Wignored-qualifiers; do
13511 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13512 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13513 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13514 + if eval \${$as_CACHEVAR+:} false; then :
13515 +  $as_echo_n "(cached) " >&6
13516 + else
13517 +
13518 +  ax_check_save_flags=$CFLAGS
13519 +  CFLAGS="$CFLAGS  $flag"
13520 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 + /* end confdefs.h.  */
13522 +
13523 + int
13524 + main ()
13525 + {
13526 +
13527 +  ;
13528 +  return 0;
13529 + }
13530 + _ACEOF
13531 + if ac_fn_c_try_compile "$LINENO"; then :
13532 +  eval "$as_CACHEVAR=yes"
13533 + else
13534 +  eval "$as_CACHEVAR=no"
13535   fi
13536   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13537 <    fi
13538 <    if test $ac_cv_c_bigendian = unknown; then
13539 <      # Compile a test program.
13540 <      if test "$cross_compiling" = yes; then :
13541 <  # Try to guess by grepping values from an object file.
13542 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 >  CFLAGS=$ax_check_save_flags
13538 > fi
13539 > eval ac_res=\$$as_CACHEVAR
13540 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13541 > $as_echo "$ac_res" >&6; }
13542 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13543 >
13544 > if ${CFLAGS+:} false; then :
13545 >
13546 >  case " $CFLAGS " in #(
13547 >  *" $flag "*) :
13548 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13549 >  (: CFLAGS already contains $flag) 2>&5
13550 >  ac_status=$?
13551 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552 >  test $ac_status = 0; } ;; #(
13553 >  *) :
13554 >
13555 >     as_fn_append CFLAGS " $flag"
13556 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13557 >  (: CFLAGS="$CFLAGS") 2>&5
13558 >  ac_status=$?
13559 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13560 >  test $ac_status = 0; }
13561 >     ;;
13562 > esac
13563 >
13564 > else
13565 >
13566 >  CFLAGS=$flag
13567 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13568 >  (: CFLAGS="$CFLAGS") 2>&5
13569 >  ac_status=$?
13570 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13571 >  test $ac_status = 0; }
13572 >
13573 > fi
13574 >
13575 > else
13576 >  :
13577 > fi
13578 >
13579 > done
13580 >
13581 >
13582 >
13583 >
13584 >
13585 > for flag in -Wlogical-op; do
13586 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13587 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13588 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13589 > if eval \${$as_CACHEVAR+:} false; then :
13590 >  $as_echo_n "(cached) " >&6
13591 > else
13592 >
13593 >  ax_check_save_flags=$CFLAGS
13594 >  CFLAGS="$CFLAGS  $flag"
13595 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596   /* end confdefs.h.  */
13160 short int ascii_mm[] =
13161                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13162                short int ascii_ii[] =
13163                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13164                int use_ascii (int i) {
13165                  return ascii_mm[i] + ascii_ii[i];
13166                }
13167                short int ebcdic_ii[] =
13168                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13169                short int ebcdic_mm[] =
13170                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13171                int use_ebcdic (int i) {
13172                  return ebcdic_mm[i] + ebcdic_ii[i];
13173                }
13174                extern int foo;
13597  
13598   int
13599   main ()
13600   {
13601 < return use_ascii (foo) == use_ebcdic (foo);
13601 >
13602    ;
13603    return 0;
13604   }
13605   _ACEOF
13606   if ac_fn_c_try_compile "$LINENO"; then :
13607 <  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13608 <              ac_cv_c_bigendian=yes
13609 <            fi
13188 <            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13189 <              if test "$ac_cv_c_bigendian" = unknown; then
13190 <                ac_cv_c_bigendian=no
13191 <              else
13192 <                # finding both strings is unlikely to happen, but who knows?
13193 <                ac_cv_c_bigendian=unknown
13194 <              fi
13195 <            fi
13607 >  eval "$as_CACHEVAR=yes"
13608 > else
13609 >  eval "$as_CACHEVAR=no"
13610   fi
13611   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13612 +  CFLAGS=$ax_check_save_flags
13613 + fi
13614 + eval ac_res=\$$as_CACHEVAR
13615 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13616 + $as_echo "$ac_res" >&6; }
13617 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13618 +
13619 + if ${CFLAGS+:} false; then :
13620 +
13621 +  case " $CFLAGS " in #(
13622 +  *" $flag "*) :
13623 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13624 +  (: CFLAGS already contains $flag) 2>&5
13625 +  ac_status=$?
13626 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627 +  test $ac_status = 0; } ;; #(
13628 +  *) :
13629 +
13630 +     as_fn_append CFLAGS " $flag"
13631 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13632 +  (: CFLAGS="$CFLAGS") 2>&5
13633 +  ac_status=$?
13634 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13635 +  test $ac_status = 0; }
13636 +     ;;
13637 + esac
13638 +
13639 + else
13640 +
13641 +  CFLAGS=$flag
13642 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13643 +  (: CFLAGS="$CFLAGS") 2>&5
13644 +  ac_status=$?
13645 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13646 +  test $ac_status = 0; }
13647 +
13648 + fi
13649 +
13650   else
13651 +  :
13652 + fi
13653 +
13654 + done
13655 +
13656 +
13657 +
13658 +
13659 +
13660 + for flag in -Wmissing-declarations; do
13661 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13662 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13663 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13664 + if eval \${$as_CACHEVAR+:} false; then :
13665 +  $as_echo_n "(cached) " >&6
13666 + else
13667 +
13668 +  ax_check_save_flags=$CFLAGS
13669 +  CFLAGS="$CFLAGS  $flag"
13670    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671   /* end confdefs.h.  */
13672 < $ac_includes_default
13672 >
13673   int
13674   main ()
13675   {
13676  
13677 <             /* Are we little or big endian?  From Harbison&Steele.  */
13678 <             union
13679 <             {
13680 <               long int l;
13681 <               char c[sizeof (long int)];
13682 <             } u;
13683 <             u.l = 1;
13684 <             return u.c[sizeof (long int) - 1] == 1;
13677 >  ;
13678 >  return 0;
13679 > }
13680 > _ACEOF
13681 > if ac_fn_c_try_compile "$LINENO"; then :
13682 >  eval "$as_CACHEVAR=yes"
13683 > else
13684 >  eval "$as_CACHEVAR=no"
13685 > fi
13686 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13687 >  CFLAGS=$ax_check_save_flags
13688 > fi
13689 > eval ac_res=\$$as_CACHEVAR
13690 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13691 > $as_echo "$ac_res" >&6; }
13692 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13693 >
13694 > if ${CFLAGS+:} false; then :
13695 >
13696 >  case " $CFLAGS " in #(
13697 >  *" $flag "*) :
13698 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13699 >  (: CFLAGS already contains $flag) 2>&5
13700 >  ac_status=$?
13701 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13702 >  test $ac_status = 0; } ;; #(
13703 >  *) :
13704 >
13705 >     as_fn_append CFLAGS " $flag"
13706 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13707 >  (: CFLAGS="$CFLAGS") 2>&5
13708 >  ac_status=$?
13709 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13710 >  test $ac_status = 0; }
13711 >     ;;
13712 > esac
13713 >
13714 > else
13715 >
13716 >  CFLAGS=$flag
13717 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13718 >  (: CFLAGS="$CFLAGS") 2>&5
13719 >  ac_status=$?
13720 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13721 >  test $ac_status = 0; }
13722 >
13723 > fi
13724 >
13725 > else
13726 >  :
13727 > fi
13728 >
13729 > done
13730 >
13731 >
13732 >
13733 >
13734 >
13735 > for flag in -Wmissing-field-initializers; do
13736 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13737 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13738 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13739 > if eval \${$as_CACHEVAR+:} false; then :
13740 >  $as_echo_n "(cached) " >&6
13741 > else
13742 >
13743 >  ax_check_save_flags=$CFLAGS
13744 >  CFLAGS="$CFLAGS  $flag"
13745 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 > /* end confdefs.h.  */
13747 >
13748 > int
13749 > main ()
13750 > {
13751  
13752    ;
13753    return 0;
13754   }
13755   _ACEOF
13756 < if ac_fn_c_try_run "$LINENO"; then :
13757 <  ac_cv_c_bigendian=no
13756 > if ac_fn_c_try_compile "$LINENO"; then :
13757 >  eval "$as_CACHEVAR=yes"
13758   else
13759 <  ac_cv_c_bigendian=yes
13759 >  eval "$as_CACHEVAR=no"
13760   fi
13761 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13762 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13761 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 >  CFLAGS=$ax_check_save_flags
13763   fi
13764 + eval ac_res=\$$as_CACHEVAR
13765 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13766 + $as_echo "$ac_res" >&6; }
13767 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13768 +
13769 + if ${CFLAGS+:} false; then :
13770 +
13771 +  case " $CFLAGS " in #(
13772 +  *" $flag "*) :
13773 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13774 +  (: CFLAGS already contains $flag) 2>&5
13775 +  ac_status=$?
13776 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13777 +  test $ac_status = 0; } ;; #(
13778 +  *) :
13779 +
13780 +     as_fn_append CFLAGS " $flag"
13781 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13782 +  (: CFLAGS="$CFLAGS") 2>&5
13783 +  ac_status=$?
13784 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13785 +  test $ac_status = 0; }
13786 +     ;;
13787 + esac
13788 +
13789 + else
13790 +
13791 +  CFLAGS=$flag
13792 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13793 +  (: CFLAGS="$CFLAGS") 2>&5
13794 +  ac_status=$?
13795 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13796 +  test $ac_status = 0; }
13797  
13228    fi
13798   fi
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13231 $as_echo "$ac_cv_c_bigendian" >&6; }
13232 case $ac_cv_c_bigendian in #(
13233   yes)
13234     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13235 ;; #(
13236   no)
13237      ;; #(
13238   universal)
13799  
13800 < $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13800 > else
13801 >  :
13802 > fi
13803 >
13804 > done
13805 >
13806  
13242     ;; #(
13243   *)
13244     as_fn_error $? "unknown endianness
13245 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13246 esac
13807  
13808  
13809 < # The cast to long int works around a bug in the HP C Compiler
13810 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13811 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13812 < # This bug is HP SR number 8606223364.
13813 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13814 < $as_echo_n "checking size of int... " >&6; }
13255 < if ${ac_cv_sizeof_int+:} false; then :
13809 >
13810 > for flag in -Wmissing-include-dirs; do
13811 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13812 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13813 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13814 > if eval \${$as_CACHEVAR+:} false; then :
13815    $as_echo_n "(cached) " >&6
13816   else
13258  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13817  
13818 +  ax_check_save_flags=$CFLAGS
13819 +  CFLAGS="$CFLAGS  $flag"
13820 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 + /* end confdefs.h.  */
13822 +
13823 + int
13824 + main ()
13825 + {
13826 +
13827 +  ;
13828 +  return 0;
13829 + }
13830 + _ACEOF
13831 + if ac_fn_c_try_compile "$LINENO"; then :
13832 +  eval "$as_CACHEVAR=yes"
13833   else
13834 <  if test "$ac_cv_type_int" = yes; then
13835 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13836 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13837 < as_fn_error 77 "cannot compute sizeof (int)
13265 < See \`config.log' for more details" "$LINENO" 5; }
13266 <   else
13267 <     ac_cv_sizeof_int=0
13268 <   fi
13834 >  eval "$as_CACHEVAR=no"
13835 > fi
13836 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13837 >  CFLAGS=$ax_check_save_flags
13838   fi
13839 + eval ac_res=\$$as_CACHEVAR
13840 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13841 + $as_echo "$ac_res" >&6; }
13842 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13843 +
13844 + if ${CFLAGS+:} false; then :
13845 +
13846 +  case " $CFLAGS " in #(
13847 +  *" $flag "*) :
13848 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13849 +  (: CFLAGS already contains $flag) 2>&5
13850 +  ac_status=$?
13851 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13852 +  test $ac_status = 0; } ;; #(
13853 +  *) :
13854 +
13855 +     as_fn_append CFLAGS " $flag"
13856 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13857 +  (: CFLAGS="$CFLAGS") 2>&5
13858 +  ac_status=$?
13859 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860 +  test $ac_status = 0; }
13861 +     ;;
13862 + esac
13863 +
13864 + else
13865 +
13866 +  CFLAGS=$flag
13867 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13868 +  (: CFLAGS="$CFLAGS") 2>&5
13869 +  ac_status=$?
13870 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13871 +  test $ac_status = 0; }
13872  
13873   fi
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13273 $as_echo "$ac_cv_sizeof_int" >&6; }
13874  
13875 + else
13876 +  :
13877 + fi
13878  
13879 + done
13880  
13881 < cat >>confdefs.h <<_ACEOF
13882 < #define SIZEOF_INT $ac_cv_sizeof_int
13881 >
13882 >
13883 >
13884 >
13885 > for flag in -Wmissing-parameter-type; do
13886 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13887 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13888 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13889 > if eval \${$as_CACHEVAR+:} false; then :
13890 >  $as_echo_n "(cached) " >&6
13891 > else
13892 >
13893 >  ax_check_save_flags=$CFLAGS
13894 >  CFLAGS="$CFLAGS  $flag"
13895 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 > /* end confdefs.h.  */
13897 >
13898 > int
13899 > main ()
13900 > {
13901 >
13902 >  ;
13903 >  return 0;
13904 > }
13905 > _ACEOF
13906 > if ac_fn_c_try_compile "$LINENO"; then :
13907 >  eval "$as_CACHEVAR=yes"
13908 > else
13909 >  eval "$as_CACHEVAR=no"
13910 > fi
13911 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912 >  CFLAGS=$ax_check_save_flags
13913 > fi
13914 > eval ac_res=\$$as_CACHEVAR
13915 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13916 > $as_echo "$ac_res" >&6; }
13917 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13918 >
13919 > if ${CFLAGS+:} false; then :
13920 >
13921 >  case " $CFLAGS " in #(
13922 >  *" $flag "*) :
13923 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13924 >  (: CFLAGS already contains $flag) 2>&5
13925 >  ac_status=$?
13926 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13927 >  test $ac_status = 0; } ;; #(
13928 >  *) :
13929 >
13930 >     as_fn_append CFLAGS " $flag"
13931 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13932 >  (: CFLAGS="$CFLAGS") 2>&5
13933 >  ac_status=$?
13934 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13935 >  test $ac_status = 0; }
13936 >     ;;
13937 > esac
13938 >
13939 > else
13940 >
13941 >  CFLAGS=$flag
13942 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13943 >  (: CFLAGS="$CFLAGS") 2>&5
13944 >  ac_status=$?
13945 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13946 >  test $ac_status = 0; }
13947 >
13948 > fi
13949 >
13950 > else
13951 >  :
13952 > fi
13953 >
13954 > done
13955 >
13956 >
13957 >
13958 >
13959 >
13960 > for flag in -Wmissing-prototypes; do
13961 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13962 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13963 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13964 > if eval \${$as_CACHEVAR+:} false; then :
13965 >  $as_echo_n "(cached) " >&6
13966 > else
13967 >
13968 >  ax_check_save_flags=$CFLAGS
13969 >  CFLAGS="$CFLAGS  $flag"
13970 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 > /* end confdefs.h.  */
13972 >
13973 > int
13974 > main ()
13975 > {
13976 >
13977 >  ;
13978 >  return 0;
13979 > }
13980   _ACEOF
13981 + if ac_fn_c_try_compile "$LINENO"; then :
13982 +  eval "$as_CACHEVAR=yes"
13983 + else
13984 +  eval "$as_CACHEVAR=no"
13985 + fi
13986 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13987 +  CFLAGS=$ax_check_save_flags
13988 + fi
13989 + eval ac_res=\$$as_CACHEVAR
13990 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13991 + $as_echo "$ac_res" >&6; }
13992 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13993 +
13994 + if ${CFLAGS+:} false; then :
13995 +
13996 +  case " $CFLAGS " in #(
13997 +  *" $flag "*) :
13998 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13999 +  (: CFLAGS already contains $flag) 2>&5
14000 +  ac_status=$?
14001 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14002 +  test $ac_status = 0; } ;; #(
14003 +  *) :
14004 +
14005 +     as_fn_append CFLAGS " $flag"
14006 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14007 +  (: CFLAGS="$CFLAGS") 2>&5
14008 +  ac_status=$?
14009 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010 +  test $ac_status = 0; }
14011 +     ;;
14012 + esac
14013 +
14014 + else
14015 +
14016 +  CFLAGS=$flag
14017 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14018 +  (: CFLAGS="$CFLAGS") 2>&5
14019 +  ac_status=$?
14020 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14021 +  test $ac_status = 0; }
14022 +
14023 + fi
14024 +
14025 + else
14026 +  :
14027 + fi
14028 +
14029 + done
14030 +
14031 +
14032  
14033  
14034 < # The cast to long int works around a bug in the HP C Compiler
14035 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14036 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14037 < # This bug is HP SR number 8606223364.
14038 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14039 < $as_echo_n "checking size of short... " >&6; }
13288 < if ${ac_cv_sizeof_short+:} false; then :
14034 >
14035 > for flag in -Wnested-externs; do
14036 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14037 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14038 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14039 > if eval \${$as_CACHEVAR+:} false; then :
14040    $as_echo_n "(cached) " >&6
14041   else
13291  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
14042  
14043 +  ax_check_save_flags=$CFLAGS
14044 +  CFLAGS="$CFLAGS  $flag"
14045 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 + /* end confdefs.h.  */
14047 +
14048 + int
14049 + main ()
14050 + {
14051 +
14052 +  ;
14053 +  return 0;
14054 + }
14055 + _ACEOF
14056 + if ac_fn_c_try_compile "$LINENO"; then :
14057 +  eval "$as_CACHEVAR=yes"
14058   else
14059 <  if test "$ac_cv_type_short" = yes; then
13295 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13296 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13297 < as_fn_error 77 "cannot compute sizeof (short)
13298 < See \`config.log' for more details" "$LINENO" 5; }
13299 <   else
13300 <     ac_cv_sizeof_short=0
13301 <   fi
14059 >  eval "$as_CACHEVAR=no"
14060   fi
14061 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14062 +  CFLAGS=$ax_check_save_flags
14063 + fi
14064 + eval ac_res=\$$as_CACHEVAR
14065 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14066 + $as_echo "$ac_res" >&6; }
14067 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14068 +
14069 + if ${CFLAGS+:} false; then :
14070 +
14071 +  case " $CFLAGS " in #(
14072 +  *" $flag "*) :
14073 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14074 +  (: CFLAGS already contains $flag) 2>&5
14075 +  ac_status=$?
14076 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14077 +  test $ac_status = 0; } ;; #(
14078 +  *) :
14079  
14080 +     as_fn_append CFLAGS " $flag"
14081 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14082 +  (: CFLAGS="$CFLAGS") 2>&5
14083 +  ac_status=$?
14084 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14085 +  test $ac_status = 0; }
14086 +     ;;
14087 + esac
14088 +
14089 + else
14090 +
14091 +  CFLAGS=$flag
14092 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14093 +  (: CFLAGS="$CFLAGS") 2>&5
14094 +  ac_status=$?
14095 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14096 +  test $ac_status = 0; }
14097 +
14098 + fi
14099 +
14100 + else
14101 +  :
14102   fi
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13306 $as_echo "$ac_cv_sizeof_short" >&6; }
14103  
14104 + done
14105  
14106  
14107 < cat >>confdefs.h <<_ACEOF
14108 < #define SIZEOF_SHORT $ac_cv_sizeof_short
14107 >
14108 >
14109 >
14110 > for flag in -Wold-style-declaration; do
14111 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14112 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14113 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14114 > if eval \${$as_CACHEVAR+:} false; then :
14115 >  $as_echo_n "(cached) " >&6
14116 > else
14117 >
14118 >  ax_check_save_flags=$CFLAGS
14119 >  CFLAGS="$CFLAGS  $flag"
14120 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 > /* end confdefs.h.  */
14122 >
14123 > int
14124 > main ()
14125 > {
14126 >
14127 >  ;
14128 >  return 0;
14129 > }
14130   _ACEOF
14131 + if ac_fn_c_try_compile "$LINENO"; then :
14132 +  eval "$as_CACHEVAR=yes"
14133 + else
14134 +  eval "$as_CACHEVAR=no"
14135 + fi
14136 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14137 +  CFLAGS=$ax_check_save_flags
14138 + fi
14139 + eval ac_res=\$$as_CACHEVAR
14140 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14141 + $as_echo "$ac_res" >&6; }
14142 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14143 +
14144 + if ${CFLAGS+:} false; then :
14145 +
14146 +  case " $CFLAGS " in #(
14147 +  *" $flag "*) :
14148 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14149 +  (: CFLAGS already contains $flag) 2>&5
14150 +  ac_status=$?
14151 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14152 +  test $ac_status = 0; } ;; #(
14153 +  *) :
14154 +
14155 +     as_fn_append CFLAGS " $flag"
14156 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14157 +  (: CFLAGS="$CFLAGS") 2>&5
14158 +  ac_status=$?
14159 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160 +  test $ac_status = 0; }
14161 +     ;;
14162 + esac
14163 +
14164 + else
14165 +
14166 +  CFLAGS=$flag
14167 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14168 +  (: CFLAGS="$CFLAGS") 2>&5
14169 +  ac_status=$?
14170 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14171 +  test $ac_status = 0; }
14172 +
14173 + fi
14174 +
14175 + else
14176 +  :
14177 + fi
14178 +
14179 + done
14180 +
14181 +
14182 +
14183  
14184  
14185 < # The cast to long int works around a bug in the HP C Compiler
14186 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14187 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14188 < # This bug is HP SR number 8606223364.
14189 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13320 < $as_echo_n "checking size of long... " >&6; }
13321 < if ${ac_cv_sizeof_long+:} false; then :
14185 > for flag in -Woverride-init; do
14186 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14187 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14188 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14189 > if eval \${$as_CACHEVAR+:} false; then :
14190    $as_echo_n "(cached) " >&6
14191   else
13324  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
14192  
14193 +  ax_check_save_flags=$CFLAGS
14194 +  CFLAGS="$CFLAGS  $flag"
14195 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 + /* end confdefs.h.  */
14197 +
14198 + int
14199 + main ()
14200 + {
14201 +
14202 +  ;
14203 +  return 0;
14204 + }
14205 + _ACEOF
14206 + if ac_fn_c_try_compile "$LINENO"; then :
14207 +  eval "$as_CACHEVAR=yes"
14208   else
14209 <  if test "$ac_cv_type_long" = yes; then
14210 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14211 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14212 < as_fn_error 77 "cannot compute sizeof (long)
13331 < See \`config.log' for more details" "$LINENO" 5; }
13332 <   else
13333 <     ac_cv_sizeof_long=0
13334 <   fi
14209 >  eval "$as_CACHEVAR=no"
14210 > fi
14211 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14212 >  CFLAGS=$ax_check_save_flags
14213   fi
14214 + eval ac_res=\$$as_CACHEVAR
14215 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14216 + $as_echo "$ac_res" >&6; }
14217 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14218 +
14219 + if ${CFLAGS+:} false; then :
14220  
14221 +  case " $CFLAGS " in #(
14222 +  *" $flag "*) :
14223 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14224 +  (: CFLAGS already contains $flag) 2>&5
14225 +  ac_status=$?
14226 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14227 +  test $ac_status = 0; } ;; #(
14228 +  *) :
14229 +
14230 +     as_fn_append CFLAGS " $flag"
14231 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14232 +  (: CFLAGS="$CFLAGS") 2>&5
14233 +  ac_status=$?
14234 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14235 +  test $ac_status = 0; }
14236 +     ;;
14237 + esac
14238 +
14239 + else
14240 +
14241 +  CFLAGS=$flag
14242 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14243 +  (: CFLAGS="$CFLAGS") 2>&5
14244 +  ac_status=$?
14245 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14246 +  test $ac_status = 0; }
14247 +
14248 + fi
14249 +
14250 + else
14251 +  :
14252   fi
14253 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14254 < $as_echo "$ac_cv_sizeof_long" >&6; }
14253 >
14254 > done
14255  
14256  
14257  
14258 < cat >>confdefs.h <<_ACEOF
14259 < #define SIZEOF_LONG $ac_cv_sizeof_long
14258 >
14259 >
14260 > for flag in -Wpointer-arith; do
14261 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14262 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14263 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14264 > if eval \${$as_CACHEVAR+:} false; then :
14265 >  $as_echo_n "(cached) " >&6
14266 > else
14267 >
14268 >  ax_check_save_flags=$CFLAGS
14269 >  CFLAGS="$CFLAGS  $flag"
14270 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 > /* end confdefs.h.  */
14272 >
14273 > int
14274 > main ()
14275 > {
14276 >
14277 >  ;
14278 >  return 0;
14279 > }
14280   _ACEOF
14281 + if ac_fn_c_try_compile "$LINENO"; then :
14282 +  eval "$as_CACHEVAR=yes"
14283 + else
14284 +  eval "$as_CACHEVAR=no"
14285 + fi
14286 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14287 +  CFLAGS=$ax_check_save_flags
14288 + fi
14289 + eval ac_res=\$$as_CACHEVAR
14290 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14291 + $as_echo "$ac_res" >&6; }
14292 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14293  
14294 + if ${CFLAGS+:} false; then :
14295  
14296 +  case " $CFLAGS " in #(
14297 +  *" $flag "*) :
14298 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14299 +  (: CFLAGS already contains $flag) 2>&5
14300 +  ac_status=$?
14301 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14302 +  test $ac_status = 0; } ;; #(
14303 +  *) :
14304  
14305 +     as_fn_append CFLAGS " $flag"
14306 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14307 +  (: CFLAGS="$CFLAGS") 2>&5
14308 +  ac_status=$?
14309 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14310 +  test $ac_status = 0; }
14311 +     ;;
14312 + esac
14313  
14314 + else
14315  
14316 +  CFLAGS=$flag
14317 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14318 +  (: CFLAGS="$CFLAGS") 2>&5
14319 +  ac_status=$?
14320 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14321 +  test $ac_status = 0; }
14322  
14323 + fi
14324 +
14325 + else
14326 +  :
14327 + fi
14328 +
14329 + done
14330  
14331  
13354 subdirs="$subdirs src/libopm"
14332  
14333  
14334 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
14334 >
14335 > for flag in -Wredundant-decls; do
14336 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14337 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14338 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14339 > if eval \${$as_CACHEVAR+:} false; then :
14340 >  $as_echo_n "(cached) " >&6
14341 > else
14342 >
14343 >  ax_check_save_flags=$CFLAGS
14344 >  CFLAGS="$CFLAGS  $flag"
14345 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 > /* end confdefs.h.  */
14347 >
14348 > int
14349 > main ()
14350 > {
14351 >
14352 >  ;
14353 >  return 0;
14354 > }
14355 > _ACEOF
14356 > if ac_fn_c_try_compile "$LINENO"; then :
14357 >  eval "$as_CACHEVAR=yes"
14358 > else
14359 >  eval "$as_CACHEVAR=no"
14360 > fi
14361 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14362 >  CFLAGS=$ax_check_save_flags
14363 > fi
14364 > eval ac_res=\$$as_CACHEVAR
14365 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14366 > $as_echo "$ac_res" >&6; }
14367 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14368 >
14369 > if ${CFLAGS+:} false; then :
14370 >
14371 >  case " $CFLAGS " in #(
14372 >  *" $flag "*) :
14373 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14374 >  (: CFLAGS already contains $flag) 2>&5
14375 >  ac_status=$?
14376 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 >  test $ac_status = 0; } ;; #(
14378 >  *) :
14379 >
14380 >     as_fn_append CFLAGS " $flag"
14381 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14382 >  (: CFLAGS="$CFLAGS") 2>&5
14383 >  ac_status=$?
14384 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 >  test $ac_status = 0; }
14386 >     ;;
14387 > esac
14388 >
14389 > else
14390 >
14391 >  CFLAGS=$flag
14392 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14393 >  (: CFLAGS="$CFLAGS") 2>&5
14394 >  ac_status=$?
14395 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14396 >  test $ac_status = 0; }
14397 >
14398 > fi
14399 >
14400 > else
14401 >  :
14402 > fi
14403 >
14404 > done
14405 >
14406 >
14407 >
14408 >
14409 >
14410 > for flag in -Wshadow; do
14411 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14412 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14413 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14414 > if eval \${$as_CACHEVAR+:} false; then :
14415 >  $as_echo_n "(cached) " >&6
14416 > else
14417 >
14418 >  ax_check_save_flags=$CFLAGS
14419 >  CFLAGS="$CFLAGS  $flag"
14420 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 > /* end confdefs.h.  */
14422 >
14423 > int
14424 > main ()
14425 > {
14426 >
14427 >  ;
14428 >  return 0;
14429 > }
14430 > _ACEOF
14431 > if ac_fn_c_try_compile "$LINENO"; then :
14432 >  eval "$as_CACHEVAR=yes"
14433 > else
14434 >  eval "$as_CACHEVAR=no"
14435 > fi
14436 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14437 >  CFLAGS=$ax_check_save_flags
14438 > fi
14439 > eval ac_res=\$$as_CACHEVAR
14440 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14441 > $as_echo "$ac_res" >&6; }
14442 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14443 >
14444 > if ${CFLAGS+:} false; then :
14445 >
14446 >  case " $CFLAGS " in #(
14447 >  *" $flag "*) :
14448 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14449 >  (: CFLAGS already contains $flag) 2>&5
14450 >  ac_status=$?
14451 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452 >  test $ac_status = 0; } ;; #(
14453 >  *) :
14454 >
14455 >     as_fn_append CFLAGS " $flag"
14456 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14457 >  (: CFLAGS="$CFLAGS") 2>&5
14458 >  ac_status=$?
14459 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14460 >  test $ac_status = 0; }
14461 >     ;;
14462 > esac
14463 >
14464 > else
14465 >
14466 >  CFLAGS=$flag
14467 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14468 >  (: CFLAGS="$CFLAGS") 2>&5
14469 >  ac_status=$?
14470 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14471 >  test $ac_status = 0; }
14472 >
14473 > fi
14474 >
14475 > else
14476 >  :
14477 > fi
14478 >
14479 > done
14480 >
14481 >
14482 >
14483 >
14484 >
14485 > for flag in -Wshift-negative-value; do
14486 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14487 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14488 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14489 > if eval \${$as_CACHEVAR+:} false; then :
14490 >  $as_echo_n "(cached) " >&6
14491 > else
14492 >
14493 >  ax_check_save_flags=$CFLAGS
14494 >  CFLAGS="$CFLAGS  $flag"
14495 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 > /* end confdefs.h.  */
14497 >
14498 > int
14499 > main ()
14500 > {
14501 >
14502 >  ;
14503 >  return 0;
14504 > }
14505 > _ACEOF
14506 > if ac_fn_c_try_compile "$LINENO"; then :
14507 >  eval "$as_CACHEVAR=yes"
14508 > else
14509 >  eval "$as_CACHEVAR=no"
14510 > fi
14511 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14512 >  CFLAGS=$ax_check_save_flags
14513 > fi
14514 > eval ac_res=\$$as_CACHEVAR
14515 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14516 > $as_echo "$ac_res" >&6; }
14517 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14518 >
14519 > if ${CFLAGS+:} false; then :
14520 >
14521 >  case " $CFLAGS " in #(
14522 >  *" $flag "*) :
14523 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14524 >  (: CFLAGS already contains $flag) 2>&5
14525 >  ac_status=$?
14526 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14527 >  test $ac_status = 0; } ;; #(
14528 >  *) :
14529 >
14530 >     as_fn_append CFLAGS " $flag"
14531 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14532 >  (: CFLAGS="$CFLAGS") 2>&5
14533 >  ac_status=$?
14534 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14535 >  test $ac_status = 0; }
14536 >     ;;
14537 > esac
14538 >
14539 > else
14540 >
14541 >  CFLAGS=$flag
14542 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14543 >  (: CFLAGS="$CFLAGS") 2>&5
14544 >  ac_status=$?
14545 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14546 >  test $ac_status = 0; }
14547 >
14548 > fi
14549 >
14550 > else
14551 >  :
14552 > fi
14553 >
14554 > done
14555 >
14556 >
14557 >
14558 >
14559 >
14560 > for flag in -Wsign-compare; do
14561 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14562 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14563 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14564 > if eval \${$as_CACHEVAR+:} false; then :
14565 >  $as_echo_n "(cached) " >&6
14566 > else
14567 >
14568 >  ax_check_save_flags=$CFLAGS
14569 >  CFLAGS="$CFLAGS  $flag"
14570 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 > /* end confdefs.h.  */
14572 >
14573 > int
14574 > main ()
14575 > {
14576 >
14577 >  ;
14578 >  return 0;
14579 > }
14580 > _ACEOF
14581 > if ac_fn_c_try_compile "$LINENO"; then :
14582 >  eval "$as_CACHEVAR=yes"
14583 > else
14584 >  eval "$as_CACHEVAR=no"
14585 > fi
14586 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14587 >  CFLAGS=$ax_check_save_flags
14588 > fi
14589 > eval ac_res=\$$as_CACHEVAR
14590 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14591 > $as_echo "$ac_res" >&6; }
14592 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14593 >
14594 > if ${CFLAGS+:} false; then :
14595 >
14596 >  case " $CFLAGS " in #(
14597 >  *" $flag "*) :
14598 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14599 >  (: CFLAGS already contains $flag) 2>&5
14600 >  ac_status=$?
14601 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14602 >  test $ac_status = 0; } ;; #(
14603 >  *) :
14604 >
14605 >     as_fn_append CFLAGS " $flag"
14606 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14607 >  (: CFLAGS="$CFLAGS") 2>&5
14608 >  ac_status=$?
14609 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14610 >  test $ac_status = 0; }
14611 >     ;;
14612 > esac
14613 >
14614 > else
14615 >
14616 >  CFLAGS=$flag
14617 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14618 >  (: CFLAGS="$CFLAGS") 2>&5
14619 >  ac_status=$?
14620 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 >  test $ac_status = 0; }
14622 >
14623 > fi
14624 >
14625 > else
14626 >  :
14627 > fi
14628 >
14629 > done
14630 >
14631 >
14632 >
14633 >
14634 >
14635 > for flag in -Wtype-limits; do
14636 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14637 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14638 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14639 > if eval \${$as_CACHEVAR+:} false; then :
14640 >  $as_echo_n "(cached) " >&6
14641 > else
14642 >
14643 >  ax_check_save_flags=$CFLAGS
14644 >  CFLAGS="$CFLAGS  $flag"
14645 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 > /* end confdefs.h.  */
14647 >
14648 > int
14649 > main ()
14650 > {
14651 >
14652 >  ;
14653 >  return 0;
14654 > }
14655 > _ACEOF
14656 > if ac_fn_c_try_compile "$LINENO"; then :
14657 >  eval "$as_CACHEVAR=yes"
14658 > else
14659 >  eval "$as_CACHEVAR=no"
14660 > fi
14661 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 >  CFLAGS=$ax_check_save_flags
14663 > fi
14664 > eval ac_res=\$$as_CACHEVAR
14665 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14666 > $as_echo "$ac_res" >&6; }
14667 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14668 >
14669 > if ${CFLAGS+:} false; then :
14670 >
14671 >  case " $CFLAGS " in #(
14672 >  *" $flag "*) :
14673 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14674 >  (: CFLAGS already contains $flag) 2>&5
14675 >  ac_status=$?
14676 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14677 >  test $ac_status = 0; } ;; #(
14678 >  *) :
14679 >
14680 >     as_fn_append CFLAGS " $flag"
14681 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14682 >  (: CFLAGS="$CFLAGS") 2>&5
14683 >  ac_status=$?
14684 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685 >  test $ac_status = 0; }
14686 >     ;;
14687 > esac
14688 >
14689 > else
14690 >
14691 >  CFLAGS=$flag
14692 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14693 >  (: CFLAGS="$CFLAGS") 2>&5
14694 >  ac_status=$?
14695 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14696 >  test $ac_status = 0; }
14697 >
14698 > fi
14699 >
14700 > else
14701 >  :
14702 > fi
14703 >
14704 > done
14705 >
14706 >
14707 >
14708 >
14709 >
14710 > for flag in -Wundef; do
14711 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14712 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14713 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14714 > if eval \${$as_CACHEVAR+:} false; then :
14715 >  $as_echo_n "(cached) " >&6
14716 > else
14717 >
14718 >  ax_check_save_flags=$CFLAGS
14719 >  CFLAGS="$CFLAGS  $flag"
14720 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 > /* end confdefs.h.  */
14722 >
14723 > int
14724 > main ()
14725 > {
14726 >
14727 >  ;
14728 >  return 0;
14729 > }
14730 > _ACEOF
14731 > if ac_fn_c_try_compile "$LINENO"; then :
14732 >  eval "$as_CACHEVAR=yes"
14733 > else
14734 >  eval "$as_CACHEVAR=no"
14735 > fi
14736 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14737 >  CFLAGS=$ax_check_save_flags
14738 > fi
14739 > eval ac_res=\$$as_CACHEVAR
14740 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14741 > $as_echo "$ac_res" >&6; }
14742 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14743 >
14744 > if ${CFLAGS+:} false; then :
14745 >
14746 >  case " $CFLAGS " in #(
14747 >  *" $flag "*) :
14748 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14749 >  (: CFLAGS already contains $flag) 2>&5
14750 >  ac_status=$?
14751 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14752 >  test $ac_status = 0; } ;; #(
14753 >  *) :
14754 >
14755 >     as_fn_append CFLAGS " $flag"
14756 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14757 >  (: CFLAGS="$CFLAGS") 2>&5
14758 >  ac_status=$?
14759 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14760 >  test $ac_status = 0; }
14761 >     ;;
14762 > esac
14763 >
14764 > else
14765 >
14766 >  CFLAGS=$flag
14767 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14768 >  (: CFLAGS="$CFLAGS") 2>&5
14769 >  ac_status=$?
14770 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14771 >  test $ac_status = 0; }
14772 >
14773 > fi
14774 >
14775 > else
14776 >  :
14777 > fi
14778 >
14779 > done
14780 >
14781 >
14782 >
14783 >
14784 >
14785 > for flag in -Wuninitialized; do
14786 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14787 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14788 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14789 > if eval \${$as_CACHEVAR+:} false; then :
14790 >  $as_echo_n "(cached) " >&6
14791 > else
14792 >
14793 >  ax_check_save_flags=$CFLAGS
14794 >  CFLAGS="$CFLAGS  $flag"
14795 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 > /* end confdefs.h.  */
14797 >
14798 > int
14799 > main ()
14800 > {
14801 >
14802 >  ;
14803 >  return 0;
14804 > }
14805 > _ACEOF
14806 > if ac_fn_c_try_compile "$LINENO"; then :
14807 >  eval "$as_CACHEVAR=yes"
14808 > else
14809 >  eval "$as_CACHEVAR=no"
14810 > fi
14811 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 >  CFLAGS=$ax_check_save_flags
14813 > fi
14814 > eval ac_res=\$$as_CACHEVAR
14815 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14816 > $as_echo "$ac_res" >&6; }
14817 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14818 >
14819 > if ${CFLAGS+:} false; then :
14820 >
14821 >  case " $CFLAGS " in #(
14822 >  *" $flag "*) :
14823 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14824 >  (: CFLAGS already contains $flag) 2>&5
14825 >  ac_status=$?
14826 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827 >  test $ac_status = 0; } ;; #(
14828 >  *) :
14829 >
14830 >     as_fn_append CFLAGS " $flag"
14831 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14832 >  (: CFLAGS="$CFLAGS") 2>&5
14833 >  ac_status=$?
14834 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14835 >  test $ac_status = 0; }
14836 >     ;;
14837 > esac
14838 >
14839 > else
14840 >
14841 >  CFLAGS=$flag
14842 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14843 >  (: CFLAGS="$CFLAGS") 2>&5
14844 >  ac_status=$?
14845 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14846 >  test $ac_status = 0; }
14847 >
14848 > fi
14849 >
14850 > else
14851 >  :
14852 > fi
14853 >
14854 > done
14855 >
14856 >
14857 >
14858 >
14859 >
14860 > for flag in -Wwrite-strings; do
14861 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14862 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14863 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14864 > if eval \${$as_CACHEVAR+:} false; then :
14865 >  $as_echo_n "(cached) " >&6
14866 > else
14867 >
14868 >  ax_check_save_flags=$CFLAGS
14869 >  CFLAGS="$CFLAGS  $flag"
14870 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 > /* end confdefs.h.  */
14872 >
14873 > int
14874 > main ()
14875 > {
14876 >
14877 >  ;
14878 >  return 0;
14879 > }
14880 > _ACEOF
14881 > if ac_fn_c_try_compile "$LINENO"; then :
14882 >  eval "$as_CACHEVAR=yes"
14883 > else
14884 >  eval "$as_CACHEVAR=no"
14885 > fi
14886 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14887 >  CFLAGS=$ax_check_save_flags
14888 > fi
14889 > eval ac_res=\$$as_CACHEVAR
14890 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14891 > $as_echo "$ac_res" >&6; }
14892 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14893 >
14894 > if ${CFLAGS+:} false; then :
14895 >
14896 >  case " $CFLAGS " in #(
14897 >  *" $flag "*) :
14898 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14899 >  (: CFLAGS already contains $flag) 2>&5
14900 >  ac_status=$?
14901 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902 >  test $ac_status = 0; } ;; #(
14903 >  *) :
14904 >
14905 >     as_fn_append CFLAGS " $flag"
14906 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14907 >  (: CFLAGS="$CFLAGS") 2>&5
14908 >  ac_status=$?
14909 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14910 >  test $ac_status = 0; }
14911 >     ;;
14912 > esac
14913 >
14914 > else
14915 >
14916 >  CFLAGS=$flag
14917 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14918 >  (: CFLAGS="$CFLAGS") 2>&5
14919 >  ac_status=$?
14920 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14921 >  test $ac_status = 0; }
14922 >
14923 > fi
14924 >
14925 > else
14926 >  :
14927 > fi
14928 >
14929 > done
14930 >
14931 >
14932 > fi
14933 >
14934 >
14935 >  # Check whether --enable-efence was given.
14936 > if test "${enable_efence+set}" = set; then :
14937 >  enableval=$enable_efence; efence="$enableval"
14938 > else
14939 >  efence="no"
14940 > fi
14941 >
14942 >
14943 >  if test "$efence" = "yes"; then :
14944 >
14945 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
14946 > $as_echo_n "checking for library containing EF_Print... " >&6; }
14947 > if ${ac_cv_search_EF_Print+:} false; then :
14948 >  $as_echo_n "(cached) " >&6
14949 > else
14950 >  ac_func_search_save_LIBS=$LIBS
14951 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 > /* end confdefs.h.  */
14953 >
14954 > /* Override any GCC internal prototype to avoid an error.
14955 >   Use char because int might match the return type of a GCC
14956 >   builtin and then its argument prototype would still apply.  */
14957 > #ifdef __cplusplus
14958 > extern "C"
14959 > #endif
14960 > char EF_Print ();
14961 > int
14962 > main ()
14963 > {
14964 > return EF_Print ();
14965 >  ;
14966 >  return 0;
14967 > }
14968 > _ACEOF
14969 > for ac_lib in '' efence; do
14970 >  if test -z "$ac_lib"; then
14971 >    ac_res="none required"
14972 >  else
14973 >    ac_res=-l$ac_lib
14974 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14975 >  fi
14976 >  if ac_fn_c_try_link "$LINENO"; then :
14977 >  ac_cv_search_EF_Print=$ac_res
14978 > fi
14979 > rm -f core conftest.err conftest.$ac_objext \
14980 >    conftest$ac_exeext
14981 >  if ${ac_cv_search_EF_Print+:} false; then :
14982 >  break
14983 > fi
14984 > done
14985 > if ${ac_cv_search_EF_Print+:} false; then :
14986 >
14987 > else
14988 >  ac_cv_search_EF_Print=no
14989 > fi
14990 > rm conftest.$ac_ext
14991 > LIBS=$ac_func_search_save_LIBS
14992 > fi
14993 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
14994 > $as_echo "$ac_cv_search_EF_Print" >&6; }
14995 > ac_res=$ac_cv_search_EF_Print
14996 > if test "$ac_res" != no; then :
14997 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14998 >
14999 > else
15000 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15001 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15002 > as_fn_error $? "Electric Fence 'efence' library not found
15003 > See \`config.log' for more details" "$LINENO" 5; }
15004 > fi
15005 >
15006 >
15007 > fi
15008 >
15009 >
15010 > for ac_func in strlcpy strlcat
15011 > do :
15012 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15013 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15014 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15015 >  cat >>confdefs.h <<_ACEOF
15016 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15017 > _ACEOF
15018 >
15019 > fi
15020 > done
15021 >
15022 >
15023 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
15024  
15025   cat >confcache <<\_ACEOF
15026   # This file is a shell script that caches the results of configure
# Line 13450 | Line 15116 | DEFS=-DHAVE_CONFIG_H
15116  
15117   ac_libobjs=
15118   ac_ltlibobjs=
15119 + U=
15120   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15121    # 1. Remove the extension, and $U if already installed.
15122    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13493 | Line 15160 | if test -z "${am__fastdepCC_TRUE}" && te
15160   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15161   fi
15162  
13496
15163   : "${CONFIG_STATUS=./config.status}"
15164   ac_write_fail=0
15165   ac_clean_files_save=$ac_clean_files
# Line 13890 | Line 15556 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15556   # report actual input values of CONFIG_FILES etc. instead of their
15557   # values after options handling.
15558   ac_log="
15559 < This file was extended by hopm $as_me 1.0.0beta1, which was
15559 > This file was extended by hopm $as_me 1.1.11, which was
15560   generated by GNU Autoconf 2.69.  Invocation command line was
15561  
15562    CONFIG_FILES    = $CONFIG_FILES
# Line 13950 | Line 15616 | $config_headers
15616   Configuration commands:
15617   $config_commands
15618  
15619 < Report bugs to the package provider."
15619 > Report bugs to <bugs@ircd-hybrid.org>."
15620  
15621   _ACEOF
15622   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15623   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15624   ac_cs_version="\\
15625 < hopm config.status 1.0.0beta1
15625 > hopm config.status 1.1.11
15626   configured by $0, generated by GNU Autoconf 2.69,
15627    with options \\"\$ac_cs_config\\"
15628  
# Line 14075 | Line 15741 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15741   #
15742   # INIT-COMMANDS
15743   #
15744 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15744 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15745  
15746  
15747   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 14212 | Line 15878 | finish_cmds='`$ECHO "$finish_cmds" | $SE
15878   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15879   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15880   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15881 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15881 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15882 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15883   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15884   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15885   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 14330 | Line 15997 | postinstall_cmds \
15997   postuninstall_cmds \
15998   finish_cmds \
15999   sys_lib_search_path_spec \
16000 < sys_lib_dlsearch_path_spec; do
16000 > configure_time_dlsearch_path \
16001 > configure_time_lt_sys_library_path; do
16002      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16003      *[\\\\\\\`\\"\\\$]*)
16004        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
# Line 14372 | Line 16040 | do
16040      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16041      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16042      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16043 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
16044 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
16045  
16046    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16047    esac
# Line 14971 | Line 16641 | $as_echo "$as_me: executing $ac_file com
16641    # Older Autoconf quotes --file arguments for eval, but not when files
16642    # are listed without --file.  Let's play safe and only enable the eval
16643    # if we detect the quoting.
16644 <  case $CONFIG_FILES in
16645 <  *\'*) eval set x "$CONFIG_FILES" ;;
16646 <  *)   set x $CONFIG_FILES ;;
16647 <  esac
16644 >  # TODO: see whether this extra hack can be removed once we start
16645 >  # requiring Autoconf 2.70 or later.
16646 >  case $CONFIG_FILES in #(
16647 >  *\'*) :
16648 >    eval set x "$CONFIG_FILES" ;; #(
16649 >  *) :
16650 >    set x $CONFIG_FILES ;; #(
16651 >  *) :
16652 >     ;;
16653 > esac
16654    shift
16655 <  for mf
16655 >  # Used to flag and report bootstrapping failures.
16656 >  am_rc=0
16657 >  for am_mf
16658    do
16659      # Strip MF so we end up with the name of the file.
16660 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
16661 <    # Check whether this is an Automake generated Makefile or not.
16662 <    # We used to match only the files named 'Makefile.in', but
16663 <    # some people rename them; so instead we look at the file content.
14986 <    # Grep'ing the first line is not enough: some people post-process
14987 <    # each Makefile.in and add a new line on top of each file to say so.
14988 <    # Grep'ing the whole file is not good either: AIX grep has a line
16660 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16661 >    # Check whether this is an Automake generated Makefile which includes
16662 >    # dependency-tracking related rules and includes.
16663 >    # Grep'ing the whole file directly is not great: AIX grep has a line
16664      # limit of 2048, but all sed's we know have understand at least 4000.
16665 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16666 <      dirpart=`$as_dirname -- "$mf" ||
16667 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16668 <         X"$mf" : 'X\(//\)[^/]' \| \
16669 <         X"$mf" : 'X\(//\)$' \| \
16670 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16671 < $as_echo X"$mf" |
16665 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16666 >      || continue
16667 >    am_dirpart=`$as_dirname -- "$am_mf" ||
16668 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16669 >         X"$am_mf" : 'X\(//\)[^/]' \| \
16670 >         X"$am_mf" : 'X\(//\)$' \| \
16671 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16672 > $as_echo X"$am_mf" |
16673      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16674              s//\1/
16675              q
# Line 15011 | Line 16687 | $as_echo X"$mf" |
16687              q
16688            }
16689            s/.*/./; q'`
16690 <    else
16691 <      continue
16692 <    fi
16693 <    # Extract the definition of DEPDIR, am__include, and am__quote
16694 <    # from the Makefile without running 'make'.
16695 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15020 <    test -z "$DEPDIR" && continue
15021 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15022 <    test -z "$am__include" && continue
15023 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15024 <    # Find all dependency output files, they are included files with
15025 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15026 <    # simplest approach to changing $(DEPDIR) to its actual value in the
15027 <    # expansion.
15028 <    for file in `sed -n "
15029 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15030 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15031 <      # Make sure the directory exists.
15032 <      test -f "$dirpart/$file" && continue
15033 <      fdir=`$as_dirname -- "$file" ||
15034 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15035 <         X"$file" : 'X\(//\)[^/]' \| \
15036 <         X"$file" : 'X\(//\)$' \| \
15037 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15038 < $as_echo X"$file" |
15039 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15040 <            s//\1/
15041 <            q
15042 <          }
15043 <          /^X\(\/\/\)[^/].*/{
16690 >    am_filepart=`$as_basename -- "$am_mf" ||
16691 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16692 >         X"$am_mf" : 'X\(//\)$' \| \
16693 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16694 > $as_echo X/"$am_mf" |
16695 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
16696              s//\1/
16697              q
16698            }
16699 <          /^X\(\/\/\)$/{
16699 >          /^X\/\(\/\/\)$/{
16700              s//\1/
16701              q
16702            }
16703 <          /^X\(\/\).*/{
16703 >          /^X\/\(\/\).*/{
16704              s//\1/
16705              q
16706            }
16707            s/.*/./; q'`
16708 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16709 <      # echo "creating $dirpart/$file"
16710 <      echo '# dummy' > "$dirpart/$file"
16711 <    done
16708 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16709 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16710 >        | $MAKE -f - am--depfiles" >&5
16711 >   (cd "$am_dirpart" \
16712 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16713 >        | $MAKE -f - am--depfiles) >&5 2>&5
16714 >   ac_status=$?
16715 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 >   (exit $ac_status); } || am_rc=$?
16717    done
16718 +  if test $am_rc -ne 0; then
16719 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16720 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16721 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
16722 +    for automatic dependency tracking.  Try re-running configure with the
16723 +    '--disable-dependency-tracking' option to at least be able to build
16724 +    the package (albeit without support for automatic dependency tracking).
16725 + See \`config.log' for more details" "$LINENO" 5; }
16726 +  fi
16727 +  { am_dirpart=; unset am_dirpart;}
16728 +  { am_filepart=; unset am_filepart;}
16729 +  { am_mf=; unset am_mf;}
16730 +  { am_rc=; unset am_rc;}
16731 +  rm -f conftest-deps.mk
16732   }
16733   ;;
16734      "libtool":C)
# Line 15075 | Line 16746 | $as_echo X"$file" |
16746      cat <<_LT_EOF >> "$cfgfile"
16747   #! $SHELL
16748   # Generated automatically by $as_me ($PACKAGE) $VERSION
15078 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16749   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16750  
16751   # Provide generalized library-building support services.
# Line 15107 | Line 16777 | $as_echo X"$file" |
16777   # The names of the tagged configurations supported by this script.
16778   available_tags=''
16779  
16780 + # Configured defaults for sys_lib_dlsearch_path munging.
16781 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16782 +
16783   # ### BEGIN LIBTOOL CONFIG
16784  
16785   # Which release of libtool.m4 was used?
# Line 15356 | Line 17029 | hardcode_into_libs=$hardcode_into_libs
17029   # Compile-time system search path for libraries.
17030   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17031  
17032 < # Run-time system search path for libraries.
17033 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17032 > # Detected run-time system search path for libraries.
17033 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17034 >
17035 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17036 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17037  
17038   # Whether dlopen is supported.
17039   dlopen_support=$enable_dlopen
# Line 15508 | Line 17184 | hardcode_action=$hardcode_action
17184  
17185   _LT_EOF
17186  
17187 +    cat <<'_LT_EOF' >> "$cfgfile"
17188 +
17189 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17190 +
17191 + # func_munge_path_list VARIABLE PATH
17192 + # -----------------------------------
17193 + # VARIABLE is name of variable containing _space_ separated list of
17194 + # directories to be munged by the contents of PATH, which is string
17195 + # having a format:
17196 + # "DIR[:DIR]:"
17197 + #       string "DIR[ DIR]" will be prepended to VARIABLE
17198 + # ":DIR[:DIR]"
17199 + #       string "DIR[ DIR]" will be appended to VARIABLE
17200 + # "DIRP[:DIRP]::[DIRA:]DIRA"
17201 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17202 + #       "DIRA[ DIRA]" will be appended to VARIABLE
17203 + # "DIR[:DIR]"
17204 + #       VARIABLE will be replaced by "DIR[ DIR]"
17205 + func_munge_path_list ()
17206 + {
17207 +    case x$2 in
17208 +    x)
17209 +        ;;
17210 +    *:)
17211 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17212 +        ;;
17213 +    x:*)
17214 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17215 +        ;;
17216 +    *::*)
17217 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17218 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17219 +        ;;
17220 +    *)
17221 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17222 +        ;;
17223 +    esac
17224 + }
17225 +
17226 +
17227 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17228 + func_cc_basename ()
17229 + {
17230 +    for cc_temp in $*""; do
17231 +      case $cc_temp in
17232 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17233 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17234 +        \-*) ;;
17235 +        *) break;;
17236 +      esac
17237 +    done
17238 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17239 + }
17240 +
17241 +
17242 + # ### END FUNCTIONS SHARED WITH CONFIGURE
17243 +
17244 + _LT_EOF
17245 +
17246    case $host_os in
17247    aix3*)
17248      cat <<\_LT_EOF >> "$cfgfile"
# Line 15571 | Line 17306 | if test "$no_create" != yes; then
17306    # would make configure fail if this is the last instruction.
17307    $ac_cs_success || as_fn_exit 1
17308   fi
15574
15575 #
15576 # CONFIG_SUBDIRS section.
15577 #
15578 if test "$no_recursion" != yes; then
15579
15580  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15581  # so they do not pile up.
15582  ac_sub_configure_args=
15583  ac_prev=
15584  eval "set x $ac_configure_args"
15585  shift
15586  for ac_arg
15587  do
15588    if test -n "$ac_prev"; then
15589      ac_prev=
15590      continue
15591    fi
15592    case $ac_arg in
15593    -cache-file | --cache-file | --cache-fil | --cache-fi \
15594    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15595      ac_prev=cache_file ;;
15596    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15597    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15598    | --c=*)
15599      ;;
15600    --config-cache | -C)
15601      ;;
15602    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15603      ac_prev=srcdir ;;
15604    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15605      ;;
15606    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15607      ac_prev=prefix ;;
15608    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15609      ;;
15610    --disable-option-checking)
15611      ;;
15612    *)
15613      case $ac_arg in
15614      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15615      esac
15616      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15617    esac
15618  done
15619
15620  # Always prepend --prefix to ensure using the same prefix
15621  # in subdir configurations.
15622  ac_arg="--prefix=$prefix"
15623  case $ac_arg in
15624  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15625  esac
15626  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15627
15628  # Pass --silent
15629  if test "$silent" = yes; then
15630    ac_sub_configure_args="--silent $ac_sub_configure_args"
15631  fi
15632
15633  # Always prepend --disable-option-checking to silence warnings, since
15634  # different subdirs can have different --enable and --with options.
15635  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15636
15637  ac_popdir=`pwd`
15638  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15639
15640    # Do not complain, so a configure script can configure whichever
15641    # parts of a large source tree are present.
15642    test -d "$srcdir/$ac_dir" || continue
15643
15644    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15645    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15646    $as_echo "$ac_msg" >&6
15647    as_dir="$ac_dir"; as_fn_mkdir_p
15648    ac_builddir=.
15649
15650 case "$ac_dir" in
15651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15652 *)
15653  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15654  # A ".." for each directory in $ac_dir_suffix.
15655  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15656  case $ac_top_builddir_sub in
15657  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15658  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15659  esac ;;
15660 esac
15661 ac_abs_top_builddir=$ac_pwd
15662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15663 # for backward compatibility:
15664 ac_top_builddir=$ac_top_build_prefix
15665
15666 case $srcdir in
15667  .)  # We are building in place.
15668    ac_srcdir=.
15669    ac_top_srcdir=$ac_top_builddir_sub
15670    ac_abs_top_srcdir=$ac_pwd ;;
15671  [\\/]* | ?:[\\/]* )  # Absolute name.
15672    ac_srcdir=$srcdir$ac_dir_suffix;
15673    ac_top_srcdir=$srcdir
15674    ac_abs_top_srcdir=$srcdir ;;
15675  *) # Relative name.
15676    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15677    ac_top_srcdir=$ac_top_build_prefix$srcdir
15678    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15679 esac
15680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15681
15682
15683    cd "$ac_dir"
15684
15685    # Check for guested configure; otherwise get Cygnus style configure.
15686    if test -f "$ac_srcdir/configure.gnu"; then
15687      ac_sub_configure=$ac_srcdir/configure.gnu
15688    elif test -f "$ac_srcdir/configure"; then
15689      ac_sub_configure=$ac_srcdir/configure
15690    elif test -f "$ac_srcdir/configure.in"; then
15691      # This should be Cygnus configure.
15692      ac_sub_configure=$ac_aux_dir/configure
15693    else
15694      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15695 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15696      ac_sub_configure=
15697    fi
15698
15699    # The recursion is here.
15700    if test -n "$ac_sub_configure"; then
15701      # Make the cache file name correct relative to the subdirectory.
15702      case $cache_file in
15703      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15704      *) # Relative name.
15705        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15706      esac
15707
15708      { $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
15709 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15710      # The eval makes quoting arguments work.
15711      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15712           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15713        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15714    fi
15715
15716    cd "$ac_popdir"
15717  done
15718 fi
17309   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17310    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17311   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Comparing:
hopm/trunk/configure (property svn:eol-style), Revision 5122 by michael, Thu Dec 25 16:50:00 2014 UTC vs.
hopm/branches/1.1.x/configure (property svn:eol-style), Revision 9998 by michael, Wed Jun 23 14:13:52 2021 UTC

# Line 0 | Line 1
1 + native

Comparing:
hopm/trunk/configure (property svn:keywords), Revision 5122 by michael, Thu Dec 25 16:50:00 2014 UTC vs.
hopm/branches/1.1.x/configure (property svn:keywords), Revision 9998 by michael, Wed Jun 23 14:13:52 2021 UTC

# Line 0 | Line 1
1 + Id

Diff Legend

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