1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 998 2009-08-23 12:43:17Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 1009 2009-09-13 15:02:30Z 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 |
|
# |
2114 |
|
|
2115 |
|
} # ac_fn_c_check_member |
2116 |
|
|
2117 |
– |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2118 |
– |
# -------------------------------------------- |
2119 |
– |
# Tries to find the compile-time value of EXPR in a program that includes |
2120 |
– |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
2121 |
– |
# computed |
2122 |
– |
ac_fn_c_compute_int () |
2123 |
– |
{ |
2124 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2125 |
– |
if test "$cross_compiling" = yes; then |
2126 |
– |
# Depending upon the size, compute the lo and hi bounds. |
2127 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2128 |
– |
/* end confdefs.h. */ |
2129 |
– |
$4 |
2130 |
– |
int |
2131 |
– |
main () |
2132 |
– |
{ |
2133 |
– |
static int test_array [1 - 2 * !(($2) >= 0)]; |
2134 |
– |
test_array [0] = 0 |
2135 |
– |
|
2136 |
– |
; |
2137 |
– |
return 0; |
2138 |
– |
} |
2139 |
– |
_ACEOF |
2140 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2141 |
– |
ac_lo=0 ac_mid=0 |
2142 |
– |
while :; do |
2143 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2144 |
– |
/* end confdefs.h. */ |
2145 |
– |
$4 |
2146 |
– |
int |
2147 |
– |
main () |
2148 |
– |
{ |
2149 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2150 |
– |
test_array [0] = 0 |
2151 |
– |
|
2152 |
– |
; |
2153 |
– |
return 0; |
2154 |
– |
} |
2155 |
– |
_ACEOF |
2156 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2157 |
– |
ac_hi=$ac_mid; break |
2158 |
– |
else |
2159 |
– |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2160 |
– |
if test $ac_lo -le $ac_mid; then |
2161 |
– |
ac_lo= ac_hi= |
2162 |
– |
break |
2163 |
– |
fi |
2164 |
– |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2165 |
– |
fi |
2166 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2167 |
– |
done |
2168 |
– |
else |
2169 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2170 |
– |
/* end confdefs.h. */ |
2171 |
– |
$4 |
2172 |
– |
int |
2173 |
– |
main () |
2174 |
– |
{ |
2175 |
– |
static int test_array [1 - 2 * !(($2) < 0)]; |
2176 |
– |
test_array [0] = 0 |
2177 |
– |
|
2178 |
– |
; |
2179 |
– |
return 0; |
2180 |
– |
} |
2181 |
– |
_ACEOF |
2182 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2183 |
– |
ac_hi=-1 ac_mid=-1 |
2184 |
– |
while :; do |
2185 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2186 |
– |
/* end confdefs.h. */ |
2187 |
– |
$4 |
2188 |
– |
int |
2189 |
– |
main () |
2190 |
– |
{ |
2191 |
– |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2192 |
– |
test_array [0] = 0 |
2193 |
– |
|
2194 |
– |
; |
2195 |
– |
return 0; |
2196 |
– |
} |
2197 |
– |
_ACEOF |
2198 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2199 |
– |
ac_lo=$ac_mid; break |
2200 |
– |
else |
2201 |
– |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2202 |
– |
if test $ac_mid -le $ac_hi; then |
2203 |
– |
ac_lo= ac_hi= |
2204 |
– |
break |
2205 |
– |
fi |
2206 |
– |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2207 |
– |
fi |
2208 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2209 |
– |
done |
2210 |
– |
else |
2211 |
– |
ac_lo= ac_hi= |
2212 |
– |
fi |
2213 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2214 |
– |
fi |
2215 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2216 |
– |
# Binary search between lo and hi bounds. |
2217 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
2218 |
– |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2219 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2220 |
– |
/* end confdefs.h. */ |
2221 |
– |
$4 |
2222 |
– |
int |
2223 |
– |
main () |
2224 |
– |
{ |
2225 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2226 |
– |
test_array [0] = 0 |
2227 |
– |
|
2228 |
– |
; |
2229 |
– |
return 0; |
2230 |
– |
} |
2231 |
– |
_ACEOF |
2232 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2233 |
– |
ac_hi=$ac_mid |
2234 |
– |
else |
2235 |
– |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2236 |
– |
fi |
2237 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2238 |
– |
done |
2239 |
– |
case $ac_lo in #(( |
2240 |
– |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2241 |
– |
'') ac_retval=1 ;; |
2242 |
– |
esac |
2243 |
– |
else |
2244 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2245 |
– |
/* end confdefs.h. */ |
2246 |
– |
$4 |
2247 |
– |
static long int longval () { return $2; } |
2248 |
– |
static unsigned long int ulongval () { return $2; } |
2249 |
– |
#include <stdio.h> |
2250 |
– |
#include <stdlib.h> |
2251 |
– |
int |
2252 |
– |
main () |
2253 |
– |
{ |
2254 |
– |
|
2255 |
– |
FILE *f = fopen ("conftest.val", "w"); |
2256 |
– |
if (! f) |
2257 |
– |
return 1; |
2258 |
– |
if (($2) < 0) |
2259 |
– |
{ |
2260 |
– |
long int i = longval (); |
2261 |
– |
if (i != ($2)) |
2262 |
– |
return 1; |
2263 |
– |
fprintf (f, "%ld", i); |
2264 |
– |
} |
2265 |
– |
else |
2266 |
– |
{ |
2267 |
– |
unsigned long int i = ulongval (); |
2268 |
– |
if (i != ($2)) |
2269 |
– |
return 1; |
2270 |
– |
fprintf (f, "%lu", i); |
2271 |
– |
} |
2272 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
2273 |
– |
on some platforms. */ |
2274 |
– |
return ferror (f) || fclose (f) != 0; |
2275 |
– |
|
2276 |
– |
; |
2277 |
– |
return 0; |
2278 |
– |
} |
2279 |
– |
_ACEOF |
2280 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
2281 |
– |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2282 |
– |
else |
2283 |
– |
ac_retval=1 |
2284 |
– |
fi |
2285 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2286 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
2287 |
– |
rm -f conftest.val |
2288 |
– |
|
2289 |
– |
fi |
2290 |
– |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2291 |
– |
return $ac_retval |
2292 |
– |
|
2293 |
– |
} # ac_fn_c_compute_int |
2294 |
– |
|
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 |
2483 |
|
>$cache_file |
2484 |
|
fi |
2485 |
|
|
2664 |
– |
as_fn_append ac_func_list " snprintf" |
2665 |
– |
as_fn_append ac_func_list " vsnprintf" |
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" |
3098 |
|
|
3099 |
|
|
3100 |
|
|
3281 |
– |
|
3101 |
|
# Checks for programs. |
3102 |
+ |
DEPDIR="${am__leading_dot}deps" |
3103 |
+ |
|
3104 |
+ |
ac_config_commands="$ac_config_commands depfiles" |
3105 |
+ |
|
3106 |
+ |
|
3107 |
+ |
am_make=${MAKE-make} |
3108 |
+ |
cat > confinc << 'END' |
3109 |
+ |
am__doit: |
3110 |
+ |
@echo this is the am__doit target |
3111 |
+ |
.PHONY: am__doit |
3112 |
+ |
END |
3113 |
+ |
# If we don't find an include directive, just comment out the code. |
3114 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3115 |
+ |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
3116 |
+ |
am__include="#" |
3117 |
+ |
am__quote= |
3118 |
+ |
_am_result=none |
3119 |
+ |
# First try GNU make style include. |
3120 |
+ |
echo "include confinc" > confmf |
3121 |
+ |
# Ignore all kinds of additional output from `make'. |
3122 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3123 |
+ |
*the\ am__doit\ target*) |
3124 |
+ |
am__include=include |
3125 |
+ |
am__quote= |
3126 |
+ |
_am_result=GNU |
3127 |
+ |
;; |
3128 |
+ |
esac |
3129 |
+ |
# Now try BSD make style include. |
3130 |
+ |
if test "$am__include" = "#"; then |
3131 |
+ |
echo '.include "confinc"' > confmf |
3132 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3133 |
+ |
*the\ am__doit\ target*) |
3134 |
+ |
am__include=.include |
3135 |
+ |
am__quote="\"" |
3136 |
+ |
_am_result=BSD |
3137 |
+ |
;; |
3138 |
+ |
esac |
3139 |
+ |
fi |
3140 |
+ |
|
3141 |
+ |
|
3142 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3143 |
+ |
$as_echo "$_am_result" >&6; } |
3144 |
+ |
rm -f confinc confmf |
3145 |
+ |
|
3146 |
+ |
# Check whether --enable-dependency-tracking was given. |
3147 |
+ |
if test "${enable_dependency_tracking+set}" = set; then : |
3148 |
+ |
enableval=$enable_dependency_tracking; |
3149 |
+ |
fi |
3150 |
+ |
|
3151 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3152 |
+ |
am_depcomp="$ac_aux_dir/depcomp" |
3153 |
+ |
AMDEPBACKSLASH='\' |
3154 |
+ |
fi |
3155 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3156 |
+ |
AMDEP_TRUE= |
3157 |
+ |
AMDEP_FALSE='#' |
3158 |
+ |
else |
3159 |
+ |
AMDEP_TRUE='#' |
3160 |
+ |
AMDEP_FALSE= |
3161 |
+ |
fi |
3162 |
+ |
|
3163 |
+ |
|
3164 |
|
ac_ext=c |
3165 |
|
ac_cpp='$CPP $CPPFLAGS' |
3166 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3927 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3928 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3929 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4049 |
– |
DEPDIR="${am__leading_dot}deps" |
4050 |
– |
|
4051 |
– |
ac_config_commands="$ac_config_commands depfiles" |
4052 |
– |
|
4053 |
– |
|
4054 |
– |
am_make=${MAKE-make} |
4055 |
– |
cat > confinc << 'END' |
4056 |
– |
am__doit: |
4057 |
– |
@echo this is the am__doit target |
4058 |
– |
.PHONY: am__doit |
4059 |
– |
END |
4060 |
– |
# If we don't find an include directive, just comment out the code. |
4061 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4062 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4063 |
– |
am__include="#" |
4064 |
– |
am__quote= |
4065 |
– |
_am_result=none |
4066 |
– |
# First try GNU make style include. |
4067 |
– |
echo "include confinc" > confmf |
4068 |
– |
# Ignore all kinds of additional output from `make'. |
4069 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4070 |
– |
*the\ am__doit\ target*) |
4071 |
– |
am__include=include |
4072 |
– |
am__quote= |
4073 |
– |
_am_result=GNU |
4074 |
– |
;; |
4075 |
– |
esac |
4076 |
– |
# Now try BSD make style include. |
4077 |
– |
if test "$am__include" = "#"; then |
4078 |
– |
echo '.include "confinc"' > confmf |
4079 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4080 |
– |
*the\ am__doit\ target*) |
4081 |
– |
am__include=.include |
4082 |
– |
am__quote="\"" |
4083 |
– |
_am_result=BSD |
4084 |
– |
;; |
4085 |
– |
esac |
4086 |
– |
fi |
4087 |
– |
|
4088 |
– |
|
4089 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4090 |
– |
$as_echo "$_am_result" >&6; } |
4091 |
– |
rm -f confinc confmf |
4092 |
– |
|
4093 |
– |
# Check whether --enable-dependency-tracking was given. |
4094 |
– |
if test "${enable_dependency_tracking+set}" = set; then : |
4095 |
– |
enableval=$enable_dependency_tracking; |
4096 |
– |
fi |
4097 |
– |
|
4098 |
– |
if test "x$enable_dependency_tracking" != xno; then |
4099 |
– |
am_depcomp="$ac_aux_dir/depcomp" |
4100 |
– |
AMDEPBACKSLASH='\' |
4101 |
– |
fi |
4102 |
– |
if test "x$enable_dependency_tracking" != xno; then |
4103 |
– |
AMDEP_TRUE= |
4104 |
– |
AMDEP_FALSE='#' |
4105 |
– |
else |
4106 |
– |
AMDEP_TRUE='#' |
4107 |
– |
AMDEP_FALSE= |
4108 |
– |
fi |
4109 |
– |
|
4110 |
– |
|
3930 |
|
|
3931 |
|
depcc="$CC" am_compiler_list= |
3932 |
|
|
4055 |
|
fi |
4056 |
|
|
4057 |
|
|
4058 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
4059 |
+ |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
4060 |
+ |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
4061 |
+ |
$as_echo_n "(cached) " >&6 |
4062 |
+ |
else |
4063 |
+ |
ac_cv_prog_cc_c99=no |
4064 |
+ |
ac_save_CC=$CC |
4065 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4066 |
+ |
/* end confdefs.h. */ |
4067 |
+ |
#include <stdarg.h> |
4068 |
+ |
#include <stdbool.h> |
4069 |
+ |
#include <stdlib.h> |
4070 |
+ |
#include <wchar.h> |
4071 |
+ |
#include <stdio.h> |
4072 |
+ |
|
4073 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
4074 |
+ |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
4075 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
4076 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
4077 |
+ |
static void |
4078 |
+ |
test_varargs_macros (void) |
4079 |
+ |
{ |
4080 |
+ |
int x = 1234; |
4081 |
+ |
int y = 5678; |
4082 |
+ |
debug ("Flag"); |
4083 |
+ |
debug ("X = %d\n", x); |
4084 |
+ |
showlist (The first, second, and third items.); |
4085 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
4086 |
+ |
} |
4087 |
+ |
|
4088 |
+ |
// Check long long types. |
4089 |
+ |
#define BIG64 18446744073709551615ull |
4090 |
+ |
#define BIG32 4294967295ul |
4091 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
4092 |
+ |
#if !BIG_OK |
4093 |
+ |
your preprocessor is broken; |
4094 |
+ |
#endif |
4095 |
+ |
#if BIG_OK |
4096 |
+ |
#else |
4097 |
+ |
your preprocessor is broken; |
4098 |
+ |
#endif |
4099 |
+ |
static long long int bignum = -9223372036854775807LL; |
4100 |
+ |
static unsigned long long int ubignum = BIG64; |
4101 |
+ |
|
4102 |
+ |
struct incomplete_array |
4103 |
+ |
{ |
4104 |
+ |
int datasize; |
4105 |
+ |
double data[]; |
4106 |
+ |
}; |
4107 |
+ |
|
4108 |
+ |
struct named_init { |
4109 |
+ |
int number; |
4110 |
+ |
const wchar_t *name; |
4111 |
+ |
double average; |
4112 |
+ |
}; |
4113 |
+ |
|
4114 |
+ |
typedef const char *ccp; |
4115 |
+ |
|
4116 |
+ |
static inline int |
4117 |
+ |
test_restrict (ccp restrict text) |
4118 |
+ |
{ |
4119 |
+ |
// See if C++-style comments work. |
4120 |
+ |
// Iterate through items via the restricted pointer. |
4121 |
+ |
// Also check for declarations in for loops. |
4122 |
+ |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
4123 |
+ |
continue; |
4124 |
+ |
return 0; |
4125 |
+ |
} |
4126 |
+ |
|
4127 |
+ |
// Check varargs and va_copy. |
4128 |
+ |
static void |
4129 |
+ |
test_varargs (const char *format, ...) |
4130 |
+ |
{ |
4131 |
+ |
va_list args; |
4132 |
+ |
va_start (args, format); |
4133 |
+ |
va_list args_copy; |
4134 |
+ |
va_copy (args_copy, args); |
4135 |
+ |
|
4136 |
+ |
const char *str; |
4137 |
+ |
int number; |
4138 |
+ |
float fnumber; |
4139 |
+ |
|
4140 |
+ |
while (*format) |
4141 |
+ |
{ |
4142 |
+ |
switch (*format++) |
4143 |
+ |
{ |
4144 |
+ |
case 's': // string |
4145 |
+ |
str = va_arg (args_copy, const char *); |
4146 |
+ |
break; |
4147 |
+ |
case 'd': // int |
4148 |
+ |
number = va_arg (args_copy, int); |
4149 |
+ |
break; |
4150 |
+ |
case 'f': // float |
4151 |
+ |
fnumber = va_arg (args_copy, double); |
4152 |
+ |
break; |
4153 |
+ |
default: |
4154 |
+ |
break; |
4155 |
+ |
} |
4156 |
+ |
} |
4157 |
+ |
va_end (args_copy); |
4158 |
+ |
va_end (args); |
4159 |
+ |
} |
4160 |
+ |
|
4161 |
+ |
int |
4162 |
+ |
main () |
4163 |
+ |
{ |
4164 |
+ |
|
4165 |
+ |
// Check bool. |
4166 |
+ |
_Bool success = false; |
4167 |
+ |
|
4168 |
+ |
// Check restrict. |
4169 |
+ |
if (test_restrict ("String literal") == 0) |
4170 |
+ |
success = true; |
4171 |
+ |
char *restrict newvar = "Another string"; |
4172 |
+ |
|
4173 |
+ |
// Check varargs. |
4174 |
+ |
test_varargs ("s, d' f .", "string", 65, 34.234); |
4175 |
+ |
test_varargs_macros (); |
4176 |
+ |
|
4177 |
+ |
// Check flexible array members. |
4178 |
+ |
struct incomplete_array *ia = |
4179 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
4180 |
+ |
ia->datasize = 10; |
4181 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
4182 |
+ |
ia->data[i] = i * 1.234; |
4183 |
+ |
|
4184 |
+ |
// Check named initializers. |
4185 |
+ |
struct named_init ni = { |
4186 |
+ |
.number = 34, |
4187 |
+ |
.name = L"Test wide string", |
4188 |
+ |
.average = 543.34343, |
4189 |
+ |
}; |
4190 |
+ |
|
4191 |
+ |
ni.number = 58; |
4192 |
+ |
|
4193 |
+ |
int dynamic_array[ni.number]; |
4194 |
+ |
dynamic_array[ni.number - 1] = 543; |
4195 |
+ |
|
4196 |
+ |
// work around unused variable warnings |
4197 |
+ |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
4198 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
4199 |
+ |
|
4200 |
+ |
; |
4201 |
+ |
return 0; |
4202 |
+ |
} |
4203 |
+ |
_ACEOF |
4204 |
+ |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
4205 |
+ |
do |
4206 |
+ |
CC="$ac_save_CC $ac_arg" |
4207 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
4208 |
+ |
ac_cv_prog_cc_c99=$ac_arg |
4209 |
+ |
fi |
4210 |
+ |
rm -f core conftest.err conftest.$ac_objext |
4211 |
+ |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
4212 |
+ |
done |
4213 |
+ |
rm -f conftest.$ac_ext |
4214 |
+ |
CC=$ac_save_CC |
4215 |
+ |
|
4216 |
+ |
fi |
4217 |
+ |
# AC_CACHE_VAL |
4218 |
+ |
case "x$ac_cv_prog_cc_c99" in |
4219 |
+ |
x) |
4220 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4221 |
+ |
$as_echo "none needed" >&6; } ;; |
4222 |
+ |
xno) |
4223 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4224 |
+ |
$as_echo "unsupported" >&6; } ;; |
4225 |
+ |
*) |
4226 |
+ |
CC="$CC $ac_cv_prog_cc_c99" |
4227 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
4228 |
+ |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
4229 |
+ |
esac |
4230 |
+ |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
4231 |
+ |
|
4232 |
+ |
fi |
4233 |
+ |
|
4234 |
+ |
|
4235 |
+ |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4236 |
+ |
as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5 |
4237 |
+ |
fi |
4238 |
|
for ac_prog in 'bison -y' byacc |
4239 |
|
do |
4240 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4441 |
|
fi |
4442 |
|
|
4443 |
|
|
4445 |
– |
|
4444 |
|
#ltdl stuff |
4445 |
|
case `pwd` in |
4446 |
|
*\ * | *\ *) |
5122 |
|
else |
5123 |
|
lt_cv_nm_interface="BSD nm" |
5124 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
5125 |
< |
(eval echo "\"\$as_me:5127: $ac_compile\"" >&5) |
5125 |
> |
(eval echo "\"\$as_me:5125: $ac_compile\"" >&5) |
5126 |
|
(eval "$ac_compile" 2>conftest.err) |
5127 |
|
cat conftest.err >&5 |
5128 |
< |
(eval echo "\"\$as_me:5130: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5128 |
> |
(eval echo "\"\$as_me:5128: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5129 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5130 |
|
cat conftest.err >&5 |
5131 |
< |
(eval echo "\"\$as_me:5133: output\"" >&5) |
5131 |
> |
(eval echo "\"\$as_me:5131: output\"" >&5) |
5132 |
|
cat conftest.out >&5 |
5133 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5134 |
|
lt_cv_nm_interface="MS dumpbin" |
6333 |
|
;; |
6334 |
|
*-*-irix6*) |
6335 |
|
# Find out which ABI we are using. |
6336 |
< |
echo '#line 6338 "configure"' > conftest.$ac_ext |
6336 |
> |
echo '#line 6336 "configure"' > conftest.$ac_ext |
6337 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6338 |
|
(eval $ac_compile) 2>&5 |
6339 |
|
ac_status=$? |
7857 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7858 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7859 |
|
-e 's:$: $lt_compiler_flag:'` |
7860 |
< |
(eval echo "\"\$as_me:7862: $lt_compile\"" >&5) |
7860 |
> |
(eval echo "\"\$as_me:7860: $lt_compile\"" >&5) |
7861 |
|
(eval "$lt_compile" 2>conftest.err) |
7862 |
|
ac_status=$? |
7863 |
|
cat conftest.err >&5 |
7864 |
< |
echo "$as_me:7866: \$? = $ac_status" >&5 |
7864 |
> |
echo "$as_me:7864: \$? = $ac_status" >&5 |
7865 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
7866 |
|
# The compiler can only warn and ignore the option if not recognized |
7867 |
|
# So say no if there are warnings other than the usual output. |
8196 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8197 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8198 |
|
-e 's:$: $lt_compiler_flag:'` |
8199 |
< |
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5) |
8199 |
> |
(eval echo "\"\$as_me:8199: $lt_compile\"" >&5) |
8200 |
|
(eval "$lt_compile" 2>conftest.err) |
8201 |
|
ac_status=$? |
8202 |
|
cat conftest.err >&5 |
8203 |
< |
echo "$as_me:8205: \$? = $ac_status" >&5 |
8203 |
> |
echo "$as_me:8203: \$? = $ac_status" >&5 |
8204 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8205 |
|
# The compiler can only warn and ignore the option if not recognized |
8206 |
|
# So say no if there are warnings other than the usual output. |
8301 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8302 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8303 |
|
-e 's:$: $lt_compiler_flag:'` |
8304 |
< |
(eval echo "\"\$as_me:8306: $lt_compile\"" >&5) |
8304 |
> |
(eval echo "\"\$as_me:8304: $lt_compile\"" >&5) |
8305 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8306 |
|
ac_status=$? |
8307 |
|
cat out/conftest.err >&5 |
8308 |
< |
echo "$as_me:8310: \$? = $ac_status" >&5 |
8308 |
> |
echo "$as_me:8308: \$? = $ac_status" >&5 |
8309 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8310 |
|
then |
8311 |
|
# The compiler can only warn and ignore the option if not recognized |
8356 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8357 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8358 |
|
-e 's:$: $lt_compiler_flag:'` |
8359 |
< |
(eval echo "\"\$as_me:8361: $lt_compile\"" >&5) |
8359 |
> |
(eval echo "\"\$as_me:8359: $lt_compile\"" >&5) |
8360 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8361 |
|
ac_status=$? |
8362 |
|
cat out/conftest.err >&5 |
8363 |
< |
echo "$as_me:8365: \$? = $ac_status" >&5 |
8363 |
> |
echo "$as_me:8363: \$? = $ac_status" >&5 |
8364 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8365 |
|
then |
8366 |
|
# The compiler can only warn and ignore the option if not recognized |
10093 |
|
libsuff= |
10094 |
|
case "$host_cpu" in |
10095 |
|
x86_64*|s390x*|powerpc64*) |
10096 |
< |
echo '#line 10098 "configure"' > conftest.$ac_ext |
10096 |
> |
echo '#line 10096 "configure"' > conftest.$ac_ext |
10097 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10098 |
|
(eval $ac_compile) 2>&5 |
10099 |
|
ac_status=$? |
10746 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10747 |
|
lt_status=$lt_dlunknown |
10748 |
|
cat > conftest.$ac_ext <<_LT_EOF |
10749 |
< |
#line 10751 "configure" |
10749 |
> |
#line 10749 "configure" |
10750 |
|
#include "confdefs.h" |
10751 |
|
|
10752 |
|
#if HAVE_DLFCN_H |
10842 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10843 |
|
lt_status=$lt_dlunknown |
10844 |
|
cat > conftest.$ac_ext <<_LT_EOF |
10845 |
< |
#line 10847 "configure" |
10845 |
> |
#line 10845 "configure" |
10846 |
|
#include "confdefs.h" |
10847 |
|
|
10848 |
|
#if HAVE_DLFCN_H |
11514 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11515 |
|
lt_status=$lt_dlunknown |
11516 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11517 |
< |
#line 11519 "configure" |
11517 |
> |
#line 11517 "configure" |
11518 |
|
#include "confdefs.h" |
11519 |
|
|
11520 |
|
#if HAVE_DLFCN_H |
12129 |
|
|
12130 |
|
LIBTOOL="$LIBTOOL --silent" |
12131 |
|
|
12134 |
– |
|
12132 |
|
# Checks for libraries. |
12133 |
|
|
12134 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
12272 |
|
|
12273 |
|
|
12274 |
|
|
12278 |
– |
|
12275 |
|
# 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 |
– |
|
12276 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
12277 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
12278 |
|
if test "${ac_cv_c_bigendian+set}" = set; then : |
12498 |
|
esac |
12499 |
|
|
12500 |
|
|
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 |
– |
|
12501 |
|
# Checks for library functions. |
12502 |
|
|
12503 |
|
|
12527 |
|
|
12528 |
|
|
12529 |
|
|
12764 |
– |
|
12765 |
– |
|
12766 |
– |
|
12767 |
– |
|
12530 |
|
# Checks for header files. |
12531 |
|
|
12532 |
|
|
12578 |
|
|
12579 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
12580 |
|
$as_echo_n "checking for /dev/null... " >&6; } |
12581 |
< |
if test -c /dev/null ; then |
12581 |
> |
if test -c /dev/null; then : |
12582 |
> |
|
12583 |
|
|
12584 |
|
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
12585 |
|
|
12587 |
|
$as_echo "yes" >&6; } |
12588 |
|
else |
12589 |
|
|
12590 |
+ |
|
12591 |
|
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
12592 |
|
|
12593 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
12668 |
|
fi |
12669 |
|
|
12670 |
|
|
12671 |
< |
if test "$zlib" = yes; then |
12671 |
> |
if test "$zlib" = "yes"; then : |
12672 |
> |
|
12673 |
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
12674 |
|
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
12675 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
12725 |
|
fi |
12726 |
|
|
12727 |
|
|
12728 |
+ |
|
12729 |
|
fi |
12730 |
|
|
12731 |
|
|
12743 |
|
fi |
12744 |
|
|
12745 |
|
|
12746 |
< |
if test "$libpcre" = yes; then |
12746 |
> |
if test "$libpcre" = "yes"; then : |
12747 |
> |
|
12748 |
|
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
12749 |
|
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
12750 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
12800 |
|
fi |
12801 |
|
|
12802 |
|
|
12803 |
+ |
|
12804 |
|
fi |
12805 |
|
if test "$libpcre" = yes; then |
12806 |
|
ENABLE_PCRE_TRUE= |
12859 |
|
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
12860 |
|
|
12861 |
|
else |
12862 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
12863 |
< |
$as_echo "not found. Please check your path." >&6; } |
12862 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
12863 |
> |
$as_echo "not found. Please check your path." >&6; } |
12864 |
|
cf_enable_openssl="no" |
12865 |
|
fi |
12866 |
|
unset cf_openssl_basedir |
12885 |
|
assert=no |
12886 |
|
fi |
12887 |
|
|
12888 |
< |
if test "$assert" = no; then |
12888 |
> |
|
12889 |
> |
if test "$assert" = "no"; then : |
12890 |
|
|
12891 |
|
$as_echo "#define NDEBUG 1" >>confdefs.h |
12892 |
|
|