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 967 by michael, Sun Aug 2 18:05:28 2009 UTC vs.
Revision 1017 by michael, Tue Oct 27 22:22:38 2009 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 1015 2009-10-25 00:08:06Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
5   #
# Line 760 | Line 760 | EFNET_FALSE
760   EFNET_TRUE
761   ENABLE_SSL_FALSE
762   ENABLE_SSL_TRUE
763 < HAVE_CRYPT_FALSE
764 < HAVE_CRYPT_TRUE
763 > ENABLE_PCRE_FALSE
764 > ENABLE_PCRE_TRUE
765   LTDLOPEN
766   LT_CONFIG_H
767   subdirs
# Line 899 | Line 899 | ac_user_opts='
899   enable_option_checking
900   enable_maintainer_mode
901   enable_dependency_tracking
902 enable_shared
902   enable_static
903 + enable_shared
904   with_pic
905   enable_fast_install
906   with_gnu_ld
# Line 911 | Line 911 | with_ltdl_lib
911   enable_ltdl_install
912   with_zlib_path
913   enable_zlib
914 + with_libpcre_path
915 + enable_libpcre
916   enable_openssl
917   enable_assert
918   enable_small_net
# Line 1563 | Line 1565 | Optional Features:
1565                            (and sometimes confusing) to the casual installer
1566    --disable-dependency-tracking  speeds up one-time build
1567    --enable-dependency-tracking   do not reject slow dependency extractors
1568 +  --enable-static[=PKGS]  build static libraries [default=no]
1569    --enable-shared[=PKGS]  build shared libraries [default=yes]
1567  --enable-static[=PKGS]  build static libraries [default=yes]
1570    --enable-fast-install[=PKGS]
1571                            optimize for fast installation [default=yes]
1572    --disable-libtool-lock  avoid locking (might break parallel builds)
1573    --enable-ltdl-install   install libltdl
1574    --disable-zlib          Disable ziplinks support
1575 +  --disable-libpcre       Disable PCRE support
1576    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1577    --disable-openssl            Disable OpenSSL support.
1578    --enable-assert         Enable assert() statements
# Line 1598 | Line 1601 | Optional Packages:
1601    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1602    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1603    --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1604 +  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1605    --with-nicklen=<value>  Set nickname length (default 9).
1606    --with-topiclen=<value> Set topic length (default 160).
1607    --with-syslog-facility=LOG
# Line 2110 | Line 2114 | $as_echo "$ac_res" >&6; }
2114  
2115   } # ac_fn_c_check_member
2116  
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
2117   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2118   # -------------------------------------------------------
2119   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2657 | Line 2483 | $as_echo "$as_me: creating cache $cache_
2483    >$cache_file
2484   fi
2485  
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"
2486   as_fn_append ac_func_list " mmap"
2487   as_fn_append ac_func_list " strtok_r"
2488   as_fn_append ac_func_list " usleep"
2489   as_fn_append ac_func_list " strlcat"
2490   as_fn_append ac_func_list " strlcpy"
2669 as_fn_append ac_func_list " basename"
2491   as_fn_append ac_header_list " crypt.h"
2492   as_fn_append ac_header_list " inttypes.h"
2493   as_fn_append ac_header_list " stdint.h"
# Line 2674 | Line 2495 | as_fn_append ac_header_list " sys/resour
2495   as_fn_append ac_header_list " sys/param.h"
2496   as_fn_append ac_header_list " errno.h"
2497   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"
2498   as_fn_append ac_header_list " types.h"
2499   as_fn_append ac_header_list " socket.h"
2500   as_fn_append ac_header_list " sys/wait.h"
# Line 3277 | Line 3096 | ac_config_headers="$ac_config_headers co
3096  
3097  
3098  
3280
3099   # Checks for programs.
3100 + DEPDIR="${am__leading_dot}deps"
3101 +
3102 + ac_config_commands="$ac_config_commands depfiles"
3103 +
3104 +
3105 + am_make=${MAKE-make}
3106 + cat > confinc << 'END'
3107 + am__doit:
3108 +        @echo this is the am__doit target
3109 + .PHONY: am__doit
3110 + END
3111 + # If we don't find an include directive, just comment out the code.
3112 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3113 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3114 + am__include="#"
3115 + am__quote=
3116 + _am_result=none
3117 + # First try GNU make style include.
3118 + echo "include confinc" > confmf
3119 + # Ignore all kinds of additional output from `make'.
3120 + case `$am_make -s -f confmf 2> /dev/null` in #(
3121 + *the\ am__doit\ target*)
3122 +  am__include=include
3123 +  am__quote=
3124 +  _am_result=GNU
3125 +  ;;
3126 + esac
3127 + # Now try BSD make style include.
3128 + if test "$am__include" = "#"; then
3129 +   echo '.include "confinc"' > confmf
3130 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3131 +   *the\ am__doit\ target*)
3132 +     am__include=.include
3133 +     am__quote="\""
3134 +     _am_result=BSD
3135 +     ;;
3136 +   esac
3137 + fi
3138 +
3139 +
3140 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3141 + $as_echo "$_am_result" >&6; }
3142 + rm -f confinc confmf
3143 +
3144 + # Check whether --enable-dependency-tracking was given.
3145 + if test "${enable_dependency_tracking+set}" = set; then :
3146 +  enableval=$enable_dependency_tracking;
3147 + fi
3148 +
3149 + if test "x$enable_dependency_tracking" != xno; then
3150 +  am_depcomp="$ac_aux_dir/depcomp"
3151 +  AMDEPBACKSLASH='\'
3152 + fi
3153 + if test "x$enable_dependency_tracking" != xno; then
3154 +  AMDEP_TRUE=
3155 +  AMDEP_FALSE='#'
3156 + else
3157 +  AMDEP_TRUE='#'
3158 +  AMDEP_FALSE=
3159 + fi
3160 +
3161 +
3162   ac_ext=c
3163   ac_cpp='$CPP $CPPFLAGS'
3164   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4045 | Line 3925 | ac_cpp='$CPP $CPPFLAGS'
3925   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927   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
3928  
3929   depcc="$CC"   am_compiler_list=
3930  
# Line 4235 | Line 4053 | else
4053   fi
4054  
4055  
4056 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4057 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4058 + if test "${ac_cv_prog_cc_c99+set}" = set; then :
4059 +  $as_echo_n "(cached) " >&6
4060 + else
4061 +  ac_cv_prog_cc_c99=no
4062 + ac_save_CC=$CC
4063 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 + /* end confdefs.h.  */
4065 + #include <stdarg.h>
4066 + #include <stdbool.h>
4067 + #include <stdlib.h>
4068 + #include <wchar.h>
4069 + #include <stdio.h>
4070 +
4071 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4072 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4073 + #define showlist(...) puts (#__VA_ARGS__)
4074 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4075 + static void
4076 + test_varargs_macros (void)
4077 + {
4078 +  int x = 1234;
4079 +  int y = 5678;
4080 +  debug ("Flag");
4081 +  debug ("X = %d\n", x);
4082 +  showlist (The first, second, and third items.);
4083 +  report (x>y, "x is %d but y is %d", x, y);
4084 + }
4085 +
4086 + // Check long long types.
4087 + #define BIG64 18446744073709551615ull
4088 + #define BIG32 4294967295ul
4089 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4090 + #if !BIG_OK
4091 +  your preprocessor is broken;
4092 + #endif
4093 + #if BIG_OK
4094 + #else
4095 +  your preprocessor is broken;
4096 + #endif
4097 + static long long int bignum = -9223372036854775807LL;
4098 + static unsigned long long int ubignum = BIG64;
4099 +
4100 + struct incomplete_array
4101 + {
4102 +  int datasize;
4103 +  double data[];
4104 + };
4105 +
4106 + struct named_init {
4107 +  int number;
4108 +  const wchar_t *name;
4109 +  double average;
4110 + };
4111 +
4112 + typedef const char *ccp;
4113 +
4114 + static inline int
4115 + test_restrict (ccp restrict text)
4116 + {
4117 +  // See if C++-style comments work.
4118 +  // Iterate through items via the restricted pointer.
4119 +  // Also check for declarations in for loops.
4120 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4121 +    continue;
4122 +  return 0;
4123 + }
4124 +
4125 + // Check varargs and va_copy.
4126 + static void
4127 + test_varargs (const char *format, ...)
4128 + {
4129 +  va_list args;
4130 +  va_start (args, format);
4131 +  va_list args_copy;
4132 +  va_copy (args_copy, args);
4133 +
4134 +  const char *str;
4135 +  int number;
4136 +  float fnumber;
4137 +
4138 +  while (*format)
4139 +    {
4140 +      switch (*format++)
4141 +        {
4142 +        case 's': // string
4143 +          str = va_arg (args_copy, const char *);
4144 +          break;
4145 +        case 'd': // int
4146 +          number = va_arg (args_copy, int);
4147 +          break;
4148 +        case 'f': // float
4149 +          fnumber = va_arg (args_copy, double);
4150 +          break;
4151 +        default:
4152 +          break;
4153 +        }
4154 +    }
4155 +  va_end (args_copy);
4156 +  va_end (args);
4157 + }
4158 +
4159 + int
4160 + main ()
4161 + {
4162 +
4163 +  // Check bool.
4164 +  _Bool success = false;
4165 +
4166 +  // Check restrict.
4167 +  if (test_restrict ("String literal") == 0)
4168 +    success = true;
4169 +  char *restrict newvar = "Another string";
4170 +
4171 +  // Check varargs.
4172 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4173 +  test_varargs_macros ();
4174 +
4175 +  // Check flexible array members.
4176 +  struct incomplete_array *ia =
4177 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4178 +  ia->datasize = 10;
4179 +  for (int i = 0; i < ia->datasize; ++i)
4180 +    ia->data[i] = i * 1.234;
4181 +
4182 +  // Check named initializers.
4183 +  struct named_init ni = {
4184 +    .number = 34,
4185 +    .name = L"Test wide string",
4186 +    .average = 543.34343,
4187 +  };
4188 +
4189 +  ni.number = 58;
4190 +
4191 +  int dynamic_array[ni.number];
4192 +  dynamic_array[ni.number - 1] = 543;
4193 +
4194 +  // work around unused variable warnings
4195 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4196 +          || dynamic_array[ni.number - 1] != 543);
4197 +
4198 +  ;
4199 +  return 0;
4200 + }
4201 + _ACEOF
4202 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4203 + do
4204 +  CC="$ac_save_CC $ac_arg"
4205 +  if ac_fn_c_try_compile "$LINENO"; then :
4206 +  ac_cv_prog_cc_c99=$ac_arg
4207 + fi
4208 + rm -f core conftest.err conftest.$ac_objext
4209 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4210 + done
4211 + rm -f conftest.$ac_ext
4212 + CC=$ac_save_CC
4213 +
4214 + fi
4215 + # AC_CACHE_VAL
4216 + case "x$ac_cv_prog_cc_c99" in
4217 +  x)
4218 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4219 + $as_echo "none needed" >&6; } ;;
4220 +  xno)
4221 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4222 + $as_echo "unsupported" >&6; } ;;
4223 +  *)
4224 +    CC="$CC $ac_cv_prog_cc_c99"
4225 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4226 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4227 + esac
4228 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4229 +
4230 + fi
4231 +
4232 +
4233 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4234 +  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4235 + fi
4236   for ac_prog in 'bison -y' byacc
4237   do
4238    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 4441 | Line 4439 | if test "$LEX" = :; then
4439   fi
4440  
4441  
4442 <
4445 < #ltdl stuff
4442 > # Initializing libtool.
4443   case `pwd` in
4444    *\ * | *\     *)
4445      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 5123 | Line 5120 | if test "${lt_cv_nm_interface+set}" = se
5120   else
5121    lt_cv_nm_interface="BSD nm"
5122    echo "int some_variable = 0;" > conftest.$ac_ext
5123 <  (eval echo "\"\$as_me:5126: $ac_compile\"" >&5)
5123 >  (eval echo "\"\$as_me:5123: $ac_compile\"" >&5)
5124    (eval "$ac_compile" 2>conftest.err)
5125    cat conftest.err >&5
5126 <  (eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5126 >  (eval echo "\"\$as_me:5126: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5127    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5128    cat conftest.err >&5
5129 <  (eval echo "\"\$as_me:5132: output\"" >&5)
5129 >  (eval echo "\"\$as_me:5129: output\"" >&5)
5130    cat conftest.out >&5
5131    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5132      lt_cv_nm_interface="MS dumpbin"
# Line 6334 | Line 6331 | ia64-*-hpux*)
6331    ;;
6332   *-*-irix6*)
6333    # Find out which ABI we are using.
6334 <  echo '#line 6337 "configure"' > conftest.$ac_ext
6334 >  echo '#line 6334 "configure"' > conftest.$ac_ext
6335    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6336    (eval $ac_compile) 2>&5
6337    ac_status=$?
# Line 7366 | Line 7363 | done
7363  
7364   # Set options
7365   enable_dlopen=yes
7366 <
7367 <
7368 <
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}
7366 > # Check whether --enable-static was given.
7367 > if test "${enable_static+set}" = set; then :
7368 >  enableval=$enable_static; p=${PACKAGE-default}
7369      case $enableval in
7370 <    yes) enable_shared=yes ;;
7371 <    no) enable_shared=no ;;
7370 >    yes) enable_static=yes ;;
7371 >    no) enable_static=no ;;
7372      *)
7373 <      enable_shared=no
7373 >     enable_static=no
7374        # Look at the argument we got.  We use all the common list separators.
7375        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7376        for pkg in $enableval; do
7377          IFS="$lt_save_ifs"
7378          if test "X$pkg" = "X$p"; then
7379 <          enable_shared=yes
7379 >          enable_static=yes
7380          fi
7381        done
7382        IFS="$lt_save_ifs"
7383        ;;
7384      esac
7385   else
7386 <  enable_shared=yes
7386 >  enable_static=no
7387   fi
7388  
7389  
# Line 7404 | Line 7394 | fi
7394  
7395  
7396  
7397 <  # Check whether --enable-static was given.
7398 < if test "${enable_static+set}" = set; then :
7399 <  enableval=$enable_static; p=${PACKAGE-default}
7397 >
7398 >
7399 >  enable_win32_dll=no
7400 >
7401 >
7402 >            # Check whether --enable-shared was given.
7403 > if test "${enable_shared+set}" = set; then :
7404 >  enableval=$enable_shared; p=${PACKAGE-default}
7405      case $enableval in
7406 <    yes) enable_static=yes ;;
7407 <    no) enable_static=no ;;
7406 >    yes) enable_shared=yes ;;
7407 >    no) enable_shared=no ;;
7408      *)
7409 <     enable_static=no
7409 >      enable_shared=no
7410        # Look at the argument we got.  We use all the common list separators.
7411        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7412        for pkg in $enableval; do
7413          IFS="$lt_save_ifs"
7414          if test "X$pkg" = "X$p"; then
7415 <          enable_static=yes
7415 >          enable_shared=yes
7416          fi
7417        done
7418        IFS="$lt_save_ifs"
7419        ;;
7420      esac
7421   else
7422 <  enable_static=yes
7422 >  enable_shared=yes
7423   fi
7424  
7425  
# Line 7436 | Line 7431 | fi
7431  
7432  
7433  
7434 +
7435   # Check whether --with-pic was given.
7436   if test "${with_pic+set}" = set; then :
7437    withval=$with_pic; pic_mode="$withval"
# Line 7859 | Line 7855 | else
7855     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7856     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7857     -e 's:$: $lt_compiler_flag:'`
7858 <   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
7858 >   (eval echo "\"\$as_me:7858: $lt_compile\"" >&5)
7859     (eval "$lt_compile" 2>conftest.err)
7860     ac_status=$?
7861     cat conftest.err >&5
7862 <   echo "$as_me:7866: \$? = $ac_status" >&5
7862 >   echo "$as_me:7862: \$? = $ac_status" >&5
7863     if (exit $ac_status) && test -s "$ac_outfile"; then
7864       # The compiler can only warn and ignore the option if not recognized
7865       # So say no if there are warnings other than the usual output.
# Line 8198 | Line 8194 | else
8194     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8195     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8196     -e 's:$: $lt_compiler_flag:'`
8197 <   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8197 >   (eval echo "\"\$as_me:8197: $lt_compile\"" >&5)
8198     (eval "$lt_compile" 2>conftest.err)
8199     ac_status=$?
8200     cat conftest.err >&5
8201 <   echo "$as_me:8205: \$? = $ac_status" >&5
8201 >   echo "$as_me:8201: \$? = $ac_status" >&5
8202     if (exit $ac_status) && test -s "$ac_outfile"; then
8203       # The compiler can only warn and ignore the option if not recognized
8204       # So say no if there are warnings other than the usual output.
# Line 8303 | Line 8299 | else
8299     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8300     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8301     -e 's:$: $lt_compiler_flag:'`
8302 <   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8302 >   (eval echo "\"\$as_me:8302: $lt_compile\"" >&5)
8303     (eval "$lt_compile" 2>out/conftest.err)
8304     ac_status=$?
8305     cat out/conftest.err >&5
8306 <   echo "$as_me:8310: \$? = $ac_status" >&5
8306 >   echo "$as_me:8306: \$? = $ac_status" >&5
8307     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8308     then
8309       # The compiler can only warn and ignore the option if not recognized
# Line 8358 | Line 8354 | else
8354     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8355     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8356     -e 's:$: $lt_compiler_flag:'`
8357 <   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
8357 >   (eval echo "\"\$as_me:8357: $lt_compile\"" >&5)
8358     (eval "$lt_compile" 2>out/conftest.err)
8359     ac_status=$?
8360     cat out/conftest.err >&5
8361 <   echo "$as_me:8365: \$? = $ac_status" >&5
8361 >   echo "$as_me:8361: \$? = $ac_status" >&5
8362     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8363     then
8364       # The compiler can only warn and ignore the option if not recognized
# Line 10095 | Line 10091 | rm -f core conftest.err conftest.$ac_obj
10091    libsuff=
10092    case "$host_cpu" in
10093    x86_64*|s390x*|powerpc64*)
10094 <    echo '#line 10098 "configure"' > conftest.$ac_ext
10094 >    echo '#line 10094 "configure"' > conftest.$ac_ext
10095      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10096    (eval $ac_compile) 2>&5
10097    ac_status=$?
# Line 10748 | Line 10744 | else
10744    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10745    lt_status=$lt_dlunknown
10746    cat > conftest.$ac_ext <<_LT_EOF
10747 < #line 10751 "configure"
10747 > #line 10747 "configure"
10748   #include "confdefs.h"
10749  
10750   #if HAVE_DLFCN_H
# Line 10844 | Line 10840 | else
10840    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10841    lt_status=$lt_dlunknown
10842    cat > conftest.$ac_ext <<_LT_EOF
10843 < #line 10847 "configure"
10843 > #line 10843 "configure"
10844   #include "confdefs.h"
10845  
10846   #if HAVE_DLFCN_H
# Line 11516 | Line 11512 | else
11512    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11513    lt_status=$lt_dlunknown
11514    cat > conftest.$ac_ext <<_LT_EOF
11515 < #line 11519 "configure"
11515 > #line 11515 "configure"
11516   #include "confdefs.h"
11517  
11518   #if HAVE_DLFCN_H
# Line 12129 | Line 12125 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
12125   # Only expand once:
12126  
12127  
12132 LIBTOOL="$LIBTOOL --silent"
12133
12128  
12129   # Checks for libraries.
12130  
# Line 12275 | Line 12269 | fi
12269  
12270  
12271  
12278
12272   # 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
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12274   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12275   if test "${ac_cv_c_bigendian+set}" = set; then :
# Line 12624 | Line 12495 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12495   esac
12496  
12497  
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
12498   # Checks for library functions.
12499  
12500  
# Line 12761 | Line 12524 | done
12524  
12525  
12526  
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12527   # Checks for header files.
12528  
12529  
# Line 12816 | Line 12569 | done
12569  
12570  
12571  
12572 <
12820 <
12821 <
12822 <
12572 > # check for /dev/null so we can use it to hold evil fd's
12573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12574   $as_echo_n "checking for /dev/null... " >&6; }
12575 < if test -c /dev/null ; then
12575 > if test -c /dev/null; then :
12576 >
12577  
12578   $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12579  
# Line 12830 | Line 12581 | $as_echo "#define PATH_DEVNULL \"/dev/nu
12581   $as_echo "yes" >&6; }
12582   else
12583  
12584 +
12585   $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12586  
12587    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
# Line 12861 | Line 12613 | return crypt ();
12613    return 0;
12614   }
12615   _ACEOF
12616 < for ac_lib in '' crypt descrypt; do
12616 > for ac_lib in '' crypt; do
12617    if test -z "$ac_lib"; then
12618      ac_res="none required"
12619    else
# Line 12893 | Line 12645 | if test "$ac_res" != no; then :
12645  
12646   fi
12647  
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
12648  
12649  
12650  
# Line 12918 | Line 12662 | else
12662   fi
12663  
12664  
12665 < if test "$zlib" = yes; then
12665 > if test "$zlib" = "yes"; then :
12666 >
12667    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12668   if test "x$ac_cv_header_zlib_h" = x""yes; then :
12669    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
# Line 12974 | Line 12719 | else
12719   fi
12720  
12721  
12722 +
12723 + fi
12724 +
12725 +
12726 + # Check whether --with-libpcre-path was given.
12727 + if test "${with_libpcre_path+set}" = set; then :
12728 +  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12729 + fi
12730 +
12731 +
12732 + # Check whether --enable-libpcre was given.
12733 + if test "${enable_libpcre+set}" = set; then :
12734 +  enableval=$enable_libpcre; libpcre=$enableval
12735 + else
12736 +  libpcre=yes
12737 + fi
12738 +
12739 +
12740 + if test "$libpcre" = "yes"; then :
12741 +
12742 +  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12743 + if test "x$ac_cv_header_pcre_h" = x""yes; then :
12744 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12745 + $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12746 + if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12747 +  $as_echo_n "(cached) " >&6
12748 + else
12749 +  ac_check_lib_save_LIBS=$LIBS
12750 + LIBS="-lpcre  $LIBS"
12751 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 + /* end confdefs.h.  */
12753 +
12754 + /* Override any GCC internal prototype to avoid an error.
12755 +   Use char because int might match the return type of a GCC
12756 +   builtin and then its argument prototype would still apply.  */
12757 + #ifdef __cplusplus
12758 + extern "C"
12759 + #endif
12760 + char pcre_study ();
12761 + int
12762 + main ()
12763 + {
12764 + return pcre_study ();
12765 +  ;
12766 +  return 0;
12767 + }
12768 + _ACEOF
12769 + if ac_fn_c_try_link "$LINENO"; then :
12770 +  ac_cv_lib_pcre_pcre_study=yes
12771 + else
12772 +  ac_cv_lib_pcre_pcre_study=no
12773 + fi
12774 + rm -f core conftest.err conftest.$ac_objext \
12775 +    conftest$ac_exeext conftest.$ac_ext
12776 + LIBS=$ac_check_lib_save_LIBS
12777 + fi
12778 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12779 + $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12780 + if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12781 +
12782 +      LIBS="-lpcre $LIBS"
12783 +
12784 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12785 +
12786 +
12787 + else
12788 +  libpcre=no
12789 + fi
12790 +
12791 +
12792 + else
12793 +  libpcre=no
12794 + fi
12795 +
12796 +
12797 +
12798   fi
12799 + if test "$libpcre" = yes; then
12800 +  ENABLE_PCRE_TRUE=
12801 +  ENABLE_PCRE_FALSE='#'
12802 + else
12803 +  ENABLE_PCRE_TRUE='#'
12804 +  ENABLE_PCRE_FALSE=
12805 + fi
12806 +
12807  
12808  
12809   # Check whether --enable-openssl was given.
# Line 13024 | Line 12853 | $as_echo "$cf_openssl_basedir" >&6; }
12853   $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12854  
12855    else
12856 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
12857 < $as_echo "not found.  Please check your path." >&6; }
12856 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12857 > $as_echo "not found. Please check your path." >&6; }
12858      cf_enable_openssl="no"
12859    fi
12860    unset cf_openssl_basedir
# Line 13033 | Line 12862 | else
12862      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12863   $as_echo "disabled" >&6; }
12864   fi
12865 +
12866 + if test "$cf_enable_openssl" != "no"; then :
12867 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
12868 + $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
12869 +  if test "$cross_compiling" = yes; then :
12870 +  cf_openssl_version_ok=no
12871 + else
12872 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 + /* end confdefs.h.  */
12874 +
12875 +    #include <openssl/opensslv.h>
12876 +    #include <stdlib.h>
12877 + int
12878 + main ()
12879 + {
12880 + exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
12881 +  ;
12882 +  return 0;
12883 + }
12884 + _ACEOF
12885 + if ac_fn_c_try_run "$LINENO"; then :
12886 +  cf_openssl_version_ok=yes
12887 + else
12888 +  cf_openssl_version_ok=no
12889 + fi
12890 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12891 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
12892 + fi
12893 +
12894 +
12895 +  if test "$cf_openssl_version_ok" = "yes"; then :
12896 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12897 + $as_echo "found" >&6; }
12898 +
12899 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12900 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12901 + if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
12902 +  $as_echo_n "(cached) " >&6
12903 + else
12904 +  ac_check_lib_save_LIBS=$LIBS
12905 + LIBS="-lcrypto  $LIBS"
12906 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 + /* end confdefs.h.  */
12908 +
12909 + /* Override any GCC internal prototype to avoid an error.
12910 +   Use char because int might match the return type of a GCC
12911 +   builtin and then its argument prototype would still apply.  */
12912 + #ifdef __cplusplus
12913 + extern "C"
12914 + #endif
12915 + char RSA_free ();
12916 + int
12917 + main ()
12918 + {
12919 + return RSA_free ();
12920 +  ;
12921 +  return 0;
12922 + }
12923 + _ACEOF
12924 + if ac_fn_c_try_link "$LINENO"; then :
12925 +  ac_cv_lib_crypto_RSA_free=yes
12926 + else
12927 +  ac_cv_lib_crypto_RSA_free=no
12928 + fi
12929 + rm -f core conftest.err conftest.$ac_objext \
12930 +    conftest$ac_exeext conftest.$ac_ext
12931 + LIBS=$ac_check_lib_save_LIBS
12932 + fi
12933 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12934 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12935 + if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12936 +  cat >>confdefs.h <<_ACEOF
12937 + #define HAVE_LIBCRYPTO 1
12938 + _ACEOF
12939 +
12940 +  LIBS="-lcrypto $LIBS"
12941 +
12942 + fi
12943 +
12944 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12945 +  for ac_func in EVP_bf_cfb           \
12946 +                      EVP_cast5_cfb        \
12947 +                      EVP_idea_cfb         \
12948 +                      EVP_rc5_32_12_16_cfb \
12949 +                      EVP_des_ede3_cfb     \
12950 +                      EVP_des_cfb
12951 + do :
12952 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12953 + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12954 + eval as_val=\$$as_ac_var
12955 +   if test "x$as_val" = x""yes; then :
12956 +  cat >>confdefs.h <<_ACEOF
12957 + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12958 + _ACEOF
12959 +
12960 + fi
12961 + done
12962 +
12963 + fi
12964 +
12965 + else
12966 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
12967 + $as_echo "no - OpenSSL support disabled" >&6; }
12968 +    cf_enable_openssl="no"
12969 + fi
12970 + fi
12971 +
12972   if test "$cf_enable_openssl" = yes; then
12973    ENABLE_SSL_TRUE=
12974    ENABLE_SSL_FALSE='#'
# Line 13050 | Line 12986 | else
12986    assert=no
12987   fi
12988  
12989 < if test "$assert" = no; then
12989 >
12990 > if test "$assert" = "no"; then :
12991  
12992   $as_echo "#define NDEBUG 1" >>confdefs.h
12993  
# Line 13065 | Line 13002 | else
13002   fi
13003  
13004  
13005 < if test "$small_net" = yes; then
13005 > if test "$small_net" = "yes"; then :
13006 >
13007  
13008   $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13009  
# Line 13090 | Line 13028 | $as_echo "#define TOPIC_HEAP_SIZE 256" >
13028  
13029   $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13030  
13031 +
13032 + $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13033 +
13034 +
13035 + $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13036 +
13037   else
13038  
13039 +
13040 +
13041   $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13042  
13043  
# Line 13115 | Line 13061 | $as_echo "#define TOPIC_HEAP_SIZE 1024"
13061  
13062   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13063  
13064 +
13065 + $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13066 +
13067 +
13068 + $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13069 +
13070   fi
13071  
13072  
# Line 13528 | Line 13480 | fi
13480  
13481  
13482   cat >>confdefs.h <<_ACEOF
13483 < #define TOPICLEN ($topiclen+1)
13483 > #define TOPICLEN ($topiclen)
13484   _ACEOF
13485  
13486  
# Line 13564 | Line 13516 | $as_echo "#define EFNET 1" >>confdefs.h
13516   $as_echo "#define TS5_ONLY 1" >>confdefs.h
13517  
13518          else
13567
13568 $as_echo "#define INVARIANTS 1" >>confdefs.h
13569
13519                  use_efnet="no"
13520    fi
13521     if test "$use_efnet" = "yes"; then
# Line 13604 | Line 13553 | fi
13553  
13554   $as_echo "#define DEBUG 1" >>confdefs.h
13555  
13556 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13556 >    CFLAGS="-Wall -g -O0"
13557    else
13558  
13559   $as_echo "#define NDEBUG 1" >>confdefs.h
# Line 13620 | Line 13569 | else
13569   fi
13570  
13571    if test "$warnings" = "yes" ; then
13572 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13572 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13573    fi
13574  
13575  
# Line 13750 | Line 13699 | _ACEOF
13699    test "$exec_prefix_NONE" && exec_prefix=NONE
13700  
13701  
13702 < 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"
13702 > 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 tools/Makefile"
13703  
13704  
13705   cat >confcache <<\_ACEOF
# Line 13896 | Line 13845 | LT_CONFIG_H=config.h
13845  
13846  
13847  
13848 < if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
13849 <  as_fn_error "conditional \"HAVE_CRYPT\" was never defined.
13848 > if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13849 >  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13850   Usually this means the macro was only invoked conditionally." "$LINENO" 5
13851   fi
13852   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
# Line 14503 | Line 14452 | double_quote_subst='$double_quote_subst'
14452   delay_variable_subst='$delay_variable_subst'
14453   macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14454   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"`'
14455   enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14456 + enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14457   pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14458   enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14459   host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
# Line 14775 | Line 14724 | do
14724      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14725      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14726      "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" ;;
14727      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14728  
14729    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 15514 | Line 15461 | available_tags=""
15461   macro_version=$macro_version
15462   macro_revision=$macro_revision
15463  
15517 # Whether or not to build shared libraries.
15518 build_libtool_libs=$enable_shared
15519
15464   # Whether or not to build static libraries.
15465   build_old_libs=$enable_static
15466  
15467 + # Whether or not to build shared libraries.
15468 + build_libtool_libs=$enable_shared
15469 +
15470   # What type of objects to build.
15471   pic_mode=$pic_mode
15472  

Diff Legend

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