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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 977 by michael, Sat Aug 8 07:33:08 2009 UTC vs.
ircd-hybrid-7.3/configure (file contents), Revision 1092 by michael, Thu Mar 25 11:10:59 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 1090 2010-03-24 22:37:53Z 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  
684 < lt_ltdl_dir='libltdl'
685 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
684 > test -n "$DJDIR" || exec 7<&0 </dev/null
685 > exec 6>&1
686  
687   # Name of the host.
688   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 700 | Line 704 | MAKEFLAGS=
704   # Identity of this package.
705   PACKAGE_NAME='ircd-hybrid'
706   PACKAGE_TARNAME='ircd-hybrid'
707 < PACKAGE_VERSION='7.2.4'
708 < PACKAGE_STRING='ircd-hybrid 7.2.4'
709 < PACKAGE_BUGREPORT=''
707 > PACKAGE_VERSION='7.3-rc1'
708 > PACKAGE_STRING='ircd-hybrid 7.3-rc1'
709 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
710   PACKAGE_URL=''
711  
712   ac_unique_file="src/ircd.c"
# Line 742 | Line 746 | ac_includes_default="\
746   # include <unistd.h>
747   #endif"
748  
745 enable_option_checking=no
749   ac_func_list=
750   ac_header_list=
751   ac_subst_vars='ltdl_LTLIBOBJS
# Line 760 | Line 763 | EFNET_FALSE
763   EFNET_TRUE
764   ENABLE_SSL_FALSE
765   ENABLE_SSL_TRUE
766 + ENABLE_PCRE_FALSE
767 + ENABLE_PCRE_TRUE
768   LTDLOPEN
769   LT_CONFIG_H
765 subdirs
770   CONVENIENCE_LTDL_FALSE
771   CONVENIENCE_LTDL_TRUE
772   INSTALL_LTDL_FALSE
# Line 909 | Line 913 | with_ltdl_lib
913   enable_ltdl_install
914   with_zlib_path
915   enable_zlib
916 + with_libpcre_path
917 + enable_libpcre
918   enable_openssl
919   enable_assert
920   enable_small_net
# Line 938 | Line 944 | CPPFLAGS
944   YACC
945   YFLAGS
946   CPP'
947 < ac_subdirs_all='libltdl'
947 >
948  
949   # Initialize some variables set by options.
950   ac_init_help=
# Line 1479 | Line 1485 | if test "$ac_init_help" = "long"; then
1485    # Omit some internal or obsolete options to make the list less imposing.
1486    # This message is too long to be a string in the A/UX 3.1 sh.
1487    cat <<_ACEOF
1488 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1488 > \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1489  
1490   Usage: $0 [OPTION]... [VAR=VALUE]...
1491  
# Line 1549 | Line 1555 | fi
1555  
1556   if test -n "$ac_init_help"; then
1557    case $ac_init_help in
1558 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1558 >     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1559     esac
1560    cat <<\_ACEOF
1561  
# Line 1568 | Line 1574 | Optional Features:
1574    --disable-libtool-lock  avoid locking (might break parallel builds)
1575    --enable-ltdl-install   install libltdl
1576    --disable-zlib          Disable ziplinks support
1577 +  --disable-libpcre       Disable PCRE support
1578    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1579    --disable-openssl            Disable OpenSSL support.
1580    --enable-assert         Enable assert() statements
# Line 1596 | Line 1603 | Optional Packages:
1603    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1604    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1605    --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1606 +  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1607    --with-nicklen=<value>  Set nickname length (default 9).
1608    --with-topiclen=<value> Set topic length (default 160).
1609    --with-syslog-facility=LOG
# Line 1608 | Line 1616 | Some influential environment variables:
1616    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1617                nonstandard directory <lib dir>
1618    LIBS        libraries to pass to the linker, e.g. -l<library>
1619 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1619 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1620                you have headers in a nonstandard directory <include dir>
1621    YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1622                the first program found out of: `bison -y', `byacc', `yacc'.
# Line 1620 | Line 1628 | Some influential environment variables:
1628   Use these variables to override the choices made by `configure' or to help
1629   it to find libraries and programs with nonstandard names/locations.
1630  
1631 < Report bugs to the package provider.
1631 > Report bugs to <bugs@ircd-hybrid.org>.
1632   _ACEOF
1633   ac_status=$?
1634   fi
# Line 1683 | Line 1691 | fi
1691   test -n "$ac_init_help" && exit $ac_status
1692   if $ac_init_version; then
1693    cat <<\_ACEOF
1694 < ircd-hybrid configure 7.2.4
1695 < generated by GNU Autoconf 2.64
1694 > ircd-hybrid configure 7.3-rc1
1695 > generated by GNU Autoconf 2.65
1696  
1697   Copyright (C) 2009 Free Software Foundation, Inc.
1698   This configure script is free software; the Free Software Foundation
# Line 1731 | Line 1739 | sed 's/^/| /' conftest.$ac_ext >&5
1739          ac_retval=1
1740   fi
1741    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742 <  return $ac_retval
1742 >  as_fn_set_status $ac_retval
1743  
1744   } # ac_fn_c_try_compile
1745  
# Line 1777 | Line 1785 | fi
1785    # left behind by Apple's compiler.  We do this before executing the actions.
1786    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1787    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 <  return $ac_retval
1788 >  as_fn_set_status $ac_retval
1789  
1790   } # ac_fn_c_try_link
1791  
# Line 1845 | Line 1853 | sed 's/^/| /' conftest.$ac_ext >&5
1853      ac_retval=1
1854   fi
1855    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 <  return $ac_retval
1856 >  as_fn_set_status $ac_retval
1857  
1858   } # ac_fn_c_try_cpp
1859  
# Line 1887 | Line 1895 | sed 's/^/| /' conftest.$ac_ext >&5
1895   fi
1896    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1897    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898 <  return $ac_retval
1898 >  as_fn_set_status $ac_retval
1899  
1900   } # ac_fn_c_try_run
1901  
# Line 2108 | Line 2116 | $as_echo "$ac_res" >&6; }
2116  
2117   } # ac_fn_c_check_member
2118  
2111 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2112 # --------------------------------------------
2113 # Tries to find the compile-time value of EXPR in a program that includes
2114 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2115 # computed
2116 ac_fn_c_compute_int ()
2117 {
2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119  if test "$cross_compiling" = yes; then
2120    # Depending upon the size, compute the lo and hi bounds.
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 $4
2124 int
2125 main ()
2126 {
2127 static int test_array [1 - 2 * !(($2) >= 0)];
2128 test_array [0] = 0
2129
2130  ;
2131  return 0;
2132 }
2133 _ACEOF
2134 if ac_fn_c_try_compile "$LINENO"; then :
2135  ac_lo=0 ac_mid=0
2136  while :; do
2137    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h.  */
2139 $4
2140 int
2141 main ()
2142 {
2143 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2144 test_array [0] = 0
2145
2146  ;
2147  return 0;
2148 }
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151  ac_hi=$ac_mid; break
2152 else
2153  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2154                        if test $ac_lo -le $ac_mid; then
2155                          ac_lo= ac_hi=
2156                          break
2157                        fi
2158                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2159 fi
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161  done
2162 else
2163  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h.  */
2165 $4
2166 int
2167 main ()
2168 {
2169 static int test_array [1 - 2 * !(($2) < 0)];
2170 test_array [0] = 0
2171
2172  ;
2173  return 0;
2174 }
2175 _ACEOF
2176 if ac_fn_c_try_compile "$LINENO"; then :
2177  ac_hi=-1 ac_mid=-1
2178  while :; do
2179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h.  */
2181 $4
2182 int
2183 main ()
2184 {
2185 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2186 test_array [0] = 0
2187
2188  ;
2189  return 0;
2190 }
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193  ac_lo=$ac_mid; break
2194 else
2195  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196                        if test $ac_mid -le $ac_hi; then
2197                          ac_lo= ac_hi=
2198                          break
2199                        fi
2200                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2201 fi
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203  done
2204 else
2205  ac_lo= ac_hi=
2206 fi
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 # Binary search between lo and hi bounds.
2211 while test "x$ac_lo" != "x$ac_hi"; do
2212  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h.  */
2215 $4
2216 int
2217 main ()
2218 {
2219 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220 test_array [0] = 0
2221
2222  ;
2223  return 0;
2224 }
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227  ac_hi=$ac_mid
2228 else
2229  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2230 fi
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 done
2233 case $ac_lo in #((
2234 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2235 '') ac_retval=1 ;;
2236 esac
2237  else
2238    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h.  */
2240 $4
2241 static long int longval () { return $2; }
2242 static unsigned long int ulongval () { return $2; }
2243 #include <stdio.h>
2244 #include <stdlib.h>
2245 int
2246 main ()
2247 {
2248
2249  FILE *f = fopen ("conftest.val", "w");
2250  if (! f)
2251    return 1;
2252  if (($2) < 0)
2253    {
2254      long int i = longval ();
2255      if (i != ($2))
2256        return 1;
2257      fprintf (f, "%ld", i);
2258    }
2259  else
2260    {
2261      unsigned long int i = ulongval ();
2262      if (i != ($2))
2263        return 1;
2264      fprintf (f, "%lu", i);
2265    }
2266  /* Do not output a trailing newline, as this causes \r\n confusion
2267     on some platforms.  */
2268  return ferror (f) || fclose (f) != 0;
2269
2270  ;
2271  return 0;
2272 }
2273 _ACEOF
2274 if ac_fn_c_try_run "$LINENO"; then :
2275  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2276 else
2277  ac_retval=1
2278 fi
2279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2280  conftest.$ac_objext conftest.beam conftest.$ac_ext
2281 rm -f conftest.val
2282
2283  fi
2284  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285  return $ac_retval
2286
2287 } # ac_fn_c_compute_int
2288
2119   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2120   # -------------------------------------------------------
2121   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2356 | Line 2186 | $as_echo "$as_me: WARNING: $2: see the A
2186   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2187      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2188   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2189 + ( cat <<\_ASBOX
2190 + ## ----------------------------------- ##
2191 + ## Report this to bugs@ircd-hybrid.org ##
2192 + ## ----------------------------------- ##
2193 + _ASBOX
2194 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2195      ;;
2196   esac
2197    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# Line 2376 | Line 2212 | cat >config.log <<_ACEOF
2212   This file contains any messages produced by compilers while
2213   running configure, to aid debugging if configure makes a mistake.
2214  
2215 < It was created by ircd-hybrid $as_me 7.2.4, which was
2216 < generated by GNU Autoconf 2.64.  Invocation command line was
2215 > It was created by ircd-hybrid $as_me 7.3-rc1, which was
2216 > generated by GNU Autoconf 2.65.  Invocation command line was
2217  
2218    $ $0 $@
2219  
# Line 2630 | Line 2466 | fi
2466   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2467   do
2468    test "x$ac_site_file" = xNONE && continue
2469 <  if test -r "$ac_site_file"; then
2469 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2470      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2471   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2472      sed 's/^/| /' "$ac_site_file" >&5
# Line 2639 | Line 2475 | $as_echo "$as_me: loading site script $a
2475   done
2476  
2477   if test -r "$cache_file"; then
2478 <  # Some versions of bash will fail to source /dev/null (special
2479 <  # files actually), so we avoid doing that.
2480 <  if test -f "$cache_file"; then
2478 >  # Some versions of bash will fail to source /dev/null (special files
2479 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2480 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2481      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2482   $as_echo "$as_me: loading cache $cache_file" >&6;}
2483      case $cache_file in
# Line 2655 | Line 2491 | $as_echo "$as_me: creating cache $cache_
2491    >$cache_file
2492   fi
2493  
2658 as_fn_append ac_func_list " snprintf"
2659 as_fn_append ac_func_list " vsnprintf"
2660 as_fn_append ac_func_list " lrand48"
2661 as_fn_append ac_func_list " srand48"
2494   as_fn_append ac_func_list " mmap"
2495   as_fn_append ac_func_list " strtok_r"
2496   as_fn_append ac_func_list " usleep"
2497   as_fn_append ac_func_list " strlcat"
2498   as_fn_append ac_func_list " strlcpy"
2667 as_fn_append ac_func_list " basename"
2499   as_fn_append ac_header_list " crypt.h"
2500   as_fn_append ac_header_list " inttypes.h"
2501   as_fn_append ac_header_list " stdint.h"
# Line 2672 | Line 2503 | as_fn_append ac_header_list " sys/resour
2503   as_fn_append ac_header_list " sys/param.h"
2504   as_fn_append ac_header_list " errno.h"
2505   as_fn_append ac_header_list " sys/syslog.h"
2675 as_fn_append ac_header_list " stddef.h"
2676 as_fn_append ac_header_list " libgen.h"
2506   as_fn_append ac_header_list " types.h"
2507   as_fn_append ac_header_list " socket.h"
2508   as_fn_append ac_header_list " sys/wait.h"
# Line 3084 | Line 2913 | IFS=$as_save_IFS
2913  
2914   fi
2915  
2916 +  test -d ./--version && rmdir ./--version
2917    if test "${ac_cv_path_mkdir+set}" = set; then
2918      MKDIR_P="$ac_cv_path_mkdir -p"
2919    else
# Line 3091 | Line 2921 | fi
2921      # value for MKDIR_P within a source directory, because that will
2922      # break other packages using the cache if that directory is
2923      # removed, or if the value is a relative name.
3094    test -d ./--version && rmdir ./--version
2924      MKDIR_P="$ac_install_sh -d"
2925    fi
2926   fi
# Line 3208 | Line 3037 | fi
3037  
3038   # Define the identity of the package.
3039   PACKAGE='ircd-hybrid'
3040 < VERSION='7.2.4'
3040 > VERSION='7.3-rc1'
3041  
3042  
3043   cat >>confdefs.h <<_ACEOF
# Line 3275 | Line 3104 | ac_config_headers="$ac_config_headers co
3104  
3105  
3106  
3278
3107   # Checks for programs.
3108 + DEPDIR="${am__leading_dot}deps"
3109 +
3110 + ac_config_commands="$ac_config_commands depfiles"
3111 +
3112 +
3113 + am_make=${MAKE-make}
3114 + cat > confinc << 'END'
3115 + am__doit:
3116 +        @echo this is the am__doit target
3117 + .PHONY: am__doit
3118 + END
3119 + # If we don't find an include directive, just comment out the code.
3120 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3121 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3122 + am__include="#"
3123 + am__quote=
3124 + _am_result=none
3125 + # First try GNU make style include.
3126 + echo "include confinc" > confmf
3127 + # Ignore all kinds of additional output from `make'.
3128 + case `$am_make -s -f confmf 2> /dev/null` in #(
3129 + *the\ am__doit\ target*)
3130 +  am__include=include
3131 +  am__quote=
3132 +  _am_result=GNU
3133 +  ;;
3134 + esac
3135 + # Now try BSD make style include.
3136 + if test "$am__include" = "#"; then
3137 +   echo '.include "confinc"' > confmf
3138 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3139 +   *the\ am__doit\ target*)
3140 +     am__include=.include
3141 +     am__quote="\""
3142 +     _am_result=BSD
3143 +     ;;
3144 +   esac
3145 + fi
3146 +
3147 +
3148 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3149 + $as_echo "$_am_result" >&6; }
3150 + rm -f confinc confmf
3151 +
3152 + # Check whether --enable-dependency-tracking was given.
3153 + if test "${enable_dependency_tracking+set}" = set; then :
3154 +  enableval=$enable_dependency_tracking;
3155 + fi
3156 +
3157 + if test "x$enable_dependency_tracking" != xno; then
3158 +  am_depcomp="$ac_aux_dir/depcomp"
3159 +  AMDEPBACKSLASH='\'
3160 + fi
3161 + if test "x$enable_dependency_tracking" != xno; then
3162 +  AMDEP_TRUE=
3163 +  AMDEP_FALSE='#'
3164 + else
3165 +  AMDEP_TRUE='#'
3166 +  AMDEP_FALSE=
3167 + fi
3168 +
3169 +
3170   ac_ext=c
3171   ac_cpp='$CPP $CPPFLAGS'
3172   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3599 | Line 3489 | $as_echo "$ac_try_echo"; } >&5
3489   ... rest of stderr output deleted ...
3490           10q' conftest.err >conftest.er1
3491      cat conftest.er1 >&5
3602    rm -f conftest.er1 conftest.err
3492    fi
3493 +  rm -f conftest.er1 conftest.err
3494    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495    test $ac_status = 0; }
3496   done
3497  
3498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499   /* end confdefs.h.  */
3500 < #include <stdio.h>
3500 >
3501   int
3502   main ()
3503   {
3614 FILE *f = fopen ("conftest.out", "w");
3615 return ferror (f) || fclose (f) != 0;
3504  
3505    ;
3506    return 0;
3507   }
3508   _ACEOF
3509   ac_clean_files_save=$ac_clean_files
3510 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3510 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3511   # Try to create an executable without -o first, disregard a.out.
3512   # It will help us diagnose broken compilers, and finding out an intuition
3513   # of exeext.
3514 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3515 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3514 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3515 > $as_echo_n "checking whether the C compiler works... " >&6; }
3516   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3517  
3518   # The possible output files:
# Line 3686 | Line 3574 | test "$ac_cv_exeext" = no && ac_cv_exeex
3574   else
3575    ac_file=''
3576   fi
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3690 $as_echo "$ac_file" >&6; }
3577   if test -z "$ac_file"; then :
3578 <  $as_echo "$as_me: failed program was:" >&5
3578 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 > $as_echo "no" >&6; }
3580 > $as_echo "$as_me: failed program was:" >&5
3581   sed 's/^/| /' conftest.$ac_ext >&5
3582  
3583   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
# Line 3697 | Line 3585 | $as_echo "$as_me: error: in \`$ac_pwd':"
3585   { as_fn_set_status 77
3586   as_fn_error "C compiler cannot create executables
3587   See \`config.log' for more details." "$LINENO" 5; }; }
3588 + else
3589 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3590 + $as_echo "yes" >&6; }
3591   fi
3592 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3593 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3594 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3595 + $as_echo "$ac_file" >&6; }
3596   ac_exeext=$ac_cv_exeext
3597  
3598 < # Check that the compiler produces executables we can run.  If not, either
3704 < # the compiler is broken, or we cross compile.
3705 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3706 < $as_echo_n "checking whether the C compiler works... " >&6; }
3707 < # If not cross compiling, check that we can run a simple program.
3708 < if test "$cross_compiling" != yes; then
3709 <  if { ac_try='./$ac_file'
3710 <  { { case "(($ac_try" in
3711 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712 <  *) ac_try_echo=$ac_try;;
3713 < esac
3714 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715 < $as_echo "$ac_try_echo"; } >&5
3716 <  (eval "$ac_try") 2>&5
3717 <  ac_status=$?
3718 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 <  test $ac_status = 0; }; }; then
3720 <    cross_compiling=no
3721 <  else
3722 <    if test "$cross_compiling" = maybe; then
3723 <        cross_compiling=yes
3724 <    else
3725 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3726 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3727 < as_fn_error "cannot run C compiled programs.
3728 < If you meant to cross compile, use \`--host'.
3729 < See \`config.log' for more details." "$LINENO" 5; }
3730 <    fi
3731 <  fi
3732 < fi
3733 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734 < $as_echo "yes" >&6; }
3735 <
3736 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3598 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3599   ac_clean_files=$ac_clean_files_save
3738 # Check that the compiler produces executables we can run.  If not, either
3739 # the compiler is broken, or we cross compile.
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3741 $as_echo_n "checking whether we are cross compiling... " >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3743 $as_echo "$cross_compiling" >&6; }
3744
3600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3601   $as_echo_n "checking for suffix of executables... " >&6; }
3602   if { { ac_try="$ac_link"
# Line 3774 | Line 3629 | $as_echo "$as_me: error: in \`$ac_pwd':"
3629   as_fn_error "cannot compute suffix of executables: cannot compile and link
3630   See \`config.log' for more details." "$LINENO" 5; }
3631   fi
3632 < rm -f conftest$ac_cv_exeext
3632 > rm -f conftest conftest$ac_cv_exeext
3633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3634   $as_echo "$ac_cv_exeext" >&6; }
3635  
3636   rm -f conftest.$ac_ext
3637   EXEEXT=$ac_cv_exeext
3638   ac_exeext=$EXEEXT
3639 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 + /* end confdefs.h.  */
3641 + #include <stdio.h>
3642 + int
3643 + main ()
3644 + {
3645 + FILE *f = fopen ("conftest.out", "w");
3646 + return ferror (f) || fclose (f) != 0;
3647 +
3648 +  ;
3649 +  return 0;
3650 + }
3651 + _ACEOF
3652 + ac_clean_files="$ac_clean_files conftest.out"
3653 + # Check that the compiler produces executables we can run.  If not, either
3654 + # the compiler is broken, or we cross compile.
3655 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3656 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3657 + if test "$cross_compiling" != yes; then
3658 +  { { ac_try="$ac_link"
3659 + case "(($ac_try" in
3660 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 +  *) ac_try_echo=$ac_try;;
3662 + esac
3663 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664 + $as_echo "$ac_try_echo"; } >&5
3665 +  (eval "$ac_link") 2>&5
3666 +  ac_status=$?
3667 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 +  test $ac_status = 0; }
3669 +  if { ac_try='./conftest$ac_cv_exeext'
3670 +  { { case "(($ac_try" in
3671 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672 +  *) ac_try_echo=$ac_try;;
3673 + esac
3674 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3675 + $as_echo "$ac_try_echo"; } >&5
3676 +  (eval "$ac_try") 2>&5
3677 +  ac_status=$?
3678 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679 +  test $ac_status = 0; }; }; then
3680 +    cross_compiling=no
3681 +  else
3682 +    if test "$cross_compiling" = maybe; then
3683 +        cross_compiling=yes
3684 +    else
3685 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3686 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3687 + as_fn_error "cannot run C compiled programs.
3688 + If you meant to cross compile, use \`--host'.
3689 + See \`config.log' for more details." "$LINENO" 5; }
3690 +    fi
3691 +  fi
3692 + fi
3693 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3694 + $as_echo "$cross_compiling" >&6; }
3695 +
3696 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3697 + ac_clean_files=$ac_clean_files_save
3698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3699   $as_echo_n "checking for suffix of object files... " >&6; }
3700   if test "${ac_cv_objext+set}" = set; then :
# Line 4043 | Line 3957 | ac_cpp='$CPP $CPPFLAGS'
3957   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046 DEPDIR="${am__leading_dot}deps"
4047
4048 ac_config_commands="$ac_config_commands depfiles"
4049
4050
4051 am_make=${MAKE-make}
4052 cat > confinc << 'END'
4053 am__doit:
4054        @echo this is the am__doit target
4055 .PHONY: am__doit
4056 END
4057 # If we don't find an include directive, just comment out the code.
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4059 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4060 am__include="#"
4061 am__quote=
4062 _am_result=none
4063 # First try GNU make style include.
4064 echo "include confinc" > confmf
4065 # Ignore all kinds of additional output from `make'.
4066 case `$am_make -s -f confmf 2> /dev/null` in #(
4067 *the\ am__doit\ target*)
4068  am__include=include
4069  am__quote=
4070  _am_result=GNU
4071  ;;
4072 esac
4073 # Now try BSD make style include.
4074 if test "$am__include" = "#"; then
4075   echo '.include "confinc"' > confmf
4076   case `$am_make -s -f confmf 2> /dev/null` in #(
4077   *the\ am__doit\ target*)
4078     am__include=.include
4079     am__quote="\""
4080     _am_result=BSD
4081     ;;
4082   esac
4083 fi
4084
4085
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4087 $as_echo "$_am_result" >&6; }
4088 rm -f confinc confmf
4089
4090 # Check whether --enable-dependency-tracking was given.
4091 if test "${enable_dependency_tracking+set}" = set; then :
4092  enableval=$enable_dependency_tracking;
4093 fi
4094
4095 if test "x$enable_dependency_tracking" != xno; then
4096  am_depcomp="$ac_aux_dir/depcomp"
4097  AMDEPBACKSLASH='\'
4098 fi
4099 if test "x$enable_dependency_tracking" != xno; then
4100  AMDEP_TRUE=
4101  AMDEP_FALSE='#'
4102 else
4103  AMDEP_TRUE='#'
4104  AMDEP_FALSE=
4105 fi
4106
4107
3960  
3961   depcc="$CC"   am_compiler_list=
3962  
# Line 4233 | Line 4085 | else
4085   fi
4086  
4087  
4088 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4089 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4090 + if test "${ac_cv_prog_cc_c99+set}" = set; then :
4091 +  $as_echo_n "(cached) " >&6
4092 + else
4093 +  ac_cv_prog_cc_c99=no
4094 + ac_save_CC=$CC
4095 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 + /* end confdefs.h.  */
4097 + #include <stdarg.h>
4098 + #include <stdbool.h>
4099 + #include <stdlib.h>
4100 + #include <wchar.h>
4101 + #include <stdio.h>
4102 +
4103 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4104 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4105 + #define showlist(...) puts (#__VA_ARGS__)
4106 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4107 + static void
4108 + test_varargs_macros (void)
4109 + {
4110 +  int x = 1234;
4111 +  int y = 5678;
4112 +  debug ("Flag");
4113 +  debug ("X = %d\n", x);
4114 +  showlist (The first, second, and third items.);
4115 +  report (x>y, "x is %d but y is %d", x, y);
4116 + }
4117 +
4118 + // Check long long types.
4119 + #define BIG64 18446744073709551615ull
4120 + #define BIG32 4294967295ul
4121 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4122 + #if !BIG_OK
4123 +  your preprocessor is broken;
4124 + #endif
4125 + #if BIG_OK
4126 + #else
4127 +  your preprocessor is broken;
4128 + #endif
4129 + static long long int bignum = -9223372036854775807LL;
4130 + static unsigned long long int ubignum = BIG64;
4131 +
4132 + struct incomplete_array
4133 + {
4134 +  int datasize;
4135 +  double data[];
4136 + };
4137 +
4138 + struct named_init {
4139 +  int number;
4140 +  const wchar_t *name;
4141 +  double average;
4142 + };
4143 +
4144 + typedef const char *ccp;
4145 +
4146 + static inline int
4147 + test_restrict (ccp restrict text)
4148 + {
4149 +  // See if C++-style comments work.
4150 +  // Iterate through items via the restricted pointer.
4151 +  // Also check for declarations in for loops.
4152 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4153 +    continue;
4154 +  return 0;
4155 + }
4156 +
4157 + // Check varargs and va_copy.
4158 + static void
4159 + test_varargs (const char *format, ...)
4160 + {
4161 +  va_list args;
4162 +  va_start (args, format);
4163 +  va_list args_copy;
4164 +  va_copy (args_copy, args);
4165 +
4166 +  const char *str;
4167 +  int number;
4168 +  float fnumber;
4169 +
4170 +  while (*format)
4171 +    {
4172 +      switch (*format++)
4173 +        {
4174 +        case 's': // string
4175 +          str = va_arg (args_copy, const char *);
4176 +          break;
4177 +        case 'd': // int
4178 +          number = va_arg (args_copy, int);
4179 +          break;
4180 +        case 'f': // float
4181 +          fnumber = va_arg (args_copy, double);
4182 +          break;
4183 +        default:
4184 +          break;
4185 +        }
4186 +    }
4187 +  va_end (args_copy);
4188 +  va_end (args);
4189 + }
4190 +
4191 + int
4192 + main ()
4193 + {
4194 +
4195 +  // Check bool.
4196 +  _Bool success = false;
4197 +
4198 +  // Check restrict.
4199 +  if (test_restrict ("String literal") == 0)
4200 +    success = true;
4201 +  char *restrict newvar = "Another string";
4202 +
4203 +  // Check varargs.
4204 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4205 +  test_varargs_macros ();
4206 +
4207 +  // Check flexible array members.
4208 +  struct incomplete_array *ia =
4209 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4210 +  ia->datasize = 10;
4211 +  for (int i = 0; i < ia->datasize; ++i)
4212 +    ia->data[i] = i * 1.234;
4213 +
4214 +  // Check named initializers.
4215 +  struct named_init ni = {
4216 +    .number = 34,
4217 +    .name = L"Test wide string",
4218 +    .average = 543.34343,
4219 +  };
4220 +
4221 +  ni.number = 58;
4222 +
4223 +  int dynamic_array[ni.number];
4224 +  dynamic_array[ni.number - 1] = 543;
4225 +
4226 +  // work around unused variable warnings
4227 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4228 +          || dynamic_array[ni.number - 1] != 543);
4229 +
4230 +  ;
4231 +  return 0;
4232 + }
4233 + _ACEOF
4234 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4235 + do
4236 +  CC="$ac_save_CC $ac_arg"
4237 +  if ac_fn_c_try_compile "$LINENO"; then :
4238 +  ac_cv_prog_cc_c99=$ac_arg
4239 + fi
4240 + rm -f core conftest.err conftest.$ac_objext
4241 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4242 + done
4243 + rm -f conftest.$ac_ext
4244 + CC=$ac_save_CC
4245 +
4246 + fi
4247 + # AC_CACHE_VAL
4248 + case "x$ac_cv_prog_cc_c99" in
4249 +  x)
4250 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4251 + $as_echo "none needed" >&6; } ;;
4252 +  xno)
4253 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4254 + $as_echo "unsupported" >&6; } ;;
4255 +  *)
4256 +    CC="$CC $ac_cv_prog_cc_c99"
4257 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4258 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4259 + esac
4260 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4261 +
4262 + fi
4263 +
4264 +
4265 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4266 +  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4267 + fi
4268   for ac_prog in 'bison -y' byacc
4269   do
4270    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 4439 | Line 4471 | if test "$LEX" = :; then
4471   fi
4472  
4473  
4474 + # Initializing libtool.
4475 +
4476 +
4477 +
4478 +
4479 +
4480 +
4481 +
4482  
4443 #ltdl stuff
4483   case `pwd` in
4484    *\ * | *\     *)
4485      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4449 | Line 4488 | esac
4488  
4489  
4490  
4491 < macro_version='2.2.6'
4492 < macro_revision='1.3012'
4491 > macro_version='2.2.6b'
4492 > macro_revision='1.3017'
4493  
4494  
4495  
# Line 5121 | Line 5160 | if test "${lt_cv_nm_interface+set}" = se
5160   else
5161    lt_cv_nm_interface="BSD nm"
5162    echo "int some_variable = 0;" > conftest.$ac_ext
5163 <  (eval echo "\"\$as_me:5124: $ac_compile\"" >&5)
5163 >  (eval echo "\"\$as_me:5163: $ac_compile\"" >&5)
5164    (eval "$ac_compile" 2>conftest.err)
5165    cat conftest.err >&5
5166 <  (eval echo "\"\$as_me:5127: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5166 >  (eval echo "\"\$as_me:5166: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5167    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5168    cat conftest.err >&5
5169 <  (eval echo "\"\$as_me:5130: output\"" >&5)
5169 >  (eval echo "\"\$as_me:5169: output\"" >&5)
5170    cat conftest.out >&5
5171    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5172      lt_cv_nm_interface="MS dumpbin"
# Line 6332 | Line 6371 | ia64-*-hpux*)
6371    ;;
6372   *-*-irix6*)
6373    # Find out which ABI we are using.
6374 <  echo '#line 6335 "configure"' > conftest.$ac_ext
6374 >  echo '#line 6374 "configure"' > conftest.$ac_ext
6375    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6376    (eval $ac_compile) 2>&5
6377    ac_status=$?
# Line 7856 | Line 7895 | else
7895     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7896     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7897     -e 's:$: $lt_compiler_flag:'`
7898 <   (eval echo "\"\$as_me:7859: $lt_compile\"" >&5)
7898 >   (eval echo "\"\$as_me:7898: $lt_compile\"" >&5)
7899     (eval "$lt_compile" 2>conftest.err)
7900     ac_status=$?
7901     cat conftest.err >&5
7902 <   echo "$as_me:7863: \$? = $ac_status" >&5
7902 >   echo "$as_me:7902: \$? = $ac_status" >&5
7903     if (exit $ac_status) && test -s "$ac_outfile"; then
7904       # The compiler can only warn and ignore the option if not recognized
7905       # So say no if there are warnings other than the usual output.
# Line 8195 | Line 8234 | else
8234     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8235     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8236     -e 's:$: $lt_compiler_flag:'`
8237 <   (eval echo "\"\$as_me:8198: $lt_compile\"" >&5)
8237 >   (eval echo "\"\$as_me:8237: $lt_compile\"" >&5)
8238     (eval "$lt_compile" 2>conftest.err)
8239     ac_status=$?
8240     cat conftest.err >&5
8241 <   echo "$as_me:8202: \$? = $ac_status" >&5
8241 >   echo "$as_me:8241: \$? = $ac_status" >&5
8242     if (exit $ac_status) && test -s "$ac_outfile"; then
8243       # The compiler can only warn and ignore the option if not recognized
8244       # So say no if there are warnings other than the usual output.
# Line 8300 | Line 8339 | else
8339     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8340     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8341     -e 's:$: $lt_compiler_flag:'`
8342 <   (eval echo "\"\$as_me:8303: $lt_compile\"" >&5)
8342 >   (eval echo "\"\$as_me:8342: $lt_compile\"" >&5)
8343     (eval "$lt_compile" 2>out/conftest.err)
8344     ac_status=$?
8345     cat out/conftest.err >&5
8346 <   echo "$as_me:8307: \$? = $ac_status" >&5
8346 >   echo "$as_me:8346: \$? = $ac_status" >&5
8347     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8348     then
8349       # The compiler can only warn and ignore the option if not recognized
# Line 8355 | Line 8394 | else
8394     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8395     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8396     -e 's:$: $lt_compiler_flag:'`
8397 <   (eval echo "\"\$as_me:8358: $lt_compile\"" >&5)
8397 >   (eval echo "\"\$as_me:8397: $lt_compile\"" >&5)
8398     (eval "$lt_compile" 2>out/conftest.err)
8399     ac_status=$?
8400     cat out/conftest.err >&5
8401 <   echo "$as_me:8362: \$? = $ac_status" >&5
8401 >   echo "$as_me:8401: \$? = $ac_status" >&5
8402     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8403     then
8404       # The compiler can only warn and ignore the option if not recognized
# Line 8831 | Line 8870 | _LT_EOF
8870          if test "$aix_use_runtimelinking" = yes; then
8871            shared_flag="$shared_flag "'${wl}-G'
8872          fi
8834        link_all_deplibs=no
8873        else
8874          # not using gcc
8875          if test "$host_cpu" = ia64; then
# Line 10088 | Line 10126 | rm -f core conftest.err conftest.$ac_obj
10126    # before this can be enabled.
10127    hardcode_into_libs=yes
10128  
10091  # find out which ABI we are using
10092  libsuff=
10093  case "$host_cpu" in
10094  x86_64*|s390x*|powerpc64*)
10095    echo '#line 10095 "configure"' > conftest.$ac_ext
10096    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10097  (eval $ac_compile) 2>&5
10098  ac_status=$?
10099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10100  test $ac_status = 0; }; then
10101      case `/usr/bin/file conftest.$ac_objext` in
10102      *64-bit*)
10103        libsuff=64
10104        ;;
10105      esac
10106    fi
10107    rm -rf conftest*
10108    ;;
10109  esac
10110
10111  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10112
10129    # Append ld.so.conf contents to the search path
10130    if test -f /etc/ld.so.conf; then
10131      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' ' '`
10132 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10132 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10133    fi
10134  
10135    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10745 | Line 10761 | else
10761    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10762    lt_status=$lt_dlunknown
10763    cat > conftest.$ac_ext <<_LT_EOF
10764 < #line 10748 "configure"
10764 > #line 10764 "configure"
10765   #include "confdefs.h"
10766  
10767   #if HAVE_DLFCN_H
# Line 10841 | Line 10857 | else
10857    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10858    lt_status=$lt_dlunknown
10859    cat > conftest.$ac_ext <<_LT_EOF
10860 < #line 10844 "configure"
10860 > #line 10860 "configure"
10861   #include "confdefs.h"
10862  
10863   #if HAVE_DLFCN_H
# Line 11513 | Line 11529 | else
11529    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11530    lt_status=$lt_dlunknown
11531    cat > conftest.$ac_ext <<_LT_EOF
11532 < #line 11516 "configure"
11532 > #line 11532 "configure"
11533   #include "confdefs.h"
11534  
11535   #if HAVE_DLFCN_H
# Line 11834 | Line 11850 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
11850  
11851   fi
11852  
11837
11838
11853   # Set options
11854  
11855  
# Line 11848 | Line 11862 | fi
11862  
11863  
11864  
11851
11865   # Check whether --with-included_ltdl was given.
11866   if test "${with_included_ltdl+set}" = set; then :
11867    withval=$with_included_ltdl;
# Line 11922 | Line 11935 | fi
11935  
11936  
11937  
11925
11926
11927
11928
11929
11938   # Check whether --with-ltdl_include was given.
11939   if test "${with_ltdl_include+set}" = set; then :
11940    withval=$with_ltdl_include;
# Line 12040 | Line 12048 | fi
12048  
12049  
12050  
12043    subdirs="$subdirs libltdl"
12044
12045
12051  
12052  
12053  
# Line 12128 | Line 12133 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
12133  
12134   LIBTOOL="$LIBTOOL --silent"
12135  
12131
12136   # Checks for libraries.
12137  
12138    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
# Line 12272 | Line 12276 | fi
12276  
12277  
12278  
12275
12279   # Checks for typedefs, structures, and compiler characteristics.
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12278 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12279 if test "${ac_cv_c_const+set}" = set; then :
12280  $as_echo_n "(cached) " >&6
12281 else
12282  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h.  */
12284
12285 int
12286 main ()
12287 {
12288 /* FIXME: Include the comments suggested by Paul. */
12289 #ifndef __cplusplus
12290  /* Ultrix mips cc rejects this.  */
12291  typedef int charset[2];
12292  const charset cs;
12293  /* SunOS 4.1.1 cc rejects this.  */
12294  char const *const *pcpcc;
12295  char **ppc;
12296  /* NEC SVR4.0.2 mips cc rejects this.  */
12297  struct point {int x, y;};
12298  static struct point const zero = {0,0};
12299  /* AIX XL C 1.02.0.0 rejects this.
12300     It does not let you subtract one const X* pointer from another in
12301     an arm of an if-expression whose if-part is not a constant
12302     expression */
12303  const char *g = "string";
12304  pcpcc = &g + (g ? g-g : 0);
12305  /* HPUX 7.0 cc rejects these. */
12306  ++pcpcc;
12307  ppc = (char**) pcpcc;
12308  pcpcc = (char const *const *) ppc;
12309  { /* SCO 3.2v4 cc rejects this.  */
12310    char *t;
12311    char const *s = 0 ? (char *) 0 : (char const *) 0;
12312
12313    *t++ = 0;
12314    if (s) return 0;
12315  }
12316  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12317    int x[] = {25, 17};
12318    const int *foo = &x[0];
12319    ++foo;
12320  }
12321  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12322    typedef const int *iptr;
12323    iptr p = 0;
12324    ++p;
12325  }
12326  { /* AIX XL C 1.02.0.0 rejects this saying
12327       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12328    struct s { int j; const int *ap[3]; };
12329    struct s *b; b->j = 5;
12330  }
12331  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12332    const int foo = 10;
12333    if (!foo) return 0;
12334  }
12335  return !cs[0] && !zero.x;
12336 #endif
12337
12338  ;
12339  return 0;
12340 }
12341 _ACEOF
12342 if ac_fn_c_try_compile "$LINENO"; then :
12343  ac_cv_c_const=yes
12344 else
12345  ac_cv_c_const=no
12346 fi
12347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12348 fi
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12350 $as_echo "$ac_cv_c_const" >&6; }
12351 if test $ac_cv_c_const = no; then
12352
12353 $as_echo "#define const /**/" >>confdefs.h
12354
12355 fi
12356
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12358 $as_echo_n "checking for inline... " >&6; }
12359 if test "${ac_cv_c_inline+set}" = set; then :
12360  $as_echo_n "(cached) " >&6
12361 else
12362  ac_cv_c_inline=no
12363 for ac_kw in inline __inline__ __inline; do
12364  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h.  */
12366 #ifndef __cplusplus
12367 typedef int foo_t;
12368 static $ac_kw foo_t static_foo () {return 0; }
12369 $ac_kw foo_t foo () {return 0; }
12370 #endif
12371
12372 _ACEOF
12373 if ac_fn_c_try_compile "$LINENO"; then :
12374  ac_cv_c_inline=$ac_kw
12375 fi
12376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12377  test "$ac_cv_c_inline" != no && break
12378 done
12379
12380 fi
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12382 $as_echo "$ac_cv_c_inline" >&6; }
12383
12384 case $ac_cv_c_inline in
12385  inline | yes) ;;
12386  *)
12387    case $ac_cv_c_inline in
12388      no) ac_val=;;
12389      *) ac_val=$ac_cv_c_inline;;
12390    esac
12391    cat >>confdefs.h <<_ACEOF
12392 #ifndef __cplusplus
12393 #define inline $ac_val
12394 #endif
12395 _ACEOF
12396    ;;
12397 esac
12398
12280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12281   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12282   if test "${ac_cv_c_bigendian+set}" = set; then :
# Line 12621 | Line 12502 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12502   esac
12503  
12504  
12624 # The cast to long int works around a bug in the HP C Compiler
12625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12627 # This bug is HP SR number 8606223364.
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12629 $as_echo_n "checking size of int64_t... " >&6; }
12630 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12631  $as_echo_n "(cached) " >&6
12632 else
12633  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12634
12635 else
12636  if test "$ac_cv_type_int64_t" = yes; then
12637     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 { as_fn_set_status 77
12640 as_fn_error "cannot compute sizeof (int64_t)
12641 See \`config.log' for more details." "$LINENO" 5; }; }
12642   else
12643     ac_cv_sizeof_int64_t=0
12644   fi
12645 fi
12646
12647 fi
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12649 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12650
12651
12652
12653 cat >>confdefs.h <<_ACEOF
12654 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12655 _ACEOF
12656
12657
12658 # The cast to long int works around a bug in the HP C Compiler
12659 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12660 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12661 # This bug is HP SR number 8606223364.
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12663 $as_echo_n "checking size of long long... " >&6; }
12664 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12665  $as_echo_n "(cached) " >&6
12666 else
12667  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12668
12669 else
12670  if test "$ac_cv_type_long_long" = yes; then
12671     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12673 { as_fn_set_status 77
12674 as_fn_error "cannot compute sizeof (long long)
12675 See \`config.log' for more details." "$LINENO" 5; }; }
12676   else
12677     ac_cv_sizeof_long_long=0
12678   fi
12679 fi
12680
12681 fi
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12683 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12684
12685
12686
12687 cat >>confdefs.h <<_ACEOF
12688 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12689 _ACEOF
12690
12691
12692
12693 if test "$ac_cv_sizeof_int64_t" = 8; then
12694  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12695 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12696
12697 fi
12698
12699  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12700 if test "x$ac_cv_type_int64_t" = x""yes; then :
12701
12702 fi
12703
12704 elif test "$ac_cv_sizeof_long_long" = 8; then
12705  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12706 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12707
12708 else
12709
12710 cat >>confdefs.h <<_ACEOF
12711 #define uint64_t unsigned long long
12712 _ACEOF
12713
12714 fi
12715
12716  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12717 if test "x$ac_cv_type_int64_t" = x""yes; then :
12718
12719 else
12720
12721 cat >>confdefs.h <<_ACEOF
12722 #define int64_t long long
12723 _ACEOF
12724
12725 fi
12726
12727 else
12728  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12729 fi
12730
12731
12505   # Checks for library functions.
12506  
12507  
# Line 12758 | Line 12531 | done
12531  
12532  
12533  
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12534   # Checks for header files.
12535  
12536  
# Line 12813 | Line 12576 | done
12576  
12577  
12578  
12579 <
12817 <
12818 <
12819 <
12579 > # check for /dev/null so we can use it to hold evil fd's
12580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12581   $as_echo_n "checking for /dev/null... " >&6; }
12582 < if test -c /dev/null ; then
12582 > if test -c /dev/null; then :
12583 >
12584  
12585   $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12586  
# Line 12827 | Line 12588 | $as_echo "#define PATH_DEVNULL \"/dev/nu
12588   $as_echo "yes" >&6; }
12589   else
12590  
12591 +
12592   $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12593  
12594    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
# Line 12907 | Line 12669 | else
12669   fi
12670  
12671  
12672 < if test "$zlib" = yes; then
12672 > if test "$zlib" = "yes"; then :
12673 >
12674    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12675   if test "x$ac_cv_header_zlib_h" = x""yes; then :
12676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
# Line 12963 | Line 12726 | else
12726   fi
12727  
12728  
12729 +
12730 + fi
12731 +
12732 +
12733 + # Check whether --with-libpcre-path was given.
12734 + if test "${with_libpcre_path+set}" = set; then :
12735 +  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12736 + fi
12737 +
12738 +
12739 + # Check whether --enable-libpcre was given.
12740 + if test "${enable_libpcre+set}" = set; then :
12741 +  enableval=$enable_libpcre; libpcre=$enableval
12742 + else
12743 +  libpcre=yes
12744 + fi
12745 +
12746 +
12747 + if test "$libpcre" = "yes"; then :
12748 +
12749 +  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12750 + if test "x$ac_cv_header_pcre_h" = x""yes; then :
12751 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12752 + $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12753 + if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12754 +  $as_echo_n "(cached) " >&6
12755 + else
12756 +  ac_check_lib_save_LIBS=$LIBS
12757 + LIBS="-lpcre  $LIBS"
12758 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 + /* end confdefs.h.  */
12760 +
12761 + /* Override any GCC internal prototype to avoid an error.
12762 +   Use char because int might match the return type of a GCC
12763 +   builtin and then its argument prototype would still apply.  */
12764 + #ifdef __cplusplus
12765 + extern "C"
12766 + #endif
12767 + char pcre_study ();
12768 + int
12769 + main ()
12770 + {
12771 + return pcre_study ();
12772 +  ;
12773 +  return 0;
12774 + }
12775 + _ACEOF
12776 + if ac_fn_c_try_link "$LINENO"; then :
12777 +  ac_cv_lib_pcre_pcre_study=yes
12778 + else
12779 +  ac_cv_lib_pcre_pcre_study=no
12780 + fi
12781 + rm -f core conftest.err conftest.$ac_objext \
12782 +    conftest$ac_exeext conftest.$ac_ext
12783 + LIBS=$ac_check_lib_save_LIBS
12784   fi
12785 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12786 + $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12787 + if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12788 +
12789 +      LIBS="-lpcre $LIBS"
12790 +
12791 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12792 +
12793 +
12794 + else
12795 +  libpcre=no
12796 + fi
12797 +
12798 +
12799 + else
12800 +  libpcre=no
12801 + fi
12802 +
12803 +
12804 +
12805 + fi
12806 + if test "$libpcre" = yes; then
12807 +  ENABLE_PCRE_TRUE=
12808 +  ENABLE_PCRE_FALSE='#'
12809 + else
12810 +  ENABLE_PCRE_TRUE='#'
12811 +  ENABLE_PCRE_FALSE=
12812 + fi
12813 +
12814  
12815  
12816   # Check whether --enable-openssl was given.
# Line 13013 | Line 12860 | $as_echo "$cf_openssl_basedir" >&6; }
12860   $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12861  
12862    else
12863 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
12864 < $as_echo "not found.  Please check your path." >&6; }
12863 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12864 > $as_echo "not found. Please check your path." >&6; }
12865      cf_enable_openssl="no"
12866    fi
12867    unset cf_openssl_basedir
# Line 13022 | Line 12869 | else
12869      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12870   $as_echo "disabled" >&6; }
12871   fi
12872 +
12873 + if test "$cf_enable_openssl" != "no"; then :
12874 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
12875 + $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
12876 +  if test "$cross_compiling" = yes; then :
12877 +  cf_openssl_version_ok=no
12878 + else
12879 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 + /* end confdefs.h.  */
12881 +
12882 +    #include <openssl/opensslv.h>
12883 +    #include <stdlib.h>
12884 + int
12885 + main ()
12886 + {
12887 + exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
12888 +  ;
12889 +  return 0;
12890 + }
12891 + _ACEOF
12892 + if ac_fn_c_try_run "$LINENO"; then :
12893 +  cf_openssl_version_ok=yes
12894 + else
12895 +  cf_openssl_version_ok=no
12896 + fi
12897 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12898 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
12899 + fi
12900 +
12901 +
12902 +  if test "$cf_openssl_version_ok" = "yes"; then :
12903 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12904 + $as_echo "found" >&6; }
12905 +
12906 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12907 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12908 + if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
12909 +  $as_echo_n "(cached) " >&6
12910 + else
12911 +  ac_check_lib_save_LIBS=$LIBS
12912 + LIBS="-lcrypto  $LIBS"
12913 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 + /* end confdefs.h.  */
12915 +
12916 + /* Override any GCC internal prototype to avoid an error.
12917 +   Use char because int might match the return type of a GCC
12918 +   builtin and then its argument prototype would still apply.  */
12919 + #ifdef __cplusplus
12920 + extern "C"
12921 + #endif
12922 + char RSA_free ();
12923 + int
12924 + main ()
12925 + {
12926 + return RSA_free ();
12927 +  ;
12928 +  return 0;
12929 + }
12930 + _ACEOF
12931 + if ac_fn_c_try_link "$LINENO"; then :
12932 +  ac_cv_lib_crypto_RSA_free=yes
12933 + else
12934 +  ac_cv_lib_crypto_RSA_free=no
12935 + fi
12936 + rm -f core conftest.err conftest.$ac_objext \
12937 +    conftest$ac_exeext conftest.$ac_ext
12938 + LIBS=$ac_check_lib_save_LIBS
12939 + fi
12940 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12941 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12942 + if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12943 +  cat >>confdefs.h <<_ACEOF
12944 + #define HAVE_LIBCRYPTO 1
12945 + _ACEOF
12946 +
12947 +  LIBS="-lcrypto $LIBS"
12948 +
12949 + fi
12950 +
12951 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12952 +  for ac_func in EVP_bf_cfb           \
12953 +                      EVP_cast5_cfb        \
12954 +                      EVP_idea_cfb         \
12955 +                      EVP_rc5_32_12_16_cfb \
12956 +                      EVP_des_ede3_cfb     \
12957 +                      EVP_des_cfb
12958 + do :
12959 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12960 + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12961 + eval as_val=\$$as_ac_var
12962 +   if test "x$as_val" = x""yes; then :
12963 +  cat >>confdefs.h <<_ACEOF
12964 + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12965 + _ACEOF
12966 +
12967 + fi
12968 + done
12969 +
12970 + fi
12971 +
12972 + else
12973 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
12974 + $as_echo "no - OpenSSL support disabled" >&6; }
12975 +    cf_enable_openssl="no"
12976 + fi
12977 + fi
12978 +
12979   if test "$cf_enable_openssl" = yes; then
12980    ENABLE_SSL_TRUE=
12981    ENABLE_SSL_FALSE='#'
# Line 13039 | Line 12993 | else
12993    assert=no
12994   fi
12995  
12996 < if test "$assert" = no; then
12996 >
12997 > if test "$assert" = "no"; then :
12998  
12999   $as_echo "#define NDEBUG 1" >>confdefs.h
13000  
# Line 13054 | Line 13009 | else
13009   fi
13010  
13011  
13012 < if test "$small_net" = yes; then
13012 > if test "$small_net" = "yes"; then :
13013 >
13014  
13015   $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13016  
# Line 13079 | Line 13035 | $as_echo "#define TOPIC_HEAP_SIZE 256" >
13035  
13036   $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13037  
13038 +
13039 + $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13040 +
13041 +
13042 + $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13043 +
13044   else
13045  
13046 +
13047 +
13048   $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13049  
13050  
# Line 13104 | Line 13068 | $as_echo "#define TOPIC_HEAP_SIZE 1024"
13068  
13069   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13070  
13071 +
13072 + $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13073 +
13074 +
13075 + $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13076 +
13077   fi
13078  
13079  
# Line 13517 | Line 13487 | fi
13487  
13488  
13489   cat >>confdefs.h <<_ACEOF
13490 < #define TOPICLEN ($topiclen+1)
13490 > #define TOPICLEN ($topiclen)
13491   _ACEOF
13492  
13493  
# Line 13553 | Line 13523 | $as_echo "#define EFNET 1" >>confdefs.h
13523   $as_echo "#define TS5_ONLY 1" >>confdefs.h
13524  
13525          else
13556
13557 $as_echo "#define INVARIANTS 1" >>confdefs.h
13558
13526                  use_efnet="no"
13527    fi
13528     if test "$use_efnet" = "yes"; then
# Line 13593 | Line 13560 | fi
13560  
13561   $as_echo "#define DEBUG 1" >>confdefs.h
13562  
13563 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13563 >    CFLAGS="-Wall -g -O0"
13564    else
13565  
13566   $as_echo "#define NDEBUG 1" >>confdefs.h
# Line 13609 | Line 13576 | else
13576   fi
13577  
13578    if test "$warnings" = "yes" ; then
13579 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13579 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13580    fi
13581  
13582  
# Line 13739 | Line 13706 | _ACEOF
13706    test "$exec_prefix_NONE" && exec_prefix=NONE
13707  
13708  
13709 < 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"
13709 > ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
13710  
13711  
13712   cat >confcache <<\_ACEOF
# Line 13885 | Line 13852 | LT_CONFIG_H=config.h
13852  
13853  
13854  
13855 + if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13856 +  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13857 + Usually this means the macro was only invoked conditionally." "$LINENO" 5
13858 + fi
13859   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13860    as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13861   Usually this means the macro was only invoked conditionally." "$LINENO" 5
# Line 14301 | Line 14272 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
14272   # report actual input values of CONFIG_FILES etc. instead of their
14273   # values after options handling.
14274   ac_log="
14275 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
14276 < generated by GNU Autoconf 2.64.  Invocation command line was
14275 > This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
14276 > generated by GNU Autoconf 2.65.  Invocation command line was
14277  
14278    CONFIG_FILES    = $CONFIG_FILES
14279    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14342 | Line 14313 | Usage: $0 [OPTION]... [TAG]...
14313  
14314    -h, --help       print this help, then exit
14315    -V, --version    print version number and configuration settings, then exit
14316 +      --config     print configuration, then exit
14317    -q, --quiet, --silent
14318                     do not print progress messages
14319    -d, --debug      don't remove temporary files
# Line 14360 | Line 14332 | $config_headers
14332   Configuration commands:
14333   $config_commands
14334  
14335 < Report bugs to the package provider."
14335 > Report bugs to <bugs@ircd-hybrid.org>."
14336  
14337   _ACEOF
14338   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14339 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14340   ac_cs_version="\\
14341 < ircd-hybrid config.status 7.2.4
14342 < configured by $0, generated by GNU Autoconf 2.64,
14343 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14341 > ircd-hybrid config.status 7.3-rc1
14342 > configured by $0, generated by GNU Autoconf 2.65,
14343 >  with options \\"\$ac_cs_config\\"
14344  
14345   Copyright (C) 2009 Free Software Foundation, Inc.
14346   This config.status script is free software; the Free Software Foundation
# Line 14405 | Line 14378 | do
14378      ac_cs_recheck=: ;;
14379    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14380      $as_echo "$ac_cs_version"; exit ;;
14381 +  --config | --confi | --conf | --con | --co | --c )
14382 +    $as_echo "$ac_cs_config"; exit ;;
14383    --debug | --debu | --deb | --de | --d | -d )
14384      debug=: ;;
14385    --file | --fil | --fi | --f )
# Line 14746 | Line 14721 | do
14721      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14722      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14723      "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14749    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14750    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14751    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14724      "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14725      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14726      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
14727      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14728 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
14729      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
14730      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
14731      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14760 | Line 14733 | do
14733      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14734      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14735      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14763    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14764    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
14736      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14737  
14738    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 14866 | Line 14837 | s/'"$ac_delim"'$//
14837   t delim
14838   :nl
14839   h
14840 < s/\(.\{148\}\).*/\1/
14840 > s/\(.\{148\}\)..*/\1/
14841   t more1
14842   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14843   p
# Line 14880 | Line 14851 | s/.\{148\}//
14851   t nl
14852   :delim
14853   h
14854 < s/\(.\{148\}\).*/\1/
14854 > s/\(.\{148\}\)..*/\1/
14855   t more2
14856   s/["\\]/\\&/g; s/^/"/; s/$/"/
14857   p
# Line 16110 | Line 16081 | if test "$no_create" != yes; then
16081    # would make configure fail if this is the last instruction.
16082    $ac_cs_success || as_fn_exit $?
16083   fi
16113
16114 #
16115 # CONFIG_SUBDIRS section.
16116 #
16117 if test "$no_recursion" != yes; then
16118
16119  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16120  # so they do not pile up.
16121  ac_sub_configure_args=
16122  ac_prev=
16123  eval "set x $ac_configure_args"
16124  shift
16125  for ac_arg
16126  do
16127    if test -n "$ac_prev"; then
16128      ac_prev=
16129      continue
16130    fi
16131    case $ac_arg in
16132    -cache-file | --cache-file | --cache-fil | --cache-fi \
16133    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16134      ac_prev=cache_file ;;
16135    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16136    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16137    | --c=*)
16138      ;;
16139    --config-cache | -C)
16140      ;;
16141    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16142      ac_prev=srcdir ;;
16143    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16144      ;;
16145    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16146      ac_prev=prefix ;;
16147    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16148      ;;
16149    --disable-option-checking)
16150      ;;
16151    *)
16152      case $ac_arg in
16153      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154      esac
16155      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16156    esac
16157  done
16158
16159  # Always prepend --prefix to ensure using the same prefix
16160  # in subdir configurations.
16161  ac_arg="--prefix=$prefix"
16162  case $ac_arg in
16163  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16164  esac
16165  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16166
16167  # Pass --silent
16168  if test "$silent" = yes; then
16169    ac_sub_configure_args="--silent $ac_sub_configure_args"
16170  fi
16171
16172  # Always prepend --disable-option-checking to silence warnings, since
16173  # different subdirs can have different --enable and --with options.
16174  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16175
16176  ac_popdir=`pwd`
16177  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16178
16179    # Do not complain, so a configure script can configure whichever
16180    # parts of a large source tree are present.
16181    test -d "$srcdir/$ac_dir" || continue
16182
16183    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16184    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16185    $as_echo "$ac_msg" >&6
16186    as_dir="$ac_dir"; as_fn_mkdir_p
16187    ac_builddir=.
16188
16189 case "$ac_dir" in
16190 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16191 *)
16192  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16193  # A ".." for each directory in $ac_dir_suffix.
16194  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16195  case $ac_top_builddir_sub in
16196  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16197  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16198  esac ;;
16199 esac
16200 ac_abs_top_builddir=$ac_pwd
16201 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16202 # for backward compatibility:
16203 ac_top_builddir=$ac_top_build_prefix
16204
16205 case $srcdir in
16206  .)  # We are building in place.
16207    ac_srcdir=.
16208    ac_top_srcdir=$ac_top_builddir_sub
16209    ac_abs_top_srcdir=$ac_pwd ;;
16210  [\\/]* | ?:[\\/]* )  # Absolute name.
16211    ac_srcdir=$srcdir$ac_dir_suffix;
16212    ac_top_srcdir=$srcdir
16213    ac_abs_top_srcdir=$srcdir ;;
16214  *) # Relative name.
16215    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16216    ac_top_srcdir=$ac_top_build_prefix$srcdir
16217    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16218 esac
16219 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16220
16221
16222    cd "$ac_dir"
16223
16224    # Check for guested configure; otherwise get Cygnus style configure.
16225    if test -f "$ac_srcdir/configure.gnu"; then
16226      ac_sub_configure=$ac_srcdir/configure.gnu
16227    elif test -f "$ac_srcdir/configure"; then
16228      ac_sub_configure=$ac_srcdir/configure
16229    elif test -f "$ac_srcdir/configure.in"; then
16230      # This should be Cygnus configure.
16231      ac_sub_configure=$ac_aux_dir/configure
16232    else
16233      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16234 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16235      ac_sub_configure=
16236    fi
16237
16238    # The recursion is here.
16239    if test -n "$ac_sub_configure"; then
16240      # Make the cache file name correct relative to the subdirectory.
16241      case $cache_file in
16242      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16243      *) # Relative name.
16244        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16245      esac
16246
16247      { $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
16248 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16249      # The eval makes quoting arguments work.
16250      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16251           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16252        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16253    fi
16254
16255    cd "$ac_popdir"
16256  done
16257 fi
16084   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16085    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16086   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

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