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 5145 by michael, Fri Dec 26 14:11:07 2014 UTC vs.
Revision 6105 by michael, Thu Jun 11 12:45:27 2015 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 6102 2015-06-11 12:38:55Z 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 TRUNK.
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='TRUNK'
595 > PACKAGE_STRING='hopm TRUNK'
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 761 | Line 764 | ac_user_opts='
764   enable_option_checking
765   enable_silent_rules
766   enable_maintainer_mode
764 with_extra_fascism
767   enable_dependency_tracking
768   enable_shared
769   enable_static
# Line 771 | Line 773 | with_aix_soname
773   with_gnu_ld
774   with_sysroot
775   enable_libtool_lock
776 + enable_assert
777   '
778        ac_precious_vars='build_alias
779   host_alias
# Line 780 | Line 783 | CFLAGS
783   LDFLAGS
784   LIBS
785   CPPFLAGS
786 + LT_SYS_LIBRARY_PATH
787   CPP
788   YACC
789   YFLAGS'
790 < ac_subdirs_all='src/libopm'
790 >
791  
792   # Initialize some variables set by options.
793   ac_init_help=
# Line 1323 | Line 1327 | if test "$ac_init_help" = "long"; then
1327    # Omit some internal or obsolete options to make the list less imposing.
1328    # This message is too long to be a string in the A/UX 3.1 sh.
1329    cat <<_ACEOF
1330 < \`configure' configures hopm 1.0.0beta1 to adapt to many kinds of systems.
1330 > \`configure' configures hopm TRUNK to adapt to many kinds of systems.
1331  
1332   Usage: $0 [OPTION]... [VAR=VALUE]...
1333  
# Line 1393 | Line 1397 | fi
1397  
1398   if test -n "$ac_init_help"; then
1399    case $ac_init_help in
1400 <     short | recursive ) echo "Configuration of hopm 1.0.0beta1:";;
1400 >     short | recursive ) echo "Configuration of hopm TRUNK:";;
1401     esac
1402    cat <<\_ACEOF
1403  
# Line 1415 | Line 1419 | Optional Features:
1419    --enable-fast-install[=PKGS]
1420                            optimize for fast installation [default=yes]
1421    --disable-libtool-lock  avoid locking (might break parallel builds)
1422 +  --enable-assert         Enable assert() statements
1423  
1424   Optional Packages:
1425    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1426    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422  --with-extra-fascism    Add extra gcc3-specific warning flags
1427    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1428                            both]
1429    --with-aix-soname=aix|svr4|both
# Line 1437 | Line 1441 | Some influential environment variables:
1441    LIBS        libraries to pass to the linker, e.g. -l<library>
1442    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443                you have headers in a nonstandard directory <include dir>
1444 +  LT_SYS_LIBRARY_PATH
1445 +              User-defined run-time library search path.
1446    CPP         C preprocessor
1447    YACC        The `Yet Another Compiler Compiler' implementation to use.
1448                Defaults to the first program found out of: `bison -y', `byacc',
# Line 1448 | Line 1454 | Some influential environment variables:
1454   Use these variables to override the choices made by `configure' or to help
1455   it to find libraries and programs with nonstandard names/locations.
1456  
1457 < Report bugs to the package provider.
1457 > Report bugs to <bugs@ircd-hybrid.org>.
1458   _ACEOF
1459   ac_status=$?
1460   fi
# Line 1511 | Line 1517 | fi
1517   test -n "$ac_init_help" && exit $ac_status
1518   if $ac_init_version; then
1519    cat <<\_ACEOF
1520 < hopm configure 1.0.0beta1
1520 > hopm configure TRUNK
1521   generated by GNU Autoconf 2.69
1522  
1523   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1785 | Line 1791 | $as_echo "$ac_res" >&6; }
1791    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792  
1793   } # 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
1794   cat >config.log <<_ACEOF
1795   This file contains any messages produced by compilers while
1796   running configure, to aid debugging if configure makes a mistake.
1797  
1798 < It was created by hopm $as_me 1.0.0beta1, which was
1798 > It was created by hopm $as_me TRUNK, which was
1799   generated by GNU Autoconf 2.69.  Invocation command line was
1800  
1801    $ $0 $@
# Line 2461 | Line 2143 | ac_link='$CC -o conftest$ac_exeext $CFLA
2143   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2144  
2145  
2146 <
2465 < ac_config_headers="$ac_config_headers src/setup.h"
2466 <
2467 < am__api_version='1.14'
2146 > am__api_version='1.15'
2147  
2148   ac_aux_dir=
2149   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2665 | Line 2344 | test "$program_suffix" != NONE &&
2344   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2345   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2346  
2347 < # expand $ac_aux_dir to an absolute path
2348 < am_aux_dir=`cd $ac_aux_dir && pwd`
2347 > # Expand $ac_aux_dir to an absolute path.
2348 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2349  
2350   if test x"${MISSING+set}" != xset; then
2351    case $am_aux_dir in
# Line 2685 | Line 2364 | else
2364   $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2365   fi
2366  
2367 < if test x"${install_sh}" != xset; then
2367 > if test x"${install_sh+set}" != xset; then
2368    case $am_aux_dir in
2369    *\ * | *\     *)
2370      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2979 | Line 2658 | fi
2658  
2659   # Define the identity of the package.
2660   PACKAGE='hopm'
2661 < VERSION='1.0.0beta1'
2661 > VERSION='TRUNK'
2662  
2663  
2664   cat >>confdefs.h <<_ACEOF
# Line 3013 | Line 2692 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2692   # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2693   mkdir_p='$(MKDIR_P)'
2694  
2695 < # We need awk for the "check" target.  The system "awk" is bad on
2696 < # some platforms.
2695 > # We need awk for the "check" target (and possibly the TAP driver).  The
2696 > # system "awk" is bad on some platforms.
2697   # Always define AMTAR for backward compatibility.  Yes, it's still used
2698   # in the wild :-(  We should find a proper way to deprecate it ...
2699   AMTAR='$${TAR-tar}'
# Line 3096 | Line 2775 | fi
2775  
2776  
2777  
2778 <
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 <
2778 > ac_config_headers="$ac_config_headers src/setup.h"
2779  
2780  
2781  
# Line 4333 | Line 4007 | esac
4007  
4008  
4009  
4010 < macro_version='2.4.4'
4011 < macro_revision='2.4.4'
4010 > macro_version='2.4.6'
4011 > macro_revision='2.4.6'
4012  
4013  
4014  
# Line 6757 | Line 6431 | $as_echo "$lt_cv_truncate_bin" >&6; }
6431  
6432  
6433  
6434 +
6435 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6436 + func_cc_basename ()
6437 + {
6438 +    for cc_temp in $*""; do
6439 +      case $cc_temp in
6440 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6441 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6442 +        \-*) ;;
6443 +        *) break;;
6444 +      esac
6445 +    done
6446 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6447 + }
6448 +
6449   # Check whether --enable-libtool-lock was given.
6450   if test "${enable_libtool_lock+set}" = set; then :
6451    enableval=$enable_libtool_lock;
# Line 7764 | Line 7453 | $as_echo "$lt_cv_ld_force_load" >&6; }
7453      ;;
7454    esac
7455  
7456 + # func_munge_path_list VARIABLE PATH
7457 + # -----------------------------------
7458 + # VARIABLE is name of variable containing _space_ separated list of
7459 + # directories to be munged by the contents of PATH, which is string
7460 + # having a format:
7461 + # "DIR[:DIR]:"
7462 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7463 + # ":DIR[:DIR]"
7464 + #       string "DIR[ DIR]" will be appended to VARIABLE
7465 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7466 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7467 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7468 + # "DIR[:DIR]"
7469 + #       VARIABLE will be replaced by "DIR[ DIR]"
7470 + func_munge_path_list ()
7471 + {
7472 +    case x$2 in
7473 +    x)
7474 +        ;;
7475 +    *:)
7476 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7477 +        ;;
7478 +    x:*)
7479 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7480 +        ;;
7481 +    *::*)
7482 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7483 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7484 +        ;;
7485 +    *)
7486 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7487 +        ;;
7488 +    esac
7489 + }
7490 +
7491   ac_ext=c
7492   ac_cpp='$CPP $CPPFLAGS'
7493   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8351 | Line 8075 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8075   test -z "$LD" && LD=ld
8076   test -z "$ac_objext" && ac_objext=o
8077  
8078 < for cc_temp in $compiler""; do
8079 <  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-%%"`
8078 > func_cc_basename $compiler
8079 > cc_basename=$func_cc_basename_result
8080  
8081  
8082   # Only perform the check for file, if the check method requires it
# Line 8559 | Line 8276 | _lt_linker_boilerplate=`cat conftest.err
8276   $RM -r conftest*
8277  
8278  
8279 + ## CAVEAT EMPTOR:
8280 + ## There is no encapsulation within the following macros, do not change
8281 + ## the running order or otherwise move them around unless you know exactly
8282 + ## what you are doing...
8283   if test -n "$compiler"; then
8284  
8285   lt_prog_compiler_no_builtin_flag=
# Line 10814 | Line 10535 | hardcode_into_libs=no
10535   # flags to be left without arguments
10536   need_version=unknown
10537  
10538 +
10539 +
10540   case $host_os in
10541   aix3*)
10542    version_type=linux # correct to gnu/linux during the next big refactor
# Line 11102 | Line 10825 | freebsd* | dragonfly*)
10825    case $version_type in
10826      freebsd-elf*)
10827        library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10828 +      soname_spec='$libname$release$shared_ext$major'
10829        need_version=no
10830        need_lib_prefix=no
10831        ;;
# Line 11161 | Line 10885 | hpux9* | hpux10* | hpux11*)
10885      soname_spec='$libname$release$shared_ext$major'
10886      if test 32 = "$HPUX_IA64_MODE"; then
10887        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10888 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10889      else
10890        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10891 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10892      fi
11167    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10893      ;;
10894    hppa*64*)
10895      shrext_cmds='.sl'
# Line 11316 | Line 11041 | fi
11041    # before this can be enabled.
11042    hardcode_into_libs=yes
11043  
11044 <  # Append ld.so.conf contents to the search path
11044 >  # Ideally, we could use ldconfig to report *all* directores which are
11045 >  # searched for libraries, however this is still not possible.  Aside from not
11046 >  # being certain /sbin/ldconfig is available, command
11047 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11048 >  # even though it is searched at run-time.  Try to do the best guess by
11049 >  # appending ld.so.conf contents (and includes) to the search path.
11050    if test -f /etc/ld.so.conf; then
11051      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' ' '`
11052      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
# Line 11541 | Line 11271 | fi
11271   if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11272    sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11273   fi
11274 +
11275   if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11276    sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11277   fi
11278  
11279 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11280 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11281 +
11282 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11283 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11284 +
11285 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11286 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11287 +
11288 +
11289 +
11290 +
11291 +
11292 +
11293  
11294  
11295  
# Line 12325 | Line 12070 | CC=$lt_save_CC
12070  
12071  
12072  
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
12073   for ac_prog in 'bison -y' byacc
12074   do
12075    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 12757 | Line 12277 | if test "$LEX" = :; then
12277    LEX=${am_missing_run}flex
12278   fi
12279  
12280 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12281 < $as_echo_n "checking for library containing socket... " >&6; }
12282 < if ${ac_cv_search_socket+:} false; then :
12280 >
12281 >
12282 >  if test "X$CC" != "X"; then
12283 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
12284 > $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
12285 > if ${ssp_cv_cc+:} false; then :
12286    $as_echo_n "(cached) " >&6
12287   else
12288 <  ac_func_search_save_LIBS=$LIBS
12289 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 >  ssp_old_cflags="$CFLAGS"
12289 >       CFLAGS="$CFLAGS -fstack-protector-strong"
12290 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291   /* end confdefs.h.  */
12292  
12769 /* Override any GCC internal prototype to avoid an error.
12770   Use char because int might match the return type of a GCC
12771   builtin and then its argument prototype would still apply.  */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char socket ();
12293   int
12294   main ()
12295   {
12296 < return socket ();
12296 >
12297    ;
12298    return 0;
12299   }
12300   _ACEOF
12301 < for ac_lib in '' socket; do
12302 <  if test -z "$ac_lib"; then
12303 <    ac_res="none required"
12304 <  else
12788 <    ac_res=-l$ac_lib
12789 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12790 <  fi
12791 <  if ac_fn_c_try_link "$LINENO"; then :
12792 <  ac_cv_search_socket=$ac_res
12301 > if ac_fn_c_try_compile "$LINENO"; then :
12302 >  ssp_cv_cc=yes
12303 > else
12304 >  ssp_cv_cc=no
12305   fi
12306 < rm -f core conftest.err conftest.$ac_objext \
12307 <    conftest$ac_exeext
12308 <  if ${ac_cv_search_socket+:} false; then :
12797 <  break
12306 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12307 >       CFLAGS="$ssp_old_cflags"
12308 >
12309   fi
12310 < done
12311 < if ${ac_cv_search_socket+:} false; then :
12310 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12311 > $as_echo "$ssp_cv_cc" >&6; }
12312 >    if test $ssp_cv_cc = yes; then
12313 >      CFLAGS="$CFLAGS -fstack-protector-strong"
12314 >
12315 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12316  
12317 +    else
12318 +      unset ssp_cv_cc
12319 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
12320 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
12321 + if ${ssp_cv_cc+:} false; then :
12322 +  $as_echo_n "(cached) " >&6
12323   else
12324 <  ac_cv_search_socket=no
12324 >  ssp_old_cflags="$CFLAGS"
12325 >         CFLAGS="$CFLAGS -fstack-protector"
12326 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 > /* end confdefs.h.  */
12328 >
12329 > int
12330 > main ()
12331 > {
12332 >
12333 >  ;
12334 >  return 0;
12335 > }
12336 > _ACEOF
12337 > if ac_fn_c_try_compile "$LINENO"; then :
12338 >  ssp_cv_cc=yes
12339 > else
12340 >  ssp_cv_cc=no
12341   fi
12342 < rm conftest.$ac_ext
12343 < LIBS=$ac_func_search_save_LIBS
12342 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12343 >         CFLAGS="$ssp_old_cflags"
12344 >
12345   fi
12346 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12347 < $as_echo "$ac_cv_search_socket" >&6; }
12348 < ac_res=$ac_cv_search_socket
12349 < if test "$ac_res" != no; then :
12812 <  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12346 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12347 > $as_echo "$ssp_cv_cc" >&6; }
12348 >      if test $ssp_cv_cc = yes; then
12349 >        CFLAGS="$CFLAGS -fstack-protector"
12350  
12351 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12352 +
12353 +      fi
12354 +    fi
12355 +  fi
12356 +
12357 +
12358 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
12359 + $as_echo_n "checking whether libssp exists... " >&6; }
12360 + if ${ssp_cv_lib+:} false; then :
12361 +  $as_echo_n "(cached) " >&6
12362   else
12363 <  as_fn_error $? "socket library not found" "$LINENO" 5
12363 >  ssp_old_libs="$LIBS"
12364 >     LIBS="$LIBS -lssp"
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_link "$LINENO"; then :
12377 >  ssp_cv_lib=yes
12378 > else
12379 >  ssp_cv_lib=no
12380   fi
12381 + rm -f core conftest.err conftest.$ac_objext \
12382 +    conftest$ac_exeext conftest.$ac_ext
12383 +     LIBS="$ssp_old_libs"
12384 +
12385 + fi
12386 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
12387 + $as_echo "$ssp_cv_lib" >&6; }
12388 +  if test $ssp_cv_lib = yes; then
12389 +    LIBS="$LIBS -lssp"
12390 +  fi
12391  
12392 < ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12392 >
12393 >
12394 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12395   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12396  
12397   else
# Line 12877 | Line 12453 | fi
12453  
12454   fi
12455  
12456 < ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12456 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12457   if test "x$ac_cv_func_getnameinfo" = xyes; then :
12458  
12459   else
# Line 12939 | Line 12515 | fi
12515  
12516   fi
12517  
12518 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12519 + $as_echo_n "checking for library containing socket... " >&6; }
12520 + if ${ac_cv_search_socket+:} false; then :
12521 +  $as_echo_n "(cached) " >&6
12522 + else
12523 +  ac_func_search_save_LIBS=$LIBS
12524 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 + /* end confdefs.h.  */
12526  
12527 < for ac_func in strlcpy strlcat inet_aton inet_pton socket strdup strstr
12528 < do :
12529 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12530 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12531 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12532 <  cat >>confdefs.h <<_ACEOF
12533 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12527 > /* Override any GCC internal prototype to avoid an error.
12528 >   Use char because int might match the return type of a GCC
12529 >   builtin and then its argument prototype would still apply.  */
12530 > #ifdef __cplusplus
12531 > extern "C"
12532 > #endif
12533 > char socket ();
12534 > int
12535 > main ()
12536 > {
12537 > return socket ();
12538 >  ;
12539 >  return 0;
12540 > }
12541   _ACEOF
12542 <
12542 > for ac_lib in '' socket; do
12543 >  if test -z "$ac_lib"; then
12544 >    ac_res="none required"
12545 >  else
12546 >    ac_res=-l$ac_lib
12547 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12548 >  fi
12549 >  if ac_fn_c_try_link "$LINENO"; then :
12550 >  ac_cv_search_socket=$ac_res
12551 > fi
12552 > rm -f core conftest.err conftest.$ac_objext \
12553 >    conftest$ac_exeext
12554 >  if ${ac_cv_search_socket+:} false; then :
12555 >  break
12556   fi
12557   done
12558 + if ${ac_cv_search_socket+:} false; then :
12559  
12560 + else
12561 +  ac_cv_search_socket=no
12562 + fi
12563 + rm conftest.$ac_ext
12564 + LIBS=$ac_func_search_save_LIBS
12565 + fi
12566 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12567 + $as_echo "$ac_cv_search_socket" >&6; }
12568 + ac_res=$ac_cv_search_socket
12569 + if test "$ac_res" != no; then :
12570 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12571 +
12572 + else
12573 +  as_fn_error $? "socket library not found" "$LINENO" 5
12574 + fi
12575 +
12576 +
12577 +
12578 +  # Check whether --enable-assert was given.
12579 + if test "${enable_assert+set}" = set; then :
12580 +  enableval=$enable_assert; assert=$enableval
12581 + else
12582 +  assert=no
12583 + fi
12584 +
12585 +
12586 +  if test "$assert" = "no"; then :
12587 +
12588 + $as_echo "#define NDEBUG 1" >>confdefs.h
12589 +
12590 + fi
12591  
12592 < for ac_func in gethostbyname
12592 >
12593 > for ac_func in strlcpy strlcat
12594   do :
12595 <  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12596 < if test "x$ac_cv_func_gethostbyname" = xyes; then :
12595 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12596 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12597 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12598    cat >>confdefs.h <<_ACEOF
12599 < #define HAVE_GETHOSTBYNAME 1
12599 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12600   _ACEOF
12601  
12602   fi
# Line 13190 | Line 12828 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12828   esac
12829  
12830  
12831 < # The cast to long int works around a bug in the HP C Compiler
13194 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13195 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13196 < # This bug is HP SR number 8606223364.
13197 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13198 < $as_echo_n "checking size of int... " >&6; }
13199 < if ${ac_cv_sizeof_int+:} false; then :
13200 <  $as_echo_n "(cached) " >&6
13201 < else
13202 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13203 <
13204 < else
13205 <  if test "$ac_cv_type_int" = yes; then
13206 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13207 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13208 < as_fn_error 77 "cannot compute sizeof (int)
13209 < See \`config.log' for more details" "$LINENO" 5; }
13210 <   else
13211 <     ac_cv_sizeof_int=0
13212 <   fi
13213 < fi
13214 <
13215 < fi
13216 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13217 < $as_echo "$ac_cv_sizeof_int" >&6; }
13218 <
13219 <
13220 <
13221 < cat >>confdefs.h <<_ACEOF
13222 < #define SIZEOF_INT $ac_cv_sizeof_int
13223 < _ACEOF
13224 <
13225 <
13226 < # The cast to long int works around a bug in the HP C Compiler
13227 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13228 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13229 < # This bug is HP SR number 8606223364.
13230 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13231 < $as_echo_n "checking size of short... " >&6; }
13232 < if ${ac_cv_sizeof_short+:} false; then :
13233 <  $as_echo_n "(cached) " >&6
13234 < else
13235 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13236 <
13237 < else
13238 <  if test "$ac_cv_type_short" = yes; then
13239 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13240 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13241 < as_fn_error 77 "cannot compute sizeof (short)
13242 < See \`config.log' for more details" "$LINENO" 5; }
13243 <   else
13244 <     ac_cv_sizeof_short=0
13245 <   fi
13246 < fi
13247 <
13248 < fi
13249 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13250 < $as_echo "$ac_cv_sizeof_short" >&6; }
13251 <
13252 <
13253 <
13254 < cat >>confdefs.h <<_ACEOF
13255 < #define SIZEOF_SHORT $ac_cv_sizeof_short
13256 < _ACEOF
13257 <
13258 <
13259 < # The cast to long int works around a bug in the HP C Compiler
13260 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13261 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13262 < # This bug is HP SR number 8606223364.
13263 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13264 < $as_echo_n "checking size of long... " >&6; }
13265 < if ${ac_cv_sizeof_long+:} false; then :
13266 <  $as_echo_n "(cached) " >&6
13267 < else
13268 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13269 <
13270 < else
13271 <  if test "$ac_cv_type_long" = yes; then
13272 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13273 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13274 < as_fn_error 77 "cannot compute sizeof (long)
13275 < See \`config.log' for more details" "$LINENO" 5; }
13276 <   else
13277 <     ac_cv_sizeof_long=0
13278 <   fi
13279 < fi
13280 <
13281 < fi
13282 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13283 < $as_echo "$ac_cv_sizeof_long" >&6; }
13284 <
13285 <
13286 <
13287 < cat >>confdefs.h <<_ACEOF
13288 < #define SIZEOF_LONG $ac_cv_sizeof_long
13289 < _ACEOF
13290 <
13291 <
13292 <
13293 <
13294 <
13295 <
13296 <
13297 <
13298 < subdirs="$subdirs src/libopm"
13299 <
13300 <
13301 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
12831 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
12832  
12833   cat >confcache <<\_ACEOF
12834   # This file is a shell script that caches the results of configure
# Line 13835 | Line 13365 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
13365   # report actual input values of CONFIG_FILES etc. instead of their
13366   # values after options handling.
13367   ac_log="
13368 < This file was extended by hopm $as_me 1.0.0beta1, which was
13368 > This file was extended by hopm $as_me TRUNK, which was
13369   generated by GNU Autoconf 2.69.  Invocation command line was
13370  
13371    CONFIG_FILES    = $CONFIG_FILES
# Line 13895 | Line 13425 | $config_headers
13425   Configuration commands:
13426   $config_commands
13427  
13428 < Report bugs to the package provider."
13428 > Report bugs to <bugs@ircd-hybrid.org>."
13429  
13430   _ACEOF
13431   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13432   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13433   ac_cs_version="\\
13434 < hopm config.status 1.0.0beta1
13434 > hopm config.status TRUNK
13435   configured by $0, generated by GNU Autoconf 2.69,
13436    with options \\"\$ac_cs_config\\"
13437  
# Line 14157 | Line 13687 | finish_cmds='`$ECHO "$finish_cmds" | $SE
13687   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13688   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13689   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13690 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13690 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13691 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13692   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13693   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13694   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 14275 | Line 13806 | postinstall_cmds \
13806   postuninstall_cmds \
13807   finish_cmds \
13808   sys_lib_search_path_spec \
13809 < sys_lib_dlsearch_path_spec; do
13809 > configure_time_dlsearch_path \
13810 > configure_time_lt_sys_library_path; do
13811      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13812      *[\\\\\\\`\\"\\\$]*)
13813        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 14317 | Line 13849 | do
13849      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13850      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13851      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13852 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
13853 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
13854  
13855    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13856    esac
# Line 15052 | Line 14586 | $as_echo X"$file" |
14586   # The names of the tagged configurations supported by this script.
14587   available_tags=''
14588  
14589 + # Configured defaults for sys_lib_dlsearch_path munging.
14590 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14591 +
14592   # ### BEGIN LIBTOOL CONFIG
14593  
14594   # Which release of libtool.m4 was used?
# Line 15301 | Line 14838 | hardcode_into_libs=$hardcode_into_libs
14838   # Compile-time system search path for libraries.
14839   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14840  
14841 < # Run-time system search path for libraries.
14842 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14841 > # Detected run-time system search path for libraries.
14842 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14843 >
14844 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14845 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14846  
14847   # Whether dlopen is supported.
14848   dlopen_support=$enable_dlopen
# Line 15453 | Line 14993 | hardcode_action=$hardcode_action
14993  
14994   _LT_EOF
14995  
14996 +    cat <<'_LT_EOF' >> "$cfgfile"
14997 +
14998 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14999 +
15000 + # func_munge_path_list VARIABLE PATH
15001 + # -----------------------------------
15002 + # VARIABLE is name of variable containing _space_ separated list of
15003 + # directories to be munged by the contents of PATH, which is string
15004 + # having a format:
15005 + # "DIR[:DIR]:"
15006 + #       string "DIR[ DIR]" will be prepended to VARIABLE
15007 + # ":DIR[:DIR]"
15008 + #       string "DIR[ DIR]" will be appended to VARIABLE
15009 + # "DIRP[:DIRP]::[DIRA:]DIRA"
15010 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15011 + #       "DIRA[ DIRA]" will be appended to VARIABLE
15012 + # "DIR[:DIR]"
15013 + #       VARIABLE will be replaced by "DIR[ DIR]"
15014 + func_munge_path_list ()
15015 + {
15016 +    case x$2 in
15017 +    x)
15018 +        ;;
15019 +    *:)
15020 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15021 +        ;;
15022 +    x:*)
15023 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15024 +        ;;
15025 +    *::*)
15026 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15027 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15028 +        ;;
15029 +    *)
15030 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15031 +        ;;
15032 +    esac
15033 + }
15034 +
15035 +
15036 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15037 + func_cc_basename ()
15038 + {
15039 +    for cc_temp in $*""; do
15040 +      case $cc_temp in
15041 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15042 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15043 +        \-*) ;;
15044 +        *) break;;
15045 +      esac
15046 +    done
15047 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15048 + }
15049 +
15050 +
15051 + # ### END FUNCTIONS SHARED WITH CONFIGURE
15052 +
15053 + _LT_EOF
15054 +
15055    case $host_os in
15056    aix3*)
15057      cat <<\_LT_EOF >> "$cfgfile"
# Line 15516 | Line 15115 | if test "$no_create" != yes; then
15115    # would make configure fail if this is the last instruction.
15116    $ac_cs_success || as_fn_exit 1
15117   fi
15519
15520 #
15521 # CONFIG_SUBDIRS section.
15522 #
15523 if test "$no_recursion" != yes; then
15524
15525  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15526  # so they do not pile up.
15527  ac_sub_configure_args=
15528  ac_prev=
15529  eval "set x $ac_configure_args"
15530  shift
15531  for ac_arg
15532  do
15533    if test -n "$ac_prev"; then
15534      ac_prev=
15535      continue
15536    fi
15537    case $ac_arg in
15538    -cache-file | --cache-file | --cache-fil | --cache-fi \
15539    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15540      ac_prev=cache_file ;;
15541    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15542    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15543    | --c=*)
15544      ;;
15545    --config-cache | -C)
15546      ;;
15547    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15548      ac_prev=srcdir ;;
15549    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15550      ;;
15551    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15552      ac_prev=prefix ;;
15553    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15554      ;;
15555    --disable-option-checking)
15556      ;;
15557    *)
15558      case $ac_arg in
15559      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15560      esac
15561      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15562    esac
15563  done
15564
15565  # Always prepend --prefix to ensure using the same prefix
15566  # in subdir configurations.
15567  ac_arg="--prefix=$prefix"
15568  case $ac_arg in
15569  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15570  esac
15571  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15572
15573  # Pass --silent
15574  if test "$silent" = yes; then
15575    ac_sub_configure_args="--silent $ac_sub_configure_args"
15576  fi
15577
15578  # Always prepend --disable-option-checking to silence warnings, since
15579  # different subdirs can have different --enable and --with options.
15580  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15581
15582  ac_popdir=`pwd`
15583  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15584
15585    # Do not complain, so a configure script can configure whichever
15586    # parts of a large source tree are present.
15587    test -d "$srcdir/$ac_dir" || continue
15588
15589    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15590    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15591    $as_echo "$ac_msg" >&6
15592    as_dir="$ac_dir"; as_fn_mkdir_p
15593    ac_builddir=.
15594
15595 case "$ac_dir" in
15596 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15597 *)
15598  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15599  # A ".." for each directory in $ac_dir_suffix.
15600  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15601  case $ac_top_builddir_sub in
15602  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15603  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15604  esac ;;
15605 esac
15606 ac_abs_top_builddir=$ac_pwd
15607 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15608 # for backward compatibility:
15609 ac_top_builddir=$ac_top_build_prefix
15610
15611 case $srcdir in
15612  .)  # We are building in place.
15613    ac_srcdir=.
15614    ac_top_srcdir=$ac_top_builddir_sub
15615    ac_abs_top_srcdir=$ac_pwd ;;
15616  [\\/]* | ?:[\\/]* )  # Absolute name.
15617    ac_srcdir=$srcdir$ac_dir_suffix;
15618    ac_top_srcdir=$srcdir
15619    ac_abs_top_srcdir=$srcdir ;;
15620  *) # Relative name.
15621    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15622    ac_top_srcdir=$ac_top_build_prefix$srcdir
15623    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15624 esac
15625 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15626
15627
15628    cd "$ac_dir"
15629
15630    # Check for guested configure; otherwise get Cygnus style configure.
15631    if test -f "$ac_srcdir/configure.gnu"; then
15632      ac_sub_configure=$ac_srcdir/configure.gnu
15633    elif test -f "$ac_srcdir/configure"; then
15634      ac_sub_configure=$ac_srcdir/configure
15635    elif test -f "$ac_srcdir/configure.in"; then
15636      # This should be Cygnus configure.
15637      ac_sub_configure=$ac_aux_dir/configure
15638    else
15639      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15640 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15641      ac_sub_configure=
15642    fi
15643
15644    # The recursion is here.
15645    if test -n "$ac_sub_configure"; then
15646      # Make the cache file name correct relative to the subdirectory.
15647      case $cache_file in
15648      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15649      *) # Relative name.
15650        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15651      esac
15652
15653      { $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
15654 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15655      # The eval makes quoting arguments work.
15656      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15657           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15658        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15659    fi
15660
15661    cd "$ac_popdir"
15662  done
15663 fi
15118   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15119    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15120   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

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