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 5059 by michael, Mon Dec 22 13:43:00 2014 UTC vs.
Revision 5333 by michael, Wed Jan 7 20:45:06 2015 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 5314 2015-01-06 13:27:34Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for bopm 3.1.3.
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 585 | Line 589 | MFLAGS=
589   MAKEFLAGS=
590  
591   # Identity of this package.
592 < PACKAGE_NAME='bopm'
593 < PACKAGE_TARNAME='bopm'
594 < PACKAGE_VERSION='3.1.3'
595 < PACKAGE_STRING='bopm 3.1.3'
596 < PACKAGE_BUGREPORT=''
592 > PACKAGE_NAME='hopm'
593 > PACKAGE_TARNAME='hopm'
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"
600 < ac_default_prefix=\${HOME}/bopm
600 > ac_default_prefix=\${HOME}/hopm
601   # Factoring default headers for most tests.
602   ac_includes_default="\
603   #include <stdio.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
# Line 761 | Line 763 | ac_user_opts='
763   enable_option_checking
764   enable_silent_rules
765   enable_maintainer_mode
764 with_extra_fascism
766   enable_dependency_tracking
767   enable_shared
768   enable_static
# Line 771 | Line 772 | with_aix_soname
772   with_gnu_ld
773   with_sysroot
774   enable_libtool_lock
774 with_werror
775   '
776        ac_precious_vars='build_alias
777   host_alias
# Line 784 | Line 784 | CPPFLAGS
784   CPP
785   YACC
786   YFLAGS'
787 < ac_subdirs_all='src/libopm'
787 >
788  
789   # Initialize some variables set by options.
790   ac_init_help=
# Line 1324 | Line 1324 | if test "$ac_init_help" = "long"; then
1324    # Omit some internal or obsolete options to make the list less imposing.
1325    # This message is too long to be a string in the A/UX 3.1 sh.
1326    cat <<_ACEOF
1327 < \`configure' configures bopm 3.1.3 to adapt to many kinds of systems.
1327 > \`configure' configures hopm TRUNK to adapt to many kinds of systems.
1328  
1329   Usage: $0 [OPTION]... [VAR=VALUE]...
1330  
# Line 1372 | Line 1372 | Fine tuning of the installation director
1372    --infodir=DIR           info documentation [DATAROOTDIR/info]
1373    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1374    --mandir=DIR            man documentation [DATAROOTDIR/man]
1375 <  --docdir=DIR            documentation root [DATAROOTDIR/doc/bopm]
1375 >  --docdir=DIR            documentation root [DATAROOTDIR/doc/hopm]
1376    --htmldir=DIR           html documentation [DOCDIR]
1377    --dvidir=DIR            dvi documentation [DOCDIR]
1378    --pdfdir=DIR            pdf documentation [DOCDIR]
# Line 1394 | Line 1394 | fi
1394  
1395   if test -n "$ac_init_help"; then
1396    case $ac_init_help in
1397 <     short | recursive ) echo "Configuration of bopm 3.1.3:";;
1397 >     short | recursive ) echo "Configuration of hopm TRUNK:";;
1398     esac
1399    cat <<\_ACEOF
1400  
# Line 1420 | Line 1420 | Optional Features:
1420   Optional Packages:
1421    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1422    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1423  --with-extra-fascism    Add extra gcc3-specific warning flags
1423    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1424                            both]
1425    --with-aix-soname=aix|svr4|both
# Line 1429 | Line 1428 | Optional Packages:
1428    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1429    --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1430                            compiler's sysroot if not specified).
1432  --with-werror           use -Werror to abort compilation on any warning
1431  
1432   Some influential environment variables:
1433    CC          C compiler command
# Line 1450 | Line 1448 | Some influential environment variables:
1448   Use these variables to override the choices made by `configure' or to help
1449   it to find libraries and programs with nonstandard names/locations.
1450  
1451 < Report bugs to the package provider.
1451 > Report bugs to <bugs@ircd-hybrid.org>.
1452   _ACEOF
1453   ac_status=$?
1454   fi
# Line 1513 | Line 1511 | fi
1511   test -n "$ac_init_help" && exit $ac_status
1512   if $ac_init_version; then
1513    cat <<\_ACEOF
1514 < bopm configure 3.1.3
1514 > hopm configure TRUNK
1515   generated by GNU Autoconf 2.69
1516  
1517   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1787 | Line 1785 | $as_echo "$ac_res" >&6; }
1785    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786  
1787   } # ac_fn_c_check_func
1790
1791 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1794 # the include files in INCLUDES and setting the cache variable VAR
1795 # accordingly.
1796 ac_fn_c_check_header_mongrel ()
1797 {
1798  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799  if eval \${$3+:} false; then :
1800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \${$3+:} false; then :
1803  $as_echo_n "(cached) " >&6
1804 fi
1805 eval ac_res=\$$3
1806               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 else
1809  # Is the header compilable?
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1811 $as_echo_n "checking $2 usability... " >&6; }
1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h.  */
1814 $4
1815 #include <$2>
1816 _ACEOF
1817 if ac_fn_c_try_compile "$LINENO"; then :
1818  ac_header_compiler=yes
1819 else
1820  ac_header_compiler=no
1821 fi
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1824 $as_echo "$ac_header_compiler" >&6; }
1825
1826 # Is the header present?
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1828 $as_echo_n "checking $2 presence... " >&6; }
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h.  */
1831 #include <$2>
1832 _ACEOF
1833 if ac_fn_c_try_cpp "$LINENO"; then :
1834  ac_header_preproc=yes
1835 else
1836  ac_header_preproc=no
1837 fi
1838 rm -f conftest.err conftest.i conftest.$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1840 $as_echo "$ac_header_preproc" >&6; }
1841
1842 # So?  What about this header?
1843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1844  yes:no: )
1845    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1846 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1847    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1848 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1849    ;;
1850  no:yes:* )
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1852 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1854 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1856 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1858 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1859    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1860 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1861    ;;
1862 esac
1863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866  $as_echo_n "(cached) " >&6
1867 else
1868  eval "$3=\$ac_header_compiler"
1869 fi
1870 eval ac_res=\$$3
1871               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 fi
1874  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875
1876 } # ac_fn_c_check_header_mongrel
1877
1878 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1879 # -------------------------------------------
1880 # Tests whether TYPE exists after having included INCLUDES, setting cache
1881 # variable VAR accordingly.
1882 ac_fn_c_check_type ()
1883 {
1884  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if eval \${$3+:} false; then :
1888  $as_echo_n "(cached) " >&6
1889 else
1890  eval "$3=no"
1891  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h.  */
1893 $4
1894 int
1895 main ()
1896 {
1897 if (sizeof ($2))
1898         return 0;
1899  ;
1900  return 0;
1901 }
1902 _ACEOF
1903 if ac_fn_c_try_compile "$LINENO"; then :
1904  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h.  */
1906 $4
1907 int
1908 main ()
1909 {
1910 if (sizeof (($2)))
1911            return 0;
1912  ;
1913  return 0;
1914 }
1915 _ACEOF
1916 if ac_fn_c_try_compile "$LINENO"; then :
1917
1918 else
1919  eval "$3=yes"
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 fi
1925 eval ac_res=\$$3
1926               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929
1930 } # ac_fn_c_check_type
1931
1932 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1933 # --------------------------------------------
1934 # Tries to find the compile-time value of EXPR in a program that includes
1935 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1936 # computed
1937 ac_fn_c_compute_int ()
1938 {
1939  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940  if test "$cross_compiling" = yes; then
1941    # Depending upon the size, compute the lo and hi bounds.
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h.  */
1944 $4
1945 int
1946 main ()
1947 {
1948 static int test_array [1 - 2 * !(($2) >= 0)];
1949 test_array [0] = 0;
1950 return test_array [0];
1951
1952  ;
1953  return 0;
1954 }
1955 _ACEOF
1956 if ac_fn_c_try_compile "$LINENO"; then :
1957  ac_lo=0 ac_mid=0
1958  while :; do
1959    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h.  */
1961 $4
1962 int
1963 main ()
1964 {
1965 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1966 test_array [0] = 0;
1967 return test_array [0];
1968
1969  ;
1970  return 0;
1971 }
1972 _ACEOF
1973 if ac_fn_c_try_compile "$LINENO"; then :
1974  ac_hi=$ac_mid; break
1975 else
1976  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1977                        if test $ac_lo -le $ac_mid; then
1978                          ac_lo= ac_hi=
1979                          break
1980                        fi
1981                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1982 fi
1983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984  done
1985 else
1986  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h.  */
1988 $4
1989 int
1990 main ()
1991 {
1992 static int test_array [1 - 2 * !(($2) < 0)];
1993 test_array [0] = 0;
1994 return test_array [0];
1995
1996  ;
1997  return 0;
1998 }
1999 _ACEOF
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001  ac_hi=-1 ac_mid=-1
2002  while :; do
2003    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h.  */
2005 $4
2006 int
2007 main ()
2008 {
2009 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2010 test_array [0] = 0;
2011 return test_array [0];
2012
2013  ;
2014  return 0;
2015 }
2016 _ACEOF
2017 if ac_fn_c_try_compile "$LINENO"; then :
2018  ac_lo=$ac_mid; break
2019 else
2020  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2021                        if test $ac_mid -le $ac_hi; then
2022                          ac_lo= ac_hi=
2023                          break
2024                        fi
2025                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2026 fi
2027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2028  done
2029 else
2030  ac_lo= ac_hi=
2031 fi
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 fi
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 # Binary search between lo and hi bounds.
2036 while test "x$ac_lo" != "x$ac_hi"; do
2037  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2038  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h.  */
2040 $4
2041 int
2042 main ()
2043 {
2044 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2045 test_array [0] = 0;
2046 return test_array [0];
2047
2048  ;
2049  return 0;
2050 }
2051 _ACEOF
2052 if ac_fn_c_try_compile "$LINENO"; then :
2053  ac_hi=$ac_mid
2054 else
2055  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2056 fi
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 done
2059 case $ac_lo in #((
2060 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2061 '') ac_retval=1 ;;
2062 esac
2063  else
2064    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h.  */
2066 $4
2067 static long int longval () { return $2; }
2068 static unsigned long int ulongval () { return $2; }
2069 #include <stdio.h>
2070 #include <stdlib.h>
2071 int
2072 main ()
2073 {
2074
2075  FILE *f = fopen ("conftest.val", "w");
2076  if (! f)
2077    return 1;
2078  if (($2) < 0)
2079    {
2080      long int i = longval ();
2081      if (i != ($2))
2082        return 1;
2083      fprintf (f, "%ld", i);
2084    }
2085  else
2086    {
2087      unsigned long int i = ulongval ();
2088      if (i != ($2))
2089        return 1;
2090      fprintf (f, "%lu", i);
2091    }
2092  /* Do not output a trailing newline, as this causes \r\n confusion
2093     on some platforms.  */
2094  return ferror (f) || fclose (f) != 0;
2095
2096  ;
2097  return 0;
2098 }
2099 _ACEOF
2100 if ac_fn_c_try_run "$LINENO"; then :
2101  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2102 else
2103  ac_retval=1
2104 fi
2105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2106  conftest.$ac_objext conftest.beam conftest.$ac_ext
2107 rm -f conftest.val
2108
2109  fi
2110  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111  as_fn_set_status $ac_retval
2112
2113 } # ac_fn_c_compute_int
1788   cat >config.log <<_ACEOF
1789   This file contains any messages produced by compilers while
1790   running configure, to aid debugging if configure makes a mistake.
1791  
1792 < It was created by bopm $as_me 3.1.3, which was
1792 > It was created by hopm $as_me TRUNK, which was
1793   generated by GNU Autoconf 2.69.  Invocation command line was
1794  
1795    $ $0 $@
# Line 2463 | Line 2137 | ac_link='$CC -o conftest$ac_exeext $CFLA
2137   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2138  
2139  
2466
2467 ac_config_headers="$ac_config_headers src/setup.h"
2468
2140   am__api_version='1.14'
2141  
2142   ac_aux_dir=
# Line 2980 | Line 2651 | fi
2651  
2652  
2653   # Define the identity of the package.
2654 < PACKAGE='bopm'
2655 < VERSION='3.1.3'
2654 > PACKAGE='hopm'
2655 > VERSION='TRUNK'
2656  
2657  
2658   cat >>confdefs.h <<_ACEOF
# Line 3074 | Line 2745 | END
2745    fi
2746   fi
2747  
3077
2748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2749   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2750      # Check whether --enable-maintainer-mode was given.
# Line 3098 | Line 2768 | fi
2768  
2769  
2770  
2771 <
3102 < # Check whether --with-extra-fascism was given.
3103 < if test "${with_extra_fascism+set}" = set; then :
3104 <  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"
3105 < fi
3106 <
3107 <
2771 > ac_config_headers="$ac_config_headers src/setup.h"
2772  
2773  
2774  
# Line 12327 | Line 11991 | CC=$lt_save_CC
11991  
11992  
11993  
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12331 $as_echo_n "checking for ANSI C header files... " >&6; }
12332 if ${ac_cv_header_stdc+:} false; then :
12333  $as_echo_n "(cached) " >&6
12334 else
12335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h.  */
12337 #include <stdlib.h>
12338 #include <stdarg.h>
12339 #include <string.h>
12340 #include <float.h>
12341
12342 int
12343 main ()
12344 {
12345
12346  ;
12347  return 0;
12348 }
12349 _ACEOF
12350 if ac_fn_c_try_compile "$LINENO"; then :
12351  ac_cv_header_stdc=yes
12352 else
12353  ac_cv_header_stdc=no
12354 fi
12355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12356
12357 if test $ac_cv_header_stdc = yes; then
12358  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12359  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h.  */
12361 #include <string.h>
12362
12363 _ACEOF
12364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12365  $EGREP "memchr" >/dev/null 2>&1; then :
12366
12367 else
12368  ac_cv_header_stdc=no
12369 fi
12370 rm -f conftest*
12371
12372 fi
12373
12374 if test $ac_cv_header_stdc = yes; then
12375  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h.  */
12378 #include <stdlib.h>
12379
12380 _ACEOF
12381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12382  $EGREP "free" >/dev/null 2>&1; then :
12383
12384 else
12385  ac_cv_header_stdc=no
12386 fi
12387 rm -f conftest*
12388
12389 fi
12390
12391 if test $ac_cv_header_stdc = yes; then
12392  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12393  if test "$cross_compiling" = yes; then :
12394  :
12395 else
12396  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h.  */
12398 #include <ctype.h>
12399 #include <stdlib.h>
12400 #if ((' ' & 0x0FF) == 0x020)
12401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12403 #else
12404 # define ISLOWER(c) \
12405                   (('a' <= (c) && (c) <= 'i') \
12406                     || ('j' <= (c) && (c) <= 'r') \
12407                     || ('s' <= (c) && (c) <= 'z'))
12408 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12409 #endif
12410
12411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12412 int
12413 main ()
12414 {
12415  int i;
12416  for (i = 0; i < 256; i++)
12417    if (XOR (islower (i), ISLOWER (i))
12418        || toupper (i) != TOUPPER (i))
12419      return 2;
12420  return 0;
12421 }
12422 _ACEOF
12423 if ac_fn_c_try_run "$LINENO"; then :
12424
12425 else
12426  ac_cv_header_stdc=no
12427 fi
12428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12429  conftest.$ac_objext conftest.beam conftest.$ac_ext
12430 fi
12431
12432 fi
12433 fi
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12435 $as_echo "$ac_cv_header_stdc" >&6; }
12436 if test $ac_cv_header_stdc = yes; then
12437
12438 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12439
12440 fi
12441
12442
12443 for ac_header in sys/poll.h
12444 do :
12445  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12446 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12447  cat >>confdefs.h <<_ACEOF
12448 #define HAVE_SYS_POLL_H 1
12449 _ACEOF
12450 have_poll_sys_h=yes
12451 else
12452  have_sys_poll_h=no
12453 fi
12454
12455 done
12456
12457
12458 for ac_header in fcntl.h sys/time.h unistd.h strings.h
12459 do :
12460  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12461 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12462 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12463  cat >>confdefs.h <<_ACEOF
12464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12465 _ACEOF
12466
12467 fi
12468
12469 done
12470
12471
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12473 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12474 if ${ac_cv_c_const+:} false; then :
12475  $as_echo_n "(cached) " >&6
12476 else
12477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h.  */
12479
12480 int
12481 main ()
12482 {
12483
12484 #ifndef __cplusplus
12485  /* Ultrix mips cc rejects this sort of thing.  */
12486  typedef int charset[2];
12487  const charset cs = { 0, 0 };
12488  /* SunOS 4.1.1 cc rejects this.  */
12489  char const *const *pcpcc;
12490  char **ppc;
12491  /* NEC SVR4.0.2 mips cc rejects this.  */
12492  struct point {int x, y;};
12493  static struct point const zero = {0,0};
12494  /* AIX XL C 1.02.0.0 rejects this.
12495     It does not let you subtract one const X* pointer from another in
12496     an arm of an if-expression whose if-part is not a constant
12497     expression */
12498  const char *g = "string";
12499  pcpcc = &g + (g ? g-g : 0);
12500  /* HPUX 7.0 cc rejects these. */
12501  ++pcpcc;
12502  ppc = (char**) pcpcc;
12503  pcpcc = (char const *const *) ppc;
12504  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12505    char tx;
12506    char *t = &tx;
12507    char const *s = 0 ? (char *) 0 : (char const *) 0;
12508
12509    *t++ = 0;
12510    if (s) return 0;
12511  }
12512  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12513    int x[] = {25, 17};
12514    const int *foo = &x[0];
12515    ++foo;
12516  }
12517  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12518    typedef const int *iptr;
12519    iptr p = 0;
12520    ++p;
12521  }
12522  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12523       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12524    struct s { int j; const int *ap[3]; } bx;
12525    struct s *b = &bx; b->j = 5;
12526  }
12527  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12528    const int foo = 10;
12529    if (!foo) return 0;
12530  }
12531  return !cs[0] && !zero.x;
12532 #endif
12533
12534  ;
12535  return 0;
12536 }
12537 _ACEOF
12538 if ac_fn_c_try_compile "$LINENO"; then :
12539  ac_cv_c_const=yes
12540 else
12541  ac_cv_c_const=no
12542 fi
12543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12544 fi
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12546 $as_echo "$ac_cv_c_const" >&6; }
12547 if test $ac_cv_c_const = no; then
12548
12549 $as_echo "#define const /**/" >>confdefs.h
12550
12551 fi
12552
12553 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12554 if test "x$ac_cv_type_size_t" = xyes; then :
12555
12556 else
12557
12558 cat >>confdefs.h <<_ACEOF
12559 #define size_t unsigned int
12560 _ACEOF
12561
12562 fi
12563
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12565 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12566 if ${ac_cv_header_time+:} false; then :
12567  $as_echo_n "(cached) " >&6
12568 else
12569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h.  */
12571 #include <sys/types.h>
12572 #include <sys/time.h>
12573 #include <time.h>
12574
12575 int
12576 main ()
12577 {
12578 if ((struct tm *) 0)
12579 return 0;
12580  ;
12581  return 0;
12582 }
12583 _ACEOF
12584 if ac_fn_c_try_compile "$LINENO"; then :
12585  ac_cv_header_time=yes
12586 else
12587  ac_cv_header_time=no
12588 fi
12589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12590 fi
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12592 $as_echo "$ac_cv_header_time" >&6; }
12593 if test $ac_cv_header_time = yes; then
12594
12595 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12596
12597 fi
12598
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12600 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12601 if ${ac_cv_struct_tm+:} false; then :
12602  $as_echo_n "(cached) " >&6
12603 else
12604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h.  */
12606 #include <sys/types.h>
12607 #include <time.h>
12608
12609 int
12610 main ()
12611 {
12612 struct tm tm;
12613                                     int *p = &tm.tm_sec;
12614                                     return !p;
12615  ;
12616  return 0;
12617 }
12618 _ACEOF
12619 if ac_fn_c_try_compile "$LINENO"; then :
12620  ac_cv_struct_tm=time.h
12621 else
12622  ac_cv_struct_tm=sys/time.h
12623 fi
12624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12625 fi
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12627 $as_echo "$ac_cv_struct_tm" >&6; }
12628 if test $ac_cv_struct_tm = sys/time.h; then
12629
12630 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12631
12632 fi
12633
12634
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12636 $as_echo_n "checking return type of signal handlers... " >&6; }
12637 if ${ac_cv_type_signal+:} false; then :
12638  $as_echo_n "(cached) " >&6
12639 else
12640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h.  */
12642 #include <sys/types.h>
12643 #include <signal.h>
12644
12645 int
12646 main ()
12647 {
12648 return *(signal (0, 0)) (0) == 1;
12649  ;
12650  return 0;
12651 }
12652 _ACEOF
12653 if ac_fn_c_try_compile "$LINENO"; then :
12654  ac_cv_type_signal=int
12655 else
12656  ac_cv_type_signal=void
12657 fi
12658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12659 fi
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12661 $as_echo "$ac_cv_type_signal" >&6; }
12662
12663 cat >>confdefs.h <<_ACEOF
12664 #define RETSIGTYPE $ac_cv_type_signal
12665 _ACEOF
12666
12667
12668 for ac_func in strftime
12669 do :
12670  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12671 if test "x$ac_cv_func_strftime" = xyes; then :
12672  cat >>confdefs.h <<_ACEOF
12673 #define HAVE_STRFTIME 1
12674 _ACEOF
12675
12676 else
12677  # strftime is in -lintl on SCO UNIX.
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12679 $as_echo_n "checking for strftime in -lintl... " >&6; }
12680 if ${ac_cv_lib_intl_strftime+:} false; then :
12681  $as_echo_n "(cached) " >&6
12682 else
12683  ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lintl  $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h.  */
12687
12688 /* Override any GCC internal prototype to avoid an error.
12689   Use char because int might match the return type of a GCC
12690   builtin and then its argument prototype would still apply.  */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char strftime ();
12695 int
12696 main ()
12697 {
12698 return strftime ();
12699  ;
12700  return 0;
12701 }
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704  ac_cv_lib_intl_strftime=yes
12705 else
12706  ac_cv_lib_intl_strftime=no
12707 fi
12708 rm -f core conftest.err conftest.$ac_objext \
12709    conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12711 fi
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12713 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12714 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12715  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12716
12717 LIBS="-lintl $LIBS"
12718 fi
12719
12720 fi
12721 done
12722
12723
12724
11994   for ac_prog in 'bison -y' byacc
11995   do
11996    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 12929 | Line 12198 | if test "$LEX" = :; then
12198    LEX=${am_missing_run}flex
12199   fi
12200  
12201 < ETR_SOCKET_NSL
12201 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12202 > $as_echo_n "checking for library containing socket... " >&6; }
12203 > if ${ac_cv_search_socket+:} false; then :
12204 >  $as_echo_n "(cached) " >&6
12205 > else
12206 >  ac_func_search_save_LIBS=$LIBS
12207 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 > /* end confdefs.h.  */
12209  
12210 < for ac_func in inet_aton inet_pton socket strdup strstr
12211 < do :
12212 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12213 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12214 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12215 <  cat >>confdefs.h <<_ACEOF
12216 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12210 > /* Override any GCC internal prototype to avoid an error.
12211 >   Use char because int might match the return type of a GCC
12212 >   builtin and then its argument prototype would still apply.  */
12213 > #ifdef __cplusplus
12214 > extern "C"
12215 > #endif
12216 > char socket ();
12217 > int
12218 > main ()
12219 > {
12220 > return socket ();
12221 >  ;
12222 >  return 0;
12223 > }
12224 > _ACEOF
12225 > for ac_lib in '' socket; do
12226 >  if test -z "$ac_lib"; then
12227 >    ac_res="none required"
12228 >  else
12229 >    ac_res=-l$ac_lib
12230 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12231 >  fi
12232 >  if ac_fn_c_try_link "$LINENO"; then :
12233 >  ac_cv_search_socket=$ac_res
12234 > fi
12235 > rm -f core conftest.err conftest.$ac_objext \
12236 >    conftest$ac_exeext
12237 >  if ${ac_cv_search_socket+:} false; then :
12238 >  break
12239 > fi
12240 > done
12241 > if ${ac_cv_search_socket+:} false; then :
12242 >
12243 > else
12244 >  ac_cv_search_socket=no
12245 > fi
12246 > rm conftest.$ac_ext
12247 > LIBS=$ac_func_search_save_LIBS
12248 > fi
12249 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12250 > $as_echo "$ac_cv_search_socket" >&6; }
12251 > ac_res=$ac_cv_search_socket
12252 > if test "$ac_res" != no; then :
12253 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12254 >
12255 > else
12256 >  as_fn_error $? "socket library not found" "$LINENO" 5
12257 > fi
12258 >
12259 > ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12260 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12261 >
12262 > else
12263 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
12264 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
12265 > if ${ac_cv_search_getaddrinfo+:} false; then :
12266 >  $as_echo_n "(cached) " >&6
12267 > else
12268 >  ac_func_search_save_LIBS=$LIBS
12269 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 > /* end confdefs.h.  */
12271 >
12272 > /* Override any GCC internal prototype to avoid an error.
12273 >   Use char because int might match the return type of a GCC
12274 >   builtin and then its argument prototype would still apply.  */
12275 > #ifdef __cplusplus
12276 > extern "C"
12277 > #endif
12278 > char getaddrinfo ();
12279 > int
12280 > main ()
12281 > {
12282 > return getaddrinfo ();
12283 >  ;
12284 >  return 0;
12285 > }
12286   _ACEOF
12287 + for ac_lib in '' nsl; do
12288 +  if test -z "$ac_lib"; then
12289 +    ac_res="none required"
12290 +  else
12291 +    ac_res=-l$ac_lib
12292 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12293 +  fi
12294 +  if ac_fn_c_try_link "$LINENO"; then :
12295 +  ac_cv_search_getaddrinfo=$ac_res
12296 + fi
12297 + rm -f core conftest.err conftest.$ac_objext \
12298 +    conftest$ac_exeext
12299 +  if ${ac_cv_search_getaddrinfo+:} false; then :
12300 +  break
12301 + fi
12302 + done
12303 + if ${ac_cv_search_getaddrinfo+:} false; then :
12304 +
12305 + else
12306 +  ac_cv_search_getaddrinfo=no
12307 + fi
12308 + rm conftest.$ac_ext
12309 + LIBS=$ac_func_search_save_LIBS
12310 + fi
12311 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
12312 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
12313 + ac_res=$ac_cv_search_getaddrinfo
12314 + if test "$ac_res" != no; then :
12315 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12316 +
12317 + fi
12318 +
12319 + fi
12320  
12321 + ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12322 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
12323 +
12324 + else
12325 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
12326 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
12327 + if ${ac_cv_search_getnameinfo+:} false; then :
12328 +  $as_echo_n "(cached) " >&6
12329 + else
12330 +  ac_func_search_save_LIBS=$LIBS
12331 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 + /* end confdefs.h.  */
12333 +
12334 + /* Override any GCC internal prototype to avoid an error.
12335 +   Use char because int might match the return type of a GCC
12336 +   builtin and then its argument prototype would still apply.  */
12337 + #ifdef __cplusplus
12338 + extern "C"
12339 + #endif
12340 + char getnameinfo ();
12341 + int
12342 + main ()
12343 + {
12344 + return getnameinfo ();
12345 +  ;
12346 +  return 0;
12347 + }
12348 + _ACEOF
12349 + for ac_lib in '' nsl; do
12350 +  if test -z "$ac_lib"; then
12351 +    ac_res="none required"
12352 +  else
12353 +    ac_res=-l$ac_lib
12354 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12355 +  fi
12356 +  if ac_fn_c_try_link "$LINENO"; then :
12357 +  ac_cv_search_getnameinfo=$ac_res
12358 + fi
12359 + rm -f core conftest.err conftest.$ac_objext \
12360 +    conftest$ac_exeext
12361 +  if ${ac_cv_search_getnameinfo+:} false; then :
12362 +  break
12363   fi
12364   done
12365 + if ${ac_cv_search_getnameinfo+:} false; then :
12366  
12367 + else
12368 +  ac_cv_search_getnameinfo=no
12369 + fi
12370 + rm conftest.$ac_ext
12371 + LIBS=$ac_func_search_save_LIBS
12372 + fi
12373 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
12374 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
12375 + ac_res=$ac_cv_search_getnameinfo
12376 + if test "$ac_res" != no; then :
12377 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12378  
12379 < for ac_func in gethostbyname gethostbyname2
12379 > fi
12380 >
12381 > fi
12382 >
12383 >
12384 > for ac_func in strlcpy strlcat
12385   do :
12386    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12387   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Line 13182 | Line 12619 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12619   esac
12620  
12621  
12622 < # The cast to long int works around a bug in the HP C Compiler
13186 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13187 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13188 < # This bug is HP SR number 8606223364.
13189 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13190 < $as_echo_n "checking size of int... " >&6; }
13191 < if ${ac_cv_sizeof_int+:} false; then :
13192 <  $as_echo_n "(cached) " >&6
13193 < else
13194 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13195 <
13196 < else
13197 <  if test "$ac_cv_type_int" = yes; then
13198 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13199 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13200 < as_fn_error 77 "cannot compute sizeof (int)
13201 < See \`config.log' for more details" "$LINENO" 5; }
13202 <   else
13203 <     ac_cv_sizeof_int=0
13204 <   fi
13205 < fi
13206 <
13207 < fi
13208 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13209 < $as_echo "$ac_cv_sizeof_int" >&6; }
13210 <
13211 <
13212 <
13213 < cat >>confdefs.h <<_ACEOF
13214 < #define SIZEOF_INT $ac_cv_sizeof_int
13215 < _ACEOF
13216 <
13217 <
13218 < # The cast to long int works around a bug in the HP C Compiler
13219 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13220 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13221 < # This bug is HP SR number 8606223364.
13222 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13223 < $as_echo_n "checking size of short... " >&6; }
13224 < if ${ac_cv_sizeof_short+:} false; then :
13225 <  $as_echo_n "(cached) " >&6
13226 < else
13227 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13228 <
13229 < else
13230 <  if test "$ac_cv_type_short" = yes; then
13231 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13232 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13233 < as_fn_error 77 "cannot compute sizeof (short)
13234 < See \`config.log' for more details" "$LINENO" 5; }
13235 <   else
13236 <     ac_cv_sizeof_short=0
13237 <   fi
13238 < fi
13239 <
13240 < fi
13241 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13242 < $as_echo "$ac_cv_sizeof_short" >&6; }
13243 <
13244 <
13245 <
13246 < cat >>confdefs.h <<_ACEOF
13247 < #define SIZEOF_SHORT $ac_cv_sizeof_short
13248 < _ACEOF
13249 <
13250 <
13251 < # The cast to long int works around a bug in the HP C Compiler
13252 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13253 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13254 < # This bug is HP SR number 8606223364.
13255 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13256 < $as_echo_n "checking size of long... " >&6; }
13257 < if ${ac_cv_sizeof_long+:} false; then :
13258 <  $as_echo_n "(cached) " >&6
13259 < else
13260 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13261 <
13262 < else
13263 <  if test "$ac_cv_type_long" = yes; then
13264 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13265 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13266 < as_fn_error 77 "cannot compute sizeof (long)
13267 < See \`config.log' for more details" "$LINENO" 5; }
13268 <   else
13269 <     ac_cv_sizeof_long=0
13270 <   fi
13271 < fi
13272 <
13273 < fi
13274 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13275 < $as_echo "$ac_cv_sizeof_long" >&6; }
13276 <
13277 <
13278 <
13279 < cat >>confdefs.h <<_ACEOF
13280 < #define SIZEOF_LONG $ac_cv_sizeof_long
13281 < _ACEOF
13282 <
13283 <
13284 <
13285 <
13286 <
13287 <
13288 <
13289 <
13290 <
13291 < subdirs="$subdirs src/libopm"
13292 <
13293 <
13294 <
13295 < # Check whether --with-werror was given.
13296 < if test "${with_werror+set}" = set; then :
13297 <  withval=$with_werror; CFLAGS="$CFLAGS -Werror"
13298 < fi
13299 <
13300 <
13301 < ac_config_files="$ac_config_files Makefile src/Makefile"
12622 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
12623  
12624   cat >confcache <<\_ACEOF
12625   # This file is a shell script that caches the results of configure
# Line 13394 | Line 12715 | DEFS=-DHAVE_CONFIG_H
12715  
12716   ac_libobjs=
12717   ac_ltlibobjs=
12718 + U=
12719   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12720    # 1. Remove the extension, and $U if already installed.
12721    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13834 | Line 13156 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
13156   # report actual input values of CONFIG_FILES etc. instead of their
13157   # values after options handling.
13158   ac_log="
13159 < This file was extended by bopm $as_me 3.1.3, which was
13159 > This file was extended by hopm $as_me TRUNK, which was
13160   generated by GNU Autoconf 2.69.  Invocation command line was
13161  
13162    CONFIG_FILES    = $CONFIG_FILES
# Line 13894 | Line 13216 | $config_headers
13216   Configuration commands:
13217   $config_commands
13218  
13219 < Report bugs to the package provider."
13219 > Report bugs to <bugs@ircd-hybrid.org>."
13220  
13221   _ACEOF
13222   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13223   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13224   ac_cs_version="\\
13225 < bopm config.status 3.1.3
13225 > hopm config.status TRUNK
13226   configured by $0, generated by GNU Autoconf 2.69,
13227    with options \\"\$ac_cs_config\\"
13228  
# Line 14314 | Line 13636 | do
13636      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13637      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13638      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13639 +    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13640      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13641 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
13642 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
13643  
13644    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13645    esac
# Line 15514 | Line 14839 | if test "$no_create" != yes; then
14839    # would make configure fail if this is the last instruction.
14840    $ac_cs_success || as_fn_exit 1
14841   fi
15517
15518 #
15519 # CONFIG_SUBDIRS section.
15520 #
15521 if test "$no_recursion" != yes; then
15522
15523  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15524  # so they do not pile up.
15525  ac_sub_configure_args=
15526  ac_prev=
15527  eval "set x $ac_configure_args"
15528  shift
15529  for ac_arg
15530  do
15531    if test -n "$ac_prev"; then
15532      ac_prev=
15533      continue
15534    fi
15535    case $ac_arg in
15536    -cache-file | --cache-file | --cache-fil | --cache-fi \
15537    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15538      ac_prev=cache_file ;;
15539    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15540    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15541    | --c=*)
15542      ;;
15543    --config-cache | -C)
15544      ;;
15545    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15546      ac_prev=srcdir ;;
15547    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15548      ;;
15549    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15550      ac_prev=prefix ;;
15551    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15552      ;;
15553    --disable-option-checking)
15554      ;;
15555    *)
15556      case $ac_arg in
15557      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15558      esac
15559      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15560    esac
15561  done
15562
15563  # Always prepend --prefix to ensure using the same prefix
15564  # in subdir configurations.
15565  ac_arg="--prefix=$prefix"
15566  case $ac_arg in
15567  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15568  esac
15569  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15570
15571  # Pass --silent
15572  if test "$silent" = yes; then
15573    ac_sub_configure_args="--silent $ac_sub_configure_args"
15574  fi
15575
15576  # Always prepend --disable-option-checking to silence warnings, since
15577  # different subdirs can have different --enable and --with options.
15578  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15579
15580  ac_popdir=`pwd`
15581  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15582
15583    # Do not complain, so a configure script can configure whichever
15584    # parts of a large source tree are present.
15585    test -d "$srcdir/$ac_dir" || continue
15586
15587    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15588    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15589    $as_echo "$ac_msg" >&6
15590    as_dir="$ac_dir"; as_fn_mkdir_p
15591    ac_builddir=.
15592
15593 case "$ac_dir" in
15594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15595 *)
15596  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15597  # A ".." for each directory in $ac_dir_suffix.
15598  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15599  case $ac_top_builddir_sub in
15600  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15601  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15602  esac ;;
15603 esac
15604 ac_abs_top_builddir=$ac_pwd
15605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15606 # for backward compatibility:
15607 ac_top_builddir=$ac_top_build_prefix
15608
15609 case $srcdir in
15610  .)  # We are building in place.
15611    ac_srcdir=.
15612    ac_top_srcdir=$ac_top_builddir_sub
15613    ac_abs_top_srcdir=$ac_pwd ;;
15614  [\\/]* | ?:[\\/]* )  # Absolute name.
15615    ac_srcdir=$srcdir$ac_dir_suffix;
15616    ac_top_srcdir=$srcdir
15617    ac_abs_top_srcdir=$srcdir ;;
15618  *) # Relative name.
15619    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15620    ac_top_srcdir=$ac_top_build_prefix$srcdir
15621    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15622 esac
15623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15624
15625
15626    cd "$ac_dir"
15627
15628    # Check for guested configure; otherwise get Cygnus style configure.
15629    if test -f "$ac_srcdir/configure.gnu"; then
15630      ac_sub_configure=$ac_srcdir/configure.gnu
15631    elif test -f "$ac_srcdir/configure"; then
15632      ac_sub_configure=$ac_srcdir/configure
15633    elif test -f "$ac_srcdir/configure.in"; then
15634      # This should be Cygnus configure.
15635      ac_sub_configure=$ac_aux_dir/configure
15636    else
15637      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15639      ac_sub_configure=
15640    fi
15641
15642    # The recursion is here.
15643    if test -n "$ac_sub_configure"; then
15644      # Make the cache file name correct relative to the subdirectory.
15645      case $cache_file in
15646      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15647      *) # Relative name.
15648        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15649      esac
15650
15651      { $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
15652 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15653      # The eval makes quoting arguments work.
15654      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15655           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15656        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15657    fi
15658
15659    cd "$ac_popdir"
15660  done
15661 fi
14842   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14844   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
# Line 15666 | Line 14846 | fi
14846  
14847  
14848  
14849 < echo "##############################################################################"
14850 < echo "Everything is now configured, but you can find some more (infrequently"
15671 < echo "changed) options in options.h.  To compile BOPM now, just type make.  It"
15672 < echo "requires GNU Make, which may be installed as gmake on your system."
14849 > echo "###############################################################################"
14850 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
14851   echo
14852 < echo "bopm will be installed in ${prefix}.  To change this, run:"
14852 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
14853   echo "   ./configure --prefix=DIRECTORY"
14854 < echo "##############################################################################"
15677 < echo
14854 > echo "###############################################################################"

Comparing hopm/trunk/configure (property svn:eol-style):
Revision 5059 by michael, Mon Dec 22 13:43:00 2014 UTC vs.
Revision 5333 by michael, Wed Jan 7 20:45:06 2015 UTC

# Line 0 | Line 1
1 + native

Comparing hopm/trunk/configure (property svn:keywords):
Revision 5059 by michael, Mon Dec 22 13:43:00 2014 UTC vs.
Revision 5333 by michael, Wed Jan 7 20:45:06 2015 UTC

# Line 0 | Line 1
1 + Id

Diff Legend

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