ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.3/configure
(Generate patch)

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 967 by michael, Sun Aug 2 18:05:28 2009 UTC vs.
ircd-hybrid-7.3/configure (file contents), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael .
2 > # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8   #
9   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 < # Foundation, Inc.
10 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 > # Inc.
12 > #
13   #
14   # This configure script is free software; the Free Software Foundation
15   # gives unlimited permission to copy, distribute and modify it.
# Line 227 | Line 231 | fi
231      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233    else
234 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
235 < $0: including any error possibly output before this
236 < $0: message. Then install a modern shell, or manually run
237 < $0: the script under such a shell if you do have one."
234 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 > $0: bugs@ircd-hybrid.org about your system, including any
236 > $0: error possibly output before this message. Then install
237 > $0: a modern shell, or manually run the script under such a
238 > $0: shell if you do have one."
239    fi
240    exit 1
241   fi
# Line 525 | Line 530 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
530   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531  
532  
533 + lt_ltdl_dir='libltdl'
534 +
535  
536   # Check that we are running under the correct shell.
537   SHELL=${CONFIG_SHELL-/bin/sh}
# Line 674 | Line 681 | fi
681  
682  
683  
677 lt_ltdl_dir='libltdl'
678
684   lt_dlopen_dir="$lt_ltdl_dir"
685  
686 < exec 7<&0 </dev/null 6>&1
686 > test -n "$DJDIR" || exec 7<&0 </dev/null
687 > exec 6>&1
688  
689   # Name of the host.
690   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 700 | Line 706 | MAKEFLAGS=
706   # Identity of this package.
707   PACKAGE_NAME='ircd-hybrid'
708   PACKAGE_TARNAME='ircd-hybrid'
709 < PACKAGE_VERSION='7.2.4'
710 < PACKAGE_STRING='ircd-hybrid 7.2.4'
711 < PACKAGE_BUGREPORT=''
709 > PACKAGE_VERSION='7.3-rc1'
710 > PACKAGE_STRING='ircd-hybrid 7.3-rc1'
711 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
712   PACKAGE_URL=''
713  
714   ac_unique_file="src/ircd.c"
# Line 760 | Line 766 | EFNET_FALSE
766   EFNET_TRUE
767   ENABLE_SSL_FALSE
768   ENABLE_SSL_TRUE
769 < HAVE_CRYPT_FALSE
770 < HAVE_CRYPT_TRUE
769 > ENABLE_PCRE_FALSE
770 > ENABLE_PCRE_TRUE
771   LTDLOPEN
772   LT_CONFIG_H
773   subdirs
# Line 899 | Line 905 | ac_user_opts='
905   enable_option_checking
906   enable_maintainer_mode
907   enable_dependency_tracking
902 enable_shared
908   enable_static
909 + enable_shared
910   with_pic
911   enable_fast_install
912   with_gnu_ld
# Line 911 | Line 917 | with_ltdl_lib
917   enable_ltdl_install
918   with_zlib_path
919   enable_zlib
920 + with_libpcre_path
921 + enable_libpcre
922   enable_openssl
923   enable_assert
924   enable_small_net
# Line 1481 | Line 1489 | if test "$ac_init_help" = "long"; then
1489    # Omit some internal or obsolete options to make the list less imposing.
1490    # This message is too long to be a string in the A/UX 3.1 sh.
1491    cat <<_ACEOF
1492 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1492 > \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1493  
1494   Usage: $0 [OPTION]... [VAR=VALUE]...
1495  
# Line 1551 | Line 1559 | fi
1559  
1560   if test -n "$ac_init_help"; then
1561    case $ac_init_help in
1562 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1562 >     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1563     esac
1564    cat <<\_ACEOF
1565  
# Line 1563 | Line 1571 | Optional Features:
1571                            (and sometimes confusing) to the casual installer
1572    --disable-dependency-tracking  speeds up one-time build
1573    --enable-dependency-tracking   do not reject slow dependency extractors
1574 +  --enable-static[=PKGS]  build static libraries [default=no]
1575    --enable-shared[=PKGS]  build shared libraries [default=yes]
1567  --enable-static[=PKGS]  build static libraries [default=yes]
1576    --enable-fast-install[=PKGS]
1577                            optimize for fast installation [default=yes]
1578    --disable-libtool-lock  avoid locking (might break parallel builds)
1579    --enable-ltdl-install   install libltdl
1580    --disable-zlib          Disable ziplinks support
1581 +  --disable-libpcre       Disable PCRE support
1582    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1583    --disable-openssl            Disable OpenSSL support.
1584    --enable-assert         Enable assert() statements
# Line 1598 | Line 1607 | Optional Packages:
1607    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1608    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609    --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610 +  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611    --with-nicklen=<value>  Set nickname length (default 9).
1612    --with-topiclen=<value> Set topic length (default 160).
1613    --with-syslog-facility=LOG
# Line 1610 | Line 1620 | Some influential environment variables:
1620    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1621                nonstandard directory <lib dir>
1622    LIBS        libraries to pass to the linker, e.g. -l<library>
1623 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1624                you have headers in a nonstandard directory <include dir>
1625    YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1626                the first program found out of: `bison -y', `byacc', `yacc'.
# Line 1622 | Line 1632 | Some influential environment variables:
1632   Use these variables to override the choices made by `configure' or to help
1633   it to find libraries and programs with nonstandard names/locations.
1634  
1635 < Report bugs to the package provider.
1635 > Report bugs to <bugs@ircd-hybrid.org>.
1636   _ACEOF
1637   ac_status=$?
1638   fi
# Line 1685 | Line 1695 | fi
1695   test -n "$ac_init_help" && exit $ac_status
1696   if $ac_init_version; then
1697    cat <<\_ACEOF
1698 < ircd-hybrid configure 7.2.4
1699 < generated by GNU Autoconf 2.64
1698 > ircd-hybrid configure 7.3-rc1
1699 > generated by GNU Autoconf 2.65
1700  
1701   Copyright (C) 2009 Free Software Foundation, Inc.
1702   This configure script is free software; the Free Software Foundation
# Line 1733 | Line 1743 | sed 's/^/| /' conftest.$ac_ext >&5
1743          ac_retval=1
1744   fi
1745    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 <  return $ac_retval
1746 >  as_fn_set_status $ac_retval
1747  
1748   } # ac_fn_c_try_compile
1749  
# Line 1779 | Line 1789 | fi
1789    # left behind by Apple's compiler.  We do this before executing the actions.
1790    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792 <  return $ac_retval
1792 >  as_fn_set_status $ac_retval
1793  
1794   } # ac_fn_c_try_link
1795  
# Line 1847 | Line 1857 | sed 's/^/| /' conftest.$ac_ext >&5
1857      ac_retval=1
1858   fi
1859    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860 <  return $ac_retval
1860 >  as_fn_set_status $ac_retval
1861  
1862   } # ac_fn_c_try_cpp
1863  
# Line 1889 | Line 1899 | sed 's/^/| /' conftest.$ac_ext >&5
1899   fi
1900    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 <  return $ac_retval
1902 >  as_fn_set_status $ac_retval
1903  
1904   } # ac_fn_c_try_run
1905  
# Line 2110 | Line 2120 | $as_echo "$ac_res" >&6; }
2120  
2121   } # ac_fn_c_check_member
2122  
2113 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2114 # --------------------------------------------
2115 # Tries to find the compile-time value of EXPR in a program that includes
2116 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2117 # computed
2118 ac_fn_c_compute_int ()
2119 {
2120  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121  if test "$cross_compiling" = yes; then
2122    # Depending upon the size, compute the lo and hi bounds.
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h.  */
2125 $4
2126 int
2127 main ()
2128 {
2129 static int test_array [1 - 2 * !(($2) >= 0)];
2130 test_array [0] = 0
2131
2132  ;
2133  return 0;
2134 }
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137  ac_lo=0 ac_mid=0
2138  while :; do
2139    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h.  */
2141 $4
2142 int
2143 main ()
2144 {
2145 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2146 test_array [0] = 0
2147
2148  ;
2149  return 0;
2150 }
2151 _ACEOF
2152 if ac_fn_c_try_compile "$LINENO"; then :
2153  ac_hi=$ac_mid; break
2154 else
2155  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2156                        if test $ac_lo -le $ac_mid; then
2157                          ac_lo= ac_hi=
2158                          break
2159                        fi
2160                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2161 fi
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163  done
2164 else
2165  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h.  */
2167 $4
2168 int
2169 main ()
2170 {
2171 static int test_array [1 - 2 * !(($2) < 0)];
2172 test_array [0] = 0
2173
2174  ;
2175  return 0;
2176 }
2177 _ACEOF
2178 if ac_fn_c_try_compile "$LINENO"; then :
2179  ac_hi=-1 ac_mid=-1
2180  while :; do
2181    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h.  */
2183 $4
2184 int
2185 main ()
2186 {
2187 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2188 test_array [0] = 0
2189
2190  ;
2191  return 0;
2192 }
2193 _ACEOF
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195  ac_lo=$ac_mid; break
2196 else
2197  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2198                        if test $ac_mid -le $ac_hi; then
2199                          ac_lo= ac_hi=
2200                          break
2201                        fi
2202                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2203 fi
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205  done
2206 else
2207  ac_lo= ac_hi=
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 fi
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212 # Binary search between lo and hi bounds.
2213 while test "x$ac_lo" != "x$ac_hi"; do
2214  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2215  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h.  */
2217 $4
2218 int
2219 main ()
2220 {
2221 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2222 test_array [0] = 0
2223
2224  ;
2225  return 0;
2226 }
2227 _ACEOF
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229  ac_hi=$ac_mid
2230 else
2231  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 done
2235 case $ac_lo in #((
2236 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2237 '') ac_retval=1 ;;
2238 esac
2239  else
2240    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h.  */
2242 $4
2243 static long int longval () { return $2; }
2244 static unsigned long int ulongval () { return $2; }
2245 #include <stdio.h>
2246 #include <stdlib.h>
2247 int
2248 main ()
2249 {
2250
2251  FILE *f = fopen ("conftest.val", "w");
2252  if (! f)
2253    return 1;
2254  if (($2) < 0)
2255    {
2256      long int i = longval ();
2257      if (i != ($2))
2258        return 1;
2259      fprintf (f, "%ld", i);
2260    }
2261  else
2262    {
2263      unsigned long int i = ulongval ();
2264      if (i != ($2))
2265        return 1;
2266      fprintf (f, "%lu", i);
2267    }
2268  /* Do not output a trailing newline, as this causes \r\n confusion
2269     on some platforms.  */
2270  return ferror (f) || fclose (f) != 0;
2271
2272  ;
2273  return 0;
2274 }
2275 _ACEOF
2276 if ac_fn_c_try_run "$LINENO"; then :
2277  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2278 else
2279  ac_retval=1
2280 fi
2281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2282  conftest.$ac_objext conftest.beam conftest.$ac_ext
2283 rm -f conftest.val
2284
2285  fi
2286  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2287  return $ac_retval
2288
2289 } # ac_fn_c_compute_int
2290
2123   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2124   # -------------------------------------------------------
2125   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2358 | Line 2190 | $as_echo "$as_me: WARNING: $2: see the A
2190   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2191      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2192   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2193 + ( cat <<\_ASBOX
2194 + ## ----------------------------------- ##
2195 + ## Report this to bugs@ircd-hybrid.org ##
2196 + ## ----------------------------------- ##
2197 + _ASBOX
2198 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2199      ;;
2200   esac
2201    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# Line 2378 | Line 2216 | cat >config.log <<_ACEOF
2216   This file contains any messages produced by compilers while
2217   running configure, to aid debugging if configure makes a mistake.
2218  
2219 < It was created by ircd-hybrid $as_me 7.2.4, which was
2220 < generated by GNU Autoconf 2.64.  Invocation command line was
2219 > It was created by ircd-hybrid $as_me 7.3-rc1, which was
2220 > generated by GNU Autoconf 2.65.  Invocation command line was
2221  
2222    $ $0 $@
2223  
# Line 2632 | Line 2470 | fi
2470   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2471   do
2472    test "x$ac_site_file" = xNONE && continue
2473 <  if test -r "$ac_site_file"; then
2473 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2474      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2475   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2476      sed 's/^/| /' "$ac_site_file" >&5
# Line 2641 | Line 2479 | $as_echo "$as_me: loading site script $a
2479   done
2480  
2481   if test -r "$cache_file"; then
2482 <  # Some versions of bash will fail to source /dev/null (special
2483 <  # files actually), so we avoid doing that.
2484 <  if test -f "$cache_file"; then
2482 >  # Some versions of bash will fail to source /dev/null (special files
2483 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2484 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2485      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2486   $as_echo "$as_me: loading cache $cache_file" >&6;}
2487      case $cache_file in
# Line 2657 | Line 2495 | $as_echo "$as_me: creating cache $cache_
2495    >$cache_file
2496   fi
2497  
2660 as_fn_append ac_func_list " snprintf"
2661 as_fn_append ac_func_list " vsnprintf"
2662 as_fn_append ac_func_list " lrand48"
2663 as_fn_append ac_func_list " srand48"
2498   as_fn_append ac_func_list " mmap"
2499   as_fn_append ac_func_list " strtok_r"
2500   as_fn_append ac_func_list " usleep"
2501   as_fn_append ac_func_list " strlcat"
2502   as_fn_append ac_func_list " strlcpy"
2669 as_fn_append ac_func_list " basename"
2503   as_fn_append ac_header_list " crypt.h"
2504   as_fn_append ac_header_list " inttypes.h"
2505   as_fn_append ac_header_list " stdint.h"
# Line 2674 | Line 2507 | as_fn_append ac_header_list " sys/resour
2507   as_fn_append ac_header_list " sys/param.h"
2508   as_fn_append ac_header_list " errno.h"
2509   as_fn_append ac_header_list " sys/syslog.h"
2677 as_fn_append ac_header_list " stddef.h"
2678 as_fn_append ac_header_list " libgen.h"
2510   as_fn_append ac_header_list " types.h"
2511   as_fn_append ac_header_list " socket.h"
2512   as_fn_append ac_header_list " sys/wait.h"
# Line 3086 | Line 2917 | IFS=$as_save_IFS
2917  
2918   fi
2919  
2920 +  test -d ./--version && rmdir ./--version
2921    if test "${ac_cv_path_mkdir+set}" = set; then
2922      MKDIR_P="$ac_cv_path_mkdir -p"
2923    else
# Line 3093 | Line 2925 | fi
2925      # value for MKDIR_P within a source directory, because that will
2926      # break other packages using the cache if that directory is
2927      # removed, or if the value is a relative name.
3096    test -d ./--version && rmdir ./--version
2928      MKDIR_P="$ac_install_sh -d"
2929    fi
2930   fi
# Line 3210 | Line 3041 | fi
3041  
3042   # Define the identity of the package.
3043   PACKAGE='ircd-hybrid'
3044 < VERSION='7.2.4'
3044 > VERSION='7.3-rc1'
3045  
3046  
3047   cat >>confdefs.h <<_ACEOF
# Line 3277 | Line 3108 | ac_config_headers="$ac_config_headers co
3108  
3109  
3110  
3280
3111   # Checks for programs.
3112 + DEPDIR="${am__leading_dot}deps"
3113 +
3114 + ac_config_commands="$ac_config_commands depfiles"
3115 +
3116 +
3117 + am_make=${MAKE-make}
3118 + cat > confinc << 'END'
3119 + am__doit:
3120 +        @echo this is the am__doit target
3121 + .PHONY: am__doit
3122 + END
3123 + # If we don't find an include directive, just comment out the code.
3124 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3125 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3126 + am__include="#"
3127 + am__quote=
3128 + _am_result=none
3129 + # First try GNU make style include.
3130 + echo "include confinc" > confmf
3131 + # Ignore all kinds of additional output from `make'.
3132 + case `$am_make -s -f confmf 2> /dev/null` in #(
3133 + *the\ am__doit\ target*)
3134 +  am__include=include
3135 +  am__quote=
3136 +  _am_result=GNU
3137 +  ;;
3138 + esac
3139 + # Now try BSD make style include.
3140 + if test "$am__include" = "#"; then
3141 +   echo '.include "confinc"' > confmf
3142 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3143 +   *the\ am__doit\ target*)
3144 +     am__include=.include
3145 +     am__quote="\""
3146 +     _am_result=BSD
3147 +     ;;
3148 +   esac
3149 + fi
3150 +
3151 +
3152 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3153 + $as_echo "$_am_result" >&6; }
3154 + rm -f confinc confmf
3155 +
3156 + # Check whether --enable-dependency-tracking was given.
3157 + if test "${enable_dependency_tracking+set}" = set; then :
3158 +  enableval=$enable_dependency_tracking;
3159 + fi
3160 +
3161 + if test "x$enable_dependency_tracking" != xno; then
3162 +  am_depcomp="$ac_aux_dir/depcomp"
3163 +  AMDEPBACKSLASH='\'
3164 + fi
3165 + if test "x$enable_dependency_tracking" != xno; then
3166 +  AMDEP_TRUE=
3167 +  AMDEP_FALSE='#'
3168 + else
3169 +  AMDEP_TRUE='#'
3170 +  AMDEP_FALSE=
3171 + fi
3172 +
3173 +
3174   ac_ext=c
3175   ac_cpp='$CPP $CPPFLAGS'
3176   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3601 | Line 3493 | $as_echo "$ac_try_echo"; } >&5
3493   ... rest of stderr output deleted ...
3494           10q' conftest.err >conftest.er1
3495      cat conftest.er1 >&5
3604    rm -f conftest.er1 conftest.err
3496    fi
3497 +  rm -f conftest.er1 conftest.err
3498    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499    test $ac_status = 0; }
3500   done
3501  
3502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503   /* end confdefs.h.  */
3504 < #include <stdio.h>
3504 >
3505   int
3506   main ()
3507   {
3616 FILE *f = fopen ("conftest.out", "w");
3617 return ferror (f) || fclose (f) != 0;
3508  
3509    ;
3510    return 0;
3511   }
3512   _ACEOF
3513   ac_clean_files_save=$ac_clean_files
3514 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3514 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3515   # Try to create an executable without -o first, disregard a.out.
3516   # It will help us diagnose broken compilers, and finding out an intuition
3517   # of exeext.
3518 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3519 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3518 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3519 > $as_echo_n "checking whether the C compiler works... " >&6; }
3520   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3521  
3522   # The possible output files:
# Line 3688 | Line 3578 | test "$ac_cv_exeext" = no && ac_cv_exeex
3578   else
3579    ac_file=''
3580   fi
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3692 $as_echo "$ac_file" >&6; }
3581   if test -z "$ac_file"; then :
3582 <  $as_echo "$as_me: failed program was:" >&5
3582 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 > $as_echo "no" >&6; }
3584 > $as_echo "$as_me: failed program was:" >&5
3585   sed 's/^/| /' conftest.$ac_ext >&5
3586  
3587   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
# Line 3699 | Line 3589 | $as_echo "$as_me: error: in \`$ac_pwd':"
3589   { as_fn_set_status 77
3590   as_fn_error "C compiler cannot create executables
3591   See \`config.log' for more details." "$LINENO" 5; }; }
3592 + else
3593 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 + $as_echo "yes" >&6; }
3595   fi
3596 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3597 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3598 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3599 + $as_echo "$ac_file" >&6; }
3600   ac_exeext=$ac_cv_exeext
3601  
3602 < # Check that the compiler produces executables we can run.  If not, either
3706 < # the compiler is broken, or we cross compile.
3707 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3708 < $as_echo_n "checking whether the C compiler works... " >&6; }
3709 < # If not cross compiling, check that we can run a simple program.
3710 < if test "$cross_compiling" != yes; then
3711 <  if { ac_try='./$ac_file'
3712 <  { { case "(($ac_try" in
3713 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714 <  *) ac_try_echo=$ac_try;;
3715 < esac
3716 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717 < $as_echo "$ac_try_echo"; } >&5
3718 <  (eval "$ac_try") 2>&5
3719 <  ac_status=$?
3720 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 <  test $ac_status = 0; }; }; then
3722 <    cross_compiling=no
3723 <  else
3724 <    if test "$cross_compiling" = maybe; then
3725 <        cross_compiling=yes
3726 <    else
3727 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 < as_fn_error "cannot run C compiled programs.
3730 < If you meant to cross compile, use \`--host'.
3731 < See \`config.log' for more details." "$LINENO" 5; }
3732 <    fi
3733 <  fi
3734 < fi
3735 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3736 < $as_echo "yes" >&6; }
3737 <
3738 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3602 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3603   ac_clean_files=$ac_clean_files_save
3740 # Check that the compiler produces executables we can run.  If not, either
3741 # the compiler is broken, or we cross compile.
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3743 $as_echo_n "checking whether we are cross compiling... " >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3745 $as_echo "$cross_compiling" >&6; }
3746
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3605   $as_echo_n "checking for suffix of executables... " >&6; }
3606   if { { ac_try="$ac_link"
# Line 3776 | Line 3633 | $as_echo "$as_me: error: in \`$ac_pwd':"
3633   as_fn_error "cannot compute suffix of executables: cannot compile and link
3634   See \`config.log' for more details." "$LINENO" 5; }
3635   fi
3636 < rm -f conftest$ac_cv_exeext
3636 > rm -f conftest conftest$ac_cv_exeext
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3638   $as_echo "$ac_cv_exeext" >&6; }
3639  
3640   rm -f conftest.$ac_ext
3641   EXEEXT=$ac_cv_exeext
3642   ac_exeext=$EXEEXT
3643 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 + /* end confdefs.h.  */
3645 + #include <stdio.h>
3646 + int
3647 + main ()
3648 + {
3649 + FILE *f = fopen ("conftest.out", "w");
3650 + return ferror (f) || fclose (f) != 0;
3651 +
3652 +  ;
3653 +  return 0;
3654 + }
3655 + _ACEOF
3656 + ac_clean_files="$ac_clean_files conftest.out"
3657 + # Check that the compiler produces executables we can run.  If not, either
3658 + # the compiler is broken, or we cross compile.
3659 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3660 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3661 + if test "$cross_compiling" != yes; then
3662 +  { { ac_try="$ac_link"
3663 + case "(($ac_try" in
3664 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 +  *) ac_try_echo=$ac_try;;
3666 + esac
3667 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668 + $as_echo "$ac_try_echo"; } >&5
3669 +  (eval "$ac_link") 2>&5
3670 +  ac_status=$?
3671 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672 +  test $ac_status = 0; }
3673 +  if { ac_try='./conftest$ac_cv_exeext'
3674 +  { { case "(($ac_try" in
3675 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676 +  *) ac_try_echo=$ac_try;;
3677 + esac
3678 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3679 + $as_echo "$ac_try_echo"; } >&5
3680 +  (eval "$ac_try") 2>&5
3681 +  ac_status=$?
3682 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683 +  test $ac_status = 0; }; }; then
3684 +    cross_compiling=no
3685 +  else
3686 +    if test "$cross_compiling" = maybe; then
3687 +        cross_compiling=yes
3688 +    else
3689 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 + as_fn_error "cannot run C compiled programs.
3692 + If you meant to cross compile, use \`--host'.
3693 + See \`config.log' for more details." "$LINENO" 5; }
3694 +    fi
3695 +  fi
3696 + fi
3697 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3698 + $as_echo "$cross_compiling" >&6; }
3699 +
3700 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3701 + ac_clean_files=$ac_clean_files_save
3702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3703   $as_echo_n "checking for suffix of object files... " >&6; }
3704   if test "${ac_cv_objext+set}" = set; then :
# Line 4045 | Line 3961 | ac_cpp='$CPP $CPPFLAGS'
3961   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048 DEPDIR="${am__leading_dot}deps"
4049
4050 ac_config_commands="$ac_config_commands depfiles"
4051
4052
4053 am_make=${MAKE-make}
4054 cat > confinc << 'END'
4055 am__doit:
4056        @echo this is the am__doit target
4057 .PHONY: am__doit
4058 END
4059 # If we don't find an include directive, just comment out the code.
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4061 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4062 am__include="#"
4063 am__quote=
4064 _am_result=none
4065 # First try GNU make style include.
4066 echo "include confinc" > confmf
4067 # Ignore all kinds of additional output from `make'.
4068 case `$am_make -s -f confmf 2> /dev/null` in #(
4069 *the\ am__doit\ target*)
4070  am__include=include
4071  am__quote=
4072  _am_result=GNU
4073  ;;
4074 esac
4075 # Now try BSD make style include.
4076 if test "$am__include" = "#"; then
4077   echo '.include "confinc"' > confmf
4078   case `$am_make -s -f confmf 2> /dev/null` in #(
4079   *the\ am__doit\ target*)
4080     am__include=.include
4081     am__quote="\""
4082     _am_result=BSD
4083     ;;
4084   esac
4085 fi
4086
4087
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4089 $as_echo "$_am_result" >&6; }
4090 rm -f confinc confmf
4091
4092 # Check whether --enable-dependency-tracking was given.
4093 if test "${enable_dependency_tracking+set}" = set; then :
4094  enableval=$enable_dependency_tracking;
4095 fi
4096
4097 if test "x$enable_dependency_tracking" != xno; then
4098  am_depcomp="$ac_aux_dir/depcomp"
4099  AMDEPBACKSLASH='\'
4100 fi
4101 if test "x$enable_dependency_tracking" != xno; then
4102  AMDEP_TRUE=
4103  AMDEP_FALSE='#'
4104 else
4105  AMDEP_TRUE='#'
4106  AMDEP_FALSE=
4107 fi
4108
4109
3964  
3965   depcc="$CC"   am_compiler_list=
3966  
# Line 4235 | Line 4089 | else
4089   fi
4090  
4091  
4092 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4093 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4094 + if test "${ac_cv_prog_cc_c99+set}" = set; then :
4095 +  $as_echo_n "(cached) " >&6
4096 + else
4097 +  ac_cv_prog_cc_c99=no
4098 + ac_save_CC=$CC
4099 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 + /* end confdefs.h.  */
4101 + #include <stdarg.h>
4102 + #include <stdbool.h>
4103 + #include <stdlib.h>
4104 + #include <wchar.h>
4105 + #include <stdio.h>
4106 +
4107 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4108 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4109 + #define showlist(...) puts (#__VA_ARGS__)
4110 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4111 + static void
4112 + test_varargs_macros (void)
4113 + {
4114 +  int x = 1234;
4115 +  int y = 5678;
4116 +  debug ("Flag");
4117 +  debug ("X = %d\n", x);
4118 +  showlist (The first, second, and third items.);
4119 +  report (x>y, "x is %d but y is %d", x, y);
4120 + }
4121 +
4122 + // Check long long types.
4123 + #define BIG64 18446744073709551615ull
4124 + #define BIG32 4294967295ul
4125 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4126 + #if !BIG_OK
4127 +  your preprocessor is broken;
4128 + #endif
4129 + #if BIG_OK
4130 + #else
4131 +  your preprocessor is broken;
4132 + #endif
4133 + static long long int bignum = -9223372036854775807LL;
4134 + static unsigned long long int ubignum = BIG64;
4135 +
4136 + struct incomplete_array
4137 + {
4138 +  int datasize;
4139 +  double data[];
4140 + };
4141 +
4142 + struct named_init {
4143 +  int number;
4144 +  const wchar_t *name;
4145 +  double average;
4146 + };
4147 +
4148 + typedef const char *ccp;
4149 +
4150 + static inline int
4151 + test_restrict (ccp restrict text)
4152 + {
4153 +  // See if C++-style comments work.
4154 +  // Iterate through items via the restricted pointer.
4155 +  // Also check for declarations in for loops.
4156 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4157 +    continue;
4158 +  return 0;
4159 + }
4160 +
4161 + // Check varargs and va_copy.
4162 + static void
4163 + test_varargs (const char *format, ...)
4164 + {
4165 +  va_list args;
4166 +  va_start (args, format);
4167 +  va_list args_copy;
4168 +  va_copy (args_copy, args);
4169 +
4170 +  const char *str;
4171 +  int number;
4172 +  float fnumber;
4173 +
4174 +  while (*format)
4175 +    {
4176 +      switch (*format++)
4177 +        {
4178 +        case 's': // string
4179 +          str = va_arg (args_copy, const char *);
4180 +          break;
4181 +        case 'd': // int
4182 +          number = va_arg (args_copy, int);
4183 +          break;
4184 +        case 'f': // float
4185 +          fnumber = va_arg (args_copy, double);
4186 +          break;
4187 +        default:
4188 +          break;
4189 +        }
4190 +    }
4191 +  va_end (args_copy);
4192 +  va_end (args);
4193 + }
4194 +
4195 + int
4196 + main ()
4197 + {
4198 +
4199 +  // Check bool.
4200 +  _Bool success = false;
4201 +
4202 +  // Check restrict.
4203 +  if (test_restrict ("String literal") == 0)
4204 +    success = true;
4205 +  char *restrict newvar = "Another string";
4206 +
4207 +  // Check varargs.
4208 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4209 +  test_varargs_macros ();
4210 +
4211 +  // Check flexible array members.
4212 +  struct incomplete_array *ia =
4213 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4214 +  ia->datasize = 10;
4215 +  for (int i = 0; i < ia->datasize; ++i)
4216 +    ia->data[i] = i * 1.234;
4217 +
4218 +  // Check named initializers.
4219 +  struct named_init ni = {
4220 +    .number = 34,
4221 +    .name = L"Test wide string",
4222 +    .average = 543.34343,
4223 +  };
4224 +
4225 +  ni.number = 58;
4226 +
4227 +  int dynamic_array[ni.number];
4228 +  dynamic_array[ni.number - 1] = 543;
4229 +
4230 +  // work around unused variable warnings
4231 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4232 +          || dynamic_array[ni.number - 1] != 543);
4233 +
4234 +  ;
4235 +  return 0;
4236 + }
4237 + _ACEOF
4238 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4239 + do
4240 +  CC="$ac_save_CC $ac_arg"
4241 +  if ac_fn_c_try_compile "$LINENO"; then :
4242 +  ac_cv_prog_cc_c99=$ac_arg
4243 + fi
4244 + rm -f core conftest.err conftest.$ac_objext
4245 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4246 + done
4247 + rm -f conftest.$ac_ext
4248 + CC=$ac_save_CC
4249 +
4250 + fi
4251 + # AC_CACHE_VAL
4252 + case "x$ac_cv_prog_cc_c99" in
4253 +  x)
4254 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4255 + $as_echo "none needed" >&6; } ;;
4256 +  xno)
4257 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4258 + $as_echo "unsupported" >&6; } ;;
4259 +  *)
4260 +    CC="$CC $ac_cv_prog_cc_c99"
4261 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4262 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4263 + esac
4264 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4265 +
4266 + fi
4267 +
4268 +
4269 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4270 +  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4271 + fi
4272   for ac_prog in 'bison -y' byacc
4273   do
4274    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 4441 | Line 4475 | if test "$LEX" = :; then
4475   fi
4476  
4477  
4478 + # Initializing libtool.
4479 +
4480 +
4481 +
4482 +
4483 +
4484 +
4485 +
4486  
4445 #ltdl stuff
4487   case `pwd` in
4488    *\ * | *\     *)
4489      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4451 | Line 4492 | esac
4492  
4493  
4494  
4495 < macro_version='2.2.6'
4496 < macro_revision='1.3012'
4495 > macro_version='2.2.6b'
4496 > macro_revision='1.3017'
4497  
4498  
4499  
# Line 5123 | Line 5164 | if test "${lt_cv_nm_interface+set}" = se
5164   else
5165    lt_cv_nm_interface="BSD nm"
5166    echo "int some_variable = 0;" > conftest.$ac_ext
5167 <  (eval echo "\"\$as_me:5126: $ac_compile\"" >&5)
5167 >  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5168    (eval "$ac_compile" 2>conftest.err)
5169    cat conftest.err >&5
5170 <  (eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5170 >  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5171    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5172    cat conftest.err >&5
5173 <  (eval echo "\"\$as_me:5132: output\"" >&5)
5173 >  (eval echo "\"\$as_me:5173: output\"" >&5)
5174    cat conftest.out >&5
5175    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5176      lt_cv_nm_interface="MS dumpbin"
# Line 6334 | Line 6375 | ia64-*-hpux*)
6375    ;;
6376   *-*-irix6*)
6377    # Find out which ABI we are using.
6378 <  echo '#line 6337 "configure"' > conftest.$ac_ext
6378 >  echo '#line 6378 "configure"' > conftest.$ac_ext
6379    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6380    (eval $ac_compile) 2>&5
6381    ac_status=$?
# Line 7366 | Line 7407 | done
7407  
7408   # Set options
7409   enable_dlopen=yes
7410 <
7411 <
7412 <
7372 <
7373 <  enable_win32_dll=no
7374 <
7375 <
7376 <            # Check whether --enable-shared was given.
7377 < if test "${enable_shared+set}" = set; then :
7378 <  enableval=$enable_shared; p=${PACKAGE-default}
7410 > # Check whether --enable-static was given.
7411 > if test "${enable_static+set}" = set; then :
7412 >  enableval=$enable_static; p=${PACKAGE-default}
7413      case $enableval in
7414 <    yes) enable_shared=yes ;;
7415 <    no) enable_shared=no ;;
7414 >    yes) enable_static=yes ;;
7415 >    no) enable_static=no ;;
7416      *)
7417 <      enable_shared=no
7417 >     enable_static=no
7418        # Look at the argument we got.  We use all the common list separators.
7419        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7420        for pkg in $enableval; do
7421          IFS="$lt_save_ifs"
7422          if test "X$pkg" = "X$p"; then
7423 <          enable_shared=yes
7423 >          enable_static=yes
7424          fi
7425        done
7426        IFS="$lt_save_ifs"
7427        ;;
7428      esac
7429   else
7430 <  enable_shared=yes
7430 >  enable_static=no
7431   fi
7432  
7433  
# Line 7404 | Line 7438 | fi
7438  
7439  
7440  
7441 <  # Check whether --enable-static was given.
7442 < if test "${enable_static+set}" = set; then :
7443 <  enableval=$enable_static; p=${PACKAGE-default}
7441 >
7442 >
7443 >  enable_win32_dll=no
7444 >
7445 >
7446 >            # Check whether --enable-shared was given.
7447 > if test "${enable_shared+set}" = set; then :
7448 >  enableval=$enable_shared; p=${PACKAGE-default}
7449      case $enableval in
7450 <    yes) enable_static=yes ;;
7451 <    no) enable_static=no ;;
7450 >    yes) enable_shared=yes ;;
7451 >    no) enable_shared=no ;;
7452      *)
7453 <     enable_static=no
7453 >      enable_shared=no
7454        # Look at the argument we got.  We use all the common list separators.
7455        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7456        for pkg in $enableval; do
7457          IFS="$lt_save_ifs"
7458          if test "X$pkg" = "X$p"; then
7459 <          enable_static=yes
7459 >          enable_shared=yes
7460          fi
7461        done
7462        IFS="$lt_save_ifs"
7463        ;;
7464      esac
7465   else
7466 <  enable_static=yes
7466 >  enable_shared=yes
7467   fi
7468  
7469  
# Line 7436 | Line 7475 | fi
7475  
7476  
7477  
7478 +
7479   # Check whether --with-pic was given.
7480   if test "${with_pic+set}" = set; then :
7481    withval=$with_pic; pic_mode="$withval"
# Line 7859 | Line 7899 | else
7899     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7900     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7901     -e 's:$: $lt_compiler_flag:'`
7902 <   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
7902 >   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
7903     (eval "$lt_compile" 2>conftest.err)
7904     ac_status=$?
7905     cat conftest.err >&5
7906 <   echo "$as_me:7866: \$? = $ac_status" >&5
7906 >   echo "$as_me:7906: \$? = $ac_status" >&5
7907     if (exit $ac_status) && test -s "$ac_outfile"; then
7908       # The compiler can only warn and ignore the option if not recognized
7909       # So say no if there are warnings other than the usual output.
# Line 8198 | Line 8238 | else
8238     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8239     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8240     -e 's:$: $lt_compiler_flag:'`
8241 <   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8241 >   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8242     (eval "$lt_compile" 2>conftest.err)
8243     ac_status=$?
8244     cat conftest.err >&5
8245 <   echo "$as_me:8205: \$? = $ac_status" >&5
8245 >   echo "$as_me:8245: \$? = $ac_status" >&5
8246     if (exit $ac_status) && test -s "$ac_outfile"; then
8247       # The compiler can only warn and ignore the option if not recognized
8248       # So say no if there are warnings other than the usual output.
# Line 8303 | Line 8343 | else
8343     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8344     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8345     -e 's:$: $lt_compiler_flag:'`
8346 <   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8346 >   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
8347     (eval "$lt_compile" 2>out/conftest.err)
8348     ac_status=$?
8349     cat out/conftest.err >&5
8350 <   echo "$as_me:8310: \$? = $ac_status" >&5
8350 >   echo "$as_me:8350: \$? = $ac_status" >&5
8351     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8352     then
8353       # The compiler can only warn and ignore the option if not recognized
# Line 8358 | Line 8398 | else
8398     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8399     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8400     -e 's:$: $lt_compiler_flag:'`
8401 <   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
8401 >   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
8402     (eval "$lt_compile" 2>out/conftest.err)
8403     ac_status=$?
8404     cat out/conftest.err >&5
8405 <   echo "$as_me:8365: \$? = $ac_status" >&5
8405 >   echo "$as_me:8405: \$? = $ac_status" >&5
8406     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8407     then
8408       # The compiler can only warn and ignore the option if not recognized
# Line 8834 | Line 8874 | _LT_EOF
8874          if test "$aix_use_runtimelinking" = yes; then
8875            shared_flag="$shared_flag "'${wl}-G'
8876          fi
8837        link_all_deplibs=no
8877        else
8878          # not using gcc
8879          if test "$host_cpu" = ia64; then
# Line 10091 | Line 10130 | rm -f core conftest.err conftest.$ac_obj
10130    # before this can be enabled.
10131    hardcode_into_libs=yes
10132  
10094  # find out which ABI we are using
10095  libsuff=
10096  case "$host_cpu" in
10097  x86_64*|s390x*|powerpc64*)
10098    echo '#line 10098 "configure"' > conftest.$ac_ext
10099    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10100  (eval $ac_compile) 2>&5
10101  ac_status=$?
10102  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10103  test $ac_status = 0; }; then
10104      case `/usr/bin/file conftest.$ac_objext` in
10105      *64-bit*)
10106        libsuff=64
10107        ;;
10108      esac
10109    fi
10110    rm -rf conftest*
10111    ;;
10112  esac
10113
10114  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10115
10133    # Append ld.so.conf contents to the search path
10134    if test -f /etc/ld.so.conf; then
10135      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;/^$/d' | tr '\n' ' '`
10136 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10136 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10137    fi
10138  
10139    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10748 | Line 10765 | else
10765    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10766    lt_status=$lt_dlunknown
10767    cat > conftest.$ac_ext <<_LT_EOF
10768 < #line 10751 "configure"
10768 > #line 10768 "configure"
10769   #include "confdefs.h"
10770  
10771   #if HAVE_DLFCN_H
# Line 10844 | Line 10861 | else
10861    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10862    lt_status=$lt_dlunknown
10863    cat > conftest.$ac_ext <<_LT_EOF
10864 < #line 10847 "configure"
10864 > #line 10864 "configure"
10865   #include "confdefs.h"
10866  
10867   #if HAVE_DLFCN_H
# Line 11516 | Line 11533 | else
11533    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11534    lt_status=$lt_dlunknown
11535    cat > conftest.$ac_ext <<_LT_EOF
11536 < #line 11519 "configure"
11536 > #line 11536 "configure"
11537   #include "confdefs.h"
11538  
11539   #if HAVE_DLFCN_H
# Line 11925 | Line 11942 | fi
11942  
11943  
11944  
11928
11929
11930
11931
11932
11945   # Check whether --with-ltdl_include was given.
11946   if test "${with_ltdl_include+set}" = set; then :
11947    withval=$with_ltdl_include;
# Line 12131 | Line 12143 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
12143  
12144   LIBTOOL="$LIBTOOL --silent"
12145  
12134
12146   # Checks for libraries.
12147  
12148    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
# Line 12275 | Line 12286 | fi
12286  
12287  
12288  
12278
12289   # Checks for typedefs, structures, and compiler characteristics.
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12281 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12282 if test "${ac_cv_c_const+set}" = set; then :
12283  $as_echo_n "(cached) " >&6
12284 else
12285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h.  */
12287
12288 int
12289 main ()
12290 {
12291 /* FIXME: Include the comments suggested by Paul. */
12292 #ifndef __cplusplus
12293  /* Ultrix mips cc rejects this.  */
12294  typedef int charset[2];
12295  const charset cs;
12296  /* SunOS 4.1.1 cc rejects this.  */
12297  char const *const *pcpcc;
12298  char **ppc;
12299  /* NEC SVR4.0.2 mips cc rejects this.  */
12300  struct point {int x, y;};
12301  static struct point const zero = {0,0};
12302  /* AIX XL C 1.02.0.0 rejects this.
12303     It does not let you subtract one const X* pointer from another in
12304     an arm of an if-expression whose if-part is not a constant
12305     expression */
12306  const char *g = "string";
12307  pcpcc = &g + (g ? g-g : 0);
12308  /* HPUX 7.0 cc rejects these. */
12309  ++pcpcc;
12310  ppc = (char**) pcpcc;
12311  pcpcc = (char const *const *) ppc;
12312  { /* SCO 3.2v4 cc rejects this.  */
12313    char *t;
12314    char const *s = 0 ? (char *) 0 : (char const *) 0;
12315
12316    *t++ = 0;
12317    if (s) return 0;
12318  }
12319  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12320    int x[] = {25, 17};
12321    const int *foo = &x[0];
12322    ++foo;
12323  }
12324  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12325    typedef const int *iptr;
12326    iptr p = 0;
12327    ++p;
12328  }
12329  { /* AIX XL C 1.02.0.0 rejects this saying
12330       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12331    struct s { int j; const int *ap[3]; };
12332    struct s *b; b->j = 5;
12333  }
12334  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12335    const int foo = 10;
12336    if (!foo) return 0;
12337  }
12338  return !cs[0] && !zero.x;
12339 #endif
12340
12341  ;
12342  return 0;
12343 }
12344 _ACEOF
12345 if ac_fn_c_try_compile "$LINENO"; then :
12346  ac_cv_c_const=yes
12347 else
12348  ac_cv_c_const=no
12349 fi
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 fi
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12353 $as_echo "$ac_cv_c_const" >&6; }
12354 if test $ac_cv_c_const = no; then
12355
12356 $as_echo "#define const /**/" >>confdefs.h
12357
12358 fi
12359
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12361 $as_echo_n "checking for inline... " >&6; }
12362 if test "${ac_cv_c_inline+set}" = set; then :
12363  $as_echo_n "(cached) " >&6
12364 else
12365  ac_cv_c_inline=no
12366 for ac_kw in inline __inline__ __inline; do
12367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h.  */
12369 #ifndef __cplusplus
12370 typedef int foo_t;
12371 static $ac_kw foo_t static_foo () {return 0; }
12372 $ac_kw foo_t foo () {return 0; }
12373 #endif
12374
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"; then :
12377  ac_cv_c_inline=$ac_kw
12378 fi
12379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12380  test "$ac_cv_c_inline" != no && break
12381 done
12382
12383 fi
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12385 $as_echo "$ac_cv_c_inline" >&6; }
12386
12387 case $ac_cv_c_inline in
12388  inline | yes) ;;
12389  *)
12390    case $ac_cv_c_inline in
12391      no) ac_val=;;
12392      *) ac_val=$ac_cv_c_inline;;
12393    esac
12394    cat >>confdefs.h <<_ACEOF
12395 #ifndef __cplusplus
12396 #define inline $ac_val
12397 #endif
12398 _ACEOF
12399    ;;
12400 esac
12401
12290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12291   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12292   if test "${ac_cv_c_bigendian+set}" = set; then :
# Line 12624 | Line 12512 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12512   esac
12513  
12514  
12627 # The cast to long int works around a bug in the HP C Compiler
12628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12630 # This bug is HP SR number 8606223364.
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12632 $as_echo_n "checking size of int64_t... " >&6; }
12633 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12634  $as_echo_n "(cached) " >&6
12635 else
12636  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12637
12638 else
12639  if test "$ac_cv_type_int64_t" = yes; then
12640     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12642 { as_fn_set_status 77
12643 as_fn_error "cannot compute sizeof (int64_t)
12644 See \`config.log' for more details." "$LINENO" 5; }; }
12645   else
12646     ac_cv_sizeof_int64_t=0
12647   fi
12648 fi
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12652 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12653
12654
12655
12656 cat >>confdefs.h <<_ACEOF
12657 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12658 _ACEOF
12659
12660
12661 # The cast to long int works around a bug in the HP C Compiler
12662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12664 # This bug is HP SR number 8606223364.
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12666 $as_echo_n "checking size of long long... " >&6; }
12667 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12668  $as_echo_n "(cached) " >&6
12669 else
12670  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12671
12672 else
12673  if test "$ac_cv_type_long_long" = yes; then
12674     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 { as_fn_set_status 77
12677 as_fn_error "cannot compute sizeof (long long)
12678 See \`config.log' for more details." "$LINENO" 5; }; }
12679   else
12680     ac_cv_sizeof_long_long=0
12681   fi
12682 fi
12683
12684 fi
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12686 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12687
12688
12689
12690 cat >>confdefs.h <<_ACEOF
12691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12692 _ACEOF
12693
12694
12695
12696 if test "$ac_cv_sizeof_int64_t" = 8; then
12697  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12698 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12699
12700 fi
12701
12702  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_int64_t" = x""yes; then :
12704
12705 fi
12706
12707 elif test "$ac_cv_sizeof_long_long" = 8; then
12708  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12709 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12710
12711 else
12712
12713 cat >>confdefs.h <<_ACEOF
12714 #define uint64_t unsigned long long
12715 _ACEOF
12716
12717 fi
12718
12719  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12720 if test "x$ac_cv_type_int64_t" = x""yes; then :
12721
12722 else
12723
12724 cat >>confdefs.h <<_ACEOF
12725 #define int64_t long long
12726 _ACEOF
12727
12728 fi
12729
12730 else
12731  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12732 fi
12733
12734
12515   # Checks for library functions.
12516  
12517  
# Line 12761 | Line 12541 | done
12541  
12542  
12543  
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12544   # Checks for header files.
12545  
12546  
# Line 12816 | Line 12586 | done
12586  
12587  
12588  
12589 <
12820 <
12821 <
12822 <
12589 > # check for /dev/null so we can use it to hold evil fd's
12590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591   $as_echo_n "checking for /dev/null... " >&6; }
12592 < if test -c /dev/null ; then
12592 > if test -c /dev/null; then :
12593 >
12594  
12595   $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596  
# Line 12830 | Line 12598 | $as_echo "#define PATH_DEVNULL \"/dev/nu
12598   $as_echo "yes" >&6; }
12599   else
12600  
12601 +
12602   $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603  
12604    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
# Line 12861 | Line 12630 | return crypt ();
12630    return 0;
12631   }
12632   _ACEOF
12633 < for ac_lib in '' crypt descrypt; do
12633 > for ac_lib in '' crypt; do
12634    if test -z "$ac_lib"; then
12635      ac_res="none required"
12636    else
# Line 12893 | Line 12662 | if test "$ac_res" != no; then :
12662  
12663   fi
12664  
12896 if test "$ac_cv_search_crypt" = "none required"; then
12897  HAVE_CRYPT_TRUE=
12898  HAVE_CRYPT_FALSE='#'
12899 else
12900  HAVE_CRYPT_TRUE='#'
12901  HAVE_CRYPT_FALSE=
12902 fi
12903
12665  
12666  
12667  
# Line 12918 | Line 12679 | else
12679   fi
12680  
12681  
12682 < if test "$zlib" = yes; then
12682 > if test "$zlib" = "yes"; then :
12683 >
12684    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685   if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
# Line 12974 | Line 12736 | else
12736   fi
12737  
12738  
12739 +
12740 + fi
12741 +
12742 +
12743 + # Check whether --with-libpcre-path was given.
12744 + if test "${with_libpcre_path+set}" = set; then :
12745 +  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12746   fi
12747  
12748  
12749 + # Check whether --enable-libpcre was given.
12750 + if test "${enable_libpcre+set}" = set; then :
12751 +  enableval=$enable_libpcre; libpcre=$enableval
12752 + else
12753 +  libpcre=yes
12754 + fi
12755 +
12756 +
12757 + if test "$libpcre" = "yes"; then :
12758 +
12759 +  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12760 + if test "x$ac_cv_header_pcre_h" = x""yes; then :
12761 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12762 + $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12763 + if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12764 +  $as_echo_n "(cached) " >&6
12765 + else
12766 +  ac_check_lib_save_LIBS=$LIBS
12767 + LIBS="-lpcre  $LIBS"
12768 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769 + /* end confdefs.h.  */
12770 +
12771 + /* Override any GCC internal prototype to avoid an error.
12772 +   Use char because int might match the return type of a GCC
12773 +   builtin and then its argument prototype would still apply.  */
12774 + #ifdef __cplusplus
12775 + extern "C"
12776 + #endif
12777 + char pcre_study ();
12778 + int
12779 + main ()
12780 + {
12781 + return pcre_study ();
12782 +  ;
12783 +  return 0;
12784 + }
12785 + _ACEOF
12786 + if ac_fn_c_try_link "$LINENO"; then :
12787 +  ac_cv_lib_pcre_pcre_study=yes
12788 + else
12789 +  ac_cv_lib_pcre_pcre_study=no
12790 + fi
12791 + rm -f core conftest.err conftest.$ac_objext \
12792 +    conftest$ac_exeext conftest.$ac_ext
12793 + LIBS=$ac_check_lib_save_LIBS
12794 + fi
12795 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12796 + $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12797 + if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12798 +
12799 +      LIBS="-lpcre $LIBS"
12800 +
12801 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12802 +
12803 +
12804 + else
12805 +  libpcre=no
12806 + fi
12807 +
12808 +
12809 + else
12810 +  libpcre=no
12811 + fi
12812 +
12813 +
12814 +
12815 + fi
12816 + if test "$libpcre" = yes; then
12817 +  ENABLE_PCRE_TRUE=
12818 +  ENABLE_PCRE_FALSE='#'
12819 + else
12820 +  ENABLE_PCRE_TRUE='#'
12821 +  ENABLE_PCRE_FALSE=
12822 + fi
12823 +
12824 +
12825 +
12826   # Check whether --enable-openssl was given.
12827   if test "${enable_openssl+set}" = set; then :
12828    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13024 | Line 12870 | $as_echo "$cf_openssl_basedir" >&6; }
12870   $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12871  
12872    else
12873 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
12874 < $as_echo "not found.  Please check your path." >&6; }
12873 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12874 > $as_echo "not found. Please check your path." >&6; }
12875      cf_enable_openssl="no"
12876    fi
12877    unset cf_openssl_basedir
# Line 13033 | Line 12879 | else
12879      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12880   $as_echo "disabled" >&6; }
12881   fi
12882 +
12883 + if test "$cf_enable_openssl" != "no"; then :
12884 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
12885 + $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
12886 +  if test "$cross_compiling" = yes; then :
12887 +  cf_openssl_version_ok=no
12888 + else
12889 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 + /* end confdefs.h.  */
12891 +
12892 +    #include <openssl/opensslv.h>
12893 +    #include <stdlib.h>
12894 + int
12895 + main ()
12896 + {
12897 + exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
12898 +  ;
12899 +  return 0;
12900 + }
12901 + _ACEOF
12902 + if ac_fn_c_try_run "$LINENO"; then :
12903 +  cf_openssl_version_ok=yes
12904 + else
12905 +  cf_openssl_version_ok=no
12906 + fi
12907 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12908 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
12909 + fi
12910 +
12911 +
12912 +  if test "$cf_openssl_version_ok" = "yes"; then :
12913 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12914 + $as_echo "found" >&6; }
12915 +
12916 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12917 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12918 + if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
12919 +  $as_echo_n "(cached) " >&6
12920 + else
12921 +  ac_check_lib_save_LIBS=$LIBS
12922 + LIBS="-lcrypto  $LIBS"
12923 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 + /* end confdefs.h.  */
12925 +
12926 + /* Override any GCC internal prototype to avoid an error.
12927 +   Use char because int might match the return type of a GCC
12928 +   builtin and then its argument prototype would still apply.  */
12929 + #ifdef __cplusplus
12930 + extern "C"
12931 + #endif
12932 + char RSA_free ();
12933 + int
12934 + main ()
12935 + {
12936 + return RSA_free ();
12937 +  ;
12938 +  return 0;
12939 + }
12940 + _ACEOF
12941 + if ac_fn_c_try_link "$LINENO"; then :
12942 +  ac_cv_lib_crypto_RSA_free=yes
12943 + else
12944 +  ac_cv_lib_crypto_RSA_free=no
12945 + fi
12946 + rm -f core conftest.err conftest.$ac_objext \
12947 +    conftest$ac_exeext conftest.$ac_ext
12948 + LIBS=$ac_check_lib_save_LIBS
12949 + fi
12950 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12951 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12952 + if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12953 +  cat >>confdefs.h <<_ACEOF
12954 + #define HAVE_LIBCRYPTO 1
12955 + _ACEOF
12956 +
12957 +  LIBS="-lcrypto $LIBS"
12958 +
12959 + fi
12960 +
12961 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12962 +  for ac_func in EVP_bf_cfb           \
12963 +                      EVP_cast5_cfb        \
12964 +                      EVP_idea_cfb         \
12965 +                      EVP_rc5_32_12_16_cfb \
12966 +                      EVP_des_ede3_cfb     \
12967 +                      EVP_des_cfb
12968 + do :
12969 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12970 + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12971 + eval as_val=\$$as_ac_var
12972 +   if test "x$as_val" = x""yes; then :
12973 +  cat >>confdefs.h <<_ACEOF
12974 + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12975 + _ACEOF
12976 +
12977 + fi
12978 + done
12979 +
12980 + fi
12981 +
12982 + else
12983 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
12984 + $as_echo "no - OpenSSL support disabled" >&6; }
12985 +    cf_enable_openssl="no"
12986 + fi
12987 + fi
12988 +
12989   if test "$cf_enable_openssl" = yes; then
12990    ENABLE_SSL_TRUE=
12991    ENABLE_SSL_FALSE='#'
# Line 13050 | Line 13003 | else
13003    assert=no
13004   fi
13005  
13006 < if test "$assert" = no; then
13006 >
13007 > if test "$assert" = "no"; then :
13008  
13009   $as_echo "#define NDEBUG 1" >>confdefs.h
13010  
# Line 13065 | Line 13019 | else
13019   fi
13020  
13021  
13022 < if test "$small_net" = yes; then
13022 > if test "$small_net" = "yes"; then :
13023 >
13024  
13025   $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13026  
# Line 13090 | Line 13045 | $as_echo "#define TOPIC_HEAP_SIZE 256" >
13045  
13046   $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13047  
13048 +
13049 + $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13050 +
13051 +
13052 + $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13053 +
13054   else
13055  
13056 +
13057 +
13058   $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13059  
13060  
# Line 13115 | Line 13078 | $as_echo "#define TOPIC_HEAP_SIZE 1024"
13078  
13079   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13080  
13081 +
13082 + $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13083 +
13084 +
13085 + $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13086 +
13087   fi
13088  
13089  
# Line 13528 | Line 13497 | fi
13497  
13498  
13499   cat >>confdefs.h <<_ACEOF
13500 < #define TOPICLEN ($topiclen+1)
13500 > #define TOPICLEN ($topiclen)
13501   _ACEOF
13502  
13503  
# Line 13564 | Line 13533 | $as_echo "#define EFNET 1" >>confdefs.h
13533   $as_echo "#define TS5_ONLY 1" >>confdefs.h
13534  
13535          else
13567
13568 $as_echo "#define INVARIANTS 1" >>confdefs.h
13569
13536                  use_efnet="no"
13537    fi
13538     if test "$use_efnet" = "yes"; then
# Line 13604 | Line 13570 | fi
13570  
13571   $as_echo "#define DEBUG 1" >>confdefs.h
13572  
13573 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13573 >    CFLAGS="-Wall -g -O0"
13574    else
13575  
13576   $as_echo "#define NDEBUG 1" >>confdefs.h
# Line 13620 | Line 13586 | else
13586   fi
13587  
13588    if test "$warnings" = "yes" ; then
13589 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13589 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13590    fi
13591  
13592  
# Line 13750 | Line 13716 | _ACEOF
13716    test "$exec_prefix_NONE" && exec_prefix=NONE
13717  
13718  
13719 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
13719 > ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
13720  
13721  
13722   cat >confcache <<\_ACEOF
# Line 13896 | Line 13862 | LT_CONFIG_H=config.h
13862  
13863  
13864  
13865 < if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
13866 <  as_fn_error "conditional \"HAVE_CRYPT\" was never defined.
13865 > if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866 >  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867   Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868   fi
13869   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
# Line 14316 | Line 14282 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
14282   # report actual input values of CONFIG_FILES etc. instead of their
14283   # values after options handling.
14284   ac_log="
14285 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
14286 < generated by GNU Autoconf 2.64.  Invocation command line was
14285 > This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
14286 > generated by GNU Autoconf 2.65.  Invocation command line was
14287  
14288    CONFIG_FILES    = $CONFIG_FILES
14289    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14357 | Line 14323 | Usage: $0 [OPTION]... [TAG]...
14323  
14324    -h, --help       print this help, then exit
14325    -V, --version    print version number and configuration settings, then exit
14326 +      --config     print configuration, then exit
14327    -q, --quiet, --silent
14328                     do not print progress messages
14329    -d, --debug      don't remove temporary files
# Line 14375 | Line 14342 | $config_headers
14342   Configuration commands:
14343   $config_commands
14344  
14345 < Report bugs to the package provider."
14345 > Report bugs to <bugs@ircd-hybrid.org>."
14346  
14347   _ACEOF
14348   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14349 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14350   ac_cs_version="\\
14351 < ircd-hybrid config.status 7.2.4
14352 < configured by $0, generated by GNU Autoconf 2.64,
14353 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14351 > ircd-hybrid config.status 7.3-rc1
14352 > configured by $0, generated by GNU Autoconf 2.65,
14353 >  with options \\"\$ac_cs_config\\"
14354  
14355   Copyright (C) 2009 Free Software Foundation, Inc.
14356   This config.status script is free software; the Free Software Foundation
# Line 14420 | Line 14388 | do
14388      ac_cs_recheck=: ;;
14389    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14390      $as_echo "$ac_cs_version"; exit ;;
14391 +  --config | --confi | --conf | --con | --co | --c )
14392 +    $as_echo "$ac_cs_config"; exit ;;
14393    --debug | --debu | --deb | --de | --d | -d )
14394      debug=: ;;
14395    --file | --fil | --fi | --f )
# Line 14503 | Line 14473 | double_quote_subst='$double_quote_subst'
14473   delay_variable_subst='$delay_variable_subst'
14474   macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14475   macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14506 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14476   enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14477 + enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14478   pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14479   enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14480   host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
# Line 14761 | Line 14731 | do
14731      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14732      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733      "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14764    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14765    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14766    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14734      "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
# Line 14775 | Line 14742 | do
14742      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14743      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14744      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14778    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14779    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
14745      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14746  
14747    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 14881 | Line 14846 | s/'"$ac_delim"'$//
14846   t delim
14847   :nl
14848   h
14849 < s/\(.\{148\}\).*/\1/
14849 > s/\(.\{148\}\)..*/\1/
14850   t more1
14851   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14852   p
# Line 14895 | Line 14860 | s/.\{148\}//
14860   t nl
14861   :delim
14862   h
14863 < s/\(.\{148\}\).*/\1/
14863 > s/\(.\{148\}\)..*/\1/
14864   t more2
14865   s/["\\]/\\&/g; s/^/"/; s/$/"/
14866   p
# Line 15514 | Line 15479 | available_tags=""
15479   macro_version=$macro_version
15480   macro_revision=$macro_revision
15481  
15517 # Whether or not to build shared libraries.
15518 build_libtool_libs=$enable_shared
15519
15482   # Whether or not to build static libraries.
15483   build_old_libs=$enable_static
15484  
15485 + # Whether or not to build shared libraries.
15486 + build_libtool_libs=$enable_shared
15487 +
15488   # What type of objects to build.
15489   pic_mode=$pic_mode
15490  

Diff Legend

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