comparison configure @ 41148:9a105fbe1d0c

Regenerated.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 16 Nov 2001 14:28:11 +0000
parents 930b8a722dab
children 33fd5b0cc93e
comparison
equal deleted inserted replaced
41147:abcc22ad7673 41148:9a105fbe1d0c
1244 build=$ac_cv_build 1244 build=$ac_cv_build
1245 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1245 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1246 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1246 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1247 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1247 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1248 1248
1249 test -z "$build_alias" && 1249 echo "$as_me:1249: checking host system type" >&5
1250 build_alias=$ac_cv_build
1251
1252 echo "$as_me:1252: checking host system type" >&5
1253 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1250 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1254 if test "${ac_cv_host+set}" = set; then 1251 if test "${ac_cv_host+set}" = set; then
1255 echo $ECHO_N "(cached) $ECHO_C" >&6 1252 echo $ECHO_N "(cached) $ECHO_C" >&6
1256 else 1253 else
1257 ac_cv_host_alias=$host_alias 1254 ac_cv_host_alias=$host_alias
1258 test -z "$ac_cv_host_alias" && 1255 test -z "$ac_cv_host_alias" &&
1259 ac_cv_host_alias=$ac_cv_build_alias 1256 ac_cv_host_alias=$ac_cv_build_alias
1260 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1257 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1261 { { echo "$as_me:1261: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1258 { { echo "$as_me:1258: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1262 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1259 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1263 { (exit 1); exit 1; }; } 1260 { (exit 1); exit 1; }; }
1264 1261
1265 fi 1262 fi
1266 echo "$as_me:1266: result: $ac_cv_host" >&5 1263 echo "$as_me:1263: result: $ac_cv_host" >&5
1267 echo "${ECHO_T}$ac_cv_host" >&6 1264 echo "${ECHO_T}$ac_cv_host" >&6
1268 host=$ac_cv_host 1265 host=$ac_cv_host
1269 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1266 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1270 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1267 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1271 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1268 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1272
1273 test -z "$host_alias" &&
1274 host_alias=$ac_cv_host
1275 1269
1276 canonical=$host 1270 canonical=$host
1277 configuration=${host_alias-$host} 1271 configuration=${host_alias-$host}
1278 1272
1279 ### If you add support for a new configuration, add code to this 1273 ### If you add support for a new configuration, add code to this
2214 ;; 2208 ;;
2215 esac 2209 esac
2216 fi 2210 fi
2217 2211
2218 if test $unported = yes; then 2212 if test $unported = yes; then
2219 { { echo "$as_me:2219: error: Emacs hasn't been ported to \`${canonical}' systems. 2213 { { echo "$as_me:2213: error: Emacs hasn't been ported to \`${canonical}' systems.
2220 Check \`etc/MACHINES' for recognized configuration names." >&5 2214 Check \`etc/MACHINES' for recognized configuration names." >&5
2221 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2215 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2222 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2216 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2223 { (exit 1); exit 1; }; } 2217 { (exit 1); exit 1; }; }
2224 fi 2218 fi
2243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2245 if test -n "$ac_tool_prefix"; then 2239 if test -n "$ac_tool_prefix"; then
2246 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2240 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2247 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2241 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2248 echo "$as_me:2248: checking for $ac_word" >&5 2242 echo "$as_me:2242: checking for $ac_word" >&5
2249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2250 if test "${ac_cv_prog_CC+set}" = set; then 2244 if test "${ac_cv_prog_CC+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6 2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 else 2246 else
2253 if test -n "$CC"; then 2247 if test -n "$CC"; then
2258 for ac_dir in $ac_dummy; do 2252 for ac_dir in $ac_dummy; do
2259 IFS=$ac_save_IFS 2253 IFS=$ac_save_IFS
2260 test -z "$ac_dir" && ac_dir=. 2254 test -z "$ac_dir" && ac_dir=.
2261 $as_executable_p "$ac_dir/$ac_word" || continue 2255 $as_executable_p "$ac_dir/$ac_word" || continue
2262 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2263 echo "$as_me:2263: found $ac_dir/$ac_word" >&5 2257 echo "$as_me:2257: found $ac_dir/$ac_word" >&5
2264 break 2258 break
2265 done 2259 done
2266 2260
2267 fi 2261 fi
2268 fi 2262 fi
2269 CC=$ac_cv_prog_CC 2263 CC=$ac_cv_prog_CC
2270 if test -n "$CC"; then 2264 if test -n "$CC"; then
2271 echo "$as_me:2271: result: $CC" >&5 2265 echo "$as_me:2265: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6 2266 echo "${ECHO_T}$CC" >&6
2273 else 2267 else
2274 echo "$as_me:2274: result: no" >&5 2268 echo "$as_me:2268: result: no" >&5
2275 echo "${ECHO_T}no" >&6 2269 echo "${ECHO_T}no" >&6
2276 fi 2270 fi
2277 2271
2278 fi 2272 fi
2279 if test -z "$ac_cv_prog_CC"; then 2273 if test -z "$ac_cv_prog_CC"; then
2280 ac_ct_CC=$CC 2274 ac_ct_CC=$CC
2281 # Extract the first word of "gcc", so it can be a program name with args. 2275 # Extract the first word of "gcc", so it can be a program name with args.
2282 set dummy gcc; ac_word=$2 2276 set dummy gcc; ac_word=$2
2283 echo "$as_me:2283: checking for $ac_word" >&5 2277 echo "$as_me:2277: checking for $ac_word" >&5
2284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2285 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2279 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6 2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 else 2281 else
2288 if test -n "$ac_ct_CC"; then 2282 if test -n "$ac_ct_CC"; then
2293 for ac_dir in $ac_dummy; do 2287 for ac_dir in $ac_dummy; do
2294 IFS=$ac_save_IFS 2288 IFS=$ac_save_IFS
2295 test -z "$ac_dir" && ac_dir=. 2289 test -z "$ac_dir" && ac_dir=.
2296 $as_executable_p "$ac_dir/$ac_word" || continue 2290 $as_executable_p "$ac_dir/$ac_word" || continue
2297 ac_cv_prog_ac_ct_CC="gcc" 2291 ac_cv_prog_ac_ct_CC="gcc"
2298 echo "$as_me:2298: found $ac_dir/$ac_word" >&5 2292 echo "$as_me:2292: found $ac_dir/$ac_word" >&5
2299 break 2293 break
2300 done 2294 done
2301 2295
2302 fi 2296 fi
2303 fi 2297 fi
2304 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2305 if test -n "$ac_ct_CC"; then 2299 if test -n "$ac_ct_CC"; then
2306 echo "$as_me:2306: result: $ac_ct_CC" >&5 2300 echo "$as_me:2300: result: $ac_ct_CC" >&5
2307 echo "${ECHO_T}$ac_ct_CC" >&6 2301 echo "${ECHO_T}$ac_ct_CC" >&6
2308 else 2302 else
2309 echo "$as_me:2309: result: no" >&5 2303 echo "$as_me:2303: result: no" >&5
2310 echo "${ECHO_T}no" >&6 2304 echo "${ECHO_T}no" >&6
2311 fi 2305 fi
2312 2306
2313 CC=$ac_ct_CC 2307 CC=$ac_ct_CC
2314 else 2308 else
2317 2311
2318 if test -z "$CC"; then 2312 if test -z "$CC"; then
2319 if test -n "$ac_tool_prefix"; then 2313 if test -n "$ac_tool_prefix"; then
2320 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2321 set dummy ${ac_tool_prefix}cc; ac_word=$2 2315 set dummy ${ac_tool_prefix}cc; ac_word=$2
2322 echo "$as_me:2322: checking for $ac_word" >&5 2316 echo "$as_me:2316: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_CC+set}" = set; then 2318 if test "${ac_cv_prog_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6 2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else 2320 else
2327 if test -n "$CC"; then 2321 if test -n "$CC"; then
2332 for ac_dir in $ac_dummy; do 2326 for ac_dir in $ac_dummy; do
2333 IFS=$ac_save_IFS 2327 IFS=$ac_save_IFS
2334 test -z "$ac_dir" && ac_dir=. 2328 test -z "$ac_dir" && ac_dir=.
2335 $as_executable_p "$ac_dir/$ac_word" || continue 2329 $as_executable_p "$ac_dir/$ac_word" || continue
2336 ac_cv_prog_CC="${ac_tool_prefix}cc" 2330 ac_cv_prog_CC="${ac_tool_prefix}cc"
2337 echo "$as_me:2337: found $ac_dir/$ac_word" >&5 2331 echo "$as_me:2331: found $ac_dir/$ac_word" >&5
2338 break 2332 break
2339 done 2333 done
2340 2334
2341 fi 2335 fi
2342 fi 2336 fi
2343 CC=$ac_cv_prog_CC 2337 CC=$ac_cv_prog_CC
2344 if test -n "$CC"; then 2338 if test -n "$CC"; then
2345 echo "$as_me:2345: result: $CC" >&5 2339 echo "$as_me:2339: result: $CC" >&5
2346 echo "${ECHO_T}$CC" >&6 2340 echo "${ECHO_T}$CC" >&6
2347 else 2341 else
2348 echo "$as_me:2348: result: no" >&5 2342 echo "$as_me:2342: result: no" >&5
2349 echo "${ECHO_T}no" >&6 2343 echo "${ECHO_T}no" >&6
2350 fi 2344 fi
2351 2345
2352 fi 2346 fi
2353 if test -z "$ac_cv_prog_CC"; then 2347 if test -z "$ac_cv_prog_CC"; then
2354 ac_ct_CC=$CC 2348 ac_ct_CC=$CC
2355 # Extract the first word of "cc", so it can be a program name with args. 2349 # Extract the first word of "cc", so it can be a program name with args.
2356 set dummy cc; ac_word=$2 2350 set dummy cc; ac_word=$2
2357 echo "$as_me:2357: checking for $ac_word" >&5 2351 echo "$as_me:2351: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6 2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 else 2355 else
2362 if test -n "$ac_ct_CC"; then 2356 if test -n "$ac_ct_CC"; then
2367 for ac_dir in $ac_dummy; do 2361 for ac_dir in $ac_dummy; do
2368 IFS=$ac_save_IFS 2362 IFS=$ac_save_IFS
2369 test -z "$ac_dir" && ac_dir=. 2363 test -z "$ac_dir" && ac_dir=.
2370 $as_executable_p "$ac_dir/$ac_word" || continue 2364 $as_executable_p "$ac_dir/$ac_word" || continue
2371 ac_cv_prog_ac_ct_CC="cc" 2365 ac_cv_prog_ac_ct_CC="cc"
2372 echo "$as_me:2372: found $ac_dir/$ac_word" >&5 2366 echo "$as_me:2366: found $ac_dir/$ac_word" >&5
2373 break 2367 break
2374 done 2368 done
2375 2369
2376 fi 2370 fi
2377 fi 2371 fi
2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2372 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then 2373 if test -n "$ac_ct_CC"; then
2380 echo "$as_me:2380: result: $ac_ct_CC" >&5 2374 echo "$as_me:2374: result: $ac_ct_CC" >&5
2381 echo "${ECHO_T}$ac_ct_CC" >&6 2375 echo "${ECHO_T}$ac_ct_CC" >&6
2382 else 2376 else
2383 echo "$as_me:2383: result: no" >&5 2377 echo "$as_me:2377: result: no" >&5
2384 echo "${ECHO_T}no" >&6 2378 echo "${ECHO_T}no" >&6
2385 fi 2379 fi
2386 2380
2387 CC=$ac_ct_CC 2381 CC=$ac_ct_CC
2388 else 2382 else
2391 2385
2392 fi 2386 fi
2393 if test -z "$CC"; then 2387 if test -z "$CC"; then
2394 # Extract the first word of "cc", so it can be a program name with args. 2388 # Extract the first word of "cc", so it can be a program name with args.
2395 set dummy cc; ac_word=$2 2389 set dummy cc; ac_word=$2
2396 echo "$as_me:2396: checking for $ac_word" >&5 2390 echo "$as_me:2390: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2398 if test "${ac_cv_prog_CC+set}" = set; then 2392 if test "${ac_cv_prog_CC+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6 2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else 2394 else
2401 if test -n "$CC"; then 2395 if test -n "$CC"; then
2411 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2405 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2412 ac_prog_rejected=yes 2406 ac_prog_rejected=yes
2413 continue 2407 continue
2414 fi 2408 fi
2415 ac_cv_prog_CC="cc" 2409 ac_cv_prog_CC="cc"
2416 echo "$as_me:2416: found $ac_dir/$ac_word" >&5 2410 echo "$as_me:2410: found $ac_dir/$ac_word" >&5
2417 break 2411 break
2418 done 2412 done
2419 2413
2420 if test $ac_prog_rejected = yes; then 2414 if test $ac_prog_rejected = yes; then
2421 # We found a bogon in the path, so make sure we never use it. 2415 # We found a bogon in the path, so make sure we never use it.
2433 fi 2427 fi
2434 fi 2428 fi
2435 fi 2429 fi
2436 CC=$ac_cv_prog_CC 2430 CC=$ac_cv_prog_CC
2437 if test -n "$CC"; then 2431 if test -n "$CC"; then
2438 echo "$as_me:2438: result: $CC" >&5 2432 echo "$as_me:2432: result: $CC" >&5
2439 echo "${ECHO_T}$CC" >&6 2433 echo "${ECHO_T}$CC" >&6
2440 else 2434 else
2441 echo "$as_me:2441: result: no" >&5 2435 echo "$as_me:2435: result: no" >&5
2442 echo "${ECHO_T}no" >&6 2436 echo "${ECHO_T}no" >&6
2443 fi 2437 fi
2444 2438
2445 fi 2439 fi
2446 if test -z "$CC"; then 2440 if test -z "$CC"; then
2447 if test -n "$ac_tool_prefix"; then 2441 if test -n "$ac_tool_prefix"; then
2448 for ac_prog in cl 2442 for ac_prog in cl
2449 do 2443 do
2450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2452 echo "$as_me:2452: checking for $ac_word" >&5 2446 echo "$as_me:2446: checking for $ac_word" >&5
2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2454 if test "${ac_cv_prog_CC+set}" = set; then 2448 if test "${ac_cv_prog_CC+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6 2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 else 2450 else
2457 if test -n "$CC"; then 2451 if test -n "$CC"; then
2462 for ac_dir in $ac_dummy; do 2456 for ac_dir in $ac_dummy; do
2463 IFS=$ac_save_IFS 2457 IFS=$ac_save_IFS
2464 test -z "$ac_dir" && ac_dir=. 2458 test -z "$ac_dir" && ac_dir=.
2465 $as_executable_p "$ac_dir/$ac_word" || continue 2459 $as_executable_p "$ac_dir/$ac_word" || continue
2466 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2460 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2467 echo "$as_me:2467: found $ac_dir/$ac_word" >&5 2461 echo "$as_me:2461: found $ac_dir/$ac_word" >&5
2468 break 2462 break
2469 done 2463 done
2470 2464
2471 fi 2465 fi
2472 fi 2466 fi
2473 CC=$ac_cv_prog_CC 2467 CC=$ac_cv_prog_CC
2474 if test -n "$CC"; then 2468 if test -n "$CC"; then
2475 echo "$as_me:2475: result: $CC" >&5 2469 echo "$as_me:2469: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6 2470 echo "${ECHO_T}$CC" >&6
2477 else 2471 else
2478 echo "$as_me:2478: result: no" >&5 2472 echo "$as_me:2472: result: no" >&5
2479 echo "${ECHO_T}no" >&6 2473 echo "${ECHO_T}no" >&6
2480 fi 2474 fi
2481 2475
2482 test -n "$CC" && break 2476 test -n "$CC" && break
2483 done 2477 done
2486 ac_ct_CC=$CC 2480 ac_ct_CC=$CC
2487 for ac_prog in cl 2481 for ac_prog in cl
2488 do 2482 do
2489 # Extract the first word of "$ac_prog", so it can be a program name with args. 2483 # Extract the first word of "$ac_prog", so it can be a program name with args.
2490 set dummy $ac_prog; ac_word=$2 2484 set dummy $ac_prog; ac_word=$2
2491 echo "$as_me:2491: checking for $ac_word" >&5 2485 echo "$as_me:2485: checking for $ac_word" >&5
2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2487 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6 2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 else 2489 else
2496 if test -n "$ac_ct_CC"; then 2490 if test -n "$ac_ct_CC"; then
2501 for ac_dir in $ac_dummy; do 2495 for ac_dir in $ac_dummy; do
2502 IFS=$ac_save_IFS 2496 IFS=$ac_save_IFS
2503 test -z "$ac_dir" && ac_dir=. 2497 test -z "$ac_dir" && ac_dir=.
2504 $as_executable_p "$ac_dir/$ac_word" || continue 2498 $as_executable_p "$ac_dir/$ac_word" || continue
2505 ac_cv_prog_ac_ct_CC="$ac_prog" 2499 ac_cv_prog_ac_ct_CC="$ac_prog"
2506 echo "$as_me:2506: found $ac_dir/$ac_word" >&5 2500 echo "$as_me:2500: found $ac_dir/$ac_word" >&5
2507 break 2501 break
2508 done 2502 done
2509 2503
2510 fi 2504 fi
2511 fi 2505 fi
2512 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2513 if test -n "$ac_ct_CC"; then 2507 if test -n "$ac_ct_CC"; then
2514 echo "$as_me:2514: result: $ac_ct_CC" >&5 2508 echo "$as_me:2508: result: $ac_ct_CC" >&5
2515 echo "${ECHO_T}$ac_ct_CC" >&6 2509 echo "${ECHO_T}$ac_ct_CC" >&6
2516 else 2510 else
2517 echo "$as_me:2517: result: no" >&5 2511 echo "$as_me:2511: result: no" >&5
2518 echo "${ECHO_T}no" >&6 2512 echo "${ECHO_T}no" >&6
2519 fi 2513 fi
2520 2514
2521 test -n "$ac_ct_CC" && break 2515 test -n "$ac_ct_CC" && break
2522 done 2516 done
2524 CC=$ac_ct_CC 2518 CC=$ac_ct_CC
2525 fi 2519 fi
2526 2520
2527 fi 2521 fi
2528 2522
2529 test -z "$CC" && { { echo "$as_me:2529: error: no acceptable cc found in \$PATH" >&5 2523 test -z "$CC" && { { echo "$as_me:2523: error: no acceptable cc found in \$PATH" >&5
2530 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2524 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2531 { (exit 1); exit 1; }; } 2525 { (exit 1); exit 1; }; }
2532 2526
2533 # Provide some information about the compiler. 2527 # Provide some information about the compiler.
2534 echo "$as_me:2534:" \ 2528 echo "$as_me:2528:" \
2535 "checking for C compiler version" >&5 2529 "checking for C compiler version" >&5
2536 ac_compiler=`set X $ac_compile; echo $2` 2530 ac_compiler=`set X $ac_compile; echo $2`
2537 { (eval echo "$as_me:2537: \"$ac_compiler --version </dev/null >&5\"") >&5 2531 { (eval echo "$as_me:2531: \"$ac_compiler --version </dev/null >&5\"") >&5
2538 (eval $ac_compiler --version </dev/null >&5) 2>&5 2532 (eval $ac_compiler --version </dev/null >&5) 2>&5
2539 ac_status=$? 2533 ac_status=$?
2540 echo "$as_me:2540: \$? = $ac_status" >&5 2534 echo "$as_me:2534: \$? = $ac_status" >&5
2541 (exit $ac_status); } 2535 (exit $ac_status); }
2542 { (eval echo "$as_me:2542: \"$ac_compiler -v </dev/null >&5\"") >&5 2536 { (eval echo "$as_me:2536: \"$ac_compiler -v </dev/null >&5\"") >&5
2543 (eval $ac_compiler -v </dev/null >&5) 2>&5 2537 (eval $ac_compiler -v </dev/null >&5) 2>&5
2544 ac_status=$? 2538 ac_status=$?
2545 echo "$as_me:2545: \$? = $ac_status" >&5 2539 echo "$as_me:2539: \$? = $ac_status" >&5
2546 (exit $ac_status); } 2540 (exit $ac_status); }
2547 { (eval echo "$as_me:2547: \"$ac_compiler -V </dev/null >&5\"") >&5 2541 { (eval echo "$as_me:2541: \"$ac_compiler -V </dev/null >&5\"") >&5
2548 (eval $ac_compiler -V </dev/null >&5) 2>&5 2542 (eval $ac_compiler -V </dev/null >&5) 2>&5
2549 ac_status=$? 2543 ac_status=$?
2550 echo "$as_me:2550: \$? = $ac_status" >&5 2544 echo "$as_me:2544: \$? = $ac_status" >&5
2551 (exit $ac_status); } 2545 (exit $ac_status); }
2552 2546
2553 cat >conftest.$ac_ext <<_ACEOF 2547 cat >conftest.$ac_ext <<_ACEOF
2554 #line 2554 "configure" 2548 #line 2548 "configure"
2555 #include "confdefs.h" 2549 #include "confdefs.h"
2556 2550
2557 int 2551 int
2558 main () 2552 main ()
2559 { 2553 {
2565 ac_clean_files_save=$ac_clean_files 2559 ac_clean_files_save=$ac_clean_files
2566 ac_clean_files="$ac_clean_files a.out a.exe" 2560 ac_clean_files="$ac_clean_files a.out a.exe"
2567 # Try to create an executable without -o first, disregard a.out. 2561 # Try to create an executable without -o first, disregard a.out.
2568 # It will help us diagnose broken compilers, and finding out an intuition 2562 # It will help us diagnose broken compilers, and finding out an intuition
2569 # of exeext. 2563 # of exeext.
2570 echo "$as_me:2570: checking for C compiler default output" >&5 2564 echo "$as_me:2564: checking for C compiler default output" >&5
2571 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2565 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2572 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2566 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2573 if { (eval echo "$as_me:2573: \"$ac_link_default\"") >&5 2567 if { (eval echo "$as_me:2567: \"$ac_link_default\"") >&5
2574 (eval $ac_link_default) 2>&5 2568 (eval $ac_link_default) 2>&5
2575 ac_status=$? 2569 ac_status=$?
2576 echo "$as_me:2576: \$? = $ac_status" >&5 2570 echo "$as_me:2570: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then 2571 (exit $ac_status); }; then
2578 # Find the output, starting from the most likely. This scheme is 2572 # Find the output, starting from the most likely. This scheme is
2579 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2573 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2580 # resort. 2574 # resort.
2581 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2575 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2594 esac 2588 esac
2595 done 2589 done
2596 else 2590 else
2597 echo "$as_me: failed program was:" >&5 2591 echo "$as_me: failed program was:" >&5
2598 cat conftest.$ac_ext >&5 2592 cat conftest.$ac_ext >&5
2599 { { echo "$as_me:2599: error: C compiler cannot create executables" >&5 2593 { { echo "$as_me:2593: error: C compiler cannot create executables" >&5
2600 echo "$as_me: error: C compiler cannot create executables" >&2;} 2594 echo "$as_me: error: C compiler cannot create executables" >&2;}
2601 { (exit 77); exit 77; }; } 2595 { (exit 77); exit 77; }; }
2602 fi 2596 fi
2603 2597
2604 ac_exeext=$ac_cv_exeext 2598 ac_exeext=$ac_cv_exeext
2605 echo "$as_me:2605: result: $ac_file" >&5 2599 echo "$as_me:2599: result: $ac_file" >&5
2606 echo "${ECHO_T}$ac_file" >&6 2600 echo "${ECHO_T}$ac_file" >&6
2607 2601
2608 # Check the compiler produces executables we can run. If not, either 2602 # Check the compiler produces executables we can run. If not, either
2609 # the compiler is broken, or we cross compile. 2603 # the compiler is broken, or we cross compile.
2610 echo "$as_me:2610: checking whether the C compiler works" >&5 2604 echo "$as_me:2604: checking whether the C compiler works" >&5
2611 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2605 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2612 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2606 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2613 # If not cross compiling, check that we can run a simple program. 2607 # If not cross compiling, check that we can run a simple program.
2614 if test "$cross_compiling" != yes; then 2608 if test "$cross_compiling" != yes; then
2615 if { ac_try='./$ac_file' 2609 if { ac_try='./$ac_file'
2616 { (eval echo "$as_me:2616: \"$ac_try\"") >&5 2610 { (eval echo "$as_me:2610: \"$ac_try\"") >&5
2617 (eval $ac_try) 2>&5 2611 (eval $ac_try) 2>&5
2618 ac_status=$? 2612 ac_status=$?
2619 echo "$as_me:2619: \$? = $ac_status" >&5 2613 echo "$as_me:2613: \$? = $ac_status" >&5
2620 (exit $ac_status); }; }; then 2614 (exit $ac_status); }; }; then
2621 cross_compiling=no 2615 cross_compiling=no
2622 else 2616 else
2623 if test "$cross_compiling" = maybe; then 2617 if test "$cross_compiling" = maybe; then
2624 cross_compiling=yes 2618 cross_compiling=yes
2625 else 2619 else
2626 { { echo "$as_me:2626: error: cannot run C compiled programs. 2620 { { echo "$as_me:2620: error: cannot run C compiled programs.
2627 If you meant to cross compile, use \`--host'." >&5 2621 If you meant to cross compile, use \`--host'." >&5
2628 echo "$as_me: error: cannot run C compiled programs. 2622 echo "$as_me: error: cannot run C compiled programs.
2629 If you meant to cross compile, use \`--host'." >&2;} 2623 If you meant to cross compile, use \`--host'." >&2;}
2630 { (exit 1); exit 1; }; } 2624 { (exit 1); exit 1; }; }
2631 fi 2625 fi
2632 fi 2626 fi
2633 fi 2627 fi
2634 echo "$as_me:2634: result: yes" >&5 2628 echo "$as_me:2628: result: yes" >&5
2635 echo "${ECHO_T}yes" >&6 2629 echo "${ECHO_T}yes" >&6
2636 2630
2637 rm -f a.out a.exe conftest$ac_cv_exeext 2631 rm -f a.out a.exe conftest$ac_cv_exeext
2638 ac_clean_files=$ac_clean_files_save 2632 ac_clean_files=$ac_clean_files_save
2639 # Check the compiler produces executables we can run. If not, either 2633 # Check the compiler produces executables we can run. If not, either
2640 # the compiler is broken, or we cross compile. 2634 # the compiler is broken, or we cross compile.
2641 echo "$as_me:2641: checking whether we are cross compiling" >&5 2635 echo "$as_me:2635: checking whether we are cross compiling" >&5
2642 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2636 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2643 echo "$as_me:2643: result: $cross_compiling" >&5 2637 echo "$as_me:2637: result: $cross_compiling" >&5
2644 echo "${ECHO_T}$cross_compiling" >&6 2638 echo "${ECHO_T}$cross_compiling" >&6
2645 2639
2646 echo "$as_me:2646: checking for executable suffix" >&5 2640 echo "$as_me:2640: checking for executable suffix" >&5
2647 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2641 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2648 if { (eval echo "$as_me:2648: \"$ac_link\"") >&5 2642 if { (eval echo "$as_me:2642: \"$ac_link\"") >&5
2649 (eval $ac_link) 2>&5 2643 (eval $ac_link) 2>&5
2650 ac_status=$? 2644 ac_status=$?
2651 echo "$as_me:2651: \$? = $ac_status" >&5 2645 echo "$as_me:2645: \$? = $ac_status" >&5
2652 (exit $ac_status); }; then 2646 (exit $ac_status); }; then
2653 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2647 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2654 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2648 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2655 # work properly (i.e., refer to `conftest.exe'), while it won't with 2649 # work properly (i.e., refer to `conftest.exe'), while it won't with
2656 # `rm'. 2650 # `rm'.
2662 break;; 2656 break;;
2663 * ) break;; 2657 * ) break;;
2664 esac 2658 esac
2665 done 2659 done
2666 else 2660 else
2667 { { echo "$as_me:2667: error: cannot compute EXEEXT: cannot compile and link" >&5 2661 { { echo "$as_me:2661: error: cannot compute EXEEXT: cannot compile and link" >&5
2668 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2662 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2669 { (exit 1); exit 1; }; } 2663 { (exit 1); exit 1; }; }
2670 fi 2664 fi
2671 2665
2672 rm -f conftest$ac_cv_exeext 2666 rm -f conftest$ac_cv_exeext
2673 echo "$as_me:2673: result: $ac_cv_exeext" >&5 2667 echo "$as_me:2667: result: $ac_cv_exeext" >&5
2674 echo "${ECHO_T}$ac_cv_exeext" >&6 2668 echo "${ECHO_T}$ac_cv_exeext" >&6
2675 2669
2676 rm -f conftest.$ac_ext 2670 rm -f conftest.$ac_ext
2677 EXEEXT=$ac_cv_exeext 2671 EXEEXT=$ac_cv_exeext
2678 ac_exeext=$EXEEXT 2672 ac_exeext=$EXEEXT
2679 echo "$as_me:2679: checking for object suffix" >&5 2673 echo "$as_me:2673: checking for object suffix" >&5
2680 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2674 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2681 if test "${ac_cv_objext+set}" = set; then 2675 if test "${ac_cv_objext+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6 2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 else 2677 else
2684 cat >conftest.$ac_ext <<_ACEOF 2678 cat >conftest.$ac_ext <<_ACEOF
2685 #line 2685 "configure" 2679 #line 2679 "configure"
2686 #include "confdefs.h" 2680 #include "confdefs.h"
2687 2681
2688 int 2682 int
2689 main () 2683 main ()
2690 { 2684 {
2692 ; 2686 ;
2693 return 0; 2687 return 0;
2694 } 2688 }
2695 _ACEOF 2689 _ACEOF
2696 rm -f conftest.o conftest.obj 2690 rm -f conftest.o conftest.obj
2697 if { (eval echo "$as_me:2697: \"$ac_compile\"") >&5 2691 if { (eval echo "$as_me:2691: \"$ac_compile\"") >&5
2698 (eval $ac_compile) 2>&5 2692 (eval $ac_compile) 2>&5
2699 ac_status=$? 2693 ac_status=$?
2700 echo "$as_me:2700: \$? = $ac_status" >&5 2694 echo "$as_me:2694: \$? = $ac_status" >&5
2701 (exit $ac_status); }; then 2695 (exit $ac_status); }; then
2702 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2696 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2703 case $ac_file in 2697 case $ac_file in
2704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2705 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2699 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2707 esac 2701 esac
2708 done 2702 done
2709 else 2703 else
2710 echo "$as_me: failed program was:" >&5 2704 echo "$as_me: failed program was:" >&5
2711 cat conftest.$ac_ext >&5 2705 cat conftest.$ac_ext >&5
2712 { { echo "$as_me:2712: error: cannot compute OBJEXT: cannot compile" >&5 2706 { { echo "$as_me:2706: error: cannot compute OBJEXT: cannot compile" >&5
2713 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2707 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2714 { (exit 1); exit 1; }; } 2708 { (exit 1); exit 1; }; }
2715 fi 2709 fi
2716 2710
2717 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2711 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2718 fi 2712 fi
2719 echo "$as_me:2719: result: $ac_cv_objext" >&5 2713 echo "$as_me:2713: result: $ac_cv_objext" >&5
2720 echo "${ECHO_T}$ac_cv_objext" >&6 2714 echo "${ECHO_T}$ac_cv_objext" >&6
2721 OBJEXT=$ac_cv_objext 2715 OBJEXT=$ac_cv_objext
2722 ac_objext=$OBJEXT 2716 ac_objext=$OBJEXT
2723 echo "$as_me:2723: checking whether we are using the GNU C compiler" >&5 2717 echo "$as_me:2717: checking whether we are using the GNU C compiler" >&5
2724 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2718 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2725 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2719 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6 2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 else 2721 else
2728 cat >conftest.$ac_ext <<_ACEOF 2722 cat >conftest.$ac_ext <<_ACEOF
2729 #line 2729 "configure" 2723 #line 2723 "configure"
2730 #include "confdefs.h" 2724 #include "confdefs.h"
2731 2725
2732 int 2726 int
2733 main () 2727 main ()
2734 { 2728 {
2739 ; 2733 ;
2740 return 0; 2734 return 0;
2741 } 2735 }
2742 _ACEOF 2736 _ACEOF
2743 rm -f conftest.$ac_objext 2737 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:2744: \"$ac_compile\"") >&5 2738 if { (eval echo "$as_me:2738: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>&5 2739 (eval $ac_compile) 2>&5
2746 ac_status=$? 2740 ac_status=$?
2747 echo "$as_me:2747: \$? = $ac_status" >&5 2741 echo "$as_me:2741: \$? = $ac_status" >&5
2748 (exit $ac_status); } && 2742 (exit $ac_status); } &&
2749 { ac_try='test -s conftest.$ac_objext' 2743 { ac_try='test -s conftest.$ac_objext'
2750 { (eval echo "$as_me:2750: \"$ac_try\"") >&5 2744 { (eval echo "$as_me:2744: \"$ac_try\"") >&5
2751 (eval $ac_try) 2>&5 2745 (eval $ac_try) 2>&5
2752 ac_status=$? 2746 ac_status=$?
2753 echo "$as_me:2753: \$? = $ac_status" >&5 2747 echo "$as_me:2747: \$? = $ac_status" >&5
2754 (exit $ac_status); }; }; then 2748 (exit $ac_status); }; }; then
2755 ac_compiler_gnu=yes 2749 ac_compiler_gnu=yes
2756 else 2750 else
2757 echo "$as_me: failed program was:" >&5 2751 echo "$as_me: failed program was:" >&5
2758 cat conftest.$ac_ext >&5 2752 cat conftest.$ac_ext >&5
2760 fi 2754 fi
2761 rm -f conftest.$ac_objext conftest.$ac_ext 2755 rm -f conftest.$ac_objext conftest.$ac_ext
2762 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2756 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2763 2757
2764 fi 2758 fi
2765 echo "$as_me:2765: result: $ac_cv_c_compiler_gnu" >&5 2759 echo "$as_me:2759: result: $ac_cv_c_compiler_gnu" >&5
2766 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2760 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2767 GCC=`test $ac_compiler_gnu = yes && echo yes` 2761 GCC=`test $ac_compiler_gnu = yes && echo yes`
2768 ac_test_CFLAGS=${CFLAGS+set} 2762 ac_test_CFLAGS=${CFLAGS+set}
2769 ac_save_CFLAGS=$CFLAGS 2763 ac_save_CFLAGS=$CFLAGS
2770 CFLAGS="-g" 2764 CFLAGS="-g"
2771 echo "$as_me:2771: checking whether $CC accepts -g" >&5 2765 echo "$as_me:2765: checking whether $CC accepts -g" >&5
2772 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2766 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2773 if test "${ac_cv_prog_cc_g+set}" = set; then 2767 if test "${ac_cv_prog_cc_g+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6 2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2775 else 2769 else
2776 cat >conftest.$ac_ext <<_ACEOF 2770 cat >conftest.$ac_ext <<_ACEOF
2777 #line 2777 "configure" 2771 #line 2771 "configure"
2778 #include "confdefs.h" 2772 #include "confdefs.h"
2779 2773
2780 int 2774 int
2781 main () 2775 main ()
2782 { 2776 {
2784 ; 2778 ;
2785 return 0; 2779 return 0;
2786 } 2780 }
2787 _ACEOF 2781 _ACEOF
2788 rm -f conftest.$ac_objext 2782 rm -f conftest.$ac_objext
2789 if { (eval echo "$as_me:2789: \"$ac_compile\"") >&5 2783 if { (eval echo "$as_me:2783: \"$ac_compile\"") >&5
2790 (eval $ac_compile) 2>&5 2784 (eval $ac_compile) 2>&5
2791 ac_status=$? 2785 ac_status=$?
2792 echo "$as_me:2792: \$? = $ac_status" >&5 2786 echo "$as_me:2786: \$? = $ac_status" >&5
2793 (exit $ac_status); } && 2787 (exit $ac_status); } &&
2794 { ac_try='test -s conftest.$ac_objext' 2788 { ac_try='test -s conftest.$ac_objext'
2795 { (eval echo "$as_me:2795: \"$ac_try\"") >&5 2789 { (eval echo "$as_me:2789: \"$ac_try\"") >&5
2796 (eval $ac_try) 2>&5 2790 (eval $ac_try) 2>&5
2797 ac_status=$? 2791 ac_status=$?
2798 echo "$as_me:2798: \$? = $ac_status" >&5 2792 echo "$as_me:2792: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then 2793 (exit $ac_status); }; }; then
2800 ac_cv_prog_cc_g=yes 2794 ac_cv_prog_cc_g=yes
2801 else 2795 else
2802 echo "$as_me: failed program was:" >&5 2796 echo "$as_me: failed program was:" >&5
2803 cat conftest.$ac_ext >&5 2797 cat conftest.$ac_ext >&5
2804 ac_cv_prog_cc_g=no 2798 ac_cv_prog_cc_g=no
2805 fi 2799 fi
2806 rm -f conftest.$ac_objext conftest.$ac_ext 2800 rm -f conftest.$ac_objext conftest.$ac_ext
2807 fi 2801 fi
2808 echo "$as_me:2808: result: $ac_cv_prog_cc_g" >&5 2802 echo "$as_me:2802: result: $ac_cv_prog_cc_g" >&5
2809 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2803 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2810 if test "$ac_test_CFLAGS" = set; then 2804 if test "$ac_test_CFLAGS" = set; then
2811 CFLAGS=$ac_save_CFLAGS 2805 CFLAGS=$ac_save_CFLAGS
2812 elif test $ac_cv_prog_cc_g = yes; then 2806 elif test $ac_cv_prog_cc_g = yes; then
2813 if test "$GCC" = yes; then 2807 if test "$GCC" = yes; then
2830 #ifndef __cplusplus 2824 #ifndef __cplusplus
2831 choke me 2825 choke me
2832 #endif 2826 #endif
2833 _ACEOF 2827 _ACEOF
2834 rm -f conftest.$ac_objext 2828 rm -f conftest.$ac_objext
2835 if { (eval echo "$as_me:2835: \"$ac_compile\"") >&5 2829 if { (eval echo "$as_me:2829: \"$ac_compile\"") >&5
2836 (eval $ac_compile) 2>&5 2830 (eval $ac_compile) 2>&5
2837 ac_status=$? 2831 ac_status=$?
2838 echo "$as_me:2838: \$? = $ac_status" >&5 2832 echo "$as_me:2832: \$? = $ac_status" >&5
2839 (exit $ac_status); } && 2833 (exit $ac_status); } &&
2840 { ac_try='test -s conftest.$ac_objext' 2834 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:2841: \"$ac_try\"") >&5 2835 { (eval echo "$as_me:2835: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5 2836 (eval $ac_try) 2>&5
2843 ac_status=$? 2837 ac_status=$?
2844 echo "$as_me:2844: \$? = $ac_status" >&5 2838 echo "$as_me:2838: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then 2839 (exit $ac_status); }; }; then
2846 for ac_declaration in \ 2840 for ac_declaration in \
2847 ''\ 2841 ''\
2848 '#include <stdlib.h>' \ 2842 '#include <stdlib.h>' \
2849 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2843 'extern "C" void std::exit (int) throw (); using std::exit;' \
2851 'extern "C" void exit (int) throw ();' \ 2845 'extern "C" void exit (int) throw ();' \
2852 'extern "C" void exit (int);' \ 2846 'extern "C" void exit (int);' \
2853 'void exit (int);' 2847 'void exit (int);'
2854 do 2848 do
2855 cat >conftest.$ac_ext <<_ACEOF 2849 cat >conftest.$ac_ext <<_ACEOF
2856 #line 2856 "configure" 2850 #line 2850 "configure"
2857 #include "confdefs.h" 2851 #include "confdefs.h"
2858 #include <stdlib.h> 2852 #include <stdlib.h>
2859 $ac_declaration 2853 $ac_declaration
2860 int 2854 int
2861 main () 2855 main ()
2864 ; 2858 ;
2865 return 0; 2859 return 0;
2866 } 2860 }
2867 _ACEOF 2861 _ACEOF
2868 rm -f conftest.$ac_objext 2862 rm -f conftest.$ac_objext
2869 if { (eval echo "$as_me:2869: \"$ac_compile\"") >&5 2863 if { (eval echo "$as_me:2863: \"$ac_compile\"") >&5
2870 (eval $ac_compile) 2>&5 2864 (eval $ac_compile) 2>&5
2871 ac_status=$? 2865 ac_status=$?
2872 echo "$as_me:2872: \$? = $ac_status" >&5 2866 echo "$as_me:2866: \$? = $ac_status" >&5
2873 (exit $ac_status); } && 2867 (exit $ac_status); } &&
2874 { ac_try='test -s conftest.$ac_objext' 2868 { ac_try='test -s conftest.$ac_objext'
2875 { (eval echo "$as_me:2875: \"$ac_try\"") >&5 2869 { (eval echo "$as_me:2869: \"$ac_try\"") >&5
2876 (eval $ac_try) 2>&5 2870 (eval $ac_try) 2>&5
2877 ac_status=$? 2871 ac_status=$?
2878 echo "$as_me:2878: \$? = $ac_status" >&5 2872 echo "$as_me:2872: \$? = $ac_status" >&5
2879 (exit $ac_status); }; }; then 2873 (exit $ac_status); }; }; then
2880 : 2874 :
2881 else 2875 else
2882 echo "$as_me: failed program was:" >&5 2876 echo "$as_me: failed program was:" >&5
2883 cat conftest.$ac_ext >&5 2877 cat conftest.$ac_ext >&5
2884 continue 2878 continue
2885 fi 2879 fi
2886 rm -f conftest.$ac_objext conftest.$ac_ext 2880 rm -f conftest.$ac_objext conftest.$ac_ext
2887 cat >conftest.$ac_ext <<_ACEOF 2881 cat >conftest.$ac_ext <<_ACEOF
2888 #line 2888 "configure" 2882 #line 2882 "configure"
2889 #include "confdefs.h" 2883 #include "confdefs.h"
2890 $ac_declaration 2884 $ac_declaration
2891 int 2885 int
2892 main () 2886 main ()
2893 { 2887 {
2895 ; 2889 ;
2896 return 0; 2890 return 0;
2897 } 2891 }
2898 _ACEOF 2892 _ACEOF
2899 rm -f conftest.$ac_objext 2893 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:2900: \"$ac_compile\"") >&5 2894 if { (eval echo "$as_me:2894: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>&5 2895 (eval $ac_compile) 2>&5
2902 ac_status=$? 2896 ac_status=$?
2903 echo "$as_me:2903: \$? = $ac_status" >&5 2897 echo "$as_me:2897: \$? = $ac_status" >&5
2904 (exit $ac_status); } && 2898 (exit $ac_status); } &&
2905 { ac_try='test -s conftest.$ac_objext' 2899 { ac_try='test -s conftest.$ac_objext'
2906 { (eval echo "$as_me:2906: \"$ac_try\"") >&5 2900 { (eval echo "$as_me:2900: \"$ac_try\"") >&5
2907 (eval $ac_try) 2>&5 2901 (eval $ac_try) 2>&5
2908 ac_status=$? 2902 ac_status=$?
2909 echo "$as_me:2909: \$? = $ac_status" >&5 2903 echo "$as_me:2903: \$? = $ac_status" >&5
2910 (exit $ac_status); }; }; then 2904 (exit $ac_status); }; }; then
2911 break 2905 break
2912 else 2906 else
2913 echo "$as_me: failed program was:" >&5 2907 echo "$as_me: failed program was:" >&5
2914 cat conftest.$ac_ext >&5 2908 cat conftest.$ac_ext >&5
2977 2971
2978 #### Some other nice autoconf tests. If you add a test here which 2972 #### Some other nice autoconf tests. If you add a test here which
2979 #### should make an entry in src/config.h, don't forget to add an 2973 #### should make an entry in src/config.h, don't forget to add an
2980 #### #undef clause to src/config.h.in for autoconf to modify. 2974 #### #undef clause to src/config.h.in for autoconf to modify.
2981 2975
2982 echo "$as_me:2982: checking whether ln -s works" >&5 2976 echo "$as_me:2976: checking whether ln -s works" >&5
2983 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2977 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2984 LN_S=$as_ln_s 2978 LN_S=$as_ln_s
2985 if test "$LN_S" = "ln -s"; then 2979 if test "$LN_S" = "ln -s"; then
2986 echo "$as_me:2986: result: yes" >&5 2980 echo "$as_me:2980: result: yes" >&5
2987 echo "${ECHO_T}yes" >&6 2981 echo "${ECHO_T}yes" >&6
2988 else 2982 else
2989 echo "$as_me:2989: result: no, using $LN_S" >&5 2983 echo "$as_me:2983: result: no, using $LN_S" >&5
2990 echo "${ECHO_T}no, using $LN_S" >&6 2984 echo "${ECHO_T}no, using $LN_S" >&6
2991 fi 2985 fi
2992 2986
2993 ac_ext=c 2987 ac_ext=c
2994 ac_cpp='$CPP $CPPFLAGS' 2988 ac_cpp='$CPP $CPPFLAGS'
2995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998 echo "$as_me:2998: checking how to run the C preprocessor" >&5 2992 echo "$as_me:2992: checking how to run the C preprocessor" >&5
2999 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2993 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3000 # On Suns, sometimes $CPP names a directory. 2994 # On Suns, sometimes $CPP names a directory.
3001 if test -n "$CPP" && test -d "$CPP"; then 2995 if test -n "$CPP" && test -d "$CPP"; then
3002 CPP= 2996 CPP=
3003 fi 2997 fi
3014 # Use a header file that comes with gcc, so configuring glibc 3008 # Use a header file that comes with gcc, so configuring glibc
3015 # with a fresh cross-compiler works. 3009 # with a fresh cross-compiler works.
3016 # On the NeXT, cc -E runs the code through the compiler's parser, 3010 # On the NeXT, cc -E runs the code through the compiler's parser,
3017 # not just through cpp. "Syntax error" is here to catch this case. 3011 # not just through cpp. "Syntax error" is here to catch this case.
3018 cat >conftest.$ac_ext <<_ACEOF 3012 cat >conftest.$ac_ext <<_ACEOF
3019 #line 3019 "configure" 3013 #line 3013 "configure"
3020 #include "confdefs.h" 3014 #include "confdefs.h"
3021 #include <assert.h> 3015 #include <assert.h>
3022 Syntax error 3016 Syntax error
3023 _ACEOF 3017 _ACEOF
3024 if { (eval echo "$as_me:3024: \"$ac_cpp conftest.$ac_ext\"") >&5 3018 if { (eval echo "$as_me:3018: \"$ac_cpp conftest.$ac_ext\"") >&5
3025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3026 ac_status=$? 3020 ac_status=$?
3027 egrep -v '^ *\+' conftest.er1 >conftest.err 3021 egrep -v '^ *\+' conftest.er1 >conftest.err
3028 rm -f conftest.er1 3022 rm -f conftest.er1
3029 cat conftest.err >&5 3023 cat conftest.err >&5
3030 echo "$as_me:3030: \$? = $ac_status" >&5 3024 echo "$as_me:3024: \$? = $ac_status" >&5
3031 (exit $ac_status); } >/dev/null; then 3025 (exit $ac_status); } >/dev/null; then
3032 if test -s conftest.err; then 3026 if test -s conftest.err; then
3033 ac_cpp_err=$ac_c_preproc_warn_flag 3027 ac_cpp_err=$ac_c_preproc_warn_flag
3034 else 3028 else
3035 ac_cpp_err= 3029 ac_cpp_err=
3048 rm -f conftest.err conftest.$ac_ext 3042 rm -f conftest.err conftest.$ac_ext
3049 3043
3050 # OK, works on sane cases. Now check whether non-existent headers 3044 # OK, works on sane cases. Now check whether non-existent headers
3051 # can be detected and how. 3045 # can be detected and how.
3052 cat >conftest.$ac_ext <<_ACEOF 3046 cat >conftest.$ac_ext <<_ACEOF
3053 #line 3053 "configure" 3047 #line 3047 "configure"
3054 #include "confdefs.h" 3048 #include "confdefs.h"
3055 #include <ac_nonexistent.h> 3049 #include <ac_nonexistent.h>
3056 _ACEOF 3050 _ACEOF
3057 if { (eval echo "$as_me:3057: \"$ac_cpp conftest.$ac_ext\"") >&5 3051 if { (eval echo "$as_me:3051: \"$ac_cpp conftest.$ac_ext\"") >&5
3058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3059 ac_status=$? 3053 ac_status=$?
3060 egrep -v '^ *\+' conftest.er1 >conftest.err 3054 egrep -v '^ *\+' conftest.er1 >conftest.err
3061 rm -f conftest.er1 3055 rm -f conftest.er1
3062 cat conftest.err >&5 3056 cat conftest.err >&5
3063 echo "$as_me:3063: \$? = $ac_status" >&5 3057 echo "$as_me:3057: \$? = $ac_status" >&5
3064 (exit $ac_status); } >/dev/null; then 3058 (exit $ac_status); } >/dev/null; then
3065 if test -s conftest.err; then 3059 if test -s conftest.err; then
3066 ac_cpp_err=$ac_c_preproc_warn_flag 3060 ac_cpp_err=$ac_c_preproc_warn_flag
3067 else 3061 else
3068 ac_cpp_err= 3062 ac_cpp_err=
3095 fi 3089 fi
3096 CPP=$ac_cv_prog_CPP 3090 CPP=$ac_cv_prog_CPP
3097 else 3091 else
3098 ac_cv_prog_CPP=$CPP 3092 ac_cv_prog_CPP=$CPP
3099 fi 3093 fi
3100 echo "$as_me:3100: result: $CPP" >&5 3094 echo "$as_me:3094: result: $CPP" >&5
3101 echo "${ECHO_T}$CPP" >&6 3095 echo "${ECHO_T}$CPP" >&6
3102 ac_preproc_ok=false 3096 ac_preproc_ok=false
3103 for ac_c_preproc_warn_flag in '' yes 3097 for ac_c_preproc_warn_flag in '' yes
3104 do 3098 do
3105 # Use a header file that comes with gcc, so configuring glibc 3099 # Use a header file that comes with gcc, so configuring glibc
3106 # with a fresh cross-compiler works. 3100 # with a fresh cross-compiler works.
3107 # On the NeXT, cc -E runs the code through the compiler's parser, 3101 # On the NeXT, cc -E runs the code through the compiler's parser,
3108 # not just through cpp. "Syntax error" is here to catch this case. 3102 # not just through cpp. "Syntax error" is here to catch this case.
3109 cat >conftest.$ac_ext <<_ACEOF 3103 cat >conftest.$ac_ext <<_ACEOF
3110 #line 3110 "configure" 3104 #line 3104 "configure"
3111 #include "confdefs.h" 3105 #include "confdefs.h"
3112 #include <assert.h> 3106 #include <assert.h>
3113 Syntax error 3107 Syntax error
3114 _ACEOF 3108 _ACEOF
3115 if { (eval echo "$as_me:3115: \"$ac_cpp conftest.$ac_ext\"") >&5 3109 if { (eval echo "$as_me:3109: \"$ac_cpp conftest.$ac_ext\"") >&5
3116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3117 ac_status=$? 3111 ac_status=$?
3118 egrep -v '^ *\+' conftest.er1 >conftest.err 3112 egrep -v '^ *\+' conftest.er1 >conftest.err
3119 rm -f conftest.er1 3113 rm -f conftest.er1
3120 cat conftest.err >&5 3114 cat conftest.err >&5
3121 echo "$as_me:3121: \$? = $ac_status" >&5 3115 echo "$as_me:3115: \$? = $ac_status" >&5
3122 (exit $ac_status); } >/dev/null; then 3116 (exit $ac_status); } >/dev/null; then
3123 if test -s conftest.err; then 3117 if test -s conftest.err; then
3124 ac_cpp_err=$ac_c_preproc_warn_flag 3118 ac_cpp_err=$ac_c_preproc_warn_flag
3125 else 3119 else
3126 ac_cpp_err= 3120 ac_cpp_err=
3139 rm -f conftest.err conftest.$ac_ext 3133 rm -f conftest.err conftest.$ac_ext
3140 3134
3141 # OK, works on sane cases. Now check whether non-existent headers 3135 # OK, works on sane cases. Now check whether non-existent headers
3142 # can be detected and how. 3136 # can be detected and how.
3143 cat >conftest.$ac_ext <<_ACEOF 3137 cat >conftest.$ac_ext <<_ACEOF
3144 #line 3144 "configure" 3138 #line 3138 "configure"
3145 #include "confdefs.h" 3139 #include "confdefs.h"
3146 #include <ac_nonexistent.h> 3140 #include <ac_nonexistent.h>
3147 _ACEOF 3141 _ACEOF
3148 if { (eval echo "$as_me:3148: \"$ac_cpp conftest.$ac_ext\"") >&5 3142 if { (eval echo "$as_me:3142: \"$ac_cpp conftest.$ac_ext\"") >&5
3149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3150 ac_status=$? 3144 ac_status=$?
3151 egrep -v '^ *\+' conftest.er1 >conftest.err 3145 egrep -v '^ *\+' conftest.er1 >conftest.err
3152 rm -f conftest.er1 3146 rm -f conftest.er1
3153 cat conftest.err >&5 3147 cat conftest.err >&5
3154 echo "$as_me:3154: \$? = $ac_status" >&5 3148 echo "$as_me:3148: \$? = $ac_status" >&5
3155 (exit $ac_status); } >/dev/null; then 3149 (exit $ac_status); } >/dev/null; then
3156 if test -s conftest.err; then 3150 if test -s conftest.err; then
3157 ac_cpp_err=$ac_c_preproc_warn_flag 3151 ac_cpp_err=$ac_c_preproc_warn_flag
3158 else 3152 else
3159 ac_cpp_err= 3153 ac_cpp_err=
3177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3178 rm -f conftest.err conftest.$ac_ext 3172 rm -f conftest.err conftest.$ac_ext
3179 if $ac_preproc_ok; then 3173 if $ac_preproc_ok; then
3180 : 3174 :
3181 else 3175 else
3182 { { echo "$as_me:3182: error: C preprocessor \"$CPP\" fails sanity check" >&5 3176 { { echo "$as_me:3176: error: C preprocessor \"$CPP\" fails sanity check" >&5
3183 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3177 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3184 { (exit 1); exit 1; }; } 3178 { (exit 1); exit 1; }; }
3185 fi 3179 fi
3186 3180
3187 ac_ext=c 3181 ac_ext=c
3200 # AmigaOS /C/install, which installs bootblocks on floppy discs 3194 # AmigaOS /C/install, which installs bootblocks on floppy discs
3201 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3195 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3202 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3196 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3203 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3197 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3204 # ./install, which can be erroneously created by make from ./install.sh. 3198 # ./install, which can be erroneously created by make from ./install.sh.
3205 echo "$as_me:3205: checking for a BSD compatible install" >&5 3199 echo "$as_me:3199: checking for a BSD compatible install" >&5
3206 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3200 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3207 if test -z "$INSTALL"; then 3201 if test -z "$INSTALL"; then
3208 if test "${ac_cv_path_install+set}" = set; then 3202 if test "${ac_cv_path_install+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6 3203 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 else 3204 else
3249 # break other packages using the cache if that directory is 3243 # break other packages using the cache if that directory is
3250 # removed, or if the path is relative. 3244 # removed, or if the path is relative.
3251 INSTALL=$ac_install_sh 3245 INSTALL=$ac_install_sh
3252 fi 3246 fi
3253 fi 3247 fi
3254 echo "$as_me:3254: result: $INSTALL" >&5 3248 echo "$as_me:3248: result: $INSTALL" >&5
3255 echo "${ECHO_T}$INSTALL" >&6 3249 echo "${ECHO_T}$INSTALL" >&6
3256 3250
3257 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3251 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3258 # It thinks the first close brace ends the variable substitution. 3252 # It thinks the first close brace ends the variable substitution.
3259 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3253 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3264 3258
3265 for ac_prog in 'bison -y' byacc 3259 for ac_prog in 'bison -y' byacc
3266 do 3260 do
3267 # Extract the first word of "$ac_prog", so it can be a program name with args. 3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3268 set dummy $ac_prog; ac_word=$2 3262 set dummy $ac_prog; ac_word=$2
3269 echo "$as_me:3269: checking for $ac_word" >&5 3263 echo "$as_me:3263: checking for $ac_word" >&5
3270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3271 if test "${ac_cv_prog_YACC+set}" = set; then 3265 if test "${ac_cv_prog_YACC+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6 3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3273 else 3267 else
3274 if test -n "$YACC"; then 3268 if test -n "$YACC"; then
3279 for ac_dir in $ac_dummy; do 3273 for ac_dir in $ac_dummy; do
3280 IFS=$ac_save_IFS 3274 IFS=$ac_save_IFS
3281 test -z "$ac_dir" && ac_dir=. 3275 test -z "$ac_dir" && ac_dir=.
3282 $as_executable_p "$ac_dir/$ac_word" || continue 3276 $as_executable_p "$ac_dir/$ac_word" || continue
3283 ac_cv_prog_YACC="$ac_prog" 3277 ac_cv_prog_YACC="$ac_prog"
3284 echo "$as_me:3284: found $ac_dir/$ac_word" >&5 3278 echo "$as_me:3278: found $ac_dir/$ac_word" >&5
3285 break 3279 break
3286 done 3280 done
3287 3281
3288 fi 3282 fi
3289 fi 3283 fi
3290 YACC=$ac_cv_prog_YACC 3284 YACC=$ac_cv_prog_YACC
3291 if test -n "$YACC"; then 3285 if test -n "$YACC"; then
3292 echo "$as_me:3292: result: $YACC" >&5 3286 echo "$as_me:3286: result: $YACC" >&5
3293 echo "${ECHO_T}$YACC" >&6 3287 echo "${ECHO_T}$YACC" >&6
3294 else 3288 else
3295 echo "$as_me:3295: result: no" >&5 3289 echo "$as_me:3289: result: no" >&5
3296 echo "${ECHO_T}no" >&6 3290 echo "${ECHO_T}no" >&6
3297 fi 3291 fi
3298 3292
3299 test -n "$YACC" && break 3293 test -n "$YACC" && break
3300 done 3294 done
3302 3296
3303 if test "x$RANLIB" = x; then 3297 if test "x$RANLIB" = x; then
3304 if test -n "$ac_tool_prefix"; then 3298 if test -n "$ac_tool_prefix"; then
3305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3300 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3307 echo "$as_me:3307: checking for $ac_word" >&5 3301 echo "$as_me:3301: checking for $ac_word" >&5
3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3309 if test "${ac_cv_prog_RANLIB+set}" = set; then 3303 if test "${ac_cv_prog_RANLIB+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6 3304 echo $ECHO_N "(cached) $ECHO_C" >&6
3311 else 3305 else
3312 if test -n "$RANLIB"; then 3306 if test -n "$RANLIB"; then
3317 for ac_dir in $ac_dummy; do 3311 for ac_dir in $ac_dummy; do
3318 IFS=$ac_save_IFS 3312 IFS=$ac_save_IFS
3319 test -z "$ac_dir" && ac_dir=. 3313 test -z "$ac_dir" && ac_dir=.
3320 $as_executable_p "$ac_dir/$ac_word" || continue 3314 $as_executable_p "$ac_dir/$ac_word" || continue
3321 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3315 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3322 echo "$as_me:3322: found $ac_dir/$ac_word" >&5 3316 echo "$as_me:3316: found $ac_dir/$ac_word" >&5
3323 break 3317 break
3324 done 3318 done
3325 3319
3326 fi 3320 fi
3327 fi 3321 fi
3328 RANLIB=$ac_cv_prog_RANLIB 3322 RANLIB=$ac_cv_prog_RANLIB
3329 if test -n "$RANLIB"; then 3323 if test -n "$RANLIB"; then
3330 echo "$as_me:3330: result: $RANLIB" >&5 3324 echo "$as_me:3324: result: $RANLIB" >&5
3331 echo "${ECHO_T}$RANLIB" >&6 3325 echo "${ECHO_T}$RANLIB" >&6
3332 else 3326 else
3333 echo "$as_me:3333: result: no" >&5 3327 echo "$as_me:3327: result: no" >&5
3334 echo "${ECHO_T}no" >&6 3328 echo "${ECHO_T}no" >&6
3335 fi 3329 fi
3336 3330
3337 fi 3331 fi
3338 if test -z "$ac_cv_prog_RANLIB"; then 3332 if test -z "$ac_cv_prog_RANLIB"; then
3339 ac_ct_RANLIB=$RANLIB 3333 ac_ct_RANLIB=$RANLIB
3340 # Extract the first word of "ranlib", so it can be a program name with args. 3334 # Extract the first word of "ranlib", so it can be a program name with args.
3341 set dummy ranlib; ac_word=$2 3335 set dummy ranlib; ac_word=$2
3342 echo "$as_me:3342: checking for $ac_word" >&5 3336 echo "$as_me:3336: checking for $ac_word" >&5
3343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3344 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3338 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6 3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 else 3340 else
3347 if test -n "$ac_ct_RANLIB"; then 3341 if test -n "$ac_ct_RANLIB"; then
3352 for ac_dir in $ac_dummy; do 3346 for ac_dir in $ac_dummy; do
3353 IFS=$ac_save_IFS 3347 IFS=$ac_save_IFS
3354 test -z "$ac_dir" && ac_dir=. 3348 test -z "$ac_dir" && ac_dir=.
3355 $as_executable_p "$ac_dir/$ac_word" || continue 3349 $as_executable_p "$ac_dir/$ac_word" || continue
3356 ac_cv_prog_ac_ct_RANLIB="ranlib" 3350 ac_cv_prog_ac_ct_RANLIB="ranlib"
3357 echo "$as_me:3357: found $ac_dir/$ac_word" >&5 3351 echo "$as_me:3351: found $ac_dir/$ac_word" >&5
3358 break 3352 break
3359 done 3353 done
3360 3354
3361 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3355 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3362 fi 3356 fi
3363 fi 3357 fi
3364 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3358 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3365 if test -n "$ac_ct_RANLIB"; then 3359 if test -n "$ac_ct_RANLIB"; then
3366 echo "$as_me:3366: result: $ac_ct_RANLIB" >&5 3360 echo "$as_me:3360: result: $ac_ct_RANLIB" >&5
3367 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3361 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3368 else 3362 else
3369 echo "$as_me:3369: result: no" >&5 3363 echo "$as_me:3363: result: no" >&5
3370 echo "${ECHO_T}no" >&6 3364 echo "${ECHO_T}no" >&6
3371 fi 3365 fi
3372 3366
3373 RANLIB=$ac_ct_RANLIB 3367 RANLIB=$ac_ct_RANLIB
3374 else 3368 else
3375 RANLIB="$ac_cv_prog_RANLIB" 3369 RANLIB="$ac_cv_prog_RANLIB"
3376 fi 3370 fi
3377 3371
3378 fi 3372 fi
3379 3373
3380 echo "$as_me:3380: checking for AIX" >&5 3374 echo "$as_me:3374: checking for AIX" >&5
3381 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3375 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3382 cat >conftest.$ac_ext <<_ACEOF 3376 cat >conftest.$ac_ext <<_ACEOF
3383 #line 3383 "configure" 3377 #line 3377 "configure"
3384 #include "confdefs.h" 3378 #include "confdefs.h"
3385 #ifdef _AIX 3379 #ifdef _AIX
3386 yes 3380 yes
3387 #endif 3381 #endif
3388 3382
3389 _ACEOF 3383 _ACEOF
3390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3391 egrep "yes" >/dev/null 2>&1; then 3385 egrep "yes" >/dev/null 2>&1; then
3392 echo "$as_me:3392: result: yes" >&5 3386 echo "$as_me:3386: result: yes" >&5
3393 echo "${ECHO_T}yes" >&6 3387 echo "${ECHO_T}yes" >&6
3394 cat >>confdefs.h <<\EOF 3388 cat >>confdefs.h <<\EOF
3395 #define _ALL_SOURCE 1 3389 #define _ALL_SOURCE 1
3396 EOF 3390 EOF
3397 3391
3398 else 3392 else
3399 echo "$as_me:3399: result: no" >&5 3393 echo "$as_me:3393: result: no" >&5
3400 echo "${ECHO_T}no" >&6 3394 echo "${ECHO_T}no" >&6
3401 fi 3395 fi
3402 rm -f conftest* 3396 rm -f conftest*
3403 3397
3404 #### Extract some information from the operating system and machine files. 3398 #### Extract some information from the operating system and machine files.
3405 3399
3406 { echo "$as_me:3406: checking the machine- and system-dependent files to find out 3400 { echo "$as_me:3400: checking the machine- and system-dependent files to find out
3407 - which libraries the lib-src programs will want, and 3401 - which libraries the lib-src programs will want, and
3408 - whether the GNU malloc routines are usable..." >&5 3402 - whether the GNU malloc routines are usable..." >&5
3409 echo "$as_me: checking the machine- and system-dependent files to find out 3403 echo "$as_me: checking the machine- and system-dependent files to find out
3410 - which libraries the lib-src programs will want, and 3404 - which libraries the lib-src programs will want, and
3411 - whether the GNU malloc routines are usable..." >&6;} 3405 - whether the GNU malloc routines are usable..." >&6;}
3551 enableval="$enable_largefile" 3545 enableval="$enable_largefile"
3552 3546
3553 fi; 3547 fi;
3554 if test "$enable_largefile" != no; then 3548 if test "$enable_largefile" != no; then
3555 3549
3556 echo "$as_me:3556: checking for special C compiler options needed for large files" >&5 3550 echo "$as_me:3550: checking for special C compiler options needed for large files" >&5
3557 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3551 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3558 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3552 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6 3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 else 3554 else
3561 ac_cv_sys_largefile_CC=no 3555 ac_cv_sys_largefile_CC=no
3563 ac_save_CC=$CC 3557 ac_save_CC=$CC
3564 while :; do 3558 while :; do
3565 # IRIX 6.2 and later do not support large files by default, 3559 # IRIX 6.2 and later do not support large files by default,
3566 # so use the C compiler's -n32 option if that helps. 3560 # so use the C compiler's -n32 option if that helps.
3567 cat >conftest.$ac_ext <<_ACEOF 3561 cat >conftest.$ac_ext <<_ACEOF
3568 #line 3568 "configure" 3562 #line 3562 "configure"
3569 #include "confdefs.h" 3563 #include "confdefs.h"
3570 #include <sys/types.h> 3564 #include <sys/types.h>
3571 /* Check that off_t can represent 2**63 - 1 correctly. 3565 /* Check that off_t can represent 2**63 - 1 correctly.
3572 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3566 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3573 since some C++ compilers masquerading as C compilers 3567 since some C++ compilers masquerading as C compilers
3583 ; 3577 ;
3584 return 0; 3578 return 0;
3585 } 3579 }
3586 _ACEOF 3580 _ACEOF
3587 rm -f conftest.$ac_objext 3581 rm -f conftest.$ac_objext
3588 if { (eval echo "$as_me:3588: \"$ac_compile\"") >&5 3582 if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5
3589 (eval $ac_compile) 2>&5 3583 (eval $ac_compile) 2>&5
3590 ac_status=$? 3584 ac_status=$?
3591 echo "$as_me:3591: \$? = $ac_status" >&5 3585 echo "$as_me:3585: \$? = $ac_status" >&5
3592 (exit $ac_status); } && 3586 (exit $ac_status); } &&
3593 { ac_try='test -s conftest.$ac_objext' 3587 { ac_try='test -s conftest.$ac_objext'
3594 { (eval echo "$as_me:3594: \"$ac_try\"") >&5 3588 { (eval echo "$as_me:3588: \"$ac_try\"") >&5
3595 (eval $ac_try) 2>&5 3589 (eval $ac_try) 2>&5
3596 ac_status=$? 3590 ac_status=$?
3597 echo "$as_me:3597: \$? = $ac_status" >&5 3591 echo "$as_me:3591: \$? = $ac_status" >&5
3598 (exit $ac_status); }; }; then 3592 (exit $ac_status); }; }; then
3599 break 3593 break
3600 else 3594 else
3601 echo "$as_me: failed program was:" >&5 3595 echo "$as_me: failed program was:" >&5
3602 cat conftest.$ac_ext >&5 3596 cat conftest.$ac_ext >&5
3603 fi 3597 fi
3604 rm -f conftest.$ac_objext 3598 rm -f conftest.$ac_objext
3605 CC="$CC -n32" 3599 CC="$CC -n32"
3606 rm -f conftest.$ac_objext 3600 rm -f conftest.$ac_objext
3607 if { (eval echo "$as_me:3607: \"$ac_compile\"") >&5 3601 if { (eval echo "$as_me:3601: \"$ac_compile\"") >&5
3608 (eval $ac_compile) 2>&5 3602 (eval $ac_compile) 2>&5
3609 ac_status=$? 3603 ac_status=$?
3610 echo "$as_me:3610: \$? = $ac_status" >&5 3604 echo "$as_me:3604: \$? = $ac_status" >&5
3611 (exit $ac_status); } && 3605 (exit $ac_status); } &&
3612 { ac_try='test -s conftest.$ac_objext' 3606 { ac_try='test -s conftest.$ac_objext'
3613 { (eval echo "$as_me:3613: \"$ac_try\"") >&5 3607 { (eval echo "$as_me:3607: \"$ac_try\"") >&5
3614 (eval $ac_try) 2>&5 3608 (eval $ac_try) 2>&5
3615 ac_status=$? 3609 ac_status=$?
3616 echo "$as_me:3616: \$? = $ac_status" >&5 3610 echo "$as_me:3610: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then 3611 (exit $ac_status); }; }; then
3618 ac_cv_sys_largefile_CC=' -n32'; break 3612 ac_cv_sys_largefile_CC=' -n32'; break
3619 else 3613 else
3620 echo "$as_me: failed program was:" >&5 3614 echo "$as_me: failed program was:" >&5
3621 cat conftest.$ac_ext >&5 3615 cat conftest.$ac_ext >&5
3625 done 3619 done
3626 CC=$ac_save_CC 3620 CC=$ac_save_CC
3627 rm -f conftest.$ac_ext 3621 rm -f conftest.$ac_ext
3628 fi 3622 fi
3629 fi 3623 fi
3630 echo "$as_me:3630: result: $ac_cv_sys_largefile_CC" >&5 3624 echo "$as_me:3624: result: $ac_cv_sys_largefile_CC" >&5
3631 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3625 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3632 if test "$ac_cv_sys_largefile_CC" != no; then 3626 if test "$ac_cv_sys_largefile_CC" != no; then
3633 CC=$CC$ac_cv_sys_largefile_CC 3627 CC=$CC$ac_cv_sys_largefile_CC
3634 fi 3628 fi
3635 3629
3636 echo "$as_me:3636: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3630 echo "$as_me:3630: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3637 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3631 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3638 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3632 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6 3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 else 3634 else
3641 while :; do 3635 while :; do
3642 ac_cv_sys_file_offset_bits=no 3636 ac_cv_sys_file_offset_bits=no
3643 cat >conftest.$ac_ext <<_ACEOF 3637 cat >conftest.$ac_ext <<_ACEOF
3644 #line 3644 "configure" 3638 #line 3638 "configure"
3645 #include "confdefs.h" 3639 #include "confdefs.h"
3646 #include <sys/types.h> 3640 #include <sys/types.h>
3647 /* Check that off_t can represent 2**63 - 1 correctly. 3641 /* Check that off_t can represent 2**63 - 1 correctly.
3648 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3649 since some C++ compilers masquerading as C compilers 3643 since some C++ compilers masquerading as C compilers
3659 ; 3653 ;
3660 return 0; 3654 return 0;
3661 } 3655 }
3662 _ACEOF 3656 _ACEOF
3663 rm -f conftest.$ac_objext 3657 rm -f conftest.$ac_objext
3664 if { (eval echo "$as_me:3664: \"$ac_compile\"") >&5 3658 if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5
3665 (eval $ac_compile) 2>&5 3659 (eval $ac_compile) 2>&5
3666 ac_status=$? 3660 ac_status=$?
3667 echo "$as_me:3667: \$? = $ac_status" >&5 3661 echo "$as_me:3661: \$? = $ac_status" >&5
3668 (exit $ac_status); } && 3662 (exit $ac_status); } &&
3669 { ac_try='test -s conftest.$ac_objext' 3663 { ac_try='test -s conftest.$ac_objext'
3670 { (eval echo "$as_me:3670: \"$ac_try\"") >&5 3664 { (eval echo "$as_me:3664: \"$ac_try\"") >&5
3671 (eval $ac_try) 2>&5 3665 (eval $ac_try) 2>&5
3672 ac_status=$? 3666 ac_status=$?
3673 echo "$as_me:3673: \$? = $ac_status" >&5 3667 echo "$as_me:3667: \$? = $ac_status" >&5
3674 (exit $ac_status); }; }; then 3668 (exit $ac_status); }; }; then
3675 break 3669 break
3676 else 3670 else
3677 echo "$as_me: failed program was:" >&5 3671 echo "$as_me: failed program was:" >&5
3678 cat conftest.$ac_ext >&5 3672 cat conftest.$ac_ext >&5
3679 fi 3673 fi
3680 rm -f conftest.$ac_objext conftest.$ac_ext 3674 rm -f conftest.$ac_objext conftest.$ac_ext
3681 cat >conftest.$ac_ext <<_ACEOF 3675 cat >conftest.$ac_ext <<_ACEOF
3682 #line 3682 "configure" 3676 #line 3676 "configure"
3683 #include "confdefs.h" 3677 #include "confdefs.h"
3684 #define _FILE_OFFSET_BITS 64 3678 #define _FILE_OFFSET_BITS 64
3685 #include <sys/types.h> 3679 #include <sys/types.h>
3686 /* Check that off_t can represent 2**63 - 1 correctly. 3680 /* Check that off_t can represent 2**63 - 1 correctly.
3687 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3681 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3698 ; 3692 ;
3699 return 0; 3693 return 0;
3700 } 3694 }
3701 _ACEOF 3695 _ACEOF
3702 rm -f conftest.$ac_objext 3696 rm -f conftest.$ac_objext
3703 if { (eval echo "$as_me:3703: \"$ac_compile\"") >&5 3697 if { (eval echo "$as_me:3697: \"$ac_compile\"") >&5
3704 (eval $ac_compile) 2>&5 3698 (eval $ac_compile) 2>&5
3705 ac_status=$? 3699 ac_status=$?
3706 echo "$as_me:3706: \$? = $ac_status" >&5 3700 echo "$as_me:3700: \$? = $ac_status" >&5
3707 (exit $ac_status); } && 3701 (exit $ac_status); } &&
3708 { ac_try='test -s conftest.$ac_objext' 3702 { ac_try='test -s conftest.$ac_objext'
3709 { (eval echo "$as_me:3709: \"$ac_try\"") >&5 3703 { (eval echo "$as_me:3703: \"$ac_try\"") >&5
3710 (eval $ac_try) 2>&5 3704 (eval $ac_try) 2>&5
3711 ac_status=$? 3705 ac_status=$?
3712 echo "$as_me:3712: \$? = $ac_status" >&5 3706 echo "$as_me:3706: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then 3707 (exit $ac_status); }; }; then
3714 ac_cv_sys_file_offset_bits=64; break 3708 ac_cv_sys_file_offset_bits=64; break
3715 else 3709 else
3716 echo "$as_me: failed program was:" >&5 3710 echo "$as_me: failed program was:" >&5
3717 cat conftest.$ac_ext >&5 3711 cat conftest.$ac_ext >&5
3718 fi 3712 fi
3719 rm -f conftest.$ac_objext conftest.$ac_ext 3713 rm -f conftest.$ac_objext conftest.$ac_ext
3720 break 3714 break
3721 done 3715 done
3722 fi 3716 fi
3723 echo "$as_me:3723: result: $ac_cv_sys_file_offset_bits" >&5 3717 echo "$as_me:3717: result: $ac_cv_sys_file_offset_bits" >&5
3724 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3718 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3725 if test "$ac_cv_sys_file_offset_bits" != no; then 3719 if test "$ac_cv_sys_file_offset_bits" != no; then
3726 3720
3727 cat >>confdefs.h <<EOF 3721 cat >>confdefs.h <<EOF
3728 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3722 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3729 EOF 3723 EOF
3730 3724
3731 fi 3725 fi
3732 rm -f conftest* 3726 rm -f conftest*
3733 echo "$as_me:3733: checking for _LARGE_FILES value needed for large files" >&5 3727 echo "$as_me:3727: checking for _LARGE_FILES value needed for large files" >&5
3734 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3728 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3735 if test "${ac_cv_sys_large_files+set}" = set; then 3729 if test "${ac_cv_sys_large_files+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6 3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 else 3731 else
3738 while :; do 3732 while :; do
3739 ac_cv_sys_large_files=no 3733 ac_cv_sys_large_files=no
3740 cat >conftest.$ac_ext <<_ACEOF 3734 cat >conftest.$ac_ext <<_ACEOF
3741 #line 3741 "configure" 3735 #line 3735 "configure"
3742 #include "confdefs.h" 3736 #include "confdefs.h"
3743 #include <sys/types.h> 3737 #include <sys/types.h>
3744 /* Check that off_t can represent 2**63 - 1 correctly. 3738 /* Check that off_t can represent 2**63 - 1 correctly.
3745 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3739 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3746 since some C++ compilers masquerading as C compilers 3740 since some C++ compilers masquerading as C compilers
3756 ; 3750 ;
3757 return 0; 3751 return 0;
3758 } 3752 }
3759 _ACEOF 3753 _ACEOF
3760 rm -f conftest.$ac_objext 3754 rm -f conftest.$ac_objext
3761 if { (eval echo "$as_me:3761: \"$ac_compile\"") >&5 3755 if { (eval echo "$as_me:3755: \"$ac_compile\"") >&5
3762 (eval $ac_compile) 2>&5 3756 (eval $ac_compile) 2>&5
3763 ac_status=$? 3757 ac_status=$?
3764 echo "$as_me:3764: \$? = $ac_status" >&5 3758 echo "$as_me:3758: \$? = $ac_status" >&5
3765 (exit $ac_status); } && 3759 (exit $ac_status); } &&
3766 { ac_try='test -s conftest.$ac_objext' 3760 { ac_try='test -s conftest.$ac_objext'
3767 { (eval echo "$as_me:3767: \"$ac_try\"") >&5 3761 { (eval echo "$as_me:3761: \"$ac_try\"") >&5
3768 (eval $ac_try) 2>&5 3762 (eval $ac_try) 2>&5
3769 ac_status=$? 3763 ac_status=$?
3770 echo "$as_me:3770: \$? = $ac_status" >&5 3764 echo "$as_me:3764: \$? = $ac_status" >&5
3771 (exit $ac_status); }; }; then 3765 (exit $ac_status); }; }; then
3772 break 3766 break
3773 else 3767 else
3774 echo "$as_me: failed program was:" >&5 3768 echo "$as_me: failed program was:" >&5
3775 cat conftest.$ac_ext >&5 3769 cat conftest.$ac_ext >&5
3776 fi 3770 fi
3777 rm -f conftest.$ac_objext conftest.$ac_ext 3771 rm -f conftest.$ac_objext conftest.$ac_ext
3778 cat >conftest.$ac_ext <<_ACEOF 3772 cat >conftest.$ac_ext <<_ACEOF
3779 #line 3779 "configure" 3773 #line 3773 "configure"
3780 #include "confdefs.h" 3774 #include "confdefs.h"
3781 #define _LARGE_FILES 1 3775 #define _LARGE_FILES 1
3782 #include <sys/types.h> 3776 #include <sys/types.h>
3783 /* Check that off_t can represent 2**63 - 1 correctly. 3777 /* Check that off_t can represent 2**63 - 1 correctly.
3784 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3778 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3795 ; 3789 ;
3796 return 0; 3790 return 0;
3797 } 3791 }
3798 _ACEOF 3792 _ACEOF
3799 rm -f conftest.$ac_objext 3793 rm -f conftest.$ac_objext
3800 if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5 3794 if { (eval echo "$as_me:3794: \"$ac_compile\"") >&5
3801 (eval $ac_compile) 2>&5 3795 (eval $ac_compile) 2>&5
3802 ac_status=$? 3796 ac_status=$?
3803 echo "$as_me:3803: \$? = $ac_status" >&5 3797 echo "$as_me:3797: \$? = $ac_status" >&5
3804 (exit $ac_status); } && 3798 (exit $ac_status); } &&
3805 { ac_try='test -s conftest.$ac_objext' 3799 { ac_try='test -s conftest.$ac_objext'
3806 { (eval echo "$as_me:3806: \"$ac_try\"") >&5 3800 { (eval echo "$as_me:3800: \"$ac_try\"") >&5
3807 (eval $ac_try) 2>&5 3801 (eval $ac_try) 2>&5
3808 ac_status=$? 3802 ac_status=$?
3809 echo "$as_me:3809: \$? = $ac_status" >&5 3803 echo "$as_me:3803: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then 3804 (exit $ac_status); }; }; then
3811 ac_cv_sys_large_files=1; break 3805 ac_cv_sys_large_files=1; break
3812 else 3806 else
3813 echo "$as_me: failed program was:" >&5 3807 echo "$as_me: failed program was:" >&5
3814 cat conftest.$ac_ext >&5 3808 cat conftest.$ac_ext >&5
3815 fi 3809 fi
3816 rm -f conftest.$ac_objext conftest.$ac_ext 3810 rm -f conftest.$ac_objext conftest.$ac_ext
3817 break 3811 break
3818 done 3812 done
3819 fi 3813 fi
3820 echo "$as_me:3820: result: $ac_cv_sys_large_files" >&5 3814 echo "$as_me:3814: result: $ac_cv_sys_large_files" >&5
3821 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3815 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3822 if test "$ac_cv_sys_large_files" != no; then 3816 if test "$ac_cv_sys_large_files" != no; then
3823 3817
3824 cat >>confdefs.h <<EOF 3818 cat >>confdefs.h <<EOF
3825 #define _LARGE_FILES $ac_cv_sys_large_files 3819 #define _LARGE_FILES $ac_cv_sys_large_files
3832 # Sound support for GNU/Linux and the free BSDs. 3826 # Sound support for GNU/Linux and the free BSDs.
3833 3827
3834 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3828 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3835 do 3829 do
3836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3837 echo "$as_me:3837: checking for $ac_header" >&5 3831 echo "$as_me:3831: checking for $ac_header" >&5
3838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3839 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6 3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 else 3835 else
3842 cat >conftest.$ac_ext <<_ACEOF 3836 cat >conftest.$ac_ext <<_ACEOF
3843 #line 3843 "configure" 3837 #line 3837 "configure"
3844 #include "confdefs.h" 3838 #include "confdefs.h"
3845 #include <$ac_header> 3839 #include <$ac_header>
3846 _ACEOF 3840 _ACEOF
3847 if { (eval echo "$as_me:3847: \"$ac_cpp conftest.$ac_ext\"") >&5 3841 if { (eval echo "$as_me:3841: \"$ac_cpp conftest.$ac_ext\"") >&5
3848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3849 ac_status=$? 3843 ac_status=$?
3850 egrep -v '^ *\+' conftest.er1 >conftest.err 3844 egrep -v '^ *\+' conftest.er1 >conftest.err
3851 rm -f conftest.er1 3845 rm -f conftest.er1
3852 cat conftest.err >&5 3846 cat conftest.err >&5
3853 echo "$as_me:3853: \$? = $ac_status" >&5 3847 echo "$as_me:3847: \$? = $ac_status" >&5
3854 (exit $ac_status); } >/dev/null; then 3848 (exit $ac_status); } >/dev/null; then
3855 if test -s conftest.err; then 3849 if test -s conftest.err; then
3856 ac_cpp_err=$ac_c_preproc_warn_flag 3850 ac_cpp_err=$ac_c_preproc_warn_flag
3857 else 3851 else
3858 ac_cpp_err= 3852 ac_cpp_err=
3867 cat conftest.$ac_ext >&5 3861 cat conftest.$ac_ext >&5
3868 eval "$as_ac_Header=no" 3862 eval "$as_ac_Header=no"
3869 fi 3863 fi
3870 rm -f conftest.err conftest.$ac_ext 3864 rm -f conftest.err conftest.$ac_ext
3871 fi 3865 fi
3872 echo "$as_me:3872: result: `eval echo '${'$as_ac_Header'}'`" >&5 3866 echo "$as_me:3866: result: `eval echo '${'$as_ac_Header'}'`" >&5
3873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3874 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3875 cat >>confdefs.h <<EOF 3869 cat >>confdefs.h <<EOF
3876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3877 EOF 3871 EOF
3878 3872
3879 fi 3873 fi
3880 done 3874 done
3881 3875
3882 # Emulation library used on NetBSD. 3876 # Emulation library used on NetBSD.
3883 echo "$as_me:3883: checking for _oss_ioctl in -lossaudio" >&5 3877 echo "$as_me:3877: checking for _oss_ioctl in -lossaudio" >&5
3884 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3878 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3885 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3879 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6 3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 else 3881 else
3888 ac_check_lib_save_LIBS=$LIBS 3882 ac_check_lib_save_LIBS=$LIBS
3889 LIBS="-lossaudio $LIBS" 3883 LIBS="-lossaudio $LIBS"
3890 cat >conftest.$ac_ext <<_ACEOF 3884 cat >conftest.$ac_ext <<_ACEOF
3891 #line 3891 "configure" 3885 #line 3885 "configure"
3892 #include "confdefs.h" 3886 #include "confdefs.h"
3893 3887
3894 /* Override any gcc2 internal prototype to avoid an error. */ 3888 /* Override any gcc2 internal prototype to avoid an error. */
3895 #ifdef __cplusplus 3889 #ifdef __cplusplus
3896 extern "C" 3890 extern "C"
3905 ; 3899 ;
3906 return 0; 3900 return 0;
3907 } 3901 }
3908 _ACEOF 3902 _ACEOF
3909 rm -f conftest.$ac_objext conftest$ac_exeext 3903 rm -f conftest.$ac_objext conftest$ac_exeext
3910 if { (eval echo "$as_me:3910: \"$ac_link\"") >&5 3904 if { (eval echo "$as_me:3904: \"$ac_link\"") >&5
3911 (eval $ac_link) 2>&5 3905 (eval $ac_link) 2>&5
3912 ac_status=$? 3906 ac_status=$?
3913 echo "$as_me:3913: \$? = $ac_status" >&5 3907 echo "$as_me:3907: \$? = $ac_status" >&5
3914 (exit $ac_status); } && 3908 (exit $ac_status); } &&
3915 { ac_try='test -s conftest$ac_exeext' 3909 { ac_try='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:3916: \"$ac_try\"") >&5 3910 { (eval echo "$as_me:3910: \"$ac_try\"") >&5
3917 (eval $ac_try) 2>&5 3911 (eval $ac_try) 2>&5
3918 ac_status=$? 3912 ac_status=$?
3919 echo "$as_me:3919: \$? = $ac_status" >&5 3913 echo "$as_me:3913: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then 3914 (exit $ac_status); }; }; then
3921 ac_cv_lib_ossaudio__oss_ioctl=yes 3915 ac_cv_lib_ossaudio__oss_ioctl=yes
3922 else 3916 else
3923 echo "$as_me: failed program was:" >&5 3917 echo "$as_me: failed program was:" >&5
3924 cat conftest.$ac_ext >&5 3918 cat conftest.$ac_ext >&5
3925 ac_cv_lib_ossaudio__oss_ioctl=no 3919 ac_cv_lib_ossaudio__oss_ioctl=no
3926 fi 3920 fi
3927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3928 LIBS=$ac_check_lib_save_LIBS 3922 LIBS=$ac_check_lib_save_LIBS
3929 fi 3923 fi
3930 echo "$as_me:3930: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3924 echo "$as_me:3924: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3931 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3925 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3932 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3926 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3933 LIBSOUND=-lossaudio 3927 LIBSOUND=-lossaudio
3934 else 3928 else
3935 LIBSOUND= 3929 LIBSOUND=
3936 fi 3930 fi
3937 3931
3938 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 3932 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3939 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 3933 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3940 termcap.h stdio_ext.h fcntl.h term.h strings.h 3934 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
3941 do 3935 do
3942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3943 echo "$as_me:3943: checking for $ac_header" >&5 3937 echo "$as_me:3937: checking for $ac_header" >&5
3944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3945 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6 3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else 3941 else
3948 cat >conftest.$ac_ext <<_ACEOF 3942 cat >conftest.$ac_ext <<_ACEOF
3949 #line 3949 "configure" 3943 #line 3943 "configure"
3950 #include "confdefs.h" 3944 #include "confdefs.h"
3951 #include <$ac_header> 3945 #include <$ac_header>
3952 _ACEOF 3946 _ACEOF
3953 if { (eval echo "$as_me:3953: \"$ac_cpp conftest.$ac_ext\"") >&5 3947 if { (eval echo "$as_me:3947: \"$ac_cpp conftest.$ac_ext\"") >&5
3954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3955 ac_status=$? 3949 ac_status=$?
3956 egrep -v '^ *\+' conftest.er1 >conftest.err 3950 egrep -v '^ *\+' conftest.er1 >conftest.err
3957 rm -f conftest.er1 3951 rm -f conftest.er1
3958 cat conftest.err >&5 3952 cat conftest.err >&5
3959 echo "$as_me:3959: \$? = $ac_status" >&5 3953 echo "$as_me:3953: \$? = $ac_status" >&5
3960 (exit $ac_status); } >/dev/null; then 3954 (exit $ac_status); } >/dev/null; then
3961 if test -s conftest.err; then 3955 if test -s conftest.err; then
3962 ac_cpp_err=$ac_c_preproc_warn_flag 3956 ac_cpp_err=$ac_c_preproc_warn_flag
3963 else 3957 else
3964 ac_cpp_err= 3958 ac_cpp_err=
3973 cat conftest.$ac_ext >&5 3967 cat conftest.$ac_ext >&5
3974 eval "$as_ac_Header=no" 3968 eval "$as_ac_Header=no"
3975 fi 3969 fi
3976 rm -f conftest.err conftest.$ac_ext 3970 rm -f conftest.err conftest.$ac_ext
3977 fi 3971 fi
3978 echo "$as_me:3978: result: `eval echo '${'$as_ac_Header'}'`" >&5 3972 echo "$as_me:3972: result: `eval echo '${'$as_ac_Header'}'`" >&5
3979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3980 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3981 cat >>confdefs.h <<EOF 3975 cat >>confdefs.h <<EOF
3982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3983 EOF 3977 EOF
3984 3978
3985 fi 3979 fi
3986 done 3980 done
3987 3981
3988 echo "$as_me:3988: checking for ANSI C header files" >&5 3982 echo "$as_me:3982: checking for ANSI C header files" >&5
3989 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3983 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3990 if test "${ac_cv_header_stdc+set}" = set; then 3984 if test "${ac_cv_header_stdc+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6 3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 else 3986 else
3993 cat >conftest.$ac_ext <<_ACEOF 3987 cat >conftest.$ac_ext <<_ACEOF
3994 #line 3994 "configure" 3988 #line 3988 "configure"
3995 #include "confdefs.h" 3989 #include "confdefs.h"
3996 #include <stdlib.h> 3990 #include <stdlib.h>
3997 #include <stdarg.h> 3991 #include <stdarg.h>
3998 #include <string.h> 3992 #include <string.h>
3999 #include <float.h> 3993 #include <float.h>
4000 3994
4001 _ACEOF 3995 _ACEOF
4002 if { (eval echo "$as_me:4002: \"$ac_cpp conftest.$ac_ext\"") >&5 3996 if { (eval echo "$as_me:3996: \"$ac_cpp conftest.$ac_ext\"") >&5
4003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4004 ac_status=$? 3998 ac_status=$?
4005 egrep -v '^ *\+' conftest.er1 >conftest.err 3999 egrep -v '^ *\+' conftest.er1 >conftest.err
4006 rm -f conftest.er1 4000 rm -f conftest.er1
4007 cat conftest.err >&5 4001 cat conftest.err >&5
4008 echo "$as_me:4008: \$? = $ac_status" >&5 4002 echo "$as_me:4002: \$? = $ac_status" >&5
4009 (exit $ac_status); } >/dev/null; then 4003 (exit $ac_status); } >/dev/null; then
4010 if test -s conftest.err; then 4004 if test -s conftest.err; then
4011 ac_cpp_err=$ac_c_preproc_warn_flag 4005 ac_cpp_err=$ac_c_preproc_warn_flag
4012 else 4006 else
4013 ac_cpp_err= 4007 ac_cpp_err=
4025 rm -f conftest.err conftest.$ac_ext 4019 rm -f conftest.err conftest.$ac_ext
4026 4020
4027 if test $ac_cv_header_stdc = yes; then 4021 if test $ac_cv_header_stdc = yes; then
4028 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4022 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4029 cat >conftest.$ac_ext <<_ACEOF 4023 cat >conftest.$ac_ext <<_ACEOF
4030 #line 4030 "configure" 4024 #line 4024 "configure"
4031 #include "confdefs.h" 4025 #include "confdefs.h"
4032 #include <string.h> 4026 #include <string.h>
4033 4027
4034 _ACEOF 4028 _ACEOF
4035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4043 fi 4037 fi
4044 4038
4045 if test $ac_cv_header_stdc = yes; then 4039 if test $ac_cv_header_stdc = yes; then
4046 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4047 cat >conftest.$ac_ext <<_ACEOF 4041 cat >conftest.$ac_ext <<_ACEOF
4048 #line 4048 "configure" 4042 #line 4042 "configure"
4049 #include "confdefs.h" 4043 #include "confdefs.h"
4050 #include <stdlib.h> 4044 #include <stdlib.h>
4051 4045
4052 _ACEOF 4046 _ACEOF
4053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4065 if test "$cross_compiling" = yes; then 4059 if test "$cross_compiling" = yes; then
4066 : 4060 :
4067 else 4061 else
4068 cat >conftest.$ac_ext <<_ACEOF 4062 cat >conftest.$ac_ext <<_ACEOF
4069 #line 4069 "configure" 4063 #line 4063 "configure"
4070 #include "confdefs.h" 4064 #include "confdefs.h"
4071 #include <ctype.h> 4065 #include <ctype.h>
4072 #if ((' ' & 0x0FF) == 0x020) 4066 #if ((' ' & 0x0FF) == 0x020)
4073 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4067 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4074 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4068 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4090 exit(2); 4084 exit(2);
4091 exit (0); 4085 exit (0);
4092 } 4086 }
4093 _ACEOF 4087 _ACEOF
4094 rm -f conftest$ac_exeext 4088 rm -f conftest$ac_exeext
4095 if { (eval echo "$as_me:4095: \"$ac_link\"") >&5 4089 if { (eval echo "$as_me:4089: \"$ac_link\"") >&5
4096 (eval $ac_link) 2>&5 4090 (eval $ac_link) 2>&5
4097 ac_status=$? 4091 ac_status=$?
4098 echo "$as_me:4098: \$? = $ac_status" >&5 4092 echo "$as_me:4092: \$? = $ac_status" >&5
4099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4100 { (eval echo "$as_me:4100: \"$ac_try\"") >&5 4094 { (eval echo "$as_me:4094: \"$ac_try\"") >&5
4101 (eval $ac_try) 2>&5 4095 (eval $ac_try) 2>&5
4102 ac_status=$? 4096 ac_status=$?
4103 echo "$as_me:4103: \$? = $ac_status" >&5 4097 echo "$as_me:4097: \$? = $ac_status" >&5
4104 (exit $ac_status); }; }; then 4098 (exit $ac_status); }; }; then
4105 : 4099 :
4106 else 4100 else
4107 echo "$as_me: program exited with status $ac_status" >&5 4101 echo "$as_me: program exited with status $ac_status" >&5
4108 echo "$as_me: failed program was:" >&5 4102 echo "$as_me: failed program was:" >&5
4111 fi 4105 fi
4112 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4106 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4113 fi 4107 fi
4114 fi 4108 fi
4115 fi 4109 fi
4116 echo "$as_me:4116: result: $ac_cv_header_stdc" >&5 4110 echo "$as_me:4110: result: $ac_cv_header_stdc" >&5
4117 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4111 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4118 if test $ac_cv_header_stdc = yes; then 4112 if test $ac_cv_header_stdc = yes; then
4119 4113
4120 cat >>confdefs.h <<\EOF 4114 cat >>confdefs.h <<\EOF
4121 #define STDC_HEADERS 1 4115 #define STDC_HEADERS 1
4122 EOF 4116 EOF
4123 4117
4124 fi 4118 fi
4125 4119
4126 echo "$as_me:4126: checking whether time.h and sys/time.h may both be included" >&5 4120 echo "$as_me:4120: checking whether time.h and sys/time.h may both be included" >&5
4127 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4121 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4128 if test "${ac_cv_header_time+set}" = set; then 4122 if test "${ac_cv_header_time+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6 4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 else 4124 else
4131 cat >conftest.$ac_ext <<_ACEOF 4125 cat >conftest.$ac_ext <<_ACEOF
4132 #line 4132 "configure" 4126 #line 4126 "configure"
4133 #include "confdefs.h" 4127 #include "confdefs.h"
4134 #include <sys/types.h> 4128 #include <sys/types.h>
4135 #include <sys/time.h> 4129 #include <sys/time.h>
4136 #include <time.h> 4130 #include <time.h>
4137 4131
4143 ; 4137 ;
4144 return 0; 4138 return 0;
4145 } 4139 }
4146 _ACEOF 4140 _ACEOF
4147 rm -f conftest.$ac_objext 4141 rm -f conftest.$ac_objext
4148 if { (eval echo "$as_me:4148: \"$ac_compile\"") >&5 4142 if { (eval echo "$as_me:4142: \"$ac_compile\"") >&5
4149 (eval $ac_compile) 2>&5 4143 (eval $ac_compile) 2>&5
4150 ac_status=$? 4144 ac_status=$?
4151 echo "$as_me:4151: \$? = $ac_status" >&5 4145 echo "$as_me:4145: \$? = $ac_status" >&5
4152 (exit $ac_status); } && 4146 (exit $ac_status); } &&
4153 { ac_try='test -s conftest.$ac_objext' 4147 { ac_try='test -s conftest.$ac_objext'
4154 { (eval echo "$as_me:4154: \"$ac_try\"") >&5 4148 { (eval echo "$as_me:4148: \"$ac_try\"") >&5
4155 (eval $ac_try) 2>&5 4149 (eval $ac_try) 2>&5
4156 ac_status=$? 4150 ac_status=$?
4157 echo "$as_me:4157: \$? = $ac_status" >&5 4151 echo "$as_me:4151: \$? = $ac_status" >&5
4158 (exit $ac_status); }; }; then 4152 (exit $ac_status); }; }; then
4159 ac_cv_header_time=yes 4153 ac_cv_header_time=yes
4160 else 4154 else
4161 echo "$as_me: failed program was:" >&5 4155 echo "$as_me: failed program was:" >&5
4162 cat conftest.$ac_ext >&5 4156 cat conftest.$ac_ext >&5
4163 ac_cv_header_time=no 4157 ac_cv_header_time=no
4164 fi 4158 fi
4165 rm -f conftest.$ac_objext conftest.$ac_ext 4159 rm -f conftest.$ac_objext conftest.$ac_ext
4166 fi 4160 fi
4167 echo "$as_me:4167: result: $ac_cv_header_time" >&5 4161 echo "$as_me:4161: result: $ac_cv_header_time" >&5
4168 echo "${ECHO_T}$ac_cv_header_time" >&6 4162 echo "${ECHO_T}$ac_cv_header_time" >&6
4169 if test $ac_cv_header_time = yes; then 4163 if test $ac_cv_header_time = yes; then
4170 4164
4171 cat >>confdefs.h <<\EOF 4165 cat >>confdefs.h <<\EOF
4172 #define TIME_WITH_SYS_TIME 1 4166 #define TIME_WITH_SYS_TIME 1
4173 EOF 4167 EOF
4174 4168
4175 fi 4169 fi
4176 4170
4177 echo "$as_me:4177: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4171 echo "$as_me:4171: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4178 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4172 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4179 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4173 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6 4174 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 else 4175 else
4182 cat >conftest.$ac_ext <<_ACEOF 4176 cat >conftest.$ac_ext <<_ACEOF
4183 #line 4183 "configure" 4177 #line 4177 "configure"
4184 #include "confdefs.h" 4178 #include "confdefs.h"
4185 #include <sys/types.h> 4179 #include <sys/types.h>
4186 #include <signal.h> 4180 #include <signal.h>
4187 /* NetBSD declares sys_siglist in unistd.h. */ 4181 /* NetBSD declares sys_siglist in unistd.h. */
4188 #if HAVE_UNISTD_H 4182 #if HAVE_UNISTD_H
4196 ; 4190 ;
4197 return 0; 4191 return 0;
4198 } 4192 }
4199 _ACEOF 4193 _ACEOF
4200 rm -f conftest.$ac_objext 4194 rm -f conftest.$ac_objext
4201 if { (eval echo "$as_me:4201: \"$ac_compile\"") >&5 4195 if { (eval echo "$as_me:4195: \"$ac_compile\"") >&5
4202 (eval $ac_compile) 2>&5 4196 (eval $ac_compile) 2>&5
4203 ac_status=$? 4197 ac_status=$?
4204 echo "$as_me:4204: \$? = $ac_status" >&5 4198 echo "$as_me:4198: \$? = $ac_status" >&5
4205 (exit $ac_status); } && 4199 (exit $ac_status); } &&
4206 { ac_try='test -s conftest.$ac_objext' 4200 { ac_try='test -s conftest.$ac_objext'
4207 { (eval echo "$as_me:4207: \"$ac_try\"") >&5 4201 { (eval echo "$as_me:4201: \"$ac_try\"") >&5
4208 (eval $ac_try) 2>&5 4202 (eval $ac_try) 2>&5
4209 ac_status=$? 4203 ac_status=$?
4210 echo "$as_me:4210: \$? = $ac_status" >&5 4204 echo "$as_me:4204: \$? = $ac_status" >&5
4211 (exit $ac_status); }; }; then 4205 (exit $ac_status); }; }; then
4212 ac_cv_decl_sys_siglist=yes 4206 ac_cv_decl_sys_siglist=yes
4213 else 4207 else
4214 echo "$as_me: failed program was:" >&5 4208 echo "$as_me: failed program was:" >&5
4215 cat conftest.$ac_ext >&5 4209 cat conftest.$ac_ext >&5
4216 ac_cv_decl_sys_siglist=no 4210 ac_cv_decl_sys_siglist=no
4217 fi 4211 fi
4218 rm -f conftest.$ac_objext conftest.$ac_ext 4212 rm -f conftest.$ac_objext conftest.$ac_ext
4219 fi 4213 fi
4220 echo "$as_me:4220: result: $ac_cv_decl_sys_siglist" >&5 4214 echo "$as_me:4214: result: $ac_cv_decl_sys_siglist" >&5
4221 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4215 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4222 if test $ac_cv_decl_sys_siglist = yes; then 4216 if test $ac_cv_decl_sys_siglist = yes; then
4223 4217
4224 cat >>confdefs.h <<\EOF 4218 cat >>confdefs.h <<\EOF
4225 #define SYS_SIGLIST_DECLARED 1 4219 #define SYS_SIGLIST_DECLARED 1
4226 EOF 4220 EOF
4227 4221
4228 fi 4222 fi
4229 4223
4230 echo "$as_me:4230: checking for sys/wait.h that is POSIX.1 compatible" >&5 4224 echo "$as_me:4224: checking for sys/wait.h that is POSIX.1 compatible" >&5
4231 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4225 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4232 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4226 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4233 echo $ECHO_N "(cached) $ECHO_C" >&6 4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4234 else 4228 else
4235 cat >conftest.$ac_ext <<_ACEOF 4229 cat >conftest.$ac_ext <<_ACEOF
4236 #line 4236 "configure" 4230 #line 4230 "configure"
4237 #include "confdefs.h" 4231 #include "confdefs.h"
4238 #include <sys/types.h> 4232 #include <sys/types.h>
4239 #include <sys/wait.h> 4233 #include <sys/wait.h>
4240 #ifndef WEXITSTATUS 4234 #ifndef WEXITSTATUS
4241 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4235 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4253 ; 4247 ;
4254 return 0; 4248 return 0;
4255 } 4249 }
4256 _ACEOF 4250 _ACEOF
4257 rm -f conftest.$ac_objext 4251 rm -f conftest.$ac_objext
4258 if { (eval echo "$as_me:4258: \"$ac_compile\"") >&5 4252 if { (eval echo "$as_me:4252: \"$ac_compile\"") >&5
4259 (eval $ac_compile) 2>&5 4253 (eval $ac_compile) 2>&5
4260 ac_status=$? 4254 ac_status=$?
4261 echo "$as_me:4261: \$? = $ac_status" >&5 4255 echo "$as_me:4255: \$? = $ac_status" >&5
4262 (exit $ac_status); } && 4256 (exit $ac_status); } &&
4263 { ac_try='test -s conftest.$ac_objext' 4257 { ac_try='test -s conftest.$ac_objext'
4264 { (eval echo "$as_me:4264: \"$ac_try\"") >&5 4258 { (eval echo "$as_me:4258: \"$ac_try\"") >&5
4265 (eval $ac_try) 2>&5 4259 (eval $ac_try) 2>&5
4266 ac_status=$? 4260 ac_status=$?
4267 echo "$as_me:4267: \$? = $ac_status" >&5 4261 echo "$as_me:4261: \$? = $ac_status" >&5
4268 (exit $ac_status); }; }; then 4262 (exit $ac_status); }; }; then
4269 ac_cv_header_sys_wait_h=yes 4263 ac_cv_header_sys_wait_h=yes
4270 else 4264 else
4271 echo "$as_me: failed program was:" >&5 4265 echo "$as_me: failed program was:" >&5
4272 cat conftest.$ac_ext >&5 4266 cat conftest.$ac_ext >&5
4273 ac_cv_header_sys_wait_h=no 4267 ac_cv_header_sys_wait_h=no
4274 fi 4268 fi
4275 rm -f conftest.$ac_objext conftest.$ac_ext 4269 rm -f conftest.$ac_objext conftest.$ac_ext
4276 fi 4270 fi
4277 echo "$as_me:4277: result: $ac_cv_header_sys_wait_h" >&5 4271 echo "$as_me:4271: result: $ac_cv_header_sys_wait_h" >&5
4278 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4272 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4279 if test $ac_cv_header_sys_wait_h = yes; then 4273 if test $ac_cv_header_sys_wait_h = yes; then
4280 4274
4281 cat >>confdefs.h <<\EOF 4275 cat >>confdefs.h <<\EOF
4282 #define HAVE_SYS_WAIT_H 1 4276 #define HAVE_SYS_WAIT_H 1
4283 EOF 4277 EOF
4284 4278
4285 fi 4279 fi
4286 4280
4287 echo "$as_me:4287: checking for struct utimbuf" >&5 4281 echo "$as_me:4281: checking for struct utimbuf" >&5
4288 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4282 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4289 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4283 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6 4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 else 4285 else
4292 cat >conftest.$ac_ext <<_ACEOF 4286 cat >conftest.$ac_ext <<_ACEOF
4293 #line 4293 "configure" 4287 #line 4287 "configure"
4294 #include "confdefs.h" 4288 #include "confdefs.h"
4295 #ifdef TIME_WITH_SYS_TIME 4289 #ifdef TIME_WITH_SYS_TIME
4296 #include <sys/time.h> 4290 #include <sys/time.h>
4297 #include <time.h> 4291 #include <time.h>
4298 #else 4292 #else
4312 ; 4306 ;
4313 return 0; 4307 return 0;
4314 } 4308 }
4315 _ACEOF 4309 _ACEOF
4316 rm -f conftest.$ac_objext 4310 rm -f conftest.$ac_objext
4317 if { (eval echo "$as_me:4317: \"$ac_compile\"") >&5 4311 if { (eval echo "$as_me:4311: \"$ac_compile\"") >&5
4318 (eval $ac_compile) 2>&5 4312 (eval $ac_compile) 2>&5
4319 ac_status=$? 4313 ac_status=$?
4320 echo "$as_me:4320: \$? = $ac_status" >&5 4314 echo "$as_me:4314: \$? = $ac_status" >&5
4321 (exit $ac_status); } && 4315 (exit $ac_status); } &&
4322 { ac_try='test -s conftest.$ac_objext' 4316 { ac_try='test -s conftest.$ac_objext'
4323 { (eval echo "$as_me:4323: \"$ac_try\"") >&5 4317 { (eval echo "$as_me:4317: \"$ac_try\"") >&5
4324 (eval $ac_try) 2>&5 4318 (eval $ac_try) 2>&5
4325 ac_status=$? 4319 ac_status=$?
4326 echo "$as_me:4326: \$? = $ac_status" >&5 4320 echo "$as_me:4320: \$? = $ac_status" >&5
4327 (exit $ac_status); }; }; then 4321 (exit $ac_status); }; }; then
4328 emacs_cv_struct_utimbuf=yes 4322 emacs_cv_struct_utimbuf=yes
4329 else 4323 else
4330 echo "$as_me: failed program was:" >&5 4324 echo "$as_me: failed program was:" >&5
4331 cat conftest.$ac_ext >&5 4325 cat conftest.$ac_ext >&5
4332 emacs_cv_struct_utimbuf=no 4326 emacs_cv_struct_utimbuf=no
4333 fi 4327 fi
4334 rm -f conftest.$ac_objext conftest.$ac_ext 4328 rm -f conftest.$ac_objext conftest.$ac_ext
4335 fi 4329 fi
4336 echo "$as_me:4336: result: $emacs_cv_struct_utimbuf" >&5 4330 echo "$as_me:4330: result: $emacs_cv_struct_utimbuf" >&5
4337 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4331 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4338 if test $emacs_cv_struct_utimbuf = yes; then 4332 if test $emacs_cv_struct_utimbuf = yes; then
4339 cat >>confdefs.h <<\EOF 4333 cat >>confdefs.h <<\EOF
4340 #define HAVE_STRUCT_UTIMBUF 1 4334 #define HAVE_STRUCT_UTIMBUF 1
4341 EOF 4335 EOF
4342 4336
4343 fi 4337 fi
4344 4338
4345 echo "$as_me:4345: checking return type of signal handlers" >&5 4339 echo "$as_me:4339: checking return type of signal handlers" >&5
4346 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4340 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4347 if test "${ac_cv_type_signal+set}" = set; then 4341 if test "${ac_cv_type_signal+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6 4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 else 4343 else
4350 cat >conftest.$ac_ext <<_ACEOF 4344 cat >conftest.$ac_ext <<_ACEOF
4351 #line 4351 "configure" 4345 #line 4345 "configure"
4352 #include "confdefs.h" 4346 #include "confdefs.h"
4353 #include <sys/types.h> 4347 #include <sys/types.h>
4354 #include <signal.h> 4348 #include <signal.h>
4355 #ifdef signal 4349 #ifdef signal
4356 # undef signal 4350 # undef signal
4368 ; 4362 ;
4369 return 0; 4363 return 0;
4370 } 4364 }
4371 _ACEOF 4365 _ACEOF
4372 rm -f conftest.$ac_objext 4366 rm -f conftest.$ac_objext
4373 if { (eval echo "$as_me:4373: \"$ac_compile\"") >&5 4367 if { (eval echo "$as_me:4367: \"$ac_compile\"") >&5
4374 (eval $ac_compile) 2>&5 4368 (eval $ac_compile) 2>&5
4375 ac_status=$? 4369 ac_status=$?
4376 echo "$as_me:4376: \$? = $ac_status" >&5 4370 echo "$as_me:4370: \$? = $ac_status" >&5
4377 (exit $ac_status); } && 4371 (exit $ac_status); } &&
4378 { ac_try='test -s conftest.$ac_objext' 4372 { ac_try='test -s conftest.$ac_objext'
4379 { (eval echo "$as_me:4379: \"$ac_try\"") >&5 4373 { (eval echo "$as_me:4373: \"$ac_try\"") >&5
4380 (eval $ac_try) 2>&5 4374 (eval $ac_try) 2>&5
4381 ac_status=$? 4375 ac_status=$?
4382 echo "$as_me:4382: \$? = $ac_status" >&5 4376 echo "$as_me:4376: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then 4377 (exit $ac_status); }; }; then
4384 ac_cv_type_signal=void 4378 ac_cv_type_signal=void
4385 else 4379 else
4386 echo "$as_me: failed program was:" >&5 4380 echo "$as_me: failed program was:" >&5
4387 cat conftest.$ac_ext >&5 4381 cat conftest.$ac_ext >&5
4388 ac_cv_type_signal=int 4382 ac_cv_type_signal=int
4389 fi 4383 fi
4390 rm -f conftest.$ac_objext conftest.$ac_ext 4384 rm -f conftest.$ac_objext conftest.$ac_ext
4391 fi 4385 fi
4392 echo "$as_me:4392: result: $ac_cv_type_signal" >&5 4386 echo "$as_me:4386: result: $ac_cv_type_signal" >&5
4393 echo "${ECHO_T}$ac_cv_type_signal" >&6 4387 echo "${ECHO_T}$ac_cv_type_signal" >&6
4394 4388
4395 cat >>confdefs.h <<EOF 4389 cat >>confdefs.h <<EOF
4396 #define RETSIGTYPE $ac_cv_type_signal 4390 #define RETSIGTYPE $ac_cv_type_signal
4397 EOF 4391 EOF
4398 4392
4399 echo "$as_me:4399: checking for speed_t" >&5 4393 echo "$as_me:4393: checking for speed_t" >&5
4400 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4394 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4401 if test "${emacs_cv_speed_t+set}" = set; then 4395 if test "${emacs_cv_speed_t+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6 4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 else 4397 else
4404 cat >conftest.$ac_ext <<_ACEOF 4398 cat >conftest.$ac_ext <<_ACEOF
4405 #line 4405 "configure" 4399 #line 4399 "configure"
4406 #include "confdefs.h" 4400 #include "confdefs.h"
4407 #include <termios.h> 4401 #include <termios.h>
4408 int 4402 int
4409 main () 4403 main ()
4410 { 4404 {
4412 ; 4406 ;
4413 return 0; 4407 return 0;
4414 } 4408 }
4415 _ACEOF 4409 _ACEOF
4416 rm -f conftest.$ac_objext 4410 rm -f conftest.$ac_objext
4417 if { (eval echo "$as_me:4417: \"$ac_compile\"") >&5 4411 if { (eval echo "$as_me:4411: \"$ac_compile\"") >&5
4418 (eval $ac_compile) 2>&5 4412 (eval $ac_compile) 2>&5
4419 ac_status=$? 4413 ac_status=$?
4420 echo "$as_me:4420: \$? = $ac_status" >&5 4414 echo "$as_me:4414: \$? = $ac_status" >&5
4421 (exit $ac_status); } && 4415 (exit $ac_status); } &&
4422 { ac_try='test -s conftest.$ac_objext' 4416 { ac_try='test -s conftest.$ac_objext'
4423 { (eval echo "$as_me:4423: \"$ac_try\"") >&5 4417 { (eval echo "$as_me:4417: \"$ac_try\"") >&5
4424 (eval $ac_try) 2>&5 4418 (eval $ac_try) 2>&5
4425 ac_status=$? 4419 ac_status=$?
4426 echo "$as_me:4426: \$? = $ac_status" >&5 4420 echo "$as_me:4420: \$? = $ac_status" >&5
4427 (exit $ac_status); }; }; then 4421 (exit $ac_status); }; }; then
4428 emacs_cv_speed_t=yes 4422 emacs_cv_speed_t=yes
4429 else 4423 else
4430 echo "$as_me: failed program was:" >&5 4424 echo "$as_me: failed program was:" >&5
4431 cat conftest.$ac_ext >&5 4425 cat conftest.$ac_ext >&5
4432 emacs_cv_speed_t=no 4426 emacs_cv_speed_t=no
4433 fi 4427 fi
4434 rm -f conftest.$ac_objext conftest.$ac_ext 4428 rm -f conftest.$ac_objext conftest.$ac_ext
4435 fi 4429 fi
4436 echo "$as_me:4436: result: $emacs_cv_speed_t" >&5 4430 echo "$as_me:4430: result: $emacs_cv_speed_t" >&5
4437 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4431 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4438 if test $emacs_cv_speed_t = yes; then 4432 if test $emacs_cv_speed_t = yes; then
4439 cat >>confdefs.h <<\EOF 4433 cat >>confdefs.h <<\EOF
4440 #define HAVE_SPEED_T 1 4434 #define HAVE_SPEED_T 1
4441 EOF 4435 EOF
4442 4436
4443 fi 4437 fi
4444 4438
4445 echo "$as_me:4445: checking for struct timeval" >&5 4439 echo "$as_me:4439: checking for struct timeval" >&5
4446 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4440 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4447 if test "${emacs_cv_struct_timeval+set}" = set; then 4441 if test "${emacs_cv_struct_timeval+set}" = set; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6 4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 else 4443 else
4450 cat >conftest.$ac_ext <<_ACEOF 4444 cat >conftest.$ac_ext <<_ACEOF
4451 #line 4451 "configure" 4445 #line 4445 "configure"
4452 #include "confdefs.h" 4446 #include "confdefs.h"
4453 #ifdef TIME_WITH_SYS_TIME 4447 #ifdef TIME_WITH_SYS_TIME
4454 #include <sys/time.h> 4448 #include <sys/time.h>
4455 #include <time.h> 4449 #include <time.h>
4456 #else 4450 #else
4467 ; 4461 ;
4468 return 0; 4462 return 0;
4469 } 4463 }
4470 _ACEOF 4464 _ACEOF
4471 rm -f conftest.$ac_objext 4465 rm -f conftest.$ac_objext
4472 if { (eval echo "$as_me:4472: \"$ac_compile\"") >&5 4466 if { (eval echo "$as_me:4466: \"$ac_compile\"") >&5
4473 (eval $ac_compile) 2>&5 4467 (eval $ac_compile) 2>&5
4474 ac_status=$? 4468 ac_status=$?
4475 echo "$as_me:4475: \$? = $ac_status" >&5 4469 echo "$as_me:4469: \$? = $ac_status" >&5
4476 (exit $ac_status); } && 4470 (exit $ac_status); } &&
4477 { ac_try='test -s conftest.$ac_objext' 4471 { ac_try='test -s conftest.$ac_objext'
4478 { (eval echo "$as_me:4478: \"$ac_try\"") >&5 4472 { (eval echo "$as_me:4472: \"$ac_try\"") >&5
4479 (eval $ac_try) 2>&5 4473 (eval $ac_try) 2>&5
4480 ac_status=$? 4474 ac_status=$?
4481 echo "$as_me:4481: \$? = $ac_status" >&5 4475 echo "$as_me:4475: \$? = $ac_status" >&5
4482 (exit $ac_status); }; }; then 4476 (exit $ac_status); }; }; then
4483 emacs_cv_struct_timeval=yes 4477 emacs_cv_struct_timeval=yes
4484 else 4478 else
4485 echo "$as_me: failed program was:" >&5 4479 echo "$as_me: failed program was:" >&5
4486 cat conftest.$ac_ext >&5 4480 cat conftest.$ac_ext >&5
4487 emacs_cv_struct_timeval=no 4481 emacs_cv_struct_timeval=no
4488 fi 4482 fi
4489 rm -f conftest.$ac_objext conftest.$ac_ext 4483 rm -f conftest.$ac_objext conftest.$ac_ext
4490 fi 4484 fi
4491 echo "$as_me:4491: result: $emacs_cv_struct_timeval" >&5 4485 echo "$as_me:4485: result: $emacs_cv_struct_timeval" >&5
4492 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4486 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4493 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4487 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4494 if test $emacs_cv_struct_timeval = yes; then 4488 if test $emacs_cv_struct_timeval = yes; then
4495 cat >>confdefs.h <<\EOF 4489 cat >>confdefs.h <<\EOF
4496 #define HAVE_TIMEVAL 1 4490 #define HAVE_TIMEVAL 1
4497 EOF 4491 EOF
4498 4492
4499 fi 4493 fi
4500 4494
4501 echo "$as_me:4501: checking for struct exception" >&5 4495 echo "$as_me:4495: checking for struct exception" >&5
4502 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4496 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4503 if test "${emacs_cv_struct_exception+set}" = set; then 4497 if test "${emacs_cv_struct_exception+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6 4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 else 4499 else
4506 cat >conftest.$ac_ext <<_ACEOF 4500 cat >conftest.$ac_ext <<_ACEOF
4507 #line 4507 "configure" 4501 #line 4501 "configure"
4508 #include "confdefs.h" 4502 #include "confdefs.h"
4509 #include <math.h> 4503 #include <math.h>
4510 int 4504 int
4511 main () 4505 main ()
4512 { 4506 {
4514 ; 4508 ;
4515 return 0; 4509 return 0;
4516 } 4510 }
4517 _ACEOF 4511 _ACEOF
4518 rm -f conftest.$ac_objext 4512 rm -f conftest.$ac_objext
4519 if { (eval echo "$as_me:4519: \"$ac_compile\"") >&5 4513 if { (eval echo "$as_me:4513: \"$ac_compile\"") >&5
4520 (eval $ac_compile) 2>&5 4514 (eval $ac_compile) 2>&5
4521 ac_status=$? 4515 ac_status=$?
4522 echo "$as_me:4522: \$? = $ac_status" >&5 4516 echo "$as_me:4516: \$? = $ac_status" >&5
4523 (exit $ac_status); } && 4517 (exit $ac_status); } &&
4524 { ac_try='test -s conftest.$ac_objext' 4518 { ac_try='test -s conftest.$ac_objext'
4525 { (eval echo "$as_me:4525: \"$ac_try\"") >&5 4519 { (eval echo "$as_me:4519: \"$ac_try\"") >&5
4526 (eval $ac_try) 2>&5 4520 (eval $ac_try) 2>&5
4527 ac_status=$? 4521 ac_status=$?
4528 echo "$as_me:4528: \$? = $ac_status" >&5 4522 echo "$as_me:4522: \$? = $ac_status" >&5
4529 (exit $ac_status); }; }; then 4523 (exit $ac_status); }; }; then
4530 emacs_cv_struct_exception=yes 4524 emacs_cv_struct_exception=yes
4531 else 4525 else
4532 echo "$as_me: failed program was:" >&5 4526 echo "$as_me: failed program was:" >&5
4533 cat conftest.$ac_ext >&5 4527 cat conftest.$ac_ext >&5
4534 emacs_cv_struct_exception=no 4528 emacs_cv_struct_exception=no
4535 fi 4529 fi
4536 rm -f conftest.$ac_objext conftest.$ac_ext 4530 rm -f conftest.$ac_objext conftest.$ac_ext
4537 fi 4531 fi
4538 echo "$as_me:4538: result: $emacs_cv_struct_exception" >&5 4532 echo "$as_me:4532: result: $emacs_cv_struct_exception" >&5
4539 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4533 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4540 HAVE_EXCEPTION=$emacs_cv_struct_exception 4534 HAVE_EXCEPTION=$emacs_cv_struct_exception
4541 if test $emacs_cv_struct_exception != yes; then 4535 if test $emacs_cv_struct_exception != yes; then
4542 cat >>confdefs.h <<\EOF 4536 cat >>confdefs.h <<\EOF
4543 #define NO_MATHERR 1 4537 #define NO_MATHERR 1
4544 EOF 4538 EOF
4545 4539
4546 fi 4540 fi
4547 4541
4548 echo "$as_me:4548: checking whether struct tm is in sys/time.h or time.h" >&5 4542 echo "$as_me:4542: checking whether struct tm is in sys/time.h or time.h" >&5
4549 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4543 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4550 if test "${ac_cv_struct_tm+set}" = set; then 4544 if test "${ac_cv_struct_tm+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6 4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else 4546 else
4553 cat >conftest.$ac_ext <<_ACEOF 4547 cat >conftest.$ac_ext <<_ACEOF
4554 #line 4554 "configure" 4548 #line 4548 "configure"
4555 #include "confdefs.h" 4549 #include "confdefs.h"
4556 #include <sys/types.h> 4550 #include <sys/types.h>
4557 #include <time.h> 4551 #include <time.h>
4558 4552
4559 int 4553 int
4563 ; 4557 ;
4564 return 0; 4558 return 0;
4565 } 4559 }
4566 _ACEOF 4560 _ACEOF
4567 rm -f conftest.$ac_objext 4561 rm -f conftest.$ac_objext
4568 if { (eval echo "$as_me:4568: \"$ac_compile\"") >&5 4562 if { (eval echo "$as_me:4562: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>&5 4563 (eval $ac_compile) 2>&5
4570 ac_status=$? 4564 ac_status=$?
4571 echo "$as_me:4571: \$? = $ac_status" >&5 4565 echo "$as_me:4565: \$? = $ac_status" >&5
4572 (exit $ac_status); } && 4566 (exit $ac_status); } &&
4573 { ac_try='test -s conftest.$ac_objext' 4567 { ac_try='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:4574: \"$ac_try\"") >&5 4568 { (eval echo "$as_me:4568: \"$ac_try\"") >&5
4575 (eval $ac_try) 2>&5 4569 (eval $ac_try) 2>&5
4576 ac_status=$? 4570 ac_status=$?
4577 echo "$as_me:4577: \$? = $ac_status" >&5 4571 echo "$as_me:4571: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then 4572 (exit $ac_status); }; }; then
4579 ac_cv_struct_tm=time.h 4573 ac_cv_struct_tm=time.h
4580 else 4574 else
4581 echo "$as_me: failed program was:" >&5 4575 echo "$as_me: failed program was:" >&5
4582 cat conftest.$ac_ext >&5 4576 cat conftest.$ac_ext >&5
4583 ac_cv_struct_tm=sys/time.h 4577 ac_cv_struct_tm=sys/time.h
4584 fi 4578 fi
4585 rm -f conftest.$ac_objext conftest.$ac_ext 4579 rm -f conftest.$ac_objext conftest.$ac_ext
4586 fi 4580 fi
4587 echo "$as_me:4587: result: $ac_cv_struct_tm" >&5 4581 echo "$as_me:4581: result: $ac_cv_struct_tm" >&5
4588 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4582 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4589 if test $ac_cv_struct_tm = sys/time.h; then 4583 if test $ac_cv_struct_tm = sys/time.h; then
4590 4584
4591 cat >>confdefs.h <<\EOF 4585 cat >>confdefs.h <<\EOF
4592 #define TM_IN_SYS_TIME 1 4586 #define TM_IN_SYS_TIME 1
4593 EOF 4587 EOF
4594 4588
4595 fi 4589 fi
4596 4590
4597 echo "$as_me:4597: checking for struct tm.tm_zone" >&5 4591 echo "$as_me:4591: checking for struct tm.tm_zone" >&5
4598 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4592 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4599 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4593 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6 4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 else 4595 else
4602 cat >conftest.$ac_ext <<_ACEOF 4596 cat >conftest.$ac_ext <<_ACEOF
4603 #line 4603 "configure" 4597 #line 4597 "configure"
4604 #include "confdefs.h" 4598 #include "confdefs.h"
4605 #include <sys/types.h> 4599 #include <sys/types.h>
4606 #include <$ac_cv_struct_tm> 4600 #include <$ac_cv_struct_tm>
4607 4601
4608 int 4602 int
4614 ; 4608 ;
4615 return 0; 4609 return 0;
4616 } 4610 }
4617 _ACEOF 4611 _ACEOF
4618 rm -f conftest.$ac_objext 4612 rm -f conftest.$ac_objext
4619 if { (eval echo "$as_me:4619: \"$ac_compile\"") >&5 4613 if { (eval echo "$as_me:4613: \"$ac_compile\"") >&5
4620 (eval $ac_compile) 2>&5 4614 (eval $ac_compile) 2>&5
4621 ac_status=$? 4615 ac_status=$?
4622 echo "$as_me:4622: \$? = $ac_status" >&5 4616 echo "$as_me:4616: \$? = $ac_status" >&5
4623 (exit $ac_status); } && 4617 (exit $ac_status); } &&
4624 { ac_try='test -s conftest.$ac_objext' 4618 { ac_try='test -s conftest.$ac_objext'
4625 { (eval echo "$as_me:4625: \"$ac_try\"") >&5 4619 { (eval echo "$as_me:4619: \"$ac_try\"") >&5
4626 (eval $ac_try) 2>&5 4620 (eval $ac_try) 2>&5
4627 ac_status=$? 4621 ac_status=$?
4628 echo "$as_me:4628: \$? = $ac_status" >&5 4622 echo "$as_me:4622: \$? = $ac_status" >&5
4629 (exit $ac_status); }; }; then 4623 (exit $ac_status); }; }; then
4630 ac_cv_member_struct_tm_tm_zone=yes 4624 ac_cv_member_struct_tm_tm_zone=yes
4631 else 4625 else
4632 echo "$as_me: failed program was:" >&5 4626 echo "$as_me: failed program was:" >&5
4633 cat conftest.$ac_ext >&5 4627 cat conftest.$ac_ext >&5
4634 ac_cv_member_struct_tm_tm_zone=no 4628 ac_cv_member_struct_tm_tm_zone=no
4635 fi 4629 fi
4636 rm -f conftest.$ac_objext conftest.$ac_ext 4630 rm -f conftest.$ac_objext conftest.$ac_ext
4637 fi 4631 fi
4638 echo "$as_me:4638: result: $ac_cv_member_struct_tm_tm_zone" >&5 4632 echo "$as_me:4632: result: $ac_cv_member_struct_tm_tm_zone" >&5
4639 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4633 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4640 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4634 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4641 4635
4642 cat >>confdefs.h <<EOF 4636 cat >>confdefs.h <<EOF
4643 #define HAVE_STRUCT_TM_TM_ZONE 1 4637 #define HAVE_STRUCT_TM_TM_ZONE 1
4650 cat >>confdefs.h <<\EOF 4644 cat >>confdefs.h <<\EOF
4651 #define HAVE_TM_ZONE 1 4645 #define HAVE_TM_ZONE 1
4652 EOF 4646 EOF
4653 4647
4654 else 4648 else
4655 echo "$as_me:4655: checking for tzname" >&5 4649 echo "$as_me:4649: checking for tzname" >&5
4656 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4650 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4657 if test "${ac_cv_var_tzname+set}" = set; then 4651 if test "${ac_cv_var_tzname+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6 4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 else 4653 else
4660 cat >conftest.$ac_ext <<_ACEOF 4654 cat >conftest.$ac_ext <<_ACEOF
4661 #line 4661 "configure" 4655 #line 4655 "configure"
4662 #include "confdefs.h" 4656 #include "confdefs.h"
4663 #include <time.h> 4657 #include <time.h>
4664 #ifndef tzname /* For SGI. */ 4658 #ifndef tzname /* For SGI. */
4665 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4659 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4666 #endif 4660 #endif
4672 ; 4666 ;
4673 return 0; 4667 return 0;
4674 } 4668 }
4675 _ACEOF 4669 _ACEOF
4676 rm -f conftest.$ac_objext conftest$ac_exeext 4670 rm -f conftest.$ac_objext conftest$ac_exeext
4677 if { (eval echo "$as_me:4677: \"$ac_link\"") >&5 4671 if { (eval echo "$as_me:4671: \"$ac_link\"") >&5
4678 (eval $ac_link) 2>&5 4672 (eval $ac_link) 2>&5
4679 ac_status=$? 4673 ac_status=$?
4680 echo "$as_me:4680: \$? = $ac_status" >&5 4674 echo "$as_me:4674: \$? = $ac_status" >&5
4681 (exit $ac_status); } && 4675 (exit $ac_status); } &&
4682 { ac_try='test -s conftest$ac_exeext' 4676 { ac_try='test -s conftest$ac_exeext'
4683 { (eval echo "$as_me:4683: \"$ac_try\"") >&5 4677 { (eval echo "$as_me:4677: \"$ac_try\"") >&5
4684 (eval $ac_try) 2>&5 4678 (eval $ac_try) 2>&5
4685 ac_status=$? 4679 ac_status=$?
4686 echo "$as_me:4686: \$? = $ac_status" >&5 4680 echo "$as_me:4680: \$? = $ac_status" >&5
4687 (exit $ac_status); }; }; then 4681 (exit $ac_status); }; }; then
4688 ac_cv_var_tzname=yes 4682 ac_cv_var_tzname=yes
4689 else 4683 else
4690 echo "$as_me: failed program was:" >&5 4684 echo "$as_me: failed program was:" >&5
4691 cat conftest.$ac_ext >&5 4685 cat conftest.$ac_ext >&5
4692 ac_cv_var_tzname=no 4686 ac_cv_var_tzname=no
4693 fi 4687 fi
4694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4695 fi 4689 fi
4696 echo "$as_me:4696: result: $ac_cv_var_tzname" >&5 4690 echo "$as_me:4690: result: $ac_cv_var_tzname" >&5
4697 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4691 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4698 if test $ac_cv_var_tzname = yes; then 4692 if test $ac_cv_var_tzname = yes; then
4699 4693
4700 cat >>confdefs.h <<\EOF 4694 cat >>confdefs.h <<\EOF
4701 #define HAVE_TZNAME 1 4695 #define HAVE_TZNAME 1
4702 EOF 4696 EOF
4703 4697
4704 fi 4698 fi
4705 fi 4699 fi
4706 4700
4707 echo "$as_me:4707: checking for tm_gmtoff in struct tm" >&5 4701 echo "$as_me:4701: checking for tm_gmtoff in struct tm" >&5
4708 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 4702 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4709 if test "${emacs_cv_tm_gmtoff+set}" = set; then 4703 if test "${emacs_cv_tm_gmtoff+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6 4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 else 4705 else
4712 cat >conftest.$ac_ext <<_ACEOF 4706 cat >conftest.$ac_ext <<_ACEOF
4713 #line 4713 "configure" 4707 #line 4707 "configure"
4714 #include "confdefs.h" 4708 #include "confdefs.h"
4715 #include <time.h> 4709 #include <time.h>
4716 int 4710 int
4717 main () 4711 main ()
4718 { 4712 {
4720 ; 4714 ;
4721 return 0; 4715 return 0;
4722 } 4716 }
4723 _ACEOF 4717 _ACEOF
4724 rm -f conftest.$ac_objext conftest$ac_exeext 4718 rm -f conftest.$ac_objext conftest$ac_exeext
4725 if { (eval echo "$as_me:4725: \"$ac_link\"") >&5 4719 if { (eval echo "$as_me:4719: \"$ac_link\"") >&5
4726 (eval $ac_link) 2>&5 4720 (eval $ac_link) 2>&5
4727 ac_status=$? 4721 ac_status=$?
4728 echo "$as_me:4728: \$? = $ac_status" >&5 4722 echo "$as_me:4722: \$? = $ac_status" >&5
4729 (exit $ac_status); } && 4723 (exit $ac_status); } &&
4730 { ac_try='test -s conftest$ac_exeext' 4724 { ac_try='test -s conftest$ac_exeext'
4731 { (eval echo "$as_me:4731: \"$ac_try\"") >&5 4725 { (eval echo "$as_me:4725: \"$ac_try\"") >&5
4732 (eval $ac_try) 2>&5 4726 (eval $ac_try) 2>&5
4733 ac_status=$? 4727 ac_status=$?
4734 echo "$as_me:4734: \$? = $ac_status" >&5 4728 echo "$as_me:4728: \$? = $ac_status" >&5
4735 (exit $ac_status); }; }; then 4729 (exit $ac_status); }; }; then
4736 emacs_cv_tm_gmtoff=yes 4730 emacs_cv_tm_gmtoff=yes
4737 else 4731 else
4738 echo "$as_me: failed program was:" >&5 4732 echo "$as_me: failed program was:" >&5
4739 cat conftest.$ac_ext >&5 4733 cat conftest.$ac_ext >&5
4740 emacs_cv_tm_gmtoff=no 4734 emacs_cv_tm_gmtoff=no
4741 fi 4735 fi
4742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4743 fi 4737 fi
4744 echo "$as_me:4744: result: $emacs_cv_tm_gmtoff" >&5 4738 echo "$as_me:4738: result: $emacs_cv_tm_gmtoff" >&5
4745 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 4739 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4746 if test $emacs_cv_tm_gmtoff = yes; then 4740 if test $emacs_cv_tm_gmtoff = yes; then
4747 cat >>confdefs.h <<\EOF 4741 cat >>confdefs.h <<\EOF
4748 #define HAVE_TM_GMTOFF 1 4742 #define HAVE_TM_GMTOFF 1
4749 EOF 4743 EOF
4750 4744
4751 fi 4745 fi
4752 4746
4753 echo "$as_me:4753: checking for $CC option to accept ANSI C" >&5 4747 echo "$as_me:4747: checking for $CC option to accept ANSI C" >&5
4754 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4748 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4755 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4749 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6 4750 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 else 4751 else
4758 ac_cv_prog_cc_stdc=no 4752 ac_cv_prog_cc_stdc=no
4759 ac_save_CC=$CC 4753 ac_save_CC=$CC
4760 cat >conftest.$ac_ext <<_ACEOF 4754 cat >conftest.$ac_ext <<_ACEOF
4761 #line 4761 "configure" 4755 #line 4755 "configure"
4762 #include "confdefs.h" 4756 #include "confdefs.h"
4763 #include <stdarg.h> 4757 #include <stdarg.h>
4764 #include <stdio.h> 4758 #include <stdio.h>
4765 #include <sys/types.h> 4759 #include <sys/types.h>
4766 #include <sys/stat.h> 4760 #include <sys/stat.h>
4805 # SVR4 -Xc -D__EXTENSIONS__ 4799 # SVR4 -Xc -D__EXTENSIONS__
4806 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4800 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4807 do 4801 do
4808 CC="$ac_save_CC $ac_arg" 4802 CC="$ac_save_CC $ac_arg"
4809 rm -f conftest.$ac_objext 4803 rm -f conftest.$ac_objext
4810 if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5 4804 if { (eval echo "$as_me:4804: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>&5 4805 (eval $ac_compile) 2>&5
4812 ac_status=$? 4806 ac_status=$?
4813 echo "$as_me:4813: \$? = $ac_status" >&5 4807 echo "$as_me:4807: \$? = $ac_status" >&5
4814 (exit $ac_status); } && 4808 (exit $ac_status); } &&
4815 { ac_try='test -s conftest.$ac_objext' 4809 { ac_try='test -s conftest.$ac_objext'
4816 { (eval echo "$as_me:4816: \"$ac_try\"") >&5 4810 { (eval echo "$as_me:4810: \"$ac_try\"") >&5
4817 (eval $ac_try) 2>&5 4811 (eval $ac_try) 2>&5
4818 ac_status=$? 4812 ac_status=$?
4819 echo "$as_me:4819: \$? = $ac_status" >&5 4813 echo "$as_me:4813: \$? = $ac_status" >&5
4820 (exit $ac_status); }; }; then 4814 (exit $ac_status); }; }; then
4821 ac_cv_prog_cc_stdc=$ac_arg 4815 ac_cv_prog_cc_stdc=$ac_arg
4822 break 4816 break
4823 else 4817 else
4824 echo "$as_me: failed program was:" >&5 4818 echo "$as_me: failed program was:" >&5
4831 4825
4832 fi 4826 fi
4833 4827
4834 case "x$ac_cv_prog_cc_stdc" in 4828 case "x$ac_cv_prog_cc_stdc" in
4835 x|xno) 4829 x|xno)
4836 echo "$as_me:4836: result: none needed" >&5 4830 echo "$as_me:4830: result: none needed" >&5
4837 echo "${ECHO_T}none needed" >&6 ;; 4831 echo "${ECHO_T}none needed" >&6 ;;
4838 *) 4832 *)
4839 echo "$as_me:4839: result: $ac_cv_prog_cc_stdc" >&5 4833 echo "$as_me:4833: result: $ac_cv_prog_cc_stdc" >&5
4840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4834 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4841 CC="$CC $ac_cv_prog_cc_stdc" ;; 4835 CC="$CC $ac_cv_prog_cc_stdc" ;;
4842 esac 4836 esac
4843 4837
4844 echo "$as_me:4844: checking for function prototypes" >&5 4838 echo "$as_me:4838: checking for function prototypes" >&5
4845 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4839 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4846 if test "$ac_cv_prog_cc_stdc" != no; then 4840 if test "$ac_cv_prog_cc_stdc" != no; then
4847 echo "$as_me:4847: result: yes" >&5 4841 echo "$as_me:4841: result: yes" >&5
4848 echo "${ECHO_T}yes" >&6 4842 echo "${ECHO_T}yes" >&6
4849 4843
4850 cat >>confdefs.h <<\EOF 4844 cat >>confdefs.h <<\EOF
4851 #define PROTOTYPES 1 4845 #define PROTOTYPES 1
4852 EOF 4846 EOF
4853 4847
4854 else 4848 else
4855 echo "$as_me:4855: result: no" >&5 4849 echo "$as_me:4849: result: no" >&5
4856 echo "${ECHO_T}no" >&6 4850 echo "${ECHO_T}no" >&6
4857 fi 4851 fi
4858 4852
4859 echo "$as_me:4859: checking for working volatile" >&5 4853 echo "$as_me:4853: checking for working volatile" >&5
4860 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4854 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4861 if test "${ac_cv_c_volatile+set}" = set; then 4855 if test "${ac_cv_c_volatile+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6 4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 else 4857 else
4864 cat >conftest.$ac_ext <<_ACEOF 4858 cat >conftest.$ac_ext <<_ACEOF
4865 #line 4865 "configure" 4859 #line 4859 "configure"
4866 #include "confdefs.h" 4860 #include "confdefs.h"
4867 4861
4868 int 4862 int
4869 main () 4863 main ()
4870 { 4864 {
4874 ; 4868 ;
4875 return 0; 4869 return 0;
4876 } 4870 }
4877 _ACEOF 4871 _ACEOF
4878 rm -f conftest.$ac_objext 4872 rm -f conftest.$ac_objext
4879 if { (eval echo "$as_me:4879: \"$ac_compile\"") >&5 4873 if { (eval echo "$as_me:4873: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>&5 4874 (eval $ac_compile) 2>&5
4881 ac_status=$? 4875 ac_status=$?
4882 echo "$as_me:4882: \$? = $ac_status" >&5 4876 echo "$as_me:4876: \$? = $ac_status" >&5
4883 (exit $ac_status); } && 4877 (exit $ac_status); } &&
4884 { ac_try='test -s conftest.$ac_objext' 4878 { ac_try='test -s conftest.$ac_objext'
4885 { (eval echo "$as_me:4885: \"$ac_try\"") >&5 4879 { (eval echo "$as_me:4879: \"$ac_try\"") >&5
4886 (eval $ac_try) 2>&5 4880 (eval $ac_try) 2>&5
4887 ac_status=$? 4881 ac_status=$?
4888 echo "$as_me:4888: \$? = $ac_status" >&5 4882 echo "$as_me:4882: \$? = $ac_status" >&5
4889 (exit $ac_status); }; }; then 4883 (exit $ac_status); }; }; then
4890 ac_cv_c_volatile=yes 4884 ac_cv_c_volatile=yes
4891 else 4885 else
4892 echo "$as_me: failed program was:" >&5 4886 echo "$as_me: failed program was:" >&5
4893 cat conftest.$ac_ext >&5 4887 cat conftest.$ac_ext >&5
4894 ac_cv_c_volatile=no 4888 ac_cv_c_volatile=no
4895 fi 4889 fi
4896 rm -f conftest.$ac_objext conftest.$ac_ext 4890 rm -f conftest.$ac_objext conftest.$ac_ext
4897 fi 4891 fi
4898 echo "$as_me:4898: result: $ac_cv_c_volatile" >&5 4892 echo "$as_me:4892: result: $ac_cv_c_volatile" >&5
4899 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4893 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4900 if test $ac_cv_c_volatile = no; then 4894 if test $ac_cv_c_volatile = no; then
4901 4895
4902 cat >>confdefs.h <<\EOF 4896 cat >>confdefs.h <<\EOF
4903 #define volatile 4897 #define volatile
4904 EOF 4898 EOF
4905 4899
4906 fi 4900 fi
4907 4901
4908 echo "$as_me:4908: checking for an ANSI C-conforming const" >&5 4902 echo "$as_me:4902: checking for an ANSI C-conforming const" >&5
4909 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4903 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4910 if test "${ac_cv_c_const+set}" = set; then 4904 if test "${ac_cv_c_const+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6 4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 else 4906 else
4913 cat >conftest.$ac_ext <<_ACEOF 4907 cat >conftest.$ac_ext <<_ACEOF
4914 #line 4914 "configure" 4908 #line 4908 "configure"
4915 #include "confdefs.h" 4909 #include "confdefs.h"
4916 4910
4917 int 4911 int
4918 main () 4912 main ()
4919 { 4913 {
4967 ; 4961 ;
4968 return 0; 4962 return 0;
4969 } 4963 }
4970 _ACEOF 4964 _ACEOF
4971 rm -f conftest.$ac_objext 4965 rm -f conftest.$ac_objext
4972 if { (eval echo "$as_me:4972: \"$ac_compile\"") >&5 4966 if { (eval echo "$as_me:4966: \"$ac_compile\"") >&5
4973 (eval $ac_compile) 2>&5 4967 (eval $ac_compile) 2>&5
4974 ac_status=$? 4968 ac_status=$?
4975 echo "$as_me:4975: \$? = $ac_status" >&5 4969 echo "$as_me:4969: \$? = $ac_status" >&5
4976 (exit $ac_status); } && 4970 (exit $ac_status); } &&
4977 { ac_try='test -s conftest.$ac_objext' 4971 { ac_try='test -s conftest.$ac_objext'
4978 { (eval echo "$as_me:4978: \"$ac_try\"") >&5 4972 { (eval echo "$as_me:4972: \"$ac_try\"") >&5
4979 (eval $ac_try) 2>&5 4973 (eval $ac_try) 2>&5
4980 ac_status=$? 4974 ac_status=$?
4981 echo "$as_me:4981: \$? = $ac_status" >&5 4975 echo "$as_me:4975: \$? = $ac_status" >&5
4982 (exit $ac_status); }; }; then 4976 (exit $ac_status); }; }; then
4983 ac_cv_c_const=yes 4977 ac_cv_c_const=yes
4984 else 4978 else
4985 echo "$as_me: failed program was:" >&5 4979 echo "$as_me: failed program was:" >&5
4986 cat conftest.$ac_ext >&5 4980 cat conftest.$ac_ext >&5
4987 ac_cv_c_const=no 4981 ac_cv_c_const=no
4988 fi 4982 fi
4989 rm -f conftest.$ac_objext conftest.$ac_ext 4983 rm -f conftest.$ac_objext conftest.$ac_ext
4990 fi 4984 fi
4991 echo "$as_me:4991: result: $ac_cv_c_const" >&5 4985 echo "$as_me:4985: result: $ac_cv_c_const" >&5
4992 echo "${ECHO_T}$ac_cv_c_const" >&6 4986 echo "${ECHO_T}$ac_cv_c_const" >&6
4993 if test $ac_cv_c_const = no; then 4987 if test $ac_cv_c_const = no; then
4994 4988
4995 cat >>confdefs.h <<\EOF 4989 cat >>confdefs.h <<\EOF
4996 #define const 4990 #define const
4997 EOF 4991 EOF
4998 4992
4999 fi 4993 fi
5000 4994
5001 echo "$as_me:5001: checking for void * support" >&5 4995 echo "$as_me:4995: checking for void * support" >&5
5002 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 4996 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5003 if test "${emacs_cv_void_star+set}" = set; then 4997 if test "${emacs_cv_void_star+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6 4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 else 4999 else
5006 cat >conftest.$ac_ext <<_ACEOF 5000 cat >conftest.$ac_ext <<_ACEOF
5007 #line 5007 "configure" 5001 #line 5001 "configure"
5008 #include "confdefs.h" 5002 #include "confdefs.h"
5009 5003
5010 int 5004 int
5011 main () 5005 main ()
5012 { 5006 {
5014 ; 5008 ;
5015 return 0; 5009 return 0;
5016 } 5010 }
5017 _ACEOF 5011 _ACEOF
5018 rm -f conftest.$ac_objext 5012 rm -f conftest.$ac_objext
5019 if { (eval echo "$as_me:5019: \"$ac_compile\"") >&5 5013 if { (eval echo "$as_me:5013: \"$ac_compile\"") >&5
5020 (eval $ac_compile) 2>&5 5014 (eval $ac_compile) 2>&5
5021 ac_status=$? 5015 ac_status=$?
5022 echo "$as_me:5022: \$? = $ac_status" >&5 5016 echo "$as_me:5016: \$? = $ac_status" >&5
5023 (exit $ac_status); } && 5017 (exit $ac_status); } &&
5024 { ac_try='test -s conftest.$ac_objext' 5018 { ac_try='test -s conftest.$ac_objext'
5025 { (eval echo "$as_me:5025: \"$ac_try\"") >&5 5019 { (eval echo "$as_me:5019: \"$ac_try\"") >&5
5026 (eval $ac_try) 2>&5 5020 (eval $ac_try) 2>&5
5027 ac_status=$? 5021 ac_status=$?
5028 echo "$as_me:5028: \$? = $ac_status" >&5 5022 echo "$as_me:5022: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then 5023 (exit $ac_status); }; }; then
5030 emacs_cv_void_star=yes 5024 emacs_cv_void_star=yes
5031 else 5025 else
5032 echo "$as_me: failed program was:" >&5 5026 echo "$as_me: failed program was:" >&5
5033 cat conftest.$ac_ext >&5 5027 cat conftest.$ac_ext >&5
5034 emacs_cv_void_star=no 5028 emacs_cv_void_star=no
5035 fi 5029 fi
5036 rm -f conftest.$ac_objext conftest.$ac_ext 5030 rm -f conftest.$ac_objext conftest.$ac_ext
5037 fi 5031 fi
5038 echo "$as_me:5038: result: $emacs_cv_void_star" >&5 5032 echo "$as_me:5032: result: $emacs_cv_void_star" >&5
5039 echo "${ECHO_T}$emacs_cv_void_star" >&6 5033 echo "${ECHO_T}$emacs_cv_void_star" >&6
5040 if test $emacs_cv_void_star = yes; then 5034 if test $emacs_cv_void_star = yes; then
5041 cat >>confdefs.h <<\EOF 5035 cat >>confdefs.h <<\EOF
5042 #define POINTER_TYPE void 5036 #define POINTER_TYPE void
5043 EOF 5037 EOF
5047 #define POINTER_TYPE char 5041 #define POINTER_TYPE char
5048 EOF 5042 EOF
5049 5043
5050 fi 5044 fi
5051 5045
5052 echo "$as_me:5052: checking whether ${MAKE-make} sets \${MAKE}" >&5 5046 echo "$as_me:5046: checking whether ${MAKE-make} sets \${MAKE}" >&5
5053 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5047 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5054 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5048 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5055 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5049 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5056 echo $ECHO_N "(cached) $ECHO_C" >&6 5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 else 5051 else
5067 eval ac_cv_prog_make_${ac_make}_set=no 5061 eval ac_cv_prog_make_${ac_make}_set=no
5068 fi 5062 fi
5069 rm -f conftest.make 5063 rm -f conftest.make
5070 fi 5064 fi
5071 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5065 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5072 echo "$as_me:5072: result: yes" >&5 5066 echo "$as_me:5066: result: yes" >&5
5073 echo "${ECHO_T}yes" >&6 5067 echo "${ECHO_T}yes" >&6
5074 SET_MAKE= 5068 SET_MAKE=
5075 else 5069 else
5076 echo "$as_me:5076: result: no" >&5 5070 echo "$as_me:5070: result: no" >&5
5077 echo "${ECHO_T}no" >&6 5071 echo "${ECHO_T}no" >&6
5078 SET_MAKE="MAKE=${MAKE-make}" 5072 SET_MAKE="MAKE=${MAKE-make}"
5079 fi 5073 fi
5080 5074
5081 echo "$as_me:5081: checking for long file names" >&5 5075 echo "$as_me:5075: checking for long file names" >&5
5082 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5076 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5083 if test "${ac_cv_sys_long_file_names+set}" = set; then 5077 if test "${ac_cv_sys_long_file_names+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6 5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 else 5079 else
5086 ac_cv_sys_long_file_names=yes 5080 ac_cv_sys_long_file_names=yes
5115 break 5109 break
5116 fi 5110 fi
5117 rm -rf $ac_xdir 2>/dev/null 5111 rm -rf $ac_xdir 2>/dev/null
5118 done 5112 done
5119 fi 5113 fi
5120 echo "$as_me:5120: result: $ac_cv_sys_long_file_names" >&5 5114 echo "$as_me:5114: result: $ac_cv_sys_long_file_names" >&5
5121 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5115 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5122 if test $ac_cv_sys_long_file_names = yes; then 5116 if test $ac_cv_sys_long_file_names = yes; then
5123 5117
5124 cat >>confdefs.h <<\EOF 5118 cat >>confdefs.h <<\EOF
5125 #define HAVE_LONG_FILE_NAMES 1 5119 #define HAVE_LONG_FILE_NAMES 1
5127 5121
5128 fi 5122 fi
5129 5123
5130 #### Choose a window system. 5124 #### Choose a window system.
5131 5125
5132 echo "$as_me:5132: checking for X" >&5 5126 echo "$as_me:5126: checking for X" >&5
5133 echo $ECHO_N "checking for X... $ECHO_C" >&6 5127 echo $ECHO_N "checking for X... $ECHO_C" >&6
5134 5128
5135 # Check whether --with-x or --without-x was given. 5129 # Check whether --with-x or --without-x was given.
5136 if test "${with_x+set}" = set; then 5130 if test "${with_x+set}" = set; then
5137 withval="$with_x" 5131 withval="$with_x"
5224 5218
5225 if test "$ac_x_includes" = no; then 5219 if test "$ac_x_includes" = no; then
5226 # Guess where to find include files, by looking for Intrinsic.h. 5220 # Guess where to find include files, by looking for Intrinsic.h.
5227 # First, try using that file with no special directory specified. 5221 # First, try using that file with no special directory specified.
5228 cat >conftest.$ac_ext <<_ACEOF 5222 cat >conftest.$ac_ext <<_ACEOF
5229 #line 5229 "configure" 5223 #line 5223 "configure"
5230 #include "confdefs.h" 5224 #include "confdefs.h"
5231 #include <X11/Intrinsic.h> 5225 #include <X11/Intrinsic.h>
5232 _ACEOF 5226 _ACEOF
5233 if { (eval echo "$as_me:5233: \"$ac_cpp conftest.$ac_ext\"") >&5 5227 if { (eval echo "$as_me:5227: \"$ac_cpp conftest.$ac_ext\"") >&5
5234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5235 ac_status=$? 5229 ac_status=$?
5236 egrep -v '^ *\+' conftest.er1 >conftest.err 5230 egrep -v '^ *\+' conftest.er1 >conftest.err
5237 rm -f conftest.er1 5231 rm -f conftest.er1
5238 cat conftest.err >&5 5232 cat conftest.err >&5
5239 echo "$as_me:5239: \$? = $ac_status" >&5 5233 echo "$as_me:5233: \$? = $ac_status" >&5
5240 (exit $ac_status); } >/dev/null; then 5234 (exit $ac_status); } >/dev/null; then
5241 if test -s conftest.err; then 5235 if test -s conftest.err; then
5242 ac_cpp_err=$ac_c_preproc_warn_flag 5236 ac_cpp_err=$ac_c_preproc_warn_flag
5243 else 5237 else
5244 ac_cpp_err= 5238 ac_cpp_err=
5267 # See if we find them without any special options. 5261 # See if we find them without any special options.
5268 # Don't add to $LIBS permanently. 5262 # Don't add to $LIBS permanently.
5269 ac_save_LIBS=$LIBS 5263 ac_save_LIBS=$LIBS
5270 LIBS="-lXt $LIBS" 5264 LIBS="-lXt $LIBS"
5271 cat >conftest.$ac_ext <<_ACEOF 5265 cat >conftest.$ac_ext <<_ACEOF
5272 #line 5272 "configure" 5266 #line 5266 "configure"
5273 #include "confdefs.h" 5267 #include "confdefs.h"
5274 #include <X11/Intrinsic.h> 5268 #include <X11/Intrinsic.h>
5275 int 5269 int
5276 main () 5270 main ()
5277 { 5271 {
5279 ; 5273 ;
5280 return 0; 5274 return 0;
5281 } 5275 }
5282 _ACEOF 5276 _ACEOF
5283 rm -f conftest.$ac_objext conftest$ac_exeext 5277 rm -f conftest.$ac_objext conftest$ac_exeext
5284 if { (eval echo "$as_me:5284: \"$ac_link\"") >&5 5278 if { (eval echo "$as_me:5278: \"$ac_link\"") >&5
5285 (eval $ac_link) 2>&5 5279 (eval $ac_link) 2>&5
5286 ac_status=$? 5280 ac_status=$?
5287 echo "$as_me:5287: \$? = $ac_status" >&5 5281 echo "$as_me:5281: \$? = $ac_status" >&5
5288 (exit $ac_status); } && 5282 (exit $ac_status); } &&
5289 { ac_try='test -s conftest$ac_exeext' 5283 { ac_try='test -s conftest$ac_exeext'
5290 { (eval echo "$as_me:5290: \"$ac_try\"") >&5 5284 { (eval echo "$as_me:5284: \"$ac_try\"") >&5
5291 (eval $ac_try) 2>&5 5285 (eval $ac_try) 2>&5
5292 ac_status=$? 5286 ac_status=$?
5293 echo "$as_me:5293: \$? = $ac_status" >&5 5287 echo "$as_me:5287: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then 5288 (exit $ac_status); }; }; then
5295 LIBS=$ac_save_LIBS 5289 LIBS=$ac_save_LIBS
5296 # We can link X programs with no special library path. 5290 # We can link X programs with no special library path.
5297 ac_x_libraries= 5291 ac_x_libraries=
5298 else 5292 else
5326 fi 5320 fi
5327 eval "$ac_cv_have_x" 5321 eval "$ac_cv_have_x"
5328 fi # $with_x != no 5322 fi # $with_x != no
5329 5323
5330 if test "$have_x" != yes; then 5324 if test "$have_x" != yes; then
5331 echo "$as_me:5331: result: $have_x" >&5 5325 echo "$as_me:5325: result: $have_x" >&5
5332 echo "${ECHO_T}$have_x" >&6 5326 echo "${ECHO_T}$have_x" >&6
5333 no_x=yes 5327 no_x=yes
5334 else 5328 else
5335 # If each of the values was on the command line, it overrides each guess. 5329 # If each of the values was on the command line, it overrides each guess.
5336 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5330 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5337 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5331 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5338 # Update the cache value to reflect the command line values. 5332 # Update the cache value to reflect the command line values.
5339 ac_cv_have_x="have_x=yes \ 5333 ac_cv_have_x="have_x=yes \
5340 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5334 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5341 echo "$as_me:5341: result: libraries $x_libraries, headers $x_includes" >&5 5335 echo "$as_me:5335: result: libraries $x_libraries, headers $x_includes" >&5
5342 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5336 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5343 fi 5337 fi
5344 5338
5345 if test "$no_x" = yes; then 5339 if test "$no_x" = yes; then
5346 window_system=none 5340 window_system=none
5434 5428
5435 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5429 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5436 # Assume not, until told otherwise. 5430 # Assume not, until told otherwise.
5437 GNU_MALLOC=yes 5431 GNU_MALLOC=yes
5438 doug_lea_malloc=yes 5432 doug_lea_malloc=yes
5439 echo "$as_me:5439: checking for malloc_get_state" >&5 5433 echo "$as_me:5433: checking for malloc_get_state" >&5
5440 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5434 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5441 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5435 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6 5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 else 5437 else
5444 cat >conftest.$ac_ext <<_ACEOF 5438 cat >conftest.$ac_ext <<_ACEOF
5445 #line 5445 "configure" 5439 #line 5439 "configure"
5446 #include "confdefs.h" 5440 #include "confdefs.h"
5447 /* System header to define __stub macros and hopefully few prototypes, 5441 /* System header to define __stub macros and hopefully few prototypes,
5448 which can conflict with char malloc_get_state (); below. */ 5442 which can conflict with char malloc_get_state (); below. */
5449 #include <assert.h> 5443 #include <assert.h>
5450 /* Override any gcc2 internal prototype to avoid an error. */ 5444 /* Override any gcc2 internal prototype to avoid an error. */
5471 ; 5465 ;
5472 return 0; 5466 return 0;
5473 } 5467 }
5474 _ACEOF 5468 _ACEOF
5475 rm -f conftest.$ac_objext conftest$ac_exeext 5469 rm -f conftest.$ac_objext conftest$ac_exeext
5476 if { (eval echo "$as_me:5476: \"$ac_link\"") >&5 5470 if { (eval echo "$as_me:5470: \"$ac_link\"") >&5
5477 (eval $ac_link) 2>&5 5471 (eval $ac_link) 2>&5
5478 ac_status=$? 5472 ac_status=$?
5479 echo "$as_me:5479: \$? = $ac_status" >&5 5473 echo "$as_me:5473: \$? = $ac_status" >&5
5480 (exit $ac_status); } && 5474 (exit $ac_status); } &&
5481 { ac_try='test -s conftest$ac_exeext' 5475 { ac_try='test -s conftest$ac_exeext'
5482 { (eval echo "$as_me:5482: \"$ac_try\"") >&5 5476 { (eval echo "$as_me:5476: \"$ac_try\"") >&5
5483 (eval $ac_try) 2>&5 5477 (eval $ac_try) 2>&5
5484 ac_status=$? 5478 ac_status=$?
5485 echo "$as_me:5485: \$? = $ac_status" >&5 5479 echo "$as_me:5479: \$? = $ac_status" >&5
5486 (exit $ac_status); }; }; then 5480 (exit $ac_status); }; }; then
5487 ac_cv_func_malloc_get_state=yes 5481 ac_cv_func_malloc_get_state=yes
5488 else 5482 else
5489 echo "$as_me: failed program was:" >&5 5483 echo "$as_me: failed program was:" >&5
5490 cat conftest.$ac_ext >&5 5484 cat conftest.$ac_ext >&5
5491 ac_cv_func_malloc_get_state=no 5485 ac_cv_func_malloc_get_state=no
5492 fi 5486 fi
5493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5487 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5494 fi 5488 fi
5495 echo "$as_me:5495: result: $ac_cv_func_malloc_get_state" >&5 5489 echo "$as_me:5489: result: $ac_cv_func_malloc_get_state" >&5
5496 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5490 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5497 if test $ac_cv_func_malloc_get_state = yes; then 5491 if test $ac_cv_func_malloc_get_state = yes; then
5498 : 5492 :
5499 else 5493 else
5500 doug_lea_malloc=no 5494 doug_lea_malloc=no
5501 fi 5495 fi
5502 5496
5503 echo "$as_me:5503: checking for malloc_set_state" >&5 5497 echo "$as_me:5497: checking for malloc_set_state" >&5
5504 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5498 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5505 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5499 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6 5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 else 5501 else
5508 cat >conftest.$ac_ext <<_ACEOF 5502 cat >conftest.$ac_ext <<_ACEOF
5509 #line 5509 "configure" 5503 #line 5503 "configure"
5510 #include "confdefs.h" 5504 #include "confdefs.h"
5511 /* System header to define __stub macros and hopefully few prototypes, 5505 /* System header to define __stub macros and hopefully few prototypes,
5512 which can conflict with char malloc_set_state (); below. */ 5506 which can conflict with char malloc_set_state (); below. */
5513 #include <assert.h> 5507 #include <assert.h>
5514 /* Override any gcc2 internal prototype to avoid an error. */ 5508 /* Override any gcc2 internal prototype to avoid an error. */
5535 ; 5529 ;
5536 return 0; 5530 return 0;
5537 } 5531 }
5538 _ACEOF 5532 _ACEOF
5539 rm -f conftest.$ac_objext conftest$ac_exeext 5533 rm -f conftest.$ac_objext conftest$ac_exeext
5540 if { (eval echo "$as_me:5540: \"$ac_link\"") >&5 5534 if { (eval echo "$as_me:5534: \"$ac_link\"") >&5
5541 (eval $ac_link) 2>&5 5535 (eval $ac_link) 2>&5
5542 ac_status=$? 5536 ac_status=$?
5543 echo "$as_me:5543: \$? = $ac_status" >&5 5537 echo "$as_me:5537: \$? = $ac_status" >&5
5544 (exit $ac_status); } && 5538 (exit $ac_status); } &&
5545 { ac_try='test -s conftest$ac_exeext' 5539 { ac_try='test -s conftest$ac_exeext'
5546 { (eval echo "$as_me:5546: \"$ac_try\"") >&5 5540 { (eval echo "$as_me:5540: \"$ac_try\"") >&5
5547 (eval $ac_try) 2>&5 5541 (eval $ac_try) 2>&5
5548 ac_status=$? 5542 ac_status=$?
5549 echo "$as_me:5549: \$? = $ac_status" >&5 5543 echo "$as_me:5543: \$? = $ac_status" >&5
5550 (exit $ac_status); }; }; then 5544 (exit $ac_status); }; }; then
5551 ac_cv_func_malloc_set_state=yes 5545 ac_cv_func_malloc_set_state=yes
5552 else 5546 else
5553 echo "$as_me: failed program was:" >&5 5547 echo "$as_me: failed program was:" >&5
5554 cat conftest.$ac_ext >&5 5548 cat conftest.$ac_ext >&5
5555 ac_cv_func_malloc_set_state=no 5549 ac_cv_func_malloc_set_state=no
5556 fi 5550 fi
5557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5558 fi 5552 fi
5559 echo "$as_me:5559: result: $ac_cv_func_malloc_set_state" >&5 5553 echo "$as_me:5553: result: $ac_cv_func_malloc_set_state" >&5
5560 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5554 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5561 if test $ac_cv_func_malloc_set_state = yes; then 5555 if test $ac_cv_func_malloc_set_state = yes; then
5562 : 5556 :
5563 else 5557 else
5564 doug_lea_malloc=no 5558 doug_lea_malloc=no
5565 fi 5559 fi
5566 5560
5567 echo "$as_me:5567: checking whether __after_morecore_hook exists" >&5 5561 echo "$as_me:5561: checking whether __after_morecore_hook exists" >&5
5568 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5562 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5569 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5563 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6 5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 else 5565 else
5572 cat >conftest.$ac_ext <<_ACEOF 5566 cat >conftest.$ac_ext <<_ACEOF
5573 #line 5573 "configure" 5567 #line 5567 "configure"
5574 #include "confdefs.h" 5568 #include "confdefs.h"
5575 extern void (* __after_morecore_hook)(); 5569 extern void (* __after_morecore_hook)();
5576 int 5570 int
5577 main () 5571 main ()
5578 { 5572 {
5580 ; 5574 ;
5581 return 0; 5575 return 0;
5582 } 5576 }
5583 _ACEOF 5577 _ACEOF
5584 rm -f conftest.$ac_objext conftest$ac_exeext 5578 rm -f conftest.$ac_objext conftest$ac_exeext
5585 if { (eval echo "$as_me:5585: \"$ac_link\"") >&5 5579 if { (eval echo "$as_me:5579: \"$ac_link\"") >&5
5586 (eval $ac_link) 2>&5 5580 (eval $ac_link) 2>&5
5587 ac_status=$? 5581 ac_status=$?
5588 echo "$as_me:5588: \$? = $ac_status" >&5 5582 echo "$as_me:5582: \$? = $ac_status" >&5
5589 (exit $ac_status); } && 5583 (exit $ac_status); } &&
5590 { ac_try='test -s conftest$ac_exeext' 5584 { ac_try='test -s conftest$ac_exeext'
5591 { (eval echo "$as_me:5591: \"$ac_try\"") >&5 5585 { (eval echo "$as_me:5585: \"$ac_try\"") >&5
5592 (eval $ac_try) 2>&5 5586 (eval $ac_try) 2>&5
5593 ac_status=$? 5587 ac_status=$?
5594 echo "$as_me:5594: \$? = $ac_status" >&5 5588 echo "$as_me:5588: \$? = $ac_status" >&5
5595 (exit $ac_status); }; }; then 5589 (exit $ac_status); }; }; then
5596 emacs_cv_var___after_morecore_hook=yes 5590 emacs_cv_var___after_morecore_hook=yes
5597 else 5591 else
5598 echo "$as_me: failed program was:" >&5 5592 echo "$as_me: failed program was:" >&5
5599 cat conftest.$ac_ext >&5 5593 cat conftest.$ac_ext >&5
5600 emacs_cv_var___after_morecore_hook=no 5594 emacs_cv_var___after_morecore_hook=no
5601 fi 5595 fi
5602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5603 fi 5597 fi
5604 echo "$as_me:5604: result: $emacs_cv_var___after_morecore_hook" >&5 5598 echo "$as_me:5598: result: $emacs_cv_var___after_morecore_hook" >&5
5605 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5599 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5606 if test $emacs_cv_var___after_morecore_hook = no; then 5600 if test $emacs_cv_var___after_morecore_hook = no; then
5607 doug_lea_malloc=no 5601 doug_lea_malloc=no
5608 fi 5602 fi
5609 if test "${system_malloc}" = "yes"; then 5603 if test "${system_malloc}" = "yes"; then
5630 5624
5631 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5632 inttypes.h stdint.h unistd.h 5626 inttypes.h stdint.h unistd.h
5633 do 5627 do
5634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5635 echo "$as_me:5635: checking for $ac_header" >&5 5629 echo "$as_me:5629: checking for $ac_header" >&5
5636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5637 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6 5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 else 5633 else
5640 cat >conftest.$ac_ext <<_ACEOF 5634 cat >conftest.$ac_ext <<_ACEOF
5641 #line 5641 "configure" 5635 #line 5635 "configure"
5642 #include "confdefs.h" 5636 #include "confdefs.h"
5643 $ac_includes_default 5637 $ac_includes_default
5644 #include <$ac_header> 5638 #include <$ac_header>
5645 _ACEOF 5639 _ACEOF
5646 rm -f conftest.$ac_objext 5640 rm -f conftest.$ac_objext
5647 if { (eval echo "$as_me:5647: \"$ac_compile\"") >&5 5641 if { (eval echo "$as_me:5641: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>&5 5642 (eval $ac_compile) 2>&5
5649 ac_status=$? 5643 ac_status=$?
5650 echo "$as_me:5650: \$? = $ac_status" >&5 5644 echo "$as_me:5644: \$? = $ac_status" >&5
5651 (exit $ac_status); } && 5645 (exit $ac_status); } &&
5652 { ac_try='test -s conftest.$ac_objext' 5646 { ac_try='test -s conftest.$ac_objext'
5653 { (eval echo "$as_me:5653: \"$ac_try\"") >&5 5647 { (eval echo "$as_me:5647: \"$ac_try\"") >&5
5654 (eval $ac_try) 2>&5 5648 (eval $ac_try) 2>&5
5655 ac_status=$? 5649 ac_status=$?
5656 echo "$as_me:5656: \$? = $ac_status" >&5 5650 echo "$as_me:5650: \$? = $ac_status" >&5
5657 (exit $ac_status); }; }; then 5651 (exit $ac_status); }; }; then
5658 eval "$as_ac_Header=yes" 5652 eval "$as_ac_Header=yes"
5659 else 5653 else
5660 echo "$as_me: failed program was:" >&5 5654 echo "$as_me: failed program was:" >&5
5661 cat conftest.$ac_ext >&5 5655 cat conftest.$ac_ext >&5
5662 eval "$as_ac_Header=no" 5656 eval "$as_ac_Header=no"
5663 fi 5657 fi
5664 rm -f conftest.$ac_objext conftest.$ac_ext 5658 rm -f conftest.$ac_objext conftest.$ac_ext
5665 fi 5659 fi
5666 echo "$as_me:5666: result: `eval echo '${'$as_ac_Header'}'`" >&5 5660 echo "$as_me:5660: result: `eval echo '${'$as_ac_Header'}'`" >&5
5667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5668 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5669 cat >>confdefs.h <<EOF 5663 cat >>confdefs.h <<EOF
5670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5671 EOF 5665 EOF
5674 done 5668 done
5675 5669
5676 for ac_header in stdlib.h unistd.h 5670 for ac_header in stdlib.h unistd.h
5677 do 5671 do
5678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5679 echo "$as_me:5679: checking for $ac_header" >&5 5673 echo "$as_me:5673: checking for $ac_header" >&5
5680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5681 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6 5676 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 else 5677 else
5684 cat >conftest.$ac_ext <<_ACEOF 5678 cat >conftest.$ac_ext <<_ACEOF
5685 #line 5685 "configure" 5679 #line 5679 "configure"
5686 #include "confdefs.h" 5680 #include "confdefs.h"
5687 #include <$ac_header> 5681 #include <$ac_header>
5688 _ACEOF 5682 _ACEOF
5689 if { (eval echo "$as_me:5689: \"$ac_cpp conftest.$ac_ext\"") >&5 5683 if { (eval echo "$as_me:5683: \"$ac_cpp conftest.$ac_ext\"") >&5
5690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5691 ac_status=$? 5685 ac_status=$?
5692 egrep -v '^ *\+' conftest.er1 >conftest.err 5686 egrep -v '^ *\+' conftest.er1 >conftest.err
5693 rm -f conftest.er1 5687 rm -f conftest.er1
5694 cat conftest.err >&5 5688 cat conftest.err >&5
5695 echo "$as_me:5695: \$? = $ac_status" >&5 5689 echo "$as_me:5689: \$? = $ac_status" >&5
5696 (exit $ac_status); } >/dev/null; then 5690 (exit $ac_status); } >/dev/null; then
5697 if test -s conftest.err; then 5691 if test -s conftest.err; then
5698 ac_cpp_err=$ac_c_preproc_warn_flag 5692 ac_cpp_err=$ac_c_preproc_warn_flag
5699 else 5693 else
5700 ac_cpp_err= 5694 ac_cpp_err=
5709 cat conftest.$ac_ext >&5 5703 cat conftest.$ac_ext >&5
5710 eval "$as_ac_Header=no" 5704 eval "$as_ac_Header=no"
5711 fi 5705 fi
5712 rm -f conftest.err conftest.$ac_ext 5706 rm -f conftest.err conftest.$ac_ext
5713 fi 5707 fi
5714 echo "$as_me:5714: result: `eval echo '${'$as_ac_Header'}'`" >&5 5708 echo "$as_me:5708: result: `eval echo '${'$as_ac_Header'}'`" >&5
5715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5716 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5717 cat >>confdefs.h <<EOF 5711 cat >>confdefs.h <<EOF
5718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5719 EOF 5713 EOF
5722 done 5716 done
5723 5717
5724 for ac_func in getpagesize 5718 for ac_func in getpagesize
5725 do 5719 do
5726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5727 echo "$as_me:5727: checking for $ac_func" >&5 5721 echo "$as_me:5721: checking for $ac_func" >&5
5728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5729 if eval "test \"\${$as_ac_var+set}\" = set"; then 5723 if eval "test \"\${$as_ac_var+set}\" = set"; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6 5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 else 5725 else
5732 cat >conftest.$ac_ext <<_ACEOF 5726 cat >conftest.$ac_ext <<_ACEOF
5733 #line 5733 "configure" 5727 #line 5727 "configure"
5734 #include "confdefs.h" 5728 #include "confdefs.h"
5735 /* System header to define __stub macros and hopefully few prototypes, 5729 /* System header to define __stub macros and hopefully few prototypes,
5736 which can conflict with char $ac_func (); below. */ 5730 which can conflict with char $ac_func (); below. */
5737 #include <assert.h> 5731 #include <assert.h>
5738 /* Override any gcc2 internal prototype to avoid an error. */ 5732 /* Override any gcc2 internal prototype to avoid an error. */
5759 ; 5753 ;
5760 return 0; 5754 return 0;
5761 } 5755 }
5762 _ACEOF 5756 _ACEOF
5763 rm -f conftest.$ac_objext conftest$ac_exeext 5757 rm -f conftest.$ac_objext conftest$ac_exeext
5764 if { (eval echo "$as_me:5764: \"$ac_link\"") >&5 5758 if { (eval echo "$as_me:5758: \"$ac_link\"") >&5
5765 (eval $ac_link) 2>&5 5759 (eval $ac_link) 2>&5
5766 ac_status=$? 5760 ac_status=$?
5767 echo "$as_me:5767: \$? = $ac_status" >&5 5761 echo "$as_me:5761: \$? = $ac_status" >&5
5768 (exit $ac_status); } && 5762 (exit $ac_status); } &&
5769 { ac_try='test -s conftest$ac_exeext' 5763 { ac_try='test -s conftest$ac_exeext'
5770 { (eval echo "$as_me:5770: \"$ac_try\"") >&5 5764 { (eval echo "$as_me:5764: \"$ac_try\"") >&5
5771 (eval $ac_try) 2>&5 5765 (eval $ac_try) 2>&5
5772 ac_status=$? 5766 ac_status=$?
5773 echo "$as_me:5773: \$? = $ac_status" >&5 5767 echo "$as_me:5767: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then 5768 (exit $ac_status); }; }; then
5775 eval "$as_ac_var=yes" 5769 eval "$as_ac_var=yes"
5776 else 5770 else
5777 echo "$as_me: failed program was:" >&5 5771 echo "$as_me: failed program was:" >&5
5778 cat conftest.$ac_ext >&5 5772 cat conftest.$ac_ext >&5
5779 eval "$as_ac_var=no" 5773 eval "$as_ac_var=no"
5780 fi 5774 fi
5781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5782 fi 5776 fi
5783 echo "$as_me:5783: result: `eval echo '${'$as_ac_var'}'`" >&5 5777 echo "$as_me:5777: result: `eval echo '${'$as_ac_var'}'`" >&5
5784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5785 if test `eval echo '${'$as_ac_var'}'` = yes; then 5779 if test `eval echo '${'$as_ac_var'}'` = yes; then
5786 cat >>confdefs.h <<EOF 5780 cat >>confdefs.h <<EOF
5787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5788 EOF 5782 EOF
5789 5783
5790 fi 5784 fi
5791 done 5785 done
5792 5786
5793 echo "$as_me:5793: checking for working mmap" >&5 5787 echo "$as_me:5787: checking for working mmap" >&5
5794 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5788 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5795 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5789 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6 5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else 5791 else
5798 if test "$cross_compiling" = yes; then 5792 if test "$cross_compiling" = yes; then
5799 ac_cv_func_mmap_fixed_mapped=no 5793 ac_cv_func_mmap_fixed_mapped=no
5800 else 5794 else
5801 cat >conftest.$ac_ext <<_ACEOF 5795 cat >conftest.$ac_ext <<_ACEOF
5802 #line 5802 "configure" 5796 #line 5796 "configure"
5803 #include "confdefs.h" 5797 #include "confdefs.h"
5804 $ac_includes_default 5798 $ac_includes_default
5805 /* Thanks to Mike Haertel and Jim Avera for this test. 5799 /* Thanks to Mike Haertel and Jim Avera for this test.
5806 Here is a matrix of mmap possibilities: 5800 Here is a matrix of mmap possibilities:
5807 mmap private not fixed 5801 mmap private not fixed
5924 close (fd); 5918 close (fd);
5925 exit (0); 5919 exit (0);
5926 } 5920 }
5927 _ACEOF 5921 _ACEOF
5928 rm -f conftest$ac_exeext 5922 rm -f conftest$ac_exeext
5929 if { (eval echo "$as_me:5929: \"$ac_link\"") >&5 5923 if { (eval echo "$as_me:5923: \"$ac_link\"") >&5
5930 (eval $ac_link) 2>&5 5924 (eval $ac_link) 2>&5
5931 ac_status=$? 5925 ac_status=$?
5932 echo "$as_me:5932: \$? = $ac_status" >&5 5926 echo "$as_me:5926: \$? = $ac_status" >&5
5933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5934 { (eval echo "$as_me:5934: \"$ac_try\"") >&5 5928 { (eval echo "$as_me:5928: \"$ac_try\"") >&5
5935 (eval $ac_try) 2>&5 5929 (eval $ac_try) 2>&5
5936 ac_status=$? 5930 ac_status=$?
5937 echo "$as_me:5937: \$? = $ac_status" >&5 5931 echo "$as_me:5931: \$? = $ac_status" >&5
5938 (exit $ac_status); }; }; then 5932 (exit $ac_status); }; }; then
5939 ac_cv_func_mmap_fixed_mapped=yes 5933 ac_cv_func_mmap_fixed_mapped=yes
5940 else 5934 else
5941 echo "$as_me: program exited with status $ac_status" >&5 5935 echo "$as_me: program exited with status $ac_status" >&5
5942 echo "$as_me: failed program was:" >&5 5936 echo "$as_me: failed program was:" >&5
5944 ac_cv_func_mmap_fixed_mapped=no 5938 ac_cv_func_mmap_fixed_mapped=no
5945 fi 5939 fi
5946 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5940 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5947 fi 5941 fi
5948 fi 5942 fi
5949 echo "$as_me:5949: result: $ac_cv_func_mmap_fixed_mapped" >&5 5943 echo "$as_me:5943: result: $ac_cv_func_mmap_fixed_mapped" >&5
5950 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 5944 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5951 if test $ac_cv_func_mmap_fixed_mapped = yes; then 5945 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5952 5946
5953 cat >>confdefs.h <<\EOF 5947 cat >>confdefs.h <<\EOF
5954 #define HAVE_MMAP 1 5948 #define HAVE_MMAP 1
5961 REL_ALLOC=no 5955 REL_ALLOC=no
5962 fi 5956 fi
5963 5957
5964 LIBS="$libsrc_libs $LIBS" 5958 LIBS="$libsrc_libs $LIBS"
5965 5959
5966 echo "$as_me:5966: checking for dnet_ntoa in -ldnet" >&5 5960 echo "$as_me:5960: checking for dnet_ntoa in -ldnet" >&5
5967 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 5961 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5968 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 5962 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5969 echo $ECHO_N "(cached) $ECHO_C" >&6 5963 echo $ECHO_N "(cached) $ECHO_C" >&6
5970 else 5964 else
5971 ac_check_lib_save_LIBS=$LIBS 5965 ac_check_lib_save_LIBS=$LIBS
5972 LIBS="-ldnet $LIBS" 5966 LIBS="-ldnet $LIBS"
5973 cat >conftest.$ac_ext <<_ACEOF 5967 cat >conftest.$ac_ext <<_ACEOF
5974 #line 5974 "configure" 5968 #line 5968 "configure"
5975 #include "confdefs.h" 5969 #include "confdefs.h"
5976 5970
5977 /* Override any gcc2 internal prototype to avoid an error. */ 5971 /* Override any gcc2 internal prototype to avoid an error. */
5978 #ifdef __cplusplus 5972 #ifdef __cplusplus
5979 extern "C" 5973 extern "C"
5988 ; 5982 ;
5989 return 0; 5983 return 0;
5990 } 5984 }
5991 _ACEOF 5985 _ACEOF
5992 rm -f conftest.$ac_objext conftest$ac_exeext 5986 rm -f conftest.$ac_objext conftest$ac_exeext
5993 if { (eval echo "$as_me:5993: \"$ac_link\"") >&5 5987 if { (eval echo "$as_me:5987: \"$ac_link\"") >&5
5994 (eval $ac_link) 2>&5 5988 (eval $ac_link) 2>&5
5995 ac_status=$? 5989 ac_status=$?
5996 echo "$as_me:5996: \$? = $ac_status" >&5 5990 echo "$as_me:5990: \$? = $ac_status" >&5
5997 (exit $ac_status); } && 5991 (exit $ac_status); } &&
5998 { ac_try='test -s conftest$ac_exeext' 5992 { ac_try='test -s conftest$ac_exeext'
5999 { (eval echo "$as_me:5999: \"$ac_try\"") >&5 5993 { (eval echo "$as_me:5993: \"$ac_try\"") >&5
6000 (eval $ac_try) 2>&5 5994 (eval $ac_try) 2>&5
6001 ac_status=$? 5995 ac_status=$?
6002 echo "$as_me:6002: \$? = $ac_status" >&5 5996 echo "$as_me:5996: \$? = $ac_status" >&5
6003 (exit $ac_status); }; }; then 5997 (exit $ac_status); }; }; then
6004 ac_cv_lib_dnet_dnet_ntoa=yes 5998 ac_cv_lib_dnet_dnet_ntoa=yes
6005 else 5999 else
6006 echo "$as_me: failed program was:" >&5 6000 echo "$as_me: failed program was:" >&5
6007 cat conftest.$ac_ext >&5 6001 cat conftest.$ac_ext >&5
6008 ac_cv_lib_dnet_dnet_ntoa=no 6002 ac_cv_lib_dnet_dnet_ntoa=no
6009 fi 6003 fi
6010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6011 LIBS=$ac_check_lib_save_LIBS 6005 LIBS=$ac_check_lib_save_LIBS
6012 fi 6006 fi
6013 echo "$as_me:6013: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6007 echo "$as_me:6007: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6014 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6008 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6015 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6009 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6016 cat >>confdefs.h <<EOF 6010 cat >>confdefs.h <<EOF
6017 #define HAVE_LIBDNET 1 6011 #define HAVE_LIBDNET 1
6018 EOF 6012 EOF
6019 6013
6020 LIBS="-ldnet $LIBS" 6014 LIBS="-ldnet $LIBS"
6021 6015
6022 fi 6016 fi
6023 6017
6024 echo "$as_me:6024: checking for main in -lXbsd" >&5 6018 echo "$as_me:6018: checking for main in -lXbsd" >&5
6025 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6019 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6026 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6020 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6 6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 else 6022 else
6029 ac_check_lib_save_LIBS=$LIBS 6023 ac_check_lib_save_LIBS=$LIBS
6030 LIBS="-lXbsd $LIBS" 6024 LIBS="-lXbsd $LIBS"
6031 cat >conftest.$ac_ext <<_ACEOF 6025 cat >conftest.$ac_ext <<_ACEOF
6032 #line 6032 "configure" 6026 #line 6026 "configure"
6033 #include "confdefs.h" 6027 #include "confdefs.h"
6034 6028
6035 int 6029 int
6036 main () 6030 main ()
6037 { 6031 {
6039 ; 6033 ;
6040 return 0; 6034 return 0;
6041 } 6035 }
6042 _ACEOF 6036 _ACEOF
6043 rm -f conftest.$ac_objext conftest$ac_exeext 6037 rm -f conftest.$ac_objext conftest$ac_exeext
6044 if { (eval echo "$as_me:6044: \"$ac_link\"") >&5 6038 if { (eval echo "$as_me:6038: \"$ac_link\"") >&5
6045 (eval $ac_link) 2>&5 6039 (eval $ac_link) 2>&5
6046 ac_status=$? 6040 ac_status=$?
6047 echo "$as_me:6047: \$? = $ac_status" >&5 6041 echo "$as_me:6041: \$? = $ac_status" >&5
6048 (exit $ac_status); } && 6042 (exit $ac_status); } &&
6049 { ac_try='test -s conftest$ac_exeext' 6043 { ac_try='test -s conftest$ac_exeext'
6050 { (eval echo "$as_me:6050: \"$ac_try\"") >&5 6044 { (eval echo "$as_me:6044: \"$ac_try\"") >&5
6051 (eval $ac_try) 2>&5 6045 (eval $ac_try) 2>&5
6052 ac_status=$? 6046 ac_status=$?
6053 echo "$as_me:6053: \$? = $ac_status" >&5 6047 echo "$as_me:6047: \$? = $ac_status" >&5
6054 (exit $ac_status); }; }; then 6048 (exit $ac_status); }; }; then
6055 ac_cv_lib_Xbsd_main=yes 6049 ac_cv_lib_Xbsd_main=yes
6056 else 6050 else
6057 echo "$as_me: failed program was:" >&5 6051 echo "$as_me: failed program was:" >&5
6058 cat conftest.$ac_ext >&5 6052 cat conftest.$ac_ext >&5
6059 ac_cv_lib_Xbsd_main=no 6053 ac_cv_lib_Xbsd_main=no
6060 fi 6054 fi
6061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6062 LIBS=$ac_check_lib_save_LIBS 6056 LIBS=$ac_check_lib_save_LIBS
6063 fi 6057 fi
6064 echo "$as_me:6064: result: $ac_cv_lib_Xbsd_main" >&5 6058 echo "$as_me:6058: result: $ac_cv_lib_Xbsd_main" >&5
6065 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6059 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6066 if test $ac_cv_lib_Xbsd_main = yes; then 6060 if test $ac_cv_lib_Xbsd_main = yes; then
6067 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6061 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6068 fi 6062 fi
6069 6063
6070 echo "$as_me:6070: checking for cma_open in -lpthreads" >&5 6064 echo "$as_me:6064: checking for cma_open in -lpthreads" >&5
6071 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6065 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6072 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6066 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6 6067 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 else 6068 else
6075 ac_check_lib_save_LIBS=$LIBS 6069 ac_check_lib_save_LIBS=$LIBS
6076 LIBS="-lpthreads $LIBS" 6070 LIBS="-lpthreads $LIBS"
6077 cat >conftest.$ac_ext <<_ACEOF 6071 cat >conftest.$ac_ext <<_ACEOF
6078 #line 6078 "configure" 6072 #line 6072 "configure"
6079 #include "confdefs.h" 6073 #include "confdefs.h"
6080 6074
6081 /* Override any gcc2 internal prototype to avoid an error. */ 6075 /* Override any gcc2 internal prototype to avoid an error. */
6082 #ifdef __cplusplus 6076 #ifdef __cplusplus
6083 extern "C" 6077 extern "C"
6092 ; 6086 ;
6093 return 0; 6087 return 0;
6094 } 6088 }
6095 _ACEOF 6089 _ACEOF
6096 rm -f conftest.$ac_objext conftest$ac_exeext 6090 rm -f conftest.$ac_objext conftest$ac_exeext
6097 if { (eval echo "$as_me:6097: \"$ac_link\"") >&5 6091 if { (eval echo "$as_me:6091: \"$ac_link\"") >&5
6098 (eval $ac_link) 2>&5 6092 (eval $ac_link) 2>&5
6099 ac_status=$? 6093 ac_status=$?
6100 echo "$as_me:6100: \$? = $ac_status" >&5 6094 echo "$as_me:6094: \$? = $ac_status" >&5
6101 (exit $ac_status); } && 6095 (exit $ac_status); } &&
6102 { ac_try='test -s conftest$ac_exeext' 6096 { ac_try='test -s conftest$ac_exeext'
6103 { (eval echo "$as_me:6103: \"$ac_try\"") >&5 6097 { (eval echo "$as_me:6097: \"$ac_try\"") >&5
6104 (eval $ac_try) 2>&5 6098 (eval $ac_try) 2>&5
6105 ac_status=$? 6099 ac_status=$?
6106 echo "$as_me:6106: \$? = $ac_status" >&5 6100 echo "$as_me:6100: \$? = $ac_status" >&5
6107 (exit $ac_status); }; }; then 6101 (exit $ac_status); }; }; then
6108 ac_cv_lib_pthreads_cma_open=yes 6102 ac_cv_lib_pthreads_cma_open=yes
6109 else 6103 else
6110 echo "$as_me: failed program was:" >&5 6104 echo "$as_me: failed program was:" >&5
6111 cat conftest.$ac_ext >&5 6105 cat conftest.$ac_ext >&5
6112 ac_cv_lib_pthreads_cma_open=no 6106 ac_cv_lib_pthreads_cma_open=no
6113 fi 6107 fi
6114 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6115 LIBS=$ac_check_lib_save_LIBS 6109 LIBS=$ac_check_lib_save_LIBS
6116 fi 6110 fi
6117 echo "$as_me:6117: result: $ac_cv_lib_pthreads_cma_open" >&5 6111 echo "$as_me:6111: result: $ac_cv_lib_pthreads_cma_open" >&5
6118 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6112 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6119 if test $ac_cv_lib_pthreads_cma_open = yes; then 6113 if test $ac_cv_lib_pthreads_cma_open = yes; then
6120 cat >>confdefs.h <<EOF 6114 cat >>confdefs.h <<EOF
6121 #define HAVE_LIBPTHREADS 1 6115 #define HAVE_LIBPTHREADS 1
6122 EOF 6116 EOF
6123 6117
6124 LIBS="-lpthreads $LIBS" 6118 LIBS="-lpthreads $LIBS"
6125 6119
6126 fi 6120 fi
6127 6121
6128 echo "$as_me:6128: checking for XFree86 in /usr/X386" >&5 6122 echo "$as_me:6122: checking for XFree86 in /usr/X386" >&5
6129 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6123 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6130 if test -d /usr/X386/include; then 6124 if test -d /usr/X386/include; then
6131 HAVE_XFREE386=yes 6125 HAVE_XFREE386=yes
6132 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6126 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6133 else 6127 else
6134 HAVE_XFREE386=no 6128 HAVE_XFREE386=no
6135 fi 6129 fi
6136 echo "$as_me:6136: result: $HAVE_XFREE386" >&5 6130 echo "$as_me:6130: result: $HAVE_XFREE386" >&5
6137 echo "${ECHO_T}$HAVE_XFREE386" >&6 6131 echo "${ECHO_T}$HAVE_XFREE386" >&6
6138 6132
6139 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6133 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6140 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6134 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6141 6135
6156 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6150 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6157 export LD_RUN_PATH 6151 export LD_RUN_PATH
6158 fi 6152 fi
6159 6153
6160 if test "${opsys}" = "gnu-linux"; then 6154 if test "${opsys}" = "gnu-linux"; then
6161 echo "$as_me:6161: checking whether X on GNU/Linux needs -b to link" >&5 6155 echo "$as_me:6155: checking whether X on GNU/Linux needs -b to link" >&5
6162 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6156 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6163 cat >conftest.$ac_ext <<_ACEOF 6157 cat >conftest.$ac_ext <<_ACEOF
6164 #line 6164 "configure" 6158 #line 6158 "configure"
6165 #include "confdefs.h" 6159 #include "confdefs.h"
6166 6160
6167 int 6161 int
6168 main () 6162 main ()
6169 { 6163 {
6171 ; 6165 ;
6172 return 0; 6166 return 0;
6173 } 6167 }
6174 _ACEOF 6168 _ACEOF
6175 rm -f conftest.$ac_objext conftest$ac_exeext 6169 rm -f conftest.$ac_objext conftest$ac_exeext
6176 if { (eval echo "$as_me:6176: \"$ac_link\"") >&5 6170 if { (eval echo "$as_me:6170: \"$ac_link\"") >&5
6177 (eval $ac_link) 2>&5 6171 (eval $ac_link) 2>&5
6178 ac_status=$? 6172 ac_status=$?
6179 echo "$as_me:6179: \$? = $ac_status" >&5 6173 echo "$as_me:6173: \$? = $ac_status" >&5
6180 (exit $ac_status); } && 6174 (exit $ac_status); } &&
6181 { ac_try='test -s conftest$ac_exeext' 6175 { ac_try='test -s conftest$ac_exeext'
6182 { (eval echo "$as_me:6182: \"$ac_try\"") >&5 6176 { (eval echo "$as_me:6176: \"$ac_try\"") >&5
6183 (eval $ac_try) 2>&5 6177 (eval $ac_try) 2>&5
6184 ac_status=$? 6178 ac_status=$?
6185 echo "$as_me:6185: \$? = $ac_status" >&5 6179 echo "$as_me:6179: \$? = $ac_status" >&5
6186 (exit $ac_status); }; }; then 6180 (exit $ac_status); }; }; then
6187 xlinux_first_failure=no 6181 xlinux_first_failure=no
6188 else 6182 else
6189 echo "$as_me: failed program was:" >&5 6183 echo "$as_me: failed program was:" >&5
6190 cat conftest.$ac_ext >&5 6184 cat conftest.$ac_ext >&5
6199 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6193 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6200 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6194 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6201 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6195 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6202 LIBS="$LIBS -b i486-linuxaout" 6196 LIBS="$LIBS -b i486-linuxaout"
6203 cat >conftest.$ac_ext <<_ACEOF 6197 cat >conftest.$ac_ext <<_ACEOF
6204 #line 6204 "configure" 6198 #line 6198 "configure"
6205 #include "confdefs.h" 6199 #include "confdefs.h"
6206 6200
6207 int 6201 int
6208 main () 6202 main ()
6209 { 6203 {
6211 ; 6205 ;
6212 return 0; 6206 return 0;
6213 } 6207 }
6214 _ACEOF 6208 _ACEOF
6215 rm -f conftest.$ac_objext conftest$ac_exeext 6209 rm -f conftest.$ac_objext conftest$ac_exeext
6216 if { (eval echo "$as_me:6216: \"$ac_link\"") >&5 6210 if { (eval echo "$as_me:6210: \"$ac_link\"") >&5
6217 (eval $ac_link) 2>&5 6211 (eval $ac_link) 2>&5
6218 ac_status=$? 6212 ac_status=$?
6219 echo "$as_me:6219: \$? = $ac_status" >&5 6213 echo "$as_me:6213: \$? = $ac_status" >&5
6220 (exit $ac_status); } && 6214 (exit $ac_status); } &&
6221 { ac_try='test -s conftest$ac_exeext' 6215 { ac_try='test -s conftest$ac_exeext'
6222 { (eval echo "$as_me:6222: \"$ac_try\"") >&5 6216 { (eval echo "$as_me:6216: \"$ac_try\"") >&5
6223 (eval $ac_try) 2>&5 6217 (eval $ac_try) 2>&5
6224 ac_status=$? 6218 ac_status=$?
6225 echo "$as_me:6225: \$? = $ac_status" >&5 6219 echo "$as_me:6219: \$? = $ac_status" >&5
6226 (exit $ac_status); }; }; then 6220 (exit $ac_status); }; }; then
6227 xlinux_second_failure=no 6221 xlinux_second_failure=no
6228 else 6222 else
6229 echo "$as_me: failed program was:" >&5 6223 echo "$as_me: failed program was:" >&5
6230 cat conftest.$ac_ext >&5 6224 cat conftest.$ac_ext >&5
6236 # So take it out. This plays safe. 6230 # So take it out. This plays safe.
6237 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6231 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6238 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6232 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6239 CPPFLAGS="$OLD_CPPFLAGS" 6233 CPPFLAGS="$OLD_CPPFLAGS"
6240 LIBS="$OLD_LIBS" 6234 LIBS="$OLD_LIBS"
6241 echo "$as_me:6241: result: no" >&5 6235 echo "$as_me:6235: result: no" >&5
6242 echo "${ECHO_T}no" >&6 6236 echo "${ECHO_T}no" >&6
6243 else 6237 else
6244 echo "$as_me:6244: result: yes" >&5 6238 echo "$as_me:6238: result: yes" >&5
6245 echo "${ECHO_T}yes" >&6 6239 echo "${ECHO_T}yes" >&6
6246 fi 6240 fi
6247 else 6241 else
6248 echo "$as_me:6248: result: no" >&5 6242 echo "$as_me:6242: result: no" >&5
6249 echo "${ECHO_T}no" >&6 6243 echo "${ECHO_T}no" >&6
6250 fi 6244 fi
6251 fi 6245 fi
6252 6246
6253 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6247 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6254 # header files included from there. 6248 # header files included from there.
6255 echo "$as_me:6255: checking for Xkb" >&5 6249 echo "$as_me:6249: checking for Xkb" >&5
6256 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6250 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6257 cat >conftest.$ac_ext <<_ACEOF 6251 cat >conftest.$ac_ext <<_ACEOF
6258 #line 6258 "configure" 6252 #line 6252 "configure"
6259 #include "confdefs.h" 6253 #include "confdefs.h"
6260 #include <X11/Xlib.h> 6254 #include <X11/Xlib.h>
6261 #include <X11/XKBlib.h> 6255 #include <X11/XKBlib.h>
6262 int 6256 int
6263 main () 6257 main ()
6266 ; 6260 ;
6267 return 0; 6261 return 0;
6268 } 6262 }
6269 _ACEOF 6263 _ACEOF
6270 rm -f conftest.$ac_objext conftest$ac_exeext 6264 rm -f conftest.$ac_objext conftest$ac_exeext
6271 if { (eval echo "$as_me:6271: \"$ac_link\"") >&5 6265 if { (eval echo "$as_me:6265: \"$ac_link\"") >&5
6272 (eval $ac_link) 2>&5 6266 (eval $ac_link) 2>&5
6273 ac_status=$? 6267 ac_status=$?
6274 echo "$as_me:6274: \$? = $ac_status" >&5 6268 echo "$as_me:6268: \$? = $ac_status" >&5
6275 (exit $ac_status); } && 6269 (exit $ac_status); } &&
6276 { ac_try='test -s conftest$ac_exeext' 6270 { ac_try='test -s conftest$ac_exeext'
6277 { (eval echo "$as_me:6277: \"$ac_try\"") >&5 6271 { (eval echo "$as_me:6271: \"$ac_try\"") >&5
6278 (eval $ac_try) 2>&5 6272 (eval $ac_try) 2>&5
6279 ac_status=$? 6273 ac_status=$?
6280 echo "$as_me:6280: \$? = $ac_status" >&5 6274 echo "$as_me:6274: \$? = $ac_status" >&5
6281 (exit $ac_status); }; }; then 6275 (exit $ac_status); }; }; then
6282 emacs_xkb=yes 6276 emacs_xkb=yes
6283 else 6277 else
6284 echo "$as_me: failed program was:" >&5 6278 echo "$as_me: failed program was:" >&5
6285 cat conftest.$ac_ext >&5 6279 cat conftest.$ac_ext >&5
6286 emacs_xkb=no 6280 emacs_xkb=no
6287 fi 6281 fi
6288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6289 echo "$as_me:6289: result: $emacs_xkb" >&5 6283 echo "$as_me:6283: result: $emacs_xkb" >&5
6290 echo "${ECHO_T}$emacs_xkb" >&6 6284 echo "${ECHO_T}$emacs_xkb" >&6
6291 if test $emacs_xkb = yes; then 6285 if test $emacs_xkb = yes; then
6292 cat >>confdefs.h <<\EOF 6286 cat >>confdefs.h <<\EOF
6293 #define HAVE_XKBGETKEYBOARD 1 6287 #define HAVE_XKBGETKEYBOARD 1
6294 EOF 6288 EOF
6297 6291
6298 for ac_func in XrmSetDatabase XScreenResourceString \ 6292 for ac_func in XrmSetDatabase XScreenResourceString \
6299 XScreenNumberOfScreen XSetWMProtocols 6293 XScreenNumberOfScreen XSetWMProtocols
6300 do 6294 do
6301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6302 echo "$as_me:6302: checking for $ac_func" >&5 6296 echo "$as_me:6296: checking for $ac_func" >&5
6303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6304 if eval "test \"\${$as_ac_var+set}\" = set"; then 6298 if eval "test \"\${$as_ac_var+set}\" = set"; then
6305 echo $ECHO_N "(cached) $ECHO_C" >&6 6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 else 6300 else
6307 cat >conftest.$ac_ext <<_ACEOF 6301 cat >conftest.$ac_ext <<_ACEOF
6308 #line 6308 "configure" 6302 #line 6302 "configure"
6309 #include "confdefs.h" 6303 #include "confdefs.h"
6310 /* System header to define __stub macros and hopefully few prototypes, 6304 /* System header to define __stub macros and hopefully few prototypes,
6311 which can conflict with char $ac_func (); below. */ 6305 which can conflict with char $ac_func (); below. */
6312 #include <assert.h> 6306 #include <assert.h>
6313 /* Override any gcc2 internal prototype to avoid an error. */ 6307 /* Override any gcc2 internal prototype to avoid an error. */
6334 ; 6328 ;
6335 return 0; 6329 return 0;
6336 } 6330 }
6337 _ACEOF 6331 _ACEOF
6338 rm -f conftest.$ac_objext conftest$ac_exeext 6332 rm -f conftest.$ac_objext conftest$ac_exeext
6339 if { (eval echo "$as_me:6339: \"$ac_link\"") >&5 6333 if { (eval echo "$as_me:6333: \"$ac_link\"") >&5
6340 (eval $ac_link) 2>&5 6334 (eval $ac_link) 2>&5
6341 ac_status=$? 6335 ac_status=$?
6342 echo "$as_me:6342: \$? = $ac_status" >&5 6336 echo "$as_me:6336: \$? = $ac_status" >&5
6343 (exit $ac_status); } && 6337 (exit $ac_status); } &&
6344 { ac_try='test -s conftest$ac_exeext' 6338 { ac_try='test -s conftest$ac_exeext'
6345 { (eval echo "$as_me:6345: \"$ac_try\"") >&5 6339 { (eval echo "$as_me:6339: \"$ac_try\"") >&5
6346 (eval $ac_try) 2>&5 6340 (eval $ac_try) 2>&5
6347 ac_status=$? 6341 ac_status=$?
6348 echo "$as_me:6348: \$? = $ac_status" >&5 6342 echo "$as_me:6342: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }; then 6343 (exit $ac_status); }; }; then
6350 eval "$as_ac_var=yes" 6344 eval "$as_ac_var=yes"
6351 else 6345 else
6352 echo "$as_me: failed program was:" >&5 6346 echo "$as_me: failed program was:" >&5
6353 cat conftest.$ac_ext >&5 6347 cat conftest.$ac_ext >&5
6354 eval "$as_ac_var=no" 6348 eval "$as_ac_var=no"
6355 fi 6349 fi
6356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6357 fi 6351 fi
6358 echo "$as_me:6358: result: `eval echo '${'$as_ac_var'}'`" >&5 6352 echo "$as_me:6352: result: `eval echo '${'$as_ac_var'}'`" >&5
6359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6360 if test `eval echo '${'$as_ac_var'}'` = yes; then 6354 if test `eval echo '${'$as_ac_var'}'` = yes; then
6361 cat >>confdefs.h <<EOF 6355 cat >>confdefs.h <<EOF
6362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6363 EOF 6357 EOF
6366 done 6360 done
6367 6361
6368 fi 6362 fi
6369 6363
6370 if test "${window_system}" = "x11"; then 6364 if test "${window_system}" = "x11"; then
6371 echo "$as_me:6371: checking X11 version 6" >&5 6365 echo "$as_me:6365: checking X11 version 6" >&5
6372 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6366 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6373 if test "${emacs_cv_x11_version_6+set}" = set; then 6367 if test "${emacs_cv_x11_version_6+set}" = set; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6 6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 else 6369 else
6376 cat >conftest.$ac_ext <<_ACEOF 6370 cat >conftest.$ac_ext <<_ACEOF
6377 #line 6377 "configure" 6371 #line 6371 "configure"
6378 #include "confdefs.h" 6372 #include "confdefs.h"
6379 #include <X11/Xlib.h> 6373 #include <X11/Xlib.h>
6380 int 6374 int
6381 main () 6375 main ()
6382 { 6376 {
6387 ; 6381 ;
6388 return 0; 6382 return 0;
6389 } 6383 }
6390 _ACEOF 6384 _ACEOF
6391 rm -f conftest.$ac_objext conftest$ac_exeext 6385 rm -f conftest.$ac_objext conftest$ac_exeext
6392 if { (eval echo "$as_me:6392: \"$ac_link\"") >&5 6386 if { (eval echo "$as_me:6386: \"$ac_link\"") >&5
6393 (eval $ac_link) 2>&5 6387 (eval $ac_link) 2>&5
6394 ac_status=$? 6388 ac_status=$?
6395 echo "$as_me:6395: \$? = $ac_status" >&5 6389 echo "$as_me:6389: \$? = $ac_status" >&5
6396 (exit $ac_status); } && 6390 (exit $ac_status); } &&
6397 { ac_try='test -s conftest$ac_exeext' 6391 { ac_try='test -s conftest$ac_exeext'
6398 { (eval echo "$as_me:6398: \"$ac_try\"") >&5 6392 { (eval echo "$as_me:6392: \"$ac_try\"") >&5
6399 (eval $ac_try) 2>&5 6393 (eval $ac_try) 2>&5
6400 ac_status=$? 6394 ac_status=$?
6401 echo "$as_me:6401: \$? = $ac_status" >&5 6395 echo "$as_me:6395: \$? = $ac_status" >&5
6402 (exit $ac_status); }; }; then 6396 (exit $ac_status); }; }; then
6403 emacs_cv_x11_version_6=yes 6397 emacs_cv_x11_version_6=yes
6404 else 6398 else
6405 echo "$as_me: failed program was:" >&5 6399 echo "$as_me: failed program was:" >&5
6406 cat conftest.$ac_ext >&5 6400 cat conftest.$ac_ext >&5
6408 fi 6402 fi
6409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6410 fi 6404 fi
6411 6405
6412 if test $emacs_cv_x11_version_6 = yes; then 6406 if test $emacs_cv_x11_version_6 = yes; then
6413 echo "$as_me:6413: result: 6 or newer" >&5 6407 echo "$as_me:6407: result: 6 or newer" >&5
6414 echo "${ECHO_T}6 or newer" >&6 6408 echo "${ECHO_T}6 or newer" >&6
6415 cat >>confdefs.h <<\EOF 6409 cat >>confdefs.h <<\EOF
6416 #define HAVE_X11R6 1 6410 #define HAVE_X11R6 1
6417 EOF 6411 EOF
6418 6412
6419 else 6413 else
6420 echo "$as_me:6420: result: before 6" >&5 6414 echo "$as_me:6414: result: before 6" >&5
6421 echo "${ECHO_T}before 6" >&6 6415 echo "${ECHO_T}before 6" >&6
6422 fi 6416 fi
6423 fi 6417 fi
6424 6418
6425 if test "${window_system}" = "x11"; then 6419 if test "${window_system}" = "x11"; then
6426 echo "$as_me:6426: checking X11 version 5" >&5 6420 echo "$as_me:6420: checking X11 version 5" >&5
6427 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6421 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6428 if test "${emacs_cv_x11_version_5+set}" = set; then 6422 if test "${emacs_cv_x11_version_5+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6 6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 else 6424 else
6431 cat >conftest.$ac_ext <<_ACEOF 6425 cat >conftest.$ac_ext <<_ACEOF
6432 #line 6432 "configure" 6426 #line 6426 "configure"
6433 #include "confdefs.h" 6427 #include "confdefs.h"
6434 #include <X11/Xlib.h> 6428 #include <X11/Xlib.h>
6435 int 6429 int
6436 main () 6430 main ()
6437 { 6431 {
6442 ; 6436 ;
6443 return 0; 6437 return 0;
6444 } 6438 }
6445 _ACEOF 6439 _ACEOF
6446 rm -f conftest.$ac_objext conftest$ac_exeext 6440 rm -f conftest.$ac_objext conftest$ac_exeext
6447 if { (eval echo "$as_me:6447: \"$ac_link\"") >&5 6441 if { (eval echo "$as_me:6441: \"$ac_link\"") >&5
6448 (eval $ac_link) 2>&5 6442 (eval $ac_link) 2>&5
6449 ac_status=$? 6443 ac_status=$?
6450 echo "$as_me:6450: \$? = $ac_status" >&5 6444 echo "$as_me:6444: \$? = $ac_status" >&5
6451 (exit $ac_status); } && 6445 (exit $ac_status); } &&
6452 { ac_try='test -s conftest$ac_exeext' 6446 { ac_try='test -s conftest$ac_exeext'
6453 { (eval echo "$as_me:6453: \"$ac_try\"") >&5 6447 { (eval echo "$as_me:6447: \"$ac_try\"") >&5
6454 (eval $ac_try) 2>&5 6448 (eval $ac_try) 2>&5
6455 ac_status=$? 6449 ac_status=$?
6456 echo "$as_me:6456: \$? = $ac_status" >&5 6450 echo "$as_me:6450: \$? = $ac_status" >&5
6457 (exit $ac_status); }; }; then 6451 (exit $ac_status); }; }; then
6458 emacs_cv_x11_version_5=yes 6452 emacs_cv_x11_version_5=yes
6459 else 6453 else
6460 echo "$as_me: failed program was:" >&5 6454 echo "$as_me: failed program was:" >&5
6461 cat conftest.$ac_ext >&5 6455 cat conftest.$ac_ext >&5
6463 fi 6457 fi
6464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6465 fi 6459 fi
6466 6460
6467 if test $emacs_cv_x11_version_5 = yes; then 6461 if test $emacs_cv_x11_version_5 = yes; then
6468 echo "$as_me:6468: result: 5 or newer" >&5 6462 echo "$as_me:6462: result: 5 or newer" >&5
6469 echo "${ECHO_T}5 or newer" >&6 6463 echo "${ECHO_T}5 or newer" >&6
6470 HAVE_X11R5=yes 6464 HAVE_X11R5=yes
6471 cat >>confdefs.h <<\EOF 6465 cat >>confdefs.h <<\EOF
6472 #define HAVE_X11R5 1 6466 #define HAVE_X11R5 1
6473 EOF 6467 EOF
6474 6468
6475 else 6469 else
6476 HAVE_X11R5=no 6470 HAVE_X11R5=no
6477 echo "$as_me:6477: result: before 5" >&5 6471 echo "$as_me:6471: result: before 5" >&5
6478 echo "${ECHO_T}before 5" >&6 6472 echo "${ECHO_T}before 5" >&6
6479 fi 6473 fi
6480 fi 6474 fi
6481 6475
6482 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6476 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6483 if test x"${HAVE_X11R5}" = xyes; then 6477 if test x"${HAVE_X11R5}" = xyes; then
6484 echo "$as_me:6484: checking X11 version 5 with Xaw" >&5 6478 echo "$as_me:6478: checking X11 version 5 with Xaw" >&5
6485 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6479 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6486 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6480 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6 6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 else 6482 else
6489 cat >conftest.$ac_ext <<_ACEOF 6483 cat >conftest.$ac_ext <<_ACEOF
6490 #line 6490 "configure" 6484 #line 6484 "configure"
6491 #include "confdefs.h" 6485 #include "confdefs.h"
6492 6486
6493 #include <X11/Intrinsic.h> 6487 #include <X11/Intrinsic.h>
6494 #include <X11/Xaw/Simple.h> 6488 #include <X11/Xaw/Simple.h>
6495 int 6489 int
6499 ; 6493 ;
6500 return 0; 6494 return 0;
6501 } 6495 }
6502 _ACEOF 6496 _ACEOF
6503 rm -f conftest.$ac_objext conftest$ac_exeext 6497 rm -f conftest.$ac_objext conftest$ac_exeext
6504 if { (eval echo "$as_me:6504: \"$ac_link\"") >&5 6498 if { (eval echo "$as_me:6498: \"$ac_link\"") >&5
6505 (eval $ac_link) 2>&5 6499 (eval $ac_link) 2>&5
6506 ac_status=$? 6500 ac_status=$?
6507 echo "$as_me:6507: \$? = $ac_status" >&5 6501 echo "$as_me:6501: \$? = $ac_status" >&5
6508 (exit $ac_status); } && 6502 (exit $ac_status); } &&
6509 { ac_try='test -s conftest$ac_exeext' 6503 { ac_try='test -s conftest$ac_exeext'
6510 { (eval echo "$as_me:6510: \"$ac_try\"") >&5 6504 { (eval echo "$as_me:6504: \"$ac_try\"") >&5
6511 (eval $ac_try) 2>&5 6505 (eval $ac_try) 2>&5
6512 ac_status=$? 6506 ac_status=$?
6513 echo "$as_me:6513: \$? = $ac_status" >&5 6507 echo "$as_me:6507: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then 6508 (exit $ac_status); }; }; then
6515 emacs_cv_x11_version_5_with_xaw=yes 6509 emacs_cv_x11_version_5_with_xaw=yes
6516 else 6510 else
6517 echo "$as_me: failed program was:" >&5 6511 echo "$as_me: failed program was:" >&5
6518 cat conftest.$ac_ext >&5 6512 cat conftest.$ac_ext >&5
6520 fi 6514 fi
6521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6522 fi 6516 fi
6523 6517
6524 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6518 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6525 echo "$as_me:6525: result: 5 or newer, with Xaw; use toolkit by default" >&5 6519 echo "$as_me:6519: result: 5 or newer, with Xaw; use toolkit by default" >&5
6526 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6520 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6527 USE_X_TOOLKIT=LUCID 6521 USE_X_TOOLKIT=LUCID
6528 else 6522 else
6529 echo "$as_me:6529: result: before 5 or no Xaw; do not use toolkit by default" >&5 6523 echo "$as_me:6523: result: before 5 or no Xaw; do not use toolkit by default" >&5
6530 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6524 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6531 USE_X_TOOLKIT=none 6525 USE_X_TOOLKIT=none
6532 fi 6526 fi
6533 else 6527 else
6534 USE_X_TOOLKIT=none 6528 USE_X_TOOLKIT=none
6536 fi 6530 fi
6537 6531
6538 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6532 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6539 6533
6540 if test "${USE_X_TOOLKIT}" != "none"; then 6534 if test "${USE_X_TOOLKIT}" != "none"; then
6541 echo "$as_me:6541: checking X11 toolkit version" >&5 6535 echo "$as_me:6535: checking X11 toolkit version" >&5
6542 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6536 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6543 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6537 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6544 echo $ECHO_N "(cached) $ECHO_C" >&6 6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 else 6539 else
6546 cat >conftest.$ac_ext <<_ACEOF 6540 cat >conftest.$ac_ext <<_ACEOF
6547 #line 6547 "configure" 6541 #line 6541 "configure"
6548 #include "confdefs.h" 6542 #include "confdefs.h"
6549 #include <X11/Intrinsic.h> 6543 #include <X11/Intrinsic.h>
6550 int 6544 int
6551 main () 6545 main ()
6552 { 6546 {
6557 ; 6551 ;
6558 return 0; 6552 return 0;
6559 } 6553 }
6560 _ACEOF 6554 _ACEOF
6561 rm -f conftest.$ac_objext conftest$ac_exeext 6555 rm -f conftest.$ac_objext conftest$ac_exeext
6562 if { (eval echo "$as_me:6562: \"$ac_link\"") >&5 6556 if { (eval echo "$as_me:6556: \"$ac_link\"") >&5
6563 (eval $ac_link) 2>&5 6557 (eval $ac_link) 2>&5
6564 ac_status=$? 6558 ac_status=$?
6565 echo "$as_me:6565: \$? = $ac_status" >&5 6559 echo "$as_me:6559: \$? = $ac_status" >&5
6566 (exit $ac_status); } && 6560 (exit $ac_status); } &&
6567 { ac_try='test -s conftest$ac_exeext' 6561 { ac_try='test -s conftest$ac_exeext'
6568 { (eval echo "$as_me:6568: \"$ac_try\"") >&5 6562 { (eval echo "$as_me:6562: \"$ac_try\"") >&5
6569 (eval $ac_try) 2>&5 6563 (eval $ac_try) 2>&5
6570 ac_status=$? 6564 ac_status=$?
6571 echo "$as_me:6571: \$? = $ac_status" >&5 6565 echo "$as_me:6565: \$? = $ac_status" >&5
6572 (exit $ac_status); }; }; then 6566 (exit $ac_status); }; }; then
6573 emacs_cv_x11_toolkit_version_6=yes 6567 emacs_cv_x11_toolkit_version_6=yes
6574 else 6568 else
6575 echo "$as_me: failed program was:" >&5 6569 echo "$as_me: failed program was:" >&5
6576 cat conftest.$ac_ext >&5 6570 cat conftest.$ac_ext >&5
6579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6580 fi 6574 fi
6581 6575
6582 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6576 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6583 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6577 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6584 echo "$as_me:6584: result: 6 or newer" >&5 6578 echo "$as_me:6578: result: 6 or newer" >&5
6585 echo "${ECHO_T}6 or newer" >&6 6579 echo "${ECHO_T}6 or newer" >&6
6586 cat >>confdefs.h <<\EOF 6580 cat >>confdefs.h <<\EOF
6587 #define HAVE_X11XTR6 1 6581 #define HAVE_X11XTR6 1
6588 EOF 6582 EOF
6589 6583
6590 else 6584 else
6591 echo "$as_me:6591: result: before 6" >&5 6585 echo "$as_me:6585: result: before 6" >&5
6592 echo "${ECHO_T}before 6" >&6 6586 echo "${ECHO_T}before 6" >&6
6593 fi 6587 fi
6594 6588
6595 OLDLIBS="$LIBS" 6589 OLDLIBS="$LIBS"
6596 if test x$HAVE_X11XTR6 = xyes; then 6590 if test x$HAVE_X11XTR6 = xyes; then
6597 LIBS="-lXt -lSM -lICE $LIBS" 6591 LIBS="-lXt -lSM -lICE $LIBS"
6598 else 6592 else
6599 LIBS="-lXt $LIBS" 6593 LIBS="-lXt $LIBS"
6600 fi 6594 fi
6601 6595
6602 echo "$as_me:6602: checking for XmuConvertStandardSelection in -lXmu" >&5 6596 echo "$as_me:6596: checking for XmuConvertStandardSelection in -lXmu" >&5
6603 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6597 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6604 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6598 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6 6599 echo $ECHO_N "(cached) $ECHO_C" >&6
6606 else 6600 else
6607 ac_check_lib_save_LIBS=$LIBS 6601 ac_check_lib_save_LIBS=$LIBS
6608 LIBS="-lXmu $LIBS" 6602 LIBS="-lXmu $LIBS"
6609 cat >conftest.$ac_ext <<_ACEOF 6603 cat >conftest.$ac_ext <<_ACEOF
6610 #line 6610 "configure" 6604 #line 6604 "configure"
6611 #include "confdefs.h" 6605 #include "confdefs.h"
6612 6606
6613 /* Override any gcc2 internal prototype to avoid an error. */ 6607 /* Override any gcc2 internal prototype to avoid an error. */
6614 #ifdef __cplusplus 6608 #ifdef __cplusplus
6615 extern "C" 6609 extern "C"
6624 ; 6618 ;
6625 return 0; 6619 return 0;
6626 } 6620 }
6627 _ACEOF 6621 _ACEOF
6628 rm -f conftest.$ac_objext conftest$ac_exeext 6622 rm -f conftest.$ac_objext conftest$ac_exeext
6629 if { (eval echo "$as_me:6629: \"$ac_link\"") >&5 6623 if { (eval echo "$as_me:6623: \"$ac_link\"") >&5
6630 (eval $ac_link) 2>&5 6624 (eval $ac_link) 2>&5
6631 ac_status=$? 6625 ac_status=$?
6632 echo "$as_me:6632: \$? = $ac_status" >&5 6626 echo "$as_me:6626: \$? = $ac_status" >&5
6633 (exit $ac_status); } && 6627 (exit $ac_status); } &&
6634 { ac_try='test -s conftest$ac_exeext' 6628 { ac_try='test -s conftest$ac_exeext'
6635 { (eval echo "$as_me:6635: \"$ac_try\"") >&5 6629 { (eval echo "$as_me:6629: \"$ac_try\"") >&5
6636 (eval $ac_try) 2>&5 6630 (eval $ac_try) 2>&5
6637 ac_status=$? 6631 ac_status=$?
6638 echo "$as_me:6638: \$? = $ac_status" >&5 6632 echo "$as_me:6632: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then 6633 (exit $ac_status); }; }; then
6640 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6634 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6641 else 6635 else
6642 echo "$as_me: failed program was:" >&5 6636 echo "$as_me: failed program was:" >&5
6643 cat conftest.$ac_ext >&5 6637 cat conftest.$ac_ext >&5
6644 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6638 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6645 fi 6639 fi
6646 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6647 LIBS=$ac_check_lib_save_LIBS 6641 LIBS=$ac_check_lib_save_LIBS
6648 fi 6642 fi
6649 echo "$as_me:6649: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6643 echo "$as_me:6643: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6650 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6644 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6651 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6645 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6652 cat >>confdefs.h <<EOF 6646 cat >>confdefs.h <<EOF
6653 #define HAVE_LIBXMU 1 6647 #define HAVE_LIBXMU 1
6654 EOF 6648 EOF
6662 6656
6663 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6657 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6664 if test "${HAVE_X11}" = "yes"; then 6658 if test "${HAVE_X11}" = "yes"; then
6665 if test "${USE_X_TOOLKIT}" != "none"; then 6659 if test "${USE_X_TOOLKIT}" != "none"; then
6666 6660
6667 echo "$as_me:6667: checking for XShapeQueryExtension in -lXext" >&5 6661 echo "$as_me:6661: checking for XShapeQueryExtension in -lXext" >&5
6668 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6662 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6669 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6663 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6 6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 else 6665 else
6672 ac_check_lib_save_LIBS=$LIBS 6666 ac_check_lib_save_LIBS=$LIBS
6673 LIBS="-lXext $LIBS" 6667 LIBS="-lXext $LIBS"
6674 cat >conftest.$ac_ext <<_ACEOF 6668 cat >conftest.$ac_ext <<_ACEOF
6675 #line 6675 "configure" 6669 #line 6669 "configure"
6676 #include "confdefs.h" 6670 #include "confdefs.h"
6677 6671
6678 /* Override any gcc2 internal prototype to avoid an error. */ 6672 /* Override any gcc2 internal prototype to avoid an error. */
6679 #ifdef __cplusplus 6673 #ifdef __cplusplus
6680 extern "C" 6674 extern "C"
6689 ; 6683 ;
6690 return 0; 6684 return 0;
6691 } 6685 }
6692 _ACEOF 6686 _ACEOF
6693 rm -f conftest.$ac_objext conftest$ac_exeext 6687 rm -f conftest.$ac_objext conftest$ac_exeext
6694 if { (eval echo "$as_me:6694: \"$ac_link\"") >&5 6688 if { (eval echo "$as_me:6688: \"$ac_link\"") >&5
6695 (eval $ac_link) 2>&5 6689 (eval $ac_link) 2>&5
6696 ac_status=$? 6690 ac_status=$?
6697 echo "$as_me:6697: \$? = $ac_status" >&5 6691 echo "$as_me:6691: \$? = $ac_status" >&5
6698 (exit $ac_status); } && 6692 (exit $ac_status); } &&
6699 { ac_try='test -s conftest$ac_exeext' 6693 { ac_try='test -s conftest$ac_exeext'
6700 { (eval echo "$as_me:6700: \"$ac_try\"") >&5 6694 { (eval echo "$as_me:6694: \"$ac_try\"") >&5
6701 (eval $ac_try) 2>&5 6695 (eval $ac_try) 2>&5
6702 ac_status=$? 6696 ac_status=$?
6703 echo "$as_me:6703: \$? = $ac_status" >&5 6697 echo "$as_me:6697: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then 6698 (exit $ac_status); }; }; then
6705 ac_cv_lib_Xext_XShapeQueryExtension=yes 6699 ac_cv_lib_Xext_XShapeQueryExtension=yes
6706 else 6700 else
6707 echo "$as_me: failed program was:" >&5 6701 echo "$as_me: failed program was:" >&5
6708 cat conftest.$ac_ext >&5 6702 cat conftest.$ac_ext >&5
6709 ac_cv_lib_Xext_XShapeQueryExtension=no 6703 ac_cv_lib_Xext_XShapeQueryExtension=no
6710 fi 6704 fi
6711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6712 LIBS=$ac_check_lib_save_LIBS 6706 LIBS=$ac_check_lib_save_LIBS
6713 fi 6707 fi
6714 echo "$as_me:6714: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6708 echo "$as_me:6708: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6715 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6709 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6716 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6710 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6717 cat >>confdefs.h <<EOF 6711 cat >>confdefs.h <<EOF
6718 #define HAVE_LIBXEXT 1 6712 #define HAVE_LIBXEXT 1
6719 EOF 6713 EOF
6724 6718
6725 fi 6719 fi
6726 fi 6720 fi
6727 6721
6728 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6722 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6729 echo "$as_me:6729: checking for Motif version 2.1" >&5 6723 echo "$as_me:6723: checking for Motif version 2.1" >&5
6730 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6724 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6731 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6725 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6 6726 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 else 6727 else
6734 cat >conftest.$ac_ext <<_ACEOF 6728 cat >conftest.$ac_ext <<_ACEOF
6735 #line 6735 "configure" 6729 #line 6729 "configure"
6736 #include "confdefs.h" 6730 #include "confdefs.h"
6737 #include <Xm/Xm.h> 6731 #include <Xm/Xm.h>
6738 int 6732 int
6739 main () 6733 main ()
6740 { 6734 {
6746 ; 6740 ;
6747 return 0; 6741 return 0;
6748 } 6742 }
6749 _ACEOF 6743 _ACEOF
6750 rm -f conftest.$ac_objext 6744 rm -f conftest.$ac_objext
6751 if { (eval echo "$as_me:6751: \"$ac_compile\"") >&5 6745 if { (eval echo "$as_me:6745: \"$ac_compile\"") >&5
6752 (eval $ac_compile) 2>&5 6746 (eval $ac_compile) 2>&5
6753 ac_status=$? 6747 ac_status=$?
6754 echo "$as_me:6754: \$? = $ac_status" >&5 6748 echo "$as_me:6748: \$? = $ac_status" >&5
6755 (exit $ac_status); } && 6749 (exit $ac_status); } &&
6756 { ac_try='test -s conftest.$ac_objext' 6750 { ac_try='test -s conftest.$ac_objext'
6757 { (eval echo "$as_me:6757: \"$ac_try\"") >&5 6751 { (eval echo "$as_me:6751: \"$ac_try\"") >&5
6758 (eval $ac_try) 2>&5 6752 (eval $ac_try) 2>&5
6759 ac_status=$? 6753 ac_status=$?
6760 echo "$as_me:6760: \$? = $ac_status" >&5 6754 echo "$as_me:6754: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then 6755 (exit $ac_status); }; }; then
6762 emacs_cv_motif_version_2_1=yes 6756 emacs_cv_motif_version_2_1=yes
6763 else 6757 else
6764 echo "$as_me: failed program was:" >&5 6758 echo "$as_me: failed program was:" >&5
6765 cat conftest.$ac_ext >&5 6759 cat conftest.$ac_ext >&5
6766 emacs_cv_motif_version_2_1=no 6760 emacs_cv_motif_version_2_1=no
6767 fi 6761 fi
6768 rm -f conftest.$ac_objext conftest.$ac_ext 6762 rm -f conftest.$ac_objext conftest.$ac_ext
6769 fi 6763 fi
6770 echo "$as_me:6770: result: $emacs_cv_motif_version_2_1" >&5 6764 echo "$as_me:6764: result: $emacs_cv_motif_version_2_1" >&5
6771 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6765 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6772 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6766 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6773 if test $emacs_cv_motif_version_2_1 = yes; then 6767 if test $emacs_cv_motif_version_2_1 = yes; then
6774 HAVE_LIBXP=no 6768 HAVE_LIBXP=no
6775 cat >>confdefs.h <<\EOF 6769 cat >>confdefs.h <<\EOF
6776 #define HAVE_MOTIF_2_1 1 6770 #define HAVE_MOTIF_2_1 1
6777 EOF 6771 EOF
6778 6772
6779 echo "$as_me:6779: checking for XpCreateContext in -lXp" >&5 6773 echo "$as_me:6773: checking for XpCreateContext in -lXp" >&5
6780 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6774 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6781 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6775 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6 6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 else 6777 else
6784 ac_check_lib_save_LIBS=$LIBS 6778 ac_check_lib_save_LIBS=$LIBS
6785 LIBS="-lXp $LIBS" 6779 LIBS="-lXp $LIBS"
6786 cat >conftest.$ac_ext <<_ACEOF 6780 cat >conftest.$ac_ext <<_ACEOF
6787 #line 6787 "configure" 6781 #line 6781 "configure"
6788 #include "confdefs.h" 6782 #include "confdefs.h"
6789 6783
6790 /* Override any gcc2 internal prototype to avoid an error. */ 6784 /* Override any gcc2 internal prototype to avoid an error. */
6791 #ifdef __cplusplus 6785 #ifdef __cplusplus
6792 extern "C" 6786 extern "C"
6801 ; 6795 ;
6802 return 0; 6796 return 0;
6803 } 6797 }
6804 _ACEOF 6798 _ACEOF
6805 rm -f conftest.$ac_objext conftest$ac_exeext 6799 rm -f conftest.$ac_objext conftest$ac_exeext
6806 if { (eval echo "$as_me:6806: \"$ac_link\"") >&5 6800 if { (eval echo "$as_me:6800: \"$ac_link\"") >&5
6807 (eval $ac_link) 2>&5 6801 (eval $ac_link) 2>&5
6808 ac_status=$? 6802 ac_status=$?
6809 echo "$as_me:6809: \$? = $ac_status" >&5 6803 echo "$as_me:6803: \$? = $ac_status" >&5
6810 (exit $ac_status); } && 6804 (exit $ac_status); } &&
6811 { ac_try='test -s conftest$ac_exeext' 6805 { ac_try='test -s conftest$ac_exeext'
6812 { (eval echo "$as_me:6812: \"$ac_try\"") >&5 6806 { (eval echo "$as_me:6806: \"$ac_try\"") >&5
6813 (eval $ac_try) 2>&5 6807 (eval $ac_try) 2>&5
6814 ac_status=$? 6808 ac_status=$?
6815 echo "$as_me:6815: \$? = $ac_status" >&5 6809 echo "$as_me:6809: \$? = $ac_status" >&5
6816 (exit $ac_status); }; }; then 6810 (exit $ac_status); }; }; then
6817 ac_cv_lib_Xp_XpCreateContext=yes 6811 ac_cv_lib_Xp_XpCreateContext=yes
6818 else 6812 else
6819 echo "$as_me: failed program was:" >&5 6813 echo "$as_me: failed program was:" >&5
6820 cat conftest.$ac_ext >&5 6814 cat conftest.$ac_ext >&5
6821 ac_cv_lib_Xp_XpCreateContext=no 6815 ac_cv_lib_Xp_XpCreateContext=no
6822 fi 6816 fi
6823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6824 LIBS=$ac_check_lib_save_LIBS 6818 LIBS=$ac_check_lib_save_LIBS
6825 fi 6819 fi
6826 echo "$as_me:6826: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6820 echo "$as_me:6820: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6827 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6821 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6828 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6822 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6829 HAVE_LIBXP=yes 6823 HAVE_LIBXP=yes
6830 fi 6824 fi
6831 6825
6840 6834
6841 ### Is -lXaw3d available? 6835 ### Is -lXaw3d available?
6842 HAVE_XAW3D=no 6836 HAVE_XAW3D=no
6843 if test "${HAVE_X11}" = "yes"; then 6837 if test "${HAVE_X11}" = "yes"; then
6844 if test "${USE_X_TOOLKIT}" != "none"; then 6838 if test "${USE_X_TOOLKIT}" != "none"; then
6845 echo "$as_me:6845: checking for X11/Xaw3d/Scrollbar.h" >&5 6839 echo "$as_me:6839: checking for X11/Xaw3d/Scrollbar.h" >&5
6846 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6840 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6847 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6841 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6 6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 else 6843 else
6850 cat >conftest.$ac_ext <<_ACEOF 6844 cat >conftest.$ac_ext <<_ACEOF
6851 #line 6851 "configure" 6845 #line 6845 "configure"
6852 #include "confdefs.h" 6846 #include "confdefs.h"
6853 #include <X11/Xaw3d/Scrollbar.h> 6847 #include <X11/Xaw3d/Scrollbar.h>
6854 _ACEOF 6848 _ACEOF
6855 if { (eval echo "$as_me:6855: \"$ac_cpp conftest.$ac_ext\"") >&5 6849 if { (eval echo "$as_me:6849: \"$ac_cpp conftest.$ac_ext\"") >&5
6856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6857 ac_status=$? 6851 ac_status=$?
6858 egrep -v '^ *\+' conftest.er1 >conftest.err 6852 egrep -v '^ *\+' conftest.er1 >conftest.err
6859 rm -f conftest.er1 6853 rm -f conftest.er1
6860 cat conftest.err >&5 6854 cat conftest.err >&5
6861 echo "$as_me:6861: \$? = $ac_status" >&5 6855 echo "$as_me:6855: \$? = $ac_status" >&5
6862 (exit $ac_status); } >/dev/null; then 6856 (exit $ac_status); } >/dev/null; then
6863 if test -s conftest.err; then 6857 if test -s conftest.err; then
6864 ac_cpp_err=$ac_c_preproc_warn_flag 6858 ac_cpp_err=$ac_c_preproc_warn_flag
6865 else 6859 else
6866 ac_cpp_err= 6860 ac_cpp_err=
6875 cat conftest.$ac_ext >&5 6869 cat conftest.$ac_ext >&5
6876 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6870 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6877 fi 6871 fi
6878 rm -f conftest.err conftest.$ac_ext 6872 rm -f conftest.err conftest.$ac_ext
6879 fi 6873 fi
6880 echo "$as_me:6880: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6874 echo "$as_me:6874: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6881 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6875 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6882 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6876 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6883 echo "$as_me:6883: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6877 echo "$as_me:6877: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6884 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6878 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6885 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6879 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6 6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6887 else 6881 else
6888 ac_check_lib_save_LIBS=$LIBS 6882 ac_check_lib_save_LIBS=$LIBS
6889 LIBS="-lXaw3d $LIBS" 6883 LIBS="-lXaw3d $LIBS"
6890 cat >conftest.$ac_ext <<_ACEOF 6884 cat >conftest.$ac_ext <<_ACEOF
6891 #line 6891 "configure" 6885 #line 6885 "configure"
6892 #include "confdefs.h" 6886 #include "confdefs.h"
6893 6887
6894 /* Override any gcc2 internal prototype to avoid an error. */ 6888 /* Override any gcc2 internal prototype to avoid an error. */
6895 #ifdef __cplusplus 6889 #ifdef __cplusplus
6896 extern "C" 6890 extern "C"
6905 ; 6899 ;
6906 return 0; 6900 return 0;
6907 } 6901 }
6908 _ACEOF 6902 _ACEOF
6909 rm -f conftest.$ac_objext conftest$ac_exeext 6903 rm -f conftest.$ac_objext conftest$ac_exeext
6910 if { (eval echo "$as_me:6910: \"$ac_link\"") >&5 6904 if { (eval echo "$as_me:6904: \"$ac_link\"") >&5
6911 (eval $ac_link) 2>&5 6905 (eval $ac_link) 2>&5
6912 ac_status=$? 6906 ac_status=$?
6913 echo "$as_me:6913: \$? = $ac_status" >&5 6907 echo "$as_me:6907: \$? = $ac_status" >&5
6914 (exit $ac_status); } && 6908 (exit $ac_status); } &&
6915 { ac_try='test -s conftest$ac_exeext' 6909 { ac_try='test -s conftest$ac_exeext'
6916 { (eval echo "$as_me:6916: \"$ac_try\"") >&5 6910 { (eval echo "$as_me:6910: \"$ac_try\"") >&5
6917 (eval $ac_try) 2>&5 6911 (eval $ac_try) 2>&5
6918 ac_status=$? 6912 ac_status=$?
6919 echo "$as_me:6919: \$? = $ac_status" >&5 6913 echo "$as_me:6913: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then 6914 (exit $ac_status); }; }; then
6921 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 6915 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6922 else 6916 else
6923 echo "$as_me: failed program was:" >&5 6917 echo "$as_me: failed program was:" >&5
6924 cat conftest.$ac_ext >&5 6918 cat conftest.$ac_ext >&5
6925 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 6919 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
6926 fi 6920 fi
6927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6928 LIBS=$ac_check_lib_save_LIBS 6922 LIBS=$ac_check_lib_save_LIBS
6929 fi 6923 fi
6930 echo "$as_me:6930: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 6924 echo "$as_me:6924: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6931 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 6925 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6932 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 6926 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6933 HAVE_XAW3D=yes 6927 HAVE_XAW3D=yes
6934 fi 6928 fi
6935 6929
6973 6967
6974 ### Use -lXpm if available, unless `--with-xpm=no'. 6968 ### Use -lXpm if available, unless `--with-xpm=no'.
6975 HAVE_XPM=no 6969 HAVE_XPM=no
6976 if test "${HAVE_X11}" = "yes"; then 6970 if test "${HAVE_X11}" = "yes"; then
6977 if test "${with_xpm}" != "no"; then 6971 if test "${with_xpm}" != "no"; then
6978 echo "$as_me:6978: checking for X11/xpm.h" >&5 6972 echo "$as_me:6972: checking for X11/xpm.h" >&5
6979 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 6973 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6980 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 6974 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6 6975 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 else 6976 else
6983 cat >conftest.$ac_ext <<_ACEOF 6977 cat >conftest.$ac_ext <<_ACEOF
6984 #line 6984 "configure" 6978 #line 6978 "configure"
6985 #include "confdefs.h" 6979 #include "confdefs.h"
6986 #include <X11/xpm.h> 6980 #include <X11/xpm.h>
6987 _ACEOF 6981 _ACEOF
6988 if { (eval echo "$as_me:6988: \"$ac_cpp conftest.$ac_ext\"") >&5 6982 if { (eval echo "$as_me:6982: \"$ac_cpp conftest.$ac_ext\"") >&5
6989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6990 ac_status=$? 6984 ac_status=$?
6991 egrep -v '^ *\+' conftest.er1 >conftest.err 6985 egrep -v '^ *\+' conftest.er1 >conftest.err
6992 rm -f conftest.er1 6986 rm -f conftest.er1
6993 cat conftest.err >&5 6987 cat conftest.err >&5
6994 echo "$as_me:6994: \$? = $ac_status" >&5 6988 echo "$as_me:6988: \$? = $ac_status" >&5
6995 (exit $ac_status); } >/dev/null; then 6989 (exit $ac_status); } >/dev/null; then
6996 if test -s conftest.err; then 6990 if test -s conftest.err; then
6997 ac_cpp_err=$ac_c_preproc_warn_flag 6991 ac_cpp_err=$ac_c_preproc_warn_flag
6998 else 6992 else
6999 ac_cpp_err= 6993 ac_cpp_err=
7008 cat conftest.$ac_ext >&5 7002 cat conftest.$ac_ext >&5
7009 ac_cv_header_X11_xpm_h=no 7003 ac_cv_header_X11_xpm_h=no
7010 fi 7004 fi
7011 rm -f conftest.err conftest.$ac_ext 7005 rm -f conftest.err conftest.$ac_ext
7012 fi 7006 fi
7013 echo "$as_me:7013: result: $ac_cv_header_X11_xpm_h" >&5 7007 echo "$as_me:7007: result: $ac_cv_header_X11_xpm_h" >&5
7014 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7008 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7015 if test $ac_cv_header_X11_xpm_h = yes; then 7009 if test $ac_cv_header_X11_xpm_h = yes; then
7016 echo "$as_me:7016: checking for XpmReadFileToPixmap in -lXpm" >&5 7010 echo "$as_me:7010: checking for XpmReadFileToPixmap in -lXpm" >&5
7017 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7011 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7018 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7012 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6 7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 else 7014 else
7021 ac_check_lib_save_LIBS=$LIBS 7015 ac_check_lib_save_LIBS=$LIBS
7022 LIBS="-lXpm -lX11 $LIBS" 7016 LIBS="-lXpm -lX11 $LIBS"
7023 cat >conftest.$ac_ext <<_ACEOF 7017 cat >conftest.$ac_ext <<_ACEOF
7024 #line 7024 "configure" 7018 #line 7018 "configure"
7025 #include "confdefs.h" 7019 #include "confdefs.h"
7026 7020
7027 /* Override any gcc2 internal prototype to avoid an error. */ 7021 /* Override any gcc2 internal prototype to avoid an error. */
7028 #ifdef __cplusplus 7022 #ifdef __cplusplus
7029 extern "C" 7023 extern "C"
7038 ; 7032 ;
7039 return 0; 7033 return 0;
7040 } 7034 }
7041 _ACEOF 7035 _ACEOF
7042 rm -f conftest.$ac_objext conftest$ac_exeext 7036 rm -f conftest.$ac_objext conftest$ac_exeext
7043 if { (eval echo "$as_me:7043: \"$ac_link\"") >&5 7037 if { (eval echo "$as_me:7037: \"$ac_link\"") >&5
7044 (eval $ac_link) 2>&5 7038 (eval $ac_link) 2>&5
7045 ac_status=$? 7039 ac_status=$?
7046 echo "$as_me:7046: \$? = $ac_status" >&5 7040 echo "$as_me:7040: \$? = $ac_status" >&5
7047 (exit $ac_status); } && 7041 (exit $ac_status); } &&
7048 { ac_try='test -s conftest$ac_exeext' 7042 { ac_try='test -s conftest$ac_exeext'
7049 { (eval echo "$as_me:7049: \"$ac_try\"") >&5 7043 { (eval echo "$as_me:7043: \"$ac_try\"") >&5
7050 (eval $ac_try) 2>&5 7044 (eval $ac_try) 2>&5
7051 ac_status=$? 7045 ac_status=$?
7052 echo "$as_me:7052: \$? = $ac_status" >&5 7046 echo "$as_me:7046: \$? = $ac_status" >&5
7053 (exit $ac_status); }; }; then 7047 (exit $ac_status); }; }; then
7054 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7048 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7055 else 7049 else
7056 echo "$as_me: failed program was:" >&5 7050 echo "$as_me: failed program was:" >&5
7057 cat conftest.$ac_ext >&5 7051 cat conftest.$ac_ext >&5
7058 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7052 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7059 fi 7053 fi
7060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7061 LIBS=$ac_check_lib_save_LIBS 7055 LIBS=$ac_check_lib_save_LIBS
7062 fi 7056 fi
7063 echo "$as_me:7063: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7057 echo "$as_me:7057: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7064 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7058 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7065 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7059 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7066 HAVE_XPM=yes 7060 HAVE_XPM=yes
7067 fi 7061 fi
7068 7062
7069 fi 7063 fi
7070 7064
7071 if test "${HAVE_XPM}" = "yes"; then 7065 if test "${HAVE_XPM}" = "yes"; then
7072 echo "$as_me:7072: checking for XpmReturnAllocPixels preprocessor define" >&5 7066 echo "$as_me:7066: checking for XpmReturnAllocPixels preprocessor define" >&5
7073 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7067 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7074 cat >conftest.$ac_ext <<_ACEOF 7068 cat >conftest.$ac_ext <<_ACEOF
7075 #line 7075 "configure" 7069 #line 7069 "configure"
7076 #include "confdefs.h" 7070 #include "confdefs.h"
7077 #include "X11/xpm.h" 7071 #include "X11/xpm.h"
7078 #ifndef XpmReturnAllocPixels 7072 #ifndef XpmReturnAllocPixels
7079 no_return_alloc_pixels 7073 no_return_alloc_pixels
7080 #endif 7074 #endif
7087 HAVE_XPM=yes 7081 HAVE_XPM=yes
7088 fi 7082 fi
7089 rm -f conftest* 7083 rm -f conftest*
7090 7084
7091 if test "${HAVE_XPM}" = "yes"; then 7085 if test "${HAVE_XPM}" = "yes"; then
7092 echo "$as_me:7092: result: yes" >&5 7086 echo "$as_me:7086: result: yes" >&5
7093 echo "${ECHO_T}yes" >&6 7087 echo "${ECHO_T}yes" >&6
7094 else 7088 else
7095 echo "$as_me:7095: result: no" >&5 7089 echo "$as_me:7089: result: no" >&5
7096 echo "${ECHO_T}no" >&6 7090 echo "${ECHO_T}no" >&6
7097 fi 7091 fi
7098 fi 7092 fi
7099 fi 7093 fi
7100 7094
7108 7102
7109 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7103 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7110 HAVE_JPEG=no 7104 HAVE_JPEG=no
7111 if test "${HAVE_X11}" = "yes"; then 7105 if test "${HAVE_X11}" = "yes"; then
7112 if test "${with_jpeg}" != "no"; then 7106 if test "${with_jpeg}" != "no"; then
7113 echo "$as_me:7113: checking for jerror.h" >&5 7107 echo "$as_me:7107: checking for jerror.h" >&5
7114 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7108 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7115 if test "${ac_cv_header_jerror_h+set}" = set; then 7109 if test "${ac_cv_header_jerror_h+set}" = set; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6 7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 else 7111 else
7118 cat >conftest.$ac_ext <<_ACEOF 7112 cat >conftest.$ac_ext <<_ACEOF
7119 #line 7119 "configure" 7113 #line 7113 "configure"
7120 #include "confdefs.h" 7114 #include "confdefs.h"
7121 #include <jerror.h> 7115 #include <jerror.h>
7122 _ACEOF 7116 _ACEOF
7123 if { (eval echo "$as_me:7123: \"$ac_cpp conftest.$ac_ext\"") >&5 7117 if { (eval echo "$as_me:7117: \"$ac_cpp conftest.$ac_ext\"") >&5
7124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7125 ac_status=$? 7119 ac_status=$?
7126 egrep -v '^ *\+' conftest.er1 >conftest.err 7120 egrep -v '^ *\+' conftest.er1 >conftest.err
7127 rm -f conftest.er1 7121 rm -f conftest.er1
7128 cat conftest.err >&5 7122 cat conftest.err >&5
7129 echo "$as_me:7129: \$? = $ac_status" >&5 7123 echo "$as_me:7123: \$? = $ac_status" >&5
7130 (exit $ac_status); } >/dev/null; then 7124 (exit $ac_status); } >/dev/null; then
7131 if test -s conftest.err; then 7125 if test -s conftest.err; then
7132 ac_cpp_err=$ac_c_preproc_warn_flag 7126 ac_cpp_err=$ac_c_preproc_warn_flag
7133 else 7127 else
7134 ac_cpp_err= 7128 ac_cpp_err=
7143 cat conftest.$ac_ext >&5 7137 cat conftest.$ac_ext >&5
7144 ac_cv_header_jerror_h=no 7138 ac_cv_header_jerror_h=no
7145 fi 7139 fi
7146 rm -f conftest.err conftest.$ac_ext 7140 rm -f conftest.err conftest.$ac_ext
7147 fi 7141 fi
7148 echo "$as_me:7148: result: $ac_cv_header_jerror_h" >&5 7142 echo "$as_me:7142: result: $ac_cv_header_jerror_h" >&5
7149 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7143 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7150 if test $ac_cv_header_jerror_h = yes; then 7144 if test $ac_cv_header_jerror_h = yes; then
7151 echo "$as_me:7151: checking for jpeg_destroy_compress in -ljpeg" >&5 7145 echo "$as_me:7145: checking for jpeg_destroy_compress in -ljpeg" >&5
7152 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7146 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7153 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7147 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6 7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 else 7149 else
7156 ac_check_lib_save_LIBS=$LIBS 7150 ac_check_lib_save_LIBS=$LIBS
7157 LIBS="-ljpeg $LIBS" 7151 LIBS="-ljpeg $LIBS"
7158 cat >conftest.$ac_ext <<_ACEOF 7152 cat >conftest.$ac_ext <<_ACEOF
7159 #line 7159 "configure" 7153 #line 7153 "configure"
7160 #include "confdefs.h" 7154 #include "confdefs.h"
7161 7155
7162 /* Override any gcc2 internal prototype to avoid an error. */ 7156 /* Override any gcc2 internal prototype to avoid an error. */
7163 #ifdef __cplusplus 7157 #ifdef __cplusplus
7164 extern "C" 7158 extern "C"
7173 ; 7167 ;
7174 return 0; 7168 return 0;
7175 } 7169 }
7176 _ACEOF 7170 _ACEOF
7177 rm -f conftest.$ac_objext conftest$ac_exeext 7171 rm -f conftest.$ac_objext conftest$ac_exeext
7178 if { (eval echo "$as_me:7178: \"$ac_link\"") >&5 7172 if { (eval echo "$as_me:7172: \"$ac_link\"") >&5
7179 (eval $ac_link) 2>&5 7173 (eval $ac_link) 2>&5
7180 ac_status=$? 7174 ac_status=$?
7181 echo "$as_me:7181: \$? = $ac_status" >&5 7175 echo "$as_me:7175: \$? = $ac_status" >&5
7182 (exit $ac_status); } && 7176 (exit $ac_status); } &&
7183 { ac_try='test -s conftest$ac_exeext' 7177 { ac_try='test -s conftest$ac_exeext'
7184 { (eval echo "$as_me:7184: \"$ac_try\"") >&5 7178 { (eval echo "$as_me:7178: \"$ac_try\"") >&5
7185 (eval $ac_try) 2>&5 7179 (eval $ac_try) 2>&5
7186 ac_status=$? 7180 ac_status=$?
7187 echo "$as_me:7187: \$? = $ac_status" >&5 7181 echo "$as_me:7181: \$? = $ac_status" >&5
7188 (exit $ac_status); }; }; then 7182 (exit $ac_status); }; }; then
7189 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7183 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7190 else 7184 else
7191 echo "$as_me: failed program was:" >&5 7185 echo "$as_me: failed program was:" >&5
7192 cat conftest.$ac_ext >&5 7186 cat conftest.$ac_ext >&5
7193 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7187 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7194 fi 7188 fi
7195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7196 LIBS=$ac_check_lib_save_LIBS 7190 LIBS=$ac_check_lib_save_LIBS
7197 fi 7191 fi
7198 echo "$as_me:7198: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7192 echo "$as_me:7192: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7199 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7193 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7200 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7194 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7201 HAVE_JPEG=yes 7195 HAVE_JPEG=yes
7202 fi 7196 fi
7203 7197
7215 7209
7216 ### Use -lpng if available, unless `--with-png=no'. 7210 ### Use -lpng if available, unless `--with-png=no'.
7217 HAVE_PNG=no 7211 HAVE_PNG=no
7218 if test "${HAVE_X11}" = "yes"; then 7212 if test "${HAVE_X11}" = "yes"; then
7219 if test "${with_png}" != "no"; then 7213 if test "${with_png}" != "no"; then
7220 echo "$as_me:7220: checking for png.h" >&5 7214 echo "$as_me:7214: checking for png.h" >&5
7221 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7215 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7222 if test "${ac_cv_header_png_h+set}" = set; then 7216 if test "${ac_cv_header_png_h+set}" = set; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6 7217 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 else 7218 else
7225 cat >conftest.$ac_ext <<_ACEOF 7219 cat >conftest.$ac_ext <<_ACEOF
7226 #line 7226 "configure" 7220 #line 7220 "configure"
7227 #include "confdefs.h" 7221 #include "confdefs.h"
7228 #include <png.h> 7222 #include <png.h>
7229 _ACEOF 7223 _ACEOF
7230 if { (eval echo "$as_me:7230: \"$ac_cpp conftest.$ac_ext\"") >&5 7224 if { (eval echo "$as_me:7224: \"$ac_cpp conftest.$ac_ext\"") >&5
7231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7232 ac_status=$? 7226 ac_status=$?
7233 egrep -v '^ *\+' conftest.er1 >conftest.err 7227 egrep -v '^ *\+' conftest.er1 >conftest.err
7234 rm -f conftest.er1 7228 rm -f conftest.er1
7235 cat conftest.err >&5 7229 cat conftest.err >&5
7236 echo "$as_me:7236: \$? = $ac_status" >&5 7230 echo "$as_me:7230: \$? = $ac_status" >&5
7237 (exit $ac_status); } >/dev/null; then 7231 (exit $ac_status); } >/dev/null; then
7238 if test -s conftest.err; then 7232 if test -s conftest.err; then
7239 ac_cpp_err=$ac_c_preproc_warn_flag 7233 ac_cpp_err=$ac_c_preproc_warn_flag
7240 else 7234 else
7241 ac_cpp_err= 7235 ac_cpp_err=
7250 cat conftest.$ac_ext >&5 7244 cat conftest.$ac_ext >&5
7251 ac_cv_header_png_h=no 7245 ac_cv_header_png_h=no
7252 fi 7246 fi
7253 rm -f conftest.err conftest.$ac_ext 7247 rm -f conftest.err conftest.$ac_ext
7254 fi 7248 fi
7255 echo "$as_me:7255: result: $ac_cv_header_png_h" >&5 7249 echo "$as_me:7249: result: $ac_cv_header_png_h" >&5
7256 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7250 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7257 if test $ac_cv_header_png_h = yes; then 7251 if test $ac_cv_header_png_h = yes; then
7258 echo "$as_me:7258: checking for png_get_channels in -lpng" >&5 7252 echo "$as_me:7252: checking for png_get_channels in -lpng" >&5
7259 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7253 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7260 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7254 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7261 echo $ECHO_N "(cached) $ECHO_C" >&6 7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7262 else 7256 else
7263 ac_check_lib_save_LIBS=$LIBS 7257 ac_check_lib_save_LIBS=$LIBS
7264 LIBS="-lpng -lz -lm $LIBS" 7258 LIBS="-lpng -lz -lm $LIBS"
7265 cat >conftest.$ac_ext <<_ACEOF 7259 cat >conftest.$ac_ext <<_ACEOF
7266 #line 7266 "configure" 7260 #line 7260 "configure"
7267 #include "confdefs.h" 7261 #include "confdefs.h"
7268 7262
7269 /* Override any gcc2 internal prototype to avoid an error. */ 7263 /* Override any gcc2 internal prototype to avoid an error. */
7270 #ifdef __cplusplus 7264 #ifdef __cplusplus
7271 extern "C" 7265 extern "C"
7280 ; 7274 ;
7281 return 0; 7275 return 0;
7282 } 7276 }
7283 _ACEOF 7277 _ACEOF
7284 rm -f conftest.$ac_objext conftest$ac_exeext 7278 rm -f conftest.$ac_objext conftest$ac_exeext
7285 if { (eval echo "$as_me:7285: \"$ac_link\"") >&5 7279 if { (eval echo "$as_me:7279: \"$ac_link\"") >&5
7286 (eval $ac_link) 2>&5 7280 (eval $ac_link) 2>&5
7287 ac_status=$? 7281 ac_status=$?
7288 echo "$as_me:7288: \$? = $ac_status" >&5 7282 echo "$as_me:7282: \$? = $ac_status" >&5
7289 (exit $ac_status); } && 7283 (exit $ac_status); } &&
7290 { ac_try='test -s conftest$ac_exeext' 7284 { ac_try='test -s conftest$ac_exeext'
7291 { (eval echo "$as_me:7291: \"$ac_try\"") >&5 7285 { (eval echo "$as_me:7285: \"$ac_try\"") >&5
7292 (eval $ac_try) 2>&5 7286 (eval $ac_try) 2>&5
7293 ac_status=$? 7287 ac_status=$?
7294 echo "$as_me:7294: \$? = $ac_status" >&5 7288 echo "$as_me:7288: \$? = $ac_status" >&5
7295 (exit $ac_status); }; }; then 7289 (exit $ac_status); }; }; then
7296 ac_cv_lib_png_png_get_channels=yes 7290 ac_cv_lib_png_png_get_channels=yes
7297 else 7291 else
7298 echo "$as_me: failed program was:" >&5 7292 echo "$as_me: failed program was:" >&5
7299 cat conftest.$ac_ext >&5 7293 cat conftest.$ac_ext >&5
7300 ac_cv_lib_png_png_get_channels=no 7294 ac_cv_lib_png_png_get_channels=no
7301 fi 7295 fi
7302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7303 LIBS=$ac_check_lib_save_LIBS 7297 LIBS=$ac_check_lib_save_LIBS
7304 fi 7298 fi
7305 echo "$as_me:7305: result: $ac_cv_lib_png_png_get_channels" >&5 7299 echo "$as_me:7299: result: $ac_cv_lib_png_png_get_channels" >&5
7306 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7300 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7307 if test $ac_cv_lib_png_png_get_channels = yes; then 7301 if test $ac_cv_lib_png_png_get_channels = yes; then
7308 HAVE_PNG=yes 7302 HAVE_PNG=yes
7309 fi 7303 fi
7310 7304
7322 7316
7323 ### Use -ltiff if available, unless `--with-tiff=no'. 7317 ### Use -ltiff if available, unless `--with-tiff=no'.
7324 HAVE_TIFF=no 7318 HAVE_TIFF=no
7325 if test "${HAVE_X11}" = "yes"; then 7319 if test "${HAVE_X11}" = "yes"; then
7326 if test "${with_tiff}" != "no"; then 7320 if test "${with_tiff}" != "no"; then
7327 echo "$as_me:7327: checking for tiffio.h" >&5 7321 echo "$as_me:7321: checking for tiffio.h" >&5
7328 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7322 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7329 if test "${ac_cv_header_tiffio_h+set}" = set; then 7323 if test "${ac_cv_header_tiffio_h+set}" = set; then
7330 echo $ECHO_N "(cached) $ECHO_C" >&6 7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7331 else 7325 else
7332 cat >conftest.$ac_ext <<_ACEOF 7326 cat >conftest.$ac_ext <<_ACEOF
7333 #line 7333 "configure" 7327 #line 7327 "configure"
7334 #include "confdefs.h" 7328 #include "confdefs.h"
7335 #include <tiffio.h> 7329 #include <tiffio.h>
7336 _ACEOF 7330 _ACEOF
7337 if { (eval echo "$as_me:7337: \"$ac_cpp conftest.$ac_ext\"") >&5 7331 if { (eval echo "$as_me:7331: \"$ac_cpp conftest.$ac_ext\"") >&5
7338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7339 ac_status=$? 7333 ac_status=$?
7340 egrep -v '^ *\+' conftest.er1 >conftest.err 7334 egrep -v '^ *\+' conftest.er1 >conftest.err
7341 rm -f conftest.er1 7335 rm -f conftest.er1
7342 cat conftest.err >&5 7336 cat conftest.err >&5
7343 echo "$as_me:7343: \$? = $ac_status" >&5 7337 echo "$as_me:7337: \$? = $ac_status" >&5
7344 (exit $ac_status); } >/dev/null; then 7338 (exit $ac_status); } >/dev/null; then
7345 if test -s conftest.err; then 7339 if test -s conftest.err; then
7346 ac_cpp_err=$ac_c_preproc_warn_flag 7340 ac_cpp_err=$ac_c_preproc_warn_flag
7347 else 7341 else
7348 ac_cpp_err= 7342 ac_cpp_err=
7357 cat conftest.$ac_ext >&5 7351 cat conftest.$ac_ext >&5
7358 ac_cv_header_tiffio_h=no 7352 ac_cv_header_tiffio_h=no
7359 fi 7353 fi
7360 rm -f conftest.err conftest.$ac_ext 7354 rm -f conftest.err conftest.$ac_ext
7361 fi 7355 fi
7362 echo "$as_me:7362: result: $ac_cv_header_tiffio_h" >&5 7356 echo "$as_me:7356: result: $ac_cv_header_tiffio_h" >&5
7363 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7357 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7364 if test $ac_cv_header_tiffio_h = yes; then 7358 if test $ac_cv_header_tiffio_h = yes; then
7365 tifflibs="-lz -lm" 7359 tifflibs="-lz -lm"
7366 # At least one tiff package requires the jpeg library. 7360 # At least one tiff package requires the jpeg library.
7367 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7361 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7368 echo "$as_me:7368: checking for TIFFGetVersion in -ltiff" >&5 7362 echo "$as_me:7362: checking for TIFFGetVersion in -ltiff" >&5
7369 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7363 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7370 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7364 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7371 echo $ECHO_N "(cached) $ECHO_C" >&6 7365 echo $ECHO_N "(cached) $ECHO_C" >&6
7372 else 7366 else
7373 ac_check_lib_save_LIBS=$LIBS 7367 ac_check_lib_save_LIBS=$LIBS
7374 LIBS="-ltiff $tifflibs $LIBS" 7368 LIBS="-ltiff $tifflibs $LIBS"
7375 cat >conftest.$ac_ext <<_ACEOF 7369 cat >conftest.$ac_ext <<_ACEOF
7376 #line 7376 "configure" 7370 #line 7370 "configure"
7377 #include "confdefs.h" 7371 #include "confdefs.h"
7378 7372
7379 /* Override any gcc2 internal prototype to avoid an error. */ 7373 /* Override any gcc2 internal prototype to avoid an error. */
7380 #ifdef __cplusplus 7374 #ifdef __cplusplus
7381 extern "C" 7375 extern "C"
7390 ; 7384 ;
7391 return 0; 7385 return 0;
7392 } 7386 }
7393 _ACEOF 7387 _ACEOF
7394 rm -f conftest.$ac_objext conftest$ac_exeext 7388 rm -f conftest.$ac_objext conftest$ac_exeext
7395 if { (eval echo "$as_me:7395: \"$ac_link\"") >&5 7389 if { (eval echo "$as_me:7389: \"$ac_link\"") >&5
7396 (eval $ac_link) 2>&5 7390 (eval $ac_link) 2>&5
7397 ac_status=$? 7391 ac_status=$?
7398 echo "$as_me:7398: \$? = $ac_status" >&5 7392 echo "$as_me:7392: \$? = $ac_status" >&5
7399 (exit $ac_status); } && 7393 (exit $ac_status); } &&
7400 { ac_try='test -s conftest$ac_exeext' 7394 { ac_try='test -s conftest$ac_exeext'
7401 { (eval echo "$as_me:7401: \"$ac_try\"") >&5 7395 { (eval echo "$as_me:7395: \"$ac_try\"") >&5
7402 (eval $ac_try) 2>&5 7396 (eval $ac_try) 2>&5
7403 ac_status=$? 7397 ac_status=$?
7404 echo "$as_me:7404: \$? = $ac_status" >&5 7398 echo "$as_me:7398: \$? = $ac_status" >&5
7405 (exit $ac_status); }; }; then 7399 (exit $ac_status); }; }; then
7406 ac_cv_lib_tiff_TIFFGetVersion=yes 7400 ac_cv_lib_tiff_TIFFGetVersion=yes
7407 else 7401 else
7408 echo "$as_me: failed program was:" >&5 7402 echo "$as_me: failed program was:" >&5
7409 cat conftest.$ac_ext >&5 7403 cat conftest.$ac_ext >&5
7410 ac_cv_lib_tiff_TIFFGetVersion=no 7404 ac_cv_lib_tiff_TIFFGetVersion=no
7411 fi 7405 fi
7412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7413 LIBS=$ac_check_lib_save_LIBS 7407 LIBS=$ac_check_lib_save_LIBS
7414 fi 7408 fi
7415 echo "$as_me:7415: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7409 echo "$as_me:7409: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7416 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7410 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7417 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7411 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7418 HAVE_TIFF=yes 7412 HAVE_TIFF=yes
7419 fi 7413 fi
7420 7414
7432 7426
7433 ### Use -lgif if available, unless `--with-gif=no'. 7427 ### Use -lgif if available, unless `--with-gif=no'.
7434 HAVE_GIF=no 7428 HAVE_GIF=no
7435 if test "${HAVE_X11}" = "yes"; then 7429 if test "${HAVE_X11}" = "yes"; then
7436 if test "${with_gif}" != "no"; then 7430 if test "${with_gif}" != "no"; then
7437 echo "$as_me:7437: checking for gif_lib.h" >&5 7431 echo "$as_me:7431: checking for gif_lib.h" >&5
7438 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7432 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7439 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7433 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6 7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 else 7435 else
7442 cat >conftest.$ac_ext <<_ACEOF 7436 cat >conftest.$ac_ext <<_ACEOF
7443 #line 7443 "configure" 7437 #line 7437 "configure"
7444 #include "confdefs.h" 7438 #include "confdefs.h"
7445 #include <gif_lib.h> 7439 #include <gif_lib.h>
7446 _ACEOF 7440 _ACEOF
7447 if { (eval echo "$as_me:7447: \"$ac_cpp conftest.$ac_ext\"") >&5 7441 if { (eval echo "$as_me:7441: \"$ac_cpp conftest.$ac_ext\"") >&5
7448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7449 ac_status=$? 7443 ac_status=$?
7450 egrep -v '^ *\+' conftest.er1 >conftest.err 7444 egrep -v '^ *\+' conftest.er1 >conftest.err
7451 rm -f conftest.er1 7445 rm -f conftest.er1
7452 cat conftest.err >&5 7446 cat conftest.err >&5
7453 echo "$as_me:7453: \$? = $ac_status" >&5 7447 echo "$as_me:7447: \$? = $ac_status" >&5
7454 (exit $ac_status); } >/dev/null; then 7448 (exit $ac_status); } >/dev/null; then
7455 if test -s conftest.err; then 7449 if test -s conftest.err; then
7456 ac_cpp_err=$ac_c_preproc_warn_flag 7450 ac_cpp_err=$ac_c_preproc_warn_flag
7457 else 7451 else
7458 ac_cpp_err= 7452 ac_cpp_err=
7467 cat conftest.$ac_ext >&5 7461 cat conftest.$ac_ext >&5
7468 ac_cv_header_gif_lib_h=no 7462 ac_cv_header_gif_lib_h=no
7469 fi 7463 fi
7470 rm -f conftest.err conftest.$ac_ext 7464 rm -f conftest.err conftest.$ac_ext
7471 fi 7465 fi
7472 echo "$as_me:7472: result: $ac_cv_header_gif_lib_h" >&5 7466 echo "$as_me:7466: result: $ac_cv_header_gif_lib_h" >&5
7473 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7467 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7474 if test $ac_cv_header_gif_lib_h = yes; then 7468 if test $ac_cv_header_gif_lib_h = yes; then
7475 echo "$as_me:7475: checking for DGifOpen in -lungif" >&5 7469 echo "$as_me:7469: checking for DGifOpen in -lungif" >&5
7476 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6 7470 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7477 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then 7471 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6 7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 else 7473 else
7480 ac_check_lib_save_LIBS=$LIBS 7474 ac_check_lib_save_LIBS=$LIBS
7481 LIBS="-lungif $LIBS" 7475 LIBS="-lungif $LIBS"
7482 cat >conftest.$ac_ext <<_ACEOF 7476 cat >conftest.$ac_ext <<_ACEOF
7483 #line 7483 "configure" 7477 #line 7477 "configure"
7484 #include "confdefs.h" 7478 #include "confdefs.h"
7485 7479
7486 /* Override any gcc2 internal prototype to avoid an error. */ 7480 /* Override any gcc2 internal prototype to avoid an error. */
7487 #ifdef __cplusplus 7481 #ifdef __cplusplus
7488 extern "C" 7482 extern "C"
7497 ; 7491 ;
7498 return 0; 7492 return 0;
7499 } 7493 }
7500 _ACEOF 7494 _ACEOF
7501 rm -f conftest.$ac_objext conftest$ac_exeext 7495 rm -f conftest.$ac_objext conftest$ac_exeext
7502 if { (eval echo "$as_me:7502: \"$ac_link\"") >&5 7496 if { (eval echo "$as_me:7496: \"$ac_link\"") >&5
7503 (eval $ac_link) 2>&5 7497 (eval $ac_link) 2>&5
7504 ac_status=$? 7498 ac_status=$?
7505 echo "$as_me:7505: \$? = $ac_status" >&5 7499 echo "$as_me:7499: \$? = $ac_status" >&5
7506 (exit $ac_status); } && 7500 (exit $ac_status); } &&
7507 { ac_try='test -s conftest$ac_exeext' 7501 { ac_try='test -s conftest$ac_exeext'
7508 { (eval echo "$as_me:7508: \"$ac_try\"") >&5 7502 { (eval echo "$as_me:7502: \"$ac_try\"") >&5
7509 (eval $ac_try) 2>&5 7503 (eval $ac_try) 2>&5
7510 ac_status=$? 7504 ac_status=$?
7511 echo "$as_me:7511: \$? = $ac_status" >&5 7505 echo "$as_me:7505: \$? = $ac_status" >&5
7512 (exit $ac_status); }; }; then 7506 (exit $ac_status); }; }; then
7513 ac_cv_lib_ungif_DGifOpen=yes 7507 ac_cv_lib_ungif_DGifOpen=yes
7514 else 7508 else
7515 echo "$as_me: failed program was:" >&5 7509 echo "$as_me: failed program was:" >&5
7516 cat conftest.$ac_ext >&5 7510 cat conftest.$ac_ext >&5
7517 ac_cv_lib_ungif_DGifOpen=no 7511 ac_cv_lib_ungif_DGifOpen=no
7518 fi 7512 fi
7519 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7520 LIBS=$ac_check_lib_save_LIBS 7514 LIBS=$ac_check_lib_save_LIBS
7521 fi 7515 fi
7522 echo "$as_me:7522: result: $ac_cv_lib_ungif_DGifOpen" >&5 7516 echo "$as_me:7516: result: $ac_cv_lib_ungif_DGifOpen" >&5
7523 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6 7517 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7524 if test $ac_cv_lib_ungif_DGifOpen = yes; then 7518 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7525 HAVE_GIF=yes 7519 HAVE_GIF=yes
7526 fi 7520 fi
7527 7521
7536 7530
7537 fi 7531 fi
7538 fi 7532 fi
7539 7533
7540 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7534 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7541 echo "$as_me:7541: checking whether netdb declares h_errno" >&5 7535 echo "$as_me:7535: checking whether netdb declares h_errno" >&5
7542 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7536 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7543 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7537 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7544 echo $ECHO_N "(cached) $ECHO_C" >&6 7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7545 else 7539 else
7546 cat >conftest.$ac_ext <<_ACEOF 7540 cat >conftest.$ac_ext <<_ACEOF
7547 #line 7547 "configure" 7541 #line 7541 "configure"
7548 #include "confdefs.h" 7542 #include "confdefs.h"
7549 #include <netdb.h> 7543 #include <netdb.h>
7550 int 7544 int
7551 main () 7545 main ()
7552 { 7546 {
7554 ; 7548 ;
7555 return 0; 7549 return 0;
7556 } 7550 }
7557 _ACEOF 7551 _ACEOF
7558 rm -f conftest.$ac_objext conftest$ac_exeext 7552 rm -f conftest.$ac_objext conftest$ac_exeext
7559 if { (eval echo "$as_me:7559: \"$ac_link\"") >&5 7553 if { (eval echo "$as_me:7553: \"$ac_link\"") >&5
7560 (eval $ac_link) 2>&5 7554 (eval $ac_link) 2>&5
7561 ac_status=$? 7555 ac_status=$?
7562 echo "$as_me:7562: \$? = $ac_status" >&5 7556 echo "$as_me:7556: \$? = $ac_status" >&5
7563 (exit $ac_status); } && 7557 (exit $ac_status); } &&
7564 { ac_try='test -s conftest$ac_exeext' 7558 { ac_try='test -s conftest$ac_exeext'
7565 { (eval echo "$as_me:7565: \"$ac_try\"") >&5 7559 { (eval echo "$as_me:7559: \"$ac_try\"") >&5
7566 (eval $ac_try) 2>&5 7560 (eval $ac_try) 2>&5
7567 ac_status=$? 7561 ac_status=$?
7568 echo "$as_me:7568: \$? = $ac_status" >&5 7562 echo "$as_me:7562: \$? = $ac_status" >&5
7569 (exit $ac_status); }; }; then 7563 (exit $ac_status); }; }; then
7570 emacs_cv_netdb_declares_h_errno=yes 7564 emacs_cv_netdb_declares_h_errno=yes
7571 else 7565 else
7572 echo "$as_me: failed program was:" >&5 7566 echo "$as_me: failed program was:" >&5
7573 cat conftest.$ac_ext >&5 7567 cat conftest.$ac_ext >&5
7574 emacs_cv_netdb_declares_h_errno=no 7568 emacs_cv_netdb_declares_h_errno=no
7575 fi 7569 fi
7576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7577 fi 7571 fi
7578 echo "$as_me:7578: result: $emacs_cv_netdb_declares_h_errno" >&5 7572 echo "$as_me:7572: result: $emacs_cv_netdb_declares_h_errno" >&5
7579 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7573 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7580 if test $emacs_cv_netdb_declares_h_errno = yes; then 7574 if test $emacs_cv_netdb_declares_h_errno = yes; then
7581 cat >>confdefs.h <<\EOF 7575 cat >>confdefs.h <<\EOF
7582 #define HAVE_H_ERRNO 1 7576 #define HAVE_H_ERRNO 1
7583 EOF 7577 EOF
7584 7578
7585 fi 7579 fi
7586 7580
7587 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7581 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7588 # for constant arguments. Useless! 7582 # for constant arguments. Useless!
7589 echo "$as_me:7589: checking for working alloca.h" >&5 7583 echo "$as_me:7583: checking for working alloca.h" >&5
7590 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7584 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7591 if test "${ac_cv_working_alloca_h+set}" = set; then 7585 if test "${ac_cv_working_alloca_h+set}" = set; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6 7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7593 else 7587 else
7594 cat >conftest.$ac_ext <<_ACEOF 7588 cat >conftest.$ac_ext <<_ACEOF
7595 #line 7595 "configure" 7589 #line 7589 "configure"
7596 #include "confdefs.h" 7590 #include "confdefs.h"
7597 #include <alloca.h> 7591 #include <alloca.h>
7598 int 7592 int
7599 main () 7593 main ()
7600 { 7594 {
7602 ; 7596 ;
7603 return 0; 7597 return 0;
7604 } 7598 }
7605 _ACEOF 7599 _ACEOF
7606 rm -f conftest.$ac_objext conftest$ac_exeext 7600 rm -f conftest.$ac_objext conftest$ac_exeext
7607 if { (eval echo "$as_me:7607: \"$ac_link\"") >&5 7601 if { (eval echo "$as_me:7601: \"$ac_link\"") >&5
7608 (eval $ac_link) 2>&5 7602 (eval $ac_link) 2>&5
7609 ac_status=$? 7603 ac_status=$?
7610 echo "$as_me:7610: \$? = $ac_status" >&5 7604 echo "$as_me:7604: \$? = $ac_status" >&5
7611 (exit $ac_status); } && 7605 (exit $ac_status); } &&
7612 { ac_try='test -s conftest$ac_exeext' 7606 { ac_try='test -s conftest$ac_exeext'
7613 { (eval echo "$as_me:7613: \"$ac_try\"") >&5 7607 { (eval echo "$as_me:7607: \"$ac_try\"") >&5
7614 (eval $ac_try) 2>&5 7608 (eval $ac_try) 2>&5
7615 ac_status=$? 7609 ac_status=$?
7616 echo "$as_me:7616: \$? = $ac_status" >&5 7610 echo "$as_me:7610: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then 7611 (exit $ac_status); }; }; then
7618 ac_cv_working_alloca_h=yes 7612 ac_cv_working_alloca_h=yes
7619 else 7613 else
7620 echo "$as_me: failed program was:" >&5 7614 echo "$as_me: failed program was:" >&5
7621 cat conftest.$ac_ext >&5 7615 cat conftest.$ac_ext >&5
7622 ac_cv_working_alloca_h=no 7616 ac_cv_working_alloca_h=no
7623 fi 7617 fi
7624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7625 fi 7619 fi
7626 echo "$as_me:7626: result: $ac_cv_working_alloca_h" >&5 7620 echo "$as_me:7620: result: $ac_cv_working_alloca_h" >&5
7627 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7621 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7628 if test $ac_cv_working_alloca_h = yes; then 7622 if test $ac_cv_working_alloca_h = yes; then
7629 7623
7630 cat >>confdefs.h <<\EOF 7624 cat >>confdefs.h <<\EOF
7631 #define HAVE_ALLOCA_H 1 7625 #define HAVE_ALLOCA_H 1
7632 EOF 7626 EOF
7633 7627
7634 fi 7628 fi
7635 7629
7636 echo "$as_me:7636: checking for alloca" >&5 7630 echo "$as_me:7630: checking for alloca" >&5
7637 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7631 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7638 if test "${ac_cv_func_alloca_works+set}" = set; then 7632 if test "${ac_cv_func_alloca_works+set}" = set; then
7639 echo $ECHO_N "(cached) $ECHO_C" >&6 7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 else 7634 else
7641 cat >conftest.$ac_ext <<_ACEOF 7635 cat >conftest.$ac_ext <<_ACEOF
7642 #line 7642 "configure" 7636 #line 7636 "configure"
7643 #include "confdefs.h" 7637 #include "confdefs.h"
7644 #ifdef __GNUC__ 7638 #ifdef __GNUC__
7645 # define alloca __builtin_alloca 7639 # define alloca __builtin_alloca
7646 #else 7640 #else
7647 # ifdef _MSC_VER 7641 # ifdef _MSC_VER
7669 ; 7663 ;
7670 return 0; 7664 return 0;
7671 } 7665 }
7672 _ACEOF 7666 _ACEOF
7673 rm -f conftest.$ac_objext conftest$ac_exeext 7667 rm -f conftest.$ac_objext conftest$ac_exeext
7674 if { (eval echo "$as_me:7674: \"$ac_link\"") >&5 7668 if { (eval echo "$as_me:7668: \"$ac_link\"") >&5
7675 (eval $ac_link) 2>&5 7669 (eval $ac_link) 2>&5
7676 ac_status=$? 7670 ac_status=$?
7677 echo "$as_me:7677: \$? = $ac_status" >&5 7671 echo "$as_me:7671: \$? = $ac_status" >&5
7678 (exit $ac_status); } && 7672 (exit $ac_status); } &&
7679 { ac_try='test -s conftest$ac_exeext' 7673 { ac_try='test -s conftest$ac_exeext'
7680 { (eval echo "$as_me:7680: \"$ac_try\"") >&5 7674 { (eval echo "$as_me:7674: \"$ac_try\"") >&5
7681 (eval $ac_try) 2>&5 7675 (eval $ac_try) 2>&5
7682 ac_status=$? 7676 ac_status=$?
7683 echo "$as_me:7683: \$? = $ac_status" >&5 7677 echo "$as_me:7677: \$? = $ac_status" >&5
7684 (exit $ac_status); }; }; then 7678 (exit $ac_status); }; }; then
7685 ac_cv_func_alloca_works=yes 7679 ac_cv_func_alloca_works=yes
7686 else 7680 else
7687 echo "$as_me: failed program was:" >&5 7681 echo "$as_me: failed program was:" >&5
7688 cat conftest.$ac_ext >&5 7682 cat conftest.$ac_ext >&5
7689 ac_cv_func_alloca_works=no 7683 ac_cv_func_alloca_works=no
7690 fi 7684 fi
7691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7692 fi 7686 fi
7693 echo "$as_me:7693: result: $ac_cv_func_alloca_works" >&5 7687 echo "$as_me:7687: result: $ac_cv_func_alloca_works" >&5
7694 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7688 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7695 7689
7696 if test $ac_cv_func_alloca_works = yes; then 7690 if test $ac_cv_func_alloca_works = yes; then
7697 7691
7698 cat >>confdefs.h <<\EOF 7692 cat >>confdefs.h <<\EOF
7709 7703
7710 cat >>confdefs.h <<\EOF 7704 cat >>confdefs.h <<\EOF
7711 #define C_ALLOCA 1 7705 #define C_ALLOCA 1
7712 EOF 7706 EOF
7713 7707
7714 echo "$as_me:7714: checking whether \`alloca.c' needs Cray hooks" >&5 7708 echo "$as_me:7708: checking whether \`alloca.c' needs Cray hooks" >&5
7715 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7709 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7716 if test "${ac_cv_os_cray+set}" = set; then 7710 if test "${ac_cv_os_cray+set}" = set; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6 7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 else 7712 else
7719 cat >conftest.$ac_ext <<_ACEOF 7713 cat >conftest.$ac_ext <<_ACEOF
7720 #line 7720 "configure" 7714 #line 7714 "configure"
7721 #include "confdefs.h" 7715 #include "confdefs.h"
7722 #if defined(CRAY) && ! defined(CRAY2) 7716 #if defined(CRAY) && ! defined(CRAY2)
7723 webecray 7717 webecray
7724 #else 7718 #else
7725 wenotbecray 7719 wenotbecray
7733 ac_cv_os_cray=no 7727 ac_cv_os_cray=no
7734 fi 7728 fi
7735 rm -f conftest* 7729 rm -f conftest*
7736 7730
7737 fi 7731 fi
7738 echo "$as_me:7738: result: $ac_cv_os_cray" >&5 7732 echo "$as_me:7732: result: $ac_cv_os_cray" >&5
7739 echo "${ECHO_T}$ac_cv_os_cray" >&6 7733 echo "${ECHO_T}$ac_cv_os_cray" >&6
7740 if test $ac_cv_os_cray = yes; then 7734 if test $ac_cv_os_cray = yes; then
7741 for ac_func in _getb67 GETB67 getb67; do 7735 for ac_func in _getb67 GETB67 getb67; do
7742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7743 echo "$as_me:7743: checking for $ac_func" >&5 7737 echo "$as_me:7737: checking for $ac_func" >&5
7744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7745 if eval "test \"\${$as_ac_var+set}\" = set"; then 7739 if eval "test \"\${$as_ac_var+set}\" = set"; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6 7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7747 else 7741 else
7748 cat >conftest.$ac_ext <<_ACEOF 7742 cat >conftest.$ac_ext <<_ACEOF
7749 #line 7749 "configure" 7743 #line 7743 "configure"
7750 #include "confdefs.h" 7744 #include "confdefs.h"
7751 /* System header to define __stub macros and hopefully few prototypes, 7745 /* System header to define __stub macros and hopefully few prototypes,
7752 which can conflict with char $ac_func (); below. */ 7746 which can conflict with char $ac_func (); below. */
7753 #include <assert.h> 7747 #include <assert.h>
7754 /* Override any gcc2 internal prototype to avoid an error. */ 7748 /* Override any gcc2 internal prototype to avoid an error. */
7775 ; 7769 ;
7776 return 0; 7770 return 0;
7777 } 7771 }
7778 _ACEOF 7772 _ACEOF
7779 rm -f conftest.$ac_objext conftest$ac_exeext 7773 rm -f conftest.$ac_objext conftest$ac_exeext
7780 if { (eval echo "$as_me:7780: \"$ac_link\"") >&5 7774 if { (eval echo "$as_me:7774: \"$ac_link\"") >&5
7781 (eval $ac_link) 2>&5 7775 (eval $ac_link) 2>&5
7782 ac_status=$? 7776 ac_status=$?
7783 echo "$as_me:7783: \$? = $ac_status" >&5 7777 echo "$as_me:7777: \$? = $ac_status" >&5
7784 (exit $ac_status); } && 7778 (exit $ac_status); } &&
7785 { ac_try='test -s conftest$ac_exeext' 7779 { ac_try='test -s conftest$ac_exeext'
7786 { (eval echo "$as_me:7786: \"$ac_try\"") >&5 7780 { (eval echo "$as_me:7780: \"$ac_try\"") >&5
7787 (eval $ac_try) 2>&5 7781 (eval $ac_try) 2>&5
7788 ac_status=$? 7782 ac_status=$?
7789 echo "$as_me:7789: \$? = $ac_status" >&5 7783 echo "$as_me:7783: \$? = $ac_status" >&5
7790 (exit $ac_status); }; }; then 7784 (exit $ac_status); }; }; then
7791 eval "$as_ac_var=yes" 7785 eval "$as_ac_var=yes"
7792 else 7786 else
7793 echo "$as_me: failed program was:" >&5 7787 echo "$as_me: failed program was:" >&5
7794 cat conftest.$ac_ext >&5 7788 cat conftest.$ac_ext >&5
7795 eval "$as_ac_var=no" 7789 eval "$as_ac_var=no"
7796 fi 7790 fi
7797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7798 fi 7792 fi
7799 echo "$as_me:7799: result: `eval echo '${'$as_ac_var'}'`" >&5 7793 echo "$as_me:7793: result: `eval echo '${'$as_ac_var'}'`" >&5
7800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7801 if test `eval echo '${'$as_ac_var'}'` = yes; then 7795 if test `eval echo '${'$as_ac_var'}'` = yes; then
7802 7796
7803 cat >>confdefs.h <<EOF 7797 cat >>confdefs.h <<EOF
7804 #define CRAY_STACKSEG_END $ac_func 7798 #define CRAY_STACKSEG_END $ac_func
7808 fi 7802 fi
7809 7803
7810 done 7804 done
7811 fi 7805 fi
7812 7806
7813 echo "$as_me:7813: checking stack direction for C alloca" >&5 7807 echo "$as_me:7807: checking stack direction for C alloca" >&5
7814 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7808 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7815 if test "${ac_cv_c_stack_direction+set}" = set; then 7809 if test "${ac_cv_c_stack_direction+set}" = set; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6 7810 echo $ECHO_N "(cached) $ECHO_C" >&6
7817 else 7811 else
7818 if test "$cross_compiling" = yes; then 7812 if test "$cross_compiling" = yes; then
7819 ac_cv_c_stack_direction=0 7813 ac_cv_c_stack_direction=0
7820 else 7814 else
7821 cat >conftest.$ac_ext <<_ACEOF 7815 cat >conftest.$ac_ext <<_ACEOF
7822 #line 7822 "configure" 7816 #line 7816 "configure"
7823 #include "confdefs.h" 7817 #include "confdefs.h"
7824 int 7818 int
7825 find_stack_direction () 7819 find_stack_direction ()
7826 { 7820 {
7827 static char *addr = 0; 7821 static char *addr = 0;
7840 { 7834 {
7841 exit (find_stack_direction () < 0); 7835 exit (find_stack_direction () < 0);
7842 } 7836 }
7843 _ACEOF 7837 _ACEOF
7844 rm -f conftest$ac_exeext 7838 rm -f conftest$ac_exeext
7845 if { (eval echo "$as_me:7845: \"$ac_link\"") >&5 7839 if { (eval echo "$as_me:7839: \"$ac_link\"") >&5
7846 (eval $ac_link) 2>&5 7840 (eval $ac_link) 2>&5
7847 ac_status=$? 7841 ac_status=$?
7848 echo "$as_me:7848: \$? = $ac_status" >&5 7842 echo "$as_me:7842: \$? = $ac_status" >&5
7849 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7850 { (eval echo "$as_me:7850: \"$ac_try\"") >&5 7844 { (eval echo "$as_me:7844: \"$ac_try\"") >&5
7851 (eval $ac_try) 2>&5 7845 (eval $ac_try) 2>&5
7852 ac_status=$? 7846 ac_status=$?
7853 echo "$as_me:7853: \$? = $ac_status" >&5 7847 echo "$as_me:7847: \$? = $ac_status" >&5
7854 (exit $ac_status); }; }; then 7848 (exit $ac_status); }; }; then
7855 ac_cv_c_stack_direction=1 7849 ac_cv_c_stack_direction=1
7856 else 7850 else
7857 echo "$as_me: program exited with status $ac_status" >&5 7851 echo "$as_me: program exited with status $ac_status" >&5
7858 echo "$as_me: failed program was:" >&5 7852 echo "$as_me: failed program was:" >&5
7860 ac_cv_c_stack_direction=-1 7854 ac_cv_c_stack_direction=-1
7861 fi 7855 fi
7862 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7856 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7863 fi 7857 fi
7864 fi 7858 fi
7865 echo "$as_me:7865: result: $ac_cv_c_stack_direction" >&5 7859 echo "$as_me:7859: result: $ac_cv_c_stack_direction" >&5
7866 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7860 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7867 7861
7868 cat >>confdefs.h <<EOF 7862 cat >>confdefs.h <<EOF
7869 #define STACK_DIRECTION $ac_cv_c_stack_direction 7863 #define STACK_DIRECTION $ac_cv_c_stack_direction
7870 EOF 7864 EOF
7872 fi 7866 fi
7873 7867
7874 # fmod, logb, and frexp are found in -lm on most systems. 7868 # fmod, logb, and frexp are found in -lm on most systems.
7875 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 7869 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
7876 7870
7877 echo "$as_me:7877: checking for sqrt in -lm" >&5 7871 echo "$as_me:7871: checking for sqrt in -lm" >&5
7878 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 7872 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7879 if test "${ac_cv_lib_m_sqrt+set}" = set; then 7873 if test "${ac_cv_lib_m_sqrt+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6 7874 echo $ECHO_N "(cached) $ECHO_C" >&6
7881 else 7875 else
7882 ac_check_lib_save_LIBS=$LIBS 7876 ac_check_lib_save_LIBS=$LIBS
7883 LIBS="-lm $LIBS" 7877 LIBS="-lm $LIBS"
7884 cat >conftest.$ac_ext <<_ACEOF 7878 cat >conftest.$ac_ext <<_ACEOF
7885 #line 7885 "configure" 7879 #line 7879 "configure"
7886 #include "confdefs.h" 7880 #include "confdefs.h"
7887 7881
7888 /* Override any gcc2 internal prototype to avoid an error. */ 7882 /* Override any gcc2 internal prototype to avoid an error. */
7889 #ifdef __cplusplus 7883 #ifdef __cplusplus
7890 extern "C" 7884 extern "C"
7899 ; 7893 ;
7900 return 0; 7894 return 0;
7901 } 7895 }
7902 _ACEOF 7896 _ACEOF
7903 rm -f conftest.$ac_objext conftest$ac_exeext 7897 rm -f conftest.$ac_objext conftest$ac_exeext
7904 if { (eval echo "$as_me:7904: \"$ac_link\"") >&5 7898 if { (eval echo "$as_me:7898: \"$ac_link\"") >&5
7905 (eval $ac_link) 2>&5 7899 (eval $ac_link) 2>&5
7906 ac_status=$? 7900 ac_status=$?
7907 echo "$as_me:7907: \$? = $ac_status" >&5 7901 echo "$as_me:7901: \$? = $ac_status" >&5
7908 (exit $ac_status); } && 7902 (exit $ac_status); } &&
7909 { ac_try='test -s conftest$ac_exeext' 7903 { ac_try='test -s conftest$ac_exeext'
7910 { (eval echo "$as_me:7910: \"$ac_try\"") >&5 7904 { (eval echo "$as_me:7904: \"$ac_try\"") >&5
7911 (eval $ac_try) 2>&5 7905 (eval $ac_try) 2>&5
7912 ac_status=$? 7906 ac_status=$?
7913 echo "$as_me:7913: \$? = $ac_status" >&5 7907 echo "$as_me:7907: \$? = $ac_status" >&5
7914 (exit $ac_status); }; }; then 7908 (exit $ac_status); }; }; then
7915 ac_cv_lib_m_sqrt=yes 7909 ac_cv_lib_m_sqrt=yes
7916 else 7910 else
7917 echo "$as_me: failed program was:" >&5 7911 echo "$as_me: failed program was:" >&5
7918 cat conftest.$ac_ext >&5 7912 cat conftest.$ac_ext >&5
7919 ac_cv_lib_m_sqrt=no 7913 ac_cv_lib_m_sqrt=no
7920 fi 7914 fi
7921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7922 LIBS=$ac_check_lib_save_LIBS 7916 LIBS=$ac_check_lib_save_LIBS
7923 fi 7917 fi
7924 echo "$as_me:7924: result: $ac_cv_lib_m_sqrt" >&5 7918 echo "$as_me:7918: result: $ac_cv_lib_m_sqrt" >&5
7925 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 7919 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7926 if test $ac_cv_lib_m_sqrt = yes; then 7920 if test $ac_cv_lib_m_sqrt = yes; then
7927 cat >>confdefs.h <<EOF 7921 cat >>confdefs.h <<EOF
7928 #define HAVE_LIBM 1 7922 #define HAVE_LIBM 1
7929 EOF 7923 EOF
7932 7926
7933 fi 7927 fi
7934 7928
7935 # Check for mail-locking functions in a "mail" library 7929 # Check for mail-locking functions in a "mail" library
7936 7930
7937 echo "$as_me:7937: checking for maillock in -lmail" >&5 7931 echo "$as_me:7931: checking for maillock in -lmail" >&5
7938 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 7932 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7939 if test "${ac_cv_lib_mail_maillock+set}" = set; then 7933 if test "${ac_cv_lib_mail_maillock+set}" = set; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6 7934 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 else 7935 else
7942 ac_check_lib_save_LIBS=$LIBS 7936 ac_check_lib_save_LIBS=$LIBS
7943 LIBS="-lmail $LIBS" 7937 LIBS="-lmail $LIBS"
7944 cat >conftest.$ac_ext <<_ACEOF 7938 cat >conftest.$ac_ext <<_ACEOF
7945 #line 7945 "configure" 7939 #line 7939 "configure"
7946 #include "confdefs.h" 7940 #include "confdefs.h"
7947 7941
7948 /* Override any gcc2 internal prototype to avoid an error. */ 7942 /* Override any gcc2 internal prototype to avoid an error. */
7949 #ifdef __cplusplus 7943 #ifdef __cplusplus
7950 extern "C" 7944 extern "C"
7959 ; 7953 ;
7960 return 0; 7954 return 0;
7961 } 7955 }
7962 _ACEOF 7956 _ACEOF
7963 rm -f conftest.$ac_objext conftest$ac_exeext 7957 rm -f conftest.$ac_objext conftest$ac_exeext
7964 if { (eval echo "$as_me:7964: \"$ac_link\"") >&5 7958 if { (eval echo "$as_me:7958: \"$ac_link\"") >&5
7965 (eval $ac_link) 2>&5 7959 (eval $ac_link) 2>&5
7966 ac_status=$? 7960 ac_status=$?
7967 echo "$as_me:7967: \$? = $ac_status" >&5 7961 echo "$as_me:7961: \$? = $ac_status" >&5
7968 (exit $ac_status); } && 7962 (exit $ac_status); } &&
7969 { ac_try='test -s conftest$ac_exeext' 7963 { ac_try='test -s conftest$ac_exeext'
7970 { (eval echo "$as_me:7970: \"$ac_try\"") >&5 7964 { (eval echo "$as_me:7964: \"$ac_try\"") >&5
7971 (eval $ac_try) 2>&5 7965 (eval $ac_try) 2>&5
7972 ac_status=$? 7966 ac_status=$?
7973 echo "$as_me:7973: \$? = $ac_status" >&5 7967 echo "$as_me:7967: \$? = $ac_status" >&5
7974 (exit $ac_status); }; }; then 7968 (exit $ac_status); }; }; then
7975 ac_cv_lib_mail_maillock=yes 7969 ac_cv_lib_mail_maillock=yes
7976 else 7970 else
7977 echo "$as_me: failed program was:" >&5 7971 echo "$as_me: failed program was:" >&5
7978 cat conftest.$ac_ext >&5 7972 cat conftest.$ac_ext >&5
7979 ac_cv_lib_mail_maillock=no 7973 ac_cv_lib_mail_maillock=no
7980 fi 7974 fi
7981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7982 LIBS=$ac_check_lib_save_LIBS 7976 LIBS=$ac_check_lib_save_LIBS
7983 fi 7977 fi
7984 echo "$as_me:7984: result: $ac_cv_lib_mail_maillock" >&5 7978 echo "$as_me:7978: result: $ac_cv_lib_mail_maillock" >&5
7985 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 7979 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7986 if test $ac_cv_lib_mail_maillock = yes; then 7980 if test $ac_cv_lib_mail_maillock = yes; then
7987 cat >>confdefs.h <<EOF 7981 cat >>confdefs.h <<EOF
7988 #define HAVE_LIBMAIL 1 7982 #define HAVE_LIBMAIL 1
7989 EOF 7983 EOF
7990 7984
7991 LIBS="-lmail $LIBS" 7985 LIBS="-lmail $LIBS"
7992 7986
7993 fi 7987 fi
7994 7988
7995 echo "$as_me:7995: checking for maillock in -llockfile" >&5 7989 echo "$as_me:7989: checking for maillock in -llockfile" >&5
7996 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 7990 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7997 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 7991 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
7998 echo $ECHO_N "(cached) $ECHO_C" >&6 7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7999 else 7993 else
8000 ac_check_lib_save_LIBS=$LIBS 7994 ac_check_lib_save_LIBS=$LIBS
8001 LIBS="-llockfile $LIBS" 7995 LIBS="-llockfile $LIBS"
8002 cat >conftest.$ac_ext <<_ACEOF 7996 cat >conftest.$ac_ext <<_ACEOF
8003 #line 8003 "configure" 7997 #line 7997 "configure"
8004 #include "confdefs.h" 7998 #include "confdefs.h"
8005 7999
8006 /* Override any gcc2 internal prototype to avoid an error. */ 8000 /* Override any gcc2 internal prototype to avoid an error. */
8007 #ifdef __cplusplus 8001 #ifdef __cplusplus
8008 extern "C" 8002 extern "C"
8017 ; 8011 ;
8018 return 0; 8012 return 0;
8019 } 8013 }
8020 _ACEOF 8014 _ACEOF
8021 rm -f conftest.$ac_objext conftest$ac_exeext 8015 rm -f conftest.$ac_objext conftest$ac_exeext
8022 if { (eval echo "$as_me:8022: \"$ac_link\"") >&5 8016 if { (eval echo "$as_me:8016: \"$ac_link\"") >&5
8023 (eval $ac_link) 2>&5 8017 (eval $ac_link) 2>&5
8024 ac_status=$? 8018 ac_status=$?
8025 echo "$as_me:8025: \$? = $ac_status" >&5 8019 echo "$as_me:8019: \$? = $ac_status" >&5
8026 (exit $ac_status); } && 8020 (exit $ac_status); } &&
8027 { ac_try='test -s conftest$ac_exeext' 8021 { ac_try='test -s conftest$ac_exeext'
8028 { (eval echo "$as_me:8028: \"$ac_try\"") >&5 8022 { (eval echo "$as_me:8022: \"$ac_try\"") >&5
8029 (eval $ac_try) 2>&5 8023 (eval $ac_try) 2>&5
8030 ac_status=$? 8024 ac_status=$?
8031 echo "$as_me:8031: \$? = $ac_status" >&5 8025 echo "$as_me:8025: \$? = $ac_status" >&5
8032 (exit $ac_status); }; }; then 8026 (exit $ac_status); }; }; then
8033 ac_cv_lib_lockfile_maillock=yes 8027 ac_cv_lib_lockfile_maillock=yes
8034 else 8028 else
8035 echo "$as_me: failed program was:" >&5 8029 echo "$as_me: failed program was:" >&5
8036 cat conftest.$ac_ext >&5 8030 cat conftest.$ac_ext >&5
8037 ac_cv_lib_lockfile_maillock=no 8031 ac_cv_lib_lockfile_maillock=no
8038 fi 8032 fi
8039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8040 LIBS=$ac_check_lib_save_LIBS 8034 LIBS=$ac_check_lib_save_LIBS
8041 fi 8035 fi
8042 echo "$as_me:8042: result: $ac_cv_lib_lockfile_maillock" >&5 8036 echo "$as_me:8036: result: $ac_cv_lib_lockfile_maillock" >&5
8043 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8037 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8044 if test $ac_cv_lib_lockfile_maillock = yes; then 8038 if test $ac_cv_lib_lockfile_maillock = yes; then
8045 cat >>confdefs.h <<EOF 8039 cat >>confdefs.h <<EOF
8046 #define HAVE_LIBLOCKFILE 1 8040 #define HAVE_LIBLOCKFILE 1
8047 EOF 8041 EOF
8054 # locking (e.g. Debian). If we couldn't link against liblockfile 8048 # locking (e.g. Debian). If we couldn't link against liblockfile
8055 # (no liblockfile.a installed), ensure that we don't need to. 8049 # (no liblockfile.a installed), ensure that we don't need to.
8056 if test "$ac_cv_lib_lockfile_maillock" = no; then 8050 if test "$ac_cv_lib_lockfile_maillock" = no; then
8057 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8051 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8058 set dummy liblockfile.so; ac_word=$2 8052 set dummy liblockfile.so; ac_word=$2
8059 echo "$as_me:8059: checking for $ac_word" >&5 8053 echo "$as_me:8053: checking for $ac_word" >&5
8060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8061 if test "${ac_cv_prog_liblockfile+set}" = set; then 8055 if test "${ac_cv_prog_liblockfile+set}" = set; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6 8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 else 8057 else
8064 if test -n "$liblockfile"; then 8058 if test -n "$liblockfile"; then
8069 for ac_dir in $ac_dummy; do 8063 for ac_dir in $ac_dummy; do
8070 IFS=$ac_save_IFS 8064 IFS=$ac_save_IFS
8071 test -z "$ac_dir" && ac_dir=. 8065 test -z "$ac_dir" && ac_dir=.
8072 $as_executable_p "$ac_dir/$ac_word" || continue 8066 $as_executable_p "$ac_dir/$ac_word" || continue
8073 ac_cv_prog_liblockfile="yes" 8067 ac_cv_prog_liblockfile="yes"
8074 echo "$as_me:8074: found $ac_dir/$ac_word" >&5 8068 echo "$as_me:8068: found $ac_dir/$ac_word" >&5
8075 break 8069 break
8076 done 8070 done
8077 8071
8078 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8072 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8079 fi 8073 fi
8080 fi 8074 fi
8081 liblockfile=$ac_cv_prog_liblockfile 8075 liblockfile=$ac_cv_prog_liblockfile
8082 if test -n "$liblockfile"; then 8076 if test -n "$liblockfile"; then
8083 echo "$as_me:8083: result: $liblockfile" >&5 8077 echo "$as_me:8077: result: $liblockfile" >&5
8084 echo "${ECHO_T}$liblockfile" >&6 8078 echo "${ECHO_T}$liblockfile" >&6
8085 else 8079 else
8086 echo "$as_me:8086: result: no" >&5 8080 echo "$as_me:8080: result: no" >&5
8087 echo "${ECHO_T}no" >&6 8081 echo "${ECHO_T}no" >&6
8088 fi 8082 fi
8089 8083
8090 if test $ac_cv_prog_liblockfile = yes; then 8084 if test $ac_cv_prog_liblockfile = yes; then
8091 { { echo "$as_me:8091: error: Shared liblockfile found but can't link against it. 8085 { { echo "$as_me:8085: error: Shared liblockfile found but can't link against it.
8092 This probably means that movemail could lose mail. 8086 This probably means that movemail could lose mail.
8093 There may be a \`development' package to install containing liblockfile." >&5 8087 There may be a \`development' package to install containing liblockfile." >&5
8094 echo "$as_me: error: Shared liblockfile found but can't link against it. 8088 echo "$as_me: error: Shared liblockfile found but can't link against it.
8095 This probably means that movemail could lose mail. 8089 This probably means that movemail could lose mail.
8096 There may be a \`development' package to install containing liblockfile." >&2;} 8090 There may be a \`development' package to install containing liblockfile." >&2;}
8104 fi 8098 fi
8105 8099
8106 for ac_func in touchlock 8100 for ac_func in touchlock
8107 do 8101 do
8108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8109 echo "$as_me:8109: checking for $ac_func" >&5 8103 echo "$as_me:8103: checking for $ac_func" >&5
8110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8111 if eval "test \"\${$as_ac_var+set}\" = set"; then 8105 if eval "test \"\${$as_ac_var+set}\" = set"; then
8112 echo $ECHO_N "(cached) $ECHO_C" >&6 8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8113 else 8107 else
8114 cat >conftest.$ac_ext <<_ACEOF 8108 cat >conftest.$ac_ext <<_ACEOF
8115 #line 8115 "configure" 8109 #line 8109 "configure"
8116 #include "confdefs.h" 8110 #include "confdefs.h"
8117 /* System header to define __stub macros and hopefully few prototypes, 8111 /* System header to define __stub macros and hopefully few prototypes,
8118 which can conflict with char $ac_func (); below. */ 8112 which can conflict with char $ac_func (); below. */
8119 #include <assert.h> 8113 #include <assert.h>
8120 /* Override any gcc2 internal prototype to avoid an error. */ 8114 /* Override any gcc2 internal prototype to avoid an error. */
8141 ; 8135 ;
8142 return 0; 8136 return 0;
8143 } 8137 }
8144 _ACEOF 8138 _ACEOF
8145 rm -f conftest.$ac_objext conftest$ac_exeext 8139 rm -f conftest.$ac_objext conftest$ac_exeext
8146 if { (eval echo "$as_me:8146: \"$ac_link\"") >&5 8140 if { (eval echo "$as_me:8140: \"$ac_link\"") >&5
8147 (eval $ac_link) 2>&5 8141 (eval $ac_link) 2>&5
8148 ac_status=$? 8142 ac_status=$?
8149 echo "$as_me:8149: \$? = $ac_status" >&5 8143 echo "$as_me:8143: \$? = $ac_status" >&5
8150 (exit $ac_status); } && 8144 (exit $ac_status); } &&
8151 { ac_try='test -s conftest$ac_exeext' 8145 { ac_try='test -s conftest$ac_exeext'
8152 { (eval echo "$as_me:8152: \"$ac_try\"") >&5 8146 { (eval echo "$as_me:8146: \"$ac_try\"") >&5
8153 (eval $ac_try) 2>&5 8147 (eval $ac_try) 2>&5
8154 ac_status=$? 8148 ac_status=$?
8155 echo "$as_me:8155: \$? = $ac_status" >&5 8149 echo "$as_me:8149: \$? = $ac_status" >&5
8156 (exit $ac_status); }; }; then 8150 (exit $ac_status); }; }; then
8157 eval "$as_ac_var=yes" 8151 eval "$as_ac_var=yes"
8158 else 8152 else
8159 echo "$as_me: failed program was:" >&5 8153 echo "$as_me: failed program was:" >&5
8160 cat conftest.$ac_ext >&5 8154 cat conftest.$ac_ext >&5
8161 eval "$as_ac_var=no" 8155 eval "$as_ac_var=no"
8162 fi 8156 fi
8163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8164 fi 8158 fi
8165 echo "$as_me:8165: result: `eval echo '${'$as_ac_var'}'`" >&5 8159 echo "$as_me:8159: result: `eval echo '${'$as_ac_var'}'`" >&5
8166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8167 if test `eval echo '${'$as_ac_var'}'` = yes; then 8161 if test `eval echo '${'$as_ac_var'}'` = yes; then
8168 cat >>confdefs.h <<EOF 8162 cat >>confdefs.h <<EOF
8169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8170 EOF 8164 EOF
8173 done 8167 done
8174 8168
8175 for ac_header in maillock.h 8169 for ac_header in maillock.h
8176 do 8170 do
8177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8178 echo "$as_me:8178: checking for $ac_header" >&5 8172 echo "$as_me:8172: checking for $ac_header" >&5
8179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8180 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8181 echo $ECHO_N "(cached) $ECHO_C" >&6 8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8182 else 8176 else
8183 cat >conftest.$ac_ext <<_ACEOF 8177 cat >conftest.$ac_ext <<_ACEOF
8184 #line 8184 "configure" 8178 #line 8178 "configure"
8185 #include "confdefs.h" 8179 #include "confdefs.h"
8186 #include <$ac_header> 8180 #include <$ac_header>
8187 _ACEOF 8181 _ACEOF
8188 if { (eval echo "$as_me:8188: \"$ac_cpp conftest.$ac_ext\"") >&5 8182 if { (eval echo "$as_me:8182: \"$ac_cpp conftest.$ac_ext\"") >&5
8189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8190 ac_status=$? 8184 ac_status=$?
8191 egrep -v '^ *\+' conftest.er1 >conftest.err 8185 egrep -v '^ *\+' conftest.er1 >conftest.err
8192 rm -f conftest.er1 8186 rm -f conftest.er1
8193 cat conftest.err >&5 8187 cat conftest.err >&5
8194 echo "$as_me:8194: \$? = $ac_status" >&5 8188 echo "$as_me:8188: \$? = $ac_status" >&5
8195 (exit $ac_status); } >/dev/null; then 8189 (exit $ac_status); } >/dev/null; then
8196 if test -s conftest.err; then 8190 if test -s conftest.err; then
8197 ac_cpp_err=$ac_c_preproc_warn_flag 8191 ac_cpp_err=$ac_c_preproc_warn_flag
8198 else 8192 else
8199 ac_cpp_err= 8193 ac_cpp_err=
8208 cat conftest.$ac_ext >&5 8202 cat conftest.$ac_ext >&5
8209 eval "$as_ac_Header=no" 8203 eval "$as_ac_Header=no"
8210 fi 8204 fi
8211 rm -f conftest.err conftest.$ac_ext 8205 rm -f conftest.err conftest.$ac_ext
8212 fi 8206 fi
8213 echo "$as_me:8213: result: `eval echo '${'$as_ac_Header'}'`" >&5 8207 echo "$as_me:8207: result: `eval echo '${'$as_ac_Header'}'`" >&5
8214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8215 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8216 cat >>confdefs.h <<EOF 8210 cat >>confdefs.h <<EOF
8217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8218 EOF 8212 EOF
8227 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 8221 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8228 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \ 8222 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
8229 gai_strerror mkstemp 8223 gai_strerror mkstemp
8230 do 8224 do
8231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8232 echo "$as_me:8232: checking for $ac_func" >&5 8226 echo "$as_me:8226: checking for $ac_func" >&5
8233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8234 if eval "test \"\${$as_ac_var+set}\" = set"; then 8228 if eval "test \"\${$as_ac_var+set}\" = set"; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6 8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 else 8230 else
8237 cat >conftest.$ac_ext <<_ACEOF 8231 cat >conftest.$ac_ext <<_ACEOF
8238 #line 8238 "configure" 8232 #line 8232 "configure"
8239 #include "confdefs.h" 8233 #include "confdefs.h"
8240 /* System header to define __stub macros and hopefully few prototypes, 8234 /* System header to define __stub macros and hopefully few prototypes,
8241 which can conflict with char $ac_func (); below. */ 8235 which can conflict with char $ac_func (); below. */
8242 #include <assert.h> 8236 #include <assert.h>
8243 /* Override any gcc2 internal prototype to avoid an error. */ 8237 /* Override any gcc2 internal prototype to avoid an error. */
8264 ; 8258 ;
8265 return 0; 8259 return 0;
8266 } 8260 }
8267 _ACEOF 8261 _ACEOF
8268 rm -f conftest.$ac_objext conftest$ac_exeext 8262 rm -f conftest.$ac_objext conftest$ac_exeext
8269 if { (eval echo "$as_me:8269: \"$ac_link\"") >&5 8263 if { (eval echo "$as_me:8263: \"$ac_link\"") >&5
8270 (eval $ac_link) 2>&5 8264 (eval $ac_link) 2>&5
8271 ac_status=$? 8265 ac_status=$?
8272 echo "$as_me:8272: \$? = $ac_status" >&5 8266 echo "$as_me:8266: \$? = $ac_status" >&5
8273 (exit $ac_status); } && 8267 (exit $ac_status); } &&
8274 { ac_try='test -s conftest$ac_exeext' 8268 { ac_try='test -s conftest$ac_exeext'
8275 { (eval echo "$as_me:8275: \"$ac_try\"") >&5 8269 { (eval echo "$as_me:8269: \"$ac_try\"") >&5
8276 (eval $ac_try) 2>&5 8270 (eval $ac_try) 2>&5
8277 ac_status=$? 8271 ac_status=$?
8278 echo "$as_me:8278: \$? = $ac_status" >&5 8272 echo "$as_me:8272: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then 8273 (exit $ac_status); }; }; then
8280 eval "$as_ac_var=yes" 8274 eval "$as_ac_var=yes"
8281 else 8275 else
8282 echo "$as_me: failed program was:" >&5 8276 echo "$as_me: failed program was:" >&5
8283 cat conftest.$ac_ext >&5 8277 cat conftest.$ac_ext >&5
8284 eval "$as_ac_var=no" 8278 eval "$as_ac_var=no"
8285 fi 8279 fi
8286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8287 fi 8281 fi
8288 echo "$as_me:8288: result: `eval echo '${'$as_ac_var'}'`" >&5 8282 echo "$as_me:8282: result: `eval echo '${'$as_ac_var'}'`" >&5
8289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8290 if test `eval echo '${'$as_ac_var'}'` = yes; then 8284 if test `eval echo '${'$as_ac_var'}'` = yes; then
8291 cat >>confdefs.h <<EOF 8285 cat >>confdefs.h <<EOF
8292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8293 EOF 8287 EOF
8296 done 8290 done
8297 8291
8298 for ac_header in sys/time.h unistd.h 8292 for ac_header in sys/time.h unistd.h
8299 do 8293 do
8300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8301 echo "$as_me:8301: checking for $ac_header" >&5 8295 echo "$as_me:8295: checking for $ac_header" >&5
8302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8303 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8304 echo $ECHO_N "(cached) $ECHO_C" >&6 8298 echo $ECHO_N "(cached) $ECHO_C" >&6
8305 else 8299 else
8306 cat >conftest.$ac_ext <<_ACEOF 8300 cat >conftest.$ac_ext <<_ACEOF
8307 #line 8307 "configure" 8301 #line 8301 "configure"
8308 #include "confdefs.h" 8302 #include "confdefs.h"
8309 #include <$ac_header> 8303 #include <$ac_header>
8310 _ACEOF 8304 _ACEOF
8311 if { (eval echo "$as_me:8311: \"$ac_cpp conftest.$ac_ext\"") >&5 8305 if { (eval echo "$as_me:8305: \"$ac_cpp conftest.$ac_ext\"") >&5
8312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8313 ac_status=$? 8307 ac_status=$?
8314 egrep -v '^ *\+' conftest.er1 >conftest.err 8308 egrep -v '^ *\+' conftest.er1 >conftest.err
8315 rm -f conftest.er1 8309 rm -f conftest.er1
8316 cat conftest.err >&5 8310 cat conftest.err >&5
8317 echo "$as_me:8317: \$? = $ac_status" >&5 8311 echo "$as_me:8311: \$? = $ac_status" >&5
8318 (exit $ac_status); } >/dev/null; then 8312 (exit $ac_status); } >/dev/null; then
8319 if test -s conftest.err; then 8313 if test -s conftest.err; then
8320 ac_cpp_err=$ac_c_preproc_warn_flag 8314 ac_cpp_err=$ac_c_preproc_warn_flag
8321 else 8315 else
8322 ac_cpp_err= 8316 ac_cpp_err=
8331 cat conftest.$ac_ext >&5 8325 cat conftest.$ac_ext >&5
8332 eval "$as_ac_Header=no" 8326 eval "$as_ac_Header=no"
8333 fi 8327 fi
8334 rm -f conftest.err conftest.$ac_ext 8328 rm -f conftest.err conftest.$ac_ext
8335 fi 8329 fi
8336 echo "$as_me:8336: result: `eval echo '${'$as_ac_Header'}'`" >&5 8330 echo "$as_me:8330: result: `eval echo '${'$as_ac_Header'}'`" >&5
8337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8338 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8339 cat >>confdefs.h <<EOF 8333 cat >>confdefs.h <<EOF
8340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8341 EOF 8335 EOF
8344 done 8338 done
8345 8339
8346 for ac_func in alarm 8340 for ac_func in alarm
8347 do 8341 do
8348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8349 echo "$as_me:8349: checking for $ac_func" >&5 8343 echo "$as_me:8343: checking for $ac_func" >&5
8350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8351 if eval "test \"\${$as_ac_var+set}\" = set"; then 8345 if eval "test \"\${$as_ac_var+set}\" = set"; then
8352 echo $ECHO_N "(cached) $ECHO_C" >&6 8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8353 else 8347 else
8354 cat >conftest.$ac_ext <<_ACEOF 8348 cat >conftest.$ac_ext <<_ACEOF
8355 #line 8355 "configure" 8349 #line 8349 "configure"
8356 #include "confdefs.h" 8350 #include "confdefs.h"
8357 /* System header to define __stub macros and hopefully few prototypes, 8351 /* System header to define __stub macros and hopefully few prototypes,
8358 which can conflict with char $ac_func (); below. */ 8352 which can conflict with char $ac_func (); below. */
8359 #include <assert.h> 8353 #include <assert.h>
8360 /* Override any gcc2 internal prototype to avoid an error. */ 8354 /* Override any gcc2 internal prototype to avoid an error. */
8381 ; 8375 ;
8382 return 0; 8376 return 0;
8383 } 8377 }
8384 _ACEOF 8378 _ACEOF
8385 rm -f conftest.$ac_objext conftest$ac_exeext 8379 rm -f conftest.$ac_objext conftest$ac_exeext
8386 if { (eval echo "$as_me:8386: \"$ac_link\"") >&5 8380 if { (eval echo "$as_me:8380: \"$ac_link\"") >&5
8387 (eval $ac_link) 2>&5 8381 (eval $ac_link) 2>&5
8388 ac_status=$? 8382 ac_status=$?
8389 echo "$as_me:8389: \$? = $ac_status" >&5 8383 echo "$as_me:8383: \$? = $ac_status" >&5
8390 (exit $ac_status); } && 8384 (exit $ac_status); } &&
8391 { ac_try='test -s conftest$ac_exeext' 8385 { ac_try='test -s conftest$ac_exeext'
8392 { (eval echo "$as_me:8392: \"$ac_try\"") >&5 8386 { (eval echo "$as_me:8386: \"$ac_try\"") >&5
8393 (eval $ac_try) 2>&5 8387 (eval $ac_try) 2>&5
8394 ac_status=$? 8388 ac_status=$?
8395 echo "$as_me:8395: \$? = $ac_status" >&5 8389 echo "$as_me:8389: \$? = $ac_status" >&5
8396 (exit $ac_status); }; }; then 8390 (exit $ac_status); }; }; then
8397 eval "$as_ac_var=yes" 8391 eval "$as_ac_var=yes"
8398 else 8392 else
8399 echo "$as_me: failed program was:" >&5 8393 echo "$as_me: failed program was:" >&5
8400 cat conftest.$ac_ext >&5 8394 cat conftest.$ac_ext >&5
8401 eval "$as_ac_var=no" 8395 eval "$as_ac_var=no"
8402 fi 8396 fi
8403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8404 fi 8398 fi
8405 echo "$as_me:8405: result: `eval echo '${'$as_ac_var'}'`" >&5 8399 echo "$as_me:8399: result: `eval echo '${'$as_ac_var'}'`" >&5
8406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8407 if test `eval echo '${'$as_ac_var'}'` = yes; then 8401 if test `eval echo '${'$as_ac_var'}'` = yes; then
8408 cat >>confdefs.h <<EOF 8402 cat >>confdefs.h <<EOF
8409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8410 EOF 8404 EOF
8411 8405
8412 fi 8406 fi
8413 done 8407 done
8414 8408
8415 echo "$as_me:8415: checking for working mktime" >&5 8409 echo "$as_me:8409: checking for working mktime" >&5
8416 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8410 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8417 if test "${ac_cv_func_working_mktime+set}" = set; then 8411 if test "${ac_cv_func_working_mktime+set}" = set; then
8418 echo $ECHO_N "(cached) $ECHO_C" >&6 8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 else 8413 else
8420 if test "$cross_compiling" = yes; then 8414 if test "$cross_compiling" = yes; then
8421 ac_cv_func_working_mktime=no 8415 ac_cv_func_working_mktime=no
8422 else 8416 else
8423 cat >conftest.$ac_ext <<_ACEOF 8417 cat >conftest.$ac_ext <<_ACEOF
8424 #line 8424 "configure" 8418 #line 8418 "configure"
8425 #include "confdefs.h" 8419 #include "confdefs.h"
8426 /* Test program from Paul Eggert and Tony Leneis. */ 8420 /* Test program from Paul Eggert and Tony Leneis. */
8427 #if TIME_WITH_SYS_TIME 8421 #if TIME_WITH_SYS_TIME
8428 # include <sys/time.h> 8422 # include <sys/time.h>
8429 # include <time.h> 8423 # include <time.h>
8568 spring_forward_gap (); 8562 spring_forward_gap ();
8569 exit (0); 8563 exit (0);
8570 } 8564 }
8571 _ACEOF 8565 _ACEOF
8572 rm -f conftest$ac_exeext 8566 rm -f conftest$ac_exeext
8573 if { (eval echo "$as_me:8573: \"$ac_link\"") >&5 8567 if { (eval echo "$as_me:8567: \"$ac_link\"") >&5
8574 (eval $ac_link) 2>&5 8568 (eval $ac_link) 2>&5
8575 ac_status=$? 8569 ac_status=$?
8576 echo "$as_me:8576: \$? = $ac_status" >&5 8570 echo "$as_me:8570: \$? = $ac_status" >&5
8577 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8578 { (eval echo "$as_me:8578: \"$ac_try\"") >&5 8572 { (eval echo "$as_me:8572: \"$ac_try\"") >&5
8579 (eval $ac_try) 2>&5 8573 (eval $ac_try) 2>&5
8580 ac_status=$? 8574 ac_status=$?
8581 echo "$as_me:8581: \$? = $ac_status" >&5 8575 echo "$as_me:8575: \$? = $ac_status" >&5
8582 (exit $ac_status); }; }; then 8576 (exit $ac_status); }; }; then
8583 ac_cv_func_working_mktime=yes 8577 ac_cv_func_working_mktime=yes
8584 else 8578 else
8585 echo "$as_me: program exited with status $ac_status" >&5 8579 echo "$as_me: program exited with status $ac_status" >&5
8586 echo "$as_me: failed program was:" >&5 8580 echo "$as_me: failed program was:" >&5
8588 ac_cv_func_working_mktime=no 8582 ac_cv_func_working_mktime=no
8589 fi 8583 fi
8590 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8584 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8591 fi 8585 fi
8592 fi 8586 fi
8593 echo "$as_me:8593: result: $ac_cv_func_working_mktime" >&5 8587 echo "$as_me:8587: result: $ac_cv_func_working_mktime" >&5
8594 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8588 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8595 if test $ac_cv_func_working_mktime = no; then 8589 if test $ac_cv_func_working_mktime = no; then
8596 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8590 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8597 fi 8591 fi
8598 8592
8606 ac_have_func=no # yes means we've found a way to get the load average. 8600 ac_have_func=no # yes means we've found a way to get the load average.
8607 8601
8608 ac_save_LIBS=$LIBS 8602 ac_save_LIBS=$LIBS
8609 8603
8610 # Check for getloadavg, but be sure not to touch the cache variable. 8604 # Check for getloadavg, but be sure not to touch the cache variable.
8611 (echo "$as_me:8611: checking for getloadavg" >&5 8605 (echo "$as_me:8605: checking for getloadavg" >&5
8612 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8606 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8613 if test "${ac_cv_func_getloadavg+set}" = set; then 8607 if test "${ac_cv_func_getloadavg+set}" = set; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6 8608 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 else 8609 else
8616 cat >conftest.$ac_ext <<_ACEOF 8610 cat >conftest.$ac_ext <<_ACEOF
8617 #line 8617 "configure" 8611 #line 8611 "configure"
8618 #include "confdefs.h" 8612 #include "confdefs.h"
8619 /* System header to define __stub macros and hopefully few prototypes, 8613 /* System header to define __stub macros and hopefully few prototypes,
8620 which can conflict with char getloadavg (); below. */ 8614 which can conflict with char getloadavg (); below. */
8621 #include <assert.h> 8615 #include <assert.h>
8622 /* Override any gcc2 internal prototype to avoid an error. */ 8616 /* Override any gcc2 internal prototype to avoid an error. */
8643 ; 8637 ;
8644 return 0; 8638 return 0;
8645 } 8639 }
8646 _ACEOF 8640 _ACEOF
8647 rm -f conftest.$ac_objext conftest$ac_exeext 8641 rm -f conftest.$ac_objext conftest$ac_exeext
8648 if { (eval echo "$as_me:8648: \"$ac_link\"") >&5 8642 if { (eval echo "$as_me:8642: \"$ac_link\"") >&5
8649 (eval $ac_link) 2>&5 8643 (eval $ac_link) 2>&5
8650 ac_status=$? 8644 ac_status=$?
8651 echo "$as_me:8651: \$? = $ac_status" >&5 8645 echo "$as_me:8645: \$? = $ac_status" >&5
8652 (exit $ac_status); } && 8646 (exit $ac_status); } &&
8653 { ac_try='test -s conftest$ac_exeext' 8647 { ac_try='test -s conftest$ac_exeext'
8654 { (eval echo "$as_me:8654: \"$ac_try\"") >&5 8648 { (eval echo "$as_me:8648: \"$ac_try\"") >&5
8655 (eval $ac_try) 2>&5 8649 (eval $ac_try) 2>&5
8656 ac_status=$? 8650 ac_status=$?
8657 echo "$as_me:8657: \$? = $ac_status" >&5 8651 echo "$as_me:8651: \$? = $ac_status" >&5
8658 (exit $ac_status); }; }; then 8652 (exit $ac_status); }; }; then
8659 ac_cv_func_getloadavg=yes 8653 ac_cv_func_getloadavg=yes
8660 else 8654 else
8661 echo "$as_me: failed program was:" >&5 8655 echo "$as_me: failed program was:" >&5
8662 cat conftest.$ac_ext >&5 8656 cat conftest.$ac_ext >&5
8663 ac_cv_func_getloadavg=no 8657 ac_cv_func_getloadavg=no
8664 fi 8658 fi
8665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8666 fi 8660 fi
8667 echo "$as_me:8667: result: $ac_cv_func_getloadavg" >&5 8661 echo "$as_me:8661: result: $ac_cv_func_getloadavg" >&5
8668 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 8662 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8669 if test $ac_cv_func_getloadavg = yes; then 8663 if test $ac_cv_func_getloadavg = yes; then
8670 exit 0 8664 exit 0
8671 else 8665 else
8672 exit 1 8666 exit 1
8676 # On HPUX9, an unprivileged user can get load averages through this function. 8670 # On HPUX9, an unprivileged user can get load averages through this function.
8677 8671
8678 for ac_func in pstat_getdynamic 8672 for ac_func in pstat_getdynamic
8679 do 8673 do
8680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8681 echo "$as_me:8681: checking for $ac_func" >&5 8675 echo "$as_me:8675: checking for $ac_func" >&5
8682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8683 if eval "test \"\${$as_ac_var+set}\" = set"; then 8677 if eval "test \"\${$as_ac_var+set}\" = set"; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6 8678 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 else 8679 else
8686 cat >conftest.$ac_ext <<_ACEOF 8680 cat >conftest.$ac_ext <<_ACEOF
8687 #line 8687 "configure" 8681 #line 8681 "configure"
8688 #include "confdefs.h" 8682 #include "confdefs.h"
8689 /* System header to define __stub macros and hopefully few prototypes, 8683 /* System header to define __stub macros and hopefully few prototypes,
8690 which can conflict with char $ac_func (); below. */ 8684 which can conflict with char $ac_func (); below. */
8691 #include <assert.h> 8685 #include <assert.h>
8692 /* Override any gcc2 internal prototype to avoid an error. */ 8686 /* Override any gcc2 internal prototype to avoid an error. */
8713 ; 8707 ;
8714 return 0; 8708 return 0;
8715 } 8709 }
8716 _ACEOF 8710 _ACEOF
8717 rm -f conftest.$ac_objext conftest$ac_exeext 8711 rm -f conftest.$ac_objext conftest$ac_exeext
8718 if { (eval echo "$as_me:8718: \"$ac_link\"") >&5 8712 if { (eval echo "$as_me:8712: \"$ac_link\"") >&5
8719 (eval $ac_link) 2>&5 8713 (eval $ac_link) 2>&5
8720 ac_status=$? 8714 ac_status=$?
8721 echo "$as_me:8721: \$? = $ac_status" >&5 8715 echo "$as_me:8715: \$? = $ac_status" >&5
8722 (exit $ac_status); } && 8716 (exit $ac_status); } &&
8723 { ac_try='test -s conftest$ac_exeext' 8717 { ac_try='test -s conftest$ac_exeext'
8724 { (eval echo "$as_me:8724: \"$ac_try\"") >&5 8718 { (eval echo "$as_me:8718: \"$ac_try\"") >&5
8725 (eval $ac_try) 2>&5 8719 (eval $ac_try) 2>&5
8726 ac_status=$? 8720 ac_status=$?
8727 echo "$as_me:8727: \$? = $ac_status" >&5 8721 echo "$as_me:8721: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then 8722 (exit $ac_status); }; }; then
8729 eval "$as_ac_var=yes" 8723 eval "$as_ac_var=yes"
8730 else 8724 else
8731 echo "$as_me: failed program was:" >&5 8725 echo "$as_me: failed program was:" >&5
8732 cat conftest.$ac_ext >&5 8726 cat conftest.$ac_ext >&5
8733 eval "$as_ac_var=no" 8727 eval "$as_ac_var=no"
8734 fi 8728 fi
8735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8736 fi 8730 fi
8737 echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5 8731 echo "$as_me:8731: result: `eval echo '${'$as_ac_var'}'`" >&5
8738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8739 if test `eval echo '${'$as_ac_var'}'` = yes; then 8733 if test `eval echo '${'$as_ac_var'}'` = yes; then
8740 cat >>confdefs.h <<EOF 8734 cat >>confdefs.h <<EOF
8741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8742 EOF 8736 EOF
8744 fi 8738 fi
8745 done 8739 done
8746 8740
8747 # Solaris has libkstat which does not require root. 8741 # Solaris has libkstat which does not require root.
8748 8742
8749 echo "$as_me:8749: checking for kstat_open in -lkstat" >&5 8743 echo "$as_me:8743: checking for kstat_open in -lkstat" >&5
8750 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 8744 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8751 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 8745 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6 8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 else 8747 else
8754 ac_check_lib_save_LIBS=$LIBS 8748 ac_check_lib_save_LIBS=$LIBS
8755 LIBS="-lkstat $LIBS" 8749 LIBS="-lkstat $LIBS"
8756 cat >conftest.$ac_ext <<_ACEOF 8750 cat >conftest.$ac_ext <<_ACEOF
8757 #line 8757 "configure" 8751 #line 8751 "configure"
8758 #include "confdefs.h" 8752 #include "confdefs.h"
8759 8753
8760 /* Override any gcc2 internal prototype to avoid an error. */ 8754 /* Override any gcc2 internal prototype to avoid an error. */
8761 #ifdef __cplusplus 8755 #ifdef __cplusplus
8762 extern "C" 8756 extern "C"
8771 ; 8765 ;
8772 return 0; 8766 return 0;
8773 } 8767 }
8774 _ACEOF 8768 _ACEOF
8775 rm -f conftest.$ac_objext conftest$ac_exeext 8769 rm -f conftest.$ac_objext conftest$ac_exeext
8776 if { (eval echo "$as_me:8776: \"$ac_link\"") >&5 8770 if { (eval echo "$as_me:8770: \"$ac_link\"") >&5
8777 (eval $ac_link) 2>&5 8771 (eval $ac_link) 2>&5
8778 ac_status=$? 8772 ac_status=$?
8779 echo "$as_me:8779: \$? = $ac_status" >&5 8773 echo "$as_me:8773: \$? = $ac_status" >&5
8780 (exit $ac_status); } && 8774 (exit $ac_status); } &&
8781 { ac_try='test -s conftest$ac_exeext' 8775 { ac_try='test -s conftest$ac_exeext'
8782 { (eval echo "$as_me:8782: \"$ac_try\"") >&5 8776 { (eval echo "$as_me:8776: \"$ac_try\"") >&5
8783 (eval $ac_try) 2>&5 8777 (eval $ac_try) 2>&5
8784 ac_status=$? 8778 ac_status=$?
8785 echo "$as_me:8785: \$? = $ac_status" >&5 8779 echo "$as_me:8779: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then 8780 (exit $ac_status); }; }; then
8787 ac_cv_lib_kstat_kstat_open=yes 8781 ac_cv_lib_kstat_kstat_open=yes
8788 else 8782 else
8789 echo "$as_me: failed program was:" >&5 8783 echo "$as_me: failed program was:" >&5
8790 cat conftest.$ac_ext >&5 8784 cat conftest.$ac_ext >&5
8791 ac_cv_lib_kstat_kstat_open=no 8785 ac_cv_lib_kstat_kstat_open=no
8792 fi 8786 fi
8793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8794 LIBS=$ac_check_lib_save_LIBS 8788 LIBS=$ac_check_lib_save_LIBS
8795 fi 8789 fi
8796 echo "$as_me:8796: result: $ac_cv_lib_kstat_kstat_open" >&5 8790 echo "$as_me:8790: result: $ac_cv_lib_kstat_kstat_open" >&5
8797 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 8791 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8798 if test $ac_cv_lib_kstat_kstat_open = yes; then 8792 if test $ac_cv_lib_kstat_kstat_open = yes; then
8799 cat >>confdefs.h <<EOF 8793 cat >>confdefs.h <<EOF
8800 #define HAVE_LIBKSTAT 1 8794 #define HAVE_LIBKSTAT 1
8801 EOF 8795 EOF
8809 # Some systems with -lutil have (and need) -lkvm as well, some do not. 8803 # Some systems with -lutil have (and need) -lkvm as well, some do not.
8810 # On Solaris, -lkvm requires nlist from -lelf, so check that first 8804 # On Solaris, -lkvm requires nlist from -lelf, so check that first
8811 # to get the right answer into the cache. 8805 # to get the right answer into the cache.
8812 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 8806 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
8813 if test $ac_have_func = no; then 8807 if test $ac_have_func = no; then
8814 echo "$as_me:8814: checking for elf_begin in -lelf" >&5 8808 echo "$as_me:8808: checking for elf_begin in -lelf" >&5
8815 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 8809 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8816 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 8810 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6 8811 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 else 8812 else
8819 ac_check_lib_save_LIBS=$LIBS 8813 ac_check_lib_save_LIBS=$LIBS
8820 LIBS="-lelf $LIBS" 8814 LIBS="-lelf $LIBS"
8821 cat >conftest.$ac_ext <<_ACEOF 8815 cat >conftest.$ac_ext <<_ACEOF
8822 #line 8822 "configure" 8816 #line 8816 "configure"
8823 #include "confdefs.h" 8817 #include "confdefs.h"
8824 8818
8825 /* Override any gcc2 internal prototype to avoid an error. */ 8819 /* Override any gcc2 internal prototype to avoid an error. */
8826 #ifdef __cplusplus 8820 #ifdef __cplusplus
8827 extern "C" 8821 extern "C"
8836 ; 8830 ;
8837 return 0; 8831 return 0;
8838 } 8832 }
8839 _ACEOF 8833 _ACEOF
8840 rm -f conftest.$ac_objext conftest$ac_exeext 8834 rm -f conftest.$ac_objext conftest$ac_exeext
8841 if { (eval echo "$as_me:8841: \"$ac_link\"") >&5 8835 if { (eval echo "$as_me:8835: \"$ac_link\"") >&5
8842 (eval $ac_link) 2>&5 8836 (eval $ac_link) 2>&5
8843 ac_status=$? 8837 ac_status=$?
8844 echo "$as_me:8844: \$? = $ac_status" >&5 8838 echo "$as_me:8838: \$? = $ac_status" >&5
8845 (exit $ac_status); } && 8839 (exit $ac_status); } &&
8846 { ac_try='test -s conftest$ac_exeext' 8840 { ac_try='test -s conftest$ac_exeext'
8847 { (eval echo "$as_me:8847: \"$ac_try\"") >&5 8841 { (eval echo "$as_me:8841: \"$ac_try\"") >&5
8848 (eval $ac_try) 2>&5 8842 (eval $ac_try) 2>&5
8849 ac_status=$? 8843 ac_status=$?
8850 echo "$as_me:8850: \$? = $ac_status" >&5 8844 echo "$as_me:8844: \$? = $ac_status" >&5
8851 (exit $ac_status); }; }; then 8845 (exit $ac_status); }; }; then
8852 ac_cv_lib_elf_elf_begin=yes 8846 ac_cv_lib_elf_elf_begin=yes
8853 else 8847 else
8854 echo "$as_me: failed program was:" >&5 8848 echo "$as_me: failed program was:" >&5
8855 cat conftest.$ac_ext >&5 8849 cat conftest.$ac_ext >&5
8856 ac_cv_lib_elf_elf_begin=no 8850 ac_cv_lib_elf_elf_begin=no
8857 fi 8851 fi
8858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8859 LIBS=$ac_check_lib_save_LIBS 8853 LIBS=$ac_check_lib_save_LIBS
8860 fi 8854 fi
8861 echo "$as_me:8861: result: $ac_cv_lib_elf_elf_begin" >&5 8855 echo "$as_me:8855: result: $ac_cv_lib_elf_elf_begin" >&5
8862 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 8856 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8863 if test $ac_cv_lib_elf_elf_begin = yes; then 8857 if test $ac_cv_lib_elf_elf_begin = yes; then
8864 LIBS="-lelf $LIBS" 8858 LIBS="-lelf $LIBS"
8865 fi 8859 fi
8866 8860
8867 fi 8861 fi
8868 if test $ac_have_func = no; then 8862 if test $ac_have_func = no; then
8869 echo "$as_me:8869: checking for kvm_open in -lkvm" >&5 8863 echo "$as_me:8863: checking for kvm_open in -lkvm" >&5
8870 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 8864 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8871 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 8865 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8872 echo $ECHO_N "(cached) $ECHO_C" >&6 8866 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 else 8867 else
8874 ac_check_lib_save_LIBS=$LIBS 8868 ac_check_lib_save_LIBS=$LIBS
8875 LIBS="-lkvm $LIBS" 8869 LIBS="-lkvm $LIBS"
8876 cat >conftest.$ac_ext <<_ACEOF 8870 cat >conftest.$ac_ext <<_ACEOF
8877 #line 8877 "configure" 8871 #line 8871 "configure"
8878 #include "confdefs.h" 8872 #include "confdefs.h"
8879 8873
8880 /* Override any gcc2 internal prototype to avoid an error. */ 8874 /* Override any gcc2 internal prototype to avoid an error. */
8881 #ifdef __cplusplus 8875 #ifdef __cplusplus
8882 extern "C" 8876 extern "C"
8891 ; 8885 ;
8892 return 0; 8886 return 0;
8893 } 8887 }
8894 _ACEOF 8888 _ACEOF
8895 rm -f conftest.$ac_objext conftest$ac_exeext 8889 rm -f conftest.$ac_objext conftest$ac_exeext
8896 if { (eval echo "$as_me:8896: \"$ac_link\"") >&5 8890 if { (eval echo "$as_me:8890: \"$ac_link\"") >&5
8897 (eval $ac_link) 2>&5 8891 (eval $ac_link) 2>&5
8898 ac_status=$? 8892 ac_status=$?
8899 echo "$as_me:8899: \$? = $ac_status" >&5 8893 echo "$as_me:8893: \$? = $ac_status" >&5
8900 (exit $ac_status); } && 8894 (exit $ac_status); } &&
8901 { ac_try='test -s conftest$ac_exeext' 8895 { ac_try='test -s conftest$ac_exeext'
8902 { (eval echo "$as_me:8902: \"$ac_try\"") >&5 8896 { (eval echo "$as_me:8896: \"$ac_try\"") >&5
8903 (eval $ac_try) 2>&5 8897 (eval $ac_try) 2>&5
8904 ac_status=$? 8898 ac_status=$?
8905 echo "$as_me:8905: \$? = $ac_status" >&5 8899 echo "$as_me:8899: \$? = $ac_status" >&5
8906 (exit $ac_status); }; }; then 8900 (exit $ac_status); }; }; then
8907 ac_cv_lib_kvm_kvm_open=yes 8901 ac_cv_lib_kvm_kvm_open=yes
8908 else 8902 else
8909 echo "$as_me: failed program was:" >&5 8903 echo "$as_me: failed program was:" >&5
8910 cat conftest.$ac_ext >&5 8904 cat conftest.$ac_ext >&5
8911 ac_cv_lib_kvm_kvm_open=no 8905 ac_cv_lib_kvm_kvm_open=no
8912 fi 8906 fi
8913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS 8908 LIBS=$ac_check_lib_save_LIBS
8915 fi 8909 fi
8916 echo "$as_me:8916: result: $ac_cv_lib_kvm_kvm_open" >&5 8910 echo "$as_me:8910: result: $ac_cv_lib_kvm_kvm_open" >&5
8917 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 8911 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8918 if test $ac_cv_lib_kvm_kvm_open = yes; then 8912 if test $ac_cv_lib_kvm_kvm_open = yes; then
8919 LIBS="-lkvm $LIBS" 8913 LIBS="-lkvm $LIBS"
8920 fi 8914 fi
8921 8915
8922 # Check for the 4.4BSD definition of getloadavg. 8916 # Check for the 4.4BSD definition of getloadavg.
8923 echo "$as_me:8923: checking for getloadavg in -lutil" >&5 8917 echo "$as_me:8917: checking for getloadavg in -lutil" >&5
8924 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 8918 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8925 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 8919 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6 8920 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 else 8921 else
8928 ac_check_lib_save_LIBS=$LIBS 8922 ac_check_lib_save_LIBS=$LIBS
8929 LIBS="-lutil $LIBS" 8923 LIBS="-lutil $LIBS"
8930 cat >conftest.$ac_ext <<_ACEOF 8924 cat >conftest.$ac_ext <<_ACEOF
8931 #line 8931 "configure" 8925 #line 8925 "configure"
8932 #include "confdefs.h" 8926 #include "confdefs.h"
8933 8927
8934 /* Override any gcc2 internal prototype to avoid an error. */ 8928 /* Override any gcc2 internal prototype to avoid an error. */
8935 #ifdef __cplusplus 8929 #ifdef __cplusplus
8936 extern "C" 8930 extern "C"
8945 ; 8939 ;
8946 return 0; 8940 return 0;
8947 } 8941 }
8948 _ACEOF 8942 _ACEOF
8949 rm -f conftest.$ac_objext conftest$ac_exeext 8943 rm -f conftest.$ac_objext conftest$ac_exeext
8950 if { (eval echo "$as_me:8950: \"$ac_link\"") >&5 8944 if { (eval echo "$as_me:8944: \"$ac_link\"") >&5
8951 (eval $ac_link) 2>&5 8945 (eval $ac_link) 2>&5
8952 ac_status=$? 8946 ac_status=$?
8953 echo "$as_me:8953: \$? = $ac_status" >&5 8947 echo "$as_me:8947: \$? = $ac_status" >&5
8954 (exit $ac_status); } && 8948 (exit $ac_status); } &&
8955 { ac_try='test -s conftest$ac_exeext' 8949 { ac_try='test -s conftest$ac_exeext'
8956 { (eval echo "$as_me:8956: \"$ac_try\"") >&5 8950 { (eval echo "$as_me:8950: \"$ac_try\"") >&5
8957 (eval $ac_try) 2>&5 8951 (eval $ac_try) 2>&5
8958 ac_status=$? 8952 ac_status=$?
8959 echo "$as_me:8959: \$? = $ac_status" >&5 8953 echo "$as_me:8953: \$? = $ac_status" >&5
8960 (exit $ac_status); }; }; then 8954 (exit $ac_status); }; }; then
8961 ac_cv_lib_util_getloadavg=yes 8955 ac_cv_lib_util_getloadavg=yes
8962 else 8956 else
8963 echo "$as_me: failed program was:" >&5 8957 echo "$as_me: failed program was:" >&5
8964 cat conftest.$ac_ext >&5 8958 cat conftest.$ac_ext >&5
8965 ac_cv_lib_util_getloadavg=no 8959 ac_cv_lib_util_getloadavg=no
8966 fi 8960 fi
8967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8968 LIBS=$ac_check_lib_save_LIBS 8962 LIBS=$ac_check_lib_save_LIBS
8969 fi 8963 fi
8970 echo "$as_me:8970: result: $ac_cv_lib_util_getloadavg" >&5 8964 echo "$as_me:8964: result: $ac_cv_lib_util_getloadavg" >&5
8971 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 8965 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8972 if test $ac_cv_lib_util_getloadavg = yes; then 8966 if test $ac_cv_lib_util_getloadavg = yes; then
8973 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 8967 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
8974 fi 8968 fi
8975 8969
8978 if test $ac_have_func = no; then 8972 if test $ac_have_func = no; then
8979 # There is a commonly available library for RS/6000 AIX. 8973 # There is a commonly available library for RS/6000 AIX.
8980 # Since it is not a standard part of AIX, it might be installed locally. 8974 # Since it is not a standard part of AIX, it might be installed locally.
8981 ac_getloadavg_LIBS=$LIBS 8975 ac_getloadavg_LIBS=$LIBS
8982 LIBS="-L/usr/local/lib $LIBS" 8976 LIBS="-L/usr/local/lib $LIBS"
8983 echo "$as_me:8983: checking for getloadavg in -lgetloadavg" >&5 8977 echo "$as_me:8977: checking for getloadavg in -lgetloadavg" >&5
8984 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 8978 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8985 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 8979 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6 8980 echo $ECHO_N "(cached) $ECHO_C" >&6
8987 else 8981 else
8988 ac_check_lib_save_LIBS=$LIBS 8982 ac_check_lib_save_LIBS=$LIBS
8989 LIBS="-lgetloadavg $LIBS" 8983 LIBS="-lgetloadavg $LIBS"
8990 cat >conftest.$ac_ext <<_ACEOF 8984 cat >conftest.$ac_ext <<_ACEOF
8991 #line 8991 "configure" 8985 #line 8985 "configure"
8992 #include "confdefs.h" 8986 #include "confdefs.h"
8993 8987
8994 /* Override any gcc2 internal prototype to avoid an error. */ 8988 /* Override any gcc2 internal prototype to avoid an error. */
8995 #ifdef __cplusplus 8989 #ifdef __cplusplus
8996 extern "C" 8990 extern "C"
9005 ; 8999 ;
9006 return 0; 9000 return 0;
9007 } 9001 }
9008 _ACEOF 9002 _ACEOF
9009 rm -f conftest.$ac_objext conftest$ac_exeext 9003 rm -f conftest.$ac_objext conftest$ac_exeext
9010 if { (eval echo "$as_me:9010: \"$ac_link\"") >&5 9004 if { (eval echo "$as_me:9004: \"$ac_link\"") >&5
9011 (eval $ac_link) 2>&5 9005 (eval $ac_link) 2>&5
9012 ac_status=$? 9006 ac_status=$?
9013 echo "$as_me:9013: \$? = $ac_status" >&5 9007 echo "$as_me:9007: \$? = $ac_status" >&5
9014 (exit $ac_status); } && 9008 (exit $ac_status); } &&
9015 { ac_try='test -s conftest$ac_exeext' 9009 { ac_try='test -s conftest$ac_exeext'
9016 { (eval echo "$as_me:9016: \"$ac_try\"") >&5 9010 { (eval echo "$as_me:9010: \"$ac_try\"") >&5
9017 (eval $ac_try) 2>&5 9011 (eval $ac_try) 2>&5
9018 ac_status=$? 9012 ac_status=$?
9019 echo "$as_me:9019: \$? = $ac_status" >&5 9013 echo "$as_me:9013: \$? = $ac_status" >&5
9020 (exit $ac_status); }; }; then 9014 (exit $ac_status); }; }; then
9021 ac_cv_lib_getloadavg_getloadavg=yes 9015 ac_cv_lib_getloadavg_getloadavg=yes
9022 else 9016 else
9023 echo "$as_me: failed program was:" >&5 9017 echo "$as_me: failed program was:" >&5
9024 cat conftest.$ac_ext >&5 9018 cat conftest.$ac_ext >&5
9025 ac_cv_lib_getloadavg_getloadavg=no 9019 ac_cv_lib_getloadavg_getloadavg=no
9026 fi 9020 fi
9027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9028 LIBS=$ac_check_lib_save_LIBS 9022 LIBS=$ac_check_lib_save_LIBS
9029 fi 9023 fi
9030 echo "$as_me:9030: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9024 echo "$as_me:9024: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9031 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9025 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9032 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9026 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9033 LIBS="-lgetloadavg $LIBS" 9027 LIBS="-lgetloadavg $LIBS"
9034 else 9028 else
9035 LIBS=$ac_getloadavg_LIBS 9029 LIBS=$ac_getloadavg_LIBS
9041 # otherwise set up the replacement function. 9035 # otherwise set up the replacement function.
9042 9036
9043 for ac_func in getloadavg 9037 for ac_func in getloadavg
9044 do 9038 do
9045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9046 echo "$as_me:9046: checking for $ac_func" >&5 9040 echo "$as_me:9040: checking for $ac_func" >&5
9047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9048 if eval "test \"\${$as_ac_var+set}\" = set"; then 9042 if eval "test \"\${$as_ac_var+set}\" = set"; then
9049 echo $ECHO_N "(cached) $ECHO_C" >&6 9043 echo $ECHO_N "(cached) $ECHO_C" >&6
9050 else 9044 else
9051 cat >conftest.$ac_ext <<_ACEOF 9045 cat >conftest.$ac_ext <<_ACEOF
9052 #line 9052 "configure" 9046 #line 9046 "configure"
9053 #include "confdefs.h" 9047 #include "confdefs.h"
9054 /* System header to define __stub macros and hopefully few prototypes, 9048 /* System header to define __stub macros and hopefully few prototypes,
9055 which can conflict with char $ac_func (); below. */ 9049 which can conflict with char $ac_func (); below. */
9056 #include <assert.h> 9050 #include <assert.h>
9057 /* Override any gcc2 internal prototype to avoid an error. */ 9051 /* Override any gcc2 internal prototype to avoid an error. */
9078 ; 9072 ;
9079 return 0; 9073 return 0;
9080 } 9074 }
9081 _ACEOF 9075 _ACEOF
9082 rm -f conftest.$ac_objext conftest$ac_exeext 9076 rm -f conftest.$ac_objext conftest$ac_exeext
9083 if { (eval echo "$as_me:9083: \"$ac_link\"") >&5 9077 if { (eval echo "$as_me:9077: \"$ac_link\"") >&5
9084 (eval $ac_link) 2>&5 9078 (eval $ac_link) 2>&5
9085 ac_status=$? 9079 ac_status=$?
9086 echo "$as_me:9086: \$? = $ac_status" >&5 9080 echo "$as_me:9080: \$? = $ac_status" >&5
9087 (exit $ac_status); } && 9081 (exit $ac_status); } &&
9088 { ac_try='test -s conftest$ac_exeext' 9082 { ac_try='test -s conftest$ac_exeext'
9089 { (eval echo "$as_me:9089: \"$ac_try\"") >&5 9083 { (eval echo "$as_me:9083: \"$ac_try\"") >&5
9090 (eval $ac_try) 2>&5 9084 (eval $ac_try) 2>&5
9091 ac_status=$? 9085 ac_status=$?
9092 echo "$as_me:9092: \$? = $ac_status" >&5 9086 echo "$as_me:9086: \$? = $ac_status" >&5
9093 (exit $ac_status); }; }; then 9087 (exit $ac_status); }; }; then
9094 eval "$as_ac_var=yes" 9088 eval "$as_ac_var=yes"
9095 else 9089 else
9096 echo "$as_me: failed program was:" >&5 9090 echo "$as_me: failed program was:" >&5
9097 cat conftest.$ac_ext >&5 9091 cat conftest.$ac_ext >&5
9098 eval "$as_ac_var=no" 9092 eval "$as_ac_var=no"
9099 fi 9093 fi
9100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9101 fi 9095 fi
9102 echo "$as_me:9102: result: `eval echo '${'$as_ac_var'}'`" >&5 9096 echo "$as_me:9096: result: `eval echo '${'$as_ac_var'}'`" >&5
9103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9104 if test `eval echo '${'$as_ac_var'}'` = yes; then 9098 if test `eval echo '${'$as_ac_var'}'` = yes; then
9105 cat >>confdefs.h <<EOF 9099 cat >>confdefs.h <<EOF
9106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9107 EOF 9101 EOF
9113 #define C_GETLOADAVG 1 9107 #define C_GETLOADAVG 1
9114 EOF 9108 EOF
9115 9109
9116 # Figure out what our getloadavg.c needs. 9110 # Figure out what our getloadavg.c needs.
9117 ac_have_func=no 9111 ac_have_func=no
9118 echo "$as_me:9118: checking for sys/dg_sys_info.h" >&5 9112 echo "$as_me:9112: checking for sys/dg_sys_info.h" >&5
9119 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9113 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9120 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9114 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6 9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9122 else 9116 else
9123 cat >conftest.$ac_ext <<_ACEOF 9117 cat >conftest.$ac_ext <<_ACEOF
9124 #line 9124 "configure" 9118 #line 9118 "configure"
9125 #include "confdefs.h" 9119 #include "confdefs.h"
9126 #include <sys/dg_sys_info.h> 9120 #include <sys/dg_sys_info.h>
9127 _ACEOF 9121 _ACEOF
9128 if { (eval echo "$as_me:9128: \"$ac_cpp conftest.$ac_ext\"") >&5 9122 if { (eval echo "$as_me:9122: \"$ac_cpp conftest.$ac_ext\"") >&5
9129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9123 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9130 ac_status=$? 9124 ac_status=$?
9131 egrep -v '^ *\+' conftest.er1 >conftest.err 9125 egrep -v '^ *\+' conftest.er1 >conftest.err
9132 rm -f conftest.er1 9126 rm -f conftest.er1
9133 cat conftest.err >&5 9127 cat conftest.err >&5
9134 echo "$as_me:9134: \$? = $ac_status" >&5 9128 echo "$as_me:9128: \$? = $ac_status" >&5
9135 (exit $ac_status); } >/dev/null; then 9129 (exit $ac_status); } >/dev/null; then
9136 if test -s conftest.err; then 9130 if test -s conftest.err; then
9137 ac_cpp_err=$ac_c_preproc_warn_flag 9131 ac_cpp_err=$ac_c_preproc_warn_flag
9138 else 9132 else
9139 ac_cpp_err= 9133 ac_cpp_err=
9148 cat conftest.$ac_ext >&5 9142 cat conftest.$ac_ext >&5
9149 ac_cv_header_sys_dg_sys_info_h=no 9143 ac_cv_header_sys_dg_sys_info_h=no
9150 fi 9144 fi
9151 rm -f conftest.err conftest.$ac_ext 9145 rm -f conftest.err conftest.$ac_ext
9152 fi 9146 fi
9153 echo "$as_me:9153: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9147 echo "$as_me:9147: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9154 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9148 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9155 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9149 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9156 ac_have_func=yes 9150 ac_have_func=yes
9157 9151
9158 cat >>confdefs.h <<\EOF 9152 cat >>confdefs.h <<\EOF
9159 #define DGUX 1 9153 #define DGUX 1
9160 EOF 9154 EOF
9161 9155
9162 echo "$as_me:9162: checking for dg_sys_info in -ldgc" >&5 9156 echo "$as_me:9156: checking for dg_sys_info in -ldgc" >&5
9163 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9157 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9164 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9158 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6 9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9166 else 9160 else
9167 ac_check_lib_save_LIBS=$LIBS 9161 ac_check_lib_save_LIBS=$LIBS
9168 LIBS="-ldgc $LIBS" 9162 LIBS="-ldgc $LIBS"
9169 cat >conftest.$ac_ext <<_ACEOF 9163 cat >conftest.$ac_ext <<_ACEOF
9170 #line 9170 "configure" 9164 #line 9164 "configure"
9171 #include "confdefs.h" 9165 #include "confdefs.h"
9172 9166
9173 /* Override any gcc2 internal prototype to avoid an error. */ 9167 /* Override any gcc2 internal prototype to avoid an error. */
9174 #ifdef __cplusplus 9168 #ifdef __cplusplus
9175 extern "C" 9169 extern "C"
9184 ; 9178 ;
9185 return 0; 9179 return 0;
9186 } 9180 }
9187 _ACEOF 9181 _ACEOF
9188 rm -f conftest.$ac_objext conftest$ac_exeext 9182 rm -f conftest.$ac_objext conftest$ac_exeext
9189 if { (eval echo "$as_me:9189: \"$ac_link\"") >&5 9183 if { (eval echo "$as_me:9183: \"$ac_link\"") >&5
9190 (eval $ac_link) 2>&5 9184 (eval $ac_link) 2>&5
9191 ac_status=$? 9185 ac_status=$?
9192 echo "$as_me:9192: \$? = $ac_status" >&5 9186 echo "$as_me:9186: \$? = $ac_status" >&5
9193 (exit $ac_status); } && 9187 (exit $ac_status); } &&
9194 { ac_try='test -s conftest$ac_exeext' 9188 { ac_try='test -s conftest$ac_exeext'
9195 { (eval echo "$as_me:9195: \"$ac_try\"") >&5 9189 { (eval echo "$as_me:9189: \"$ac_try\"") >&5
9196 (eval $ac_try) 2>&5 9190 (eval $ac_try) 2>&5
9197 ac_status=$? 9191 ac_status=$?
9198 echo "$as_me:9198: \$? = $ac_status" >&5 9192 echo "$as_me:9192: \$? = $ac_status" >&5
9199 (exit $ac_status); }; }; then 9193 (exit $ac_status); }; }; then
9200 ac_cv_lib_dgc_dg_sys_info=yes 9194 ac_cv_lib_dgc_dg_sys_info=yes
9201 else 9195 else
9202 echo "$as_me: failed program was:" >&5 9196 echo "$as_me: failed program was:" >&5
9203 cat conftest.$ac_ext >&5 9197 cat conftest.$ac_ext >&5
9204 ac_cv_lib_dgc_dg_sys_info=no 9198 ac_cv_lib_dgc_dg_sys_info=no
9205 fi 9199 fi
9206 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9200 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_lib_save_LIBS 9201 LIBS=$ac_check_lib_save_LIBS
9208 fi 9202 fi
9209 echo "$as_me:9209: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9203 echo "$as_me:9203: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9210 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9204 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9211 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9205 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9212 cat >>confdefs.h <<EOF 9206 cat >>confdefs.h <<EOF
9213 #define HAVE_LIBDGC 1 9207 #define HAVE_LIBDGC 1
9214 EOF 9208 EOF
9217 9211
9218 fi 9212 fi
9219 9213
9220 fi 9214 fi
9221 9215
9222 echo "$as_me:9222: checking for locale.h" >&5 9216 echo "$as_me:9216: checking for locale.h" >&5
9223 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9217 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9224 if test "${ac_cv_header_locale_h+set}" = set; then 9218 if test "${ac_cv_header_locale_h+set}" = set; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6 9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9226 else 9220 else
9227 cat >conftest.$ac_ext <<_ACEOF 9221 cat >conftest.$ac_ext <<_ACEOF
9228 #line 9228 "configure" 9222 #line 9222 "configure"
9229 #include "confdefs.h" 9223 #include "confdefs.h"
9230 #include <locale.h> 9224 #include <locale.h>
9231 _ACEOF 9225 _ACEOF
9232 if { (eval echo "$as_me:9232: \"$ac_cpp conftest.$ac_ext\"") >&5 9226 if { (eval echo "$as_me:9226: \"$ac_cpp conftest.$ac_ext\"") >&5
9233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9234 ac_status=$? 9228 ac_status=$?
9235 egrep -v '^ *\+' conftest.er1 >conftest.err 9229 egrep -v '^ *\+' conftest.er1 >conftest.err
9236 rm -f conftest.er1 9230 rm -f conftest.er1
9237 cat conftest.err >&5 9231 cat conftest.err >&5
9238 echo "$as_me:9238: \$? = $ac_status" >&5 9232 echo "$as_me:9232: \$? = $ac_status" >&5
9239 (exit $ac_status); } >/dev/null; then 9233 (exit $ac_status); } >/dev/null; then
9240 if test -s conftest.err; then 9234 if test -s conftest.err; then
9241 ac_cpp_err=$ac_c_preproc_warn_flag 9235 ac_cpp_err=$ac_c_preproc_warn_flag
9242 else 9236 else
9243 ac_cpp_err= 9237 ac_cpp_err=
9252 cat conftest.$ac_ext >&5 9246 cat conftest.$ac_ext >&5
9253 ac_cv_header_locale_h=no 9247 ac_cv_header_locale_h=no
9254 fi 9248 fi
9255 rm -f conftest.err conftest.$ac_ext 9249 rm -f conftest.err conftest.$ac_ext
9256 fi 9250 fi
9257 echo "$as_me:9257: result: $ac_cv_header_locale_h" >&5 9251 echo "$as_me:9251: result: $ac_cv_header_locale_h" >&5
9258 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9252 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9259 9253
9260 for ac_func in setlocale 9254 for ac_func in setlocale
9261 do 9255 do
9262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9263 echo "$as_me:9263: checking for $ac_func" >&5 9257 echo "$as_me:9257: checking for $ac_func" >&5
9264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9265 if eval "test \"\${$as_ac_var+set}\" = set"; then 9259 if eval "test \"\${$as_ac_var+set}\" = set"; then
9266 echo $ECHO_N "(cached) $ECHO_C" >&6 9260 echo $ECHO_N "(cached) $ECHO_C" >&6
9267 else 9261 else
9268 cat >conftest.$ac_ext <<_ACEOF 9262 cat >conftest.$ac_ext <<_ACEOF
9269 #line 9269 "configure" 9263 #line 9263 "configure"
9270 #include "confdefs.h" 9264 #include "confdefs.h"
9271 /* System header to define __stub macros and hopefully few prototypes, 9265 /* System header to define __stub macros and hopefully few prototypes,
9272 which can conflict with char $ac_func (); below. */ 9266 which can conflict with char $ac_func (); below. */
9273 #include <assert.h> 9267 #include <assert.h>
9274 /* Override any gcc2 internal prototype to avoid an error. */ 9268 /* Override any gcc2 internal prototype to avoid an error. */
9295 ; 9289 ;
9296 return 0; 9290 return 0;
9297 } 9291 }
9298 _ACEOF 9292 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext 9293 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (eval echo "$as_me:9300: \"$ac_link\"") >&5 9294 if { (eval echo "$as_me:9294: \"$ac_link\"") >&5
9301 (eval $ac_link) 2>&5 9295 (eval $ac_link) 2>&5
9302 ac_status=$? 9296 ac_status=$?
9303 echo "$as_me:9303: \$? = $ac_status" >&5 9297 echo "$as_me:9297: \$? = $ac_status" >&5
9304 (exit $ac_status); } && 9298 (exit $ac_status); } &&
9305 { ac_try='test -s conftest$ac_exeext' 9299 { ac_try='test -s conftest$ac_exeext'
9306 { (eval echo "$as_me:9306: \"$ac_try\"") >&5 9300 { (eval echo "$as_me:9300: \"$ac_try\"") >&5
9307 (eval $ac_try) 2>&5 9301 (eval $ac_try) 2>&5
9308 ac_status=$? 9302 ac_status=$?
9309 echo "$as_me:9309: \$? = $ac_status" >&5 9303 echo "$as_me:9303: \$? = $ac_status" >&5
9310 (exit $ac_status); }; }; then 9304 (exit $ac_status); }; }; then
9311 eval "$as_ac_var=yes" 9305 eval "$as_ac_var=yes"
9312 else 9306 else
9313 echo "$as_me: failed program was:" >&5 9307 echo "$as_me: failed program was:" >&5
9314 cat conftest.$ac_ext >&5 9308 cat conftest.$ac_ext >&5
9315 eval "$as_ac_var=no" 9309 eval "$as_ac_var=no"
9316 fi 9310 fi
9317 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9318 fi 9312 fi
9319 echo "$as_me:9319: result: `eval echo '${'$as_ac_var'}'`" >&5 9313 echo "$as_me:9313: result: `eval echo '${'$as_ac_var'}'`" >&5
9320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9321 if test `eval echo '${'$as_ac_var'}'` = yes; then 9315 if test `eval echo '${'$as_ac_var'}'` = yes; then
9322 cat >>confdefs.h <<EOF 9316 cat >>confdefs.h <<EOF
9323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9324 EOF 9318 EOF
9337 EOF 9331 EOF
9338 9332
9339 fi 9333 fi
9340 9334
9341 if test $ac_have_func = no; then 9335 if test $ac_have_func = no; then
9342 echo "$as_me:9342: checking for inq_stats/cpustats.h" >&5 9336 echo "$as_me:9336: checking for inq_stats/cpustats.h" >&5
9343 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9337 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9344 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9338 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9345 echo $ECHO_N "(cached) $ECHO_C" >&6 9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9346 else 9340 else
9347 cat >conftest.$ac_ext <<_ACEOF 9341 cat >conftest.$ac_ext <<_ACEOF
9348 #line 9348 "configure" 9342 #line 9342 "configure"
9349 #include "confdefs.h" 9343 #include "confdefs.h"
9350 #include <inq_stats/cpustats.h> 9344 #include <inq_stats/cpustats.h>
9351 _ACEOF 9345 _ACEOF
9352 if { (eval echo "$as_me:9352: \"$ac_cpp conftest.$ac_ext\"") >&5 9346 if { (eval echo "$as_me:9346: \"$ac_cpp conftest.$ac_ext\"") >&5
9353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9354 ac_status=$? 9348 ac_status=$?
9355 egrep -v '^ *\+' conftest.er1 >conftest.err 9349 egrep -v '^ *\+' conftest.er1 >conftest.err
9356 rm -f conftest.er1 9350 rm -f conftest.er1
9357 cat conftest.err >&5 9351 cat conftest.err >&5
9358 echo "$as_me:9358: \$? = $ac_status" >&5 9352 echo "$as_me:9352: \$? = $ac_status" >&5
9359 (exit $ac_status); } >/dev/null; then 9353 (exit $ac_status); } >/dev/null; then
9360 if test -s conftest.err; then 9354 if test -s conftest.err; then
9361 ac_cpp_err=$ac_c_preproc_warn_flag 9355 ac_cpp_err=$ac_c_preproc_warn_flag
9362 else 9356 else
9363 ac_cpp_err= 9357 ac_cpp_err=
9372 cat conftest.$ac_ext >&5 9366 cat conftest.$ac_ext >&5
9373 ac_cv_header_inq_stats_cpustats_h=no 9367 ac_cv_header_inq_stats_cpustats_h=no
9374 fi 9368 fi
9375 rm -f conftest.err conftest.$ac_ext 9369 rm -f conftest.err conftest.$ac_ext
9376 fi 9370 fi
9377 echo "$as_me:9377: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9371 echo "$as_me:9371: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9378 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9372 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9379 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9373 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9380 ac_have_func=yes 9374 ac_have_func=yes
9381 9375
9382 cat >>confdefs.h <<\EOF 9376 cat >>confdefs.h <<\EOF
9390 fi 9384 fi
9391 9385
9392 fi 9386 fi
9393 9387
9394 if test $ac_have_func = no; then 9388 if test $ac_have_func = no; then
9395 echo "$as_me:9395: checking for sys/cpustats.h" >&5 9389 echo "$as_me:9389: checking for sys/cpustats.h" >&5
9396 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9390 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9397 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9391 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9398 echo $ECHO_N "(cached) $ECHO_C" >&6 9392 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 else 9393 else
9400 cat >conftest.$ac_ext <<_ACEOF 9394 cat >conftest.$ac_ext <<_ACEOF
9401 #line 9401 "configure" 9395 #line 9395 "configure"
9402 #include "confdefs.h" 9396 #include "confdefs.h"
9403 #include <sys/cpustats.h> 9397 #include <sys/cpustats.h>
9404 _ACEOF 9398 _ACEOF
9405 if { (eval echo "$as_me:9405: \"$ac_cpp conftest.$ac_ext\"") >&5 9399 if { (eval echo "$as_me:9399: \"$ac_cpp conftest.$ac_ext\"") >&5
9406 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9407 ac_status=$? 9401 ac_status=$?
9408 egrep -v '^ *\+' conftest.er1 >conftest.err 9402 egrep -v '^ *\+' conftest.er1 >conftest.err
9409 rm -f conftest.er1 9403 rm -f conftest.er1
9410 cat conftest.err >&5 9404 cat conftest.err >&5
9411 echo "$as_me:9411: \$? = $ac_status" >&5 9405 echo "$as_me:9405: \$? = $ac_status" >&5
9412 (exit $ac_status); } >/dev/null; then 9406 (exit $ac_status); } >/dev/null; then
9413 if test -s conftest.err; then 9407 if test -s conftest.err; then
9414 ac_cpp_err=$ac_c_preproc_warn_flag 9408 ac_cpp_err=$ac_c_preproc_warn_flag
9415 else 9409 else
9416 ac_cpp_err= 9410 ac_cpp_err=
9425 cat conftest.$ac_ext >&5 9419 cat conftest.$ac_ext >&5
9426 ac_cv_header_sys_cpustats_h=no 9420 ac_cv_header_sys_cpustats_h=no
9427 fi 9421 fi
9428 rm -f conftest.err conftest.$ac_ext 9422 rm -f conftest.err conftest.$ac_ext
9429 fi 9423 fi
9430 echo "$as_me:9430: result: $ac_cv_header_sys_cpustats_h" >&5 9424 echo "$as_me:9424: result: $ac_cv_header_sys_cpustats_h" >&5
9431 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9425 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9432 if test $ac_cv_header_sys_cpustats_h = yes; then 9426 if test $ac_cv_header_sys_cpustats_h = yes; then
9433 ac_have_func=yes; cat >>confdefs.h <<\EOF 9427 ac_have_func=yes; cat >>confdefs.h <<\EOF
9434 #define UMAX 1 9428 #define UMAX 1
9435 EOF 9429 EOF
9441 if test $ac_have_func = no; then 9435 if test $ac_have_func = no; then
9442 9436
9443 for ac_header in mach/mach.h 9437 for ac_header in mach/mach.h
9444 do 9438 do
9445 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9446 echo "$as_me:9446: checking for $ac_header" >&5 9440 echo "$as_me:9440: checking for $ac_header" >&5
9447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9448 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9449 echo $ECHO_N "(cached) $ECHO_C" >&6 9443 echo $ECHO_N "(cached) $ECHO_C" >&6
9450 else 9444 else
9451 cat >conftest.$ac_ext <<_ACEOF 9445 cat >conftest.$ac_ext <<_ACEOF
9452 #line 9452 "configure" 9446 #line 9446 "configure"
9453 #include "confdefs.h" 9447 #include "confdefs.h"
9454 #include <$ac_header> 9448 #include <$ac_header>
9455 _ACEOF 9449 _ACEOF
9456 if { (eval echo "$as_me:9456: \"$ac_cpp conftest.$ac_ext\"") >&5 9450 if { (eval echo "$as_me:9450: \"$ac_cpp conftest.$ac_ext\"") >&5
9457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9458 ac_status=$? 9452 ac_status=$?
9459 egrep -v '^ *\+' conftest.er1 >conftest.err 9453 egrep -v '^ *\+' conftest.er1 >conftest.err
9460 rm -f conftest.er1 9454 rm -f conftest.er1
9461 cat conftest.err >&5 9455 cat conftest.err >&5
9462 echo "$as_me:9462: \$? = $ac_status" >&5 9456 echo "$as_me:9456: \$? = $ac_status" >&5
9463 (exit $ac_status); } >/dev/null; then 9457 (exit $ac_status); } >/dev/null; then
9464 if test -s conftest.err; then 9458 if test -s conftest.err; then
9465 ac_cpp_err=$ac_c_preproc_warn_flag 9459 ac_cpp_err=$ac_c_preproc_warn_flag
9466 else 9460 else
9467 ac_cpp_err= 9461 ac_cpp_err=
9476 cat conftest.$ac_ext >&5 9470 cat conftest.$ac_ext >&5
9477 eval "$as_ac_Header=no" 9471 eval "$as_ac_Header=no"
9478 fi 9472 fi
9479 rm -f conftest.err conftest.$ac_ext 9473 rm -f conftest.err conftest.$ac_ext
9480 fi 9474 fi
9481 echo "$as_me:9481: result: `eval echo '${'$as_ac_Header'}'`" >&5 9475 echo "$as_me:9475: result: `eval echo '${'$as_ac_Header'}'`" >&5
9482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9483 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9484 cat >>confdefs.h <<EOF 9478 cat >>confdefs.h <<EOF
9485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9486 EOF 9480 EOF
9491 fi 9485 fi
9492 9486
9493 for ac_header in nlist.h 9487 for ac_header in nlist.h
9494 do 9488 do
9495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9496 echo "$as_me:9496: checking for $ac_header" >&5 9490 echo "$as_me:9490: checking for $ac_header" >&5
9497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9498 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6 9493 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 else 9494 else
9501 cat >conftest.$ac_ext <<_ACEOF 9495 cat >conftest.$ac_ext <<_ACEOF
9502 #line 9502 "configure" 9496 #line 9496 "configure"
9503 #include "confdefs.h" 9497 #include "confdefs.h"
9504 #include <$ac_header> 9498 #include <$ac_header>
9505 _ACEOF 9499 _ACEOF
9506 if { (eval echo "$as_me:9506: \"$ac_cpp conftest.$ac_ext\"") >&5 9500 if { (eval echo "$as_me:9500: \"$ac_cpp conftest.$ac_ext\"") >&5
9507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9508 ac_status=$? 9502 ac_status=$?
9509 egrep -v '^ *\+' conftest.er1 >conftest.err 9503 egrep -v '^ *\+' conftest.er1 >conftest.err
9510 rm -f conftest.er1 9504 rm -f conftest.er1
9511 cat conftest.err >&5 9505 cat conftest.err >&5
9512 echo "$as_me:9512: \$? = $ac_status" >&5 9506 echo "$as_me:9506: \$? = $ac_status" >&5
9513 (exit $ac_status); } >/dev/null; then 9507 (exit $ac_status); } >/dev/null; then
9514 if test -s conftest.err; then 9508 if test -s conftest.err; then
9515 ac_cpp_err=$ac_c_preproc_warn_flag 9509 ac_cpp_err=$ac_c_preproc_warn_flag
9516 else 9510 else
9517 ac_cpp_err= 9511 ac_cpp_err=
9526 cat conftest.$ac_ext >&5 9520 cat conftest.$ac_ext >&5
9527 eval "$as_ac_Header=no" 9521 eval "$as_ac_Header=no"
9528 fi 9522 fi
9529 rm -f conftest.err conftest.$ac_ext 9523 rm -f conftest.err conftest.$ac_ext
9530 fi 9524 fi
9531 echo "$as_me:9531: result: `eval echo '${'$as_ac_Header'}'`" >&5 9525 echo "$as_me:9525: result: `eval echo '${'$as_ac_Header'}'`" >&5
9532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9533 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9534 cat >>confdefs.h <<EOF 9528 cat >>confdefs.h <<EOF
9535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9536 EOF 9530 EOF
9537 echo "$as_me:9537: checking for struct nlist.n_un.n_name" >&5 9531 echo "$as_me:9531: checking for struct nlist.n_un.n_name" >&5
9538 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9532 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9539 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9533 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6 9534 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 else 9535 else
9542 cat >conftest.$ac_ext <<_ACEOF 9536 cat >conftest.$ac_ext <<_ACEOF
9543 #line 9543 "configure" 9537 #line 9537 "configure"
9544 #include "confdefs.h" 9538 #include "confdefs.h"
9545 #include <nlist.h> 9539 #include <nlist.h>
9546 9540
9547 int 9541 int
9548 main () 9542 main ()
9553 ; 9547 ;
9554 return 0; 9548 return 0;
9555 } 9549 }
9556 _ACEOF 9550 _ACEOF
9557 rm -f conftest.$ac_objext 9551 rm -f conftest.$ac_objext
9558 if { (eval echo "$as_me:9558: \"$ac_compile\"") >&5 9552 if { (eval echo "$as_me:9552: \"$ac_compile\"") >&5
9559 (eval $ac_compile) 2>&5 9553 (eval $ac_compile) 2>&5
9560 ac_status=$? 9554 ac_status=$?
9561 echo "$as_me:9561: \$? = $ac_status" >&5 9555 echo "$as_me:9555: \$? = $ac_status" >&5
9562 (exit $ac_status); } && 9556 (exit $ac_status); } &&
9563 { ac_try='test -s conftest.$ac_objext' 9557 { ac_try='test -s conftest.$ac_objext'
9564 { (eval echo "$as_me:9564: \"$ac_try\"") >&5 9558 { (eval echo "$as_me:9558: \"$ac_try\"") >&5
9565 (eval $ac_try) 2>&5 9559 (eval $ac_try) 2>&5
9566 ac_status=$? 9560 ac_status=$?
9567 echo "$as_me:9567: \$? = $ac_status" >&5 9561 echo "$as_me:9561: \$? = $ac_status" >&5
9568 (exit $ac_status); }; }; then 9562 (exit $ac_status); }; }; then
9569 ac_cv_member_struct_nlist_n_un_n_name=yes 9563 ac_cv_member_struct_nlist_n_un_n_name=yes
9570 else 9564 else
9571 echo "$as_me: failed program was:" >&5 9565 echo "$as_me: failed program was:" >&5
9572 cat conftest.$ac_ext >&5 9566 cat conftest.$ac_ext >&5
9573 ac_cv_member_struct_nlist_n_un_n_name=no 9567 ac_cv_member_struct_nlist_n_un_n_name=no
9574 fi 9568 fi
9575 rm -f conftest.$ac_objext conftest.$ac_ext 9569 rm -f conftest.$ac_objext conftest.$ac_ext
9576 fi 9570 fi
9577 echo "$as_me:9577: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9571 echo "$as_me:9571: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9578 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9572 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9579 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9573 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9580 9574
9581 cat >>confdefs.h <<EOF 9575 cat >>confdefs.h <<EOF
9582 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9576 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9593 9587
9594 fi 9588 fi
9595 done 9589 done
9596 9590
9597 # Some definitions of getloadavg require that the program be installed setgid. 9591 # Some definitions of getloadavg require that the program be installed setgid.
9598 echo "$as_me:9598: checking whether getloadavg requires setgid" >&5 9592 echo "$as_me:9592: checking whether getloadavg requires setgid" >&5
9599 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9593 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9600 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9594 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9601 echo $ECHO_N "(cached) $ECHO_C" >&6 9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 else 9596 else
9603 cat >conftest.$ac_ext <<_ACEOF 9597 cat >conftest.$ac_ext <<_ACEOF
9604 #line 9604 "configure" 9598 #line 9598 "configure"
9605 #include "confdefs.h" 9599 #include "confdefs.h"
9606 #include "$srcdir/getloadavg.c" 9600 #include "$srcdir/getloadavg.c"
9607 #ifdef LDAV_PRIVILEGED 9601 #ifdef LDAV_PRIVILEGED
9608 Yowza Am I SETGID yet 9602 Yowza Am I SETGID yet
9609 #endif 9603 #endif
9615 ac_cv_func_getloadavg_setgid=no 9609 ac_cv_func_getloadavg_setgid=no
9616 fi 9610 fi
9617 rm -f conftest* 9611 rm -f conftest*
9618 9612
9619 fi 9613 fi
9620 echo "$as_me:9620: result: $ac_cv_func_getloadavg_setgid" >&5 9614 echo "$as_me:9614: result: $ac_cv_func_getloadavg_setgid" >&5
9621 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9615 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9622 if test $ac_cv_func_getloadavg_setgid = yes; then 9616 if test $ac_cv_func_getloadavg_setgid = yes; then
9623 NEED_SETGID=true 9617 NEED_SETGID=true
9624 9618
9625 cat >>confdefs.h <<\EOF 9619 cat >>confdefs.h <<\EOF
9629 else 9623 else
9630 NEED_SETGID=false 9624 NEED_SETGID=false
9631 fi 9625 fi
9632 9626
9633 if test $ac_cv_func_getloadavg_setgid = yes; then 9627 if test $ac_cv_func_getloadavg_setgid = yes; then
9634 echo "$as_me:9634: checking group of /dev/kmem" >&5 9628 echo "$as_me:9628: checking group of /dev/kmem" >&5
9635 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9629 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9636 if test "${ac_cv_group_kmem+set}" = set; then 9630 if test "${ac_cv_group_kmem+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6 9631 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 else 9632 else
9639 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9633 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9644 | sed -ne 's/[ ][ ]*/ /g; 9638 | sed -ne 's/[ ][ ]*/ /g;
9645 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9639 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9646 / /s/.* //;p;'` 9640 / /s/.* //;p;'`
9647 9641
9648 fi 9642 fi
9649 echo "$as_me:9649: result: $ac_cv_group_kmem" >&5 9643 echo "$as_me:9643: result: $ac_cv_group_kmem" >&5
9650 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9644 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9651 KMEM_GROUP=$ac_cv_group_kmem 9645 KMEM_GROUP=$ac_cv_group_kmem
9652 fi 9646 fi
9653 if test "x$ac_save_LIBS" = x; then 9647 if test "x$ac_save_LIBS" = x; then
9654 GETLOADAVG_LIBS=$LIBS 9648 GETLOADAVG_LIBS=$LIBS
9655 else 9649 else
9656 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9650 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9657 fi 9651 fi
9658 LIBS=$ac_save_LIBS 9652 LIBS=$ac_save_LIBS
9659 9653
9660 echo "$as_me:9660: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9654 echo "$as_me:9654: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9661 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9655 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9662 if test "${ac_cv_sys_largefile_source+set}" = set; then 9656 if test "${ac_cv_sys_largefile_source+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6 9657 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 else 9658 else
9665 while :; do 9659 while :; do
9666 ac_cv_sys_largefile_source=no 9660 ac_cv_sys_largefile_source=no
9667 cat >conftest.$ac_ext <<_ACEOF 9661 cat >conftest.$ac_ext <<_ACEOF
9668 #line 9668 "configure" 9662 #line 9662 "configure"
9669 #include "confdefs.h" 9663 #include "confdefs.h"
9670 #include <stdio.h> 9664 #include <stdio.h>
9671 int 9665 int
9672 main () 9666 main ()
9673 { 9667 {
9675 ; 9669 ;
9676 return 0; 9670 return 0;
9677 } 9671 }
9678 _ACEOF 9672 _ACEOF
9679 rm -f conftest.$ac_objext 9673 rm -f conftest.$ac_objext
9680 if { (eval echo "$as_me:9680: \"$ac_compile\"") >&5 9674 if { (eval echo "$as_me:9674: \"$ac_compile\"") >&5
9681 (eval $ac_compile) 2>&5 9675 (eval $ac_compile) 2>&5
9682 ac_status=$? 9676 ac_status=$?
9683 echo "$as_me:9683: \$? = $ac_status" >&5 9677 echo "$as_me:9677: \$? = $ac_status" >&5
9684 (exit $ac_status); } && 9678 (exit $ac_status); } &&
9685 { ac_try='test -s conftest.$ac_objext' 9679 { ac_try='test -s conftest.$ac_objext'
9686 { (eval echo "$as_me:9686: \"$ac_try\"") >&5 9680 { (eval echo "$as_me:9680: \"$ac_try\"") >&5
9687 (eval $ac_try) 2>&5 9681 (eval $ac_try) 2>&5
9688 ac_status=$? 9682 ac_status=$?
9689 echo "$as_me:9689: \$? = $ac_status" >&5 9683 echo "$as_me:9683: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then 9684 (exit $ac_status); }; }; then
9691 break 9685 break
9692 else 9686 else
9693 echo "$as_me: failed program was:" >&5 9687 echo "$as_me: failed program was:" >&5
9694 cat conftest.$ac_ext >&5 9688 cat conftest.$ac_ext >&5
9695 fi 9689 fi
9696 rm -f conftest.$ac_objext conftest.$ac_ext 9690 rm -f conftest.$ac_objext conftest.$ac_ext
9697 cat >conftest.$ac_ext <<_ACEOF 9691 cat >conftest.$ac_ext <<_ACEOF
9698 #line 9698 "configure" 9692 #line 9692 "configure"
9699 #include "confdefs.h" 9693 #include "confdefs.h"
9700 #define _LARGEFILE_SOURCE 1 9694 #define _LARGEFILE_SOURCE 1
9701 #include <stdio.h> 9695 #include <stdio.h>
9702 int 9696 int
9703 main () 9697 main ()
9706 ; 9700 ;
9707 return 0; 9701 return 0;
9708 } 9702 }
9709 _ACEOF 9703 _ACEOF
9710 rm -f conftest.$ac_objext 9704 rm -f conftest.$ac_objext
9711 if { (eval echo "$as_me:9711: \"$ac_compile\"") >&5 9705 if { (eval echo "$as_me:9705: \"$ac_compile\"") >&5
9712 (eval $ac_compile) 2>&5 9706 (eval $ac_compile) 2>&5
9713 ac_status=$? 9707 ac_status=$?
9714 echo "$as_me:9714: \$? = $ac_status" >&5 9708 echo "$as_me:9708: \$? = $ac_status" >&5
9715 (exit $ac_status); } && 9709 (exit $ac_status); } &&
9716 { ac_try='test -s conftest.$ac_objext' 9710 { ac_try='test -s conftest.$ac_objext'
9717 { (eval echo "$as_me:9717: \"$ac_try\"") >&5 9711 { (eval echo "$as_me:9711: \"$ac_try\"") >&5
9718 (eval $ac_try) 2>&5 9712 (eval $ac_try) 2>&5
9719 ac_status=$? 9713 ac_status=$?
9720 echo "$as_me:9720: \$? = $ac_status" >&5 9714 echo "$as_me:9714: \$? = $ac_status" >&5
9721 (exit $ac_status); }; }; then 9715 (exit $ac_status); }; }; then
9722 ac_cv_sys_largefile_source=1; break 9716 ac_cv_sys_largefile_source=1; break
9723 else 9717 else
9724 echo "$as_me: failed program was:" >&5 9718 echo "$as_me: failed program was:" >&5
9725 cat conftest.$ac_ext >&5 9719 cat conftest.$ac_ext >&5
9726 fi 9720 fi
9727 rm -f conftest.$ac_objext conftest.$ac_ext 9721 rm -f conftest.$ac_objext conftest.$ac_ext
9728 break 9722 break
9729 done 9723 done
9730 fi 9724 fi
9731 echo "$as_me:9731: result: $ac_cv_sys_largefile_source" >&5 9725 echo "$as_me:9725: result: $ac_cv_sys_largefile_source" >&5
9732 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 9726 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9733 if test "$ac_cv_sys_largefile_source" != no; then 9727 if test "$ac_cv_sys_largefile_source" != no; then
9734 9728
9735 cat >>confdefs.h <<EOF 9729 cat >>confdefs.h <<EOF
9736 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 9730 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9740 rm -f conftest* 9734 rm -f conftest*
9741 9735
9742 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 9736 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9743 # in glibc 2.1.3, but that breaks too many other things. 9737 # in glibc 2.1.3, but that breaks too many other things.
9744 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 9738 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9745 echo "$as_me:9745: checking for fseeko" >&5 9739 echo "$as_me:9739: checking for fseeko" >&5
9746 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 9740 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9747 if test "${ac_cv_func_fseeko+set}" = set; then 9741 if test "${ac_cv_func_fseeko+set}" = set; then
9748 echo $ECHO_N "(cached) $ECHO_C" >&6 9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9749 else 9743 else
9750 cat >conftest.$ac_ext <<_ACEOF 9744 cat >conftest.$ac_ext <<_ACEOF
9751 #line 9751 "configure" 9745 #line 9745 "configure"
9752 #include "confdefs.h" 9746 #include "confdefs.h"
9753 #include <stdio.h> 9747 #include <stdio.h>
9754 int 9748 int
9755 main () 9749 main ()
9756 { 9750 {
9758 ; 9752 ;
9759 return 0; 9753 return 0;
9760 } 9754 }
9761 _ACEOF 9755 _ACEOF
9762 rm -f conftest.$ac_objext conftest$ac_exeext 9756 rm -f conftest.$ac_objext conftest$ac_exeext
9763 if { (eval echo "$as_me:9763: \"$ac_link\"") >&5 9757 if { (eval echo "$as_me:9757: \"$ac_link\"") >&5
9764 (eval $ac_link) 2>&5 9758 (eval $ac_link) 2>&5
9765 ac_status=$? 9759 ac_status=$?
9766 echo "$as_me:9766: \$? = $ac_status" >&5 9760 echo "$as_me:9760: \$? = $ac_status" >&5
9767 (exit $ac_status); } && 9761 (exit $ac_status); } &&
9768 { ac_try='test -s conftest$ac_exeext' 9762 { ac_try='test -s conftest$ac_exeext'
9769 { (eval echo "$as_me:9769: \"$ac_try\"") >&5 9763 { (eval echo "$as_me:9763: \"$ac_try\"") >&5
9770 (eval $ac_try) 2>&5 9764 (eval $ac_try) 2>&5
9771 ac_status=$? 9765 ac_status=$?
9772 echo "$as_me:9772: \$? = $ac_status" >&5 9766 echo "$as_me:9766: \$? = $ac_status" >&5
9773 (exit $ac_status); }; }; then 9767 (exit $ac_status); }; }; then
9774 ac_cv_func_fseeko=yes 9768 ac_cv_func_fseeko=yes
9775 else 9769 else
9776 echo "$as_me: failed program was:" >&5 9770 echo "$as_me: failed program was:" >&5
9777 cat conftest.$ac_ext >&5 9771 cat conftest.$ac_ext >&5
9778 ac_cv_func_fseeko=no 9772 ac_cv_func_fseeko=no
9779 fi 9773 fi
9780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9781 fi 9775 fi
9782 echo "$as_me:9782: result: $ac_cv_func_fseeko" >&5 9776 echo "$as_me:9776: result: $ac_cv_func_fseeko" >&5
9783 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 9777 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9784 if test $ac_cv_func_fseeko = yes; then 9778 if test $ac_cv_func_fseeko = yes; then
9785 9779
9786 cat >>confdefs.h <<\EOF 9780 cat >>confdefs.h <<\EOF
9787 #define HAVE_FSEEKO 1 9781 #define HAVE_FSEEKO 1
9792 # UNIX98 PTYs. 9786 # UNIX98 PTYs.
9793 9787
9794 for ac_func in grantpt 9788 for ac_func in grantpt
9795 do 9789 do
9796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9797 echo "$as_me:9797: checking for $ac_func" >&5 9791 echo "$as_me:9791: checking for $ac_func" >&5
9798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9799 if eval "test \"\${$as_ac_var+set}\" = set"; then 9793 if eval "test \"\${$as_ac_var+set}\" = set"; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6 9794 echo $ECHO_N "(cached) $ECHO_C" >&6
9801 else 9795 else
9802 cat >conftest.$ac_ext <<_ACEOF 9796 cat >conftest.$ac_ext <<_ACEOF
9803 #line 9803 "configure" 9797 #line 9797 "configure"
9804 #include "confdefs.h" 9798 #include "confdefs.h"
9805 /* System header to define __stub macros and hopefully few prototypes, 9799 /* System header to define __stub macros and hopefully few prototypes,
9806 which can conflict with char $ac_func (); below. */ 9800 which can conflict with char $ac_func (); below. */
9807 #include <assert.h> 9801 #include <assert.h>
9808 /* Override any gcc2 internal prototype to avoid an error. */ 9802 /* Override any gcc2 internal prototype to avoid an error. */
9829 ; 9823 ;
9830 return 0; 9824 return 0;
9831 } 9825 }
9832 _ACEOF 9826 _ACEOF
9833 rm -f conftest.$ac_objext conftest$ac_exeext 9827 rm -f conftest.$ac_objext conftest$ac_exeext
9834 if { (eval echo "$as_me:9834: \"$ac_link\"") >&5 9828 if { (eval echo "$as_me:9828: \"$ac_link\"") >&5
9835 (eval $ac_link) 2>&5 9829 (eval $ac_link) 2>&5
9836 ac_status=$? 9830 ac_status=$?
9837 echo "$as_me:9837: \$? = $ac_status" >&5 9831 echo "$as_me:9831: \$? = $ac_status" >&5
9838 (exit $ac_status); } && 9832 (exit $ac_status); } &&
9839 { ac_try='test -s conftest$ac_exeext' 9833 { ac_try='test -s conftest$ac_exeext'
9840 { (eval echo "$as_me:9840: \"$ac_try\"") >&5 9834 { (eval echo "$as_me:9834: \"$ac_try\"") >&5
9841 (eval $ac_try) 2>&5 9835 (eval $ac_try) 2>&5
9842 ac_status=$? 9836 ac_status=$?
9843 echo "$as_me:9843: \$? = $ac_status" >&5 9837 echo "$as_me:9837: \$? = $ac_status" >&5
9844 (exit $ac_status); }; }; then 9838 (exit $ac_status); }; }; then
9845 eval "$as_ac_var=yes" 9839 eval "$as_ac_var=yes"
9846 else 9840 else
9847 echo "$as_me: failed program was:" >&5 9841 echo "$as_me: failed program was:" >&5
9848 cat conftest.$ac_ext >&5 9842 cat conftest.$ac_ext >&5
9849 eval "$as_ac_var=no" 9843 eval "$as_ac_var=no"
9850 fi 9844 fi
9851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9852 fi 9846 fi
9853 echo "$as_me:9853: result: `eval echo '${'$as_ac_var'}'`" >&5 9847 echo "$as_me:9847: result: `eval echo '${'$as_ac_var'}'`" >&5
9854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9855 if test `eval echo '${'$as_ac_var'}'` = yes; then 9849 if test `eval echo '${'$as_ac_var'}'` = yes; then
9856 cat >>confdefs.h <<EOF 9850 cat >>confdefs.h <<EOF
9857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9858 EOF 9852 EOF
9863 # PTY-related GNU extensions. 9857 # PTY-related GNU extensions.
9864 9858
9865 for ac_func in getpt 9859 for ac_func in getpt
9866 do 9860 do
9867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9868 echo "$as_me:9868: checking for $ac_func" >&5 9862 echo "$as_me:9862: checking for $ac_func" >&5
9869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9870 if eval "test \"\${$as_ac_var+set}\" = set"; then 9864 if eval "test \"\${$as_ac_var+set}\" = set"; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6 9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 else 9866 else
9873 cat >conftest.$ac_ext <<_ACEOF 9867 cat >conftest.$ac_ext <<_ACEOF
9874 #line 9874 "configure" 9868 #line 9868 "configure"
9875 #include "confdefs.h" 9869 #include "confdefs.h"
9876 /* System header to define __stub macros and hopefully few prototypes, 9870 /* System header to define __stub macros and hopefully few prototypes,
9877 which can conflict with char $ac_func (); below. */ 9871 which can conflict with char $ac_func (); below. */
9878 #include <assert.h> 9872 #include <assert.h>
9879 /* Override any gcc2 internal prototype to avoid an error. */ 9873 /* Override any gcc2 internal prototype to avoid an error. */
9900 ; 9894 ;
9901 return 0; 9895 return 0;
9902 } 9896 }
9903 _ACEOF 9897 _ACEOF
9904 rm -f conftest.$ac_objext conftest$ac_exeext 9898 rm -f conftest.$ac_objext conftest$ac_exeext
9905 if { (eval echo "$as_me:9905: \"$ac_link\"") >&5 9899 if { (eval echo "$as_me:9899: \"$ac_link\"") >&5
9906 (eval $ac_link) 2>&5 9900 (eval $ac_link) 2>&5
9907 ac_status=$? 9901 ac_status=$?
9908 echo "$as_me:9908: \$? = $ac_status" >&5 9902 echo "$as_me:9902: \$? = $ac_status" >&5
9909 (exit $ac_status); } && 9903 (exit $ac_status); } &&
9910 { ac_try='test -s conftest$ac_exeext' 9904 { ac_try='test -s conftest$ac_exeext'
9911 { (eval echo "$as_me:9911: \"$ac_try\"") >&5 9905 { (eval echo "$as_me:9905: \"$ac_try\"") >&5
9912 (eval $ac_try) 2>&5 9906 (eval $ac_try) 2>&5
9913 ac_status=$? 9907 ac_status=$?
9914 echo "$as_me:9914: \$? = $ac_status" >&5 9908 echo "$as_me:9908: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then 9909 (exit $ac_status); }; }; then
9916 eval "$as_ac_var=yes" 9910 eval "$as_ac_var=yes"
9917 else 9911 else
9918 echo "$as_me: failed program was:" >&5 9912 echo "$as_me: failed program was:" >&5
9919 cat conftest.$ac_ext >&5 9913 cat conftest.$ac_ext >&5
9920 eval "$as_ac_var=no" 9914 eval "$as_ac_var=no"
9921 fi 9915 fi
9922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9923 fi 9917 fi
9924 echo "$as_me:9924: result: `eval echo '${'$as_ac_var'}'`" >&5 9918 echo "$as_me:9918: result: `eval echo '${'$as_ac_var'}'`" >&5
9925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9926 if test `eval echo '${'$as_ac_var'}'` = yes; then 9920 if test `eval echo '${'$as_ac_var'}'` = yes; then
9927 cat >>confdefs.h <<EOF 9921 cat >>confdefs.h <<EOF
9928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9929 EOF 9923 EOF
9934 # Check this now, so that we will NOT find the above functions in ncurses. 9928 # Check this now, so that we will NOT find the above functions in ncurses.
9935 # That is because we have not set up to link ncurses in lib-src. 9929 # That is because we have not set up to link ncurses in lib-src.
9936 # It's better to believe a function is not available 9930 # It's better to believe a function is not available
9937 # than to expect to find it in ncurses. 9931 # than to expect to find it in ncurses.
9938 9932
9939 echo "$as_me:9939: checking for tparm in -lncurses" >&5 9933 echo "$as_me:9933: checking for tparm in -lncurses" >&5
9940 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 9934 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9941 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 9935 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6 9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 else 9937 else
9944 ac_check_lib_save_LIBS=$LIBS 9938 ac_check_lib_save_LIBS=$LIBS
9945 LIBS="-lncurses $LIBS" 9939 LIBS="-lncurses $LIBS"
9946 cat >conftest.$ac_ext <<_ACEOF 9940 cat >conftest.$ac_ext <<_ACEOF
9947 #line 9947 "configure" 9941 #line 9941 "configure"
9948 #include "confdefs.h" 9942 #include "confdefs.h"
9949 9943
9950 /* Override any gcc2 internal prototype to avoid an error. */ 9944 /* Override any gcc2 internal prototype to avoid an error. */
9951 #ifdef __cplusplus 9945 #ifdef __cplusplus
9952 extern "C" 9946 extern "C"
9961 ; 9955 ;
9962 return 0; 9956 return 0;
9963 } 9957 }
9964 _ACEOF 9958 _ACEOF
9965 rm -f conftest.$ac_objext conftest$ac_exeext 9959 rm -f conftest.$ac_objext conftest$ac_exeext
9966 if { (eval echo "$as_me:9966: \"$ac_link\"") >&5 9960 if { (eval echo "$as_me:9960: \"$ac_link\"") >&5
9967 (eval $ac_link) 2>&5 9961 (eval $ac_link) 2>&5
9968 ac_status=$? 9962 ac_status=$?
9969 echo "$as_me:9969: \$? = $ac_status" >&5 9963 echo "$as_me:9963: \$? = $ac_status" >&5
9970 (exit $ac_status); } && 9964 (exit $ac_status); } &&
9971 { ac_try='test -s conftest$ac_exeext' 9965 { ac_try='test -s conftest$ac_exeext'
9972 { (eval echo "$as_me:9972: \"$ac_try\"") >&5 9966 { (eval echo "$as_me:9966: \"$ac_try\"") >&5
9973 (eval $ac_try) 2>&5 9967 (eval $ac_try) 2>&5
9974 ac_status=$? 9968 ac_status=$?
9975 echo "$as_me:9975: \$? = $ac_status" >&5 9969 echo "$as_me:9969: \$? = $ac_status" >&5
9976 (exit $ac_status); }; }; then 9970 (exit $ac_status); }; }; then
9977 ac_cv_lib_ncurses_tparm=yes 9971 ac_cv_lib_ncurses_tparm=yes
9978 else 9972 else
9979 echo "$as_me: failed program was:" >&5 9973 echo "$as_me: failed program was:" >&5
9980 cat conftest.$ac_ext >&5 9974 cat conftest.$ac_ext >&5
9981 ac_cv_lib_ncurses_tparm=no 9975 ac_cv_lib_ncurses_tparm=no
9982 fi 9976 fi
9983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9984 LIBS=$ac_check_lib_save_LIBS 9978 LIBS=$ac_check_lib_save_LIBS
9985 fi 9979 fi
9986 echo "$as_me:9986: result: $ac_cv_lib_ncurses_tparm" >&5 9980 echo "$as_me:9980: result: $ac_cv_lib_ncurses_tparm" >&5
9987 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 9981 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9988 if test $ac_cv_lib_ncurses_tparm = yes; then 9982 if test $ac_cv_lib_ncurses_tparm = yes; then
9989 cat >>confdefs.h <<EOF 9983 cat >>confdefs.h <<EOF
9990 #define HAVE_LIBNCURSES 1 9984 #define HAVE_LIBNCURSES 1
9991 EOF 9985 EOF
9996 9990
9997 # Do we need the Hesiod library to provide the support routines? 9991 # Do we need the Hesiod library to provide the support routines?
9998 if test "$with_hesiod" = yes ; then 9992 if test "$with_hesiod" = yes ; then
9999 # Don't set $LIBS here -- see comments above. 9993 # Don't set $LIBS here -- see comments above.
10000 resolv=no 9994 resolv=no
10001 echo "$as_me:10001: checking for res_send" >&5 9995 echo "$as_me:9995: checking for res_send" >&5
10002 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 9996 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10003 if test "${ac_cv_func_res_send+set}" = set; then 9997 if test "${ac_cv_func_res_send+set}" = set; then
10004 echo $ECHO_N "(cached) $ECHO_C" >&6 9998 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 else 9999 else
10006 cat >conftest.$ac_ext <<_ACEOF 10000 cat >conftest.$ac_ext <<_ACEOF
10007 #line 10007 "configure" 10001 #line 10001 "configure"
10008 #include "confdefs.h" 10002 #include "confdefs.h"
10009 /* System header to define __stub macros and hopefully few prototypes, 10003 /* System header to define __stub macros and hopefully few prototypes,
10010 which can conflict with char res_send (); below. */ 10004 which can conflict with char res_send (); below. */
10011 #include <assert.h> 10005 #include <assert.h>
10012 /* Override any gcc2 internal prototype to avoid an error. */ 10006 /* Override any gcc2 internal prototype to avoid an error. */
10033 ; 10027 ;
10034 return 0; 10028 return 0;
10035 } 10029 }
10036 _ACEOF 10030 _ACEOF
10037 rm -f conftest.$ac_objext conftest$ac_exeext 10031 rm -f conftest.$ac_objext conftest$ac_exeext
10038 if { (eval echo "$as_me:10038: \"$ac_link\"") >&5 10032 if { (eval echo "$as_me:10032: \"$ac_link\"") >&5
10039 (eval $ac_link) 2>&5 10033 (eval $ac_link) 2>&5
10040 ac_status=$? 10034 ac_status=$?
10041 echo "$as_me:10041: \$? = $ac_status" >&5 10035 echo "$as_me:10035: \$? = $ac_status" >&5
10042 (exit $ac_status); } && 10036 (exit $ac_status); } &&
10043 { ac_try='test -s conftest$ac_exeext' 10037 { ac_try='test -s conftest$ac_exeext'
10044 { (eval echo "$as_me:10044: \"$ac_try\"") >&5 10038 { (eval echo "$as_me:10038: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5 10039 (eval $ac_try) 2>&5
10046 ac_status=$? 10040 ac_status=$?
10047 echo "$as_me:10047: \$? = $ac_status" >&5 10041 echo "$as_me:10041: \$? = $ac_status" >&5
10048 (exit $ac_status); }; }; then 10042 (exit $ac_status); }; }; then
10049 ac_cv_func_res_send=yes 10043 ac_cv_func_res_send=yes
10050 else 10044 else
10051 echo "$as_me: failed program was:" >&5 10045 echo "$as_me: failed program was:" >&5
10052 cat conftest.$ac_ext >&5 10046 cat conftest.$ac_ext >&5
10053 ac_cv_func_res_send=no 10047 ac_cv_func_res_send=no
10054 fi 10048 fi
10055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10056 fi 10050 fi
10057 echo "$as_me:10057: result: $ac_cv_func_res_send" >&5 10051 echo "$as_me:10051: result: $ac_cv_func_res_send" >&5
10058 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10052 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10059 if test $ac_cv_func_res_send = yes; then 10053 if test $ac_cv_func_res_send = yes; then
10060 : 10054 :
10061 else 10055 else
10062 echo "$as_me:10062: checking for __res_send" >&5 10056 echo "$as_me:10056: checking for __res_send" >&5
10063 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10057 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10064 if test "${ac_cv_func___res_send+set}" = set; then 10058 if test "${ac_cv_func___res_send+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6 10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 else 10060 else
10067 cat >conftest.$ac_ext <<_ACEOF 10061 cat >conftest.$ac_ext <<_ACEOF
10068 #line 10068 "configure" 10062 #line 10062 "configure"
10069 #include "confdefs.h" 10063 #include "confdefs.h"
10070 /* System header to define __stub macros and hopefully few prototypes, 10064 /* System header to define __stub macros and hopefully few prototypes,
10071 which can conflict with char __res_send (); below. */ 10065 which can conflict with char __res_send (); below. */
10072 #include <assert.h> 10066 #include <assert.h>
10073 /* Override any gcc2 internal prototype to avoid an error. */ 10067 /* Override any gcc2 internal prototype to avoid an error. */
10094 ; 10088 ;
10095 return 0; 10089 return 0;
10096 } 10090 }
10097 _ACEOF 10091 _ACEOF
10098 rm -f conftest.$ac_objext conftest$ac_exeext 10092 rm -f conftest.$ac_objext conftest$ac_exeext
10099 if { (eval echo "$as_me:10099: \"$ac_link\"") >&5 10093 if { (eval echo "$as_me:10093: \"$ac_link\"") >&5
10100 (eval $ac_link) 2>&5 10094 (eval $ac_link) 2>&5
10101 ac_status=$? 10095 ac_status=$?
10102 echo "$as_me:10102: \$? = $ac_status" >&5 10096 echo "$as_me:10096: \$? = $ac_status" >&5
10103 (exit $ac_status); } && 10097 (exit $ac_status); } &&
10104 { ac_try='test -s conftest$ac_exeext' 10098 { ac_try='test -s conftest$ac_exeext'
10105 { (eval echo "$as_me:10105: \"$ac_try\"") >&5 10099 { (eval echo "$as_me:10099: \"$ac_try\"") >&5
10106 (eval $ac_try) 2>&5 10100 (eval $ac_try) 2>&5
10107 ac_status=$? 10101 ac_status=$?
10108 echo "$as_me:10108: \$? = $ac_status" >&5 10102 echo "$as_me:10102: \$? = $ac_status" >&5
10109 (exit $ac_status); }; }; then 10103 (exit $ac_status); }; }; then
10110 ac_cv_func___res_send=yes 10104 ac_cv_func___res_send=yes
10111 else 10105 else
10112 echo "$as_me: failed program was:" >&5 10106 echo "$as_me: failed program was:" >&5
10113 cat conftest.$ac_ext >&5 10107 cat conftest.$ac_ext >&5
10114 ac_cv_func___res_send=no 10108 ac_cv_func___res_send=no
10115 fi 10109 fi
10116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10117 fi 10111 fi
10118 echo "$as_me:10118: result: $ac_cv_func___res_send" >&5 10112 echo "$as_me:10112: result: $ac_cv_func___res_send" >&5
10119 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10113 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10120 if test $ac_cv_func___res_send = yes; then 10114 if test $ac_cv_func___res_send = yes; then
10121 : 10115 :
10122 else 10116 else
10123 echo "$as_me:10123: checking for res_send in -lresolv" >&5 10117 echo "$as_me:10117: checking for res_send in -lresolv" >&5
10124 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10118 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10125 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10119 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6 10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10127 else 10121 else
10128 ac_check_lib_save_LIBS=$LIBS 10122 ac_check_lib_save_LIBS=$LIBS
10129 LIBS="-lresolv $LIBS" 10123 LIBS="-lresolv $LIBS"
10130 cat >conftest.$ac_ext <<_ACEOF 10124 cat >conftest.$ac_ext <<_ACEOF
10131 #line 10131 "configure" 10125 #line 10125 "configure"
10132 #include "confdefs.h" 10126 #include "confdefs.h"
10133 10127
10134 /* Override any gcc2 internal prototype to avoid an error. */ 10128 /* Override any gcc2 internal prototype to avoid an error. */
10135 #ifdef __cplusplus 10129 #ifdef __cplusplus
10136 extern "C" 10130 extern "C"
10145 ; 10139 ;
10146 return 0; 10140 return 0;
10147 } 10141 }
10148 _ACEOF 10142 _ACEOF
10149 rm -f conftest.$ac_objext conftest$ac_exeext 10143 rm -f conftest.$ac_objext conftest$ac_exeext
10150 if { (eval echo "$as_me:10150: \"$ac_link\"") >&5 10144 if { (eval echo "$as_me:10144: \"$ac_link\"") >&5
10151 (eval $ac_link) 2>&5 10145 (eval $ac_link) 2>&5
10152 ac_status=$? 10146 ac_status=$?
10153 echo "$as_me:10153: \$? = $ac_status" >&5 10147 echo "$as_me:10147: \$? = $ac_status" >&5
10154 (exit $ac_status); } && 10148 (exit $ac_status); } &&
10155 { ac_try='test -s conftest$ac_exeext' 10149 { ac_try='test -s conftest$ac_exeext'
10156 { (eval echo "$as_me:10156: \"$ac_try\"") >&5 10150 { (eval echo "$as_me:10150: \"$ac_try\"") >&5
10157 (eval $ac_try) 2>&5 10151 (eval $ac_try) 2>&5
10158 ac_status=$? 10152 ac_status=$?
10159 echo "$as_me:10159: \$? = $ac_status" >&5 10153 echo "$as_me:10153: \$? = $ac_status" >&5
10160 (exit $ac_status); }; }; then 10154 (exit $ac_status); }; }; then
10161 ac_cv_lib_resolv_res_send=yes 10155 ac_cv_lib_resolv_res_send=yes
10162 else 10156 else
10163 echo "$as_me: failed program was:" >&5 10157 echo "$as_me: failed program was:" >&5
10164 cat conftest.$ac_ext >&5 10158 cat conftest.$ac_ext >&5
10165 ac_cv_lib_resolv_res_send=no 10159 ac_cv_lib_resolv_res_send=no
10166 fi 10160 fi
10167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10161 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10168 LIBS=$ac_check_lib_save_LIBS 10162 LIBS=$ac_check_lib_save_LIBS
10169 fi 10163 fi
10170 echo "$as_me:10170: result: $ac_cv_lib_resolv_res_send" >&5 10164 echo "$as_me:10164: result: $ac_cv_lib_resolv_res_send" >&5
10171 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10165 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10172 if test $ac_cv_lib_resolv_res_send = yes; then 10166 if test $ac_cv_lib_resolv_res_send = yes; then
10173 resolv=yes 10167 resolv=yes
10174 else 10168 else
10175 echo "$as_me:10175: checking for __res_send in -lresolv" >&5 10169 echo "$as_me:10169: checking for __res_send in -lresolv" >&5
10176 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10170 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10177 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10171 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6 10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else 10173 else
10180 ac_check_lib_save_LIBS=$LIBS 10174 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lresolv $LIBS" 10175 LIBS="-lresolv $LIBS"
10182 cat >conftest.$ac_ext <<_ACEOF 10176 cat >conftest.$ac_ext <<_ACEOF
10183 #line 10183 "configure" 10177 #line 10177 "configure"
10184 #include "confdefs.h" 10178 #include "confdefs.h"
10185 10179
10186 /* Override any gcc2 internal prototype to avoid an error. */ 10180 /* Override any gcc2 internal prototype to avoid an error. */
10187 #ifdef __cplusplus 10181 #ifdef __cplusplus
10188 extern "C" 10182 extern "C"
10197 ; 10191 ;
10198 return 0; 10192 return 0;
10199 } 10193 }
10200 _ACEOF 10194 _ACEOF
10201 rm -f conftest.$ac_objext conftest$ac_exeext 10195 rm -f conftest.$ac_objext conftest$ac_exeext
10202 if { (eval echo "$as_me:10202: \"$ac_link\"") >&5 10196 if { (eval echo "$as_me:10196: \"$ac_link\"") >&5
10203 (eval $ac_link) 2>&5 10197 (eval $ac_link) 2>&5
10204 ac_status=$? 10198 ac_status=$?
10205 echo "$as_me:10205: \$? = $ac_status" >&5 10199 echo "$as_me:10199: \$? = $ac_status" >&5
10206 (exit $ac_status); } && 10200 (exit $ac_status); } &&
10207 { ac_try='test -s conftest$ac_exeext' 10201 { ac_try='test -s conftest$ac_exeext'
10208 { (eval echo "$as_me:10208: \"$ac_try\"") >&5 10202 { (eval echo "$as_me:10202: \"$ac_try\"") >&5
10209 (eval $ac_try) 2>&5 10203 (eval $ac_try) 2>&5
10210 ac_status=$? 10204 ac_status=$?
10211 echo "$as_me:10211: \$? = $ac_status" >&5 10205 echo "$as_me:10205: \$? = $ac_status" >&5
10212 (exit $ac_status); }; }; then 10206 (exit $ac_status); }; }; then
10213 ac_cv_lib_resolv___res_send=yes 10207 ac_cv_lib_resolv___res_send=yes
10214 else 10208 else
10215 echo "$as_me: failed program was:" >&5 10209 echo "$as_me: failed program was:" >&5
10216 cat conftest.$ac_ext >&5 10210 cat conftest.$ac_ext >&5
10217 ac_cv_lib_resolv___res_send=no 10211 ac_cv_lib_resolv___res_send=no
10218 fi 10212 fi
10219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_lib_save_LIBS 10214 LIBS=$ac_check_lib_save_LIBS
10221 fi 10215 fi
10222 echo "$as_me:10222: result: $ac_cv_lib_resolv___res_send" >&5 10216 echo "$as_me:10216: result: $ac_cv_lib_resolv___res_send" >&5
10223 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10217 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10224 if test $ac_cv_lib_resolv___res_send = yes; then 10218 if test $ac_cv_lib_resolv___res_send = yes; then
10225 resolv=yes 10219 resolv=yes
10226 fi 10220 fi
10227 10221
10238 EOF 10232 EOF
10239 10233
10240 else 10234 else
10241 RESOLVLIB= 10235 RESOLVLIB=
10242 fi 10236 fi
10243 echo "$as_me:10243: checking for hes_getmailhost" >&5 10237 echo "$as_me:10237: checking for hes_getmailhost" >&5
10244 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10238 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10245 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10239 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6 10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10247 else 10241 else
10248 cat >conftest.$ac_ext <<_ACEOF 10242 cat >conftest.$ac_ext <<_ACEOF
10249 #line 10249 "configure" 10243 #line 10243 "configure"
10250 #include "confdefs.h" 10244 #include "confdefs.h"
10251 /* System header to define __stub macros and hopefully few prototypes, 10245 /* System header to define __stub macros and hopefully few prototypes,
10252 which can conflict with char hes_getmailhost (); below. */ 10246 which can conflict with char hes_getmailhost (); below. */
10253 #include <assert.h> 10247 #include <assert.h>
10254 /* Override any gcc2 internal prototype to avoid an error. */ 10248 /* Override any gcc2 internal prototype to avoid an error. */
10275 ; 10269 ;
10276 return 0; 10270 return 0;
10277 } 10271 }
10278 _ACEOF 10272 _ACEOF
10279 rm -f conftest.$ac_objext conftest$ac_exeext 10273 rm -f conftest.$ac_objext conftest$ac_exeext
10280 if { (eval echo "$as_me:10280: \"$ac_link\"") >&5 10274 if { (eval echo "$as_me:10274: \"$ac_link\"") >&5
10281 (eval $ac_link) 2>&5 10275 (eval $ac_link) 2>&5
10282 ac_status=$? 10276 ac_status=$?
10283 echo "$as_me:10283: \$? = $ac_status" >&5 10277 echo "$as_me:10277: \$? = $ac_status" >&5
10284 (exit $ac_status); } && 10278 (exit $ac_status); } &&
10285 { ac_try='test -s conftest$ac_exeext' 10279 { ac_try='test -s conftest$ac_exeext'
10286 { (eval echo "$as_me:10286: \"$ac_try\"") >&5 10280 { (eval echo "$as_me:10280: \"$ac_try\"") >&5
10287 (eval $ac_try) 2>&5 10281 (eval $ac_try) 2>&5
10288 ac_status=$? 10282 ac_status=$?
10289 echo "$as_me:10289: \$? = $ac_status" >&5 10283 echo "$as_me:10283: \$? = $ac_status" >&5
10290 (exit $ac_status); }; }; then 10284 (exit $ac_status); }; }; then
10291 ac_cv_func_hes_getmailhost=yes 10285 ac_cv_func_hes_getmailhost=yes
10292 else 10286 else
10293 echo "$as_me: failed program was:" >&5 10287 echo "$as_me: failed program was:" >&5
10294 cat conftest.$ac_ext >&5 10288 cat conftest.$ac_ext >&5
10295 ac_cv_func_hes_getmailhost=no 10289 ac_cv_func_hes_getmailhost=no
10296 fi 10290 fi
10297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10298 fi 10292 fi
10299 echo "$as_me:10299: result: $ac_cv_func_hes_getmailhost" >&5 10293 echo "$as_me:10293: result: $ac_cv_func_hes_getmailhost" >&5
10300 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10294 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10301 if test $ac_cv_func_hes_getmailhost = yes; then 10295 if test $ac_cv_func_hes_getmailhost = yes; then
10302 : 10296 :
10303 else 10297 else
10304 echo "$as_me:10304: checking for hes_getmailhost in -lhesiod" >&5 10298 echo "$as_me:10298: checking for hes_getmailhost in -lhesiod" >&5
10305 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10299 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10306 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10300 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6 10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 else 10302 else
10309 ac_check_lib_save_LIBS=$LIBS 10303 ac_check_lib_save_LIBS=$LIBS
10310 LIBS="-lhesiod $RESOLVLIB $LIBS" 10304 LIBS="-lhesiod $RESOLVLIB $LIBS"
10311 cat >conftest.$ac_ext <<_ACEOF 10305 cat >conftest.$ac_ext <<_ACEOF
10312 #line 10312 "configure" 10306 #line 10306 "configure"
10313 #include "confdefs.h" 10307 #include "confdefs.h"
10314 10308
10315 /* Override any gcc2 internal prototype to avoid an error. */ 10309 /* Override any gcc2 internal prototype to avoid an error. */
10316 #ifdef __cplusplus 10310 #ifdef __cplusplus
10317 extern "C" 10311 extern "C"
10326 ; 10320 ;
10327 return 0; 10321 return 0;
10328 } 10322 }
10329 _ACEOF 10323 _ACEOF
10330 rm -f conftest.$ac_objext conftest$ac_exeext 10324 rm -f conftest.$ac_objext conftest$ac_exeext
10331 if { (eval echo "$as_me:10331: \"$ac_link\"") >&5 10325 if { (eval echo "$as_me:10325: \"$ac_link\"") >&5
10332 (eval $ac_link) 2>&5 10326 (eval $ac_link) 2>&5
10333 ac_status=$? 10327 ac_status=$?
10334 echo "$as_me:10334: \$? = $ac_status" >&5 10328 echo "$as_me:10328: \$? = $ac_status" >&5
10335 (exit $ac_status); } && 10329 (exit $ac_status); } &&
10336 { ac_try='test -s conftest$ac_exeext' 10330 { ac_try='test -s conftest$ac_exeext'
10337 { (eval echo "$as_me:10337: \"$ac_try\"") >&5 10331 { (eval echo "$as_me:10331: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5 10332 (eval $ac_try) 2>&5
10339 ac_status=$? 10333 ac_status=$?
10340 echo "$as_me:10340: \$? = $ac_status" >&5 10334 echo "$as_me:10334: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then 10335 (exit $ac_status); }; }; then
10342 ac_cv_lib_hesiod_hes_getmailhost=yes 10336 ac_cv_lib_hesiod_hes_getmailhost=yes
10343 else 10337 else
10344 echo "$as_me: failed program was:" >&5 10338 echo "$as_me: failed program was:" >&5
10345 cat conftest.$ac_ext >&5 10339 cat conftest.$ac_ext >&5
10346 ac_cv_lib_hesiod_hes_getmailhost=no 10340 ac_cv_lib_hesiod_hes_getmailhost=no
10347 fi 10341 fi
10348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10349 LIBS=$ac_check_lib_save_LIBS 10343 LIBS=$ac_check_lib_save_LIBS
10350 fi 10344 fi
10351 echo "$as_me:10351: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10345 echo "$as_me:10345: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10352 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10346 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10353 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10347 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10354 cat >>confdefs.h <<\EOF 10348 cat >>confdefs.h <<\EOF
10355 #define HAVE_LIBHESIOD 1 10349 #define HAVE_LIBHESIOD 1
10356 EOF 10350 EOF
10364 fi 10358 fi
10365 10359
10366 # These tell us which Kerberos-related libraries to use. 10360 # These tell us which Kerberos-related libraries to use.
10367 if test "${with_kerberos+set}" = set; then 10361 if test "${with_kerberos+set}" = set; then
10368 10362
10369 echo "$as_me:10369: checking for com_err in -lcom_err" >&5 10363 echo "$as_me:10363: checking for com_err in -lcom_err" >&5
10370 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10364 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10371 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10365 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10372 echo $ECHO_N "(cached) $ECHO_C" >&6 10366 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 else 10367 else
10374 ac_check_lib_save_LIBS=$LIBS 10368 ac_check_lib_save_LIBS=$LIBS
10375 LIBS="-lcom_err $LIBS" 10369 LIBS="-lcom_err $LIBS"
10376 cat >conftest.$ac_ext <<_ACEOF 10370 cat >conftest.$ac_ext <<_ACEOF
10377 #line 10377 "configure" 10371 #line 10371 "configure"
10378 #include "confdefs.h" 10372 #include "confdefs.h"
10379 10373
10380 /* Override any gcc2 internal prototype to avoid an error. */ 10374 /* Override any gcc2 internal prototype to avoid an error. */
10381 #ifdef __cplusplus 10375 #ifdef __cplusplus
10382 extern "C" 10376 extern "C"
10391 ; 10385 ;
10392 return 0; 10386 return 0;
10393 } 10387 }
10394 _ACEOF 10388 _ACEOF
10395 rm -f conftest.$ac_objext conftest$ac_exeext 10389 rm -f conftest.$ac_objext conftest$ac_exeext
10396 if { (eval echo "$as_me:10396: \"$ac_link\"") >&5 10390 if { (eval echo "$as_me:10390: \"$ac_link\"") >&5
10397 (eval $ac_link) 2>&5 10391 (eval $ac_link) 2>&5
10398 ac_status=$? 10392 ac_status=$?
10399 echo "$as_me:10399: \$? = $ac_status" >&5 10393 echo "$as_me:10393: \$? = $ac_status" >&5
10400 (exit $ac_status); } && 10394 (exit $ac_status); } &&
10401 { ac_try='test -s conftest$ac_exeext' 10395 { ac_try='test -s conftest$ac_exeext'
10402 { (eval echo "$as_me:10402: \"$ac_try\"") >&5 10396 { (eval echo "$as_me:10396: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5 10397 (eval $ac_try) 2>&5
10404 ac_status=$? 10398 ac_status=$?
10405 echo "$as_me:10405: \$? = $ac_status" >&5 10399 echo "$as_me:10399: \$? = $ac_status" >&5
10406 (exit $ac_status); }; }; then 10400 (exit $ac_status); }; }; then
10407 ac_cv_lib_com_err_com_err=yes 10401 ac_cv_lib_com_err_com_err=yes
10408 else 10402 else
10409 echo "$as_me: failed program was:" >&5 10403 echo "$as_me: failed program was:" >&5
10410 cat conftest.$ac_ext >&5 10404 cat conftest.$ac_ext >&5
10411 ac_cv_lib_com_err_com_err=no 10405 ac_cv_lib_com_err_com_err=no
10412 fi 10406 fi
10413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10414 LIBS=$ac_check_lib_save_LIBS 10408 LIBS=$ac_check_lib_save_LIBS
10415 fi 10409 fi
10416 echo "$as_me:10416: result: $ac_cv_lib_com_err_com_err" >&5 10410 echo "$as_me:10410: result: $ac_cv_lib_com_err_com_err" >&5
10417 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10411 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10418 if test $ac_cv_lib_com_err_com_err = yes; then 10412 if test $ac_cv_lib_com_err_com_err = yes; then
10419 cat >>confdefs.h <<EOF 10413 cat >>confdefs.h <<EOF
10420 #define HAVE_LIBCOM_ERR 1 10414 #define HAVE_LIBCOM_ERR 1
10421 EOF 10415 EOF
10422 10416
10423 LIBS="-lcom_err $LIBS" 10417 LIBS="-lcom_err $LIBS"
10424 10418
10425 fi 10419 fi
10426 10420
10427 echo "$as_me:10427: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10421 echo "$as_me:10421: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10428 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10422 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10429 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10423 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6 10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10431 else 10425 else
10432 ac_check_lib_save_LIBS=$LIBS 10426 ac_check_lib_save_LIBS=$LIBS
10433 LIBS="-lk5crypto $LIBS" 10427 LIBS="-lk5crypto $LIBS"
10434 cat >conftest.$ac_ext <<_ACEOF 10428 cat >conftest.$ac_ext <<_ACEOF
10435 #line 10435 "configure" 10429 #line 10429 "configure"
10436 #include "confdefs.h" 10430 #include "confdefs.h"
10437 10431
10438 /* Override any gcc2 internal prototype to avoid an error. */ 10432 /* Override any gcc2 internal prototype to avoid an error. */
10439 #ifdef __cplusplus 10433 #ifdef __cplusplus
10440 extern "C" 10434 extern "C"
10449 ; 10443 ;
10450 return 0; 10444 return 0;
10451 } 10445 }
10452 _ACEOF 10446 _ACEOF
10453 rm -f conftest.$ac_objext conftest$ac_exeext 10447 rm -f conftest.$ac_objext conftest$ac_exeext
10454 if { (eval echo "$as_me:10454: \"$ac_link\"") >&5 10448 if { (eval echo "$as_me:10448: \"$ac_link\"") >&5
10455 (eval $ac_link) 2>&5 10449 (eval $ac_link) 2>&5
10456 ac_status=$? 10450 ac_status=$?
10457 echo "$as_me:10457: \$? = $ac_status" >&5 10451 echo "$as_me:10451: \$? = $ac_status" >&5
10458 (exit $ac_status); } && 10452 (exit $ac_status); } &&
10459 { ac_try='test -s conftest$ac_exeext' 10453 { ac_try='test -s conftest$ac_exeext'
10460 { (eval echo "$as_me:10460: \"$ac_try\"") >&5 10454 { (eval echo "$as_me:10454: \"$ac_try\"") >&5
10461 (eval $ac_try) 2>&5 10455 (eval $ac_try) 2>&5
10462 ac_status=$? 10456 ac_status=$?
10463 echo "$as_me:10463: \$? = $ac_status" >&5 10457 echo "$as_me:10457: \$? = $ac_status" >&5
10464 (exit $ac_status); }; }; then 10458 (exit $ac_status); }; }; then
10465 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10459 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10466 else 10460 else
10467 echo "$as_me: failed program was:" >&5 10461 echo "$as_me: failed program was:" >&5
10468 cat conftest.$ac_ext >&5 10462 cat conftest.$ac_ext >&5
10469 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10463 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10470 fi 10464 fi
10471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_lib_save_LIBS 10466 LIBS=$ac_check_lib_save_LIBS
10473 fi 10467 fi
10474 echo "$as_me:10474: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10468 echo "$as_me:10468: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10475 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10469 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10476 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10470 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10477 cat >>confdefs.h <<EOF 10471 cat >>confdefs.h <<EOF
10478 #define HAVE_LIBK5CRYPTO 1 10472 #define HAVE_LIBK5CRYPTO 1
10479 EOF 10473 EOF
10480 10474
10481 LIBS="-lk5crypto $LIBS" 10475 LIBS="-lk5crypto $LIBS"
10482 10476
10483 fi 10477 fi
10484 10478
10485 echo "$as_me:10485: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10479 echo "$as_me:10479: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10486 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10480 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10487 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10481 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6 10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 else 10483 else
10490 ac_check_lib_save_LIBS=$LIBS 10484 ac_check_lib_save_LIBS=$LIBS
10491 LIBS="-lcrypto $LIBS" 10485 LIBS="-lcrypto $LIBS"
10492 cat >conftest.$ac_ext <<_ACEOF 10486 cat >conftest.$ac_ext <<_ACEOF
10493 #line 10493 "configure" 10487 #line 10487 "configure"
10494 #include "confdefs.h" 10488 #include "confdefs.h"
10495 10489
10496 /* Override any gcc2 internal prototype to avoid an error. */ 10490 /* Override any gcc2 internal prototype to avoid an error. */
10497 #ifdef __cplusplus 10491 #ifdef __cplusplus
10498 extern "C" 10492 extern "C"
10507 ; 10501 ;
10508 return 0; 10502 return 0;
10509 } 10503 }
10510 _ACEOF 10504 _ACEOF
10511 rm -f conftest.$ac_objext conftest$ac_exeext 10505 rm -f conftest.$ac_objext conftest$ac_exeext
10512 if { (eval echo "$as_me:10512: \"$ac_link\"") >&5 10506 if { (eval echo "$as_me:10506: \"$ac_link\"") >&5
10513 (eval $ac_link) 2>&5 10507 (eval $ac_link) 2>&5
10514 ac_status=$? 10508 ac_status=$?
10515 echo "$as_me:10515: \$? = $ac_status" >&5 10509 echo "$as_me:10509: \$? = $ac_status" >&5
10516 (exit $ac_status); } && 10510 (exit $ac_status); } &&
10517 { ac_try='test -s conftest$ac_exeext' 10511 { ac_try='test -s conftest$ac_exeext'
10518 { (eval echo "$as_me:10518: \"$ac_try\"") >&5 10512 { (eval echo "$as_me:10512: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5 10513 (eval $ac_try) 2>&5
10520 ac_status=$? 10514 ac_status=$?
10521 echo "$as_me:10521: \$? = $ac_status" >&5 10515 echo "$as_me:10515: \$? = $ac_status" >&5
10522 (exit $ac_status); }; }; then 10516 (exit $ac_status); }; }; then
10523 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10517 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10524 else 10518 else
10525 echo "$as_me: failed program was:" >&5 10519 echo "$as_me: failed program was:" >&5
10526 cat conftest.$ac_ext >&5 10520 cat conftest.$ac_ext >&5
10527 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10521 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10528 fi 10522 fi
10529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10530 LIBS=$ac_check_lib_save_LIBS 10524 LIBS=$ac_check_lib_save_LIBS
10531 fi 10525 fi
10532 echo "$as_me:10532: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10526 echo "$as_me:10526: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10533 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10527 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10534 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10528 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10535 cat >>confdefs.h <<EOF 10529 cat >>confdefs.h <<EOF
10536 #define HAVE_LIBCRYPTO 1 10530 #define HAVE_LIBCRYPTO 1
10537 EOF 10531 EOF
10538 10532
10539 LIBS="-lcrypto $LIBS" 10533 LIBS="-lcrypto $LIBS"
10540 10534
10541 fi 10535 fi
10542 10536
10543 echo "$as_me:10543: checking for krb5_init_context in -lkrb5" >&5 10537 echo "$as_me:10537: checking for krb5_init_context in -lkrb5" >&5
10544 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10538 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10545 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10539 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10546 echo $ECHO_N "(cached) $ECHO_C" >&6 10540 echo $ECHO_N "(cached) $ECHO_C" >&6
10547 else 10541 else
10548 ac_check_lib_save_LIBS=$LIBS 10542 ac_check_lib_save_LIBS=$LIBS
10549 LIBS="-lkrb5 $LIBS" 10543 LIBS="-lkrb5 $LIBS"
10550 cat >conftest.$ac_ext <<_ACEOF 10544 cat >conftest.$ac_ext <<_ACEOF
10551 #line 10551 "configure" 10545 #line 10545 "configure"
10552 #include "confdefs.h" 10546 #include "confdefs.h"
10553 10547
10554 /* Override any gcc2 internal prototype to avoid an error. */ 10548 /* Override any gcc2 internal prototype to avoid an error. */
10555 #ifdef __cplusplus 10549 #ifdef __cplusplus
10556 extern "C" 10550 extern "C"
10565 ; 10559 ;
10566 return 0; 10560 return 0;
10567 } 10561 }
10568 _ACEOF 10562 _ACEOF
10569 rm -f conftest.$ac_objext conftest$ac_exeext 10563 rm -f conftest.$ac_objext conftest$ac_exeext
10570 if { (eval echo "$as_me:10570: \"$ac_link\"") >&5 10564 if { (eval echo "$as_me:10564: \"$ac_link\"") >&5
10571 (eval $ac_link) 2>&5 10565 (eval $ac_link) 2>&5
10572 ac_status=$? 10566 ac_status=$?
10573 echo "$as_me:10573: \$? = $ac_status" >&5 10567 echo "$as_me:10567: \$? = $ac_status" >&5
10574 (exit $ac_status); } && 10568 (exit $ac_status); } &&
10575 { ac_try='test -s conftest$ac_exeext' 10569 { ac_try='test -s conftest$ac_exeext'
10576 { (eval echo "$as_me:10576: \"$ac_try\"") >&5 10570 { (eval echo "$as_me:10570: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5 10571 (eval $ac_try) 2>&5
10578 ac_status=$? 10572 ac_status=$?
10579 echo "$as_me:10579: \$? = $ac_status" >&5 10573 echo "$as_me:10573: \$? = $ac_status" >&5
10580 (exit $ac_status); }; }; then 10574 (exit $ac_status); }; }; then
10581 ac_cv_lib_krb5_krb5_init_context=yes 10575 ac_cv_lib_krb5_krb5_init_context=yes
10582 else 10576 else
10583 echo "$as_me: failed program was:" >&5 10577 echo "$as_me: failed program was:" >&5
10584 cat conftest.$ac_ext >&5 10578 cat conftest.$ac_ext >&5
10585 ac_cv_lib_krb5_krb5_init_context=no 10579 ac_cv_lib_krb5_krb5_init_context=no
10586 fi 10580 fi
10587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_lib_save_LIBS 10582 LIBS=$ac_check_lib_save_LIBS
10589 fi 10583 fi
10590 echo "$as_me:10590: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10584 echo "$as_me:10584: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10591 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10585 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10592 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10586 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10593 cat >>confdefs.h <<EOF 10587 cat >>confdefs.h <<EOF
10594 #define HAVE_LIBKRB5 1 10588 #define HAVE_LIBKRB5 1
10595 EOF 10589 EOF
10598 10592
10599 fi 10593 fi
10600 10594
10601 if test "${with_kerberos5+set}" != set; then 10595 if test "${with_kerberos5+set}" != set; then
10602 10596
10603 echo "$as_me:10603: checking for des_cbc_encrypt in -ldes425" >&5 10597 echo "$as_me:10597: checking for des_cbc_encrypt in -ldes425" >&5
10604 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10598 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10605 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10599 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10606 echo $ECHO_N "(cached) $ECHO_C" >&6 10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 else 10601 else
10608 ac_check_lib_save_LIBS=$LIBS 10602 ac_check_lib_save_LIBS=$LIBS
10609 LIBS="-ldes425 $LIBS" 10603 LIBS="-ldes425 $LIBS"
10610 cat >conftest.$ac_ext <<_ACEOF 10604 cat >conftest.$ac_ext <<_ACEOF
10611 #line 10611 "configure" 10605 #line 10605 "configure"
10612 #include "confdefs.h" 10606 #include "confdefs.h"
10613 10607
10614 /* Override any gcc2 internal prototype to avoid an error. */ 10608 /* Override any gcc2 internal prototype to avoid an error. */
10615 #ifdef __cplusplus 10609 #ifdef __cplusplus
10616 extern "C" 10610 extern "C"
10625 ; 10619 ;
10626 return 0; 10620 return 0;
10627 } 10621 }
10628 _ACEOF 10622 _ACEOF
10629 rm -f conftest.$ac_objext conftest$ac_exeext 10623 rm -f conftest.$ac_objext conftest$ac_exeext
10630 if { (eval echo "$as_me:10630: \"$ac_link\"") >&5 10624 if { (eval echo "$as_me:10624: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>&5 10625 (eval $ac_link) 2>&5
10632 ac_status=$? 10626 ac_status=$?
10633 echo "$as_me:10633: \$? = $ac_status" >&5 10627 echo "$as_me:10627: \$? = $ac_status" >&5
10634 (exit $ac_status); } && 10628 (exit $ac_status); } &&
10635 { ac_try='test -s conftest$ac_exeext' 10629 { ac_try='test -s conftest$ac_exeext'
10636 { (eval echo "$as_me:10636: \"$ac_try\"") >&5 10630 { (eval echo "$as_me:10630: \"$ac_try\"") >&5
10637 (eval $ac_try) 2>&5 10631 (eval $ac_try) 2>&5
10638 ac_status=$? 10632 ac_status=$?
10639 echo "$as_me:10639: \$? = $ac_status" >&5 10633 echo "$as_me:10633: \$? = $ac_status" >&5
10640 (exit $ac_status); }; }; then 10634 (exit $ac_status); }; }; then
10641 ac_cv_lib_des425_des_cbc_encrypt=yes 10635 ac_cv_lib_des425_des_cbc_encrypt=yes
10642 else 10636 else
10643 echo "$as_me: failed program was:" >&5 10637 echo "$as_me: failed program was:" >&5
10644 cat conftest.$ac_ext >&5 10638 cat conftest.$ac_ext >&5
10645 ac_cv_lib_des425_des_cbc_encrypt=no 10639 ac_cv_lib_des425_des_cbc_encrypt=no
10646 fi 10640 fi
10647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10648 LIBS=$ac_check_lib_save_LIBS 10642 LIBS=$ac_check_lib_save_LIBS
10649 fi 10643 fi
10650 echo "$as_me:10650: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10644 echo "$as_me:10644: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10651 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10645 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10652 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10646 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10653 cat >>confdefs.h <<EOF 10647 cat >>confdefs.h <<EOF
10654 #define HAVE_LIBDES425 1 10648 #define HAVE_LIBDES425 1
10655 EOF 10649 EOF
10656 10650
10657 LIBS="-ldes425 $LIBS" 10651 LIBS="-ldes425 $LIBS"
10658 10652
10659 else 10653 else
10660 10654
10661 echo "$as_me:10661: checking for des_cbc_encrypt in -ldes" >&5 10655 echo "$as_me:10655: checking for des_cbc_encrypt in -ldes" >&5
10662 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10656 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10663 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10657 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6 10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 else 10659 else
10666 ac_check_lib_save_LIBS=$LIBS 10660 ac_check_lib_save_LIBS=$LIBS
10667 LIBS="-ldes $LIBS" 10661 LIBS="-ldes $LIBS"
10668 cat >conftest.$ac_ext <<_ACEOF 10662 cat >conftest.$ac_ext <<_ACEOF
10669 #line 10669 "configure" 10663 #line 10663 "configure"
10670 #include "confdefs.h" 10664 #include "confdefs.h"
10671 10665
10672 /* Override any gcc2 internal prototype to avoid an error. */ 10666 /* Override any gcc2 internal prototype to avoid an error. */
10673 #ifdef __cplusplus 10667 #ifdef __cplusplus
10674 extern "C" 10668 extern "C"
10683 ; 10677 ;
10684 return 0; 10678 return 0;
10685 } 10679 }
10686 _ACEOF 10680 _ACEOF
10687 rm -f conftest.$ac_objext conftest$ac_exeext 10681 rm -f conftest.$ac_objext conftest$ac_exeext
10688 if { (eval echo "$as_me:10688: \"$ac_link\"") >&5 10682 if { (eval echo "$as_me:10682: \"$ac_link\"") >&5
10689 (eval $ac_link) 2>&5 10683 (eval $ac_link) 2>&5
10690 ac_status=$? 10684 ac_status=$?
10691 echo "$as_me:10691: \$? = $ac_status" >&5 10685 echo "$as_me:10685: \$? = $ac_status" >&5
10692 (exit $ac_status); } && 10686 (exit $ac_status); } &&
10693 { ac_try='test -s conftest$ac_exeext' 10687 { ac_try='test -s conftest$ac_exeext'
10694 { (eval echo "$as_me:10694: \"$ac_try\"") >&5 10688 { (eval echo "$as_me:10688: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5 10689 (eval $ac_try) 2>&5
10696 ac_status=$? 10690 ac_status=$?
10697 echo "$as_me:10697: \$? = $ac_status" >&5 10691 echo "$as_me:10691: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then 10692 (exit $ac_status); }; }; then
10699 ac_cv_lib_des_des_cbc_encrypt=yes 10693 ac_cv_lib_des_des_cbc_encrypt=yes
10700 else 10694 else
10701 echo "$as_me: failed program was:" >&5 10695 echo "$as_me: failed program was:" >&5
10702 cat conftest.$ac_ext >&5 10696 cat conftest.$ac_ext >&5
10703 ac_cv_lib_des_des_cbc_encrypt=no 10697 ac_cv_lib_des_des_cbc_encrypt=no
10704 fi 10698 fi
10705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10706 LIBS=$ac_check_lib_save_LIBS 10700 LIBS=$ac_check_lib_save_LIBS
10707 fi 10701 fi
10708 echo "$as_me:10708: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 10702 echo "$as_me:10702: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10709 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 10703 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10710 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 10704 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10711 cat >>confdefs.h <<EOF 10705 cat >>confdefs.h <<EOF
10712 #define HAVE_LIBDES 1 10706 #define HAVE_LIBDES 1
10713 EOF 10707 EOF
10716 10710
10717 fi 10711 fi
10718 10712
10719 fi 10713 fi
10720 10714
10721 echo "$as_me:10721: checking for krb_get_cred in -lkrb4" >&5 10715 echo "$as_me:10715: checking for krb_get_cred in -lkrb4" >&5
10722 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 10716 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
10723 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 10717 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10724 echo $ECHO_N "(cached) $ECHO_C" >&6 10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 else 10719 else
10726 ac_check_lib_save_LIBS=$LIBS 10720 ac_check_lib_save_LIBS=$LIBS
10727 LIBS="-lkrb4 $LIBS" 10721 LIBS="-lkrb4 $LIBS"
10728 cat >conftest.$ac_ext <<_ACEOF 10722 cat >conftest.$ac_ext <<_ACEOF
10729 #line 10729 "configure" 10723 #line 10723 "configure"
10730 #include "confdefs.h" 10724 #include "confdefs.h"
10731 10725
10732 /* Override any gcc2 internal prototype to avoid an error. */ 10726 /* Override any gcc2 internal prototype to avoid an error. */
10733 #ifdef __cplusplus 10727 #ifdef __cplusplus
10734 extern "C" 10728 extern "C"
10743 ; 10737 ;
10744 return 0; 10738 return 0;
10745 } 10739 }
10746 _ACEOF 10740 _ACEOF
10747 rm -f conftest.$ac_objext conftest$ac_exeext 10741 rm -f conftest.$ac_objext conftest$ac_exeext
10748 if { (eval echo "$as_me:10748: \"$ac_link\"") >&5 10742 if { (eval echo "$as_me:10742: \"$ac_link\"") >&5
10749 (eval $ac_link) 2>&5 10743 (eval $ac_link) 2>&5
10750 ac_status=$? 10744 ac_status=$?
10751 echo "$as_me:10751: \$? = $ac_status" >&5 10745 echo "$as_me:10745: \$? = $ac_status" >&5
10752 (exit $ac_status); } && 10746 (exit $ac_status); } &&
10753 { ac_try='test -s conftest$ac_exeext' 10747 { ac_try='test -s conftest$ac_exeext'
10754 { (eval echo "$as_me:10754: \"$ac_try\"") >&5 10748 { (eval echo "$as_me:10748: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5 10749 (eval $ac_try) 2>&5
10756 ac_status=$? 10750 ac_status=$?
10757 echo "$as_me:10757: \$? = $ac_status" >&5 10751 echo "$as_me:10751: \$? = $ac_status" >&5
10758 (exit $ac_status); }; }; then 10752 (exit $ac_status); }; }; then
10759 ac_cv_lib_krb4_krb_get_cred=yes 10753 ac_cv_lib_krb4_krb_get_cred=yes
10760 else 10754 else
10761 echo "$as_me: failed program was:" >&5 10755 echo "$as_me: failed program was:" >&5
10762 cat conftest.$ac_ext >&5 10756 cat conftest.$ac_ext >&5
10763 ac_cv_lib_krb4_krb_get_cred=no 10757 ac_cv_lib_krb4_krb_get_cred=no
10764 fi 10758 fi
10765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10766 LIBS=$ac_check_lib_save_LIBS 10760 LIBS=$ac_check_lib_save_LIBS
10767 fi 10761 fi
10768 echo "$as_me:10768: result: $ac_cv_lib_krb4_krb_get_cred" >&5 10762 echo "$as_me:10762: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10769 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 10763 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10770 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 10764 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10771 cat >>confdefs.h <<EOF 10765 cat >>confdefs.h <<EOF
10772 #define HAVE_LIBKRB4 1 10766 #define HAVE_LIBKRB4 1
10773 EOF 10767 EOF
10774 10768
10775 LIBS="-lkrb4 $LIBS" 10769 LIBS="-lkrb4 $LIBS"
10776 10770
10777 else 10771 else
10778 10772
10779 echo "$as_me:10779: checking for krb_get_cred in -lkrb" >&5 10773 echo "$as_me:10773: checking for krb_get_cred in -lkrb" >&5
10780 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 10774 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
10781 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 10775 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6 10776 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 else 10777 else
10784 ac_check_lib_save_LIBS=$LIBS 10778 ac_check_lib_save_LIBS=$LIBS
10785 LIBS="-lkrb $LIBS" 10779 LIBS="-lkrb $LIBS"
10786 cat >conftest.$ac_ext <<_ACEOF 10780 cat >conftest.$ac_ext <<_ACEOF
10787 #line 10787 "configure" 10781 #line 10781 "configure"
10788 #include "confdefs.h" 10782 #include "confdefs.h"
10789 10783
10790 /* Override any gcc2 internal prototype to avoid an error. */ 10784 /* Override any gcc2 internal prototype to avoid an error. */
10791 #ifdef __cplusplus 10785 #ifdef __cplusplus
10792 extern "C" 10786 extern "C"
10801 ; 10795 ;
10802 return 0; 10796 return 0;
10803 } 10797 }
10804 _ACEOF 10798 _ACEOF
10805 rm -f conftest.$ac_objext conftest$ac_exeext 10799 rm -f conftest.$ac_objext conftest$ac_exeext
10806 if { (eval echo "$as_me:10806: \"$ac_link\"") >&5 10800 if { (eval echo "$as_me:10800: \"$ac_link\"") >&5
10807 (eval $ac_link) 2>&5 10801 (eval $ac_link) 2>&5
10808 ac_status=$? 10802 ac_status=$?
10809 echo "$as_me:10809: \$? = $ac_status" >&5 10803 echo "$as_me:10803: \$? = $ac_status" >&5
10810 (exit $ac_status); } && 10804 (exit $ac_status); } &&
10811 { ac_try='test -s conftest$ac_exeext' 10805 { ac_try='test -s conftest$ac_exeext'
10812 { (eval echo "$as_me:10812: \"$ac_try\"") >&5 10806 { (eval echo "$as_me:10806: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5 10807 (eval $ac_try) 2>&5
10814 ac_status=$? 10808 ac_status=$?
10815 echo "$as_me:10815: \$? = $ac_status" >&5 10809 echo "$as_me:10809: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then 10810 (exit $ac_status); }; }; then
10817 ac_cv_lib_krb_krb_get_cred=yes 10811 ac_cv_lib_krb_krb_get_cred=yes
10818 else 10812 else
10819 echo "$as_me: failed program was:" >&5 10813 echo "$as_me: failed program was:" >&5
10820 cat conftest.$ac_ext >&5 10814 cat conftest.$ac_ext >&5
10821 ac_cv_lib_krb_krb_get_cred=no 10815 ac_cv_lib_krb_krb_get_cred=no
10822 fi 10816 fi
10823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_lib_save_LIBS 10818 LIBS=$ac_check_lib_save_LIBS
10825 fi 10819 fi
10826 echo "$as_me:10826: result: $ac_cv_lib_krb_krb_get_cred" >&5 10820 echo "$as_me:10820: result: $ac_cv_lib_krb_krb_get_cred" >&5
10827 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 10821 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10828 if test $ac_cv_lib_krb_krb_get_cred = yes; then 10822 if test $ac_cv_lib_krb_krb_get_cred = yes; then
10829 cat >>confdefs.h <<EOF 10823 cat >>confdefs.h <<EOF
10830 #define HAVE_LIBKRB 1 10824 #define HAVE_LIBKRB 1
10831 EOF 10825 EOF
10841 if test "${with_kerberos5+set}" = set; then 10835 if test "${with_kerberos5+set}" = set; then
10842 10836
10843 for ac_header in krb5.h 10837 for ac_header in krb5.h
10844 do 10838 do
10845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10846 echo "$as_me:10846: checking for $ac_header" >&5 10840 echo "$as_me:10840: checking for $ac_header" >&5
10847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10848 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6 10843 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 else 10844 else
10851 cat >conftest.$ac_ext <<_ACEOF 10845 cat >conftest.$ac_ext <<_ACEOF
10852 #line 10852 "configure" 10846 #line 10846 "configure"
10853 #include "confdefs.h" 10847 #include "confdefs.h"
10854 #include <$ac_header> 10848 #include <$ac_header>
10855 _ACEOF 10849 _ACEOF
10856 if { (eval echo "$as_me:10856: \"$ac_cpp conftest.$ac_ext\"") >&5 10850 if { (eval echo "$as_me:10850: \"$ac_cpp conftest.$ac_ext\"") >&5
10857 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10858 ac_status=$? 10852 ac_status=$?
10859 egrep -v '^ *\+' conftest.er1 >conftest.err 10853 egrep -v '^ *\+' conftest.er1 >conftest.err
10860 rm -f conftest.er1 10854 rm -f conftest.er1
10861 cat conftest.err >&5 10855 cat conftest.err >&5
10862 echo "$as_me:10862: \$? = $ac_status" >&5 10856 echo "$as_me:10856: \$? = $ac_status" >&5
10863 (exit $ac_status); } >/dev/null; then 10857 (exit $ac_status); } >/dev/null; then
10864 if test -s conftest.err; then 10858 if test -s conftest.err; then
10865 ac_cpp_err=$ac_c_preproc_warn_flag 10859 ac_cpp_err=$ac_c_preproc_warn_flag
10866 else 10860 else
10867 ac_cpp_err= 10861 ac_cpp_err=
10876 cat conftest.$ac_ext >&5 10870 cat conftest.$ac_ext >&5
10877 eval "$as_ac_Header=no" 10871 eval "$as_ac_Header=no"
10878 fi 10872 fi
10879 rm -f conftest.err conftest.$ac_ext 10873 rm -f conftest.err conftest.$ac_ext
10880 fi 10874 fi
10881 echo "$as_me:10881: result: `eval echo '${'$as_ac_Header'}'`" >&5 10875 echo "$as_me:10875: result: `eval echo '${'$as_ac_Header'}'`" >&5
10882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10883 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10884 cat >>confdefs.h <<EOF 10878 cat >>confdefs.h <<EOF
10885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10886 EOF 10880 EOF
10891 else 10885 else
10892 10886
10893 for ac_header in des.h 10887 for ac_header in des.h
10894 do 10888 do
10895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10896 echo "$as_me:10896: checking for $ac_header" >&5 10890 echo "$as_me:10890: checking for $ac_header" >&5
10897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10898 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6 10893 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 else 10894 else
10901 cat >conftest.$ac_ext <<_ACEOF 10895 cat >conftest.$ac_ext <<_ACEOF
10902 #line 10902 "configure" 10896 #line 10896 "configure"
10903 #include "confdefs.h" 10897 #include "confdefs.h"
10904 #include <$ac_header> 10898 #include <$ac_header>
10905 _ACEOF 10899 _ACEOF
10906 if { (eval echo "$as_me:10906: \"$ac_cpp conftest.$ac_ext\"") >&5 10900 if { (eval echo "$as_me:10900: \"$ac_cpp conftest.$ac_ext\"") >&5
10907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10908 ac_status=$? 10902 ac_status=$?
10909 egrep -v '^ *\+' conftest.er1 >conftest.err 10903 egrep -v '^ *\+' conftest.er1 >conftest.err
10910 rm -f conftest.er1 10904 rm -f conftest.er1
10911 cat conftest.err >&5 10905 cat conftest.err >&5
10912 echo "$as_me:10912: \$? = $ac_status" >&5 10906 echo "$as_me:10906: \$? = $ac_status" >&5
10913 (exit $ac_status); } >/dev/null; then 10907 (exit $ac_status); } >/dev/null; then
10914 if test -s conftest.err; then 10908 if test -s conftest.err; then
10915 ac_cpp_err=$ac_c_preproc_warn_flag 10909 ac_cpp_err=$ac_c_preproc_warn_flag
10916 else 10910 else
10917 ac_cpp_err= 10911 ac_cpp_err=
10926 cat conftest.$ac_ext >&5 10920 cat conftest.$ac_ext >&5
10927 eval "$as_ac_Header=no" 10921 eval "$as_ac_Header=no"
10928 fi 10922 fi
10929 rm -f conftest.err conftest.$ac_ext 10923 rm -f conftest.err conftest.$ac_ext
10930 fi 10924 fi
10931 echo "$as_me:10931: result: `eval echo '${'$as_ac_Header'}'`" >&5 10925 echo "$as_me:10925: result: `eval echo '${'$as_ac_Header'}'`" >&5
10932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10933 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10934 cat >>confdefs.h <<EOF 10928 cat >>confdefs.h <<EOF
10935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10936 EOF 10930 EOF
10938 else 10932 else
10939 10933
10940 for ac_header in kerberosIV/des.h 10934 for ac_header in kerberosIV/des.h
10941 do 10935 do
10942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10943 echo "$as_me:10943: checking for $ac_header" >&5 10937 echo "$as_me:10937: checking for $ac_header" >&5
10944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10945 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6 10940 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 else 10941 else
10948 cat >conftest.$ac_ext <<_ACEOF 10942 cat >conftest.$ac_ext <<_ACEOF
10949 #line 10949 "configure" 10943 #line 10943 "configure"
10950 #include "confdefs.h" 10944 #include "confdefs.h"
10951 #include <$ac_header> 10945 #include <$ac_header>
10952 _ACEOF 10946 _ACEOF
10953 if { (eval echo "$as_me:10953: \"$ac_cpp conftest.$ac_ext\"") >&5 10947 if { (eval echo "$as_me:10947: \"$ac_cpp conftest.$ac_ext\"") >&5
10954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10955 ac_status=$? 10949 ac_status=$?
10956 egrep -v '^ *\+' conftest.er1 >conftest.err 10950 egrep -v '^ *\+' conftest.er1 >conftest.err
10957 rm -f conftest.er1 10951 rm -f conftest.er1
10958 cat conftest.err >&5 10952 cat conftest.err >&5
10959 echo "$as_me:10959: \$? = $ac_status" >&5 10953 echo "$as_me:10953: \$? = $ac_status" >&5
10960 (exit $ac_status); } >/dev/null; then 10954 (exit $ac_status); } >/dev/null; then
10961 if test -s conftest.err; then 10955 if test -s conftest.err; then
10962 ac_cpp_err=$ac_c_preproc_warn_flag 10956 ac_cpp_err=$ac_c_preproc_warn_flag
10963 else 10957 else
10964 ac_cpp_err= 10958 ac_cpp_err=
10973 cat conftest.$ac_ext >&5 10967 cat conftest.$ac_ext >&5
10974 eval "$as_ac_Header=no" 10968 eval "$as_ac_Header=no"
10975 fi 10969 fi
10976 rm -f conftest.err conftest.$ac_ext 10970 rm -f conftest.err conftest.$ac_ext
10977 fi 10971 fi
10978 echo "$as_me:10978: result: `eval echo '${'$as_ac_Header'}'`" >&5 10972 echo "$as_me:10972: result: `eval echo '${'$as_ac_Header'}'`" >&5
10979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10980 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10981 cat >>confdefs.h <<EOF 10975 cat >>confdefs.h <<EOF
10982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10983 EOF 10977 EOF
10985 else 10979 else
10986 10980
10987 for ac_header in kerberos/des.h 10981 for ac_header in kerberos/des.h
10988 do 10982 do
10989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10983 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10990 echo "$as_me:10990: checking for $ac_header" >&5 10984 echo "$as_me:10984: checking for $ac_header" >&5
10991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10992 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6 10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 else 10988 else
10995 cat >conftest.$ac_ext <<_ACEOF 10989 cat >conftest.$ac_ext <<_ACEOF
10996 #line 10996 "configure" 10990 #line 10990 "configure"
10997 #include "confdefs.h" 10991 #include "confdefs.h"
10998 #include <$ac_header> 10992 #include <$ac_header>
10999 _ACEOF 10993 _ACEOF
11000 if { (eval echo "$as_me:11000: \"$ac_cpp conftest.$ac_ext\"") >&5 10994 if { (eval echo "$as_me:10994: \"$ac_cpp conftest.$ac_ext\"") >&5
11001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11002 ac_status=$? 10996 ac_status=$?
11003 egrep -v '^ *\+' conftest.er1 >conftest.err 10997 egrep -v '^ *\+' conftest.er1 >conftest.err
11004 rm -f conftest.er1 10998 rm -f conftest.er1
11005 cat conftest.err >&5 10999 cat conftest.err >&5
11006 echo "$as_me:11006: \$? = $ac_status" >&5 11000 echo "$as_me:11000: \$? = $ac_status" >&5
11007 (exit $ac_status); } >/dev/null; then 11001 (exit $ac_status); } >/dev/null; then
11008 if test -s conftest.err; then 11002 if test -s conftest.err; then
11009 ac_cpp_err=$ac_c_preproc_warn_flag 11003 ac_cpp_err=$ac_c_preproc_warn_flag
11010 else 11004 else
11011 ac_cpp_err= 11005 ac_cpp_err=
11020 cat conftest.$ac_ext >&5 11014 cat conftest.$ac_ext >&5
11021 eval "$as_ac_Header=no" 11015 eval "$as_ac_Header=no"
11022 fi 11016 fi
11023 rm -f conftest.err conftest.$ac_ext 11017 rm -f conftest.err conftest.$ac_ext
11024 fi 11018 fi
11025 echo "$as_me:11025: result: `eval echo '${'$as_ac_Header'}'`" >&5 11019 echo "$as_me:11019: result: `eval echo '${'$as_ac_Header'}'`" >&5
11026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11027 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11028 cat >>confdefs.h <<EOF 11022 cat >>confdefs.h <<EOF
11029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11030 EOF 11024 EOF
11039 done 11033 done
11040 11034
11041 for ac_header in krb.h 11035 for ac_header in krb.h
11042 do 11036 do
11043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11044 echo "$as_me:11044: checking for $ac_header" >&5 11038 echo "$as_me:11038: checking for $ac_header" >&5
11045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11046 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6 11041 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 else 11042 else
11049 cat >conftest.$ac_ext <<_ACEOF 11043 cat >conftest.$ac_ext <<_ACEOF
11050 #line 11050 "configure" 11044 #line 11044 "configure"
11051 #include "confdefs.h" 11045 #include "confdefs.h"
11052 #include <$ac_header> 11046 #include <$ac_header>
11053 _ACEOF 11047 _ACEOF
11054 if { (eval echo "$as_me:11054: \"$ac_cpp conftest.$ac_ext\"") >&5 11048 if { (eval echo "$as_me:11048: \"$ac_cpp conftest.$ac_ext\"") >&5
11055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11056 ac_status=$? 11050 ac_status=$?
11057 egrep -v '^ *\+' conftest.er1 >conftest.err 11051 egrep -v '^ *\+' conftest.er1 >conftest.err
11058 rm -f conftest.er1 11052 rm -f conftest.er1
11059 cat conftest.err >&5 11053 cat conftest.err >&5
11060 echo "$as_me:11060: \$? = $ac_status" >&5 11054 echo "$as_me:11054: \$? = $ac_status" >&5
11061 (exit $ac_status); } >/dev/null; then 11055 (exit $ac_status); } >/dev/null; then
11062 if test -s conftest.err; then 11056 if test -s conftest.err; then
11063 ac_cpp_err=$ac_c_preproc_warn_flag 11057 ac_cpp_err=$ac_c_preproc_warn_flag
11064 else 11058 else
11065 ac_cpp_err= 11059 ac_cpp_err=
11074 cat conftest.$ac_ext >&5 11068 cat conftest.$ac_ext >&5
11075 eval "$as_ac_Header=no" 11069 eval "$as_ac_Header=no"
11076 fi 11070 fi
11077 rm -f conftest.err conftest.$ac_ext 11071 rm -f conftest.err conftest.$ac_ext
11078 fi 11072 fi
11079 echo "$as_me:11079: result: `eval echo '${'$as_ac_Header'}'`" >&5 11073 echo "$as_me:11073: result: `eval echo '${'$as_ac_Header'}'`" >&5
11080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11081 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11082 cat >>confdefs.h <<EOF 11076 cat >>confdefs.h <<EOF
11083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11084 EOF 11078 EOF
11086 else 11080 else
11087 11081
11088 for ac_header in kerberosIV/krb.h 11082 for ac_header in kerberosIV/krb.h
11089 do 11083 do
11090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11091 echo "$as_me:11091: checking for $ac_header" >&5 11085 echo "$as_me:11085: checking for $ac_header" >&5
11092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11093 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11094 echo $ECHO_N "(cached) $ECHO_C" >&6 11088 echo $ECHO_N "(cached) $ECHO_C" >&6
11095 else 11089 else
11096 cat >conftest.$ac_ext <<_ACEOF 11090 cat >conftest.$ac_ext <<_ACEOF
11097 #line 11097 "configure" 11091 #line 11091 "configure"
11098 #include "confdefs.h" 11092 #include "confdefs.h"
11099 #include <$ac_header> 11093 #include <$ac_header>
11100 _ACEOF 11094 _ACEOF
11101 if { (eval echo "$as_me:11101: \"$ac_cpp conftest.$ac_ext\"") >&5 11095 if { (eval echo "$as_me:11095: \"$ac_cpp conftest.$ac_ext\"") >&5
11102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11103 ac_status=$? 11097 ac_status=$?
11104 egrep -v '^ *\+' conftest.er1 >conftest.err 11098 egrep -v '^ *\+' conftest.er1 >conftest.err
11105 rm -f conftest.er1 11099 rm -f conftest.er1
11106 cat conftest.err >&5 11100 cat conftest.err >&5
11107 echo "$as_me:11107: \$? = $ac_status" >&5 11101 echo "$as_me:11101: \$? = $ac_status" >&5
11108 (exit $ac_status); } >/dev/null; then 11102 (exit $ac_status); } >/dev/null; then
11109 if test -s conftest.err; then 11103 if test -s conftest.err; then
11110 ac_cpp_err=$ac_c_preproc_warn_flag 11104 ac_cpp_err=$ac_c_preproc_warn_flag
11111 else 11105 else
11112 ac_cpp_err= 11106 ac_cpp_err=
11121 cat conftest.$ac_ext >&5 11115 cat conftest.$ac_ext >&5
11122 eval "$as_ac_Header=no" 11116 eval "$as_ac_Header=no"
11123 fi 11117 fi
11124 rm -f conftest.err conftest.$ac_ext 11118 rm -f conftest.err conftest.$ac_ext
11125 fi 11119 fi
11126 echo "$as_me:11126: result: `eval echo '${'$as_ac_Header'}'`" >&5 11120 echo "$as_me:11120: result: `eval echo '${'$as_ac_Header'}'`" >&5
11127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11128 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11129 cat >>confdefs.h <<EOF 11123 cat >>confdefs.h <<EOF
11130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11131 EOF 11125 EOF
11133 else 11127 else
11134 11128
11135 for ac_header in kerberos/krb.h 11129 for ac_header in kerberos/krb.h
11136 do 11130 do
11137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11138 echo "$as_me:11138: checking for $ac_header" >&5 11132 echo "$as_me:11132: checking for $ac_header" >&5
11139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11140 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11141 echo $ECHO_N "(cached) $ECHO_C" >&6 11135 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 else 11136 else
11143 cat >conftest.$ac_ext <<_ACEOF 11137 cat >conftest.$ac_ext <<_ACEOF
11144 #line 11144 "configure" 11138 #line 11138 "configure"
11145 #include "confdefs.h" 11139 #include "confdefs.h"
11146 #include <$ac_header> 11140 #include <$ac_header>
11147 _ACEOF 11141 _ACEOF
11148 if { (eval echo "$as_me:11148: \"$ac_cpp conftest.$ac_ext\"") >&5 11142 if { (eval echo "$as_me:11142: \"$ac_cpp conftest.$ac_ext\"") >&5
11149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11150 ac_status=$? 11144 ac_status=$?
11151 egrep -v '^ *\+' conftest.er1 >conftest.err 11145 egrep -v '^ *\+' conftest.er1 >conftest.err
11152 rm -f conftest.er1 11146 rm -f conftest.er1
11153 cat conftest.err >&5 11147 cat conftest.err >&5
11154 echo "$as_me:11154: \$? = $ac_status" >&5 11148 echo "$as_me:11148: \$? = $ac_status" >&5
11155 (exit $ac_status); } >/dev/null; then 11149 (exit $ac_status); } >/dev/null; then
11156 if test -s conftest.err; then 11150 if test -s conftest.err; then
11157 ac_cpp_err=$ac_c_preproc_warn_flag 11151 ac_cpp_err=$ac_c_preproc_warn_flag
11158 else 11152 else
11159 ac_cpp_err= 11153 ac_cpp_err=
11168 cat conftest.$ac_ext >&5 11162 cat conftest.$ac_ext >&5
11169 eval "$as_ac_Header=no" 11163 eval "$as_ac_Header=no"
11170 fi 11164 fi
11171 rm -f conftest.err conftest.$ac_ext 11165 rm -f conftest.err conftest.$ac_ext
11172 fi 11166 fi
11173 echo "$as_me:11173: result: `eval echo '${'$as_ac_Header'}'`" >&5 11167 echo "$as_me:11167: result: `eval echo '${'$as_ac_Header'}'`" >&5
11174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11175 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11176 cat >>confdefs.h <<EOF 11170 cat >>confdefs.h <<EOF
11177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11178 EOF 11172 EOF
11189 fi 11183 fi
11190 11184
11191 for ac_header in com_err.h 11185 for ac_header in com_err.h
11192 do 11186 do
11193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11194 echo "$as_me:11194: checking for $ac_header" >&5 11188 echo "$as_me:11188: checking for $ac_header" >&5
11195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11196 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11197 echo $ECHO_N "(cached) $ECHO_C" >&6 11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11198 else 11192 else
11199 cat >conftest.$ac_ext <<_ACEOF 11193 cat >conftest.$ac_ext <<_ACEOF
11200 #line 11200 "configure" 11194 #line 11194 "configure"
11201 #include "confdefs.h" 11195 #include "confdefs.h"
11202 #include <$ac_header> 11196 #include <$ac_header>
11203 _ACEOF 11197 _ACEOF
11204 if { (eval echo "$as_me:11204: \"$ac_cpp conftest.$ac_ext\"") >&5 11198 if { (eval echo "$as_me:11198: \"$ac_cpp conftest.$ac_ext\"") >&5
11205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11206 ac_status=$? 11200 ac_status=$?
11207 egrep -v '^ *\+' conftest.er1 >conftest.err 11201 egrep -v '^ *\+' conftest.er1 >conftest.err
11208 rm -f conftest.er1 11202 rm -f conftest.er1
11209 cat conftest.err >&5 11203 cat conftest.err >&5
11210 echo "$as_me:11210: \$? = $ac_status" >&5 11204 echo "$as_me:11204: \$? = $ac_status" >&5
11211 (exit $ac_status); } >/dev/null; then 11205 (exit $ac_status); } >/dev/null; then
11212 if test -s conftest.err; then 11206 if test -s conftest.err; then
11213 ac_cpp_err=$ac_c_preproc_warn_flag 11207 ac_cpp_err=$ac_c_preproc_warn_flag
11214 else 11208 else
11215 ac_cpp_err= 11209 ac_cpp_err=
11224 cat conftest.$ac_ext >&5 11218 cat conftest.$ac_ext >&5
11225 eval "$as_ac_Header=no" 11219 eval "$as_ac_Header=no"
11226 fi 11220 fi
11227 rm -f conftest.err conftest.$ac_ext 11221 rm -f conftest.err conftest.$ac_ext
11228 fi 11222 fi
11229 echo "$as_me:11229: result: `eval echo '${'$as_ac_Header'}'`" >&5 11223 echo "$as_me:11223: result: `eval echo '${'$as_ac_Header'}'`" >&5
11230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11231 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11232 cat >>confdefs.h <<EOF 11226 cat >>confdefs.h <<EOF
11233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11234 EOF 11228 EOF
11239 fi 11233 fi
11240 11234
11241 # Solaris requires -lintl if you want strerror (which calls dgettext) 11235 # Solaris requires -lintl if you want strerror (which calls dgettext)
11242 # to return localized messages. 11236 # to return localized messages.
11243 11237
11244 echo "$as_me:11244: checking for dgettext in -lintl" >&5 11238 echo "$as_me:11238: checking for dgettext in -lintl" >&5
11245 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11239 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11246 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11240 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6 11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11248 else 11242 else
11249 ac_check_lib_save_LIBS=$LIBS 11243 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lintl $LIBS" 11244 LIBS="-lintl $LIBS"
11251 cat >conftest.$ac_ext <<_ACEOF 11245 cat >conftest.$ac_ext <<_ACEOF
11252 #line 11252 "configure" 11246 #line 11246 "configure"
11253 #include "confdefs.h" 11247 #include "confdefs.h"
11254 11248
11255 /* Override any gcc2 internal prototype to avoid an error. */ 11249 /* Override any gcc2 internal prototype to avoid an error. */
11256 #ifdef __cplusplus 11250 #ifdef __cplusplus
11257 extern "C" 11251 extern "C"
11266 ; 11260 ;
11267 return 0; 11261 return 0;
11268 } 11262 }
11269 _ACEOF 11263 _ACEOF
11270 rm -f conftest.$ac_objext conftest$ac_exeext 11264 rm -f conftest.$ac_objext conftest$ac_exeext
11271 if { (eval echo "$as_me:11271: \"$ac_link\"") >&5 11265 if { (eval echo "$as_me:11265: \"$ac_link\"") >&5
11272 (eval $ac_link) 2>&5 11266 (eval $ac_link) 2>&5
11273 ac_status=$? 11267 ac_status=$?
11274 echo "$as_me:11274: \$? = $ac_status" >&5 11268 echo "$as_me:11268: \$? = $ac_status" >&5
11275 (exit $ac_status); } && 11269 (exit $ac_status); } &&
11276 { ac_try='test -s conftest$ac_exeext' 11270 { ac_try='test -s conftest$ac_exeext'
11277 { (eval echo "$as_me:11277: \"$ac_try\"") >&5 11271 { (eval echo "$as_me:11271: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5 11272 (eval $ac_try) 2>&5
11279 ac_status=$? 11273 ac_status=$?
11280 echo "$as_me:11280: \$? = $ac_status" >&5 11274 echo "$as_me:11274: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then 11275 (exit $ac_status); }; }; then
11282 ac_cv_lib_intl_dgettext=yes 11276 ac_cv_lib_intl_dgettext=yes
11283 else 11277 else
11284 echo "$as_me: failed program was:" >&5 11278 echo "$as_me: failed program was:" >&5
11285 cat conftest.$ac_ext >&5 11279 cat conftest.$ac_ext >&5
11286 ac_cv_lib_intl_dgettext=no 11280 ac_cv_lib_intl_dgettext=no
11287 fi 11281 fi
11288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS 11283 LIBS=$ac_check_lib_save_LIBS
11290 fi 11284 fi
11291 echo "$as_me:11291: result: $ac_cv_lib_intl_dgettext" >&5 11285 echo "$as_me:11285: result: $ac_cv_lib_intl_dgettext" >&5
11292 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11286 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11293 if test $ac_cv_lib_intl_dgettext = yes; then 11287 if test $ac_cv_lib_intl_dgettext = yes; then
11294 cat >>confdefs.h <<EOF 11288 cat >>confdefs.h <<EOF
11295 #define HAVE_LIBINTL 1 11289 #define HAVE_LIBINTL 1
11296 EOF 11290 EOF
11297 11291
11298 LIBS="-lintl $LIBS" 11292 LIBS="-lintl $LIBS"
11299 11293
11300 fi 11294 fi
11301 11295
11302 echo "$as_me:11302: checking whether localtime caches TZ" >&5 11296 echo "$as_me:11296: checking whether localtime caches TZ" >&5
11303 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11297 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11304 if test "${emacs_cv_localtime_cache+set}" = set; then 11298 if test "${emacs_cv_localtime_cache+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6 11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 else 11300 else
11307 if test x$ac_cv_func_tzset = xyes; then 11301 if test x$ac_cv_func_tzset = xyes; then
11308 if test "$cross_compiling" = yes; then 11302 if test "$cross_compiling" = yes; then
11309 # If we have tzset, assume the worst when cross-compiling. 11303 # If we have tzset, assume the worst when cross-compiling.
11310 emacs_cv_localtime_cache=yes 11304 emacs_cv_localtime_cache=yes
11311 else 11305 else
11312 cat >conftest.$ac_ext <<_ACEOF 11306 cat >conftest.$ac_ext <<_ACEOF
11313 #line 11313 "configure" 11307 #line 11307 "configure"
11314 #include "confdefs.h" 11308 #include "confdefs.h"
11315 #include <time.h> 11309 #include <time.h>
11316 extern char **environ; 11310 extern char **environ;
11317 unset_TZ () 11311 unset_TZ ()
11318 { 11312 {
11341 exit (1); 11335 exit (1);
11342 exit (0); 11336 exit (0);
11343 } 11337 }
11344 _ACEOF 11338 _ACEOF
11345 rm -f conftest$ac_exeext 11339 rm -f conftest$ac_exeext
11346 if { (eval echo "$as_me:11346: \"$ac_link\"") >&5 11340 if { (eval echo "$as_me:11340: \"$ac_link\"") >&5
11347 (eval $ac_link) 2>&5 11341 (eval $ac_link) 2>&5
11348 ac_status=$? 11342 ac_status=$?
11349 echo "$as_me:11349: \$? = $ac_status" >&5 11343 echo "$as_me:11343: \$? = $ac_status" >&5
11350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11351 { (eval echo "$as_me:11351: \"$ac_try\"") >&5 11345 { (eval echo "$as_me:11345: \"$ac_try\"") >&5
11352 (eval $ac_try) 2>&5 11346 (eval $ac_try) 2>&5
11353 ac_status=$? 11347 ac_status=$?
11354 echo "$as_me:11354: \$? = $ac_status" >&5 11348 echo "$as_me:11348: \$? = $ac_status" >&5
11355 (exit $ac_status); }; }; then 11349 (exit $ac_status); }; }; then
11356 emacs_cv_localtime_cache=no 11350 emacs_cv_localtime_cache=no
11357 else 11351 else
11358 echo "$as_me: program exited with status $ac_status" >&5 11352 echo "$as_me: program exited with status $ac_status" >&5
11359 echo "$as_me: failed program was:" >&5 11353 echo "$as_me: failed program was:" >&5
11366 # If we lack tzset, report that localtime does not cache TZ, 11360 # If we lack tzset, report that localtime does not cache TZ,
11367 # since we can't invalidate the cache if we don't have tzset. 11361 # since we can't invalidate the cache if we don't have tzset.
11368 emacs_cv_localtime_cache=no 11362 emacs_cv_localtime_cache=no
11369 fi 11363 fi
11370 fi 11364 fi
11371 echo "$as_me:11371: result: $emacs_cv_localtime_cache" >&5 11365 echo "$as_me:11365: result: $emacs_cv_localtime_cache" >&5
11372 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11366 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11373 if test $emacs_cv_localtime_cache = yes; then 11367 if test $emacs_cv_localtime_cache = yes; then
11374 cat >>confdefs.h <<\EOF 11368 cat >>confdefs.h <<\EOF
11375 #define LOCALTIME_CACHE 1 11369 #define LOCALTIME_CACHE 1
11376 EOF 11370 EOF
11380 if test "x$HAVE_TIMEVAL" = xyes; then 11374 if test "x$HAVE_TIMEVAL" = xyes; then
11381 11375
11382 for ac_func in gettimeofday 11376 for ac_func in gettimeofday
11383 do 11377 do
11384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11385 echo "$as_me:11385: checking for $ac_func" >&5 11379 echo "$as_me:11379: checking for $ac_func" >&5
11386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11387 if eval "test \"\${$as_ac_var+set}\" = set"; then 11381 if eval "test \"\${$as_ac_var+set}\" = set"; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6 11382 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 else 11383 else
11390 cat >conftest.$ac_ext <<_ACEOF 11384 cat >conftest.$ac_ext <<_ACEOF
11391 #line 11391 "configure" 11385 #line 11385 "configure"
11392 #include "confdefs.h" 11386 #include "confdefs.h"
11393 /* System header to define __stub macros and hopefully few prototypes, 11387 /* System header to define __stub macros and hopefully few prototypes,
11394 which can conflict with char $ac_func (); below. */ 11388 which can conflict with char $ac_func (); below. */
11395 #include <assert.h> 11389 #include <assert.h>
11396 /* Override any gcc2 internal prototype to avoid an error. */ 11390 /* Override any gcc2 internal prototype to avoid an error. */
11417 ; 11411 ;
11418 return 0; 11412 return 0;
11419 } 11413 }
11420 _ACEOF 11414 _ACEOF
11421 rm -f conftest.$ac_objext conftest$ac_exeext 11415 rm -f conftest.$ac_objext conftest$ac_exeext
11422 if { (eval echo "$as_me:11422: \"$ac_link\"") >&5 11416 if { (eval echo "$as_me:11416: \"$ac_link\"") >&5
11423 (eval $ac_link) 2>&5 11417 (eval $ac_link) 2>&5
11424 ac_status=$? 11418 ac_status=$?
11425 echo "$as_me:11425: \$? = $ac_status" >&5 11419 echo "$as_me:11419: \$? = $ac_status" >&5
11426 (exit $ac_status); } && 11420 (exit $ac_status); } &&
11427 { ac_try='test -s conftest$ac_exeext' 11421 { ac_try='test -s conftest$ac_exeext'
11428 { (eval echo "$as_me:11428: \"$ac_try\"") >&5 11422 { (eval echo "$as_me:11422: \"$ac_try\"") >&5
11429 (eval $ac_try) 2>&5 11423 (eval $ac_try) 2>&5
11430 ac_status=$? 11424 ac_status=$?
11431 echo "$as_me:11431: \$? = $ac_status" >&5 11425 echo "$as_me:11425: \$? = $ac_status" >&5
11432 (exit $ac_status); }; }; then 11426 (exit $ac_status); }; }; then
11433 eval "$as_ac_var=yes" 11427 eval "$as_ac_var=yes"
11434 else 11428 else
11435 echo "$as_me: failed program was:" >&5 11429 echo "$as_me: failed program was:" >&5
11436 cat conftest.$ac_ext >&5 11430 cat conftest.$ac_ext >&5
11437 eval "$as_ac_var=no" 11431 eval "$as_ac_var=no"
11438 fi 11432 fi
11439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11440 fi 11434 fi
11441 echo "$as_me:11441: result: `eval echo '${'$as_ac_var'}'`" >&5 11435 echo "$as_me:11435: result: `eval echo '${'$as_ac_var'}'`" >&5
11442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11443 if test `eval echo '${'$as_ac_var'}'` = yes; then 11437 if test `eval echo '${'$as_ac_var'}'` = yes; then
11444 cat >>confdefs.h <<EOF 11438 cat >>confdefs.h <<EOF
11445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11446 EOF 11440 EOF
11447 11441
11448 fi 11442 fi
11449 done 11443 done
11450 11444
11451 echo "$as_me:11451: checking whether gettimeofday can accept two arguments" >&5 11445 echo "$as_me:11445: checking whether gettimeofday can accept two arguments" >&5
11452 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11446 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11453 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11447 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11454 echo $ECHO_N "(cached) $ECHO_C" >&6 11448 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 else 11449 else
11456 cat >conftest.$ac_ext <<_ACEOF 11450 cat >conftest.$ac_ext <<_ACEOF
11457 #line 11457 "configure" 11451 #line 11451 "configure"
11458 #include "confdefs.h" 11452 #include "confdefs.h"
11459 11453
11460 #ifdef TIME_WITH_SYS_TIME 11454 #ifdef TIME_WITH_SYS_TIME
11461 #include <sys/time.h> 11455 #include <sys/time.h>
11462 #include <time.h> 11456 #include <time.h>
11475 ; 11469 ;
11476 return 0; 11470 return 0;
11477 } 11471 }
11478 _ACEOF 11472 _ACEOF
11479 rm -f conftest.$ac_objext 11473 rm -f conftest.$ac_objext
11480 if { (eval echo "$as_me:11480: \"$ac_compile\"") >&5 11474 if { (eval echo "$as_me:11474: \"$ac_compile\"") >&5
11481 (eval $ac_compile) 2>&5 11475 (eval $ac_compile) 2>&5
11482 ac_status=$? 11476 ac_status=$?
11483 echo "$as_me:11483: \$? = $ac_status" >&5 11477 echo "$as_me:11477: \$? = $ac_status" >&5
11484 (exit $ac_status); } && 11478 (exit $ac_status); } &&
11485 { ac_try='test -s conftest.$ac_objext' 11479 { ac_try='test -s conftest.$ac_objext'
11486 { (eval echo "$as_me:11486: \"$ac_try\"") >&5 11480 { (eval echo "$as_me:11480: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5 11481 (eval $ac_try) 2>&5
11488 ac_status=$? 11482 ac_status=$?
11489 echo "$as_me:11489: \$? = $ac_status" >&5 11483 echo "$as_me:11483: \$? = $ac_status" >&5
11490 (exit $ac_status); }; }; then 11484 (exit $ac_status); }; }; then
11491 emacs_cv_gettimeofday_two_arguments=yes 11485 emacs_cv_gettimeofday_two_arguments=yes
11492 else 11486 else
11493 echo "$as_me: failed program was:" >&5 11487 echo "$as_me: failed program was:" >&5
11494 cat conftest.$ac_ext >&5 11488 cat conftest.$ac_ext >&5
11495 emacs_cv_gettimeofday_two_arguments=no 11489 emacs_cv_gettimeofday_two_arguments=no
11496 fi 11490 fi
11497 rm -f conftest.$ac_objext conftest.$ac_ext 11491 rm -f conftest.$ac_objext conftest.$ac_ext
11498 fi 11492 fi
11499 echo "$as_me:11499: result: $emacs_cv_gettimeofday_two_arguments" >&5 11493 echo "$as_me:11493: result: $emacs_cv_gettimeofday_two_arguments" >&5
11500 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11494 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11501 if test $emacs_cv_gettimeofday_two_arguments = no; then 11495 if test $emacs_cv_gettimeofday_two_arguments = no; then
11502 cat >>confdefs.h <<\EOF 11496 cat >>confdefs.h <<\EOF
11503 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11497 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11504 EOF 11498 EOF
11505 11499
11506 fi 11500 fi
11507 fi 11501 fi
11508 11502
11509 if test "$ac_cv_func_gettimeofday" = yes; then 11503 if test "$ac_cv_func_gettimeofday" = yes; then
11510 echo "$as_me:11510: checking for struct timezone" >&5 11504 echo "$as_me:11504: checking for struct timezone" >&5
11511 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11505 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11512 if test "${emacs_cv_struct_timezone+set}" = set; then 11506 if test "${emacs_cv_struct_timezone+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6 11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 else 11508 else
11515 cat >conftest.$ac_ext <<_ACEOF 11509 cat >conftest.$ac_ext <<_ACEOF
11516 #line 11516 "configure" 11510 #line 11510 "configure"
11517 #include "confdefs.h" 11511 #include "confdefs.h"
11518 #include <sys/time.h> 11512 #include <sys/time.h>
11519 int 11513 int
11520 main () 11514 main ()
11521 { 11515 {
11523 ; 11517 ;
11524 return 0; 11518 return 0;
11525 } 11519 }
11526 _ACEOF 11520 _ACEOF
11527 rm -f conftest.$ac_objext 11521 rm -f conftest.$ac_objext
11528 if { (eval echo "$as_me:11528: \"$ac_compile\"") >&5 11522 if { (eval echo "$as_me:11522: \"$ac_compile\"") >&5
11529 (eval $ac_compile) 2>&5 11523 (eval $ac_compile) 2>&5
11530 ac_status=$? 11524 ac_status=$?
11531 echo "$as_me:11531: \$? = $ac_status" >&5 11525 echo "$as_me:11525: \$? = $ac_status" >&5
11532 (exit $ac_status); } && 11526 (exit $ac_status); } &&
11533 { ac_try='test -s conftest.$ac_objext' 11527 { ac_try='test -s conftest.$ac_objext'
11534 { (eval echo "$as_me:11534: \"$ac_try\"") >&5 11528 { (eval echo "$as_me:11528: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5 11529 (eval $ac_try) 2>&5
11536 ac_status=$? 11530 ac_status=$?
11537 echo "$as_me:11537: \$? = $ac_status" >&5 11531 echo "$as_me:11531: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then 11532 (exit $ac_status); }; }; then
11539 if test "$cross_compiling" = yes; then 11533 if test "$cross_compiling" = yes; then
11540 emacs_cv_struct_timezone=yes 11534 emacs_cv_struct_timezone=yes
11541 else 11535 else
11542 cat >conftest.$ac_ext <<_ACEOF 11536 cat >conftest.$ac_ext <<_ACEOF
11543 #line 11543 "configure" 11537 #line 11537 "configure"
11544 #include "confdefs.h" 11538 #include "confdefs.h"
11545 11539
11546 #ifdef TIME_WITH_SYS_TIME 11540 #ifdef TIME_WITH_SYS_TIME
11547 #include <sys/time.h> 11541 #include <sys/time.h>
11548 #include <time.h> 11542 #include <time.h>
11558 struct timezone dummy; 11552 struct timezone dummy;
11559 exit (gettimeofday (&time, &dummy)); 11553 exit (gettimeofday (&time, &dummy));
11560 } 11554 }
11561 _ACEOF 11555 _ACEOF
11562 rm -f conftest$ac_exeext 11556 rm -f conftest$ac_exeext
11563 if { (eval echo "$as_me:11563: \"$ac_link\"") >&5 11557 if { (eval echo "$as_me:11557: \"$ac_link\"") >&5
11564 (eval $ac_link) 2>&5 11558 (eval $ac_link) 2>&5
11565 ac_status=$? 11559 ac_status=$?
11566 echo "$as_me:11566: \$? = $ac_status" >&5 11560 echo "$as_me:11560: \$? = $ac_status" >&5
11567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11568 { (eval echo "$as_me:11568: \"$ac_try\"") >&5 11562 { (eval echo "$as_me:11562: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5 11563 (eval $ac_try) 2>&5
11570 ac_status=$? 11564 ac_status=$?
11571 echo "$as_me:11571: \$? = $ac_status" >&5 11565 echo "$as_me:11565: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then 11566 (exit $ac_status); }; }; then
11573 emacs_cv_struct_timezone=yes 11567 emacs_cv_struct_timezone=yes
11574 else 11568 else
11575 echo "$as_me: program exited with status $ac_status" >&5 11569 echo "$as_me: program exited with status $ac_status" >&5
11576 echo "$as_me: failed program was:" >&5 11570 echo "$as_me: failed program was:" >&5
11584 cat conftest.$ac_ext >&5 11578 cat conftest.$ac_ext >&5
11585 emacs_cv_struct_timezone=no 11579 emacs_cv_struct_timezone=no
11586 fi 11580 fi
11587 rm -f conftest.$ac_objext conftest.$ac_ext 11581 rm -f conftest.$ac_objext conftest.$ac_ext
11588 fi 11582 fi
11589 echo "$as_me:11589: result: $emacs_cv_struct_timezone" >&5 11583 echo "$as_me:11583: result: $emacs_cv_struct_timezone" >&5
11590 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11584 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11591 fi 11585 fi
11592 11586
11593 ok_so_far=yes 11587 ok_so_far=yes
11594 echo "$as_me:11594: checking for socket" >&5 11588 echo "$as_me:11588: checking for socket" >&5
11595 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11589 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11596 if test "${ac_cv_func_socket+set}" = set; then 11590 if test "${ac_cv_func_socket+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6 11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 else 11592 else
11599 cat >conftest.$ac_ext <<_ACEOF 11593 cat >conftest.$ac_ext <<_ACEOF
11600 #line 11600 "configure" 11594 #line 11594 "configure"
11601 #include "confdefs.h" 11595 #include "confdefs.h"
11602 /* System header to define __stub macros and hopefully few prototypes, 11596 /* System header to define __stub macros and hopefully few prototypes,
11603 which can conflict with char socket (); below. */ 11597 which can conflict with char socket (); below. */
11604 #include <assert.h> 11598 #include <assert.h>
11605 /* Override any gcc2 internal prototype to avoid an error. */ 11599 /* Override any gcc2 internal prototype to avoid an error. */
11626 ; 11620 ;
11627 return 0; 11621 return 0;
11628 } 11622 }
11629 _ACEOF 11623 _ACEOF
11630 rm -f conftest.$ac_objext conftest$ac_exeext 11624 rm -f conftest.$ac_objext conftest$ac_exeext
11631 if { (eval echo "$as_me:11631: \"$ac_link\"") >&5 11625 if { (eval echo "$as_me:11625: \"$ac_link\"") >&5
11632 (eval $ac_link) 2>&5 11626 (eval $ac_link) 2>&5
11633 ac_status=$? 11627 ac_status=$?
11634 echo "$as_me:11634: \$? = $ac_status" >&5 11628 echo "$as_me:11628: \$? = $ac_status" >&5
11635 (exit $ac_status); } && 11629 (exit $ac_status); } &&
11636 { ac_try='test -s conftest$ac_exeext' 11630 { ac_try='test -s conftest$ac_exeext'
11637 { (eval echo "$as_me:11637: \"$ac_try\"") >&5 11631 { (eval echo "$as_me:11631: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5 11632 (eval $ac_try) 2>&5
11639 ac_status=$? 11633 ac_status=$?
11640 echo "$as_me:11640: \$? = $ac_status" >&5 11634 echo "$as_me:11634: \$? = $ac_status" >&5
11641 (exit $ac_status); }; }; then 11635 (exit $ac_status); }; }; then
11642 ac_cv_func_socket=yes 11636 ac_cv_func_socket=yes
11643 else 11637 else
11644 echo "$as_me: failed program was:" >&5 11638 echo "$as_me: failed program was:" >&5
11645 cat conftest.$ac_ext >&5 11639 cat conftest.$ac_ext >&5
11646 ac_cv_func_socket=no 11640 ac_cv_func_socket=no
11647 fi 11641 fi
11648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11649 fi 11643 fi
11650 echo "$as_me:11650: result: $ac_cv_func_socket" >&5 11644 echo "$as_me:11644: result: $ac_cv_func_socket" >&5
11651 echo "${ECHO_T}$ac_cv_func_socket" >&6 11645 echo "${ECHO_T}$ac_cv_func_socket" >&6
11652 if test $ac_cv_func_socket = yes; then 11646 if test $ac_cv_func_socket = yes; then
11653 : 11647 :
11654 else 11648 else
11655 ok_so_far=no 11649 ok_so_far=no
11656 fi 11650 fi
11657 11651
11658 if test $ok_so_far = yes; then 11652 if test $ok_so_far = yes; then
11659 echo "$as_me:11659: checking for netinet/in.h" >&5 11653 echo "$as_me:11653: checking for netinet/in.h" >&5
11660 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11654 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11661 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11655 if test "${ac_cv_header_netinet_in_h+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6 11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11663 else 11657 else
11664 cat >conftest.$ac_ext <<_ACEOF 11658 cat >conftest.$ac_ext <<_ACEOF
11665 #line 11665 "configure" 11659 #line 11659 "configure"
11666 #include "confdefs.h" 11660 #include "confdefs.h"
11667 #include <netinet/in.h> 11661 #include <netinet/in.h>
11668 _ACEOF 11662 _ACEOF
11669 if { (eval echo "$as_me:11669: \"$ac_cpp conftest.$ac_ext\"") >&5 11663 if { (eval echo "$as_me:11663: \"$ac_cpp conftest.$ac_ext\"") >&5
11670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11671 ac_status=$? 11665 ac_status=$?
11672 egrep -v '^ *\+' conftest.er1 >conftest.err 11666 egrep -v '^ *\+' conftest.er1 >conftest.err
11673 rm -f conftest.er1 11667 rm -f conftest.er1
11674 cat conftest.err >&5 11668 cat conftest.err >&5
11675 echo "$as_me:11675: \$? = $ac_status" >&5 11669 echo "$as_me:11669: \$? = $ac_status" >&5
11676 (exit $ac_status); } >/dev/null; then 11670 (exit $ac_status); } >/dev/null; then
11677 if test -s conftest.err; then 11671 if test -s conftest.err; then
11678 ac_cpp_err=$ac_c_preproc_warn_flag 11672 ac_cpp_err=$ac_c_preproc_warn_flag
11679 else 11673 else
11680 ac_cpp_err= 11674 ac_cpp_err=
11689 cat conftest.$ac_ext >&5 11683 cat conftest.$ac_ext >&5
11690 ac_cv_header_netinet_in_h=no 11684 ac_cv_header_netinet_in_h=no
11691 fi 11685 fi
11692 rm -f conftest.err conftest.$ac_ext 11686 rm -f conftest.err conftest.$ac_ext
11693 fi 11687 fi
11694 echo "$as_me:11694: result: $ac_cv_header_netinet_in_h" >&5 11688 echo "$as_me:11688: result: $ac_cv_header_netinet_in_h" >&5
11695 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 11689 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11696 if test $ac_cv_header_netinet_in_h = yes; then 11690 if test $ac_cv_header_netinet_in_h = yes; then
11697 : 11691 :
11698 else 11692 else
11699 ok_so_far=no 11693 ok_so_far=no
11700 fi 11694 fi
11701 11695
11702 fi 11696 fi
11703 if test $ok_so_far = yes; then 11697 if test $ok_so_far = yes; then
11704 echo "$as_me:11704: checking for arpa/inet.h" >&5 11698 echo "$as_me:11698: checking for arpa/inet.h" >&5
11705 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 11699 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11706 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 11700 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6 11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 else 11702 else
11709 cat >conftest.$ac_ext <<_ACEOF 11703 cat >conftest.$ac_ext <<_ACEOF
11710 #line 11710 "configure" 11704 #line 11704 "configure"
11711 #include "confdefs.h" 11705 #include "confdefs.h"
11712 #include <arpa/inet.h> 11706 #include <arpa/inet.h>
11713 _ACEOF 11707 _ACEOF
11714 if { (eval echo "$as_me:11714: \"$ac_cpp conftest.$ac_ext\"") >&5 11708 if { (eval echo "$as_me:11708: \"$ac_cpp conftest.$ac_ext\"") >&5
11715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11716 ac_status=$? 11710 ac_status=$?
11717 egrep -v '^ *\+' conftest.er1 >conftest.err 11711 egrep -v '^ *\+' conftest.er1 >conftest.err
11718 rm -f conftest.er1 11712 rm -f conftest.er1
11719 cat conftest.err >&5 11713 cat conftest.err >&5
11720 echo "$as_me:11720: \$? = $ac_status" >&5 11714 echo "$as_me:11714: \$? = $ac_status" >&5
11721 (exit $ac_status); } >/dev/null; then 11715 (exit $ac_status); } >/dev/null; then
11722 if test -s conftest.err; then 11716 if test -s conftest.err; then
11723 ac_cpp_err=$ac_c_preproc_warn_flag 11717 ac_cpp_err=$ac_c_preproc_warn_flag
11724 else 11718 else
11725 ac_cpp_err= 11719 ac_cpp_err=
11734 cat conftest.$ac_ext >&5 11728 cat conftest.$ac_ext >&5
11735 ac_cv_header_arpa_inet_h=no 11729 ac_cv_header_arpa_inet_h=no
11736 fi 11730 fi
11737 rm -f conftest.err conftest.$ac_ext 11731 rm -f conftest.err conftest.$ac_ext
11738 fi 11732 fi
11739 echo "$as_me:11739: result: $ac_cv_header_arpa_inet_h" >&5 11733 echo "$as_me:11733: result: $ac_cv_header_arpa_inet_h" >&5
11740 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 11734 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11741 if test $ac_cv_header_arpa_inet_h = yes; then 11735 if test $ac_cv_header_arpa_inet_h = yes; then
11742 : 11736 :
11743 else 11737 else
11744 ok_so_far=no 11738 ok_so_far=no
11757 #define HAVE_AIX_SMT_EXP 1 11751 #define HAVE_AIX_SMT_EXP 1
11758 EOF 11752 EOF
11759 11753
11760 fi 11754 fi
11761 11755
11762 echo "$as_me:11762: checking whether system supports dynamic ptys" >&5 11756 echo "$as_me:11756: checking whether system supports dynamic ptys" >&5
11763 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 11757 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11764 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 11758 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
11765 echo "$as_me:11765: result: yes" >&5 11759 echo "$as_me:11759: result: yes" >&5
11766 echo "${ECHO_T}yes" >&6 11760 echo "${ECHO_T}yes" >&6
11767 cat >>confdefs.h <<\EOF 11761 cat >>confdefs.h <<\EOF
11768 #define HAVE_DEV_PTMX 1 11762 #define HAVE_DEV_PTMX 1
11769 EOF 11763 EOF
11770 11764
11771 else 11765 else
11772 echo "$as_me:11772: result: no" >&5 11766 echo "$as_me:11766: result: no" >&5
11773 echo "${ECHO_T}no" >&6 11767 echo "${ECHO_T}no" >&6
11774 fi 11768 fi
11775 11769
11776 echo "$as_me:11776: checking for pid_t" >&5 11770 echo "$as_me:11770: checking for pid_t" >&5
11777 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 11771 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11778 if test "${ac_cv_type_pid_t+set}" = set; then 11772 if test "${ac_cv_type_pid_t+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6 11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 else 11774 else
11781 cat >conftest.$ac_ext <<_ACEOF 11775 cat >conftest.$ac_ext <<_ACEOF
11782 #line 11782 "configure" 11776 #line 11776 "configure"
11783 #include "confdefs.h" 11777 #include "confdefs.h"
11784 $ac_includes_default 11778 $ac_includes_default
11785 int 11779 int
11786 main () 11780 main ()
11787 { 11781 {
11792 ; 11786 ;
11793 return 0; 11787 return 0;
11794 } 11788 }
11795 _ACEOF 11789 _ACEOF
11796 rm -f conftest.$ac_objext 11790 rm -f conftest.$ac_objext
11797 if { (eval echo "$as_me:11797: \"$ac_compile\"") >&5 11791 if { (eval echo "$as_me:11791: \"$ac_compile\"") >&5
11798 (eval $ac_compile) 2>&5 11792 (eval $ac_compile) 2>&5
11799 ac_status=$? 11793 ac_status=$?
11800 echo "$as_me:11800: \$? = $ac_status" >&5 11794 echo "$as_me:11794: \$? = $ac_status" >&5
11801 (exit $ac_status); } && 11795 (exit $ac_status); } &&
11802 { ac_try='test -s conftest.$ac_objext' 11796 { ac_try='test -s conftest.$ac_objext'
11803 { (eval echo "$as_me:11803: \"$ac_try\"") >&5 11797 { (eval echo "$as_me:11797: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5 11798 (eval $ac_try) 2>&5
11805 ac_status=$? 11799 ac_status=$?
11806 echo "$as_me:11806: \$? = $ac_status" >&5 11800 echo "$as_me:11800: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then 11801 (exit $ac_status); }; }; then
11808 ac_cv_type_pid_t=yes 11802 ac_cv_type_pid_t=yes
11809 else 11803 else
11810 echo "$as_me: failed program was:" >&5 11804 echo "$as_me: failed program was:" >&5
11811 cat conftest.$ac_ext >&5 11805 cat conftest.$ac_ext >&5
11812 ac_cv_type_pid_t=no 11806 ac_cv_type_pid_t=no
11813 fi 11807 fi
11814 rm -f conftest.$ac_objext conftest.$ac_ext 11808 rm -f conftest.$ac_objext conftest.$ac_ext
11815 fi 11809 fi
11816 echo "$as_me:11816: result: $ac_cv_type_pid_t" >&5 11810 echo "$as_me:11810: result: $ac_cv_type_pid_t" >&5
11817 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 11811 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11818 if test $ac_cv_type_pid_t = yes; then 11812 if test $ac_cv_type_pid_t = yes; then
11819 : 11813 :
11820 else 11814 else
11821 11815
11826 fi 11820 fi
11827 11821
11828 for ac_header in unistd.h vfork.h 11822 for ac_header in unistd.h vfork.h
11829 do 11823 do
11830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11831 echo "$as_me:11831: checking for $ac_header" >&5 11825 echo "$as_me:11825: checking for $ac_header" >&5
11832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11833 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6 11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else 11829 else
11836 cat >conftest.$ac_ext <<_ACEOF 11830 cat >conftest.$ac_ext <<_ACEOF
11837 #line 11837 "configure" 11831 #line 11831 "configure"
11838 #include "confdefs.h" 11832 #include "confdefs.h"
11839 #include <$ac_header> 11833 #include <$ac_header>
11840 _ACEOF 11834 _ACEOF
11841 if { (eval echo "$as_me:11841: \"$ac_cpp conftest.$ac_ext\"") >&5 11835 if { (eval echo "$as_me:11835: \"$ac_cpp conftest.$ac_ext\"") >&5
11842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11843 ac_status=$? 11837 ac_status=$?
11844 egrep -v '^ *\+' conftest.er1 >conftest.err 11838 egrep -v '^ *\+' conftest.er1 >conftest.err
11845 rm -f conftest.er1 11839 rm -f conftest.er1
11846 cat conftest.err >&5 11840 cat conftest.err >&5
11847 echo "$as_me:11847: \$? = $ac_status" >&5 11841 echo "$as_me:11841: \$? = $ac_status" >&5
11848 (exit $ac_status); } >/dev/null; then 11842 (exit $ac_status); } >/dev/null; then
11849 if test -s conftest.err; then 11843 if test -s conftest.err; then
11850 ac_cpp_err=$ac_c_preproc_warn_flag 11844 ac_cpp_err=$ac_c_preproc_warn_flag
11851 else 11845 else
11852 ac_cpp_err= 11846 ac_cpp_err=
11861 cat conftest.$ac_ext >&5 11855 cat conftest.$ac_ext >&5
11862 eval "$as_ac_Header=no" 11856 eval "$as_ac_Header=no"
11863 fi 11857 fi
11864 rm -f conftest.err conftest.$ac_ext 11858 rm -f conftest.err conftest.$ac_ext
11865 fi 11859 fi
11866 echo "$as_me:11866: result: `eval echo '${'$as_ac_Header'}'`" >&5 11860 echo "$as_me:11860: result: `eval echo '${'$as_ac_Header'}'`" >&5
11867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11868 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11869 cat >>confdefs.h <<EOF 11863 cat >>confdefs.h <<EOF
11870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11871 EOF 11865 EOF
11874 done 11868 done
11875 11869
11876 for ac_func in fork vfork 11870 for ac_func in fork vfork
11877 do 11871 do
11878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11879 echo "$as_me:11879: checking for $ac_func" >&5 11873 echo "$as_me:11873: checking for $ac_func" >&5
11880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11881 if eval "test \"\${$as_ac_var+set}\" = set"; then 11875 if eval "test \"\${$as_ac_var+set}\" = set"; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6 11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 else 11877 else
11884 cat >conftest.$ac_ext <<_ACEOF 11878 cat >conftest.$ac_ext <<_ACEOF
11885 #line 11885 "configure" 11879 #line 11879 "configure"
11886 #include "confdefs.h" 11880 #include "confdefs.h"
11887 /* System header to define __stub macros and hopefully few prototypes, 11881 /* System header to define __stub macros and hopefully few prototypes,
11888 which can conflict with char $ac_func (); below. */ 11882 which can conflict with char $ac_func (); below. */
11889 #include <assert.h> 11883 #include <assert.h>
11890 /* Override any gcc2 internal prototype to avoid an error. */ 11884 /* Override any gcc2 internal prototype to avoid an error. */
11911 ; 11905 ;
11912 return 0; 11906 return 0;
11913 } 11907 }
11914 _ACEOF 11908 _ACEOF
11915 rm -f conftest.$ac_objext conftest$ac_exeext 11909 rm -f conftest.$ac_objext conftest$ac_exeext
11916 if { (eval echo "$as_me:11916: \"$ac_link\"") >&5 11910 if { (eval echo "$as_me:11910: \"$ac_link\"") >&5
11917 (eval $ac_link) 2>&5 11911 (eval $ac_link) 2>&5
11918 ac_status=$? 11912 ac_status=$?
11919 echo "$as_me:11919: \$? = $ac_status" >&5 11913 echo "$as_me:11913: \$? = $ac_status" >&5
11920 (exit $ac_status); } && 11914 (exit $ac_status); } &&
11921 { ac_try='test -s conftest$ac_exeext' 11915 { ac_try='test -s conftest$ac_exeext'
11922 { (eval echo "$as_me:11922: \"$ac_try\"") >&5 11916 { (eval echo "$as_me:11916: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5 11917 (eval $ac_try) 2>&5
11924 ac_status=$? 11918 ac_status=$?
11925 echo "$as_me:11925: \$? = $ac_status" >&5 11919 echo "$as_me:11919: \$? = $ac_status" >&5
11926 (exit $ac_status); }; }; then 11920 (exit $ac_status); }; }; then
11927 eval "$as_ac_var=yes" 11921 eval "$as_ac_var=yes"
11928 else 11922 else
11929 echo "$as_me: failed program was:" >&5 11923 echo "$as_me: failed program was:" >&5
11930 cat conftest.$ac_ext >&5 11924 cat conftest.$ac_ext >&5
11931 eval "$as_ac_var=no" 11925 eval "$as_ac_var=no"
11932 fi 11926 fi
11933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11934 fi 11928 fi
11935 echo "$as_me:11935: result: `eval echo '${'$as_ac_var'}'`" >&5 11929 echo "$as_me:11929: result: `eval echo '${'$as_ac_var'}'`" >&5
11936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11937 if test `eval echo '${'$as_ac_var'}'` = yes; then 11931 if test `eval echo '${'$as_ac_var'}'` = yes; then
11938 cat >>confdefs.h <<EOF 11932 cat >>confdefs.h <<EOF
11939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11940 EOF 11934 EOF
11942 fi 11936 fi
11943 done 11937 done
11944 11938
11945 ac_cv_func_fork_works=$ac_cv_func_fork 11939 ac_cv_func_fork_works=$ac_cv_func_fork
11946 if test "x$ac_cv_func_fork" = xyes; then 11940 if test "x$ac_cv_func_fork" = xyes; then
11947 echo "$as_me:11947: checking for working fork" >&5 11941 echo "$as_me:11941: checking for working fork" >&5
11948 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 11942 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11949 if test "${ac_cv_func_fork_works+set}" = set; then 11943 if test "${ac_cv_func_fork_works+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6 11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 else 11945 else
11952 if test "$cross_compiling" = yes; then 11946 if test "$cross_compiling" = yes; then
11965 exit (1); 11959 exit (1);
11966 exit (0); 11960 exit (0);
11967 } 11961 }
11968 _ACEOF 11962 _ACEOF
11969 rm -f conftest$ac_exeext 11963 rm -f conftest$ac_exeext
11970 if { (eval echo "$as_me:11970: \"$ac_link\"") >&5 11964 if { (eval echo "$as_me:11964: \"$ac_link\"") >&5
11971 (eval $ac_link) 2>&5 11965 (eval $ac_link) 2>&5
11972 ac_status=$? 11966 ac_status=$?
11973 echo "$as_me:11973: \$? = $ac_status" >&5 11967 echo "$as_me:11967: \$? = $ac_status" >&5
11974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11975 { (eval echo "$as_me:11975: \"$ac_try\"") >&5 11969 { (eval echo "$as_me:11969: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5 11970 (eval $ac_try) 2>&5
11977 ac_status=$? 11971 ac_status=$?
11978 echo "$as_me:11978: \$? = $ac_status" >&5 11972 echo "$as_me:11972: \$? = $ac_status" >&5
11979 (exit $ac_status); }; }; then 11973 (exit $ac_status); }; }; then
11980 ac_cv_func_fork_works=yes 11974 ac_cv_func_fork_works=yes
11981 else 11975 else
11982 echo "$as_me: program exited with status $ac_status" >&5 11976 echo "$as_me: program exited with status $ac_status" >&5
11983 echo "$as_me: failed program was:" >&5 11977 echo "$as_me: failed program was:" >&5
11985 ac_cv_func_fork_works=no 11979 ac_cv_func_fork_works=no
11986 fi 11980 fi
11987 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11981 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11988 fi 11982 fi
11989 fi 11983 fi
11990 echo "$as_me:11990: result: $ac_cv_func_fork_works" >&5 11984 echo "$as_me:11984: result: $ac_cv_func_fork_works" >&5
11991 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 11985 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11992 11986
11993 fi 11987 fi
11994 if test "x$ac_cv_func_fork_works" = xcross; then 11988 if test "x$ac_cv_func_fork_works" = xcross; then
11995 case $host in 11989 case $host in
11999 ;; 11993 ;;
12000 *) 11994 *)
12001 ac_cv_func_fork_works=yes 11995 ac_cv_func_fork_works=yes
12002 ;; 11996 ;;
12003 esac 11997 esac
12004 { echo "$as_me:12004: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 11998 { echo "$as_me:11998: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12005 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 11999 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12006 fi 12000 fi
12007 ac_cv_func_vfork_works=$ac_cv_func_vfork 12001 ac_cv_func_vfork_works=$ac_cv_func_vfork
12008 if test "x$ac_cv_func_vfork" = xyes; then 12002 if test "x$ac_cv_func_vfork" = xyes; then
12009 echo "$as_me:12009: checking for working vfork" >&5 12003 echo "$as_me:12003: checking for working vfork" >&5
12010 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12004 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12011 if test "${ac_cv_func_vfork_works+set}" = set; then 12005 if test "${ac_cv_func_vfork_works+set}" = set; then
12012 echo $ECHO_N "(cached) $ECHO_C" >&6 12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 else 12007 else
12014 if test "$cross_compiling" = yes; then 12008 if test "$cross_compiling" = yes; then
12015 ac_cv_func_vfork_works=cross 12009 ac_cv_func_vfork_works=cross
12016 else 12010 else
12017 cat >conftest.$ac_ext <<_ACEOF 12011 cat >conftest.$ac_ext <<_ACEOF
12018 #line 12018 "configure" 12012 #line 12012 "configure"
12019 #include "confdefs.h" 12013 #include "confdefs.h"
12020 /* Thanks to Paul Eggert for this test. */ 12014 /* Thanks to Paul Eggert for this test. */
12021 #include <stdio.h> 12015 #include <stdio.h>
12022 #include <sys/types.h> 12016 #include <sys/types.h>
12023 #include <sys/stat.h> 12017 #include <sys/stat.h>
12110 ); 12104 );
12111 } 12105 }
12112 } 12106 }
12113 _ACEOF 12107 _ACEOF
12114 rm -f conftest$ac_exeext 12108 rm -f conftest$ac_exeext
12115 if { (eval echo "$as_me:12115: \"$ac_link\"") >&5 12109 if { (eval echo "$as_me:12109: \"$ac_link\"") >&5
12116 (eval $ac_link) 2>&5 12110 (eval $ac_link) 2>&5
12117 ac_status=$? 12111 ac_status=$?
12118 echo "$as_me:12118: \$? = $ac_status" >&5 12112 echo "$as_me:12112: \$? = $ac_status" >&5
12119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12120 { (eval echo "$as_me:12120: \"$ac_try\"") >&5 12114 { (eval echo "$as_me:12114: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5 12115 (eval $ac_try) 2>&5
12122 ac_status=$? 12116 ac_status=$?
12123 echo "$as_me:12123: \$? = $ac_status" >&5 12117 echo "$as_me:12117: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then 12118 (exit $ac_status); }; }; then
12125 ac_cv_func_vfork_works=yes 12119 ac_cv_func_vfork_works=yes
12126 else 12120 else
12127 echo "$as_me: program exited with status $ac_status" >&5 12121 echo "$as_me: program exited with status $ac_status" >&5
12128 echo "$as_me: failed program was:" >&5 12122 echo "$as_me: failed program was:" >&5
12130 ac_cv_func_vfork_works=no 12124 ac_cv_func_vfork_works=no
12131 fi 12125 fi
12132 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12126 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12133 fi 12127 fi
12134 fi 12128 fi
12135 echo "$as_me:12135: result: $ac_cv_func_vfork_works" >&5 12129 echo "$as_me:12129: result: $ac_cv_func_vfork_works" >&5
12136 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12130 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12137 12131
12138 fi; 12132 fi;
12139 if test "x$ac_cv_func_fork_works" = xcross; then 12133 if test "x$ac_cv_func_fork_works" = xcross; then
12140 ac_cv_func_vfork_works=ac_cv_func_vfork 12134 ac_cv_func_vfork_works=ac_cv_func_vfork
12141 { echo "$as_me:12141: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12135 { echo "$as_me:12135: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12142 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12136 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12143 fi 12137 fi
12144 12138
12145 if test "x$ac_cv_func_vfork_works" = xyes; then 12139 if test "x$ac_cv_func_vfork_works" = xyes; then
12146 12140
12162 EOF 12156 EOF
12163 12157
12164 fi 12158 fi
12165 12159
12166 # Fixme: This should be replaced when we have autoconf 2.14. 12160 # Fixme: This should be replaced when we have autoconf 2.14.
12167 echo "$as_me:12167: checking for size_t" >&5 12161 echo "$as_me:12161: checking for size_t" >&5
12168 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12162 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12169 if test "${ac_cv_type_size_t+set}" = set; then 12163 if test "${ac_cv_type_size_t+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6 12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 else 12165 else
12172 cat >conftest.$ac_ext <<_ACEOF 12166 cat >conftest.$ac_ext <<_ACEOF
12173 #line 12173 "configure" 12167 #line 12167 "configure"
12174 #include "confdefs.h" 12168 #include "confdefs.h"
12175 $ac_includes_default 12169 $ac_includes_default
12176 int 12170 int
12177 main () 12171 main ()
12178 { 12172 {
12183 ; 12177 ;
12184 return 0; 12178 return 0;
12185 } 12179 }
12186 _ACEOF 12180 _ACEOF
12187 rm -f conftest.$ac_objext 12181 rm -f conftest.$ac_objext
12188 if { (eval echo "$as_me:12188: \"$ac_compile\"") >&5 12182 if { (eval echo "$as_me:12182: \"$ac_compile\"") >&5
12189 (eval $ac_compile) 2>&5 12183 (eval $ac_compile) 2>&5
12190 ac_status=$? 12184 ac_status=$?
12191 echo "$as_me:12191: \$? = $ac_status" >&5 12185 echo "$as_me:12185: \$? = $ac_status" >&5
12192 (exit $ac_status); } && 12186 (exit $ac_status); } &&
12193 { ac_try='test -s conftest.$ac_objext' 12187 { ac_try='test -s conftest.$ac_objext'
12194 { (eval echo "$as_me:12194: \"$ac_try\"") >&5 12188 { (eval echo "$as_me:12188: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5 12189 (eval $ac_try) 2>&5
12196 ac_status=$? 12190 ac_status=$?
12197 echo "$as_me:12197: \$? = $ac_status" >&5 12191 echo "$as_me:12191: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then 12192 (exit $ac_status); }; }; then
12199 ac_cv_type_size_t=yes 12193 ac_cv_type_size_t=yes
12200 else 12194 else
12201 echo "$as_me: failed program was:" >&5 12195 echo "$as_me: failed program was:" >&5
12202 cat conftest.$ac_ext >&5 12196 cat conftest.$ac_ext >&5
12203 ac_cv_type_size_t=no 12197 ac_cv_type_size_t=no
12204 fi 12198 fi
12205 rm -f conftest.$ac_objext conftest.$ac_ext 12199 rm -f conftest.$ac_objext conftest.$ac_ext
12206 fi 12200 fi
12207 echo "$as_me:12207: result: $ac_cv_type_size_t" >&5 12201 echo "$as_me:12201: result: $ac_cv_type_size_t" >&5
12208 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12202 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12209 if test $ac_cv_type_size_t = yes; then 12203 if test $ac_cv_type_size_t = yes; then
12210 : 12204 :
12211 else 12205 else
12212 12206
12222 12216
12223 #### Find out which version of Emacs this is. 12217 #### Find out which version of Emacs this is.
12224 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12218 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12225 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12219 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12226 if test x"${version}" = x; then 12220 if test x"${version}" = x; then
12227 { { echo "$as_me:12227: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12221 { { echo "$as_me:12221: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12228 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12222 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12229 { (exit 1); exit 1; }; } 12223 { (exit 1); exit 1; }; }
12230 fi 12224 fi
12231 12225
12232 ### Specify what sort of things we'll be editing into Makefile and config.h. 12226 ### Specify what sort of things we'll be editing into Makefile and config.h.
12308 fi 12302 fi
12309 12303
12310 for ac_header in nlist.h 12304 for ac_header in nlist.h
12311 do 12305 do
12312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12313 echo "$as_me:12313: checking for $ac_header" >&5 12307 echo "$as_me:12307: checking for $ac_header" >&5
12314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12315 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12316 echo $ECHO_N "(cached) $ECHO_C" >&6 12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 else 12311 else
12318 cat >conftest.$ac_ext <<_ACEOF 12312 cat >conftest.$ac_ext <<_ACEOF
12319 #line 12319 "configure" 12313 #line 12313 "configure"
12320 #include "confdefs.h" 12314 #include "confdefs.h"
12321 #include <$ac_header> 12315 #include <$ac_header>
12322 _ACEOF 12316 _ACEOF
12323 if { (eval echo "$as_me:12323: \"$ac_cpp conftest.$ac_ext\"") >&5 12317 if { (eval echo "$as_me:12317: \"$ac_cpp conftest.$ac_ext\"") >&5
12324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12325 ac_status=$? 12319 ac_status=$?
12326 egrep -v '^ *\+' conftest.er1 >conftest.err 12320 egrep -v '^ *\+' conftest.er1 >conftest.err
12327 rm -f conftest.er1 12321 rm -f conftest.er1
12328 cat conftest.err >&5 12322 cat conftest.err >&5
12329 echo "$as_me:12329: \$? = $ac_status" >&5 12323 echo "$as_me:12323: \$? = $ac_status" >&5
12330 (exit $ac_status); } >/dev/null; then 12324 (exit $ac_status); } >/dev/null; then
12331 if test -s conftest.err; then 12325 if test -s conftest.err; then
12332 ac_cpp_err=$ac_c_preproc_warn_flag 12326 ac_cpp_err=$ac_c_preproc_warn_flag
12333 else 12327 else
12334 ac_cpp_err= 12328 ac_cpp_err=
12343 cat conftest.$ac_ext >&5 12337 cat conftest.$ac_ext >&5
12344 eval "$as_ac_Header=no" 12338 eval "$as_ac_Header=no"
12345 fi 12339 fi
12346 rm -f conftest.err conftest.$ac_ext 12340 rm -f conftest.err conftest.$ac_ext
12347 fi 12341 fi
12348 echo "$as_me:12348: result: `eval echo '${'$as_ac_Header'}'`" >&5 12342 echo "$as_me:12342: result: `eval echo '${'$as_ac_Header'}'`" >&5
12349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12350 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12351 cat >>confdefs.h <<EOF 12345 cat >>confdefs.h <<EOF
12352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12353 EOF 12347 EOF
12403 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12397 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12404 ## from Makefile.c can correctly provide the arg `-traditional' to the 12398 ## from Makefile.c can correctly provide the arg `-traditional' to the
12405 ## C preprocessor. 12399 ## C preprocessor.
12406 12400
12407 cat >conftest.$ac_ext <<_ACEOF 12401 cat >conftest.$ac_ext <<_ACEOF
12408 #line 12408 "configure" 12402 #line 12402 "configure"
12409 #include "confdefs.h" 12403 #include "confdefs.h"
12410 yes..yes 12404 yes..yes
12411 _ACEOF 12405 _ACEOF
12412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12413 egrep "yes..yes" >/dev/null 2>&1; then 12407 egrep "yes..yes" >/dev/null 2>&1; then
12496 DEFS=-DHAVE_CONFIG_H 12490 DEFS=-DHAVE_CONFIG_H
12497 12491
12498 : ${CONFIG_STATUS=./config.status} 12492 : ${CONFIG_STATUS=./config.status}
12499 ac_clean_files_save=$ac_clean_files 12493 ac_clean_files_save=$ac_clean_files
12500 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12501 { echo "$as_me:12501: creating $CONFIG_STATUS" >&5 12495 { echo "$as_me:12495: creating $CONFIG_STATUS" >&5
12502 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12496 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12503 cat >$CONFIG_STATUS <<_ACEOF 12497 cat >$CONFIG_STATUS <<_ACEOF
12504 #! $SHELL 12498 #! $SHELL
12505 # Generated automatically by configure. 12499 # Generated automatically by configure.
12506 # Run this file to recreate the current configuration. 12500 # Run this file to recreate the current configuration.
12672 cat >>$CONFIG_STATUS <<\EOF 12666 cat >>$CONFIG_STATUS <<\EOF
12673 --version | --vers* | -V ) 12667 --version | --vers* | -V )
12674 echo "$ac_cs_version"; exit 0 ;; 12668 echo "$ac_cs_version"; exit 0 ;;
12675 --he | --h) 12669 --he | --h)
12676 # Conflict between --help and --header 12670 # Conflict between --help and --header
12677 { { echo "$as_me:12677: error: ambiguous option: $1 12671 { { echo "$as_me:12671: error: ambiguous option: $1
12678 Try \`$0 --help' for more information." >&5 12672 Try \`$0 --help' for more information." >&5
12679 echo "$as_me: error: ambiguous option: $1 12673 echo "$as_me: error: ambiguous option: $1
12680 Try \`$0 --help' for more information." >&2;} 12674 Try \`$0 --help' for more information." >&2;}
12681 { (exit 1); exit 1; }; };; 12675 { (exit 1); exit 1; }; };;
12682 --help | --hel | -h ) 12676 --help | --hel | -h )
12691 shift 12685 shift
12692 CONFIG_HEADERS="$CONFIG_HEADERS $1" 12686 CONFIG_HEADERS="$CONFIG_HEADERS $1"
12693 ac_need_defaults=false;; 12687 ac_need_defaults=false;;
12694 12688
12695 # This is an error. 12689 # This is an error.
12696 -*) { { echo "$as_me:12696: error: unrecognized option: $1 12690 -*) { { echo "$as_me:12690: error: unrecognized option: $1
12697 Try \`$0 --help' for more information." >&5 12691 Try \`$0 --help' for more information." >&5
12698 echo "$as_me: error: unrecognized option: $1 12692 echo "$as_me: error: unrecognized option: $1
12699 Try \`$0 --help' for more information." >&2;} 12693 Try \`$0 --help' for more information." >&2;}
12700 { (exit 1); exit 1; }; } ;; 12694 { (exit 1); exit 1; }; } ;;
12701 12695
12746 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 12740 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
12747 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 12741 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
12748 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 12742 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12749 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12743 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12750 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 12744 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12751 *) { { echo "$as_me:12751: error: invalid argument: $ac_config_target" >&5 12745 *) { { echo "$as_me:12745: error: invalid argument: $ac_config_target" >&5
12752 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12746 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12753 { (exit 1); exit 1; }; };; 12747 { (exit 1); exit 1; }; };;
12754 esac 12748 esac
12755 done 12749 done
12756 12750
12993 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12987 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12994 *) ac_INSTALL=$ac_dots$INSTALL ;; 12988 *) ac_INSTALL=$ac_dots$INSTALL ;;
12995 esac 12989 esac
12996 12990
12997 if test x"$ac_file" != x-; then 12991 if test x"$ac_file" != x-; then
12998 { echo "$as_me:12998: creating $ac_file" >&5 12992 { echo "$as_me:12992: creating $ac_file" >&5
12999 echo "$as_me: creating $ac_file" >&6;} 12993 echo "$as_me: creating $ac_file" >&6;}
13000 rm -f "$ac_file" 12994 rm -f "$ac_file"
13001 fi 12995 fi
13002 # Let's still pretend it is `configure' which instantiates (i.e., don't 12996 # Let's still pretend it is `configure' which instantiates (i.e., don't
13003 # use $as_me), people would be surprised to read: 12997 # use $as_me), people would be surprised to read:
13011 for f in $ac_file_in; do 13005 for f in $ac_file_in; do
13012 case $f in 13006 case $f in
13013 -) echo $tmp/stdin ;; 13007 -) echo $tmp/stdin ;;
13014 [\\/$]*) 13008 [\\/$]*)
13015 # Absolute (can't be DOS-style, as IFS=:) 13009 # Absolute (can't be DOS-style, as IFS=:)
13016 test -f "$f" || { { echo "$as_me:13016: error: cannot find input file: $f" >&5 13010 test -f "$f" || { { echo "$as_me:13010: error: cannot find input file: $f" >&5
13017 echo "$as_me: error: cannot find input file: $f" >&2;} 13011 echo "$as_me: error: cannot find input file: $f" >&2;}
13018 { (exit 1); exit 1; }; } 13012 { (exit 1); exit 1; }; }
13019 echo $f;; 13013 echo $f;;
13020 *) # Relative 13014 *) # Relative
13021 if test -f "$f"; then 13015 if test -f "$f"; then
13024 elif test -f "$srcdir/$f"; then 13018 elif test -f "$srcdir/$f"; then
13025 # Source tree 13019 # Source tree
13026 echo $srcdir/$f 13020 echo $srcdir/$f
13027 else 13021 else
13028 # /dev/null tree 13022 # /dev/null tree
13029 { { echo "$as_me:13029: error: cannot find input file: $f" >&5 13023 { { echo "$as_me:13023: error: cannot find input file: $f" >&5
13030 echo "$as_me: error: cannot find input file: $f" >&2;} 13024 echo "$as_me: error: cannot find input file: $f" >&2;}
13031 { (exit 1); exit 1; }; } 13025 { (exit 1); exit 1; }; }
13032 fi;; 13026 fi;;
13033 esac 13027 esac
13034 done` || { (exit 1); exit 1; } 13028 done` || { (exit 1); exit 1; }
13085 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13079 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13086 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13080 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13087 * ) ac_file_in=$ac_file.in ;; 13081 * ) ac_file_in=$ac_file.in ;;
13088 esac 13082 esac
13089 13083
13090 test x"$ac_file" != x- && { echo "$as_me:13090: creating $ac_file" >&5 13084 test x"$ac_file" != x- && { echo "$as_me:13084: creating $ac_file" >&5
13091 echo "$as_me: creating $ac_file" >&6;} 13085 echo "$as_me: creating $ac_file" >&6;}
13092 13086
13093 # First look for the input files in the build tree, otherwise in the 13087 # First look for the input files in the build tree, otherwise in the
13094 # src tree. 13088 # src tree.
13095 ac_file_inputs=`IFS=: 13089 ac_file_inputs=`IFS=:
13096 for f in $ac_file_in; do 13090 for f in $ac_file_in; do
13097 case $f in 13091 case $f in
13098 -) echo $tmp/stdin ;; 13092 -) echo $tmp/stdin ;;
13099 [\\/$]*) 13093 [\\/$]*)
13100 # Absolute (can't be DOS-style, as IFS=:) 13094 # Absolute (can't be DOS-style, as IFS=:)
13101 test -f "$f" || { { echo "$as_me:13101: error: cannot find input file: $f" >&5 13095 test -f "$f" || { { echo "$as_me:13095: error: cannot find input file: $f" >&5
13102 echo "$as_me: error: cannot find input file: $f" >&2;} 13096 echo "$as_me: error: cannot find input file: $f" >&2;}
13103 { (exit 1); exit 1; }; } 13097 { (exit 1); exit 1; }; }
13104 echo $f;; 13098 echo $f;;
13105 *) # Relative 13099 *) # Relative
13106 if test -f "$f"; then 13100 if test -f "$f"; then
13109 elif test -f "$srcdir/$f"; then 13103 elif test -f "$srcdir/$f"; then
13110 # Source tree 13104 # Source tree
13111 echo $srcdir/$f 13105 echo $srcdir/$f
13112 else 13106 else
13113 # /dev/null tree 13107 # /dev/null tree
13114 { { echo "$as_me:13114: error: cannot find input file: $f" >&5 13108 { { echo "$as_me:13108: error: cannot find input file: $f" >&5
13115 echo "$as_me: error: cannot find input file: $f" >&2;} 13109 echo "$as_me: error: cannot find input file: $f" >&2;}
13116 { (exit 1); exit 1; }; } 13110 { (exit 1); exit 1; }; }
13117 fi;; 13111 fi;;
13118 esac 13112 esac
13119 done` || { (exit 1); exit 1; } 13113 done` || { (exit 1); exit 1; }
13226 fi 13220 fi
13227 cat $tmp/in >>$tmp/config.h 13221 cat $tmp/in >>$tmp/config.h
13228 rm -f $tmp/in 13222 rm -f $tmp/in
13229 if test x"$ac_file" != x-; then 13223 if test x"$ac_file" != x-; then
13230 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13224 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13231 { echo "$as_me:13231: $ac_file is unchanged" >&5 13225 { echo "$as_me:13225: $ac_file is unchanged" >&5
13232 echo "$as_me: $ac_file is unchanged" >&6;} 13226 echo "$as_me: $ac_file is unchanged" >&6;}
13233 else 13227 else
13234 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13228 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13235 X"$ac_file" : 'X\(//\)[^/]' \| \ 13229 X"$ac_file" : 'X\(//\)[^/]' \| \
13236 X"$ac_file" : 'X\(//\)$' \| \ 13230 X"$ac_file" : 'X\(//\)$' \| \