comparison configure @ 43924:ed9873c5c040

Regenerated.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 15 Mar 2002 12:22:53 +0000
parents 0f0939983d10
children 54ecf0606394
comparison
equal deleted inserted replaced
43923:fba23ebb8f97 43924:ed9873c5c040
1714 ;; 1714 ;;
1715 rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* ) 1715 rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* )
1716 machine=ibmrs6000 opsys=aix4-1 1716 machine=ibmrs6000 opsys=aix4-1
1717 ;; 1717 ;;
1718 rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* ) 1718 rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* )
1719 machine=ibmrs6000 opsys=aix4-2
1720 ;;
1721 rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1* )
1719 machine=ibmrs6000 opsys=aix4-2 1722 machine=ibmrs6000 opsys=aix4-2
1720 ;; 1723 ;;
1721 rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* ) 1724 rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* )
1722 machine=ibmrs6000 opsys=aix4 1725 machine=ibmrs6000 opsys=aix4
1723 ;; 1726 ;;
2228 ;; 2231 ;;
2229 esac 2232 esac
2230 fi 2233 fi
2231 2234
2232 if test $unported = yes; then 2235 if test $unported = yes; then
2233 { { echo "$as_me:2233: error: Emacs hasn't been ported to \`${canonical}' systems. 2236 { { echo "$as_me:2236: error: Emacs hasn't been ported to \`${canonical}' systems.
2234 Check \`etc/MACHINES' for recognized configuration names." >&5 2237 Check \`etc/MACHINES' for recognized configuration names." >&5
2235 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2238 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2236 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2239 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2237 { (exit 1); exit 1; }; } 2240 { (exit 1); exit 1; }; }
2238 fi 2241 fi
2257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2258 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2259 if test -n "$ac_tool_prefix"; then 2262 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2263 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2261 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2264 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2262 echo "$as_me:2262: checking for $ac_word" >&5 2265 echo "$as_me:2265: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2264 if test "${ac_cv_prog_CC+set}" = set; then 2267 if test "${ac_cv_prog_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6 2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 else 2269 else
2267 if test -n "$CC"; then 2270 if test -n "$CC"; then
2272 for ac_dir in $ac_dummy; do 2275 for ac_dir in $ac_dummy; do
2273 IFS=$ac_save_IFS 2276 IFS=$ac_save_IFS
2274 test -z "$ac_dir" && ac_dir=. 2277 test -z "$ac_dir" && ac_dir=.
2275 $as_executable_p "$ac_dir/$ac_word" || continue 2278 $as_executable_p "$ac_dir/$ac_word" || continue
2276 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2279 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2277 echo "$as_me:2277: found $ac_dir/$ac_word" >&5 2280 echo "$as_me:2280: found $ac_dir/$ac_word" >&5
2278 break 2281 break
2279 done 2282 done
2280 2283
2281 fi 2284 fi
2282 fi 2285 fi
2283 CC=$ac_cv_prog_CC 2286 CC=$ac_cv_prog_CC
2284 if test -n "$CC"; then 2287 if test -n "$CC"; then
2285 echo "$as_me:2285: result: $CC" >&5 2288 echo "$as_me:2288: result: $CC" >&5
2286 echo "${ECHO_T}$CC" >&6 2289 echo "${ECHO_T}$CC" >&6
2287 else 2290 else
2288 echo "$as_me:2288: result: no" >&5 2291 echo "$as_me:2291: result: no" >&5
2289 echo "${ECHO_T}no" >&6 2292 echo "${ECHO_T}no" >&6
2290 fi 2293 fi
2291 2294
2292 fi 2295 fi
2293 if test -z "$ac_cv_prog_CC"; then 2296 if test -z "$ac_cv_prog_CC"; then
2294 ac_ct_CC=$CC 2297 ac_ct_CC=$CC
2295 # Extract the first word of "gcc", so it can be a program name with args. 2298 # Extract the first word of "gcc", so it can be a program name with args.
2296 set dummy gcc; ac_word=$2 2299 set dummy gcc; ac_word=$2
2297 echo "$as_me:2297: checking for $ac_word" >&5 2300 echo "$as_me:2300: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6 2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 else 2304 else
2302 if test -n "$ac_ct_CC"; then 2305 if test -n "$ac_ct_CC"; then
2307 for ac_dir in $ac_dummy; do 2310 for ac_dir in $ac_dummy; do
2308 IFS=$ac_save_IFS 2311 IFS=$ac_save_IFS
2309 test -z "$ac_dir" && ac_dir=. 2312 test -z "$ac_dir" && ac_dir=.
2310 $as_executable_p "$ac_dir/$ac_word" || continue 2313 $as_executable_p "$ac_dir/$ac_word" || continue
2311 ac_cv_prog_ac_ct_CC="gcc" 2314 ac_cv_prog_ac_ct_CC="gcc"
2312 echo "$as_me:2312: found $ac_dir/$ac_word" >&5 2315 echo "$as_me:2315: found $ac_dir/$ac_word" >&5
2313 break 2316 break
2314 done 2317 done
2315 2318
2316 fi 2319 fi
2317 fi 2320 fi
2318 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2319 if test -n "$ac_ct_CC"; then 2322 if test -n "$ac_ct_CC"; then
2320 echo "$as_me:2320: result: $ac_ct_CC" >&5 2323 echo "$as_me:2323: result: $ac_ct_CC" >&5
2321 echo "${ECHO_T}$ac_ct_CC" >&6 2324 echo "${ECHO_T}$ac_ct_CC" >&6
2322 else 2325 else
2323 echo "$as_me:2323: result: no" >&5 2326 echo "$as_me:2326: result: no" >&5
2324 echo "${ECHO_T}no" >&6 2327 echo "${ECHO_T}no" >&6
2325 fi 2328 fi
2326 2329
2327 CC=$ac_ct_CC 2330 CC=$ac_ct_CC
2328 else 2331 else
2331 2334
2332 if test -z "$CC"; then 2335 if test -z "$CC"; then
2333 if test -n "$ac_tool_prefix"; then 2336 if test -n "$ac_tool_prefix"; then
2334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2337 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2335 set dummy ${ac_tool_prefix}cc; ac_word=$2 2338 set dummy ${ac_tool_prefix}cc; ac_word=$2
2336 echo "$as_me:2336: checking for $ac_word" >&5 2339 echo "$as_me:2339: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2338 if test "${ac_cv_prog_CC+set}" = set; then 2341 if test "${ac_cv_prog_CC+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6 2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 else 2343 else
2341 if test -n "$CC"; then 2344 if test -n "$CC"; then
2346 for ac_dir in $ac_dummy; do 2349 for ac_dir in $ac_dummy; do
2347 IFS=$ac_save_IFS 2350 IFS=$ac_save_IFS
2348 test -z "$ac_dir" && ac_dir=. 2351 test -z "$ac_dir" && ac_dir=.
2349 $as_executable_p "$ac_dir/$ac_word" || continue 2352 $as_executable_p "$ac_dir/$ac_word" || continue
2350 ac_cv_prog_CC="${ac_tool_prefix}cc" 2353 ac_cv_prog_CC="${ac_tool_prefix}cc"
2351 echo "$as_me:2351: found $ac_dir/$ac_word" >&5 2354 echo "$as_me:2354: found $ac_dir/$ac_word" >&5
2352 break 2355 break
2353 done 2356 done
2354 2357
2355 fi 2358 fi
2356 fi 2359 fi
2357 CC=$ac_cv_prog_CC 2360 CC=$ac_cv_prog_CC
2358 if test -n "$CC"; then 2361 if test -n "$CC"; then
2359 echo "$as_me:2359: result: $CC" >&5 2362 echo "$as_me:2362: result: $CC" >&5
2360 echo "${ECHO_T}$CC" >&6 2363 echo "${ECHO_T}$CC" >&6
2361 else 2364 else
2362 echo "$as_me:2362: result: no" >&5 2365 echo "$as_me:2365: result: no" >&5
2363 echo "${ECHO_T}no" >&6 2366 echo "${ECHO_T}no" >&6
2364 fi 2367 fi
2365 2368
2366 fi 2369 fi
2367 if test -z "$ac_cv_prog_CC"; then 2370 if test -z "$ac_cv_prog_CC"; then
2368 ac_ct_CC=$CC 2371 ac_ct_CC=$CC
2369 # Extract the first word of "cc", so it can be a program name with args. 2372 # Extract the first word of "cc", so it can be a program name with args.
2370 set dummy cc; ac_word=$2 2373 set dummy cc; ac_word=$2
2371 echo "$as_me:2371: checking for $ac_word" >&5 2374 echo "$as_me:2374: checking for $ac_word" >&5
2372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2373 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6 2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 else 2378 else
2376 if test -n "$ac_ct_CC"; then 2379 if test -n "$ac_ct_CC"; then
2381 for ac_dir in $ac_dummy; do 2384 for ac_dir in $ac_dummy; do
2382 IFS=$ac_save_IFS 2385 IFS=$ac_save_IFS
2383 test -z "$ac_dir" && ac_dir=. 2386 test -z "$ac_dir" && ac_dir=.
2384 $as_executable_p "$ac_dir/$ac_word" || continue 2387 $as_executable_p "$ac_dir/$ac_word" || continue
2385 ac_cv_prog_ac_ct_CC="cc" 2388 ac_cv_prog_ac_ct_CC="cc"
2386 echo "$as_me:2386: found $ac_dir/$ac_word" >&5 2389 echo "$as_me:2389: found $ac_dir/$ac_word" >&5
2387 break 2390 break
2388 done 2391 done
2389 2392
2390 fi 2393 fi
2391 fi 2394 fi
2392 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2395 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2393 if test -n "$ac_ct_CC"; then 2396 if test -n "$ac_ct_CC"; then
2394 echo "$as_me:2394: result: $ac_ct_CC" >&5 2397 echo "$as_me:2397: result: $ac_ct_CC" >&5
2395 echo "${ECHO_T}$ac_ct_CC" >&6 2398 echo "${ECHO_T}$ac_ct_CC" >&6
2396 else 2399 else
2397 echo "$as_me:2397: result: no" >&5 2400 echo "$as_me:2400: result: no" >&5
2398 echo "${ECHO_T}no" >&6 2401 echo "${ECHO_T}no" >&6
2399 fi 2402 fi
2400 2403
2401 CC=$ac_ct_CC 2404 CC=$ac_ct_CC
2402 else 2405 else
2405 2408
2406 fi 2409 fi
2407 if test -z "$CC"; then 2410 if test -z "$CC"; then
2408 # Extract the first word of "cc", so it can be a program name with args. 2411 # Extract the first word of "cc", so it can be a program name with args.
2409 set dummy cc; ac_word=$2 2412 set dummy cc; ac_word=$2
2410 echo "$as_me:2410: checking for $ac_word" >&5 2413 echo "$as_me:2413: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2412 if test "${ac_cv_prog_CC+set}" = set; then 2415 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6 2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else 2417 else
2415 if test -n "$CC"; then 2418 if test -n "$CC"; then
2425 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2428 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2426 ac_prog_rejected=yes 2429 ac_prog_rejected=yes
2427 continue 2430 continue
2428 fi 2431 fi
2429 ac_cv_prog_CC="cc" 2432 ac_cv_prog_CC="cc"
2430 echo "$as_me:2430: found $ac_dir/$ac_word" >&5 2433 echo "$as_me:2433: found $ac_dir/$ac_word" >&5
2431 break 2434 break
2432 done 2435 done
2433 2436
2434 if test $ac_prog_rejected = yes; then 2437 if test $ac_prog_rejected = yes; then
2435 # We found a bogon in the path, so make sure we never use it. 2438 # We found a bogon in the path, so make sure we never use it.
2447 fi 2450 fi
2448 fi 2451 fi
2449 fi 2452 fi
2450 CC=$ac_cv_prog_CC 2453 CC=$ac_cv_prog_CC
2451 if test -n "$CC"; then 2454 if test -n "$CC"; then
2452 echo "$as_me:2452: result: $CC" >&5 2455 echo "$as_me:2455: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6 2456 echo "${ECHO_T}$CC" >&6
2454 else 2457 else
2455 echo "$as_me:2455: result: no" >&5 2458 echo "$as_me:2458: result: no" >&5
2456 echo "${ECHO_T}no" >&6 2459 echo "${ECHO_T}no" >&6
2457 fi 2460 fi
2458 2461
2459 fi 2462 fi
2460 if test -z "$CC"; then 2463 if test -z "$CC"; then
2461 if test -n "$ac_tool_prefix"; then 2464 if test -n "$ac_tool_prefix"; then
2462 for ac_prog in cl 2465 for ac_prog in cl
2463 do 2466 do
2464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2466 echo "$as_me:2466: checking for $ac_word" >&5 2469 echo "$as_me:2469: checking for $ac_word" >&5
2467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2468 if test "${ac_cv_prog_CC+set}" = set; then 2471 if test "${ac_cv_prog_CC+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6 2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 else 2473 else
2471 if test -n "$CC"; then 2474 if test -n "$CC"; then
2476 for ac_dir in $ac_dummy; do 2479 for ac_dir in $ac_dummy; do
2477 IFS=$ac_save_IFS 2480 IFS=$ac_save_IFS
2478 test -z "$ac_dir" && ac_dir=. 2481 test -z "$ac_dir" && ac_dir=.
2479 $as_executable_p "$ac_dir/$ac_word" || continue 2482 $as_executable_p "$ac_dir/$ac_word" || continue
2480 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2483 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2481 echo "$as_me:2481: found $ac_dir/$ac_word" >&5 2484 echo "$as_me:2484: found $ac_dir/$ac_word" >&5
2482 break 2485 break
2483 done 2486 done
2484 2487
2485 fi 2488 fi
2486 fi 2489 fi
2487 CC=$ac_cv_prog_CC 2490 CC=$ac_cv_prog_CC
2488 if test -n "$CC"; then 2491 if test -n "$CC"; then
2489 echo "$as_me:2489: result: $CC" >&5 2492 echo "$as_me:2492: result: $CC" >&5
2490 echo "${ECHO_T}$CC" >&6 2493 echo "${ECHO_T}$CC" >&6
2491 else 2494 else
2492 echo "$as_me:2492: result: no" >&5 2495 echo "$as_me:2495: result: no" >&5
2493 echo "${ECHO_T}no" >&6 2496 echo "${ECHO_T}no" >&6
2494 fi 2497 fi
2495 2498
2496 test -n "$CC" && break 2499 test -n "$CC" && break
2497 done 2500 done
2500 ac_ct_CC=$CC 2503 ac_ct_CC=$CC
2501 for ac_prog in cl 2504 for ac_prog in cl
2502 do 2505 do
2503 # Extract the first word of "$ac_prog", so it can be a program name with args. 2506 # Extract the first word of "$ac_prog", so it can be a program name with args.
2504 set dummy $ac_prog; ac_word=$2 2507 set dummy $ac_prog; ac_word=$2
2505 echo "$as_me:2505: checking for $ac_word" >&5 2508 echo "$as_me:2508: checking for $ac_word" >&5
2506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2507 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6 2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 else 2512 else
2510 if test -n "$ac_ct_CC"; then 2513 if test -n "$ac_ct_CC"; then
2515 for ac_dir in $ac_dummy; do 2518 for ac_dir in $ac_dummy; do
2516 IFS=$ac_save_IFS 2519 IFS=$ac_save_IFS
2517 test -z "$ac_dir" && ac_dir=. 2520 test -z "$ac_dir" && ac_dir=.
2518 $as_executable_p "$ac_dir/$ac_word" || continue 2521 $as_executable_p "$ac_dir/$ac_word" || continue
2519 ac_cv_prog_ac_ct_CC="$ac_prog" 2522 ac_cv_prog_ac_ct_CC="$ac_prog"
2520 echo "$as_me:2520: found $ac_dir/$ac_word" >&5 2523 echo "$as_me:2523: found $ac_dir/$ac_word" >&5
2521 break 2524 break
2522 done 2525 done
2523 2526
2524 fi 2527 fi
2525 fi 2528 fi
2526 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2529 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2527 if test -n "$ac_ct_CC"; then 2530 if test -n "$ac_ct_CC"; then
2528 echo "$as_me:2528: result: $ac_ct_CC" >&5 2531 echo "$as_me:2531: result: $ac_ct_CC" >&5
2529 echo "${ECHO_T}$ac_ct_CC" >&6 2532 echo "${ECHO_T}$ac_ct_CC" >&6
2530 else 2533 else
2531 echo "$as_me:2531: result: no" >&5 2534 echo "$as_me:2534: result: no" >&5
2532 echo "${ECHO_T}no" >&6 2535 echo "${ECHO_T}no" >&6
2533 fi 2536 fi
2534 2537
2535 test -n "$ac_ct_CC" && break 2538 test -n "$ac_ct_CC" && break
2536 done 2539 done
2538 CC=$ac_ct_CC 2541 CC=$ac_ct_CC
2539 fi 2542 fi
2540 2543
2541 fi 2544 fi
2542 2545
2543 test -z "$CC" && { { echo "$as_me:2543: error: no acceptable cc found in \$PATH" >&5 2546 test -z "$CC" && { { echo "$as_me:2546: error: no acceptable cc found in \$PATH" >&5
2544 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2547 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2545 { (exit 1); exit 1; }; } 2548 { (exit 1); exit 1; }; }
2546 2549
2547 # Provide some information about the compiler. 2550 # Provide some information about the compiler.
2548 echo "$as_me:2548:" \ 2551 echo "$as_me:2551:" \
2549 "checking for C compiler version" >&5 2552 "checking for C compiler version" >&5
2550 ac_compiler=`set X $ac_compile; echo $2` 2553 ac_compiler=`set X $ac_compile; echo $2`
2551 { (eval echo "$as_me:2551: \"$ac_compiler --version </dev/null >&5\"") >&5 2554 { (eval echo "$as_me:2554: \"$ac_compiler --version </dev/null >&5\"") >&5
2552 (eval $ac_compiler --version </dev/null >&5) 2>&5 2555 (eval $ac_compiler --version </dev/null >&5) 2>&5
2553 ac_status=$? 2556 ac_status=$?
2554 echo "$as_me:2554: \$? = $ac_status" >&5 2557 echo "$as_me:2557: \$? = $ac_status" >&5
2555 (exit $ac_status); } 2558 (exit $ac_status); }
2556 { (eval echo "$as_me:2556: \"$ac_compiler -v </dev/null >&5\"") >&5 2559 { (eval echo "$as_me:2559: \"$ac_compiler -v </dev/null >&5\"") >&5
2557 (eval $ac_compiler -v </dev/null >&5) 2>&5 2560 (eval $ac_compiler -v </dev/null >&5) 2>&5
2558 ac_status=$? 2561 ac_status=$?
2559 echo "$as_me:2559: \$? = $ac_status" >&5 2562 echo "$as_me:2562: \$? = $ac_status" >&5
2560 (exit $ac_status); } 2563 (exit $ac_status); }
2561 { (eval echo "$as_me:2561: \"$ac_compiler -V </dev/null >&5\"") >&5 2564 { (eval echo "$as_me:2564: \"$ac_compiler -V </dev/null >&5\"") >&5
2562 (eval $ac_compiler -V </dev/null >&5) 2>&5 2565 (eval $ac_compiler -V </dev/null >&5) 2>&5
2563 ac_status=$? 2566 ac_status=$?
2564 echo "$as_me:2564: \$? = $ac_status" >&5 2567 echo "$as_me:2567: \$? = $ac_status" >&5
2565 (exit $ac_status); } 2568 (exit $ac_status); }
2566 2569
2567 cat >conftest.$ac_ext <<_ACEOF 2570 cat >conftest.$ac_ext <<_ACEOF
2568 #line 2568 "configure" 2571 #line 2571 "configure"
2569 #include "confdefs.h" 2572 #include "confdefs.h"
2570 2573
2571 int 2574 int
2572 main () 2575 main ()
2573 { 2576 {
2579 ac_clean_files_save=$ac_clean_files 2582 ac_clean_files_save=$ac_clean_files
2580 ac_clean_files="$ac_clean_files a.out a.exe" 2583 ac_clean_files="$ac_clean_files a.out a.exe"
2581 # Try to create an executable without -o first, disregard a.out. 2584 # Try to create an executable without -o first, disregard a.out.
2582 # It will help us diagnose broken compilers, and finding out an intuition 2585 # It will help us diagnose broken compilers, and finding out an intuition
2583 # of exeext. 2586 # of exeext.
2584 echo "$as_me:2584: checking for C compiler default output" >&5 2587 echo "$as_me:2587: checking for C compiler default output" >&5
2585 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2588 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2586 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2589 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2587 if { (eval echo "$as_me:2587: \"$ac_link_default\"") >&5 2590 if { (eval echo "$as_me:2590: \"$ac_link_default\"") >&5
2588 (eval $ac_link_default) 2>&5 2591 (eval $ac_link_default) 2>&5
2589 ac_status=$? 2592 ac_status=$?
2590 echo "$as_me:2590: \$? = $ac_status" >&5 2593 echo "$as_me:2593: \$? = $ac_status" >&5
2591 (exit $ac_status); }; then 2594 (exit $ac_status); }; then
2592 # Find the output, starting from the most likely. This scheme is 2595 # Find the output, starting from the most likely. This scheme is
2593 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2596 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2594 # resort. 2597 # resort.
2595 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2598 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2608 esac 2611 esac
2609 done 2612 done
2610 else 2613 else
2611 echo "$as_me: failed program was:" >&5 2614 echo "$as_me: failed program was:" >&5
2612 cat conftest.$ac_ext >&5 2615 cat conftest.$ac_ext >&5
2613 { { echo "$as_me:2613: error: C compiler cannot create executables" >&5 2616 { { echo "$as_me:2616: error: C compiler cannot create executables" >&5
2614 echo "$as_me: error: C compiler cannot create executables" >&2;} 2617 echo "$as_me: error: C compiler cannot create executables" >&2;}
2615 { (exit 77); exit 77; }; } 2618 { (exit 77); exit 77; }; }
2616 fi 2619 fi
2617 2620
2618 ac_exeext=$ac_cv_exeext 2621 ac_exeext=$ac_cv_exeext
2619 echo "$as_me:2619: result: $ac_file" >&5 2622 echo "$as_me:2622: result: $ac_file" >&5
2620 echo "${ECHO_T}$ac_file" >&6 2623 echo "${ECHO_T}$ac_file" >&6
2621 2624
2622 # Check the compiler produces executables we can run. If not, either 2625 # Check the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile. 2626 # the compiler is broken, or we cross compile.
2624 echo "$as_me:2624: checking whether the C compiler works" >&5 2627 echo "$as_me:2627: checking whether the C compiler works" >&5
2625 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2628 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2626 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2629 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2627 # If not cross compiling, check that we can run a simple program. 2630 # If not cross compiling, check that we can run a simple program.
2628 if test "$cross_compiling" != yes; then 2631 if test "$cross_compiling" != yes; then
2629 if { ac_try='./$ac_file' 2632 if { ac_try='./$ac_file'
2630 { (eval echo "$as_me:2630: \"$ac_try\"") >&5 2633 { (eval echo "$as_me:2633: \"$ac_try\"") >&5
2631 (eval $ac_try) 2>&5 2634 (eval $ac_try) 2>&5
2632 ac_status=$? 2635 ac_status=$?
2633 echo "$as_me:2633: \$? = $ac_status" >&5 2636 echo "$as_me:2636: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then 2637 (exit $ac_status); }; }; then
2635 cross_compiling=no 2638 cross_compiling=no
2636 else 2639 else
2637 if test "$cross_compiling" = maybe; then 2640 if test "$cross_compiling" = maybe; then
2638 cross_compiling=yes 2641 cross_compiling=yes
2639 else 2642 else
2640 { { echo "$as_me:2640: error: cannot run C compiled programs. 2643 { { echo "$as_me:2643: error: cannot run C compiled programs.
2641 If you meant to cross compile, use \`--host'." >&5 2644 If you meant to cross compile, use \`--host'." >&5
2642 echo "$as_me: error: cannot run C compiled programs. 2645 echo "$as_me: error: cannot run C compiled programs.
2643 If you meant to cross compile, use \`--host'." >&2;} 2646 If you meant to cross compile, use \`--host'." >&2;}
2644 { (exit 1); exit 1; }; } 2647 { (exit 1); exit 1; }; }
2645 fi 2648 fi
2646 fi 2649 fi
2647 fi 2650 fi
2648 echo "$as_me:2648: result: yes" >&5 2651 echo "$as_me:2651: result: yes" >&5
2649 echo "${ECHO_T}yes" >&6 2652 echo "${ECHO_T}yes" >&6
2650 2653
2651 rm -f a.out a.exe conftest$ac_cv_exeext 2654 rm -f a.out a.exe conftest$ac_cv_exeext
2652 ac_clean_files=$ac_clean_files_save 2655 ac_clean_files=$ac_clean_files_save
2653 # Check the compiler produces executables we can run. If not, either 2656 # Check the compiler produces executables we can run. If not, either
2654 # the compiler is broken, or we cross compile. 2657 # the compiler is broken, or we cross compile.
2655 echo "$as_me:2655: checking whether we are cross compiling" >&5 2658 echo "$as_me:2658: checking whether we are cross compiling" >&5
2656 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2659 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2657 echo "$as_me:2657: result: $cross_compiling" >&5 2660 echo "$as_me:2660: result: $cross_compiling" >&5
2658 echo "${ECHO_T}$cross_compiling" >&6 2661 echo "${ECHO_T}$cross_compiling" >&6
2659 2662
2660 echo "$as_me:2660: checking for executable suffix" >&5 2663 echo "$as_me:2663: checking for executable suffix" >&5
2661 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2664 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2662 if { (eval echo "$as_me:2662: \"$ac_link\"") >&5 2665 if { (eval echo "$as_me:2665: \"$ac_link\"") >&5
2663 (eval $ac_link) 2>&5 2666 (eval $ac_link) 2>&5
2664 ac_status=$? 2667 ac_status=$?
2665 echo "$as_me:2665: \$? = $ac_status" >&5 2668 echo "$as_me:2668: \$? = $ac_status" >&5
2666 (exit $ac_status); }; then 2669 (exit $ac_status); }; then
2667 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2670 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2668 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2671 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2669 # work properly (i.e., refer to `conftest.exe'), while it won't with 2672 # work properly (i.e., refer to `conftest.exe'), while it won't with
2670 # `rm'. 2673 # `rm'.
2676 break;; 2679 break;;
2677 * ) break;; 2680 * ) break;;
2678 esac 2681 esac
2679 done 2682 done
2680 else 2683 else
2681 { { echo "$as_me:2681: error: cannot compute EXEEXT: cannot compile and link" >&5 2684 { { echo "$as_me:2684: error: cannot compute EXEEXT: cannot compile and link" >&5
2682 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2685 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2683 { (exit 1); exit 1; }; } 2686 { (exit 1); exit 1; }; }
2684 fi 2687 fi
2685 2688
2686 rm -f conftest$ac_cv_exeext 2689 rm -f conftest$ac_cv_exeext
2687 echo "$as_me:2687: result: $ac_cv_exeext" >&5 2690 echo "$as_me:2690: result: $ac_cv_exeext" >&5
2688 echo "${ECHO_T}$ac_cv_exeext" >&6 2691 echo "${ECHO_T}$ac_cv_exeext" >&6
2689 2692
2690 rm -f conftest.$ac_ext 2693 rm -f conftest.$ac_ext
2691 EXEEXT=$ac_cv_exeext 2694 EXEEXT=$ac_cv_exeext
2692 ac_exeext=$EXEEXT 2695 ac_exeext=$EXEEXT
2693 echo "$as_me:2693: checking for object suffix" >&5 2696 echo "$as_me:2696: checking for object suffix" >&5
2694 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2697 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2695 if test "${ac_cv_objext+set}" = set; then 2698 if test "${ac_cv_objext+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6 2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2697 else 2700 else
2698 cat >conftest.$ac_ext <<_ACEOF 2701 cat >conftest.$ac_ext <<_ACEOF
2699 #line 2699 "configure" 2702 #line 2702 "configure"
2700 #include "confdefs.h" 2703 #include "confdefs.h"
2701 2704
2702 int 2705 int
2703 main () 2706 main ()
2704 { 2707 {
2706 ; 2709 ;
2707 return 0; 2710 return 0;
2708 } 2711 }
2709 _ACEOF 2712 _ACEOF
2710 rm -f conftest.o conftest.obj 2713 rm -f conftest.o conftest.obj
2711 if { (eval echo "$as_me:2711: \"$ac_compile\"") >&5 2714 if { (eval echo "$as_me:2714: \"$ac_compile\"") >&5
2712 (eval $ac_compile) 2>&5 2715 (eval $ac_compile) 2>&5
2713 ac_status=$? 2716 ac_status=$?
2714 echo "$as_me:2714: \$? = $ac_status" >&5 2717 echo "$as_me:2717: \$? = $ac_status" >&5
2715 (exit $ac_status); }; then 2718 (exit $ac_status); }; then
2716 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2719 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2717 case $ac_file in 2720 case $ac_file in
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2722 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2721 esac 2724 esac
2722 done 2725 done
2723 else 2726 else
2724 echo "$as_me: failed program was:" >&5 2727 echo "$as_me: failed program was:" >&5
2725 cat conftest.$ac_ext >&5 2728 cat conftest.$ac_ext >&5
2726 { { echo "$as_me:2726: error: cannot compute OBJEXT: cannot compile" >&5 2729 { { echo "$as_me:2729: error: cannot compute OBJEXT: cannot compile" >&5
2727 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2730 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2728 { (exit 1); exit 1; }; } 2731 { (exit 1); exit 1; }; }
2729 fi 2732 fi
2730 2733
2731 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2734 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2732 fi 2735 fi
2733 echo "$as_me:2733: result: $ac_cv_objext" >&5 2736 echo "$as_me:2736: result: $ac_cv_objext" >&5
2734 echo "${ECHO_T}$ac_cv_objext" >&6 2737 echo "${ECHO_T}$ac_cv_objext" >&6
2735 OBJEXT=$ac_cv_objext 2738 OBJEXT=$ac_cv_objext
2736 ac_objext=$OBJEXT 2739 ac_objext=$OBJEXT
2737 echo "$as_me:2737: checking whether we are using the GNU C compiler" >&5 2740 echo "$as_me:2740: checking whether we are using the GNU C compiler" >&5
2738 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2741 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2739 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2742 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6 2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 else 2744 else
2742 cat >conftest.$ac_ext <<_ACEOF 2745 cat >conftest.$ac_ext <<_ACEOF
2743 #line 2743 "configure" 2746 #line 2746 "configure"
2744 #include "confdefs.h" 2747 #include "confdefs.h"
2745 2748
2746 int 2749 int
2747 main () 2750 main ()
2748 { 2751 {
2753 ; 2756 ;
2754 return 0; 2757 return 0;
2755 } 2758 }
2756 _ACEOF 2759 _ACEOF
2757 rm -f conftest.$ac_objext 2760 rm -f conftest.$ac_objext
2758 if { (eval echo "$as_me:2758: \"$ac_compile\"") >&5 2761 if { (eval echo "$as_me:2761: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>&5 2762 (eval $ac_compile) 2>&5
2760 ac_status=$? 2763 ac_status=$?
2761 echo "$as_me:2761: \$? = $ac_status" >&5 2764 echo "$as_me:2764: \$? = $ac_status" >&5
2762 (exit $ac_status); } && 2765 (exit $ac_status); } &&
2763 { ac_try='test -s conftest.$ac_objext' 2766 { ac_try='test -s conftest.$ac_objext'
2764 { (eval echo "$as_me:2764: \"$ac_try\"") >&5 2767 { (eval echo "$as_me:2767: \"$ac_try\"") >&5
2765 (eval $ac_try) 2>&5 2768 (eval $ac_try) 2>&5
2766 ac_status=$? 2769 ac_status=$?
2767 echo "$as_me:2767: \$? = $ac_status" >&5 2770 echo "$as_me:2770: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then 2771 (exit $ac_status); }; }; then
2769 ac_compiler_gnu=yes 2772 ac_compiler_gnu=yes
2770 else 2773 else
2771 echo "$as_me: failed program was:" >&5 2774 echo "$as_me: failed program was:" >&5
2772 cat conftest.$ac_ext >&5 2775 cat conftest.$ac_ext >&5
2774 fi 2777 fi
2775 rm -f conftest.$ac_objext conftest.$ac_ext 2778 rm -f conftest.$ac_objext conftest.$ac_ext
2776 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2777 2780
2778 fi 2781 fi
2779 echo "$as_me:2779: result: $ac_cv_c_compiler_gnu" >&5 2782 echo "$as_me:2782: result: $ac_cv_c_compiler_gnu" >&5
2780 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2783 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2781 GCC=`test $ac_compiler_gnu = yes && echo yes` 2784 GCC=`test $ac_compiler_gnu = yes && echo yes`
2782 ac_test_CFLAGS=${CFLAGS+set} 2785 ac_test_CFLAGS=${CFLAGS+set}
2783 ac_save_CFLAGS=$CFLAGS 2786 ac_save_CFLAGS=$CFLAGS
2784 CFLAGS="-g" 2787 CFLAGS="-g"
2785 echo "$as_me:2785: checking whether $CC accepts -g" >&5 2788 echo "$as_me:2788: checking whether $CC accepts -g" >&5
2786 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2789 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2787 if test "${ac_cv_prog_cc_g+set}" = set; then 2790 if test "${ac_cv_prog_cc_g+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6 2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 else 2792 else
2790 cat >conftest.$ac_ext <<_ACEOF 2793 cat >conftest.$ac_ext <<_ACEOF
2791 #line 2791 "configure" 2794 #line 2794 "configure"
2792 #include "confdefs.h" 2795 #include "confdefs.h"
2793 2796
2794 int 2797 int
2795 main () 2798 main ()
2796 { 2799 {
2798 ; 2801 ;
2799 return 0; 2802 return 0;
2800 } 2803 }
2801 _ACEOF 2804 _ACEOF
2802 rm -f conftest.$ac_objext 2805 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:2803: \"$ac_compile\"") >&5 2806 if { (eval echo "$as_me:2806: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>&5 2807 (eval $ac_compile) 2>&5
2805 ac_status=$? 2808 ac_status=$?
2806 echo "$as_me:2806: \$? = $ac_status" >&5 2809 echo "$as_me:2809: \$? = $ac_status" >&5
2807 (exit $ac_status); } && 2810 (exit $ac_status); } &&
2808 { ac_try='test -s conftest.$ac_objext' 2811 { ac_try='test -s conftest.$ac_objext'
2809 { (eval echo "$as_me:2809: \"$ac_try\"") >&5 2812 { (eval echo "$as_me:2812: \"$ac_try\"") >&5
2810 (eval $ac_try) 2>&5 2813 (eval $ac_try) 2>&5
2811 ac_status=$? 2814 ac_status=$?
2812 echo "$as_me:2812: \$? = $ac_status" >&5 2815 echo "$as_me:2815: \$? = $ac_status" >&5
2813 (exit $ac_status); }; }; then 2816 (exit $ac_status); }; }; then
2814 ac_cv_prog_cc_g=yes 2817 ac_cv_prog_cc_g=yes
2815 else 2818 else
2816 echo "$as_me: failed program was:" >&5 2819 echo "$as_me: failed program was:" >&5
2817 cat conftest.$ac_ext >&5 2820 cat conftest.$ac_ext >&5
2818 ac_cv_prog_cc_g=no 2821 ac_cv_prog_cc_g=no
2819 fi 2822 fi
2820 rm -f conftest.$ac_objext conftest.$ac_ext 2823 rm -f conftest.$ac_objext conftest.$ac_ext
2821 fi 2824 fi
2822 echo "$as_me:2822: result: $ac_cv_prog_cc_g" >&5 2825 echo "$as_me:2825: result: $ac_cv_prog_cc_g" >&5
2823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2826 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2824 if test "$ac_test_CFLAGS" = set; then 2827 if test "$ac_test_CFLAGS" = set; then
2825 CFLAGS=$ac_save_CFLAGS 2828 CFLAGS=$ac_save_CFLAGS
2826 elif test $ac_cv_prog_cc_g = yes; then 2829 elif test $ac_cv_prog_cc_g = yes; then
2827 if test "$GCC" = yes; then 2830 if test "$GCC" = yes; then
2844 #ifndef __cplusplus 2847 #ifndef __cplusplus
2845 choke me 2848 choke me
2846 #endif 2849 #endif
2847 _ACEOF 2850 _ACEOF
2848 rm -f conftest.$ac_objext 2851 rm -f conftest.$ac_objext
2849 if { (eval echo "$as_me:2849: \"$ac_compile\"") >&5 2852 if { (eval echo "$as_me:2852: \"$ac_compile\"") >&5
2850 (eval $ac_compile) 2>&5 2853 (eval $ac_compile) 2>&5
2851 ac_status=$? 2854 ac_status=$?
2852 echo "$as_me:2852: \$? = $ac_status" >&5 2855 echo "$as_me:2855: \$? = $ac_status" >&5
2853 (exit $ac_status); } && 2856 (exit $ac_status); } &&
2854 { ac_try='test -s conftest.$ac_objext' 2857 { ac_try='test -s conftest.$ac_objext'
2855 { (eval echo "$as_me:2855: \"$ac_try\"") >&5 2858 { (eval echo "$as_me:2858: \"$ac_try\"") >&5
2856 (eval $ac_try) 2>&5 2859 (eval $ac_try) 2>&5
2857 ac_status=$? 2860 ac_status=$?
2858 echo "$as_me:2858: \$? = $ac_status" >&5 2861 echo "$as_me:2861: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then 2862 (exit $ac_status); }; }; then
2860 for ac_declaration in \ 2863 for ac_declaration in \
2861 ''\ 2864 ''\
2862 '#include <stdlib.h>' \ 2865 '#include <stdlib.h>' \
2863 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2866 'extern "C" void std::exit (int) throw (); using std::exit;' \
2865 'extern "C" void exit (int) throw ();' \ 2868 'extern "C" void exit (int) throw ();' \
2866 'extern "C" void exit (int);' \ 2869 'extern "C" void exit (int);' \
2867 'void exit (int);' 2870 'void exit (int);'
2868 do 2871 do
2869 cat >conftest.$ac_ext <<_ACEOF 2872 cat >conftest.$ac_ext <<_ACEOF
2870 #line 2870 "configure" 2873 #line 2873 "configure"
2871 #include "confdefs.h" 2874 #include "confdefs.h"
2872 #include <stdlib.h> 2875 #include <stdlib.h>
2873 $ac_declaration 2876 $ac_declaration
2874 int 2877 int
2875 main () 2878 main ()
2878 ; 2881 ;
2879 return 0; 2882 return 0;
2880 } 2883 }
2881 _ACEOF 2884 _ACEOF
2882 rm -f conftest.$ac_objext 2885 rm -f conftest.$ac_objext
2883 if { (eval echo "$as_me:2883: \"$ac_compile\"") >&5 2886 if { (eval echo "$as_me:2886: \"$ac_compile\"") >&5
2884 (eval $ac_compile) 2>&5 2887 (eval $ac_compile) 2>&5
2885 ac_status=$? 2888 ac_status=$?
2886 echo "$as_me:2886: \$? = $ac_status" >&5 2889 echo "$as_me:2889: \$? = $ac_status" >&5
2887 (exit $ac_status); } && 2890 (exit $ac_status); } &&
2888 { ac_try='test -s conftest.$ac_objext' 2891 { ac_try='test -s conftest.$ac_objext'
2889 { (eval echo "$as_me:2889: \"$ac_try\"") >&5 2892 { (eval echo "$as_me:2892: \"$ac_try\"") >&5
2890 (eval $ac_try) 2>&5 2893 (eval $ac_try) 2>&5
2891 ac_status=$? 2894 ac_status=$?
2892 echo "$as_me:2892: \$? = $ac_status" >&5 2895 echo "$as_me:2895: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then 2896 (exit $ac_status); }; }; then
2894 : 2897 :
2895 else 2898 else
2896 echo "$as_me: failed program was:" >&5 2899 echo "$as_me: failed program was:" >&5
2897 cat conftest.$ac_ext >&5 2900 cat conftest.$ac_ext >&5
2898 continue 2901 continue
2899 fi 2902 fi
2900 rm -f conftest.$ac_objext conftest.$ac_ext 2903 rm -f conftest.$ac_objext conftest.$ac_ext
2901 cat >conftest.$ac_ext <<_ACEOF 2904 cat >conftest.$ac_ext <<_ACEOF
2902 #line 2902 "configure" 2905 #line 2905 "configure"
2903 #include "confdefs.h" 2906 #include "confdefs.h"
2904 $ac_declaration 2907 $ac_declaration
2905 int 2908 int
2906 main () 2909 main ()
2907 { 2910 {
2909 ; 2912 ;
2910 return 0; 2913 return 0;
2911 } 2914 }
2912 _ACEOF 2915 _ACEOF
2913 rm -f conftest.$ac_objext 2916 rm -f conftest.$ac_objext
2914 if { (eval echo "$as_me:2914: \"$ac_compile\"") >&5 2917 if { (eval echo "$as_me:2917: \"$ac_compile\"") >&5
2915 (eval $ac_compile) 2>&5 2918 (eval $ac_compile) 2>&5
2916 ac_status=$? 2919 ac_status=$?
2917 echo "$as_me:2917: \$? = $ac_status" >&5 2920 echo "$as_me:2920: \$? = $ac_status" >&5
2918 (exit $ac_status); } && 2921 (exit $ac_status); } &&
2919 { ac_try='test -s conftest.$ac_objext' 2922 { ac_try='test -s conftest.$ac_objext'
2920 { (eval echo "$as_me:2920: \"$ac_try\"") >&5 2923 { (eval echo "$as_me:2923: \"$ac_try\"") >&5
2921 (eval $ac_try) 2>&5 2924 (eval $ac_try) 2>&5
2922 ac_status=$? 2925 ac_status=$?
2923 echo "$as_me:2923: \$? = $ac_status" >&5 2926 echo "$as_me:2926: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then 2927 (exit $ac_status); }; }; then
2925 break 2928 break
2926 else 2929 else
2927 echo "$as_me: failed program was:" >&5 2930 echo "$as_me: failed program was:" >&5
2928 cat conftest.$ac_ext >&5 2931 cat conftest.$ac_ext >&5
2991 2994
2992 #### Some other nice autoconf tests. If you add a test here which 2995 #### Some other nice autoconf tests. If you add a test here which
2993 #### should make an entry in src/config.h, don't forget to add an 2996 #### should make an entry in src/config.h, don't forget to add an
2994 #### #undef clause to src/config.h.in for autoconf to modify. 2997 #### #undef clause to src/config.h.in for autoconf to modify.
2995 2998
2996 echo "$as_me:2996: checking whether ln -s works" >&5 2999 echo "$as_me:2999: checking whether ln -s works" >&5
2997 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3000 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2998 LN_S=$as_ln_s 3001 LN_S=$as_ln_s
2999 if test "$LN_S" = "ln -s"; then 3002 if test "$LN_S" = "ln -s"; then
3000 echo "$as_me:3000: result: yes" >&5 3003 echo "$as_me:3003: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6 3004 echo "${ECHO_T}yes" >&6
3002 else 3005 else
3003 echo "$as_me:3003: result: no, using $LN_S" >&5 3006 echo "$as_me:3006: result: no, using $LN_S" >&5
3004 echo "${ECHO_T}no, using $LN_S" >&6 3007 echo "${ECHO_T}no, using $LN_S" >&6
3005 fi 3008 fi
3006 3009
3007 ac_ext=c 3010 ac_ext=c
3008 ac_cpp='$CPP $CPPFLAGS' 3011 ac_cpp='$CPP $CPPFLAGS'
3009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3011 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3012 echo "$as_me:3012: checking how to run the C preprocessor" >&5 3015 echo "$as_me:3015: checking how to run the C preprocessor" >&5
3013 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3016 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3014 # On Suns, sometimes $CPP names a directory. 3017 # On Suns, sometimes $CPP names a directory.
3015 if test -n "$CPP" && test -d "$CPP"; then 3018 if test -n "$CPP" && test -d "$CPP"; then
3016 CPP= 3019 CPP=
3017 fi 3020 fi
3028 # Use a header file that comes with gcc, so configuring glibc 3031 # Use a header file that comes with gcc, so configuring glibc
3029 # with a fresh cross-compiler works. 3032 # with a fresh cross-compiler works.
3030 # On the NeXT, cc -E runs the code through the compiler's parser, 3033 # On the NeXT, cc -E runs the code through the compiler's parser,
3031 # not just through cpp. "Syntax error" is here to catch this case. 3034 # not just through cpp. "Syntax error" is here to catch this case.
3032 cat >conftest.$ac_ext <<_ACEOF 3035 cat >conftest.$ac_ext <<_ACEOF
3033 #line 3033 "configure" 3036 #line 3036 "configure"
3034 #include "confdefs.h" 3037 #include "confdefs.h"
3035 #include <assert.h> 3038 #include <assert.h>
3036 Syntax error 3039 Syntax error
3037 _ACEOF 3040 _ACEOF
3038 if { (eval echo "$as_me:3038: \"$ac_cpp conftest.$ac_ext\"") >&5 3041 if { (eval echo "$as_me:3041: \"$ac_cpp conftest.$ac_ext\"") >&5
3039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3040 ac_status=$? 3043 ac_status=$?
3041 egrep -v '^ *\+' conftest.er1 >conftest.err 3044 egrep -v '^ *\+' conftest.er1 >conftest.err
3042 rm -f conftest.er1 3045 rm -f conftest.er1
3043 cat conftest.err >&5 3046 cat conftest.err >&5
3044 echo "$as_me:3044: \$? = $ac_status" >&5 3047 echo "$as_me:3047: \$? = $ac_status" >&5
3045 (exit $ac_status); } >/dev/null; then 3048 (exit $ac_status); } >/dev/null; then
3046 if test -s conftest.err; then 3049 if test -s conftest.err; then
3047 ac_cpp_err=$ac_c_preproc_warn_flag 3050 ac_cpp_err=$ac_c_preproc_warn_flag
3048 else 3051 else
3049 ac_cpp_err= 3052 ac_cpp_err=
3062 rm -f conftest.err conftest.$ac_ext 3065 rm -f conftest.err conftest.$ac_ext
3063 3066
3064 # OK, works on sane cases. Now check whether non-existent headers 3067 # OK, works on sane cases. Now check whether non-existent headers
3065 # can be detected and how. 3068 # can be detected and how.
3066 cat >conftest.$ac_ext <<_ACEOF 3069 cat >conftest.$ac_ext <<_ACEOF
3067 #line 3067 "configure" 3070 #line 3070 "configure"
3068 #include "confdefs.h" 3071 #include "confdefs.h"
3069 #include <ac_nonexistent.h> 3072 #include <ac_nonexistent.h>
3070 _ACEOF 3073 _ACEOF
3071 if { (eval echo "$as_me:3071: \"$ac_cpp conftest.$ac_ext\"") >&5 3074 if { (eval echo "$as_me:3074: \"$ac_cpp conftest.$ac_ext\"") >&5
3072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3073 ac_status=$? 3076 ac_status=$?
3074 egrep -v '^ *\+' conftest.er1 >conftest.err 3077 egrep -v '^ *\+' conftest.er1 >conftest.err
3075 rm -f conftest.er1 3078 rm -f conftest.er1
3076 cat conftest.err >&5 3079 cat conftest.err >&5
3077 echo "$as_me:3077: \$? = $ac_status" >&5 3080 echo "$as_me:3080: \$? = $ac_status" >&5
3078 (exit $ac_status); } >/dev/null; then 3081 (exit $ac_status); } >/dev/null; then
3079 if test -s conftest.err; then 3082 if test -s conftest.err; then
3080 ac_cpp_err=$ac_c_preproc_warn_flag 3083 ac_cpp_err=$ac_c_preproc_warn_flag
3081 else 3084 else
3082 ac_cpp_err= 3085 ac_cpp_err=
3109 fi 3112 fi
3110 CPP=$ac_cv_prog_CPP 3113 CPP=$ac_cv_prog_CPP
3111 else 3114 else
3112 ac_cv_prog_CPP=$CPP 3115 ac_cv_prog_CPP=$CPP
3113 fi 3116 fi
3114 echo "$as_me:3114: result: $CPP" >&5 3117 echo "$as_me:3117: result: $CPP" >&5
3115 echo "${ECHO_T}$CPP" >&6 3118 echo "${ECHO_T}$CPP" >&6
3116 ac_preproc_ok=false 3119 ac_preproc_ok=false
3117 for ac_c_preproc_warn_flag in '' yes 3120 for ac_c_preproc_warn_flag in '' yes
3118 do 3121 do
3119 # Use a header file that comes with gcc, so configuring glibc 3122 # Use a header file that comes with gcc, so configuring glibc
3120 # with a fresh cross-compiler works. 3123 # with a fresh cross-compiler works.
3121 # On the NeXT, cc -E runs the code through the compiler's parser, 3124 # On the NeXT, cc -E runs the code through the compiler's parser,
3122 # not just through cpp. "Syntax error" is here to catch this case. 3125 # not just through cpp. "Syntax error" is here to catch this case.
3123 cat >conftest.$ac_ext <<_ACEOF 3126 cat >conftest.$ac_ext <<_ACEOF
3124 #line 3124 "configure" 3127 #line 3127 "configure"
3125 #include "confdefs.h" 3128 #include "confdefs.h"
3126 #include <assert.h> 3129 #include <assert.h>
3127 Syntax error 3130 Syntax error
3128 _ACEOF 3131 _ACEOF
3129 if { (eval echo "$as_me:3129: \"$ac_cpp conftest.$ac_ext\"") >&5 3132 if { (eval echo "$as_me:3132: \"$ac_cpp conftest.$ac_ext\"") >&5
3130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3131 ac_status=$? 3134 ac_status=$?
3132 egrep -v '^ *\+' conftest.er1 >conftest.err 3135 egrep -v '^ *\+' conftest.er1 >conftest.err
3133 rm -f conftest.er1 3136 rm -f conftest.er1
3134 cat conftest.err >&5 3137 cat conftest.err >&5
3135 echo "$as_me:3135: \$? = $ac_status" >&5 3138 echo "$as_me:3138: \$? = $ac_status" >&5
3136 (exit $ac_status); } >/dev/null; then 3139 (exit $ac_status); } >/dev/null; then
3137 if test -s conftest.err; then 3140 if test -s conftest.err; then
3138 ac_cpp_err=$ac_c_preproc_warn_flag 3141 ac_cpp_err=$ac_c_preproc_warn_flag
3139 else 3142 else
3140 ac_cpp_err= 3143 ac_cpp_err=
3153 rm -f conftest.err conftest.$ac_ext 3156 rm -f conftest.err conftest.$ac_ext
3154 3157
3155 # OK, works on sane cases. Now check whether non-existent headers 3158 # OK, works on sane cases. Now check whether non-existent headers
3156 # can be detected and how. 3159 # can be detected and how.
3157 cat >conftest.$ac_ext <<_ACEOF 3160 cat >conftest.$ac_ext <<_ACEOF
3158 #line 3158 "configure" 3161 #line 3161 "configure"
3159 #include "confdefs.h" 3162 #include "confdefs.h"
3160 #include <ac_nonexistent.h> 3163 #include <ac_nonexistent.h>
3161 _ACEOF 3164 _ACEOF
3162 if { (eval echo "$as_me:3162: \"$ac_cpp conftest.$ac_ext\"") >&5 3165 if { (eval echo "$as_me:3165: \"$ac_cpp conftest.$ac_ext\"") >&5
3163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3164 ac_status=$? 3167 ac_status=$?
3165 egrep -v '^ *\+' conftest.er1 >conftest.err 3168 egrep -v '^ *\+' conftest.er1 >conftest.err
3166 rm -f conftest.er1 3169 rm -f conftest.er1
3167 cat conftest.err >&5 3170 cat conftest.err >&5
3168 echo "$as_me:3168: \$? = $ac_status" >&5 3171 echo "$as_me:3171: \$? = $ac_status" >&5
3169 (exit $ac_status); } >/dev/null; then 3172 (exit $ac_status); } >/dev/null; then
3170 if test -s conftest.err; then 3173 if test -s conftest.err; then
3171 ac_cpp_err=$ac_c_preproc_warn_flag 3174 ac_cpp_err=$ac_c_preproc_warn_flag
3172 else 3175 else
3173 ac_cpp_err= 3176 ac_cpp_err=
3191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3192 rm -f conftest.err conftest.$ac_ext 3195 rm -f conftest.err conftest.$ac_ext
3193 if $ac_preproc_ok; then 3196 if $ac_preproc_ok; then
3194 : 3197 :
3195 else 3198 else
3196 { { echo "$as_me:3196: error: C preprocessor \"$CPP\" fails sanity check" >&5 3199 { { echo "$as_me:3199: error: C preprocessor \"$CPP\" fails sanity check" >&5
3197 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3200 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3198 { (exit 1); exit 1; }; } 3201 { (exit 1); exit 1; }; }
3199 fi 3202 fi
3200 3203
3201 ac_ext=c 3204 ac_ext=c
3214 # AmigaOS /C/install, which installs bootblocks on floppy discs 3217 # AmigaOS /C/install, which installs bootblocks on floppy discs
3215 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3216 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3217 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3218 # ./install, which can be erroneously created by make from ./install.sh. 3221 # ./install, which can be erroneously created by make from ./install.sh.
3219 echo "$as_me:3219: checking for a BSD compatible install" >&5 3222 echo "$as_me:3222: checking for a BSD compatible install" >&5
3220 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3223 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3221 if test -z "$INSTALL"; then 3224 if test -z "$INSTALL"; then
3222 if test "${ac_cv_path_install+set}" = set; then 3225 if test "${ac_cv_path_install+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6 3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 else 3227 else
3263 # break other packages using the cache if that directory is 3266 # break other packages using the cache if that directory is
3264 # removed, or if the path is relative. 3267 # removed, or if the path is relative.
3265 INSTALL=$ac_install_sh 3268 INSTALL=$ac_install_sh
3266 fi 3269 fi
3267 fi 3270 fi
3268 echo "$as_me:3268: result: $INSTALL" >&5 3271 echo "$as_me:3271: result: $INSTALL" >&5
3269 echo "${ECHO_T}$INSTALL" >&6 3272 echo "${ECHO_T}$INSTALL" >&6
3270 3273
3271 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3274 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3272 # It thinks the first close brace ends the variable substitution. 3275 # It thinks the first close brace ends the variable substitution.
3273 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3276 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3278 3281
3279 for ac_prog in 'bison -y' byacc 3282 for ac_prog in 'bison -y' byacc
3280 do 3283 do
3281 # Extract the first word of "$ac_prog", so it can be a program name with args. 3284 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy $ac_prog; ac_word=$2 3285 set dummy $ac_prog; ac_word=$2
3283 echo "$as_me:3283: checking for $ac_word" >&5 3286 echo "$as_me:3286: checking for $ac_word" >&5
3284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3285 if test "${ac_cv_prog_YACC+set}" = set; then 3288 if test "${ac_cv_prog_YACC+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6 3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 else 3290 else
3288 if test -n "$YACC"; then 3291 if test -n "$YACC"; then
3293 for ac_dir in $ac_dummy; do 3296 for ac_dir in $ac_dummy; do
3294 IFS=$ac_save_IFS 3297 IFS=$ac_save_IFS
3295 test -z "$ac_dir" && ac_dir=. 3298 test -z "$ac_dir" && ac_dir=.
3296 $as_executable_p "$ac_dir/$ac_word" || continue 3299 $as_executable_p "$ac_dir/$ac_word" || continue
3297 ac_cv_prog_YACC="$ac_prog" 3300 ac_cv_prog_YACC="$ac_prog"
3298 echo "$as_me:3298: found $ac_dir/$ac_word" >&5 3301 echo "$as_me:3301: found $ac_dir/$ac_word" >&5
3299 break 3302 break
3300 done 3303 done
3301 3304
3302 fi 3305 fi
3303 fi 3306 fi
3304 YACC=$ac_cv_prog_YACC 3307 YACC=$ac_cv_prog_YACC
3305 if test -n "$YACC"; then 3308 if test -n "$YACC"; then
3306 echo "$as_me:3306: result: $YACC" >&5 3309 echo "$as_me:3309: result: $YACC" >&5
3307 echo "${ECHO_T}$YACC" >&6 3310 echo "${ECHO_T}$YACC" >&6
3308 else 3311 else
3309 echo "$as_me:3309: result: no" >&5 3312 echo "$as_me:3312: result: no" >&5
3310 echo "${ECHO_T}no" >&6 3313 echo "${ECHO_T}no" >&6
3311 fi 3314 fi
3312 3315
3313 test -n "$YACC" && break 3316 test -n "$YACC" && break
3314 done 3317 done
3316 3319
3317 if test "x$RANLIB" = x; then 3320 if test "x$RANLIB" = x; then
3318 if test -n "$ac_tool_prefix"; then 3321 if test -n "$ac_tool_prefix"; then
3319 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3322 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3320 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3323 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3321 echo "$as_me:3321: checking for $ac_word" >&5 3324 echo "$as_me:3324: checking for $ac_word" >&5
3322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3323 if test "${ac_cv_prog_RANLIB+set}" = set; then 3326 if test "${ac_cv_prog_RANLIB+set}" = set; then
3324 echo $ECHO_N "(cached) $ECHO_C" >&6 3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 else 3328 else
3326 if test -n "$RANLIB"; then 3329 if test -n "$RANLIB"; then
3331 for ac_dir in $ac_dummy; do 3334 for ac_dir in $ac_dummy; do
3332 IFS=$ac_save_IFS 3335 IFS=$ac_save_IFS
3333 test -z "$ac_dir" && ac_dir=. 3336 test -z "$ac_dir" && ac_dir=.
3334 $as_executable_p "$ac_dir/$ac_word" || continue 3337 $as_executable_p "$ac_dir/$ac_word" || continue
3335 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3338 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3336 echo "$as_me:3336: found $ac_dir/$ac_word" >&5 3339 echo "$as_me:3339: found $ac_dir/$ac_word" >&5
3337 break 3340 break
3338 done 3341 done
3339 3342
3340 fi 3343 fi
3341 fi 3344 fi
3342 RANLIB=$ac_cv_prog_RANLIB 3345 RANLIB=$ac_cv_prog_RANLIB
3343 if test -n "$RANLIB"; then 3346 if test -n "$RANLIB"; then
3344 echo "$as_me:3344: result: $RANLIB" >&5 3347 echo "$as_me:3347: result: $RANLIB" >&5
3345 echo "${ECHO_T}$RANLIB" >&6 3348 echo "${ECHO_T}$RANLIB" >&6
3346 else 3349 else
3347 echo "$as_me:3347: result: no" >&5 3350 echo "$as_me:3350: result: no" >&5
3348 echo "${ECHO_T}no" >&6 3351 echo "${ECHO_T}no" >&6
3349 fi 3352 fi
3350 3353
3351 fi 3354 fi
3352 if test -z "$ac_cv_prog_RANLIB"; then 3355 if test -z "$ac_cv_prog_RANLIB"; then
3353 ac_ct_RANLIB=$RANLIB 3356 ac_ct_RANLIB=$RANLIB
3354 # Extract the first word of "ranlib", so it can be a program name with args. 3357 # Extract the first word of "ranlib", so it can be a program name with args.
3355 set dummy ranlib; ac_word=$2 3358 set dummy ranlib; ac_word=$2
3356 echo "$as_me:3356: checking for $ac_word" >&5 3359 echo "$as_me:3359: checking for $ac_word" >&5
3357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3361 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6 3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else 3363 else
3361 if test -n "$ac_ct_RANLIB"; then 3364 if test -n "$ac_ct_RANLIB"; then
3366 for ac_dir in $ac_dummy; do 3369 for ac_dir in $ac_dummy; do
3367 IFS=$ac_save_IFS 3370 IFS=$ac_save_IFS
3368 test -z "$ac_dir" && ac_dir=. 3371 test -z "$ac_dir" && ac_dir=.
3369 $as_executable_p "$ac_dir/$ac_word" || continue 3372 $as_executable_p "$ac_dir/$ac_word" || continue
3370 ac_cv_prog_ac_ct_RANLIB="ranlib" 3373 ac_cv_prog_ac_ct_RANLIB="ranlib"
3371 echo "$as_me:3371: found $ac_dir/$ac_word" >&5 3374 echo "$as_me:3374: found $ac_dir/$ac_word" >&5
3372 break 3375 break
3373 done 3376 done
3374 3377
3375 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3378 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3376 fi 3379 fi
3377 fi 3380 fi
3378 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3381 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3379 if test -n "$ac_ct_RANLIB"; then 3382 if test -n "$ac_ct_RANLIB"; then
3380 echo "$as_me:3380: result: $ac_ct_RANLIB" >&5 3383 echo "$as_me:3383: result: $ac_ct_RANLIB" >&5
3381 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3384 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3382 else 3385 else
3383 echo "$as_me:3383: result: no" >&5 3386 echo "$as_me:3386: result: no" >&5
3384 echo "${ECHO_T}no" >&6 3387 echo "${ECHO_T}no" >&6
3385 fi 3388 fi
3386 3389
3387 RANLIB=$ac_ct_RANLIB 3390 RANLIB=$ac_ct_RANLIB
3388 else 3391 else
3389 RANLIB="$ac_cv_prog_RANLIB" 3392 RANLIB="$ac_cv_prog_RANLIB"
3390 fi 3393 fi
3391 3394
3392 fi 3395 fi
3393 3396
3394 echo "$as_me:3394: checking for AIX" >&5 3397 echo "$as_me:3397: checking for AIX" >&5
3395 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3398 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3396 cat >conftest.$ac_ext <<_ACEOF 3399 cat >conftest.$ac_ext <<_ACEOF
3397 #line 3397 "configure" 3400 #line 3400 "configure"
3398 #include "confdefs.h" 3401 #include "confdefs.h"
3399 #ifdef _AIX 3402 #ifdef _AIX
3400 yes 3403 yes
3401 #endif 3404 #endif
3402 3405
3403 _ACEOF 3406 _ACEOF
3404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3405 egrep "yes" >/dev/null 2>&1; then 3408 egrep "yes" >/dev/null 2>&1; then
3406 echo "$as_me:3406: result: yes" >&5 3409 echo "$as_me:3409: result: yes" >&5
3407 echo "${ECHO_T}yes" >&6 3410 echo "${ECHO_T}yes" >&6
3408 cat >>confdefs.h <<\EOF 3411 cat >>confdefs.h <<\EOF
3409 #define _ALL_SOURCE 1 3412 #define _ALL_SOURCE 1
3410 EOF 3413 EOF
3411 3414
3412 else 3415 else
3413 echo "$as_me:3413: result: no" >&5 3416 echo "$as_me:3416: result: no" >&5
3414 echo "${ECHO_T}no" >&6 3417 echo "${ECHO_T}no" >&6
3415 fi 3418 fi
3416 rm -f conftest* 3419 rm -f conftest*
3417 3420
3418 #### Extract some information from the operating system and machine files. 3421 #### Extract some information from the operating system and machine files.
3419 3422
3420 { echo "$as_me:3420: checking the machine- and system-dependent files to find out 3423 { echo "$as_me:3423: checking the machine- and system-dependent files to find out
3421 - which libraries the lib-src programs will want, and 3424 - which libraries the lib-src programs will want, and
3422 - whether the GNU malloc routines are usable..." >&5 3425 - whether the GNU malloc routines are usable..." >&5
3423 echo "$as_me: checking the machine- and system-dependent files to find out 3426 echo "$as_me: checking the machine- and system-dependent files to find out
3424 - which libraries the lib-src programs will want, and 3427 - which libraries the lib-src programs will want, and
3425 - whether the GNU malloc routines are usable..." >&6;} 3428 - whether the GNU malloc routines are usable..." >&6;}
3565 enableval="$enable_largefile" 3568 enableval="$enable_largefile"
3566 3569
3567 fi; 3570 fi;
3568 if test "$enable_largefile" != no; then 3571 if test "$enable_largefile" != no; then
3569 3572
3570 echo "$as_me:3570: checking for special C compiler options needed for large files" >&5 3573 echo "$as_me:3573: checking for special C compiler options needed for large files" >&5
3571 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3574 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3572 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3575 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6 3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else 3577 else
3575 ac_cv_sys_largefile_CC=no 3578 ac_cv_sys_largefile_CC=no
3577 ac_save_CC=$CC 3580 ac_save_CC=$CC
3578 while :; do 3581 while :; do
3579 # IRIX 6.2 and later do not support large files by default, 3582 # IRIX 6.2 and later do not support large files by default,
3580 # so use the C compiler's -n32 option if that helps. 3583 # so use the C compiler's -n32 option if that helps.
3581 cat >conftest.$ac_ext <<_ACEOF 3584 cat >conftest.$ac_ext <<_ACEOF
3582 #line 3582 "configure" 3585 #line 3585 "configure"
3583 #include "confdefs.h" 3586 #include "confdefs.h"
3584 #include <sys/types.h> 3587 #include <sys/types.h>
3585 /* Check that off_t can represent 2**63 - 1 correctly. 3588 /* Check that off_t can represent 2**63 - 1 correctly.
3586 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3589 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3587 since some C++ compilers masquerading as C compilers 3590 since some C++ compilers masquerading as C compilers
3597 ; 3600 ;
3598 return 0; 3601 return 0;
3599 } 3602 }
3600 _ACEOF 3603 _ACEOF
3601 rm -f conftest.$ac_objext 3604 rm -f conftest.$ac_objext
3602 if { (eval echo "$as_me:3602: \"$ac_compile\"") >&5 3605 if { (eval echo "$as_me:3605: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>&5 3606 (eval $ac_compile) 2>&5
3604 ac_status=$? 3607 ac_status=$?
3605 echo "$as_me:3605: \$? = $ac_status" >&5 3608 echo "$as_me:3608: \$? = $ac_status" >&5
3606 (exit $ac_status); } && 3609 (exit $ac_status); } &&
3607 { ac_try='test -s conftest.$ac_objext' 3610 { ac_try='test -s conftest.$ac_objext'
3608 { (eval echo "$as_me:3608: \"$ac_try\"") >&5 3611 { (eval echo "$as_me:3611: \"$ac_try\"") >&5
3609 (eval $ac_try) 2>&5 3612 (eval $ac_try) 2>&5
3610 ac_status=$? 3613 ac_status=$?
3611 echo "$as_me:3611: \$? = $ac_status" >&5 3614 echo "$as_me:3614: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then 3615 (exit $ac_status); }; }; then
3613 break 3616 break
3614 else 3617 else
3615 echo "$as_me: failed program was:" >&5 3618 echo "$as_me: failed program was:" >&5
3616 cat conftest.$ac_ext >&5 3619 cat conftest.$ac_ext >&5
3617 fi 3620 fi
3618 rm -f conftest.$ac_objext 3621 rm -f conftest.$ac_objext
3619 CC="$CC -n32" 3622 CC="$CC -n32"
3620 rm -f conftest.$ac_objext 3623 rm -f conftest.$ac_objext
3621 if { (eval echo "$as_me:3621: \"$ac_compile\"") >&5 3624 if { (eval echo "$as_me:3624: \"$ac_compile\"") >&5
3622 (eval $ac_compile) 2>&5 3625 (eval $ac_compile) 2>&5
3623 ac_status=$? 3626 ac_status=$?
3624 echo "$as_me:3624: \$? = $ac_status" >&5 3627 echo "$as_me:3627: \$? = $ac_status" >&5
3625 (exit $ac_status); } && 3628 (exit $ac_status); } &&
3626 { ac_try='test -s conftest.$ac_objext' 3629 { ac_try='test -s conftest.$ac_objext'
3627 { (eval echo "$as_me:3627: \"$ac_try\"") >&5 3630 { (eval echo "$as_me:3630: \"$ac_try\"") >&5
3628 (eval $ac_try) 2>&5 3631 (eval $ac_try) 2>&5
3629 ac_status=$? 3632 ac_status=$?
3630 echo "$as_me:3630: \$? = $ac_status" >&5 3633 echo "$as_me:3633: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then 3634 (exit $ac_status); }; }; then
3632 ac_cv_sys_largefile_CC=' -n32'; break 3635 ac_cv_sys_largefile_CC=' -n32'; break
3633 else 3636 else
3634 echo "$as_me: failed program was:" >&5 3637 echo "$as_me: failed program was:" >&5
3635 cat conftest.$ac_ext >&5 3638 cat conftest.$ac_ext >&5
3639 done 3642 done
3640 CC=$ac_save_CC 3643 CC=$ac_save_CC
3641 rm -f conftest.$ac_ext 3644 rm -f conftest.$ac_ext
3642 fi 3645 fi
3643 fi 3646 fi
3644 echo "$as_me:3644: result: $ac_cv_sys_largefile_CC" >&5 3647 echo "$as_me:3647: result: $ac_cv_sys_largefile_CC" >&5
3645 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3648 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3646 if test "$ac_cv_sys_largefile_CC" != no; then 3649 if test "$ac_cv_sys_largefile_CC" != no; then
3647 CC=$CC$ac_cv_sys_largefile_CC 3650 CC=$CC$ac_cv_sys_largefile_CC
3648 fi 3651 fi
3649 3652
3650 echo "$as_me:3650: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3653 echo "$as_me:3653: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3651 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3654 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3652 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3655 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6 3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 else 3657 else
3655 while :; do 3658 while :; do
3656 ac_cv_sys_file_offset_bits=no 3659 ac_cv_sys_file_offset_bits=no
3657 cat >conftest.$ac_ext <<_ACEOF 3660 cat >conftest.$ac_ext <<_ACEOF
3658 #line 3658 "configure" 3661 #line 3661 "configure"
3659 #include "confdefs.h" 3662 #include "confdefs.h"
3660 #include <sys/types.h> 3663 #include <sys/types.h>
3661 /* Check that off_t can represent 2**63 - 1 correctly. 3664 /* Check that off_t can represent 2**63 - 1 correctly.
3662 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3663 since some C++ compilers masquerading as C compilers 3666 since some C++ compilers masquerading as C compilers
3673 ; 3676 ;
3674 return 0; 3677 return 0;
3675 } 3678 }
3676 _ACEOF 3679 _ACEOF
3677 rm -f conftest.$ac_objext 3680 rm -f conftest.$ac_objext
3678 if { (eval echo "$as_me:3678: \"$ac_compile\"") >&5 3681 if { (eval echo "$as_me:3681: \"$ac_compile\"") >&5
3679 (eval $ac_compile) 2>&5 3682 (eval $ac_compile) 2>&5
3680 ac_status=$? 3683 ac_status=$?
3681 echo "$as_me:3681: \$? = $ac_status" >&5 3684 echo "$as_me:3684: \$? = $ac_status" >&5
3682 (exit $ac_status); } && 3685 (exit $ac_status); } &&
3683 { ac_try='test -s conftest.$ac_objext' 3686 { ac_try='test -s conftest.$ac_objext'
3684 { (eval echo "$as_me:3684: \"$ac_try\"") >&5 3687 { (eval echo "$as_me:3687: \"$ac_try\"") >&5
3685 (eval $ac_try) 2>&5 3688 (eval $ac_try) 2>&5
3686 ac_status=$? 3689 ac_status=$?
3687 echo "$as_me:3687: \$? = $ac_status" >&5 3690 echo "$as_me:3690: \$? = $ac_status" >&5
3688 (exit $ac_status); }; }; then 3691 (exit $ac_status); }; }; then
3689 break 3692 break
3690 else 3693 else
3691 echo "$as_me: failed program was:" >&5 3694 echo "$as_me: failed program was:" >&5
3692 cat conftest.$ac_ext >&5 3695 cat conftest.$ac_ext >&5
3693 fi 3696 fi
3694 rm -f conftest.$ac_objext conftest.$ac_ext 3697 rm -f conftest.$ac_objext conftest.$ac_ext
3695 cat >conftest.$ac_ext <<_ACEOF 3698 cat >conftest.$ac_ext <<_ACEOF
3696 #line 3696 "configure" 3699 #line 3699 "configure"
3697 #include "confdefs.h" 3700 #include "confdefs.h"
3698 #define _FILE_OFFSET_BITS 64 3701 #define _FILE_OFFSET_BITS 64
3699 #include <sys/types.h> 3702 #include <sys/types.h>
3700 /* Check that off_t can represent 2**63 - 1 correctly. 3703 /* Check that off_t can represent 2**63 - 1 correctly.
3701 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3712 ; 3715 ;
3713 return 0; 3716 return 0;
3714 } 3717 }
3715 _ACEOF 3718 _ACEOF
3716 rm -f conftest.$ac_objext 3719 rm -f conftest.$ac_objext
3717 if { (eval echo "$as_me:3717: \"$ac_compile\"") >&5 3720 if { (eval echo "$as_me:3720: \"$ac_compile\"") >&5
3718 (eval $ac_compile) 2>&5 3721 (eval $ac_compile) 2>&5
3719 ac_status=$? 3722 ac_status=$?
3720 echo "$as_me:3720: \$? = $ac_status" >&5 3723 echo "$as_me:3723: \$? = $ac_status" >&5
3721 (exit $ac_status); } && 3724 (exit $ac_status); } &&
3722 { ac_try='test -s conftest.$ac_objext' 3725 { ac_try='test -s conftest.$ac_objext'
3723 { (eval echo "$as_me:3723: \"$ac_try\"") >&5 3726 { (eval echo "$as_me:3726: \"$ac_try\"") >&5
3724 (eval $ac_try) 2>&5 3727 (eval $ac_try) 2>&5
3725 ac_status=$? 3728 ac_status=$?
3726 echo "$as_me:3726: \$? = $ac_status" >&5 3729 echo "$as_me:3729: \$? = $ac_status" >&5
3727 (exit $ac_status); }; }; then 3730 (exit $ac_status); }; }; then
3728 ac_cv_sys_file_offset_bits=64; break 3731 ac_cv_sys_file_offset_bits=64; break
3729 else 3732 else
3730 echo "$as_me: failed program was:" >&5 3733 echo "$as_me: failed program was:" >&5
3731 cat conftest.$ac_ext >&5 3734 cat conftest.$ac_ext >&5
3732 fi 3735 fi
3733 rm -f conftest.$ac_objext conftest.$ac_ext 3736 rm -f conftest.$ac_objext conftest.$ac_ext
3734 break 3737 break
3735 done 3738 done
3736 fi 3739 fi
3737 echo "$as_me:3737: result: $ac_cv_sys_file_offset_bits" >&5 3740 echo "$as_me:3740: result: $ac_cv_sys_file_offset_bits" >&5
3738 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3741 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3739 if test "$ac_cv_sys_file_offset_bits" != no; then 3742 if test "$ac_cv_sys_file_offset_bits" != no; then
3740 3743
3741 cat >>confdefs.h <<EOF 3744 cat >>confdefs.h <<EOF
3742 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3745 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3743 EOF 3746 EOF
3744 3747
3745 fi 3748 fi
3746 rm -f conftest* 3749 rm -f conftest*
3747 echo "$as_me:3747: checking for _LARGE_FILES value needed for large files" >&5 3750 echo "$as_me:3750: checking for _LARGE_FILES value needed for large files" >&5
3748 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3751 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3749 if test "${ac_cv_sys_large_files+set}" = set; then 3752 if test "${ac_cv_sys_large_files+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6 3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 else 3754 else
3752 while :; do 3755 while :; do
3753 ac_cv_sys_large_files=no 3756 ac_cv_sys_large_files=no
3754 cat >conftest.$ac_ext <<_ACEOF 3757 cat >conftest.$ac_ext <<_ACEOF
3755 #line 3755 "configure" 3758 #line 3758 "configure"
3756 #include "confdefs.h" 3759 #include "confdefs.h"
3757 #include <sys/types.h> 3760 #include <sys/types.h>
3758 /* Check that off_t can represent 2**63 - 1 correctly. 3761 /* Check that off_t can represent 2**63 - 1 correctly.
3759 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3760 since some C++ compilers masquerading as C compilers 3763 since some C++ compilers masquerading as C compilers
3770 ; 3773 ;
3771 return 0; 3774 return 0;
3772 } 3775 }
3773 _ACEOF 3776 _ACEOF
3774 rm -f conftest.$ac_objext 3777 rm -f conftest.$ac_objext
3775 if { (eval echo "$as_me:3775: \"$ac_compile\"") >&5 3778 if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5
3776 (eval $ac_compile) 2>&5 3779 (eval $ac_compile) 2>&5
3777 ac_status=$? 3780 ac_status=$?
3778 echo "$as_me:3778: \$? = $ac_status" >&5 3781 echo "$as_me:3781: \$? = $ac_status" >&5
3779 (exit $ac_status); } && 3782 (exit $ac_status); } &&
3780 { ac_try='test -s conftest.$ac_objext' 3783 { ac_try='test -s conftest.$ac_objext'
3781 { (eval echo "$as_me:3781: \"$ac_try\"") >&5 3784 { (eval echo "$as_me:3784: \"$ac_try\"") >&5
3782 (eval $ac_try) 2>&5 3785 (eval $ac_try) 2>&5
3783 ac_status=$? 3786 ac_status=$?
3784 echo "$as_me:3784: \$? = $ac_status" >&5 3787 echo "$as_me:3787: \$? = $ac_status" >&5
3785 (exit $ac_status); }; }; then 3788 (exit $ac_status); }; }; then
3786 break 3789 break
3787 else 3790 else
3788 echo "$as_me: failed program was:" >&5 3791 echo "$as_me: failed program was:" >&5
3789 cat conftest.$ac_ext >&5 3792 cat conftest.$ac_ext >&5
3790 fi 3793 fi
3791 rm -f conftest.$ac_objext conftest.$ac_ext 3794 rm -f conftest.$ac_objext conftest.$ac_ext
3792 cat >conftest.$ac_ext <<_ACEOF 3795 cat >conftest.$ac_ext <<_ACEOF
3793 #line 3793 "configure" 3796 #line 3796 "configure"
3794 #include "confdefs.h" 3797 #include "confdefs.h"
3795 #define _LARGE_FILES 1 3798 #define _LARGE_FILES 1
3796 #include <sys/types.h> 3799 #include <sys/types.h>
3797 /* Check that off_t can represent 2**63 - 1 correctly. 3800 /* Check that off_t can represent 2**63 - 1 correctly.
3798 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3801 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3809 ; 3812 ;
3810 return 0; 3813 return 0;
3811 } 3814 }
3812 _ACEOF 3815 _ACEOF
3813 rm -f conftest.$ac_objext 3816 rm -f conftest.$ac_objext
3814 if { (eval echo "$as_me:3814: \"$ac_compile\"") >&5 3817 if { (eval echo "$as_me:3817: \"$ac_compile\"") >&5
3815 (eval $ac_compile) 2>&5 3818 (eval $ac_compile) 2>&5
3816 ac_status=$? 3819 ac_status=$?
3817 echo "$as_me:3817: \$? = $ac_status" >&5 3820 echo "$as_me:3820: \$? = $ac_status" >&5
3818 (exit $ac_status); } && 3821 (exit $ac_status); } &&
3819 { ac_try='test -s conftest.$ac_objext' 3822 { ac_try='test -s conftest.$ac_objext'
3820 { (eval echo "$as_me:3820: \"$ac_try\"") >&5 3823 { (eval echo "$as_me:3823: \"$ac_try\"") >&5
3821 (eval $ac_try) 2>&5 3824 (eval $ac_try) 2>&5
3822 ac_status=$? 3825 ac_status=$?
3823 echo "$as_me:3823: \$? = $ac_status" >&5 3826 echo "$as_me:3826: \$? = $ac_status" >&5
3824 (exit $ac_status); }; }; then 3827 (exit $ac_status); }; }; then
3825 ac_cv_sys_large_files=1; break 3828 ac_cv_sys_large_files=1; break
3826 else 3829 else
3827 echo "$as_me: failed program was:" >&5 3830 echo "$as_me: failed program was:" >&5
3828 cat conftest.$ac_ext >&5 3831 cat conftest.$ac_ext >&5
3829 fi 3832 fi
3830 rm -f conftest.$ac_objext conftest.$ac_ext 3833 rm -f conftest.$ac_objext conftest.$ac_ext
3831 break 3834 break
3832 done 3835 done
3833 fi 3836 fi
3834 echo "$as_me:3834: result: $ac_cv_sys_large_files" >&5 3837 echo "$as_me:3837: result: $ac_cv_sys_large_files" >&5
3835 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3838 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3836 if test "$ac_cv_sys_large_files" != no; then 3839 if test "$ac_cv_sys_large_files" != no; then
3837 3840
3838 cat >>confdefs.h <<EOF 3841 cat >>confdefs.h <<EOF
3839 #define _LARGE_FILES $ac_cv_sys_large_files 3842 #define _LARGE_FILES $ac_cv_sys_large_files
3846 # Sound support for GNU/Linux and the free BSDs. 3849 # Sound support for GNU/Linux and the free BSDs.
3847 3850
3848 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3851 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3849 do 3852 do
3850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3851 echo "$as_me:3851: checking for $ac_header" >&5 3854 echo "$as_me:3854: checking for $ac_header" >&5
3852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3853 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6 3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 else 3858 else
3856 cat >conftest.$ac_ext <<_ACEOF 3859 cat >conftest.$ac_ext <<_ACEOF
3857 #line 3857 "configure" 3860 #line 3860 "configure"
3858 #include "confdefs.h" 3861 #include "confdefs.h"
3859 #include <$ac_header> 3862 #include <$ac_header>
3860 _ACEOF 3863 _ACEOF
3861 if { (eval echo "$as_me:3861: \"$ac_cpp conftest.$ac_ext\"") >&5 3864 if { (eval echo "$as_me:3864: \"$ac_cpp conftest.$ac_ext\"") >&5
3862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3863 ac_status=$? 3866 ac_status=$?
3864 egrep -v '^ *\+' conftest.er1 >conftest.err 3867 egrep -v '^ *\+' conftest.er1 >conftest.err
3865 rm -f conftest.er1 3868 rm -f conftest.er1
3866 cat conftest.err >&5 3869 cat conftest.err >&5
3867 echo "$as_me:3867: \$? = $ac_status" >&5 3870 echo "$as_me:3870: \$? = $ac_status" >&5
3868 (exit $ac_status); } >/dev/null; then 3871 (exit $ac_status); } >/dev/null; then
3869 if test -s conftest.err; then 3872 if test -s conftest.err; then
3870 ac_cpp_err=$ac_c_preproc_warn_flag 3873 ac_cpp_err=$ac_c_preproc_warn_flag
3871 else 3874 else
3872 ac_cpp_err= 3875 ac_cpp_err=
3881 cat conftest.$ac_ext >&5 3884 cat conftest.$ac_ext >&5
3882 eval "$as_ac_Header=no" 3885 eval "$as_ac_Header=no"
3883 fi 3886 fi
3884 rm -f conftest.err conftest.$ac_ext 3887 rm -f conftest.err conftest.$ac_ext
3885 fi 3888 fi
3886 echo "$as_me:3886: result: `eval echo '${'$as_ac_Header'}'`" >&5 3889 echo "$as_me:3889: result: `eval echo '${'$as_ac_Header'}'`" >&5
3887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3888 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3889 cat >>confdefs.h <<EOF 3892 cat >>confdefs.h <<EOF
3890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3891 EOF 3894 EOF
3892 3895
3893 fi 3896 fi
3894 done 3897 done
3895 3898
3896 # Emulation library used on NetBSD. 3899 # Emulation library used on NetBSD.
3897 echo "$as_me:3897: checking for _oss_ioctl in -lossaudio" >&5 3900 echo "$as_me:3900: checking for _oss_ioctl in -lossaudio" >&5
3898 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3901 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3899 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3902 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6 3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 else 3904 else
3902 ac_check_lib_save_LIBS=$LIBS 3905 ac_check_lib_save_LIBS=$LIBS
3903 LIBS="-lossaudio $LIBS" 3906 LIBS="-lossaudio $LIBS"
3904 cat >conftest.$ac_ext <<_ACEOF 3907 cat >conftest.$ac_ext <<_ACEOF
3905 #line 3905 "configure" 3908 #line 3908 "configure"
3906 #include "confdefs.h" 3909 #include "confdefs.h"
3907 3910
3908 /* Override any gcc2 internal prototype to avoid an error. */ 3911 /* Override any gcc2 internal prototype to avoid an error. */
3909 #ifdef __cplusplus 3912 #ifdef __cplusplus
3910 extern "C" 3913 extern "C"
3919 ; 3922 ;
3920 return 0; 3923 return 0;
3921 } 3924 }
3922 _ACEOF 3925 _ACEOF
3923 rm -f conftest.$ac_objext conftest$ac_exeext 3926 rm -f conftest.$ac_objext conftest$ac_exeext
3924 if { (eval echo "$as_me:3924: \"$ac_link\"") >&5 3927 if { (eval echo "$as_me:3927: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>&5 3928 (eval $ac_link) 2>&5
3926 ac_status=$? 3929 ac_status=$?
3927 echo "$as_me:3927: \$? = $ac_status" >&5 3930 echo "$as_me:3930: \$? = $ac_status" >&5
3928 (exit $ac_status); } && 3931 (exit $ac_status); } &&
3929 { ac_try='test -s conftest$ac_exeext' 3932 { ac_try='test -s conftest$ac_exeext'
3930 { (eval echo "$as_me:3930: \"$ac_try\"") >&5 3933 { (eval echo "$as_me:3933: \"$ac_try\"") >&5
3931 (eval $ac_try) 2>&5 3934 (eval $ac_try) 2>&5
3932 ac_status=$? 3935 ac_status=$?
3933 echo "$as_me:3933: \$? = $ac_status" >&5 3936 echo "$as_me:3936: \$? = $ac_status" >&5
3934 (exit $ac_status); }; }; then 3937 (exit $ac_status); }; }; then
3935 ac_cv_lib_ossaudio__oss_ioctl=yes 3938 ac_cv_lib_ossaudio__oss_ioctl=yes
3936 else 3939 else
3937 echo "$as_me: failed program was:" >&5 3940 echo "$as_me: failed program was:" >&5
3938 cat conftest.$ac_ext >&5 3941 cat conftest.$ac_ext >&5
3939 ac_cv_lib_ossaudio__oss_ioctl=no 3942 ac_cv_lib_ossaudio__oss_ioctl=no
3940 fi 3943 fi
3941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3942 LIBS=$ac_check_lib_save_LIBS 3945 LIBS=$ac_check_lib_save_LIBS
3943 fi 3946 fi
3944 echo "$as_me:3944: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3947 echo "$as_me:3947: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3945 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3948 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3946 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3949 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3947 LIBSOUND=-lossaudio 3950 LIBSOUND=-lossaudio
3948 else 3951 else
3949 LIBSOUND= 3952 LIBSOUND=
3952 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 3955 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3953 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 3956 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3954 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 3957 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
3955 do 3958 do
3956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3957 echo "$as_me:3957: checking for $ac_header" >&5 3960 echo "$as_me:3960: checking for $ac_header" >&5
3958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6 3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 else 3964 else
3962 cat >conftest.$ac_ext <<_ACEOF 3965 cat >conftest.$ac_ext <<_ACEOF
3963 #line 3963 "configure" 3966 #line 3966 "configure"
3964 #include "confdefs.h" 3967 #include "confdefs.h"
3965 #include <$ac_header> 3968 #include <$ac_header>
3966 _ACEOF 3969 _ACEOF
3967 if { (eval echo "$as_me:3967: \"$ac_cpp conftest.$ac_ext\"") >&5 3970 if { (eval echo "$as_me:3970: \"$ac_cpp conftest.$ac_ext\"") >&5
3968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3969 ac_status=$? 3972 ac_status=$?
3970 egrep -v '^ *\+' conftest.er1 >conftest.err 3973 egrep -v '^ *\+' conftest.er1 >conftest.err
3971 rm -f conftest.er1 3974 rm -f conftest.er1
3972 cat conftest.err >&5 3975 cat conftest.err >&5
3973 echo "$as_me:3973: \$? = $ac_status" >&5 3976 echo "$as_me:3976: \$? = $ac_status" >&5
3974 (exit $ac_status); } >/dev/null; then 3977 (exit $ac_status); } >/dev/null; then
3975 if test -s conftest.err; then 3978 if test -s conftest.err; then
3976 ac_cpp_err=$ac_c_preproc_warn_flag 3979 ac_cpp_err=$ac_c_preproc_warn_flag
3977 else 3980 else
3978 ac_cpp_err= 3981 ac_cpp_err=
3987 cat conftest.$ac_ext >&5 3990 cat conftest.$ac_ext >&5
3988 eval "$as_ac_Header=no" 3991 eval "$as_ac_Header=no"
3989 fi 3992 fi
3990 rm -f conftest.err conftest.$ac_ext 3993 rm -f conftest.err conftest.$ac_ext
3991 fi 3994 fi
3992 echo "$as_me:3992: result: `eval echo '${'$as_ac_Header'}'`" >&5 3995 echo "$as_me:3995: result: `eval echo '${'$as_ac_Header'}'`" >&5
3993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3994 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3995 cat >>confdefs.h <<EOF 3998 cat >>confdefs.h <<EOF
3996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3997 EOF 4000 EOF
3998 4001
3999 fi 4002 fi
4000 done 4003 done
4001 4004
4002 echo "$as_me:4002: checking for ANSI C header files" >&5 4005 echo "$as_me:4005: checking for ANSI C header files" >&5
4003 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4006 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4004 if test "${ac_cv_header_stdc+set}" = set; then 4007 if test "${ac_cv_header_stdc+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6 4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 else 4009 else
4007 cat >conftest.$ac_ext <<_ACEOF 4010 cat >conftest.$ac_ext <<_ACEOF
4008 #line 4008 "configure" 4011 #line 4011 "configure"
4009 #include "confdefs.h" 4012 #include "confdefs.h"
4010 #include <stdlib.h> 4013 #include <stdlib.h>
4011 #include <stdarg.h> 4014 #include <stdarg.h>
4012 #include <string.h> 4015 #include <string.h>
4013 #include <float.h> 4016 #include <float.h>
4014 4017
4015 _ACEOF 4018 _ACEOF
4016 if { (eval echo "$as_me:4016: \"$ac_cpp conftest.$ac_ext\"") >&5 4019 if { (eval echo "$as_me:4019: \"$ac_cpp conftest.$ac_ext\"") >&5
4017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4018 ac_status=$? 4021 ac_status=$?
4019 egrep -v '^ *\+' conftest.er1 >conftest.err 4022 egrep -v '^ *\+' conftest.er1 >conftest.err
4020 rm -f conftest.er1 4023 rm -f conftest.er1
4021 cat conftest.err >&5 4024 cat conftest.err >&5
4022 echo "$as_me:4022: \$? = $ac_status" >&5 4025 echo "$as_me:4025: \$? = $ac_status" >&5
4023 (exit $ac_status); } >/dev/null; then 4026 (exit $ac_status); } >/dev/null; then
4024 if test -s conftest.err; then 4027 if test -s conftest.err; then
4025 ac_cpp_err=$ac_c_preproc_warn_flag 4028 ac_cpp_err=$ac_c_preproc_warn_flag
4026 else 4029 else
4027 ac_cpp_err= 4030 ac_cpp_err=
4039 rm -f conftest.err conftest.$ac_ext 4042 rm -f conftest.err conftest.$ac_ext
4040 4043
4041 if test $ac_cv_header_stdc = yes; then 4044 if test $ac_cv_header_stdc = yes; then
4042 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4045 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4043 cat >conftest.$ac_ext <<_ACEOF 4046 cat >conftest.$ac_ext <<_ACEOF
4044 #line 4044 "configure" 4047 #line 4047 "configure"
4045 #include "confdefs.h" 4048 #include "confdefs.h"
4046 #include <string.h> 4049 #include <string.h>
4047 4050
4048 _ACEOF 4051 _ACEOF
4049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4057 fi 4060 fi
4058 4061
4059 if test $ac_cv_header_stdc = yes; then 4062 if test $ac_cv_header_stdc = yes; then
4060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4063 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4061 cat >conftest.$ac_ext <<_ACEOF 4064 cat >conftest.$ac_ext <<_ACEOF
4062 #line 4062 "configure" 4065 #line 4065 "configure"
4063 #include "confdefs.h" 4066 #include "confdefs.h"
4064 #include <stdlib.h> 4067 #include <stdlib.h>
4065 4068
4066 _ACEOF 4069 _ACEOF
4067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4081 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4079 if test "$cross_compiling" = yes; then 4082 if test "$cross_compiling" = yes; then
4080 : 4083 :
4081 else 4084 else
4082 cat >conftest.$ac_ext <<_ACEOF 4085 cat >conftest.$ac_ext <<_ACEOF
4083 #line 4083 "configure" 4086 #line 4086 "configure"
4084 #include "confdefs.h" 4087 #include "confdefs.h"
4085 #include <ctype.h> 4088 #include <ctype.h>
4086 #if ((' ' & 0x0FF) == 0x020) 4089 #if ((' ' & 0x0FF) == 0x020)
4087 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4088 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4104 exit(2); 4107 exit(2);
4105 exit (0); 4108 exit (0);
4106 } 4109 }
4107 _ACEOF 4110 _ACEOF
4108 rm -f conftest$ac_exeext 4111 rm -f conftest$ac_exeext
4109 if { (eval echo "$as_me:4109: \"$ac_link\"") >&5 4112 if { (eval echo "$as_me:4112: \"$ac_link\"") >&5
4110 (eval $ac_link) 2>&5 4113 (eval $ac_link) 2>&5
4111 ac_status=$? 4114 ac_status=$?
4112 echo "$as_me:4112: \$? = $ac_status" >&5 4115 echo "$as_me:4115: \$? = $ac_status" >&5
4113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4114 { (eval echo "$as_me:4114: \"$ac_try\"") >&5 4117 { (eval echo "$as_me:4117: \"$ac_try\"") >&5
4115 (eval $ac_try) 2>&5 4118 (eval $ac_try) 2>&5
4116 ac_status=$? 4119 ac_status=$?
4117 echo "$as_me:4117: \$? = $ac_status" >&5 4120 echo "$as_me:4120: \$? = $ac_status" >&5
4118 (exit $ac_status); }; }; then 4121 (exit $ac_status); }; }; then
4119 : 4122 :
4120 else 4123 else
4121 echo "$as_me: program exited with status $ac_status" >&5 4124 echo "$as_me: program exited with status $ac_status" >&5
4122 echo "$as_me: failed program was:" >&5 4125 echo "$as_me: failed program was:" >&5
4125 fi 4128 fi
4126 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4129 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4127 fi 4130 fi
4128 fi 4131 fi
4129 fi 4132 fi
4130 echo "$as_me:4130: result: $ac_cv_header_stdc" >&5 4133 echo "$as_me:4133: result: $ac_cv_header_stdc" >&5
4131 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4134 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4132 if test $ac_cv_header_stdc = yes; then 4135 if test $ac_cv_header_stdc = yes; then
4133 4136
4134 cat >>confdefs.h <<\EOF 4137 cat >>confdefs.h <<\EOF
4135 #define STDC_HEADERS 1 4138 #define STDC_HEADERS 1
4136 EOF 4139 EOF
4137 4140
4138 fi 4141 fi
4139 4142
4140 echo "$as_me:4140: checking whether time.h and sys/time.h may both be included" >&5 4143 echo "$as_me:4143: checking whether time.h and sys/time.h may both be included" >&5
4141 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4144 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4142 if test "${ac_cv_header_time+set}" = set; then 4145 if test "${ac_cv_header_time+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6 4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 else 4147 else
4145 cat >conftest.$ac_ext <<_ACEOF 4148 cat >conftest.$ac_ext <<_ACEOF
4146 #line 4146 "configure" 4149 #line 4149 "configure"
4147 #include "confdefs.h" 4150 #include "confdefs.h"
4148 #include <sys/types.h> 4151 #include <sys/types.h>
4149 #include <sys/time.h> 4152 #include <sys/time.h>
4150 #include <time.h> 4153 #include <time.h>
4151 4154
4157 ; 4160 ;
4158 return 0; 4161 return 0;
4159 } 4162 }
4160 _ACEOF 4163 _ACEOF
4161 rm -f conftest.$ac_objext 4164 rm -f conftest.$ac_objext
4162 if { (eval echo "$as_me:4162: \"$ac_compile\"") >&5 4165 if { (eval echo "$as_me:4165: \"$ac_compile\"") >&5
4163 (eval $ac_compile) 2>&5 4166 (eval $ac_compile) 2>&5
4164 ac_status=$? 4167 ac_status=$?
4165 echo "$as_me:4165: \$? = $ac_status" >&5 4168 echo "$as_me:4168: \$? = $ac_status" >&5
4166 (exit $ac_status); } && 4169 (exit $ac_status); } &&
4167 { ac_try='test -s conftest.$ac_objext' 4170 { ac_try='test -s conftest.$ac_objext'
4168 { (eval echo "$as_me:4168: \"$ac_try\"") >&5 4171 { (eval echo "$as_me:4171: \"$ac_try\"") >&5
4169 (eval $ac_try) 2>&5 4172 (eval $ac_try) 2>&5
4170 ac_status=$? 4173 ac_status=$?
4171 echo "$as_me:4171: \$? = $ac_status" >&5 4174 echo "$as_me:4174: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then 4175 (exit $ac_status); }; }; then
4173 ac_cv_header_time=yes 4176 ac_cv_header_time=yes
4174 else 4177 else
4175 echo "$as_me: failed program was:" >&5 4178 echo "$as_me: failed program was:" >&5
4176 cat conftest.$ac_ext >&5 4179 cat conftest.$ac_ext >&5
4177 ac_cv_header_time=no 4180 ac_cv_header_time=no
4178 fi 4181 fi
4179 rm -f conftest.$ac_objext conftest.$ac_ext 4182 rm -f conftest.$ac_objext conftest.$ac_ext
4180 fi 4183 fi
4181 echo "$as_me:4181: result: $ac_cv_header_time" >&5 4184 echo "$as_me:4184: result: $ac_cv_header_time" >&5
4182 echo "${ECHO_T}$ac_cv_header_time" >&6 4185 echo "${ECHO_T}$ac_cv_header_time" >&6
4183 if test $ac_cv_header_time = yes; then 4186 if test $ac_cv_header_time = yes; then
4184 4187
4185 cat >>confdefs.h <<\EOF 4188 cat >>confdefs.h <<\EOF
4186 #define TIME_WITH_SYS_TIME 1 4189 #define TIME_WITH_SYS_TIME 1
4187 EOF 4190 EOF
4188 4191
4189 fi 4192 fi
4190 4193
4191 echo "$as_me:4191: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4194 echo "$as_me:4194: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4192 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4195 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4193 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4196 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4194 echo $ECHO_N "(cached) $ECHO_C" >&6 4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 else 4198 else
4196 cat >conftest.$ac_ext <<_ACEOF 4199 cat >conftest.$ac_ext <<_ACEOF
4197 #line 4197 "configure" 4200 #line 4200 "configure"
4198 #include "confdefs.h" 4201 #include "confdefs.h"
4199 #include <sys/types.h> 4202 #include <sys/types.h>
4200 #include <signal.h> 4203 #include <signal.h>
4201 /* NetBSD declares sys_siglist in unistd.h. */ 4204 /* NetBSD declares sys_siglist in unistd.h. */
4202 #if HAVE_UNISTD_H 4205 #if HAVE_UNISTD_H
4210 ; 4213 ;
4211 return 0; 4214 return 0;
4212 } 4215 }
4213 _ACEOF 4216 _ACEOF
4214 rm -f conftest.$ac_objext 4217 rm -f conftest.$ac_objext
4215 if { (eval echo "$as_me:4215: \"$ac_compile\"") >&5 4218 if { (eval echo "$as_me:4218: \"$ac_compile\"") >&5
4216 (eval $ac_compile) 2>&5 4219 (eval $ac_compile) 2>&5
4217 ac_status=$? 4220 ac_status=$?
4218 echo "$as_me:4218: \$? = $ac_status" >&5 4221 echo "$as_me:4221: \$? = $ac_status" >&5
4219 (exit $ac_status); } && 4222 (exit $ac_status); } &&
4220 { ac_try='test -s conftest.$ac_objext' 4223 { ac_try='test -s conftest.$ac_objext'
4221 { (eval echo "$as_me:4221: \"$ac_try\"") >&5 4224 { (eval echo "$as_me:4224: \"$ac_try\"") >&5
4222 (eval $ac_try) 2>&5 4225 (eval $ac_try) 2>&5
4223 ac_status=$? 4226 ac_status=$?
4224 echo "$as_me:4224: \$? = $ac_status" >&5 4227 echo "$as_me:4227: \$? = $ac_status" >&5
4225 (exit $ac_status); }; }; then 4228 (exit $ac_status); }; }; then
4226 ac_cv_decl_sys_siglist=yes 4229 ac_cv_decl_sys_siglist=yes
4227 else 4230 else
4228 echo "$as_me: failed program was:" >&5 4231 echo "$as_me: failed program was:" >&5
4229 cat conftest.$ac_ext >&5 4232 cat conftest.$ac_ext >&5
4230 ac_cv_decl_sys_siglist=no 4233 ac_cv_decl_sys_siglist=no
4231 fi 4234 fi
4232 rm -f conftest.$ac_objext conftest.$ac_ext 4235 rm -f conftest.$ac_objext conftest.$ac_ext
4233 fi 4236 fi
4234 echo "$as_me:4234: result: $ac_cv_decl_sys_siglist" >&5 4237 echo "$as_me:4237: result: $ac_cv_decl_sys_siglist" >&5
4235 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4238 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4236 if test $ac_cv_decl_sys_siglist = yes; then 4239 if test $ac_cv_decl_sys_siglist = yes; then
4237 4240
4238 cat >>confdefs.h <<\EOF 4241 cat >>confdefs.h <<\EOF
4239 #define SYS_SIGLIST_DECLARED 1 4242 #define SYS_SIGLIST_DECLARED 1
4240 EOF 4243 EOF
4241 4244
4242 fi 4245 fi
4243 4246
4244 echo "$as_me:4244: checking for sys/wait.h that is POSIX.1 compatible" >&5 4247 echo "$as_me:4247: checking for sys/wait.h that is POSIX.1 compatible" >&5
4245 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4248 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4246 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4249 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6 4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 else 4251 else
4249 cat >conftest.$ac_ext <<_ACEOF 4252 cat >conftest.$ac_ext <<_ACEOF
4250 #line 4250 "configure" 4253 #line 4253 "configure"
4251 #include "confdefs.h" 4254 #include "confdefs.h"
4252 #include <sys/types.h> 4255 #include <sys/types.h>
4253 #include <sys/wait.h> 4256 #include <sys/wait.h>
4254 #ifndef WEXITSTATUS 4257 #ifndef WEXITSTATUS
4255 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4258 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4267 ; 4270 ;
4268 return 0; 4271 return 0;
4269 } 4272 }
4270 _ACEOF 4273 _ACEOF
4271 rm -f conftest.$ac_objext 4274 rm -f conftest.$ac_objext
4272 if { (eval echo "$as_me:4272: \"$ac_compile\"") >&5 4275 if { (eval echo "$as_me:4275: \"$ac_compile\"") >&5
4273 (eval $ac_compile) 2>&5 4276 (eval $ac_compile) 2>&5
4274 ac_status=$? 4277 ac_status=$?
4275 echo "$as_me:4275: \$? = $ac_status" >&5 4278 echo "$as_me:4278: \$? = $ac_status" >&5
4276 (exit $ac_status); } && 4279 (exit $ac_status); } &&
4277 { ac_try='test -s conftest.$ac_objext' 4280 { ac_try='test -s conftest.$ac_objext'
4278 { (eval echo "$as_me:4278: \"$ac_try\"") >&5 4281 { (eval echo "$as_me:4281: \"$ac_try\"") >&5
4279 (eval $ac_try) 2>&5 4282 (eval $ac_try) 2>&5
4280 ac_status=$? 4283 ac_status=$?
4281 echo "$as_me:4281: \$? = $ac_status" >&5 4284 echo "$as_me:4284: \$? = $ac_status" >&5
4282 (exit $ac_status); }; }; then 4285 (exit $ac_status); }; }; then
4283 ac_cv_header_sys_wait_h=yes 4286 ac_cv_header_sys_wait_h=yes
4284 else 4287 else
4285 echo "$as_me: failed program was:" >&5 4288 echo "$as_me: failed program was:" >&5
4286 cat conftest.$ac_ext >&5 4289 cat conftest.$ac_ext >&5
4287 ac_cv_header_sys_wait_h=no 4290 ac_cv_header_sys_wait_h=no
4288 fi 4291 fi
4289 rm -f conftest.$ac_objext conftest.$ac_ext 4292 rm -f conftest.$ac_objext conftest.$ac_ext
4290 fi 4293 fi
4291 echo "$as_me:4291: result: $ac_cv_header_sys_wait_h" >&5 4294 echo "$as_me:4294: result: $ac_cv_header_sys_wait_h" >&5
4292 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4295 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4293 if test $ac_cv_header_sys_wait_h = yes; then 4296 if test $ac_cv_header_sys_wait_h = yes; then
4294 4297
4295 cat >>confdefs.h <<\EOF 4298 cat >>confdefs.h <<\EOF
4296 #define HAVE_SYS_WAIT_H 1 4299 #define HAVE_SYS_WAIT_H 1
4297 EOF 4300 EOF
4298 4301
4299 fi 4302 fi
4300 4303
4301 echo "$as_me:4301: checking for struct utimbuf" >&5 4304 echo "$as_me:4304: checking for struct utimbuf" >&5
4302 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4305 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4303 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4306 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6 4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 else 4308 else
4306 cat >conftest.$ac_ext <<_ACEOF 4309 cat >conftest.$ac_ext <<_ACEOF
4307 #line 4307 "configure" 4310 #line 4310 "configure"
4308 #include "confdefs.h" 4311 #include "confdefs.h"
4309 #ifdef TIME_WITH_SYS_TIME 4312 #ifdef TIME_WITH_SYS_TIME
4310 #include <sys/time.h> 4313 #include <sys/time.h>
4311 #include <time.h> 4314 #include <time.h>
4312 #else 4315 #else
4326 ; 4329 ;
4327 return 0; 4330 return 0;
4328 } 4331 }
4329 _ACEOF 4332 _ACEOF
4330 rm -f conftest.$ac_objext 4333 rm -f conftest.$ac_objext
4331 if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5 4334 if { (eval echo "$as_me:4334: \"$ac_compile\"") >&5
4332 (eval $ac_compile) 2>&5 4335 (eval $ac_compile) 2>&5
4333 ac_status=$? 4336 ac_status=$?
4334 echo "$as_me:4334: \$? = $ac_status" >&5 4337 echo "$as_me:4337: \$? = $ac_status" >&5
4335 (exit $ac_status); } && 4338 (exit $ac_status); } &&
4336 { ac_try='test -s conftest.$ac_objext' 4339 { ac_try='test -s conftest.$ac_objext'
4337 { (eval echo "$as_me:4337: \"$ac_try\"") >&5 4340 { (eval echo "$as_me:4340: \"$ac_try\"") >&5
4338 (eval $ac_try) 2>&5 4341 (eval $ac_try) 2>&5
4339 ac_status=$? 4342 ac_status=$?
4340 echo "$as_me:4340: \$? = $ac_status" >&5 4343 echo "$as_me:4343: \$? = $ac_status" >&5
4341 (exit $ac_status); }; }; then 4344 (exit $ac_status); }; }; then
4342 emacs_cv_struct_utimbuf=yes 4345 emacs_cv_struct_utimbuf=yes
4343 else 4346 else
4344 echo "$as_me: failed program was:" >&5 4347 echo "$as_me: failed program was:" >&5
4345 cat conftest.$ac_ext >&5 4348 cat conftest.$ac_ext >&5
4346 emacs_cv_struct_utimbuf=no 4349 emacs_cv_struct_utimbuf=no
4347 fi 4350 fi
4348 rm -f conftest.$ac_objext conftest.$ac_ext 4351 rm -f conftest.$ac_objext conftest.$ac_ext
4349 fi 4352 fi
4350 echo "$as_me:4350: result: $emacs_cv_struct_utimbuf" >&5 4353 echo "$as_me:4353: result: $emacs_cv_struct_utimbuf" >&5
4351 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4354 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4352 if test $emacs_cv_struct_utimbuf = yes; then 4355 if test $emacs_cv_struct_utimbuf = yes; then
4353 cat >>confdefs.h <<\EOF 4356 cat >>confdefs.h <<\EOF
4354 #define HAVE_STRUCT_UTIMBUF 1 4357 #define HAVE_STRUCT_UTIMBUF 1
4355 EOF 4358 EOF
4356 4359
4357 fi 4360 fi
4358 4361
4359 echo "$as_me:4359: checking return type of signal handlers" >&5 4362 echo "$as_me:4362: checking return type of signal handlers" >&5
4360 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4363 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4361 if test "${ac_cv_type_signal+set}" = set; then 4364 if test "${ac_cv_type_signal+set}" = set; then
4362 echo $ECHO_N "(cached) $ECHO_C" >&6 4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 else 4366 else
4364 cat >conftest.$ac_ext <<_ACEOF 4367 cat >conftest.$ac_ext <<_ACEOF
4365 #line 4365 "configure" 4368 #line 4368 "configure"
4366 #include "confdefs.h" 4369 #include "confdefs.h"
4367 #include <sys/types.h> 4370 #include <sys/types.h>
4368 #include <signal.h> 4371 #include <signal.h>
4369 #ifdef signal 4372 #ifdef signal
4370 # undef signal 4373 # undef signal
4382 ; 4385 ;
4383 return 0; 4386 return 0;
4384 } 4387 }
4385 _ACEOF 4388 _ACEOF
4386 rm -f conftest.$ac_objext 4389 rm -f conftest.$ac_objext
4387 if { (eval echo "$as_me:4387: \"$ac_compile\"") >&5 4390 if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5
4388 (eval $ac_compile) 2>&5 4391 (eval $ac_compile) 2>&5
4389 ac_status=$? 4392 ac_status=$?
4390 echo "$as_me:4390: \$? = $ac_status" >&5 4393 echo "$as_me:4393: \$? = $ac_status" >&5
4391 (exit $ac_status); } && 4394 (exit $ac_status); } &&
4392 { ac_try='test -s conftest.$ac_objext' 4395 { ac_try='test -s conftest.$ac_objext'
4393 { (eval echo "$as_me:4393: \"$ac_try\"") >&5 4396 { (eval echo "$as_me:4396: \"$ac_try\"") >&5
4394 (eval $ac_try) 2>&5 4397 (eval $ac_try) 2>&5
4395 ac_status=$? 4398 ac_status=$?
4396 echo "$as_me:4396: \$? = $ac_status" >&5 4399 echo "$as_me:4399: \$? = $ac_status" >&5
4397 (exit $ac_status); }; }; then 4400 (exit $ac_status); }; }; then
4398 ac_cv_type_signal=void 4401 ac_cv_type_signal=void
4399 else 4402 else
4400 echo "$as_me: failed program was:" >&5 4403 echo "$as_me: failed program was:" >&5
4401 cat conftest.$ac_ext >&5 4404 cat conftest.$ac_ext >&5
4402 ac_cv_type_signal=int 4405 ac_cv_type_signal=int
4403 fi 4406 fi
4404 rm -f conftest.$ac_objext conftest.$ac_ext 4407 rm -f conftest.$ac_objext conftest.$ac_ext
4405 fi 4408 fi
4406 echo "$as_me:4406: result: $ac_cv_type_signal" >&5 4409 echo "$as_me:4409: result: $ac_cv_type_signal" >&5
4407 echo "${ECHO_T}$ac_cv_type_signal" >&6 4410 echo "${ECHO_T}$ac_cv_type_signal" >&6
4408 4411
4409 cat >>confdefs.h <<EOF 4412 cat >>confdefs.h <<EOF
4410 #define RETSIGTYPE $ac_cv_type_signal 4413 #define RETSIGTYPE $ac_cv_type_signal
4411 EOF 4414 EOF
4412 4415
4413 echo "$as_me:4413: checking for speed_t" >&5 4416 echo "$as_me:4416: checking for speed_t" >&5
4414 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4417 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4415 if test "${emacs_cv_speed_t+set}" = set; then 4418 if test "${emacs_cv_speed_t+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6 4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else 4420 else
4418 cat >conftest.$ac_ext <<_ACEOF 4421 cat >conftest.$ac_ext <<_ACEOF
4419 #line 4419 "configure" 4422 #line 4422 "configure"
4420 #include "confdefs.h" 4423 #include "confdefs.h"
4421 #include <termios.h> 4424 #include <termios.h>
4422 int 4425 int
4423 main () 4426 main ()
4424 { 4427 {
4426 ; 4429 ;
4427 return 0; 4430 return 0;
4428 } 4431 }
4429 _ACEOF 4432 _ACEOF
4430 rm -f conftest.$ac_objext 4433 rm -f conftest.$ac_objext
4431 if { (eval echo "$as_me:4431: \"$ac_compile\"") >&5 4434 if { (eval echo "$as_me:4434: \"$ac_compile\"") >&5
4432 (eval $ac_compile) 2>&5 4435 (eval $ac_compile) 2>&5
4433 ac_status=$? 4436 ac_status=$?
4434 echo "$as_me:4434: \$? = $ac_status" >&5 4437 echo "$as_me:4437: \$? = $ac_status" >&5
4435 (exit $ac_status); } && 4438 (exit $ac_status); } &&
4436 { ac_try='test -s conftest.$ac_objext' 4439 { ac_try='test -s conftest.$ac_objext'
4437 { (eval echo "$as_me:4437: \"$ac_try\"") >&5 4440 { (eval echo "$as_me:4440: \"$ac_try\"") >&5
4438 (eval $ac_try) 2>&5 4441 (eval $ac_try) 2>&5
4439 ac_status=$? 4442 ac_status=$?
4440 echo "$as_me:4440: \$? = $ac_status" >&5 4443 echo "$as_me:4443: \$? = $ac_status" >&5
4441 (exit $ac_status); }; }; then 4444 (exit $ac_status); }; }; then
4442 emacs_cv_speed_t=yes 4445 emacs_cv_speed_t=yes
4443 else 4446 else
4444 echo "$as_me: failed program was:" >&5 4447 echo "$as_me: failed program was:" >&5
4445 cat conftest.$ac_ext >&5 4448 cat conftest.$ac_ext >&5
4446 emacs_cv_speed_t=no 4449 emacs_cv_speed_t=no
4447 fi 4450 fi
4448 rm -f conftest.$ac_objext conftest.$ac_ext 4451 rm -f conftest.$ac_objext conftest.$ac_ext
4449 fi 4452 fi
4450 echo "$as_me:4450: result: $emacs_cv_speed_t" >&5 4453 echo "$as_me:4453: result: $emacs_cv_speed_t" >&5
4451 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4454 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4452 if test $emacs_cv_speed_t = yes; then 4455 if test $emacs_cv_speed_t = yes; then
4453 cat >>confdefs.h <<\EOF 4456 cat >>confdefs.h <<\EOF
4454 #define HAVE_SPEED_T 1 4457 #define HAVE_SPEED_T 1
4455 EOF 4458 EOF
4456 4459
4457 fi 4460 fi
4458 4461
4459 echo "$as_me:4459: checking for struct timeval" >&5 4462 echo "$as_me:4462: checking for struct timeval" >&5
4460 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4463 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4461 if test "${emacs_cv_struct_timeval+set}" = set; then 4464 if test "${emacs_cv_struct_timeval+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6 4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else 4466 else
4464 cat >conftest.$ac_ext <<_ACEOF 4467 cat >conftest.$ac_ext <<_ACEOF
4465 #line 4465 "configure" 4468 #line 4468 "configure"
4466 #include "confdefs.h" 4469 #include "confdefs.h"
4467 #ifdef TIME_WITH_SYS_TIME 4470 #ifdef TIME_WITH_SYS_TIME
4468 #include <sys/time.h> 4471 #include <sys/time.h>
4469 #include <time.h> 4472 #include <time.h>
4470 #else 4473 #else
4481 ; 4484 ;
4482 return 0; 4485 return 0;
4483 } 4486 }
4484 _ACEOF 4487 _ACEOF
4485 rm -f conftest.$ac_objext 4488 rm -f conftest.$ac_objext
4486 if { (eval echo "$as_me:4486: \"$ac_compile\"") >&5 4489 if { (eval echo "$as_me:4489: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>&5 4490 (eval $ac_compile) 2>&5
4488 ac_status=$? 4491 ac_status=$?
4489 echo "$as_me:4489: \$? = $ac_status" >&5 4492 echo "$as_me:4492: \$? = $ac_status" >&5
4490 (exit $ac_status); } && 4493 (exit $ac_status); } &&
4491 { ac_try='test -s conftest.$ac_objext' 4494 { ac_try='test -s conftest.$ac_objext'
4492 { (eval echo "$as_me:4492: \"$ac_try\"") >&5 4495 { (eval echo "$as_me:4495: \"$ac_try\"") >&5
4493 (eval $ac_try) 2>&5 4496 (eval $ac_try) 2>&5
4494 ac_status=$? 4497 ac_status=$?
4495 echo "$as_me:4495: \$? = $ac_status" >&5 4498 echo "$as_me:4498: \$? = $ac_status" >&5
4496 (exit $ac_status); }; }; then 4499 (exit $ac_status); }; }; then
4497 emacs_cv_struct_timeval=yes 4500 emacs_cv_struct_timeval=yes
4498 else 4501 else
4499 echo "$as_me: failed program was:" >&5 4502 echo "$as_me: failed program was:" >&5
4500 cat conftest.$ac_ext >&5 4503 cat conftest.$ac_ext >&5
4501 emacs_cv_struct_timeval=no 4504 emacs_cv_struct_timeval=no
4502 fi 4505 fi
4503 rm -f conftest.$ac_objext conftest.$ac_ext 4506 rm -f conftest.$ac_objext conftest.$ac_ext
4504 fi 4507 fi
4505 echo "$as_me:4505: result: $emacs_cv_struct_timeval" >&5 4508 echo "$as_me:4508: result: $emacs_cv_struct_timeval" >&5
4506 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4509 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4507 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4510 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4508 if test $emacs_cv_struct_timeval = yes; then 4511 if test $emacs_cv_struct_timeval = yes; then
4509 cat >>confdefs.h <<\EOF 4512 cat >>confdefs.h <<\EOF
4510 #define HAVE_TIMEVAL 1 4513 #define HAVE_TIMEVAL 1
4511 EOF 4514 EOF
4512 4515
4513 fi 4516 fi
4514 4517
4515 echo "$as_me:4515: checking for struct exception" >&5 4518 echo "$as_me:4518: checking for struct exception" >&5
4516 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4519 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4517 if test "${emacs_cv_struct_exception+set}" = set; then 4520 if test "${emacs_cv_struct_exception+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6 4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 else 4522 else
4520 cat >conftest.$ac_ext <<_ACEOF 4523 cat >conftest.$ac_ext <<_ACEOF
4521 #line 4521 "configure" 4524 #line 4524 "configure"
4522 #include "confdefs.h" 4525 #include "confdefs.h"
4523 #include <math.h> 4526 #include <math.h>
4524 int 4527 int
4525 main () 4528 main ()
4526 { 4529 {
4528 ; 4531 ;
4529 return 0; 4532 return 0;
4530 } 4533 }
4531 _ACEOF 4534 _ACEOF
4532 rm -f conftest.$ac_objext 4535 rm -f conftest.$ac_objext
4533 if { (eval echo "$as_me:4533: \"$ac_compile\"") >&5 4536 if { (eval echo "$as_me:4536: \"$ac_compile\"") >&5
4534 (eval $ac_compile) 2>&5 4537 (eval $ac_compile) 2>&5
4535 ac_status=$? 4538 ac_status=$?
4536 echo "$as_me:4536: \$? = $ac_status" >&5 4539 echo "$as_me:4539: \$? = $ac_status" >&5
4537 (exit $ac_status); } && 4540 (exit $ac_status); } &&
4538 { ac_try='test -s conftest.$ac_objext' 4541 { ac_try='test -s conftest.$ac_objext'
4539 { (eval echo "$as_me:4539: \"$ac_try\"") >&5 4542 { (eval echo "$as_me:4542: \"$ac_try\"") >&5
4540 (eval $ac_try) 2>&5 4543 (eval $ac_try) 2>&5
4541 ac_status=$? 4544 ac_status=$?
4542 echo "$as_me:4542: \$? = $ac_status" >&5 4545 echo "$as_me:4545: \$? = $ac_status" >&5
4543 (exit $ac_status); }; }; then 4546 (exit $ac_status); }; }; then
4544 emacs_cv_struct_exception=yes 4547 emacs_cv_struct_exception=yes
4545 else 4548 else
4546 echo "$as_me: failed program was:" >&5 4549 echo "$as_me: failed program was:" >&5
4547 cat conftest.$ac_ext >&5 4550 cat conftest.$ac_ext >&5
4548 emacs_cv_struct_exception=no 4551 emacs_cv_struct_exception=no
4549 fi 4552 fi
4550 rm -f conftest.$ac_objext conftest.$ac_ext 4553 rm -f conftest.$ac_objext conftest.$ac_ext
4551 fi 4554 fi
4552 echo "$as_me:4552: result: $emacs_cv_struct_exception" >&5 4555 echo "$as_me:4555: result: $emacs_cv_struct_exception" >&5
4553 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4556 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4554 HAVE_EXCEPTION=$emacs_cv_struct_exception 4557 HAVE_EXCEPTION=$emacs_cv_struct_exception
4555 if test $emacs_cv_struct_exception != yes; then 4558 if test $emacs_cv_struct_exception != yes; then
4556 cat >>confdefs.h <<\EOF 4559 cat >>confdefs.h <<\EOF
4557 #define NO_MATHERR 1 4560 #define NO_MATHERR 1
4558 EOF 4561 EOF
4559 4562
4560 fi 4563 fi
4561 4564
4562 echo "$as_me:4562: checking whether struct tm is in sys/time.h or time.h" >&5 4565 echo "$as_me:4565: checking whether struct tm is in sys/time.h or time.h" >&5
4563 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4566 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4564 if test "${ac_cv_struct_tm+set}" = set; then 4567 if test "${ac_cv_struct_tm+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6 4568 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 else 4569 else
4567 cat >conftest.$ac_ext <<_ACEOF 4570 cat >conftest.$ac_ext <<_ACEOF
4568 #line 4568 "configure" 4571 #line 4571 "configure"
4569 #include "confdefs.h" 4572 #include "confdefs.h"
4570 #include <sys/types.h> 4573 #include <sys/types.h>
4571 #include <time.h> 4574 #include <time.h>
4572 4575
4573 int 4576 int
4577 ; 4580 ;
4578 return 0; 4581 return 0;
4579 } 4582 }
4580 _ACEOF 4583 _ACEOF
4581 rm -f conftest.$ac_objext 4584 rm -f conftest.$ac_objext
4582 if { (eval echo "$as_me:4582: \"$ac_compile\"") >&5 4585 if { (eval echo "$as_me:4585: \"$ac_compile\"") >&5
4583 (eval $ac_compile) 2>&5 4586 (eval $ac_compile) 2>&5
4584 ac_status=$? 4587 ac_status=$?
4585 echo "$as_me:4585: \$? = $ac_status" >&5 4588 echo "$as_me:4588: \$? = $ac_status" >&5
4586 (exit $ac_status); } && 4589 (exit $ac_status); } &&
4587 { ac_try='test -s conftest.$ac_objext' 4590 { ac_try='test -s conftest.$ac_objext'
4588 { (eval echo "$as_me:4588: \"$ac_try\"") >&5 4591 { (eval echo "$as_me:4591: \"$ac_try\"") >&5
4589 (eval $ac_try) 2>&5 4592 (eval $ac_try) 2>&5
4590 ac_status=$? 4593 ac_status=$?
4591 echo "$as_me:4591: \$? = $ac_status" >&5 4594 echo "$as_me:4594: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then 4595 (exit $ac_status); }; }; then
4593 ac_cv_struct_tm=time.h 4596 ac_cv_struct_tm=time.h
4594 else 4597 else
4595 echo "$as_me: failed program was:" >&5 4598 echo "$as_me: failed program was:" >&5
4596 cat conftest.$ac_ext >&5 4599 cat conftest.$ac_ext >&5
4597 ac_cv_struct_tm=sys/time.h 4600 ac_cv_struct_tm=sys/time.h
4598 fi 4601 fi
4599 rm -f conftest.$ac_objext conftest.$ac_ext 4602 rm -f conftest.$ac_objext conftest.$ac_ext
4600 fi 4603 fi
4601 echo "$as_me:4601: result: $ac_cv_struct_tm" >&5 4604 echo "$as_me:4604: result: $ac_cv_struct_tm" >&5
4602 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4605 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4603 if test $ac_cv_struct_tm = sys/time.h; then 4606 if test $ac_cv_struct_tm = sys/time.h; then
4604 4607
4605 cat >>confdefs.h <<\EOF 4608 cat >>confdefs.h <<\EOF
4606 #define TM_IN_SYS_TIME 1 4609 #define TM_IN_SYS_TIME 1
4607 EOF 4610 EOF
4608 4611
4609 fi 4612 fi
4610 4613
4611 echo "$as_me:4611: checking for struct tm.tm_zone" >&5 4614 echo "$as_me:4614: checking for struct tm.tm_zone" >&5
4612 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4615 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4613 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4616 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4614 echo $ECHO_N "(cached) $ECHO_C" >&6 4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 else 4618 else
4616 cat >conftest.$ac_ext <<_ACEOF 4619 cat >conftest.$ac_ext <<_ACEOF
4617 #line 4617 "configure" 4620 #line 4620 "configure"
4618 #include "confdefs.h" 4621 #include "confdefs.h"
4619 #include <sys/types.h> 4622 #include <sys/types.h>
4620 #include <$ac_cv_struct_tm> 4623 #include <$ac_cv_struct_tm>
4621 4624
4622 int 4625 int
4628 ; 4631 ;
4629 return 0; 4632 return 0;
4630 } 4633 }
4631 _ACEOF 4634 _ACEOF
4632 rm -f conftest.$ac_objext 4635 rm -f conftest.$ac_objext
4633 if { (eval echo "$as_me:4633: \"$ac_compile\"") >&5 4636 if { (eval echo "$as_me:4636: \"$ac_compile\"") >&5
4634 (eval $ac_compile) 2>&5 4637 (eval $ac_compile) 2>&5
4635 ac_status=$? 4638 ac_status=$?
4636 echo "$as_me:4636: \$? = $ac_status" >&5 4639 echo "$as_me:4639: \$? = $ac_status" >&5
4637 (exit $ac_status); } && 4640 (exit $ac_status); } &&
4638 { ac_try='test -s conftest.$ac_objext' 4641 { ac_try='test -s conftest.$ac_objext'
4639 { (eval echo "$as_me:4639: \"$ac_try\"") >&5 4642 { (eval echo "$as_me:4642: \"$ac_try\"") >&5
4640 (eval $ac_try) 2>&5 4643 (eval $ac_try) 2>&5
4641 ac_status=$? 4644 ac_status=$?
4642 echo "$as_me:4642: \$? = $ac_status" >&5 4645 echo "$as_me:4645: \$? = $ac_status" >&5
4643 (exit $ac_status); }; }; then 4646 (exit $ac_status); }; }; then
4644 ac_cv_member_struct_tm_tm_zone=yes 4647 ac_cv_member_struct_tm_tm_zone=yes
4645 else 4648 else
4646 echo "$as_me: failed program was:" >&5 4649 echo "$as_me: failed program was:" >&5
4647 cat conftest.$ac_ext >&5 4650 cat conftest.$ac_ext >&5
4648 ac_cv_member_struct_tm_tm_zone=no 4651 ac_cv_member_struct_tm_tm_zone=no
4649 fi 4652 fi
4650 rm -f conftest.$ac_objext conftest.$ac_ext 4653 rm -f conftest.$ac_objext conftest.$ac_ext
4651 fi 4654 fi
4652 echo "$as_me:4652: result: $ac_cv_member_struct_tm_tm_zone" >&5 4655 echo "$as_me:4655: result: $ac_cv_member_struct_tm_tm_zone" >&5
4653 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4656 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4654 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4657 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4655 4658
4656 cat >>confdefs.h <<EOF 4659 cat >>confdefs.h <<EOF
4657 #define HAVE_STRUCT_TM_TM_ZONE 1 4660 #define HAVE_STRUCT_TM_TM_ZONE 1
4664 cat >>confdefs.h <<\EOF 4667 cat >>confdefs.h <<\EOF
4665 #define HAVE_TM_ZONE 1 4668 #define HAVE_TM_ZONE 1
4666 EOF 4669 EOF
4667 4670
4668 else 4671 else
4669 echo "$as_me:4669: checking for tzname" >&5 4672 echo "$as_me:4672: checking for tzname" >&5
4670 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4673 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4671 if test "${ac_cv_var_tzname+set}" = set; then 4674 if test "${ac_cv_var_tzname+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6 4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else 4676 else
4674 cat >conftest.$ac_ext <<_ACEOF 4677 cat >conftest.$ac_ext <<_ACEOF
4675 #line 4675 "configure" 4678 #line 4678 "configure"
4676 #include "confdefs.h" 4679 #include "confdefs.h"
4677 #include <time.h> 4680 #include <time.h>
4678 #ifndef tzname /* For SGI. */ 4681 #ifndef tzname /* For SGI. */
4679 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4682 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4680 #endif 4683 #endif
4686 ; 4689 ;
4687 return 0; 4690 return 0;
4688 } 4691 }
4689 _ACEOF 4692 _ACEOF
4690 rm -f conftest.$ac_objext conftest$ac_exeext 4693 rm -f conftest.$ac_objext conftest$ac_exeext
4691 if { (eval echo "$as_me:4691: \"$ac_link\"") >&5 4694 if { (eval echo "$as_me:4694: \"$ac_link\"") >&5
4692 (eval $ac_link) 2>&5 4695 (eval $ac_link) 2>&5
4693 ac_status=$? 4696 ac_status=$?
4694 echo "$as_me:4694: \$? = $ac_status" >&5 4697 echo "$as_me:4697: \$? = $ac_status" >&5
4695 (exit $ac_status); } && 4698 (exit $ac_status); } &&
4696 { ac_try='test -s conftest$ac_exeext' 4699 { ac_try='test -s conftest$ac_exeext'
4697 { (eval echo "$as_me:4697: \"$ac_try\"") >&5 4700 { (eval echo "$as_me:4700: \"$ac_try\"") >&5
4698 (eval $ac_try) 2>&5 4701 (eval $ac_try) 2>&5
4699 ac_status=$? 4702 ac_status=$?
4700 echo "$as_me:4700: \$? = $ac_status" >&5 4703 echo "$as_me:4703: \$? = $ac_status" >&5
4701 (exit $ac_status); }; }; then 4704 (exit $ac_status); }; }; then
4702 ac_cv_var_tzname=yes 4705 ac_cv_var_tzname=yes
4703 else 4706 else
4704 echo "$as_me: failed program was:" >&5 4707 echo "$as_me: failed program was:" >&5
4705 cat conftest.$ac_ext >&5 4708 cat conftest.$ac_ext >&5
4706 ac_cv_var_tzname=no 4709 ac_cv_var_tzname=no
4707 fi 4710 fi
4708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4709 fi 4712 fi
4710 echo "$as_me:4710: result: $ac_cv_var_tzname" >&5 4713 echo "$as_me:4713: result: $ac_cv_var_tzname" >&5
4711 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4714 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4712 if test $ac_cv_var_tzname = yes; then 4715 if test $ac_cv_var_tzname = yes; then
4713 4716
4714 cat >>confdefs.h <<\EOF 4717 cat >>confdefs.h <<\EOF
4715 #define HAVE_TZNAME 1 4718 #define HAVE_TZNAME 1
4716 EOF 4719 EOF
4717 4720
4718 fi 4721 fi
4719 fi 4722 fi
4720 4723
4721 echo "$as_me:4721: checking for tm_gmtoff in struct tm" >&5 4724 echo "$as_me:4724: checking for tm_gmtoff in struct tm" >&5
4722 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 4725 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4723 if test "${emacs_cv_tm_gmtoff+set}" = set; then 4726 if test "${emacs_cv_tm_gmtoff+set}" = set; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6 4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 else 4728 else
4726 cat >conftest.$ac_ext <<_ACEOF 4729 cat >conftest.$ac_ext <<_ACEOF
4727 #line 4727 "configure" 4730 #line 4730 "configure"
4728 #include "confdefs.h" 4731 #include "confdefs.h"
4729 #include <time.h> 4732 #include <time.h>
4730 int 4733 int
4731 main () 4734 main ()
4732 { 4735 {
4734 ; 4737 ;
4735 return 0; 4738 return 0;
4736 } 4739 }
4737 _ACEOF 4740 _ACEOF
4738 rm -f conftest.$ac_objext conftest$ac_exeext 4741 rm -f conftest.$ac_objext conftest$ac_exeext
4739 if { (eval echo "$as_me:4739: \"$ac_link\"") >&5 4742 if { (eval echo "$as_me:4742: \"$ac_link\"") >&5
4740 (eval $ac_link) 2>&5 4743 (eval $ac_link) 2>&5
4741 ac_status=$? 4744 ac_status=$?
4742 echo "$as_me:4742: \$? = $ac_status" >&5 4745 echo "$as_me:4745: \$? = $ac_status" >&5
4743 (exit $ac_status); } && 4746 (exit $ac_status); } &&
4744 { ac_try='test -s conftest$ac_exeext' 4747 { ac_try='test -s conftest$ac_exeext'
4745 { (eval echo "$as_me:4745: \"$ac_try\"") >&5 4748 { (eval echo "$as_me:4748: \"$ac_try\"") >&5
4746 (eval $ac_try) 2>&5 4749 (eval $ac_try) 2>&5
4747 ac_status=$? 4750 ac_status=$?
4748 echo "$as_me:4748: \$? = $ac_status" >&5 4751 echo "$as_me:4751: \$? = $ac_status" >&5
4749 (exit $ac_status); }; }; then 4752 (exit $ac_status); }; }; then
4750 emacs_cv_tm_gmtoff=yes 4753 emacs_cv_tm_gmtoff=yes
4751 else 4754 else
4752 echo "$as_me: failed program was:" >&5 4755 echo "$as_me: failed program was:" >&5
4753 cat conftest.$ac_ext >&5 4756 cat conftest.$ac_ext >&5
4754 emacs_cv_tm_gmtoff=no 4757 emacs_cv_tm_gmtoff=no
4755 fi 4758 fi
4756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4757 fi 4760 fi
4758 echo "$as_me:4758: result: $emacs_cv_tm_gmtoff" >&5 4761 echo "$as_me:4761: result: $emacs_cv_tm_gmtoff" >&5
4759 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 4762 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4760 if test $emacs_cv_tm_gmtoff = yes; then 4763 if test $emacs_cv_tm_gmtoff = yes; then
4761 cat >>confdefs.h <<\EOF 4764 cat >>confdefs.h <<\EOF
4762 #define HAVE_TM_GMTOFF 1 4765 #define HAVE_TM_GMTOFF 1
4763 EOF 4766 EOF
4764 4767
4765 fi 4768 fi
4766 4769
4767 echo "$as_me:4767: checking for $CC option to accept ANSI C" >&5 4770 echo "$as_me:4770: checking for $CC option to accept ANSI C" >&5
4768 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4771 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4769 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4772 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6 4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 else 4774 else
4772 ac_cv_prog_cc_stdc=no 4775 ac_cv_prog_cc_stdc=no
4773 ac_save_CC=$CC 4776 ac_save_CC=$CC
4774 cat >conftest.$ac_ext <<_ACEOF 4777 cat >conftest.$ac_ext <<_ACEOF
4775 #line 4775 "configure" 4778 #line 4778 "configure"
4776 #include "confdefs.h" 4779 #include "confdefs.h"
4777 #include <stdarg.h> 4780 #include <stdarg.h>
4778 #include <stdio.h> 4781 #include <stdio.h>
4779 #include <sys/types.h> 4782 #include <sys/types.h>
4780 #include <sys/stat.h> 4783 #include <sys/stat.h>
4819 # SVR4 -Xc -D__EXTENSIONS__ 4822 # SVR4 -Xc -D__EXTENSIONS__
4820 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4823 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4821 do 4824 do
4822 CC="$ac_save_CC $ac_arg" 4825 CC="$ac_save_CC $ac_arg"
4823 rm -f conftest.$ac_objext 4826 rm -f conftest.$ac_objext
4824 if { (eval echo "$as_me:4824: \"$ac_compile\"") >&5 4827 if { (eval echo "$as_me:4827: \"$ac_compile\"") >&5
4825 (eval $ac_compile) 2>&5 4828 (eval $ac_compile) 2>&5
4826 ac_status=$? 4829 ac_status=$?
4827 echo "$as_me:4827: \$? = $ac_status" >&5 4830 echo "$as_me:4830: \$? = $ac_status" >&5
4828 (exit $ac_status); } && 4831 (exit $ac_status); } &&
4829 { ac_try='test -s conftest.$ac_objext' 4832 { ac_try='test -s conftest.$ac_objext'
4830 { (eval echo "$as_me:4830: \"$ac_try\"") >&5 4833 { (eval echo "$as_me:4833: \"$ac_try\"") >&5
4831 (eval $ac_try) 2>&5 4834 (eval $ac_try) 2>&5
4832 ac_status=$? 4835 ac_status=$?
4833 echo "$as_me:4833: \$? = $ac_status" >&5 4836 echo "$as_me:4836: \$? = $ac_status" >&5
4834 (exit $ac_status); }; }; then 4837 (exit $ac_status); }; }; then
4835 ac_cv_prog_cc_stdc=$ac_arg 4838 ac_cv_prog_cc_stdc=$ac_arg
4836 break 4839 break
4837 else 4840 else
4838 echo "$as_me: failed program was:" >&5 4841 echo "$as_me: failed program was:" >&5
4845 4848
4846 fi 4849 fi
4847 4850
4848 case "x$ac_cv_prog_cc_stdc" in 4851 case "x$ac_cv_prog_cc_stdc" in
4849 x|xno) 4852 x|xno)
4850 echo "$as_me:4850: result: none needed" >&5 4853 echo "$as_me:4853: result: none needed" >&5
4851 echo "${ECHO_T}none needed" >&6 ;; 4854 echo "${ECHO_T}none needed" >&6 ;;
4852 *) 4855 *)
4853 echo "$as_me:4853: result: $ac_cv_prog_cc_stdc" >&5 4856 echo "$as_me:4856: result: $ac_cv_prog_cc_stdc" >&5
4854 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4857 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4855 CC="$CC $ac_cv_prog_cc_stdc" ;; 4858 CC="$CC $ac_cv_prog_cc_stdc" ;;
4856 esac 4859 esac
4857 4860
4858 echo "$as_me:4858: checking for function prototypes" >&5 4861 echo "$as_me:4861: checking for function prototypes" >&5
4859 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4862 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4860 if test "$ac_cv_prog_cc_stdc" != no; then 4863 if test "$ac_cv_prog_cc_stdc" != no; then
4861 echo "$as_me:4861: result: yes" >&5 4864 echo "$as_me:4864: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6 4865 echo "${ECHO_T}yes" >&6
4863 4866
4864 cat >>confdefs.h <<\EOF 4867 cat >>confdefs.h <<\EOF
4865 #define PROTOTYPES 1 4868 #define PROTOTYPES 1
4866 EOF 4869 EOF
4867 4870
4868 else 4871 else
4869 echo "$as_me:4869: result: no" >&5 4872 echo "$as_me:4872: result: no" >&5
4870 echo "${ECHO_T}no" >&6 4873 echo "${ECHO_T}no" >&6
4871 fi 4874 fi
4872 4875
4873 echo "$as_me:4873: checking for working volatile" >&5 4876 echo "$as_me:4876: checking for working volatile" >&5
4874 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4877 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4875 if test "${ac_cv_c_volatile+set}" = set; then 4878 if test "${ac_cv_c_volatile+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6 4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 else 4880 else
4878 cat >conftest.$ac_ext <<_ACEOF 4881 cat >conftest.$ac_ext <<_ACEOF
4879 #line 4879 "configure" 4882 #line 4882 "configure"
4880 #include "confdefs.h" 4883 #include "confdefs.h"
4881 4884
4882 int 4885 int
4883 main () 4886 main ()
4884 { 4887 {
4888 ; 4891 ;
4889 return 0; 4892 return 0;
4890 } 4893 }
4891 _ACEOF 4894 _ACEOF
4892 rm -f conftest.$ac_objext 4895 rm -f conftest.$ac_objext
4893 if { (eval echo "$as_me:4893: \"$ac_compile\"") >&5 4896 if { (eval echo "$as_me:4896: \"$ac_compile\"") >&5
4894 (eval $ac_compile) 2>&5 4897 (eval $ac_compile) 2>&5
4895 ac_status=$? 4898 ac_status=$?
4896 echo "$as_me:4896: \$? = $ac_status" >&5 4899 echo "$as_me:4899: \$? = $ac_status" >&5
4897 (exit $ac_status); } && 4900 (exit $ac_status); } &&
4898 { ac_try='test -s conftest.$ac_objext' 4901 { ac_try='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:4899: \"$ac_try\"") >&5 4902 { (eval echo "$as_me:4902: \"$ac_try\"") >&5
4900 (eval $ac_try) 2>&5 4903 (eval $ac_try) 2>&5
4901 ac_status=$? 4904 ac_status=$?
4902 echo "$as_me:4902: \$? = $ac_status" >&5 4905 echo "$as_me:4905: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then 4906 (exit $ac_status); }; }; then
4904 ac_cv_c_volatile=yes 4907 ac_cv_c_volatile=yes
4905 else 4908 else
4906 echo "$as_me: failed program was:" >&5 4909 echo "$as_me: failed program was:" >&5
4907 cat conftest.$ac_ext >&5 4910 cat conftest.$ac_ext >&5
4908 ac_cv_c_volatile=no 4911 ac_cv_c_volatile=no
4909 fi 4912 fi
4910 rm -f conftest.$ac_objext conftest.$ac_ext 4913 rm -f conftest.$ac_objext conftest.$ac_ext
4911 fi 4914 fi
4912 echo "$as_me:4912: result: $ac_cv_c_volatile" >&5 4915 echo "$as_me:4915: result: $ac_cv_c_volatile" >&5
4913 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4916 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4914 if test $ac_cv_c_volatile = no; then 4917 if test $ac_cv_c_volatile = no; then
4915 4918
4916 cat >>confdefs.h <<\EOF 4919 cat >>confdefs.h <<\EOF
4917 #define volatile 4920 #define volatile
4918 EOF 4921 EOF
4919 4922
4920 fi 4923 fi
4921 4924
4922 echo "$as_me:4922: checking for an ANSI C-conforming const" >&5 4925 echo "$as_me:4925: checking for an ANSI C-conforming const" >&5
4923 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4926 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4924 if test "${ac_cv_c_const+set}" = set; then 4927 if test "${ac_cv_c_const+set}" = set; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6 4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 else 4929 else
4927 cat >conftest.$ac_ext <<_ACEOF 4930 cat >conftest.$ac_ext <<_ACEOF
4928 #line 4928 "configure" 4931 #line 4931 "configure"
4929 #include "confdefs.h" 4932 #include "confdefs.h"
4930 4933
4931 int 4934 int
4932 main () 4935 main ()
4933 { 4936 {
4981 ; 4984 ;
4982 return 0; 4985 return 0;
4983 } 4986 }
4984 _ACEOF 4987 _ACEOF
4985 rm -f conftest.$ac_objext 4988 rm -f conftest.$ac_objext
4986 if { (eval echo "$as_me:4986: \"$ac_compile\"") >&5 4989 if { (eval echo "$as_me:4989: \"$ac_compile\"") >&5
4987 (eval $ac_compile) 2>&5 4990 (eval $ac_compile) 2>&5
4988 ac_status=$? 4991 ac_status=$?
4989 echo "$as_me:4989: \$? = $ac_status" >&5 4992 echo "$as_me:4992: \$? = $ac_status" >&5
4990 (exit $ac_status); } && 4993 (exit $ac_status); } &&
4991 { ac_try='test -s conftest.$ac_objext' 4994 { ac_try='test -s conftest.$ac_objext'
4992 { (eval echo "$as_me:4992: \"$ac_try\"") >&5 4995 { (eval echo "$as_me:4995: \"$ac_try\"") >&5
4993 (eval $ac_try) 2>&5 4996 (eval $ac_try) 2>&5
4994 ac_status=$? 4997 ac_status=$?
4995 echo "$as_me:4995: \$? = $ac_status" >&5 4998 echo "$as_me:4998: \$? = $ac_status" >&5
4996 (exit $ac_status); }; }; then 4999 (exit $ac_status); }; }; then
4997 ac_cv_c_const=yes 5000 ac_cv_c_const=yes
4998 else 5001 else
4999 echo "$as_me: failed program was:" >&5 5002 echo "$as_me: failed program was:" >&5
5000 cat conftest.$ac_ext >&5 5003 cat conftest.$ac_ext >&5
5001 ac_cv_c_const=no 5004 ac_cv_c_const=no
5002 fi 5005 fi
5003 rm -f conftest.$ac_objext conftest.$ac_ext 5006 rm -f conftest.$ac_objext conftest.$ac_ext
5004 fi 5007 fi
5005 echo "$as_me:5005: result: $ac_cv_c_const" >&5 5008 echo "$as_me:5008: result: $ac_cv_c_const" >&5
5006 echo "${ECHO_T}$ac_cv_c_const" >&6 5009 echo "${ECHO_T}$ac_cv_c_const" >&6
5007 if test $ac_cv_c_const = no; then 5010 if test $ac_cv_c_const = no; then
5008 5011
5009 cat >>confdefs.h <<\EOF 5012 cat >>confdefs.h <<\EOF
5010 #define const 5013 #define const
5011 EOF 5014 EOF
5012 5015
5013 fi 5016 fi
5014 5017
5015 echo "$as_me:5015: checking for void * support" >&5 5018 echo "$as_me:5018: checking for void * support" >&5
5016 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5019 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5017 if test "${emacs_cv_void_star+set}" = set; then 5020 if test "${emacs_cv_void_star+set}" = set; then
5018 echo $ECHO_N "(cached) $ECHO_C" >&6 5021 echo $ECHO_N "(cached) $ECHO_C" >&6
5019 else 5022 else
5020 cat >conftest.$ac_ext <<_ACEOF 5023 cat >conftest.$ac_ext <<_ACEOF
5021 #line 5021 "configure" 5024 #line 5024 "configure"
5022 #include "confdefs.h" 5025 #include "confdefs.h"
5023 5026
5024 int 5027 int
5025 main () 5028 main ()
5026 { 5029 {
5028 ; 5031 ;
5029 return 0; 5032 return 0;
5030 } 5033 }
5031 _ACEOF 5034 _ACEOF
5032 rm -f conftest.$ac_objext 5035 rm -f conftest.$ac_objext
5033 if { (eval echo "$as_me:5033: \"$ac_compile\"") >&5 5036 if { (eval echo "$as_me:5036: \"$ac_compile\"") >&5
5034 (eval $ac_compile) 2>&5 5037 (eval $ac_compile) 2>&5
5035 ac_status=$? 5038 ac_status=$?
5036 echo "$as_me:5036: \$? = $ac_status" >&5 5039 echo "$as_me:5039: \$? = $ac_status" >&5
5037 (exit $ac_status); } && 5040 (exit $ac_status); } &&
5038 { ac_try='test -s conftest.$ac_objext' 5041 { ac_try='test -s conftest.$ac_objext'
5039 { (eval echo "$as_me:5039: \"$ac_try\"") >&5 5042 { (eval echo "$as_me:5042: \"$ac_try\"") >&5
5040 (eval $ac_try) 2>&5 5043 (eval $ac_try) 2>&5
5041 ac_status=$? 5044 ac_status=$?
5042 echo "$as_me:5042: \$? = $ac_status" >&5 5045 echo "$as_me:5045: \$? = $ac_status" >&5
5043 (exit $ac_status); }; }; then 5046 (exit $ac_status); }; }; then
5044 emacs_cv_void_star=yes 5047 emacs_cv_void_star=yes
5045 else 5048 else
5046 echo "$as_me: failed program was:" >&5 5049 echo "$as_me: failed program was:" >&5
5047 cat conftest.$ac_ext >&5 5050 cat conftest.$ac_ext >&5
5048 emacs_cv_void_star=no 5051 emacs_cv_void_star=no
5049 fi 5052 fi
5050 rm -f conftest.$ac_objext conftest.$ac_ext 5053 rm -f conftest.$ac_objext conftest.$ac_ext
5051 fi 5054 fi
5052 echo "$as_me:5052: result: $emacs_cv_void_star" >&5 5055 echo "$as_me:5055: result: $emacs_cv_void_star" >&5
5053 echo "${ECHO_T}$emacs_cv_void_star" >&6 5056 echo "${ECHO_T}$emacs_cv_void_star" >&6
5054 if test $emacs_cv_void_star = yes; then 5057 if test $emacs_cv_void_star = yes; then
5055 cat >>confdefs.h <<\EOF 5058 cat >>confdefs.h <<\EOF
5056 #define POINTER_TYPE void 5059 #define POINTER_TYPE void
5057 EOF 5060 EOF
5061 #define POINTER_TYPE char 5064 #define POINTER_TYPE char
5062 EOF 5065 EOF
5063 5066
5064 fi 5067 fi
5065 5068
5066 echo "$as_me:5066: checking whether ${MAKE-make} sets \${MAKE}" >&5 5069 echo "$as_me:5069: checking whether ${MAKE-make} sets \${MAKE}" >&5
5067 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5070 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5068 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5071 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5069 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5072 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6 5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 else 5074 else
5081 eval ac_cv_prog_make_${ac_make}_set=no 5084 eval ac_cv_prog_make_${ac_make}_set=no
5082 fi 5085 fi
5083 rm -f conftest.make 5086 rm -f conftest.make
5084 fi 5087 fi
5085 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5088 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5086 echo "$as_me:5086: result: yes" >&5 5089 echo "$as_me:5089: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6 5090 echo "${ECHO_T}yes" >&6
5088 SET_MAKE= 5091 SET_MAKE=
5089 else 5092 else
5090 echo "$as_me:5090: result: no" >&5 5093 echo "$as_me:5093: result: no" >&5
5091 echo "${ECHO_T}no" >&6 5094 echo "${ECHO_T}no" >&6
5092 SET_MAKE="MAKE=${MAKE-make}" 5095 SET_MAKE="MAKE=${MAKE-make}"
5093 fi 5096 fi
5094 5097
5095 echo "$as_me:5095: checking for long file names" >&5 5098 echo "$as_me:5098: checking for long file names" >&5
5096 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5099 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5097 if test "${ac_cv_sys_long_file_names+set}" = set; then 5100 if test "${ac_cv_sys_long_file_names+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6 5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 else 5102 else
5100 ac_cv_sys_long_file_names=yes 5103 ac_cv_sys_long_file_names=yes
5129 break 5132 break
5130 fi 5133 fi
5131 rm -rf $ac_xdir 2>/dev/null 5134 rm -rf $ac_xdir 2>/dev/null
5132 done 5135 done
5133 fi 5136 fi
5134 echo "$as_me:5134: result: $ac_cv_sys_long_file_names" >&5 5137 echo "$as_me:5137: result: $ac_cv_sys_long_file_names" >&5
5135 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5138 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5136 if test $ac_cv_sys_long_file_names = yes; then 5139 if test $ac_cv_sys_long_file_names = yes; then
5137 5140
5138 cat >>confdefs.h <<\EOF 5141 cat >>confdefs.h <<\EOF
5139 #define HAVE_LONG_FILE_NAMES 1 5142 #define HAVE_LONG_FILE_NAMES 1
5141 5144
5142 fi 5145 fi
5143 5146
5144 #### Choose a window system. 5147 #### Choose a window system.
5145 5148
5146 echo "$as_me:5146: checking for X" >&5 5149 echo "$as_me:5149: checking for X" >&5
5147 echo $ECHO_N "checking for X... $ECHO_C" >&6 5150 echo $ECHO_N "checking for X... $ECHO_C" >&6
5148 5151
5149 # Check whether --with-x or --without-x was given. 5152 # Check whether --with-x or --without-x was given.
5150 if test "${with_x+set}" = set; then 5153 if test "${with_x+set}" = set; then
5151 withval="$with_x" 5154 withval="$with_x"
5238 5241
5239 if test "$ac_x_includes" = no; then 5242 if test "$ac_x_includes" = no; then
5240 # Guess where to find include files, by looking for Intrinsic.h. 5243 # Guess where to find include files, by looking for Intrinsic.h.
5241 # First, try using that file with no special directory specified. 5244 # First, try using that file with no special directory specified.
5242 cat >conftest.$ac_ext <<_ACEOF 5245 cat >conftest.$ac_ext <<_ACEOF
5243 #line 5243 "configure" 5246 #line 5246 "configure"
5244 #include "confdefs.h" 5247 #include "confdefs.h"
5245 #include <X11/Intrinsic.h> 5248 #include <X11/Intrinsic.h>
5246 _ACEOF 5249 _ACEOF
5247 if { (eval echo "$as_me:5247: \"$ac_cpp conftest.$ac_ext\"") >&5 5250 if { (eval echo "$as_me:5250: \"$ac_cpp conftest.$ac_ext\"") >&5
5248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5249 ac_status=$? 5252 ac_status=$?
5250 egrep -v '^ *\+' conftest.er1 >conftest.err 5253 egrep -v '^ *\+' conftest.er1 >conftest.err
5251 rm -f conftest.er1 5254 rm -f conftest.er1
5252 cat conftest.err >&5 5255 cat conftest.err >&5
5253 echo "$as_me:5253: \$? = $ac_status" >&5 5256 echo "$as_me:5256: \$? = $ac_status" >&5
5254 (exit $ac_status); } >/dev/null; then 5257 (exit $ac_status); } >/dev/null; then
5255 if test -s conftest.err; then 5258 if test -s conftest.err; then
5256 ac_cpp_err=$ac_c_preproc_warn_flag 5259 ac_cpp_err=$ac_c_preproc_warn_flag
5257 else 5260 else
5258 ac_cpp_err= 5261 ac_cpp_err=
5281 # See if we find them without any special options. 5284 # See if we find them without any special options.
5282 # Don't add to $LIBS permanently. 5285 # Don't add to $LIBS permanently.
5283 ac_save_LIBS=$LIBS 5286 ac_save_LIBS=$LIBS
5284 LIBS="-lXt $LIBS" 5287 LIBS="-lXt $LIBS"
5285 cat >conftest.$ac_ext <<_ACEOF 5288 cat >conftest.$ac_ext <<_ACEOF
5286 #line 5286 "configure" 5289 #line 5289 "configure"
5287 #include "confdefs.h" 5290 #include "confdefs.h"
5288 #include <X11/Intrinsic.h> 5291 #include <X11/Intrinsic.h>
5289 int 5292 int
5290 main () 5293 main ()
5291 { 5294 {
5293 ; 5296 ;
5294 return 0; 5297 return 0;
5295 } 5298 }
5296 _ACEOF 5299 _ACEOF
5297 rm -f conftest.$ac_objext conftest$ac_exeext 5300 rm -f conftest.$ac_objext conftest$ac_exeext
5298 if { (eval echo "$as_me:5298: \"$ac_link\"") >&5 5301 if { (eval echo "$as_me:5301: \"$ac_link\"") >&5
5299 (eval $ac_link) 2>&5 5302 (eval $ac_link) 2>&5
5300 ac_status=$? 5303 ac_status=$?
5301 echo "$as_me:5301: \$? = $ac_status" >&5 5304 echo "$as_me:5304: \$? = $ac_status" >&5
5302 (exit $ac_status); } && 5305 (exit $ac_status); } &&
5303 { ac_try='test -s conftest$ac_exeext' 5306 { ac_try='test -s conftest$ac_exeext'
5304 { (eval echo "$as_me:5304: \"$ac_try\"") >&5 5307 { (eval echo "$as_me:5307: \"$ac_try\"") >&5
5305 (eval $ac_try) 2>&5 5308 (eval $ac_try) 2>&5
5306 ac_status=$? 5309 ac_status=$?
5307 echo "$as_me:5307: \$? = $ac_status" >&5 5310 echo "$as_me:5310: \$? = $ac_status" >&5
5308 (exit $ac_status); }; }; then 5311 (exit $ac_status); }; }; then
5309 LIBS=$ac_save_LIBS 5312 LIBS=$ac_save_LIBS
5310 # We can link X programs with no special library path. 5313 # We can link X programs with no special library path.
5311 ac_x_libraries= 5314 ac_x_libraries=
5312 else 5315 else
5340 fi 5343 fi
5341 eval "$ac_cv_have_x" 5344 eval "$ac_cv_have_x"
5342 fi # $with_x != no 5345 fi # $with_x != no
5343 5346
5344 if test "$have_x" != yes; then 5347 if test "$have_x" != yes; then
5345 echo "$as_me:5345: result: $have_x" >&5 5348 echo "$as_me:5348: result: $have_x" >&5
5346 echo "${ECHO_T}$have_x" >&6 5349 echo "${ECHO_T}$have_x" >&6
5347 no_x=yes 5350 no_x=yes
5348 else 5351 else
5349 # If each of the values was on the command line, it overrides each guess. 5352 # If each of the values was on the command line, it overrides each guess.
5350 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5353 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5351 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5354 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5352 # Update the cache value to reflect the command line values. 5355 # Update the cache value to reflect the command line values.
5353 ac_cv_have_x="have_x=yes \ 5356 ac_cv_have_x="have_x=yes \
5354 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5357 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5355 echo "$as_me:5355: result: libraries $x_libraries, headers $x_includes" >&5 5358 echo "$as_me:5358: result: libraries $x_libraries, headers $x_includes" >&5
5356 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5359 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5357 fi 5360 fi
5358 5361
5359 if test "$no_x" = yes; then 5362 if test "$no_x" = yes; then
5360 window_system=none 5363 window_system=none
5448 5451
5449 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5452 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5450 # Assume not, until told otherwise. 5453 # Assume not, until told otherwise.
5451 GNU_MALLOC=yes 5454 GNU_MALLOC=yes
5452 doug_lea_malloc=yes 5455 doug_lea_malloc=yes
5453 echo "$as_me:5453: checking for malloc_get_state" >&5 5456 echo "$as_me:5456: checking for malloc_get_state" >&5
5454 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5457 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5455 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5458 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6 5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 else 5460 else
5458 cat >conftest.$ac_ext <<_ACEOF 5461 cat >conftest.$ac_ext <<_ACEOF
5459 #line 5459 "configure" 5462 #line 5462 "configure"
5460 #include "confdefs.h" 5463 #include "confdefs.h"
5461 /* System header to define __stub macros and hopefully few prototypes, 5464 /* System header to define __stub macros and hopefully few prototypes,
5462 which can conflict with char malloc_get_state (); below. */ 5465 which can conflict with char malloc_get_state (); below. */
5463 #include <assert.h> 5466 #include <assert.h>
5464 /* Override any gcc2 internal prototype to avoid an error. */ 5467 /* Override any gcc2 internal prototype to avoid an error. */
5485 ; 5488 ;
5486 return 0; 5489 return 0;
5487 } 5490 }
5488 _ACEOF 5491 _ACEOF
5489 rm -f conftest.$ac_objext conftest$ac_exeext 5492 rm -f conftest.$ac_objext conftest$ac_exeext
5490 if { (eval echo "$as_me:5490: \"$ac_link\"") >&5 5493 if { (eval echo "$as_me:5493: \"$ac_link\"") >&5
5491 (eval $ac_link) 2>&5 5494 (eval $ac_link) 2>&5
5492 ac_status=$? 5495 ac_status=$?
5493 echo "$as_me:5493: \$? = $ac_status" >&5 5496 echo "$as_me:5496: \$? = $ac_status" >&5
5494 (exit $ac_status); } && 5497 (exit $ac_status); } &&
5495 { ac_try='test -s conftest$ac_exeext' 5498 { ac_try='test -s conftest$ac_exeext'
5496 { (eval echo "$as_me:5496: \"$ac_try\"") >&5 5499 { (eval echo "$as_me:5499: \"$ac_try\"") >&5
5497 (eval $ac_try) 2>&5 5500 (eval $ac_try) 2>&5
5498 ac_status=$? 5501 ac_status=$?
5499 echo "$as_me:5499: \$? = $ac_status" >&5 5502 echo "$as_me:5502: \$? = $ac_status" >&5
5500 (exit $ac_status); }; }; then 5503 (exit $ac_status); }; }; then
5501 ac_cv_func_malloc_get_state=yes 5504 ac_cv_func_malloc_get_state=yes
5502 else 5505 else
5503 echo "$as_me: failed program was:" >&5 5506 echo "$as_me: failed program was:" >&5
5504 cat conftest.$ac_ext >&5 5507 cat conftest.$ac_ext >&5
5505 ac_cv_func_malloc_get_state=no 5508 ac_cv_func_malloc_get_state=no
5506 fi 5509 fi
5507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5508 fi 5511 fi
5509 echo "$as_me:5509: result: $ac_cv_func_malloc_get_state" >&5 5512 echo "$as_me:5512: result: $ac_cv_func_malloc_get_state" >&5
5510 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5513 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5511 if test $ac_cv_func_malloc_get_state = yes; then 5514 if test $ac_cv_func_malloc_get_state = yes; then
5512 : 5515 :
5513 else 5516 else
5514 doug_lea_malloc=no 5517 doug_lea_malloc=no
5515 fi 5518 fi
5516 5519
5517 echo "$as_me:5517: checking for malloc_set_state" >&5 5520 echo "$as_me:5520: checking for malloc_set_state" >&5
5518 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5521 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5519 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5522 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6 5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 else 5524 else
5522 cat >conftest.$ac_ext <<_ACEOF 5525 cat >conftest.$ac_ext <<_ACEOF
5523 #line 5523 "configure" 5526 #line 5526 "configure"
5524 #include "confdefs.h" 5527 #include "confdefs.h"
5525 /* System header to define __stub macros and hopefully few prototypes, 5528 /* System header to define __stub macros and hopefully few prototypes,
5526 which can conflict with char malloc_set_state (); below. */ 5529 which can conflict with char malloc_set_state (); below. */
5527 #include <assert.h> 5530 #include <assert.h>
5528 /* Override any gcc2 internal prototype to avoid an error. */ 5531 /* Override any gcc2 internal prototype to avoid an error. */
5549 ; 5552 ;
5550 return 0; 5553 return 0;
5551 } 5554 }
5552 _ACEOF 5555 _ACEOF
5553 rm -f conftest.$ac_objext conftest$ac_exeext 5556 rm -f conftest.$ac_objext conftest$ac_exeext
5554 if { (eval echo "$as_me:5554: \"$ac_link\"") >&5 5557 if { (eval echo "$as_me:5557: \"$ac_link\"") >&5
5555 (eval $ac_link) 2>&5 5558 (eval $ac_link) 2>&5
5556 ac_status=$? 5559 ac_status=$?
5557 echo "$as_me:5557: \$? = $ac_status" >&5 5560 echo "$as_me:5560: \$? = $ac_status" >&5
5558 (exit $ac_status); } && 5561 (exit $ac_status); } &&
5559 { ac_try='test -s conftest$ac_exeext' 5562 { ac_try='test -s conftest$ac_exeext'
5560 { (eval echo "$as_me:5560: \"$ac_try\"") >&5 5563 { (eval echo "$as_me:5563: \"$ac_try\"") >&5
5561 (eval $ac_try) 2>&5 5564 (eval $ac_try) 2>&5
5562 ac_status=$? 5565 ac_status=$?
5563 echo "$as_me:5563: \$? = $ac_status" >&5 5566 echo "$as_me:5566: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then 5567 (exit $ac_status); }; }; then
5565 ac_cv_func_malloc_set_state=yes 5568 ac_cv_func_malloc_set_state=yes
5566 else 5569 else
5567 echo "$as_me: failed program was:" >&5 5570 echo "$as_me: failed program was:" >&5
5568 cat conftest.$ac_ext >&5 5571 cat conftest.$ac_ext >&5
5569 ac_cv_func_malloc_set_state=no 5572 ac_cv_func_malloc_set_state=no
5570 fi 5573 fi
5571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5572 fi 5575 fi
5573 echo "$as_me:5573: result: $ac_cv_func_malloc_set_state" >&5 5576 echo "$as_me:5576: result: $ac_cv_func_malloc_set_state" >&5
5574 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5577 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5575 if test $ac_cv_func_malloc_set_state = yes; then 5578 if test $ac_cv_func_malloc_set_state = yes; then
5576 : 5579 :
5577 else 5580 else
5578 doug_lea_malloc=no 5581 doug_lea_malloc=no
5579 fi 5582 fi
5580 5583
5581 echo "$as_me:5581: checking whether __after_morecore_hook exists" >&5 5584 echo "$as_me:5584: checking whether __after_morecore_hook exists" >&5
5582 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5585 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5583 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5586 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5584 echo $ECHO_N "(cached) $ECHO_C" >&6 5587 echo $ECHO_N "(cached) $ECHO_C" >&6
5585 else 5588 else
5586 cat >conftest.$ac_ext <<_ACEOF 5589 cat >conftest.$ac_ext <<_ACEOF
5587 #line 5587 "configure" 5590 #line 5590 "configure"
5588 #include "confdefs.h" 5591 #include "confdefs.h"
5589 extern void (* __after_morecore_hook)(); 5592 extern void (* __after_morecore_hook)();
5590 int 5593 int
5591 main () 5594 main ()
5592 { 5595 {
5594 ; 5597 ;
5595 return 0; 5598 return 0;
5596 } 5599 }
5597 _ACEOF 5600 _ACEOF
5598 rm -f conftest.$ac_objext conftest$ac_exeext 5601 rm -f conftest.$ac_objext conftest$ac_exeext
5599 if { (eval echo "$as_me:5599: \"$ac_link\"") >&5 5602 if { (eval echo "$as_me:5602: \"$ac_link\"") >&5
5600 (eval $ac_link) 2>&5 5603 (eval $ac_link) 2>&5
5601 ac_status=$? 5604 ac_status=$?
5602 echo "$as_me:5602: \$? = $ac_status" >&5 5605 echo "$as_me:5605: \$? = $ac_status" >&5
5603 (exit $ac_status); } && 5606 (exit $ac_status); } &&
5604 { ac_try='test -s conftest$ac_exeext' 5607 { ac_try='test -s conftest$ac_exeext'
5605 { (eval echo "$as_me:5605: \"$ac_try\"") >&5 5608 { (eval echo "$as_me:5608: \"$ac_try\"") >&5
5606 (eval $ac_try) 2>&5 5609 (eval $ac_try) 2>&5
5607 ac_status=$? 5610 ac_status=$?
5608 echo "$as_me:5608: \$? = $ac_status" >&5 5611 echo "$as_me:5611: \$? = $ac_status" >&5
5609 (exit $ac_status); }; }; then 5612 (exit $ac_status); }; }; then
5610 emacs_cv_var___after_morecore_hook=yes 5613 emacs_cv_var___after_morecore_hook=yes
5611 else 5614 else
5612 echo "$as_me: failed program was:" >&5 5615 echo "$as_me: failed program was:" >&5
5613 cat conftest.$ac_ext >&5 5616 cat conftest.$ac_ext >&5
5614 emacs_cv_var___after_morecore_hook=no 5617 emacs_cv_var___after_morecore_hook=no
5615 fi 5618 fi
5616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5617 fi 5620 fi
5618 echo "$as_me:5618: result: $emacs_cv_var___after_morecore_hook" >&5 5621 echo "$as_me:5621: result: $emacs_cv_var___after_morecore_hook" >&5
5619 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5622 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5620 if test $emacs_cv_var___after_morecore_hook = no; then 5623 if test $emacs_cv_var___after_morecore_hook = no; then
5621 doug_lea_malloc=no 5624 doug_lea_malloc=no
5622 fi 5625 fi
5623 if test "${system_malloc}" = "yes"; then 5626 if test "${system_malloc}" = "yes"; then
5644 5647
5645 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5648 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5646 inttypes.h stdint.h unistd.h 5649 inttypes.h stdint.h unistd.h
5647 do 5650 do
5648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5649 echo "$as_me:5649: checking for $ac_header" >&5 5652 echo "$as_me:5652: checking for $ac_header" >&5
5650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5651 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5652 echo $ECHO_N "(cached) $ECHO_C" >&6 5655 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 else 5656 else
5654 cat >conftest.$ac_ext <<_ACEOF 5657 cat >conftest.$ac_ext <<_ACEOF
5655 #line 5655 "configure" 5658 #line 5658 "configure"
5656 #include "confdefs.h" 5659 #include "confdefs.h"
5657 $ac_includes_default 5660 $ac_includes_default
5658 #include <$ac_header> 5661 #include <$ac_header>
5659 _ACEOF 5662 _ACEOF
5660 rm -f conftest.$ac_objext 5663 rm -f conftest.$ac_objext
5661 if { (eval echo "$as_me:5661: \"$ac_compile\"") >&5 5664 if { (eval echo "$as_me:5664: \"$ac_compile\"") >&5
5662 (eval $ac_compile) 2>&5 5665 (eval $ac_compile) 2>&5
5663 ac_status=$? 5666 ac_status=$?
5664 echo "$as_me:5664: \$? = $ac_status" >&5 5667 echo "$as_me:5667: \$? = $ac_status" >&5
5665 (exit $ac_status); } && 5668 (exit $ac_status); } &&
5666 { ac_try='test -s conftest.$ac_objext' 5669 { ac_try='test -s conftest.$ac_objext'
5667 { (eval echo "$as_me:5667: \"$ac_try\"") >&5 5670 { (eval echo "$as_me:5670: \"$ac_try\"") >&5
5668 (eval $ac_try) 2>&5 5671 (eval $ac_try) 2>&5
5669 ac_status=$? 5672 ac_status=$?
5670 echo "$as_me:5670: \$? = $ac_status" >&5 5673 echo "$as_me:5673: \$? = $ac_status" >&5
5671 (exit $ac_status); }; }; then 5674 (exit $ac_status); }; }; then
5672 eval "$as_ac_Header=yes" 5675 eval "$as_ac_Header=yes"
5673 else 5676 else
5674 echo "$as_me: failed program was:" >&5 5677 echo "$as_me: failed program was:" >&5
5675 cat conftest.$ac_ext >&5 5678 cat conftest.$ac_ext >&5
5676 eval "$as_ac_Header=no" 5679 eval "$as_ac_Header=no"
5677 fi 5680 fi
5678 rm -f conftest.$ac_objext conftest.$ac_ext 5681 rm -f conftest.$ac_objext conftest.$ac_ext
5679 fi 5682 fi
5680 echo "$as_me:5680: result: `eval echo '${'$as_ac_Header'}'`" >&5 5683 echo "$as_me:5683: result: `eval echo '${'$as_ac_Header'}'`" >&5
5681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5682 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5683 cat >>confdefs.h <<EOF 5686 cat >>confdefs.h <<EOF
5684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5685 EOF 5688 EOF
5688 done 5691 done
5689 5692
5690 for ac_header in stdlib.h unistd.h 5693 for ac_header in stdlib.h unistd.h
5691 do 5694 do
5692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5693 echo "$as_me:5693: checking for $ac_header" >&5 5696 echo "$as_me:5696: checking for $ac_header" >&5
5694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5695 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6 5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 else 5700 else
5698 cat >conftest.$ac_ext <<_ACEOF 5701 cat >conftest.$ac_ext <<_ACEOF
5699 #line 5699 "configure" 5702 #line 5702 "configure"
5700 #include "confdefs.h" 5703 #include "confdefs.h"
5701 #include <$ac_header> 5704 #include <$ac_header>
5702 _ACEOF 5705 _ACEOF
5703 if { (eval echo "$as_me:5703: \"$ac_cpp conftest.$ac_ext\"") >&5 5706 if { (eval echo "$as_me:5706: \"$ac_cpp conftest.$ac_ext\"") >&5
5704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5705 ac_status=$? 5708 ac_status=$?
5706 egrep -v '^ *\+' conftest.er1 >conftest.err 5709 egrep -v '^ *\+' conftest.er1 >conftest.err
5707 rm -f conftest.er1 5710 rm -f conftest.er1
5708 cat conftest.err >&5 5711 cat conftest.err >&5
5709 echo "$as_me:5709: \$? = $ac_status" >&5 5712 echo "$as_me:5712: \$? = $ac_status" >&5
5710 (exit $ac_status); } >/dev/null; then 5713 (exit $ac_status); } >/dev/null; then
5711 if test -s conftest.err; then 5714 if test -s conftest.err; then
5712 ac_cpp_err=$ac_c_preproc_warn_flag 5715 ac_cpp_err=$ac_c_preproc_warn_flag
5713 else 5716 else
5714 ac_cpp_err= 5717 ac_cpp_err=
5723 cat conftest.$ac_ext >&5 5726 cat conftest.$ac_ext >&5
5724 eval "$as_ac_Header=no" 5727 eval "$as_ac_Header=no"
5725 fi 5728 fi
5726 rm -f conftest.err conftest.$ac_ext 5729 rm -f conftest.err conftest.$ac_ext
5727 fi 5730 fi
5728 echo "$as_me:5728: result: `eval echo '${'$as_ac_Header'}'`" >&5 5731 echo "$as_me:5731: result: `eval echo '${'$as_ac_Header'}'`" >&5
5729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5730 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5731 cat >>confdefs.h <<EOF 5734 cat >>confdefs.h <<EOF
5732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5733 EOF 5736 EOF
5736 done 5739 done
5737 5740
5738 for ac_func in getpagesize 5741 for ac_func in getpagesize
5739 do 5742 do
5740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5741 echo "$as_me:5741: checking for $ac_func" >&5 5744 echo "$as_me:5744: checking for $ac_func" >&5
5742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5743 if eval "test \"\${$as_ac_var+set}\" = set"; then 5746 if eval "test \"\${$as_ac_var+set}\" = set"; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6 5747 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 else 5748 else
5746 cat >conftest.$ac_ext <<_ACEOF 5749 cat >conftest.$ac_ext <<_ACEOF
5747 #line 5747 "configure" 5750 #line 5750 "configure"
5748 #include "confdefs.h" 5751 #include "confdefs.h"
5749 /* System header to define __stub macros and hopefully few prototypes, 5752 /* System header to define __stub macros and hopefully few prototypes,
5750 which can conflict with char $ac_func (); below. */ 5753 which can conflict with char $ac_func (); below. */
5751 #include <assert.h> 5754 #include <assert.h>
5752 /* Override any gcc2 internal prototype to avoid an error. */ 5755 /* Override any gcc2 internal prototype to avoid an error. */
5773 ; 5776 ;
5774 return 0; 5777 return 0;
5775 } 5778 }
5776 _ACEOF 5779 _ACEOF
5777 rm -f conftest.$ac_objext conftest$ac_exeext 5780 rm -f conftest.$ac_objext conftest$ac_exeext
5778 if { (eval echo "$as_me:5778: \"$ac_link\"") >&5 5781 if { (eval echo "$as_me:5781: \"$ac_link\"") >&5
5779 (eval $ac_link) 2>&5 5782 (eval $ac_link) 2>&5
5780 ac_status=$? 5783 ac_status=$?
5781 echo "$as_me:5781: \$? = $ac_status" >&5 5784 echo "$as_me:5784: \$? = $ac_status" >&5
5782 (exit $ac_status); } && 5785 (exit $ac_status); } &&
5783 { ac_try='test -s conftest$ac_exeext' 5786 { ac_try='test -s conftest$ac_exeext'
5784 { (eval echo "$as_me:5784: \"$ac_try\"") >&5 5787 { (eval echo "$as_me:5787: \"$ac_try\"") >&5
5785 (eval $ac_try) 2>&5 5788 (eval $ac_try) 2>&5
5786 ac_status=$? 5789 ac_status=$?
5787 echo "$as_me:5787: \$? = $ac_status" >&5 5790 echo "$as_me:5790: \$? = $ac_status" >&5
5788 (exit $ac_status); }; }; then 5791 (exit $ac_status); }; }; then
5789 eval "$as_ac_var=yes" 5792 eval "$as_ac_var=yes"
5790 else 5793 else
5791 echo "$as_me: failed program was:" >&5 5794 echo "$as_me: failed program was:" >&5
5792 cat conftest.$ac_ext >&5 5795 cat conftest.$ac_ext >&5
5793 eval "$as_ac_var=no" 5796 eval "$as_ac_var=no"
5794 fi 5797 fi
5795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5796 fi 5799 fi
5797 echo "$as_me:5797: result: `eval echo '${'$as_ac_var'}'`" >&5 5800 echo "$as_me:5800: result: `eval echo '${'$as_ac_var'}'`" >&5
5798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5799 if test `eval echo '${'$as_ac_var'}'` = yes; then 5802 if test `eval echo '${'$as_ac_var'}'` = yes; then
5800 cat >>confdefs.h <<EOF 5803 cat >>confdefs.h <<EOF
5801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5802 EOF 5805 EOF
5803 5806
5804 fi 5807 fi
5805 done 5808 done
5806 5809
5807 echo "$as_me:5807: checking for working mmap" >&5 5810 echo "$as_me:5810: checking for working mmap" >&5
5808 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5811 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5809 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5812 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6 5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 else 5814 else
5812 if test "$cross_compiling" = yes; then 5815 if test "$cross_compiling" = yes; then
5813 ac_cv_func_mmap_fixed_mapped=no 5816 ac_cv_func_mmap_fixed_mapped=no
5814 else 5817 else
5815 cat >conftest.$ac_ext <<_ACEOF 5818 cat >conftest.$ac_ext <<_ACEOF
5816 #line 5816 "configure" 5819 #line 5819 "configure"
5817 #include "confdefs.h" 5820 #include "confdefs.h"
5818 $ac_includes_default 5821 $ac_includes_default
5819 /* Thanks to Mike Haertel and Jim Avera for this test. 5822 /* Thanks to Mike Haertel and Jim Avera for this test.
5820 Here is a matrix of mmap possibilities: 5823 Here is a matrix of mmap possibilities:
5821 mmap private not fixed 5824 mmap private not fixed
5938 close (fd); 5941 close (fd);
5939 exit (0); 5942 exit (0);
5940 } 5943 }
5941 _ACEOF 5944 _ACEOF
5942 rm -f conftest$ac_exeext 5945 rm -f conftest$ac_exeext
5943 if { (eval echo "$as_me:5943: \"$ac_link\"") >&5 5946 if { (eval echo "$as_me:5946: \"$ac_link\"") >&5
5944 (eval $ac_link) 2>&5 5947 (eval $ac_link) 2>&5
5945 ac_status=$? 5948 ac_status=$?
5946 echo "$as_me:5946: \$? = $ac_status" >&5 5949 echo "$as_me:5949: \$? = $ac_status" >&5
5947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5948 { (eval echo "$as_me:5948: \"$ac_try\"") >&5 5951 { (eval echo "$as_me:5951: \"$ac_try\"") >&5
5949 (eval $ac_try) 2>&5 5952 (eval $ac_try) 2>&5
5950 ac_status=$? 5953 ac_status=$?
5951 echo "$as_me:5951: \$? = $ac_status" >&5 5954 echo "$as_me:5954: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then 5955 (exit $ac_status); }; }; then
5953 ac_cv_func_mmap_fixed_mapped=yes 5956 ac_cv_func_mmap_fixed_mapped=yes
5954 else 5957 else
5955 echo "$as_me: program exited with status $ac_status" >&5 5958 echo "$as_me: program exited with status $ac_status" >&5
5956 echo "$as_me: failed program was:" >&5 5959 echo "$as_me: failed program was:" >&5
5958 ac_cv_func_mmap_fixed_mapped=no 5961 ac_cv_func_mmap_fixed_mapped=no
5959 fi 5962 fi
5960 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5963 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5961 fi 5964 fi
5962 fi 5965 fi
5963 echo "$as_me:5963: result: $ac_cv_func_mmap_fixed_mapped" >&5 5966 echo "$as_me:5966: result: $ac_cv_func_mmap_fixed_mapped" >&5
5964 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 5967 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5965 if test $ac_cv_func_mmap_fixed_mapped = yes; then 5968 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5966 5969
5967 cat >>confdefs.h <<\EOF 5970 cat >>confdefs.h <<\EOF
5968 #define HAVE_MMAP 1 5971 #define HAVE_MMAP 1
5975 REL_ALLOC=no 5978 REL_ALLOC=no
5976 fi 5979 fi
5977 5980
5978 LIBS="$libsrc_libs $LIBS" 5981 LIBS="$libsrc_libs $LIBS"
5979 5982
5980 echo "$as_me:5980: checking for dnet_ntoa in -ldnet" >&5 5983 echo "$as_me:5983: checking for dnet_ntoa in -ldnet" >&5
5981 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 5984 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5982 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 5985 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6 5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 else 5987 else
5985 ac_check_lib_save_LIBS=$LIBS 5988 ac_check_lib_save_LIBS=$LIBS
5986 LIBS="-ldnet $LIBS" 5989 LIBS="-ldnet $LIBS"
5987 cat >conftest.$ac_ext <<_ACEOF 5990 cat >conftest.$ac_ext <<_ACEOF
5988 #line 5988 "configure" 5991 #line 5991 "configure"
5989 #include "confdefs.h" 5992 #include "confdefs.h"
5990 5993
5991 /* Override any gcc2 internal prototype to avoid an error. */ 5994 /* Override any gcc2 internal prototype to avoid an error. */
5992 #ifdef __cplusplus 5995 #ifdef __cplusplus
5993 extern "C" 5996 extern "C"
6002 ; 6005 ;
6003 return 0; 6006 return 0;
6004 } 6007 }
6005 _ACEOF 6008 _ACEOF
6006 rm -f conftest.$ac_objext conftest$ac_exeext 6009 rm -f conftest.$ac_objext conftest$ac_exeext
6007 if { (eval echo "$as_me:6007: \"$ac_link\"") >&5 6010 if { (eval echo "$as_me:6010: \"$ac_link\"") >&5
6008 (eval $ac_link) 2>&5 6011 (eval $ac_link) 2>&5
6009 ac_status=$? 6012 ac_status=$?
6010 echo "$as_me:6010: \$? = $ac_status" >&5 6013 echo "$as_me:6013: \$? = $ac_status" >&5
6011 (exit $ac_status); } && 6014 (exit $ac_status); } &&
6012 { ac_try='test -s conftest$ac_exeext' 6015 { ac_try='test -s conftest$ac_exeext'
6013 { (eval echo "$as_me:6013: \"$ac_try\"") >&5 6016 { (eval echo "$as_me:6016: \"$ac_try\"") >&5
6014 (eval $ac_try) 2>&5 6017 (eval $ac_try) 2>&5
6015 ac_status=$? 6018 ac_status=$?
6016 echo "$as_me:6016: \$? = $ac_status" >&5 6019 echo "$as_me:6019: \$? = $ac_status" >&5
6017 (exit $ac_status); }; }; then 6020 (exit $ac_status); }; }; then
6018 ac_cv_lib_dnet_dnet_ntoa=yes 6021 ac_cv_lib_dnet_dnet_ntoa=yes
6019 else 6022 else
6020 echo "$as_me: failed program was:" >&5 6023 echo "$as_me: failed program was:" >&5
6021 cat conftest.$ac_ext >&5 6024 cat conftest.$ac_ext >&5
6022 ac_cv_lib_dnet_dnet_ntoa=no 6025 ac_cv_lib_dnet_dnet_ntoa=no
6023 fi 6026 fi
6024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6025 LIBS=$ac_check_lib_save_LIBS 6028 LIBS=$ac_check_lib_save_LIBS
6026 fi 6029 fi
6027 echo "$as_me:6027: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6030 echo "$as_me:6030: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6028 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6031 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6029 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6032 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6030 cat >>confdefs.h <<EOF 6033 cat >>confdefs.h <<EOF
6031 #define HAVE_LIBDNET 1 6034 #define HAVE_LIBDNET 1
6032 EOF 6035 EOF
6033 6036
6034 LIBS="-ldnet $LIBS" 6037 LIBS="-ldnet $LIBS"
6035 6038
6036 fi 6039 fi
6037 6040
6038 echo "$as_me:6038: checking for main in -lXbsd" >&5 6041 echo "$as_me:6041: checking for main in -lXbsd" >&5
6039 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6042 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6040 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6043 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6 6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 else 6045 else
6043 ac_check_lib_save_LIBS=$LIBS 6046 ac_check_lib_save_LIBS=$LIBS
6044 LIBS="-lXbsd $LIBS" 6047 LIBS="-lXbsd $LIBS"
6045 cat >conftest.$ac_ext <<_ACEOF 6048 cat >conftest.$ac_ext <<_ACEOF
6046 #line 6046 "configure" 6049 #line 6049 "configure"
6047 #include "confdefs.h" 6050 #include "confdefs.h"
6048 6051
6049 int 6052 int
6050 main () 6053 main ()
6051 { 6054 {
6053 ; 6056 ;
6054 return 0; 6057 return 0;
6055 } 6058 }
6056 _ACEOF 6059 _ACEOF
6057 rm -f conftest.$ac_objext conftest$ac_exeext 6060 rm -f conftest.$ac_objext conftest$ac_exeext
6058 if { (eval echo "$as_me:6058: \"$ac_link\"") >&5 6061 if { (eval echo "$as_me:6061: \"$ac_link\"") >&5
6059 (eval $ac_link) 2>&5 6062 (eval $ac_link) 2>&5
6060 ac_status=$? 6063 ac_status=$?
6061 echo "$as_me:6061: \$? = $ac_status" >&5 6064 echo "$as_me:6064: \$? = $ac_status" >&5
6062 (exit $ac_status); } && 6065 (exit $ac_status); } &&
6063 { ac_try='test -s conftest$ac_exeext' 6066 { ac_try='test -s conftest$ac_exeext'
6064 { (eval echo "$as_me:6064: \"$ac_try\"") >&5 6067 { (eval echo "$as_me:6067: \"$ac_try\"") >&5
6065 (eval $ac_try) 2>&5 6068 (eval $ac_try) 2>&5
6066 ac_status=$? 6069 ac_status=$?
6067 echo "$as_me:6067: \$? = $ac_status" >&5 6070 echo "$as_me:6070: \$? = $ac_status" >&5
6068 (exit $ac_status); }; }; then 6071 (exit $ac_status); }; }; then
6069 ac_cv_lib_Xbsd_main=yes 6072 ac_cv_lib_Xbsd_main=yes
6070 else 6073 else
6071 echo "$as_me: failed program was:" >&5 6074 echo "$as_me: failed program was:" >&5
6072 cat conftest.$ac_ext >&5 6075 cat conftest.$ac_ext >&5
6073 ac_cv_lib_Xbsd_main=no 6076 ac_cv_lib_Xbsd_main=no
6074 fi 6077 fi
6075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6076 LIBS=$ac_check_lib_save_LIBS 6079 LIBS=$ac_check_lib_save_LIBS
6077 fi 6080 fi
6078 echo "$as_me:6078: result: $ac_cv_lib_Xbsd_main" >&5 6081 echo "$as_me:6081: result: $ac_cv_lib_Xbsd_main" >&5
6079 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6082 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6080 if test $ac_cv_lib_Xbsd_main = yes; then 6083 if test $ac_cv_lib_Xbsd_main = yes; then
6081 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6084 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6082 fi 6085 fi
6083 6086
6084 echo "$as_me:6084: checking for cma_open in -lpthreads" >&5 6087 echo "$as_me:6087: checking for cma_open in -lpthreads" >&5
6085 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6088 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6086 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6089 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6 6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 else 6091 else
6089 ac_check_lib_save_LIBS=$LIBS 6092 ac_check_lib_save_LIBS=$LIBS
6090 LIBS="-lpthreads $LIBS" 6093 LIBS="-lpthreads $LIBS"
6091 cat >conftest.$ac_ext <<_ACEOF 6094 cat >conftest.$ac_ext <<_ACEOF
6092 #line 6092 "configure" 6095 #line 6095 "configure"
6093 #include "confdefs.h" 6096 #include "confdefs.h"
6094 6097
6095 /* Override any gcc2 internal prototype to avoid an error. */ 6098 /* Override any gcc2 internal prototype to avoid an error. */
6096 #ifdef __cplusplus 6099 #ifdef __cplusplus
6097 extern "C" 6100 extern "C"
6106 ; 6109 ;
6107 return 0; 6110 return 0;
6108 } 6111 }
6109 _ACEOF 6112 _ACEOF
6110 rm -f conftest.$ac_objext conftest$ac_exeext 6113 rm -f conftest.$ac_objext conftest$ac_exeext
6111 if { (eval echo "$as_me:6111: \"$ac_link\"") >&5 6114 if { (eval echo "$as_me:6114: \"$ac_link\"") >&5
6112 (eval $ac_link) 2>&5 6115 (eval $ac_link) 2>&5
6113 ac_status=$? 6116 ac_status=$?
6114 echo "$as_me:6114: \$? = $ac_status" >&5 6117 echo "$as_me:6117: \$? = $ac_status" >&5
6115 (exit $ac_status); } && 6118 (exit $ac_status); } &&
6116 { ac_try='test -s conftest$ac_exeext' 6119 { ac_try='test -s conftest$ac_exeext'
6117 { (eval echo "$as_me:6117: \"$ac_try\"") >&5 6120 { (eval echo "$as_me:6120: \"$ac_try\"") >&5
6118 (eval $ac_try) 2>&5 6121 (eval $ac_try) 2>&5
6119 ac_status=$? 6122 ac_status=$?
6120 echo "$as_me:6120: \$? = $ac_status" >&5 6123 echo "$as_me:6123: \$? = $ac_status" >&5
6121 (exit $ac_status); }; }; then 6124 (exit $ac_status); }; }; then
6122 ac_cv_lib_pthreads_cma_open=yes 6125 ac_cv_lib_pthreads_cma_open=yes
6123 else 6126 else
6124 echo "$as_me: failed program was:" >&5 6127 echo "$as_me: failed program was:" >&5
6125 cat conftest.$ac_ext >&5 6128 cat conftest.$ac_ext >&5
6126 ac_cv_lib_pthreads_cma_open=no 6129 ac_cv_lib_pthreads_cma_open=no
6127 fi 6130 fi
6128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6129 LIBS=$ac_check_lib_save_LIBS 6132 LIBS=$ac_check_lib_save_LIBS
6130 fi 6133 fi
6131 echo "$as_me:6131: result: $ac_cv_lib_pthreads_cma_open" >&5 6134 echo "$as_me:6134: result: $ac_cv_lib_pthreads_cma_open" >&5
6132 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6135 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6133 if test $ac_cv_lib_pthreads_cma_open = yes; then 6136 if test $ac_cv_lib_pthreads_cma_open = yes; then
6134 cat >>confdefs.h <<EOF 6137 cat >>confdefs.h <<EOF
6135 #define HAVE_LIBPTHREADS 1 6138 #define HAVE_LIBPTHREADS 1
6136 EOF 6139 EOF
6137 6140
6138 LIBS="-lpthreads $LIBS" 6141 LIBS="-lpthreads $LIBS"
6139 6142
6140 fi 6143 fi
6141 6144
6142 echo "$as_me:6142: checking for XFree86 in /usr/X386" >&5 6145 echo "$as_me:6145: checking for XFree86 in /usr/X386" >&5
6143 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6146 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6144 if test -d /usr/X386/include; then 6147 if test -d /usr/X386/include; then
6145 HAVE_XFREE386=yes 6148 HAVE_XFREE386=yes
6146 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6149 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6147 else 6150 else
6148 HAVE_XFREE386=no 6151 HAVE_XFREE386=no
6149 fi 6152 fi
6150 echo "$as_me:6150: result: $HAVE_XFREE386" >&5 6153 echo "$as_me:6153: result: $HAVE_XFREE386" >&5
6151 echo "${ECHO_T}$HAVE_XFREE386" >&6 6154 echo "${ECHO_T}$HAVE_XFREE386" >&6
6152 6155
6153 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6156 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6154 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6157 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6155 6158
6170 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6173 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6171 export LD_RUN_PATH 6174 export LD_RUN_PATH
6172 fi 6175 fi
6173 6176
6174 if test "${opsys}" = "gnu-linux"; then 6177 if test "${opsys}" = "gnu-linux"; then
6175 echo "$as_me:6175: checking whether X on GNU/Linux needs -b to link" >&5 6178 echo "$as_me:6178: checking whether X on GNU/Linux needs -b to link" >&5
6176 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6179 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6177 cat >conftest.$ac_ext <<_ACEOF 6180 cat >conftest.$ac_ext <<_ACEOF
6178 #line 6178 "configure" 6181 #line 6181 "configure"
6179 #include "confdefs.h" 6182 #include "confdefs.h"
6180 6183
6181 int 6184 int
6182 main () 6185 main ()
6183 { 6186 {
6185 ; 6188 ;
6186 return 0; 6189 return 0;
6187 } 6190 }
6188 _ACEOF 6191 _ACEOF
6189 rm -f conftest.$ac_objext conftest$ac_exeext 6192 rm -f conftest.$ac_objext conftest$ac_exeext
6190 if { (eval echo "$as_me:6190: \"$ac_link\"") >&5 6193 if { (eval echo "$as_me:6193: \"$ac_link\"") >&5
6191 (eval $ac_link) 2>&5 6194 (eval $ac_link) 2>&5
6192 ac_status=$? 6195 ac_status=$?
6193 echo "$as_me:6193: \$? = $ac_status" >&5 6196 echo "$as_me:6196: \$? = $ac_status" >&5
6194 (exit $ac_status); } && 6197 (exit $ac_status); } &&
6195 { ac_try='test -s conftest$ac_exeext' 6198 { ac_try='test -s conftest$ac_exeext'
6196 { (eval echo "$as_me:6196: \"$ac_try\"") >&5 6199 { (eval echo "$as_me:6199: \"$ac_try\"") >&5
6197 (eval $ac_try) 2>&5 6200 (eval $ac_try) 2>&5
6198 ac_status=$? 6201 ac_status=$?
6199 echo "$as_me:6199: \$? = $ac_status" >&5 6202 echo "$as_me:6202: \$? = $ac_status" >&5
6200 (exit $ac_status); }; }; then 6203 (exit $ac_status); }; }; then
6201 xlinux_first_failure=no 6204 xlinux_first_failure=no
6202 else 6205 else
6203 echo "$as_me: failed program was:" >&5 6206 echo "$as_me: failed program was:" >&5
6204 cat conftest.$ac_ext >&5 6207 cat conftest.$ac_ext >&5
6213 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6216 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6214 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6217 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6215 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6218 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6216 LIBS="$LIBS -b i486-linuxaout" 6219 LIBS="$LIBS -b i486-linuxaout"
6217 cat >conftest.$ac_ext <<_ACEOF 6220 cat >conftest.$ac_ext <<_ACEOF
6218 #line 6218 "configure" 6221 #line 6221 "configure"
6219 #include "confdefs.h" 6222 #include "confdefs.h"
6220 6223
6221 int 6224 int
6222 main () 6225 main ()
6223 { 6226 {
6225 ; 6228 ;
6226 return 0; 6229 return 0;
6227 } 6230 }
6228 _ACEOF 6231 _ACEOF
6229 rm -f conftest.$ac_objext conftest$ac_exeext 6232 rm -f conftest.$ac_objext conftest$ac_exeext
6230 if { (eval echo "$as_me:6230: \"$ac_link\"") >&5 6233 if { (eval echo "$as_me:6233: \"$ac_link\"") >&5
6231 (eval $ac_link) 2>&5 6234 (eval $ac_link) 2>&5
6232 ac_status=$? 6235 ac_status=$?
6233 echo "$as_me:6233: \$? = $ac_status" >&5 6236 echo "$as_me:6236: \$? = $ac_status" >&5
6234 (exit $ac_status); } && 6237 (exit $ac_status); } &&
6235 { ac_try='test -s conftest$ac_exeext' 6238 { ac_try='test -s conftest$ac_exeext'
6236 { (eval echo "$as_me:6236: \"$ac_try\"") >&5 6239 { (eval echo "$as_me:6239: \"$ac_try\"") >&5
6237 (eval $ac_try) 2>&5 6240 (eval $ac_try) 2>&5
6238 ac_status=$? 6241 ac_status=$?
6239 echo "$as_me:6239: \$? = $ac_status" >&5 6242 echo "$as_me:6242: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then 6243 (exit $ac_status); }; }; then
6241 xlinux_second_failure=no 6244 xlinux_second_failure=no
6242 else 6245 else
6243 echo "$as_me: failed program was:" >&5 6246 echo "$as_me: failed program was:" >&5
6244 cat conftest.$ac_ext >&5 6247 cat conftest.$ac_ext >&5
6250 # So take it out. This plays safe. 6253 # So take it out. This plays safe.
6251 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6254 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6252 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6255 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6253 CPPFLAGS="$OLD_CPPFLAGS" 6256 CPPFLAGS="$OLD_CPPFLAGS"
6254 LIBS="$OLD_LIBS" 6257 LIBS="$OLD_LIBS"
6255 echo "$as_me:6255: result: no" >&5 6258 echo "$as_me:6258: result: no" >&5
6256 echo "${ECHO_T}no" >&6 6259 echo "${ECHO_T}no" >&6
6257 else 6260 else
6258 echo "$as_me:6258: result: yes" >&5 6261 echo "$as_me:6261: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6 6262 echo "${ECHO_T}yes" >&6
6260 fi 6263 fi
6261 else 6264 else
6262 echo "$as_me:6262: result: no" >&5 6265 echo "$as_me:6265: result: no" >&5
6263 echo "${ECHO_T}no" >&6 6266 echo "${ECHO_T}no" >&6
6264 fi 6267 fi
6265 fi 6268 fi
6266 6269
6267 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6270 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6268 # header files included from there. 6271 # header files included from there.
6269 echo "$as_me:6269: checking for Xkb" >&5 6272 echo "$as_me:6272: checking for Xkb" >&5
6270 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6273 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6271 cat >conftest.$ac_ext <<_ACEOF 6274 cat >conftest.$ac_ext <<_ACEOF
6272 #line 6272 "configure" 6275 #line 6275 "configure"
6273 #include "confdefs.h" 6276 #include "confdefs.h"
6274 #include <X11/Xlib.h> 6277 #include <X11/Xlib.h>
6275 #include <X11/XKBlib.h> 6278 #include <X11/XKBlib.h>
6276 int 6279 int
6277 main () 6280 main ()
6280 ; 6283 ;
6281 return 0; 6284 return 0;
6282 } 6285 }
6283 _ACEOF 6286 _ACEOF
6284 rm -f conftest.$ac_objext conftest$ac_exeext 6287 rm -f conftest.$ac_objext conftest$ac_exeext
6285 if { (eval echo "$as_me:6285: \"$ac_link\"") >&5 6288 if { (eval echo "$as_me:6288: \"$ac_link\"") >&5
6286 (eval $ac_link) 2>&5 6289 (eval $ac_link) 2>&5
6287 ac_status=$? 6290 ac_status=$?
6288 echo "$as_me:6288: \$? = $ac_status" >&5 6291 echo "$as_me:6291: \$? = $ac_status" >&5
6289 (exit $ac_status); } && 6292 (exit $ac_status); } &&
6290 { ac_try='test -s conftest$ac_exeext' 6293 { ac_try='test -s conftest$ac_exeext'
6291 { (eval echo "$as_me:6291: \"$ac_try\"") >&5 6294 { (eval echo "$as_me:6294: \"$ac_try\"") >&5
6292 (eval $ac_try) 2>&5 6295 (eval $ac_try) 2>&5
6293 ac_status=$? 6296 ac_status=$?
6294 echo "$as_me:6294: \$? = $ac_status" >&5 6297 echo "$as_me:6297: \$? = $ac_status" >&5
6295 (exit $ac_status); }; }; then 6298 (exit $ac_status); }; }; then
6296 emacs_xkb=yes 6299 emacs_xkb=yes
6297 else 6300 else
6298 echo "$as_me: failed program was:" >&5 6301 echo "$as_me: failed program was:" >&5
6299 cat conftest.$ac_ext >&5 6302 cat conftest.$ac_ext >&5
6300 emacs_xkb=no 6303 emacs_xkb=no
6301 fi 6304 fi
6302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6303 echo "$as_me:6303: result: $emacs_xkb" >&5 6306 echo "$as_me:6306: result: $emacs_xkb" >&5
6304 echo "${ECHO_T}$emacs_xkb" >&6 6307 echo "${ECHO_T}$emacs_xkb" >&6
6305 if test $emacs_xkb = yes; then 6308 if test $emacs_xkb = yes; then
6306 cat >>confdefs.h <<\EOF 6309 cat >>confdefs.h <<\EOF
6307 #define HAVE_XKBGETKEYBOARD 1 6310 #define HAVE_XKBGETKEYBOARD 1
6308 EOF 6311 EOF
6311 6314
6312 for ac_func in XrmSetDatabase XScreenResourceString \ 6315 for ac_func in XrmSetDatabase XScreenResourceString \
6313 XScreenNumberOfScreen XSetWMProtocols 6316 XScreenNumberOfScreen XSetWMProtocols
6314 do 6317 do
6315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6316 echo "$as_me:6316: checking for $ac_func" >&5 6319 echo "$as_me:6319: checking for $ac_func" >&5
6317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6318 if eval "test \"\${$as_ac_var+set}\" = set"; then 6321 if eval "test \"\${$as_ac_var+set}\" = set"; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6 6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6320 else 6323 else
6321 cat >conftest.$ac_ext <<_ACEOF 6324 cat >conftest.$ac_ext <<_ACEOF
6322 #line 6322 "configure" 6325 #line 6325 "configure"
6323 #include "confdefs.h" 6326 #include "confdefs.h"
6324 /* System header to define __stub macros and hopefully few prototypes, 6327 /* System header to define __stub macros and hopefully few prototypes,
6325 which can conflict with char $ac_func (); below. */ 6328 which can conflict with char $ac_func (); below. */
6326 #include <assert.h> 6329 #include <assert.h>
6327 /* Override any gcc2 internal prototype to avoid an error. */ 6330 /* Override any gcc2 internal prototype to avoid an error. */
6348 ; 6351 ;
6349 return 0; 6352 return 0;
6350 } 6353 }
6351 _ACEOF 6354 _ACEOF
6352 rm -f conftest.$ac_objext conftest$ac_exeext 6355 rm -f conftest.$ac_objext conftest$ac_exeext
6353 if { (eval echo "$as_me:6353: \"$ac_link\"") >&5 6356 if { (eval echo "$as_me:6356: \"$ac_link\"") >&5
6354 (eval $ac_link) 2>&5 6357 (eval $ac_link) 2>&5
6355 ac_status=$? 6358 ac_status=$?
6356 echo "$as_me:6356: \$? = $ac_status" >&5 6359 echo "$as_me:6359: \$? = $ac_status" >&5
6357 (exit $ac_status); } && 6360 (exit $ac_status); } &&
6358 { ac_try='test -s conftest$ac_exeext' 6361 { ac_try='test -s conftest$ac_exeext'
6359 { (eval echo "$as_me:6359: \"$ac_try\"") >&5 6362 { (eval echo "$as_me:6362: \"$ac_try\"") >&5
6360 (eval $ac_try) 2>&5 6363 (eval $ac_try) 2>&5
6361 ac_status=$? 6364 ac_status=$?
6362 echo "$as_me:6362: \$? = $ac_status" >&5 6365 echo "$as_me:6365: \$? = $ac_status" >&5
6363 (exit $ac_status); }; }; then 6366 (exit $ac_status); }; }; then
6364 eval "$as_ac_var=yes" 6367 eval "$as_ac_var=yes"
6365 else 6368 else
6366 echo "$as_me: failed program was:" >&5 6369 echo "$as_me: failed program was:" >&5
6367 cat conftest.$ac_ext >&5 6370 cat conftest.$ac_ext >&5
6368 eval "$as_ac_var=no" 6371 eval "$as_ac_var=no"
6369 fi 6372 fi
6370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6371 fi 6374 fi
6372 echo "$as_me:6372: result: `eval echo '${'$as_ac_var'}'`" >&5 6375 echo "$as_me:6375: result: `eval echo '${'$as_ac_var'}'`" >&5
6373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6374 if test `eval echo '${'$as_ac_var'}'` = yes; then 6377 if test `eval echo '${'$as_ac_var'}'` = yes; then
6375 cat >>confdefs.h <<EOF 6378 cat >>confdefs.h <<EOF
6376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6377 EOF 6380 EOF
6380 done 6383 done
6381 6384
6382 fi 6385 fi
6383 6386
6384 if test "${window_system}" = "x11"; then 6387 if test "${window_system}" = "x11"; then
6385 echo "$as_me:6385: checking X11 version 6" >&5 6388 echo "$as_me:6388: checking X11 version 6" >&5
6386 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6389 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6387 if test "${emacs_cv_x11_version_6+set}" = set; then 6390 if test "${emacs_cv_x11_version_6+set}" = set; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6 6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 else 6392 else
6390 cat >conftest.$ac_ext <<_ACEOF 6393 cat >conftest.$ac_ext <<_ACEOF
6391 #line 6391 "configure" 6394 #line 6394 "configure"
6392 #include "confdefs.h" 6395 #include "confdefs.h"
6393 #include <X11/Xlib.h> 6396 #include <X11/Xlib.h>
6394 int 6397 int
6395 main () 6398 main ()
6396 { 6399 {
6401 ; 6404 ;
6402 return 0; 6405 return 0;
6403 } 6406 }
6404 _ACEOF 6407 _ACEOF
6405 rm -f conftest.$ac_objext conftest$ac_exeext 6408 rm -f conftest.$ac_objext conftest$ac_exeext
6406 if { (eval echo "$as_me:6406: \"$ac_link\"") >&5 6409 if { (eval echo "$as_me:6409: \"$ac_link\"") >&5
6407 (eval $ac_link) 2>&5 6410 (eval $ac_link) 2>&5
6408 ac_status=$? 6411 ac_status=$?
6409 echo "$as_me:6409: \$? = $ac_status" >&5 6412 echo "$as_me:6412: \$? = $ac_status" >&5
6410 (exit $ac_status); } && 6413 (exit $ac_status); } &&
6411 { ac_try='test -s conftest$ac_exeext' 6414 { ac_try='test -s conftest$ac_exeext'
6412 { (eval echo "$as_me:6412: \"$ac_try\"") >&5 6415 { (eval echo "$as_me:6415: \"$ac_try\"") >&5
6413 (eval $ac_try) 2>&5 6416 (eval $ac_try) 2>&5
6414 ac_status=$? 6417 ac_status=$?
6415 echo "$as_me:6415: \$? = $ac_status" >&5 6418 echo "$as_me:6418: \$? = $ac_status" >&5
6416 (exit $ac_status); }; }; then 6419 (exit $ac_status); }; }; then
6417 emacs_cv_x11_version_6=yes 6420 emacs_cv_x11_version_6=yes
6418 else 6421 else
6419 echo "$as_me: failed program was:" >&5 6422 echo "$as_me: failed program was:" >&5
6420 cat conftest.$ac_ext >&5 6423 cat conftest.$ac_ext >&5
6422 fi 6425 fi
6423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6424 fi 6427 fi
6425 6428
6426 if test $emacs_cv_x11_version_6 = yes; then 6429 if test $emacs_cv_x11_version_6 = yes; then
6427 echo "$as_me:6427: result: 6 or newer" >&5 6430 echo "$as_me:6430: result: 6 or newer" >&5
6428 echo "${ECHO_T}6 or newer" >&6 6431 echo "${ECHO_T}6 or newer" >&6
6429 cat >>confdefs.h <<\EOF 6432 cat >>confdefs.h <<\EOF
6430 #define HAVE_X11R6 1 6433 #define HAVE_X11R6 1
6431 EOF 6434 EOF
6432 6435
6433 else 6436 else
6434 echo "$as_me:6434: result: before 6" >&5 6437 echo "$as_me:6437: result: before 6" >&5
6435 echo "${ECHO_T}before 6" >&6 6438 echo "${ECHO_T}before 6" >&6
6436 fi 6439 fi
6437 fi 6440 fi
6438 6441
6439 if test "${window_system}" = "x11"; then 6442 if test "${window_system}" = "x11"; then
6440 echo "$as_me:6440: checking X11 version 5" >&5 6443 echo "$as_me:6443: checking X11 version 5" >&5
6441 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6444 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6442 if test "${emacs_cv_x11_version_5+set}" = set; then 6445 if test "${emacs_cv_x11_version_5+set}" = set; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6 6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6444 else 6447 else
6445 cat >conftest.$ac_ext <<_ACEOF 6448 cat >conftest.$ac_ext <<_ACEOF
6446 #line 6446 "configure" 6449 #line 6449 "configure"
6447 #include "confdefs.h" 6450 #include "confdefs.h"
6448 #include <X11/Xlib.h> 6451 #include <X11/Xlib.h>
6449 int 6452 int
6450 main () 6453 main ()
6451 { 6454 {
6456 ; 6459 ;
6457 return 0; 6460 return 0;
6458 } 6461 }
6459 _ACEOF 6462 _ACEOF
6460 rm -f conftest.$ac_objext conftest$ac_exeext 6463 rm -f conftest.$ac_objext conftest$ac_exeext
6461 if { (eval echo "$as_me:6461: \"$ac_link\"") >&5 6464 if { (eval echo "$as_me:6464: \"$ac_link\"") >&5
6462 (eval $ac_link) 2>&5 6465 (eval $ac_link) 2>&5
6463 ac_status=$? 6466 ac_status=$?
6464 echo "$as_me:6464: \$? = $ac_status" >&5 6467 echo "$as_me:6467: \$? = $ac_status" >&5
6465 (exit $ac_status); } && 6468 (exit $ac_status); } &&
6466 { ac_try='test -s conftest$ac_exeext' 6469 { ac_try='test -s conftest$ac_exeext'
6467 { (eval echo "$as_me:6467: \"$ac_try\"") >&5 6470 { (eval echo "$as_me:6470: \"$ac_try\"") >&5
6468 (eval $ac_try) 2>&5 6471 (eval $ac_try) 2>&5
6469 ac_status=$? 6472 ac_status=$?
6470 echo "$as_me:6470: \$? = $ac_status" >&5 6473 echo "$as_me:6473: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then 6474 (exit $ac_status); }; }; then
6472 emacs_cv_x11_version_5=yes 6475 emacs_cv_x11_version_5=yes
6473 else 6476 else
6474 echo "$as_me: failed program was:" >&5 6477 echo "$as_me: failed program was:" >&5
6475 cat conftest.$ac_ext >&5 6478 cat conftest.$ac_ext >&5
6477 fi 6480 fi
6478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6479 fi 6482 fi
6480 6483
6481 if test $emacs_cv_x11_version_5 = yes; then 6484 if test $emacs_cv_x11_version_5 = yes; then
6482 echo "$as_me:6482: result: 5 or newer" >&5 6485 echo "$as_me:6485: result: 5 or newer" >&5
6483 echo "${ECHO_T}5 or newer" >&6 6486 echo "${ECHO_T}5 or newer" >&6
6484 HAVE_X11R5=yes 6487 HAVE_X11R5=yes
6485 cat >>confdefs.h <<\EOF 6488 cat >>confdefs.h <<\EOF
6486 #define HAVE_X11R5 1 6489 #define HAVE_X11R5 1
6487 EOF 6490 EOF
6488 6491
6489 else 6492 else
6490 HAVE_X11R5=no 6493 HAVE_X11R5=no
6491 echo "$as_me:6491: result: before 5" >&5 6494 echo "$as_me:6494: result: before 5" >&5
6492 echo "${ECHO_T}before 5" >&6 6495 echo "${ECHO_T}before 5" >&6
6493 fi 6496 fi
6494 fi 6497 fi
6495 6498
6496 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6499 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6497 if test x"${HAVE_X11R5}" = xyes; then 6500 if test x"${HAVE_X11R5}" = xyes; then
6498 echo "$as_me:6498: checking X11 version 5 with Xaw" >&5 6501 echo "$as_me:6501: checking X11 version 5 with Xaw" >&5
6499 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6502 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6500 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6503 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6501 echo $ECHO_N "(cached) $ECHO_C" >&6 6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 else 6505 else
6503 cat >conftest.$ac_ext <<_ACEOF 6506 cat >conftest.$ac_ext <<_ACEOF
6504 #line 6504 "configure" 6507 #line 6507 "configure"
6505 #include "confdefs.h" 6508 #include "confdefs.h"
6506 6509
6507 #include <X11/Intrinsic.h> 6510 #include <X11/Intrinsic.h>
6508 #include <X11/Xaw/Simple.h> 6511 #include <X11/Xaw/Simple.h>
6509 int 6512 int
6513 ; 6516 ;
6514 return 0; 6517 return 0;
6515 } 6518 }
6516 _ACEOF 6519 _ACEOF
6517 rm -f conftest.$ac_objext conftest$ac_exeext 6520 rm -f conftest.$ac_objext conftest$ac_exeext
6518 if { (eval echo "$as_me:6518: \"$ac_link\"") >&5 6521 if { (eval echo "$as_me:6521: \"$ac_link\"") >&5
6519 (eval $ac_link) 2>&5 6522 (eval $ac_link) 2>&5
6520 ac_status=$? 6523 ac_status=$?
6521 echo "$as_me:6521: \$? = $ac_status" >&5 6524 echo "$as_me:6524: \$? = $ac_status" >&5
6522 (exit $ac_status); } && 6525 (exit $ac_status); } &&
6523 { ac_try='test -s conftest$ac_exeext' 6526 { ac_try='test -s conftest$ac_exeext'
6524 { (eval echo "$as_me:6524: \"$ac_try\"") >&5 6527 { (eval echo "$as_me:6527: \"$ac_try\"") >&5
6525 (eval $ac_try) 2>&5 6528 (eval $ac_try) 2>&5
6526 ac_status=$? 6529 ac_status=$?
6527 echo "$as_me:6527: \$? = $ac_status" >&5 6530 echo "$as_me:6530: \$? = $ac_status" >&5
6528 (exit $ac_status); }; }; then 6531 (exit $ac_status); }; }; then
6529 emacs_cv_x11_version_5_with_xaw=yes 6532 emacs_cv_x11_version_5_with_xaw=yes
6530 else 6533 else
6531 echo "$as_me: failed program was:" >&5 6534 echo "$as_me: failed program was:" >&5
6532 cat conftest.$ac_ext >&5 6535 cat conftest.$ac_ext >&5
6534 fi 6537 fi
6535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6536 fi 6539 fi
6537 6540
6538 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6541 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6539 echo "$as_me:6539: result: 5 or newer, with Xaw; use toolkit by default" >&5 6542 echo "$as_me:6542: result: 5 or newer, with Xaw; use toolkit by default" >&5
6540 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6543 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6541 USE_X_TOOLKIT=LUCID 6544 USE_X_TOOLKIT=LUCID
6542 else 6545 else
6543 echo "$as_me:6543: result: before 5 or no Xaw; do not use toolkit by default" >&5 6546 echo "$as_me:6546: result: before 5 or no Xaw; do not use toolkit by default" >&5
6544 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6547 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6545 USE_X_TOOLKIT=none 6548 USE_X_TOOLKIT=none
6546 fi 6549 fi
6547 else 6550 else
6548 USE_X_TOOLKIT=none 6551 USE_X_TOOLKIT=none
6550 fi 6553 fi
6551 6554
6552 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6555 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6553 6556
6554 if test "${USE_X_TOOLKIT}" != "none"; then 6557 if test "${USE_X_TOOLKIT}" != "none"; then
6555 echo "$as_me:6555: checking X11 toolkit version" >&5 6558 echo "$as_me:6558: checking X11 toolkit version" >&5
6556 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6559 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6557 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6560 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6 6561 echo $ECHO_N "(cached) $ECHO_C" >&6
6559 else 6562 else
6560 cat >conftest.$ac_ext <<_ACEOF 6563 cat >conftest.$ac_ext <<_ACEOF
6561 #line 6561 "configure" 6564 #line 6564 "configure"
6562 #include "confdefs.h" 6565 #include "confdefs.h"
6563 #include <X11/Intrinsic.h> 6566 #include <X11/Intrinsic.h>
6564 int 6567 int
6565 main () 6568 main ()
6566 { 6569 {
6571 ; 6574 ;
6572 return 0; 6575 return 0;
6573 } 6576 }
6574 _ACEOF 6577 _ACEOF
6575 rm -f conftest.$ac_objext conftest$ac_exeext 6578 rm -f conftest.$ac_objext conftest$ac_exeext
6576 if { (eval echo "$as_me:6576: \"$ac_link\"") >&5 6579 if { (eval echo "$as_me:6579: \"$ac_link\"") >&5
6577 (eval $ac_link) 2>&5 6580 (eval $ac_link) 2>&5
6578 ac_status=$? 6581 ac_status=$?
6579 echo "$as_me:6579: \$? = $ac_status" >&5 6582 echo "$as_me:6582: \$? = $ac_status" >&5
6580 (exit $ac_status); } && 6583 (exit $ac_status); } &&
6581 { ac_try='test -s conftest$ac_exeext' 6584 { ac_try='test -s conftest$ac_exeext'
6582 { (eval echo "$as_me:6582: \"$ac_try\"") >&5 6585 { (eval echo "$as_me:6585: \"$ac_try\"") >&5
6583 (eval $ac_try) 2>&5 6586 (eval $ac_try) 2>&5
6584 ac_status=$? 6587 ac_status=$?
6585 echo "$as_me:6585: \$? = $ac_status" >&5 6588 echo "$as_me:6588: \$? = $ac_status" >&5
6586 (exit $ac_status); }; }; then 6589 (exit $ac_status); }; }; then
6587 emacs_cv_x11_toolkit_version_6=yes 6590 emacs_cv_x11_toolkit_version_6=yes
6588 else 6591 else
6589 echo "$as_me: failed program was:" >&5 6592 echo "$as_me: failed program was:" >&5
6590 cat conftest.$ac_ext >&5 6593 cat conftest.$ac_ext >&5
6593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6594 fi 6597 fi
6595 6598
6596 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6599 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6597 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6600 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6598 echo "$as_me:6598: result: 6 or newer" >&5 6601 echo "$as_me:6601: result: 6 or newer" >&5
6599 echo "${ECHO_T}6 or newer" >&6 6602 echo "${ECHO_T}6 or newer" >&6
6600 cat >>confdefs.h <<\EOF 6603 cat >>confdefs.h <<\EOF
6601 #define HAVE_X11XTR6 1 6604 #define HAVE_X11XTR6 1
6602 EOF 6605 EOF
6603 6606
6604 else 6607 else
6605 echo "$as_me:6605: result: before 6" >&5 6608 echo "$as_me:6608: result: before 6" >&5
6606 echo "${ECHO_T}before 6" >&6 6609 echo "${ECHO_T}before 6" >&6
6607 fi 6610 fi
6608 6611
6609 OLDLIBS="$LIBS" 6612 OLDLIBS="$LIBS"
6610 if test x$HAVE_X11XTR6 = xyes; then 6613 if test x$HAVE_X11XTR6 = xyes; then
6611 LIBS="-lXt -lSM -lICE $LIBS" 6614 LIBS="-lXt -lSM -lICE $LIBS"
6612 else 6615 else
6613 LIBS="-lXt $LIBS" 6616 LIBS="-lXt $LIBS"
6614 fi 6617 fi
6615 6618
6616 echo "$as_me:6616: checking for XmuConvertStandardSelection in -lXmu" >&5 6619 echo "$as_me:6619: checking for XmuConvertStandardSelection in -lXmu" >&5
6617 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6620 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6618 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6621 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6 6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 else 6623 else
6621 ac_check_lib_save_LIBS=$LIBS 6624 ac_check_lib_save_LIBS=$LIBS
6622 LIBS="-lXmu $LIBS" 6625 LIBS="-lXmu $LIBS"
6623 cat >conftest.$ac_ext <<_ACEOF 6626 cat >conftest.$ac_ext <<_ACEOF
6624 #line 6624 "configure" 6627 #line 6627 "configure"
6625 #include "confdefs.h" 6628 #include "confdefs.h"
6626 6629
6627 /* Override any gcc2 internal prototype to avoid an error. */ 6630 /* Override any gcc2 internal prototype to avoid an error. */
6628 #ifdef __cplusplus 6631 #ifdef __cplusplus
6629 extern "C" 6632 extern "C"
6638 ; 6641 ;
6639 return 0; 6642 return 0;
6640 } 6643 }
6641 _ACEOF 6644 _ACEOF
6642 rm -f conftest.$ac_objext conftest$ac_exeext 6645 rm -f conftest.$ac_objext conftest$ac_exeext
6643 if { (eval echo "$as_me:6643: \"$ac_link\"") >&5 6646 if { (eval echo "$as_me:6646: \"$ac_link\"") >&5
6644 (eval $ac_link) 2>&5 6647 (eval $ac_link) 2>&5
6645 ac_status=$? 6648 ac_status=$?
6646 echo "$as_me:6646: \$? = $ac_status" >&5 6649 echo "$as_me:6649: \$? = $ac_status" >&5
6647 (exit $ac_status); } && 6650 (exit $ac_status); } &&
6648 { ac_try='test -s conftest$ac_exeext' 6651 { ac_try='test -s conftest$ac_exeext'
6649 { (eval echo "$as_me:6649: \"$ac_try\"") >&5 6652 { (eval echo "$as_me:6652: \"$ac_try\"") >&5
6650 (eval $ac_try) 2>&5 6653 (eval $ac_try) 2>&5
6651 ac_status=$? 6654 ac_status=$?
6652 echo "$as_me:6652: \$? = $ac_status" >&5 6655 echo "$as_me:6655: \$? = $ac_status" >&5
6653 (exit $ac_status); }; }; then 6656 (exit $ac_status); }; }; then
6654 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6657 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6655 else 6658 else
6656 echo "$as_me: failed program was:" >&5 6659 echo "$as_me: failed program was:" >&5
6657 cat conftest.$ac_ext >&5 6660 cat conftest.$ac_ext >&5
6658 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6661 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6659 fi 6662 fi
6660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6661 LIBS=$ac_check_lib_save_LIBS 6664 LIBS=$ac_check_lib_save_LIBS
6662 fi 6665 fi
6663 echo "$as_me:6663: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6666 echo "$as_me:6666: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6664 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6667 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6665 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6668 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6666 cat >>confdefs.h <<EOF 6669 cat >>confdefs.h <<EOF
6667 #define HAVE_LIBXMU 1 6670 #define HAVE_LIBXMU 1
6668 EOF 6671 EOF
6676 6679
6677 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6680 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6678 if test "${HAVE_X11}" = "yes"; then 6681 if test "${HAVE_X11}" = "yes"; then
6679 if test "${USE_X_TOOLKIT}" != "none"; then 6682 if test "${USE_X_TOOLKIT}" != "none"; then
6680 6683
6681 echo "$as_me:6681: checking for XShapeQueryExtension in -lXext" >&5 6684 echo "$as_me:6684: checking for XShapeQueryExtension in -lXext" >&5
6682 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6685 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6683 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6686 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6 6687 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 else 6688 else
6686 ac_check_lib_save_LIBS=$LIBS 6689 ac_check_lib_save_LIBS=$LIBS
6687 LIBS="-lXext $LIBS" 6690 LIBS="-lXext $LIBS"
6688 cat >conftest.$ac_ext <<_ACEOF 6691 cat >conftest.$ac_ext <<_ACEOF
6689 #line 6689 "configure" 6692 #line 6692 "configure"
6690 #include "confdefs.h" 6693 #include "confdefs.h"
6691 6694
6692 /* Override any gcc2 internal prototype to avoid an error. */ 6695 /* Override any gcc2 internal prototype to avoid an error. */
6693 #ifdef __cplusplus 6696 #ifdef __cplusplus
6694 extern "C" 6697 extern "C"
6703 ; 6706 ;
6704 return 0; 6707 return 0;
6705 } 6708 }
6706 _ACEOF 6709 _ACEOF
6707 rm -f conftest.$ac_objext conftest$ac_exeext 6710 rm -f conftest.$ac_objext conftest$ac_exeext
6708 if { (eval echo "$as_me:6708: \"$ac_link\"") >&5 6711 if { (eval echo "$as_me:6711: \"$ac_link\"") >&5
6709 (eval $ac_link) 2>&5 6712 (eval $ac_link) 2>&5
6710 ac_status=$? 6713 ac_status=$?
6711 echo "$as_me:6711: \$? = $ac_status" >&5 6714 echo "$as_me:6714: \$? = $ac_status" >&5
6712 (exit $ac_status); } && 6715 (exit $ac_status); } &&
6713 { ac_try='test -s conftest$ac_exeext' 6716 { ac_try='test -s conftest$ac_exeext'
6714 { (eval echo "$as_me:6714: \"$ac_try\"") >&5 6717 { (eval echo "$as_me:6717: \"$ac_try\"") >&5
6715 (eval $ac_try) 2>&5 6718 (eval $ac_try) 2>&5
6716 ac_status=$? 6719 ac_status=$?
6717 echo "$as_me:6717: \$? = $ac_status" >&5 6720 echo "$as_me:6720: \$? = $ac_status" >&5
6718 (exit $ac_status); }; }; then 6721 (exit $ac_status); }; }; then
6719 ac_cv_lib_Xext_XShapeQueryExtension=yes 6722 ac_cv_lib_Xext_XShapeQueryExtension=yes
6720 else 6723 else
6721 echo "$as_me: failed program was:" >&5 6724 echo "$as_me: failed program was:" >&5
6722 cat conftest.$ac_ext >&5 6725 cat conftest.$ac_ext >&5
6723 ac_cv_lib_Xext_XShapeQueryExtension=no 6726 ac_cv_lib_Xext_XShapeQueryExtension=no
6724 fi 6727 fi
6725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6726 LIBS=$ac_check_lib_save_LIBS 6729 LIBS=$ac_check_lib_save_LIBS
6727 fi 6730 fi
6728 echo "$as_me:6728: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6731 echo "$as_me:6731: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6729 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6732 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6730 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6733 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6731 cat >>confdefs.h <<EOF 6734 cat >>confdefs.h <<EOF
6732 #define HAVE_LIBXEXT 1 6735 #define HAVE_LIBXEXT 1
6733 EOF 6736 EOF
6738 6741
6739 fi 6742 fi
6740 fi 6743 fi
6741 6744
6742 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6745 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6743 echo "$as_me:6743: checking for Motif version 2.1" >&5 6746 echo "$as_me:6746: checking for Motif version 2.1" >&5
6744 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6747 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6745 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6748 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6 6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 else 6750 else
6748 cat >conftest.$ac_ext <<_ACEOF 6751 cat >conftest.$ac_ext <<_ACEOF
6749 #line 6749 "configure" 6752 #line 6752 "configure"
6750 #include "confdefs.h" 6753 #include "confdefs.h"
6751 #include <Xm/Xm.h> 6754 #include <Xm/Xm.h>
6752 int 6755 int
6753 main () 6756 main ()
6754 { 6757 {
6760 ; 6763 ;
6761 return 0; 6764 return 0;
6762 } 6765 }
6763 _ACEOF 6766 _ACEOF
6764 rm -f conftest.$ac_objext 6767 rm -f conftest.$ac_objext
6765 if { (eval echo "$as_me:6765: \"$ac_compile\"") >&5 6768 if { (eval echo "$as_me:6768: \"$ac_compile\"") >&5
6766 (eval $ac_compile) 2>&5 6769 (eval $ac_compile) 2>&5
6767 ac_status=$? 6770 ac_status=$?
6768 echo "$as_me:6768: \$? = $ac_status" >&5 6771 echo "$as_me:6771: \$? = $ac_status" >&5
6769 (exit $ac_status); } && 6772 (exit $ac_status); } &&
6770 { ac_try='test -s conftest.$ac_objext' 6773 { ac_try='test -s conftest.$ac_objext'
6771 { (eval echo "$as_me:6771: \"$ac_try\"") >&5 6774 { (eval echo "$as_me:6774: \"$ac_try\"") >&5
6772 (eval $ac_try) 2>&5 6775 (eval $ac_try) 2>&5
6773 ac_status=$? 6776 ac_status=$?
6774 echo "$as_me:6774: \$? = $ac_status" >&5 6777 echo "$as_me:6777: \$? = $ac_status" >&5
6775 (exit $ac_status); }; }; then 6778 (exit $ac_status); }; }; then
6776 emacs_cv_motif_version_2_1=yes 6779 emacs_cv_motif_version_2_1=yes
6777 else 6780 else
6778 echo "$as_me: failed program was:" >&5 6781 echo "$as_me: failed program was:" >&5
6779 cat conftest.$ac_ext >&5 6782 cat conftest.$ac_ext >&5
6780 emacs_cv_motif_version_2_1=no 6783 emacs_cv_motif_version_2_1=no
6781 fi 6784 fi
6782 rm -f conftest.$ac_objext conftest.$ac_ext 6785 rm -f conftest.$ac_objext conftest.$ac_ext
6783 fi 6786 fi
6784 echo "$as_me:6784: result: $emacs_cv_motif_version_2_1" >&5 6787 echo "$as_me:6787: result: $emacs_cv_motif_version_2_1" >&5
6785 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6788 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6786 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6789 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6787 if test $emacs_cv_motif_version_2_1 = yes; then 6790 if test $emacs_cv_motif_version_2_1 = yes; then
6788 HAVE_LIBXP=no 6791 HAVE_LIBXP=no
6789 cat >>confdefs.h <<\EOF 6792 cat >>confdefs.h <<\EOF
6790 #define HAVE_MOTIF_2_1 1 6793 #define HAVE_MOTIF_2_1 1
6791 EOF 6794 EOF
6792 6795
6793 echo "$as_me:6793: checking for XpCreateContext in -lXp" >&5 6796 echo "$as_me:6796: checking for XpCreateContext in -lXp" >&5
6794 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6797 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6795 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6798 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6 6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 else 6800 else
6798 ac_check_lib_save_LIBS=$LIBS 6801 ac_check_lib_save_LIBS=$LIBS
6799 LIBS="-lXp $LIBS" 6802 LIBS="-lXp $LIBS"
6800 cat >conftest.$ac_ext <<_ACEOF 6803 cat >conftest.$ac_ext <<_ACEOF
6801 #line 6801 "configure" 6804 #line 6804 "configure"
6802 #include "confdefs.h" 6805 #include "confdefs.h"
6803 6806
6804 /* Override any gcc2 internal prototype to avoid an error. */ 6807 /* Override any gcc2 internal prototype to avoid an error. */
6805 #ifdef __cplusplus 6808 #ifdef __cplusplus
6806 extern "C" 6809 extern "C"
6815 ; 6818 ;
6816 return 0; 6819 return 0;
6817 } 6820 }
6818 _ACEOF 6821 _ACEOF
6819 rm -f conftest.$ac_objext conftest$ac_exeext 6822 rm -f conftest.$ac_objext conftest$ac_exeext
6820 if { (eval echo "$as_me:6820: \"$ac_link\"") >&5 6823 if { (eval echo "$as_me:6823: \"$ac_link\"") >&5
6821 (eval $ac_link) 2>&5 6824 (eval $ac_link) 2>&5
6822 ac_status=$? 6825 ac_status=$?
6823 echo "$as_me:6823: \$? = $ac_status" >&5 6826 echo "$as_me:6826: \$? = $ac_status" >&5
6824 (exit $ac_status); } && 6827 (exit $ac_status); } &&
6825 { ac_try='test -s conftest$ac_exeext' 6828 { ac_try='test -s conftest$ac_exeext'
6826 { (eval echo "$as_me:6826: \"$ac_try\"") >&5 6829 { (eval echo "$as_me:6829: \"$ac_try\"") >&5
6827 (eval $ac_try) 2>&5 6830 (eval $ac_try) 2>&5
6828 ac_status=$? 6831 ac_status=$?
6829 echo "$as_me:6829: \$? = $ac_status" >&5 6832 echo "$as_me:6832: \$? = $ac_status" >&5
6830 (exit $ac_status); }; }; then 6833 (exit $ac_status); }; }; then
6831 ac_cv_lib_Xp_XpCreateContext=yes 6834 ac_cv_lib_Xp_XpCreateContext=yes
6832 else 6835 else
6833 echo "$as_me: failed program was:" >&5 6836 echo "$as_me: failed program was:" >&5
6834 cat conftest.$ac_ext >&5 6837 cat conftest.$ac_ext >&5
6835 ac_cv_lib_Xp_XpCreateContext=no 6838 ac_cv_lib_Xp_XpCreateContext=no
6836 fi 6839 fi
6837 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6838 LIBS=$ac_check_lib_save_LIBS 6841 LIBS=$ac_check_lib_save_LIBS
6839 fi 6842 fi
6840 echo "$as_me:6840: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6843 echo "$as_me:6843: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6841 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6844 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6842 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6845 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6843 HAVE_LIBXP=yes 6846 HAVE_LIBXP=yes
6844 fi 6847 fi
6845 6848
6854 6857
6855 ### Is -lXaw3d available? 6858 ### Is -lXaw3d available?
6856 HAVE_XAW3D=no 6859 HAVE_XAW3D=no
6857 if test "${HAVE_X11}" = "yes"; then 6860 if test "${HAVE_X11}" = "yes"; then
6858 if test "${USE_X_TOOLKIT}" != "none"; then 6861 if test "${USE_X_TOOLKIT}" != "none"; then
6859 echo "$as_me:6859: checking for X11/Xaw3d/Scrollbar.h" >&5 6862 echo "$as_me:6862: checking for X11/Xaw3d/Scrollbar.h" >&5
6860 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6863 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6861 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6864 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6 6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 else 6866 else
6864 cat >conftest.$ac_ext <<_ACEOF 6867 cat >conftest.$ac_ext <<_ACEOF
6865 #line 6865 "configure" 6868 #line 6868 "configure"
6866 #include "confdefs.h" 6869 #include "confdefs.h"
6867 #include <X11/Xaw3d/Scrollbar.h> 6870 #include <X11/Xaw3d/Scrollbar.h>
6868 _ACEOF 6871 _ACEOF
6869 if { (eval echo "$as_me:6869: \"$ac_cpp conftest.$ac_ext\"") >&5 6872 if { (eval echo "$as_me:6872: \"$ac_cpp conftest.$ac_ext\"") >&5
6870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6871 ac_status=$? 6874 ac_status=$?
6872 egrep -v '^ *\+' conftest.er1 >conftest.err 6875 egrep -v '^ *\+' conftest.er1 >conftest.err
6873 rm -f conftest.er1 6876 rm -f conftest.er1
6874 cat conftest.err >&5 6877 cat conftest.err >&5
6875 echo "$as_me:6875: \$? = $ac_status" >&5 6878 echo "$as_me:6878: \$? = $ac_status" >&5
6876 (exit $ac_status); } >/dev/null; then 6879 (exit $ac_status); } >/dev/null; then
6877 if test -s conftest.err; then 6880 if test -s conftest.err; then
6878 ac_cpp_err=$ac_c_preproc_warn_flag 6881 ac_cpp_err=$ac_c_preproc_warn_flag
6879 else 6882 else
6880 ac_cpp_err= 6883 ac_cpp_err=
6889 cat conftest.$ac_ext >&5 6892 cat conftest.$ac_ext >&5
6890 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6893 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6891 fi 6894 fi
6892 rm -f conftest.err conftest.$ac_ext 6895 rm -f conftest.err conftest.$ac_ext
6893 fi 6896 fi
6894 echo "$as_me:6894: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6897 echo "$as_me:6897: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6895 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6898 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6896 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6899 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6897 echo "$as_me:6897: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6900 echo "$as_me:6900: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6898 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6901 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6899 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6902 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6 6903 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 else 6904 else
6902 ac_check_lib_save_LIBS=$LIBS 6905 ac_check_lib_save_LIBS=$LIBS
6903 LIBS="-lXaw3d $LIBS" 6906 LIBS="-lXaw3d $LIBS"
6904 cat >conftest.$ac_ext <<_ACEOF 6907 cat >conftest.$ac_ext <<_ACEOF
6905 #line 6905 "configure" 6908 #line 6908 "configure"
6906 #include "confdefs.h" 6909 #include "confdefs.h"
6907 6910
6908 /* Override any gcc2 internal prototype to avoid an error. */ 6911 /* Override any gcc2 internal prototype to avoid an error. */
6909 #ifdef __cplusplus 6912 #ifdef __cplusplus
6910 extern "C" 6913 extern "C"
6919 ; 6922 ;
6920 return 0; 6923 return 0;
6921 } 6924 }
6922 _ACEOF 6925 _ACEOF
6923 rm -f conftest.$ac_objext conftest$ac_exeext 6926 rm -f conftest.$ac_objext conftest$ac_exeext
6924 if { (eval echo "$as_me:6924: \"$ac_link\"") >&5 6927 if { (eval echo "$as_me:6927: \"$ac_link\"") >&5
6925 (eval $ac_link) 2>&5 6928 (eval $ac_link) 2>&5
6926 ac_status=$? 6929 ac_status=$?
6927 echo "$as_me:6927: \$? = $ac_status" >&5 6930 echo "$as_me:6930: \$? = $ac_status" >&5
6928 (exit $ac_status); } && 6931 (exit $ac_status); } &&
6929 { ac_try='test -s conftest$ac_exeext' 6932 { ac_try='test -s conftest$ac_exeext'
6930 { (eval echo "$as_me:6930: \"$ac_try\"") >&5 6933 { (eval echo "$as_me:6933: \"$ac_try\"") >&5
6931 (eval $ac_try) 2>&5 6934 (eval $ac_try) 2>&5
6932 ac_status=$? 6935 ac_status=$?
6933 echo "$as_me:6933: \$? = $ac_status" >&5 6936 echo "$as_me:6936: \$? = $ac_status" >&5
6934 (exit $ac_status); }; }; then 6937 (exit $ac_status); }; }; then
6935 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 6938 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6936 else 6939 else
6937 echo "$as_me: failed program was:" >&5 6940 echo "$as_me: failed program was:" >&5
6938 cat conftest.$ac_ext >&5 6941 cat conftest.$ac_ext >&5
6939 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 6942 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
6940 fi 6943 fi
6941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6942 LIBS=$ac_check_lib_save_LIBS 6945 LIBS=$ac_check_lib_save_LIBS
6943 fi 6946 fi
6944 echo "$as_me:6944: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 6947 echo "$as_me:6947: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6945 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 6948 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6946 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 6949 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6947 HAVE_XAW3D=yes 6950 HAVE_XAW3D=yes
6948 fi 6951 fi
6949 6952
6987 6990
6988 ### Use -lXpm if available, unless `--with-xpm=no'. 6991 ### Use -lXpm if available, unless `--with-xpm=no'.
6989 HAVE_XPM=no 6992 HAVE_XPM=no
6990 if test "${HAVE_X11}" = "yes"; then 6993 if test "${HAVE_X11}" = "yes"; then
6991 if test "${with_xpm}" != "no"; then 6994 if test "${with_xpm}" != "no"; then
6992 echo "$as_me:6992: checking for X11/xpm.h" >&5 6995 echo "$as_me:6995: checking for X11/xpm.h" >&5
6993 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 6996 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6994 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 6997 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6 6998 echo $ECHO_N "(cached) $ECHO_C" >&6
6996 else 6999 else
6997 cat >conftest.$ac_ext <<_ACEOF 7000 cat >conftest.$ac_ext <<_ACEOF
6998 #line 6998 "configure" 7001 #line 7001 "configure"
6999 #include "confdefs.h" 7002 #include "confdefs.h"
7000 #include <X11/xpm.h> 7003 #include <X11/xpm.h>
7001 _ACEOF 7004 _ACEOF
7002 if { (eval echo "$as_me:7002: \"$ac_cpp conftest.$ac_ext\"") >&5 7005 if { (eval echo "$as_me:7005: \"$ac_cpp conftest.$ac_ext\"") >&5
7003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7004 ac_status=$? 7007 ac_status=$?
7005 egrep -v '^ *\+' conftest.er1 >conftest.err 7008 egrep -v '^ *\+' conftest.er1 >conftest.err
7006 rm -f conftest.er1 7009 rm -f conftest.er1
7007 cat conftest.err >&5 7010 cat conftest.err >&5
7008 echo "$as_me:7008: \$? = $ac_status" >&5 7011 echo "$as_me:7011: \$? = $ac_status" >&5
7009 (exit $ac_status); } >/dev/null; then 7012 (exit $ac_status); } >/dev/null; then
7010 if test -s conftest.err; then 7013 if test -s conftest.err; then
7011 ac_cpp_err=$ac_c_preproc_warn_flag 7014 ac_cpp_err=$ac_c_preproc_warn_flag
7012 else 7015 else
7013 ac_cpp_err= 7016 ac_cpp_err=
7022 cat conftest.$ac_ext >&5 7025 cat conftest.$ac_ext >&5
7023 ac_cv_header_X11_xpm_h=no 7026 ac_cv_header_X11_xpm_h=no
7024 fi 7027 fi
7025 rm -f conftest.err conftest.$ac_ext 7028 rm -f conftest.err conftest.$ac_ext
7026 fi 7029 fi
7027 echo "$as_me:7027: result: $ac_cv_header_X11_xpm_h" >&5 7030 echo "$as_me:7030: result: $ac_cv_header_X11_xpm_h" >&5
7028 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7031 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7029 if test $ac_cv_header_X11_xpm_h = yes; then 7032 if test $ac_cv_header_X11_xpm_h = yes; then
7030 echo "$as_me:7030: checking for XpmReadFileToPixmap in -lXpm" >&5 7033 echo "$as_me:7033: checking for XpmReadFileToPixmap in -lXpm" >&5
7031 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7034 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7032 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7035 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6 7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 else 7037 else
7035 ac_check_lib_save_LIBS=$LIBS 7038 ac_check_lib_save_LIBS=$LIBS
7036 LIBS="-lXpm -lX11 $LIBS" 7039 LIBS="-lXpm -lX11 $LIBS"
7037 cat >conftest.$ac_ext <<_ACEOF 7040 cat >conftest.$ac_ext <<_ACEOF
7038 #line 7038 "configure" 7041 #line 7041 "configure"
7039 #include "confdefs.h" 7042 #include "confdefs.h"
7040 7043
7041 /* Override any gcc2 internal prototype to avoid an error. */ 7044 /* Override any gcc2 internal prototype to avoid an error. */
7042 #ifdef __cplusplus 7045 #ifdef __cplusplus
7043 extern "C" 7046 extern "C"
7052 ; 7055 ;
7053 return 0; 7056 return 0;
7054 } 7057 }
7055 _ACEOF 7058 _ACEOF
7056 rm -f conftest.$ac_objext conftest$ac_exeext 7059 rm -f conftest.$ac_objext conftest$ac_exeext
7057 if { (eval echo "$as_me:7057: \"$ac_link\"") >&5 7060 if { (eval echo "$as_me:7060: \"$ac_link\"") >&5
7058 (eval $ac_link) 2>&5 7061 (eval $ac_link) 2>&5
7059 ac_status=$? 7062 ac_status=$?
7060 echo "$as_me:7060: \$? = $ac_status" >&5 7063 echo "$as_me:7063: \$? = $ac_status" >&5
7061 (exit $ac_status); } && 7064 (exit $ac_status); } &&
7062 { ac_try='test -s conftest$ac_exeext' 7065 { ac_try='test -s conftest$ac_exeext'
7063 { (eval echo "$as_me:7063: \"$ac_try\"") >&5 7066 { (eval echo "$as_me:7066: \"$ac_try\"") >&5
7064 (eval $ac_try) 2>&5 7067 (eval $ac_try) 2>&5
7065 ac_status=$? 7068 ac_status=$?
7066 echo "$as_me:7066: \$? = $ac_status" >&5 7069 echo "$as_me:7069: \$? = $ac_status" >&5
7067 (exit $ac_status); }; }; then 7070 (exit $ac_status); }; }; then
7068 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7071 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7069 else 7072 else
7070 echo "$as_me: failed program was:" >&5 7073 echo "$as_me: failed program was:" >&5
7071 cat conftest.$ac_ext >&5 7074 cat conftest.$ac_ext >&5
7072 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7075 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7073 fi 7076 fi
7074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7075 LIBS=$ac_check_lib_save_LIBS 7078 LIBS=$ac_check_lib_save_LIBS
7076 fi 7079 fi
7077 echo "$as_me:7077: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7080 echo "$as_me:7080: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7078 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7081 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7079 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7082 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7080 HAVE_XPM=yes 7083 HAVE_XPM=yes
7081 fi 7084 fi
7082 7085
7083 fi 7086 fi
7084 7087
7085 if test "${HAVE_XPM}" = "yes"; then 7088 if test "${HAVE_XPM}" = "yes"; then
7086 echo "$as_me:7086: checking for XpmReturnAllocPixels preprocessor define" >&5 7089 echo "$as_me:7089: checking for XpmReturnAllocPixels preprocessor define" >&5
7087 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7090 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7088 cat >conftest.$ac_ext <<_ACEOF 7091 cat >conftest.$ac_ext <<_ACEOF
7089 #line 7089 "configure" 7092 #line 7092 "configure"
7090 #include "confdefs.h" 7093 #include "confdefs.h"
7091 #include "X11/xpm.h" 7094 #include "X11/xpm.h"
7092 #ifndef XpmReturnAllocPixels 7095 #ifndef XpmReturnAllocPixels
7093 no_return_alloc_pixels 7096 no_return_alloc_pixels
7094 #endif 7097 #endif
7101 HAVE_XPM=yes 7104 HAVE_XPM=yes
7102 fi 7105 fi
7103 rm -f conftest* 7106 rm -f conftest*
7104 7107
7105 if test "${HAVE_XPM}" = "yes"; then 7108 if test "${HAVE_XPM}" = "yes"; then
7106 echo "$as_me:7106: result: yes" >&5 7109 echo "$as_me:7109: result: yes" >&5
7107 echo "${ECHO_T}yes" >&6 7110 echo "${ECHO_T}yes" >&6
7108 else 7111 else
7109 echo "$as_me:7109: result: no" >&5 7112 echo "$as_me:7112: result: no" >&5
7110 echo "${ECHO_T}no" >&6 7113 echo "${ECHO_T}no" >&6
7111 fi 7114 fi
7112 fi 7115 fi
7113 fi 7116 fi
7114 7117
7122 7125
7123 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7126 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7124 HAVE_JPEG=no 7127 HAVE_JPEG=no
7125 if test "${HAVE_X11}" = "yes"; then 7128 if test "${HAVE_X11}" = "yes"; then
7126 if test "${with_jpeg}" != "no"; then 7129 if test "${with_jpeg}" != "no"; then
7127 echo "$as_me:7127: checking for jerror.h" >&5 7130 echo "$as_me:7130: checking for jerror.h" >&5
7128 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7131 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7129 if test "${ac_cv_header_jerror_h+set}" = set; then 7132 if test "${ac_cv_header_jerror_h+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6 7133 echo $ECHO_N "(cached) $ECHO_C" >&6
7131 else 7134 else
7132 cat >conftest.$ac_ext <<_ACEOF 7135 cat >conftest.$ac_ext <<_ACEOF
7133 #line 7133 "configure" 7136 #line 7136 "configure"
7134 #include "confdefs.h" 7137 #include "confdefs.h"
7135 #include <jerror.h> 7138 #include <jerror.h>
7136 _ACEOF 7139 _ACEOF
7137 if { (eval echo "$as_me:7137: \"$ac_cpp conftest.$ac_ext\"") >&5 7140 if { (eval echo "$as_me:7140: \"$ac_cpp conftest.$ac_ext\"") >&5
7138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7139 ac_status=$? 7142 ac_status=$?
7140 egrep -v '^ *\+' conftest.er1 >conftest.err 7143 egrep -v '^ *\+' conftest.er1 >conftest.err
7141 rm -f conftest.er1 7144 rm -f conftest.er1
7142 cat conftest.err >&5 7145 cat conftest.err >&5
7143 echo "$as_me:7143: \$? = $ac_status" >&5 7146 echo "$as_me:7146: \$? = $ac_status" >&5
7144 (exit $ac_status); } >/dev/null; then 7147 (exit $ac_status); } >/dev/null; then
7145 if test -s conftest.err; then 7148 if test -s conftest.err; then
7146 ac_cpp_err=$ac_c_preproc_warn_flag 7149 ac_cpp_err=$ac_c_preproc_warn_flag
7147 else 7150 else
7148 ac_cpp_err= 7151 ac_cpp_err=
7157 cat conftest.$ac_ext >&5 7160 cat conftest.$ac_ext >&5
7158 ac_cv_header_jerror_h=no 7161 ac_cv_header_jerror_h=no
7159 fi 7162 fi
7160 rm -f conftest.err conftest.$ac_ext 7163 rm -f conftest.err conftest.$ac_ext
7161 fi 7164 fi
7162 echo "$as_me:7162: result: $ac_cv_header_jerror_h" >&5 7165 echo "$as_me:7165: result: $ac_cv_header_jerror_h" >&5
7163 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7166 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7164 if test $ac_cv_header_jerror_h = yes; then 7167 if test $ac_cv_header_jerror_h = yes; then
7165 echo "$as_me:7165: checking for jpeg_destroy_compress in -ljpeg" >&5 7168 echo "$as_me:7168: checking for jpeg_destroy_compress in -ljpeg" >&5
7166 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7169 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7167 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7170 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7168 echo $ECHO_N "(cached) $ECHO_C" >&6 7171 echo $ECHO_N "(cached) $ECHO_C" >&6
7169 else 7172 else
7170 ac_check_lib_save_LIBS=$LIBS 7173 ac_check_lib_save_LIBS=$LIBS
7171 LIBS="-ljpeg $LIBS" 7174 LIBS="-ljpeg $LIBS"
7172 cat >conftest.$ac_ext <<_ACEOF 7175 cat >conftest.$ac_ext <<_ACEOF
7173 #line 7173 "configure" 7176 #line 7176 "configure"
7174 #include "confdefs.h" 7177 #include "confdefs.h"
7175 7178
7176 /* Override any gcc2 internal prototype to avoid an error. */ 7179 /* Override any gcc2 internal prototype to avoid an error. */
7177 #ifdef __cplusplus 7180 #ifdef __cplusplus
7178 extern "C" 7181 extern "C"
7187 ; 7190 ;
7188 return 0; 7191 return 0;
7189 } 7192 }
7190 _ACEOF 7193 _ACEOF
7191 rm -f conftest.$ac_objext conftest$ac_exeext 7194 rm -f conftest.$ac_objext conftest$ac_exeext
7192 if { (eval echo "$as_me:7192: \"$ac_link\"") >&5 7195 if { (eval echo "$as_me:7195: \"$ac_link\"") >&5
7193 (eval $ac_link) 2>&5 7196 (eval $ac_link) 2>&5
7194 ac_status=$? 7197 ac_status=$?
7195 echo "$as_me:7195: \$? = $ac_status" >&5 7198 echo "$as_me:7198: \$? = $ac_status" >&5
7196 (exit $ac_status); } && 7199 (exit $ac_status); } &&
7197 { ac_try='test -s conftest$ac_exeext' 7200 { ac_try='test -s conftest$ac_exeext'
7198 { (eval echo "$as_me:7198: \"$ac_try\"") >&5 7201 { (eval echo "$as_me:7201: \"$ac_try\"") >&5
7199 (eval $ac_try) 2>&5 7202 (eval $ac_try) 2>&5
7200 ac_status=$? 7203 ac_status=$?
7201 echo "$as_me:7201: \$? = $ac_status" >&5 7204 echo "$as_me:7204: \$? = $ac_status" >&5
7202 (exit $ac_status); }; }; then 7205 (exit $ac_status); }; }; then
7203 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7206 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7204 else 7207 else
7205 echo "$as_me: failed program was:" >&5 7208 echo "$as_me: failed program was:" >&5
7206 cat conftest.$ac_ext >&5 7209 cat conftest.$ac_ext >&5
7207 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7210 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7208 fi 7211 fi
7209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7210 LIBS=$ac_check_lib_save_LIBS 7213 LIBS=$ac_check_lib_save_LIBS
7211 fi 7214 fi
7212 echo "$as_me:7212: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7215 echo "$as_me:7215: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7213 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7216 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7214 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7217 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7215 HAVE_JPEG=yes 7218 HAVE_JPEG=yes
7216 fi 7219 fi
7217 7220
7223 cat >>confdefs.h <<\EOF 7226 cat >>confdefs.h <<\EOF
7224 #define HAVE_JPEG 1 7227 #define HAVE_JPEG 1
7225 EOF 7228 EOF
7226 7229
7227 cat >conftest.$ac_ext <<_ACEOF 7230 cat >conftest.$ac_ext <<_ACEOF
7228 #line 7228 "configure" 7231 #line 7231 "configure"
7229 #include "confdefs.h" 7232 #include "confdefs.h"
7230 #include <jpeglib.h> 7233 #include <jpeglib.h>
7231 version=JPEG_LIB_VERSION 7234 version=JPEG_LIB_VERSION
7232 7235
7233 _ACEOF 7236 _ACEOF
7236 cat >>confdefs.h <<\EOF 7239 cat >>confdefs.h <<\EOF
7237 #define HAVE_JPEG 1 7240 #define HAVE_JPEG 1
7238 EOF 7241 EOF
7239 7242
7240 else 7243 else
7241 { echo "$as_me:7241: WARNING: libjpeg found, but not version 6b or later" >&5 7244 { echo "$as_me:7244: WARNING: libjpeg found, but not version 6b or later" >&5
7242 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 7245 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7243 HAVE_JPEG=no 7246 HAVE_JPEG=no
7244 fi 7247 fi
7245 rm -f conftest* 7248 rm -f conftest*
7246 7249
7249 7252
7250 ### Use -lpng if available, unless `--with-png=no'. 7253 ### Use -lpng if available, unless `--with-png=no'.
7251 HAVE_PNG=no 7254 HAVE_PNG=no
7252 if test "${HAVE_X11}" = "yes"; then 7255 if test "${HAVE_X11}" = "yes"; then
7253 if test "${with_png}" != "no"; then 7256 if test "${with_png}" != "no"; then
7254 echo "$as_me:7254: checking for png.h" >&5 7257 echo "$as_me:7257: checking for png.h" >&5
7255 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7258 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7256 if test "${ac_cv_header_png_h+set}" = set; then 7259 if test "${ac_cv_header_png_h+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6 7260 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 else 7261 else
7259 cat >conftest.$ac_ext <<_ACEOF 7262 cat >conftest.$ac_ext <<_ACEOF
7260 #line 7260 "configure" 7263 #line 7263 "configure"
7261 #include "confdefs.h" 7264 #include "confdefs.h"
7262 #include <png.h> 7265 #include <png.h>
7263 _ACEOF 7266 _ACEOF
7264 if { (eval echo "$as_me:7264: \"$ac_cpp conftest.$ac_ext\"") >&5 7267 if { (eval echo "$as_me:7267: \"$ac_cpp conftest.$ac_ext\"") >&5
7265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7266 ac_status=$? 7269 ac_status=$?
7267 egrep -v '^ *\+' conftest.er1 >conftest.err 7270 egrep -v '^ *\+' conftest.er1 >conftest.err
7268 rm -f conftest.er1 7271 rm -f conftest.er1
7269 cat conftest.err >&5 7272 cat conftest.err >&5
7270 echo "$as_me:7270: \$? = $ac_status" >&5 7273 echo "$as_me:7273: \$? = $ac_status" >&5
7271 (exit $ac_status); } >/dev/null; then 7274 (exit $ac_status); } >/dev/null; then
7272 if test -s conftest.err; then 7275 if test -s conftest.err; then
7273 ac_cpp_err=$ac_c_preproc_warn_flag 7276 ac_cpp_err=$ac_c_preproc_warn_flag
7274 else 7277 else
7275 ac_cpp_err= 7278 ac_cpp_err=
7284 cat conftest.$ac_ext >&5 7287 cat conftest.$ac_ext >&5
7285 ac_cv_header_png_h=no 7288 ac_cv_header_png_h=no
7286 fi 7289 fi
7287 rm -f conftest.err conftest.$ac_ext 7290 rm -f conftest.err conftest.$ac_ext
7288 fi 7291 fi
7289 echo "$as_me:7289: result: $ac_cv_header_png_h" >&5 7292 echo "$as_me:7292: result: $ac_cv_header_png_h" >&5
7290 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7293 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7291 if test $ac_cv_header_png_h = yes; then 7294 if test $ac_cv_header_png_h = yes; then
7292 echo "$as_me:7292: checking for png_get_channels in -lpng" >&5 7295 echo "$as_me:7295: checking for png_get_channels in -lpng" >&5
7293 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7296 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7294 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7297 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6 7298 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 else 7299 else
7297 ac_check_lib_save_LIBS=$LIBS 7300 ac_check_lib_save_LIBS=$LIBS
7298 LIBS="-lpng -lz -lm $LIBS" 7301 LIBS="-lpng -lz -lm $LIBS"
7299 cat >conftest.$ac_ext <<_ACEOF 7302 cat >conftest.$ac_ext <<_ACEOF
7300 #line 7300 "configure" 7303 #line 7303 "configure"
7301 #include "confdefs.h" 7304 #include "confdefs.h"
7302 7305
7303 /* Override any gcc2 internal prototype to avoid an error. */ 7306 /* Override any gcc2 internal prototype to avoid an error. */
7304 #ifdef __cplusplus 7307 #ifdef __cplusplus
7305 extern "C" 7308 extern "C"
7314 ; 7317 ;
7315 return 0; 7318 return 0;
7316 } 7319 }
7317 _ACEOF 7320 _ACEOF
7318 rm -f conftest.$ac_objext conftest$ac_exeext 7321 rm -f conftest.$ac_objext conftest$ac_exeext
7319 if { (eval echo "$as_me:7319: \"$ac_link\"") >&5 7322 if { (eval echo "$as_me:7322: \"$ac_link\"") >&5
7320 (eval $ac_link) 2>&5 7323 (eval $ac_link) 2>&5
7321 ac_status=$? 7324 ac_status=$?
7322 echo "$as_me:7322: \$? = $ac_status" >&5 7325 echo "$as_me:7325: \$? = $ac_status" >&5
7323 (exit $ac_status); } && 7326 (exit $ac_status); } &&
7324 { ac_try='test -s conftest$ac_exeext' 7327 { ac_try='test -s conftest$ac_exeext'
7325 { (eval echo "$as_me:7325: \"$ac_try\"") >&5 7328 { (eval echo "$as_me:7328: \"$ac_try\"") >&5
7326 (eval $ac_try) 2>&5 7329 (eval $ac_try) 2>&5
7327 ac_status=$? 7330 ac_status=$?
7328 echo "$as_me:7328: \$? = $ac_status" >&5 7331 echo "$as_me:7331: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then 7332 (exit $ac_status); }; }; then
7330 ac_cv_lib_png_png_get_channels=yes 7333 ac_cv_lib_png_png_get_channels=yes
7331 else 7334 else
7332 echo "$as_me: failed program was:" >&5 7335 echo "$as_me: failed program was:" >&5
7333 cat conftest.$ac_ext >&5 7336 cat conftest.$ac_ext >&5
7334 ac_cv_lib_png_png_get_channels=no 7337 ac_cv_lib_png_png_get_channels=no
7335 fi 7338 fi
7336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7337 LIBS=$ac_check_lib_save_LIBS 7340 LIBS=$ac_check_lib_save_LIBS
7338 fi 7341 fi
7339 echo "$as_me:7339: result: $ac_cv_lib_png_png_get_channels" >&5 7342 echo "$as_me:7342: result: $ac_cv_lib_png_png_get_channels" >&5
7340 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7343 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7341 if test $ac_cv_lib_png_png_get_channels = yes; then 7344 if test $ac_cv_lib_png_png_get_channels = yes; then
7342 HAVE_PNG=yes 7345 HAVE_PNG=yes
7343 fi 7346 fi
7344 7347
7356 7359
7357 ### Use -ltiff if available, unless `--with-tiff=no'. 7360 ### Use -ltiff if available, unless `--with-tiff=no'.
7358 HAVE_TIFF=no 7361 HAVE_TIFF=no
7359 if test "${HAVE_X11}" = "yes"; then 7362 if test "${HAVE_X11}" = "yes"; then
7360 if test "${with_tiff}" != "no"; then 7363 if test "${with_tiff}" != "no"; then
7361 echo "$as_me:7361: checking for tiffio.h" >&5 7364 echo "$as_me:7364: checking for tiffio.h" >&5
7362 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7365 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7363 if test "${ac_cv_header_tiffio_h+set}" = set; then 7366 if test "${ac_cv_header_tiffio_h+set}" = set; then
7364 echo $ECHO_N "(cached) $ECHO_C" >&6 7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7365 else 7368 else
7366 cat >conftest.$ac_ext <<_ACEOF 7369 cat >conftest.$ac_ext <<_ACEOF
7367 #line 7367 "configure" 7370 #line 7370 "configure"
7368 #include "confdefs.h" 7371 #include "confdefs.h"
7369 #include <tiffio.h> 7372 #include <tiffio.h>
7370 _ACEOF 7373 _ACEOF
7371 if { (eval echo "$as_me:7371: \"$ac_cpp conftest.$ac_ext\"") >&5 7374 if { (eval echo "$as_me:7374: \"$ac_cpp conftest.$ac_ext\"") >&5
7372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7373 ac_status=$? 7376 ac_status=$?
7374 egrep -v '^ *\+' conftest.er1 >conftest.err 7377 egrep -v '^ *\+' conftest.er1 >conftest.err
7375 rm -f conftest.er1 7378 rm -f conftest.er1
7376 cat conftest.err >&5 7379 cat conftest.err >&5
7377 echo "$as_me:7377: \$? = $ac_status" >&5 7380 echo "$as_me:7380: \$? = $ac_status" >&5
7378 (exit $ac_status); } >/dev/null; then 7381 (exit $ac_status); } >/dev/null; then
7379 if test -s conftest.err; then 7382 if test -s conftest.err; then
7380 ac_cpp_err=$ac_c_preproc_warn_flag 7383 ac_cpp_err=$ac_c_preproc_warn_flag
7381 else 7384 else
7382 ac_cpp_err= 7385 ac_cpp_err=
7391 cat conftest.$ac_ext >&5 7394 cat conftest.$ac_ext >&5
7392 ac_cv_header_tiffio_h=no 7395 ac_cv_header_tiffio_h=no
7393 fi 7396 fi
7394 rm -f conftest.err conftest.$ac_ext 7397 rm -f conftest.err conftest.$ac_ext
7395 fi 7398 fi
7396 echo "$as_me:7396: result: $ac_cv_header_tiffio_h" >&5 7399 echo "$as_me:7399: result: $ac_cv_header_tiffio_h" >&5
7397 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7400 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7398 if test $ac_cv_header_tiffio_h = yes; then 7401 if test $ac_cv_header_tiffio_h = yes; then
7399 tifflibs="-lz -lm" 7402 tifflibs="-lz -lm"
7400 # At least one tiff package requires the jpeg library. 7403 # At least one tiff package requires the jpeg library.
7401 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7404 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7402 echo "$as_me:7402: checking for TIFFGetVersion in -ltiff" >&5 7405 echo "$as_me:7405: checking for TIFFGetVersion in -ltiff" >&5
7403 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7406 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7404 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7407 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6 7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 else 7409 else
7407 ac_check_lib_save_LIBS=$LIBS 7410 ac_check_lib_save_LIBS=$LIBS
7408 LIBS="-ltiff $tifflibs $LIBS" 7411 LIBS="-ltiff $tifflibs $LIBS"
7409 cat >conftest.$ac_ext <<_ACEOF 7412 cat >conftest.$ac_ext <<_ACEOF
7410 #line 7410 "configure" 7413 #line 7413 "configure"
7411 #include "confdefs.h" 7414 #include "confdefs.h"
7412 7415
7413 /* Override any gcc2 internal prototype to avoid an error. */ 7416 /* Override any gcc2 internal prototype to avoid an error. */
7414 #ifdef __cplusplus 7417 #ifdef __cplusplus
7415 extern "C" 7418 extern "C"
7424 ; 7427 ;
7425 return 0; 7428 return 0;
7426 } 7429 }
7427 _ACEOF 7430 _ACEOF
7428 rm -f conftest.$ac_objext conftest$ac_exeext 7431 rm -f conftest.$ac_objext conftest$ac_exeext
7429 if { (eval echo "$as_me:7429: \"$ac_link\"") >&5 7432 if { (eval echo "$as_me:7432: \"$ac_link\"") >&5
7430 (eval $ac_link) 2>&5 7433 (eval $ac_link) 2>&5
7431 ac_status=$? 7434 ac_status=$?
7432 echo "$as_me:7432: \$? = $ac_status" >&5 7435 echo "$as_me:7435: \$? = $ac_status" >&5
7433 (exit $ac_status); } && 7436 (exit $ac_status); } &&
7434 { ac_try='test -s conftest$ac_exeext' 7437 { ac_try='test -s conftest$ac_exeext'
7435 { (eval echo "$as_me:7435: \"$ac_try\"") >&5 7438 { (eval echo "$as_me:7438: \"$ac_try\"") >&5
7436 (eval $ac_try) 2>&5 7439 (eval $ac_try) 2>&5
7437 ac_status=$? 7440 ac_status=$?
7438 echo "$as_me:7438: \$? = $ac_status" >&5 7441 echo "$as_me:7441: \$? = $ac_status" >&5
7439 (exit $ac_status); }; }; then 7442 (exit $ac_status); }; }; then
7440 ac_cv_lib_tiff_TIFFGetVersion=yes 7443 ac_cv_lib_tiff_TIFFGetVersion=yes
7441 else 7444 else
7442 echo "$as_me: failed program was:" >&5 7445 echo "$as_me: failed program was:" >&5
7443 cat conftest.$ac_ext >&5 7446 cat conftest.$ac_ext >&5
7444 ac_cv_lib_tiff_TIFFGetVersion=no 7447 ac_cv_lib_tiff_TIFFGetVersion=no
7445 fi 7448 fi
7446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7447 LIBS=$ac_check_lib_save_LIBS 7450 LIBS=$ac_check_lib_save_LIBS
7448 fi 7451 fi
7449 echo "$as_me:7449: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7452 echo "$as_me:7452: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7450 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7453 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7451 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7454 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7452 HAVE_TIFF=yes 7455 HAVE_TIFF=yes
7453 fi 7456 fi
7454 7457
7466 7469
7467 ### Use -lgif if available, unless `--with-gif=no'. 7470 ### Use -lgif if available, unless `--with-gif=no'.
7468 HAVE_GIF=no 7471 HAVE_GIF=no
7469 if test "${HAVE_X11}" = "yes"; then 7472 if test "${HAVE_X11}" = "yes"; then
7470 if test "${with_gif}" != "no"; then 7473 if test "${with_gif}" != "no"; then
7471 echo "$as_me:7471: checking for gif_lib.h" >&5 7474 echo "$as_me:7474: checking for gif_lib.h" >&5
7472 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7475 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7473 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7476 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6 7477 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 else 7478 else
7476 cat >conftest.$ac_ext <<_ACEOF 7479 cat >conftest.$ac_ext <<_ACEOF
7477 #line 7477 "configure" 7480 #line 7480 "configure"
7478 #include "confdefs.h" 7481 #include "confdefs.h"
7479 #include <gif_lib.h> 7482 #include <gif_lib.h>
7480 _ACEOF 7483 _ACEOF
7481 if { (eval echo "$as_me:7481: \"$ac_cpp conftest.$ac_ext\"") >&5 7484 if { (eval echo "$as_me:7484: \"$ac_cpp conftest.$ac_ext\"") >&5
7482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7483 ac_status=$? 7486 ac_status=$?
7484 egrep -v '^ *\+' conftest.er1 >conftest.err 7487 egrep -v '^ *\+' conftest.er1 >conftest.err
7485 rm -f conftest.er1 7488 rm -f conftest.er1
7486 cat conftest.err >&5 7489 cat conftest.err >&5
7487 echo "$as_me:7487: \$? = $ac_status" >&5 7490 echo "$as_me:7490: \$? = $ac_status" >&5
7488 (exit $ac_status); } >/dev/null; then 7491 (exit $ac_status); } >/dev/null; then
7489 if test -s conftest.err; then 7492 if test -s conftest.err; then
7490 ac_cpp_err=$ac_c_preproc_warn_flag 7493 ac_cpp_err=$ac_c_preproc_warn_flag
7491 else 7494 else
7492 ac_cpp_err= 7495 ac_cpp_err=
7501 cat conftest.$ac_ext >&5 7504 cat conftest.$ac_ext >&5
7502 ac_cv_header_gif_lib_h=no 7505 ac_cv_header_gif_lib_h=no
7503 fi 7506 fi
7504 rm -f conftest.err conftest.$ac_ext 7507 rm -f conftest.err conftest.$ac_ext
7505 fi 7508 fi
7506 echo "$as_me:7506: result: $ac_cv_header_gif_lib_h" >&5 7509 echo "$as_me:7509: result: $ac_cv_header_gif_lib_h" >&5
7507 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7510 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7508 if test $ac_cv_header_gif_lib_h = yes; then 7511 if test $ac_cv_header_gif_lib_h = yes; then
7509 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 7512 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7510 # Earlier versions can crash Emacs. 7513 # Earlier versions can crash Emacs.
7511 echo "$as_me:7511: checking for EGifPutExtensionLast in -lungif" >&5 7514 echo "$as_me:7514: checking for EGifPutExtensionLast in -lungif" >&5
7512 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 7515 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7513 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 7516 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6 7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7515 else 7518 else
7516 ac_check_lib_save_LIBS=$LIBS 7519 ac_check_lib_save_LIBS=$LIBS
7517 LIBS="-lungif $LIBS" 7520 LIBS="-lungif $LIBS"
7518 cat >conftest.$ac_ext <<_ACEOF 7521 cat >conftest.$ac_ext <<_ACEOF
7519 #line 7519 "configure" 7522 #line 7522 "configure"
7520 #include "confdefs.h" 7523 #include "confdefs.h"
7521 7524
7522 /* Override any gcc2 internal prototype to avoid an error. */ 7525 /* Override any gcc2 internal prototype to avoid an error. */
7523 #ifdef __cplusplus 7526 #ifdef __cplusplus
7524 extern "C" 7527 extern "C"
7533 ; 7536 ;
7534 return 0; 7537 return 0;
7535 } 7538 }
7536 _ACEOF 7539 _ACEOF
7537 rm -f conftest.$ac_objext conftest$ac_exeext 7540 rm -f conftest.$ac_objext conftest$ac_exeext
7538 if { (eval echo "$as_me:7538: \"$ac_link\"") >&5 7541 if { (eval echo "$as_me:7541: \"$ac_link\"") >&5
7539 (eval $ac_link) 2>&5 7542 (eval $ac_link) 2>&5
7540 ac_status=$? 7543 ac_status=$?
7541 echo "$as_me:7541: \$? = $ac_status" >&5 7544 echo "$as_me:7544: \$? = $ac_status" >&5
7542 (exit $ac_status); } && 7545 (exit $ac_status); } &&
7543 { ac_try='test -s conftest$ac_exeext' 7546 { ac_try='test -s conftest$ac_exeext'
7544 { (eval echo "$as_me:7544: \"$ac_try\"") >&5 7547 { (eval echo "$as_me:7547: \"$ac_try\"") >&5
7545 (eval $ac_try) 2>&5 7548 (eval $ac_try) 2>&5
7546 ac_status=$? 7549 ac_status=$?
7547 echo "$as_me:7547: \$? = $ac_status" >&5 7550 echo "$as_me:7550: \$? = $ac_status" >&5
7548 (exit $ac_status); }; }; then 7551 (exit $ac_status); }; }; then
7549 ac_cv_lib_ungif_EGifPutExtensionLast=yes 7552 ac_cv_lib_ungif_EGifPutExtensionLast=yes
7550 else 7553 else
7551 echo "$as_me: failed program was:" >&5 7554 echo "$as_me: failed program was:" >&5
7552 cat conftest.$ac_ext >&5 7555 cat conftest.$ac_ext >&5
7553 ac_cv_lib_ungif_EGifPutExtensionLast=no 7556 ac_cv_lib_ungif_EGifPutExtensionLast=no
7554 fi 7557 fi
7555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7556 LIBS=$ac_check_lib_save_LIBS 7559 LIBS=$ac_check_lib_save_LIBS
7557 fi 7560 fi
7558 echo "$as_me:7558: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 7561 echo "$as_me:7561: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7559 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 7562 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7560 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 7563 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7561 HAVE_GIF=yes 7564 HAVE_GIF=yes
7562 fi 7565 fi
7563 7566
7574 fi 7577 fi
7575 7578
7576 ### Use session management (-lSM -lICE) if available 7579 ### Use session management (-lSM -lICE) if available
7577 HAVE_X_SM=no 7580 HAVE_X_SM=no
7578 if test "${HAVE_X11}" = "yes"; then 7581 if test "${HAVE_X11}" = "yes"; then
7579 echo "$as_me:7579: checking for X11/SM/SMlib.h" >&5 7582 echo "$as_me:7582: checking for X11/SM/SMlib.h" >&5
7580 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 7583 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7581 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 7584 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7582 echo $ECHO_N "(cached) $ECHO_C" >&6 7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7583 else 7586 else
7584 cat >conftest.$ac_ext <<_ACEOF 7587 cat >conftest.$ac_ext <<_ACEOF
7585 #line 7585 "configure" 7588 #line 7588 "configure"
7586 #include "confdefs.h" 7589 #include "confdefs.h"
7587 #include <X11/SM/SMlib.h> 7590 #include <X11/SM/SMlib.h>
7588 _ACEOF 7591 _ACEOF
7589 if { (eval echo "$as_me:7589: \"$ac_cpp conftest.$ac_ext\"") >&5 7592 if { (eval echo "$as_me:7592: \"$ac_cpp conftest.$ac_ext\"") >&5
7590 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7591 ac_status=$? 7594 ac_status=$?
7592 egrep -v '^ *\+' conftest.er1 >conftest.err 7595 egrep -v '^ *\+' conftest.er1 >conftest.err
7593 rm -f conftest.er1 7596 rm -f conftest.er1
7594 cat conftest.err >&5 7597 cat conftest.err >&5
7595 echo "$as_me:7595: \$? = $ac_status" >&5 7598 echo "$as_me:7598: \$? = $ac_status" >&5
7596 (exit $ac_status); } >/dev/null; then 7599 (exit $ac_status); } >/dev/null; then
7597 if test -s conftest.err; then 7600 if test -s conftest.err; then
7598 ac_cpp_err=$ac_c_preproc_warn_flag 7601 ac_cpp_err=$ac_c_preproc_warn_flag
7599 else 7602 else
7600 ac_cpp_err= 7603 ac_cpp_err=
7609 cat conftest.$ac_ext >&5 7612 cat conftest.$ac_ext >&5
7610 ac_cv_header_X11_SM_SMlib_h=no 7613 ac_cv_header_X11_SM_SMlib_h=no
7611 fi 7614 fi
7612 rm -f conftest.err conftest.$ac_ext 7615 rm -f conftest.err conftest.$ac_ext
7613 fi 7616 fi
7614 echo "$as_me:7614: result: $ac_cv_header_X11_SM_SMlib_h" >&5 7617 echo "$as_me:7617: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7615 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 7618 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7616 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 7619 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7617 echo "$as_me:7617: checking for SmcOpenConnection in -lSM" >&5 7620 echo "$as_me:7620: checking for SmcOpenConnection in -lSM" >&5
7618 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 7621 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7619 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 7622 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6 7623 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 else 7624 else
7622 ac_check_lib_save_LIBS=$LIBS 7625 ac_check_lib_save_LIBS=$LIBS
7623 LIBS="-lSM $LIBS" 7626 LIBS="-lSM $LIBS"
7624 cat >conftest.$ac_ext <<_ACEOF 7627 cat >conftest.$ac_ext <<_ACEOF
7625 #line 7625 "configure" 7628 #line 7628 "configure"
7626 #include "confdefs.h" 7629 #include "confdefs.h"
7627 7630
7628 /* Override any gcc2 internal prototype to avoid an error. */ 7631 /* Override any gcc2 internal prototype to avoid an error. */
7629 #ifdef __cplusplus 7632 #ifdef __cplusplus
7630 extern "C" 7633 extern "C"
7639 ; 7642 ;
7640 return 0; 7643 return 0;
7641 } 7644 }
7642 _ACEOF 7645 _ACEOF
7643 rm -f conftest.$ac_objext conftest$ac_exeext 7646 rm -f conftest.$ac_objext conftest$ac_exeext
7644 if { (eval echo "$as_me:7644: \"$ac_link\"") >&5 7647 if { (eval echo "$as_me:7647: \"$ac_link\"") >&5
7645 (eval $ac_link) 2>&5 7648 (eval $ac_link) 2>&5
7646 ac_status=$? 7649 ac_status=$?
7647 echo "$as_me:7647: \$? = $ac_status" >&5 7650 echo "$as_me:7650: \$? = $ac_status" >&5
7648 (exit $ac_status); } && 7651 (exit $ac_status); } &&
7649 { ac_try='test -s conftest$ac_exeext' 7652 { ac_try='test -s conftest$ac_exeext'
7650 { (eval echo "$as_me:7650: \"$ac_try\"") >&5 7653 { (eval echo "$as_me:7653: \"$ac_try\"") >&5
7651 (eval $ac_try) 2>&5 7654 (eval $ac_try) 2>&5
7652 ac_status=$? 7655 ac_status=$?
7653 echo "$as_me:7653: \$? = $ac_status" >&5 7656 echo "$as_me:7656: \$? = $ac_status" >&5
7654 (exit $ac_status); }; }; then 7657 (exit $ac_status); }; }; then
7655 ac_cv_lib_SM_SmcOpenConnection=yes 7658 ac_cv_lib_SM_SmcOpenConnection=yes
7656 else 7659 else
7657 echo "$as_me: failed program was:" >&5 7660 echo "$as_me: failed program was:" >&5
7658 cat conftest.$ac_ext >&5 7661 cat conftest.$ac_ext >&5
7659 ac_cv_lib_SM_SmcOpenConnection=no 7662 ac_cv_lib_SM_SmcOpenConnection=no
7660 fi 7663 fi
7661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7662 LIBS=$ac_check_lib_save_LIBS 7665 LIBS=$ac_check_lib_save_LIBS
7663 fi 7666 fi
7664 echo "$as_me:7664: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 7667 echo "$as_me:7667: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7665 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 7668 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7666 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 7669 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7667 HAVE_X_SM=yes 7670 HAVE_X_SM=yes
7668 else 7671 else
7669 -lICE 7672 -lICE
7682 esac 7685 esac
7683 fi 7686 fi
7684 fi 7687 fi
7685 7688
7686 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7689 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7687 echo "$as_me:7687: checking whether netdb declares h_errno" >&5 7690 echo "$as_me:7690: checking whether netdb declares h_errno" >&5
7688 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7691 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7689 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7692 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6 7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 else 7694 else
7692 cat >conftest.$ac_ext <<_ACEOF 7695 cat >conftest.$ac_ext <<_ACEOF
7693 #line 7693 "configure" 7696 #line 7696 "configure"
7694 #include "confdefs.h" 7697 #include "confdefs.h"
7695 #include <netdb.h> 7698 #include <netdb.h>
7696 int 7699 int
7697 main () 7700 main ()
7698 { 7701 {
7700 ; 7703 ;
7701 return 0; 7704 return 0;
7702 } 7705 }
7703 _ACEOF 7706 _ACEOF
7704 rm -f conftest.$ac_objext conftest$ac_exeext 7707 rm -f conftest.$ac_objext conftest$ac_exeext
7705 if { (eval echo "$as_me:7705: \"$ac_link\"") >&5 7708 if { (eval echo "$as_me:7708: \"$ac_link\"") >&5
7706 (eval $ac_link) 2>&5 7709 (eval $ac_link) 2>&5
7707 ac_status=$? 7710 ac_status=$?
7708 echo "$as_me:7708: \$? = $ac_status" >&5 7711 echo "$as_me:7711: \$? = $ac_status" >&5
7709 (exit $ac_status); } && 7712 (exit $ac_status); } &&
7710 { ac_try='test -s conftest$ac_exeext' 7713 { ac_try='test -s conftest$ac_exeext'
7711 { (eval echo "$as_me:7711: \"$ac_try\"") >&5 7714 { (eval echo "$as_me:7714: \"$ac_try\"") >&5
7712 (eval $ac_try) 2>&5 7715 (eval $ac_try) 2>&5
7713 ac_status=$? 7716 ac_status=$?
7714 echo "$as_me:7714: \$? = $ac_status" >&5 7717 echo "$as_me:7717: \$? = $ac_status" >&5
7715 (exit $ac_status); }; }; then 7718 (exit $ac_status); }; }; then
7716 emacs_cv_netdb_declares_h_errno=yes 7719 emacs_cv_netdb_declares_h_errno=yes
7717 else 7720 else
7718 echo "$as_me: failed program was:" >&5 7721 echo "$as_me: failed program was:" >&5
7719 cat conftest.$ac_ext >&5 7722 cat conftest.$ac_ext >&5
7720 emacs_cv_netdb_declares_h_errno=no 7723 emacs_cv_netdb_declares_h_errno=no
7721 fi 7724 fi
7722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7723 fi 7726 fi
7724 echo "$as_me:7724: result: $emacs_cv_netdb_declares_h_errno" >&5 7727 echo "$as_me:7727: result: $emacs_cv_netdb_declares_h_errno" >&5
7725 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7728 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7726 if test $emacs_cv_netdb_declares_h_errno = yes; then 7729 if test $emacs_cv_netdb_declares_h_errno = yes; then
7727 cat >>confdefs.h <<\EOF 7730 cat >>confdefs.h <<\EOF
7728 #define HAVE_H_ERRNO 1 7731 #define HAVE_H_ERRNO 1
7729 EOF 7732 EOF
7730 7733
7731 fi 7734 fi
7732 7735
7733 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7736 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7734 # for constant arguments. Useless! 7737 # for constant arguments. Useless!
7735 echo "$as_me:7735: checking for working alloca.h" >&5 7738 echo "$as_me:7738: checking for working alloca.h" >&5
7736 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7739 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7737 if test "${ac_cv_working_alloca_h+set}" = set; then 7740 if test "${ac_cv_working_alloca_h+set}" = set; then
7738 echo $ECHO_N "(cached) $ECHO_C" >&6 7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7739 else 7742 else
7740 cat >conftest.$ac_ext <<_ACEOF 7743 cat >conftest.$ac_ext <<_ACEOF
7741 #line 7741 "configure" 7744 #line 7744 "configure"
7742 #include "confdefs.h" 7745 #include "confdefs.h"
7743 #include <alloca.h> 7746 #include <alloca.h>
7744 int 7747 int
7745 main () 7748 main ()
7746 { 7749 {
7748 ; 7751 ;
7749 return 0; 7752 return 0;
7750 } 7753 }
7751 _ACEOF 7754 _ACEOF
7752 rm -f conftest.$ac_objext conftest$ac_exeext 7755 rm -f conftest.$ac_objext conftest$ac_exeext
7753 if { (eval echo "$as_me:7753: \"$ac_link\"") >&5 7756 if { (eval echo "$as_me:7756: \"$ac_link\"") >&5
7754 (eval $ac_link) 2>&5 7757 (eval $ac_link) 2>&5
7755 ac_status=$? 7758 ac_status=$?
7756 echo "$as_me:7756: \$? = $ac_status" >&5 7759 echo "$as_me:7759: \$? = $ac_status" >&5
7757 (exit $ac_status); } && 7760 (exit $ac_status); } &&
7758 { ac_try='test -s conftest$ac_exeext' 7761 { ac_try='test -s conftest$ac_exeext'
7759 { (eval echo "$as_me:7759: \"$ac_try\"") >&5 7762 { (eval echo "$as_me:7762: \"$ac_try\"") >&5
7760 (eval $ac_try) 2>&5 7763 (eval $ac_try) 2>&5
7761 ac_status=$? 7764 ac_status=$?
7762 echo "$as_me:7762: \$? = $ac_status" >&5 7765 echo "$as_me:7765: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then 7766 (exit $ac_status); }; }; then
7764 ac_cv_working_alloca_h=yes 7767 ac_cv_working_alloca_h=yes
7765 else 7768 else
7766 echo "$as_me: failed program was:" >&5 7769 echo "$as_me: failed program was:" >&5
7767 cat conftest.$ac_ext >&5 7770 cat conftest.$ac_ext >&5
7768 ac_cv_working_alloca_h=no 7771 ac_cv_working_alloca_h=no
7769 fi 7772 fi
7770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7771 fi 7774 fi
7772 echo "$as_me:7772: result: $ac_cv_working_alloca_h" >&5 7775 echo "$as_me:7775: result: $ac_cv_working_alloca_h" >&5
7773 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7776 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7774 if test $ac_cv_working_alloca_h = yes; then 7777 if test $ac_cv_working_alloca_h = yes; then
7775 7778
7776 cat >>confdefs.h <<\EOF 7779 cat >>confdefs.h <<\EOF
7777 #define HAVE_ALLOCA_H 1 7780 #define HAVE_ALLOCA_H 1
7778 EOF 7781 EOF
7779 7782
7780 fi 7783 fi
7781 7784
7782 echo "$as_me:7782: checking for alloca" >&5 7785 echo "$as_me:7785: checking for alloca" >&5
7783 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7786 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7784 if test "${ac_cv_func_alloca_works+set}" = set; then 7787 if test "${ac_cv_func_alloca_works+set}" = set; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6 7788 echo $ECHO_N "(cached) $ECHO_C" >&6
7786 else 7789 else
7787 cat >conftest.$ac_ext <<_ACEOF 7790 cat >conftest.$ac_ext <<_ACEOF
7788 #line 7788 "configure" 7791 #line 7791 "configure"
7789 #include "confdefs.h" 7792 #include "confdefs.h"
7790 #ifdef __GNUC__ 7793 #ifdef __GNUC__
7791 # define alloca __builtin_alloca 7794 # define alloca __builtin_alloca
7792 #else 7795 #else
7793 # ifdef _MSC_VER 7796 # ifdef _MSC_VER
7815 ; 7818 ;
7816 return 0; 7819 return 0;
7817 } 7820 }
7818 _ACEOF 7821 _ACEOF
7819 rm -f conftest.$ac_objext conftest$ac_exeext 7822 rm -f conftest.$ac_objext conftest$ac_exeext
7820 if { (eval echo "$as_me:7820: \"$ac_link\"") >&5 7823 if { (eval echo "$as_me:7823: \"$ac_link\"") >&5
7821 (eval $ac_link) 2>&5 7824 (eval $ac_link) 2>&5
7822 ac_status=$? 7825 ac_status=$?
7823 echo "$as_me:7823: \$? = $ac_status" >&5 7826 echo "$as_me:7826: \$? = $ac_status" >&5
7824 (exit $ac_status); } && 7827 (exit $ac_status); } &&
7825 { ac_try='test -s conftest$ac_exeext' 7828 { ac_try='test -s conftest$ac_exeext'
7826 { (eval echo "$as_me:7826: \"$ac_try\"") >&5 7829 { (eval echo "$as_me:7829: \"$ac_try\"") >&5
7827 (eval $ac_try) 2>&5 7830 (eval $ac_try) 2>&5
7828 ac_status=$? 7831 ac_status=$?
7829 echo "$as_me:7829: \$? = $ac_status" >&5 7832 echo "$as_me:7832: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then 7833 (exit $ac_status); }; }; then
7831 ac_cv_func_alloca_works=yes 7834 ac_cv_func_alloca_works=yes
7832 else 7835 else
7833 echo "$as_me: failed program was:" >&5 7836 echo "$as_me: failed program was:" >&5
7834 cat conftest.$ac_ext >&5 7837 cat conftest.$ac_ext >&5
7835 ac_cv_func_alloca_works=no 7838 ac_cv_func_alloca_works=no
7836 fi 7839 fi
7837 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7838 fi 7841 fi
7839 echo "$as_me:7839: result: $ac_cv_func_alloca_works" >&5 7842 echo "$as_me:7842: result: $ac_cv_func_alloca_works" >&5
7840 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7843 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7841 7844
7842 if test $ac_cv_func_alloca_works = yes; then 7845 if test $ac_cv_func_alloca_works = yes; then
7843 7846
7844 cat >>confdefs.h <<\EOF 7847 cat >>confdefs.h <<\EOF
7855 7858
7856 cat >>confdefs.h <<\EOF 7859 cat >>confdefs.h <<\EOF
7857 #define C_ALLOCA 1 7860 #define C_ALLOCA 1
7858 EOF 7861 EOF
7859 7862
7860 echo "$as_me:7860: checking whether \`alloca.c' needs Cray hooks" >&5 7863 echo "$as_me:7863: checking whether \`alloca.c' needs Cray hooks" >&5
7861 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7864 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7862 if test "${ac_cv_os_cray+set}" = set; then 7865 if test "${ac_cv_os_cray+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6 7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 else 7867 else
7865 cat >conftest.$ac_ext <<_ACEOF 7868 cat >conftest.$ac_ext <<_ACEOF
7866 #line 7866 "configure" 7869 #line 7869 "configure"
7867 #include "confdefs.h" 7870 #include "confdefs.h"
7868 #if defined(CRAY) && ! defined(CRAY2) 7871 #if defined(CRAY) && ! defined(CRAY2)
7869 webecray 7872 webecray
7870 #else 7873 #else
7871 wenotbecray 7874 wenotbecray
7879 ac_cv_os_cray=no 7882 ac_cv_os_cray=no
7880 fi 7883 fi
7881 rm -f conftest* 7884 rm -f conftest*
7882 7885
7883 fi 7886 fi
7884 echo "$as_me:7884: result: $ac_cv_os_cray" >&5 7887 echo "$as_me:7887: result: $ac_cv_os_cray" >&5
7885 echo "${ECHO_T}$ac_cv_os_cray" >&6 7888 echo "${ECHO_T}$ac_cv_os_cray" >&6
7886 if test $ac_cv_os_cray = yes; then 7889 if test $ac_cv_os_cray = yes; then
7887 for ac_func in _getb67 GETB67 getb67; do 7890 for ac_func in _getb67 GETB67 getb67; do
7888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7889 echo "$as_me:7889: checking for $ac_func" >&5 7892 echo "$as_me:7892: checking for $ac_func" >&5
7890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7891 if eval "test \"\${$as_ac_var+set}\" = set"; then 7894 if eval "test \"\${$as_ac_var+set}\" = set"; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6 7895 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 else 7896 else
7894 cat >conftest.$ac_ext <<_ACEOF 7897 cat >conftest.$ac_ext <<_ACEOF
7895 #line 7895 "configure" 7898 #line 7898 "configure"
7896 #include "confdefs.h" 7899 #include "confdefs.h"
7897 /* System header to define __stub macros and hopefully few prototypes, 7900 /* System header to define __stub macros and hopefully few prototypes,
7898 which can conflict with char $ac_func (); below. */ 7901 which can conflict with char $ac_func (); below. */
7899 #include <assert.h> 7902 #include <assert.h>
7900 /* Override any gcc2 internal prototype to avoid an error. */ 7903 /* Override any gcc2 internal prototype to avoid an error. */
7921 ; 7924 ;
7922 return 0; 7925 return 0;
7923 } 7926 }
7924 _ACEOF 7927 _ACEOF
7925 rm -f conftest.$ac_objext conftest$ac_exeext 7928 rm -f conftest.$ac_objext conftest$ac_exeext
7926 if { (eval echo "$as_me:7926: \"$ac_link\"") >&5 7929 if { (eval echo "$as_me:7929: \"$ac_link\"") >&5
7927 (eval $ac_link) 2>&5 7930 (eval $ac_link) 2>&5
7928 ac_status=$? 7931 ac_status=$?
7929 echo "$as_me:7929: \$? = $ac_status" >&5 7932 echo "$as_me:7932: \$? = $ac_status" >&5
7930 (exit $ac_status); } && 7933 (exit $ac_status); } &&
7931 { ac_try='test -s conftest$ac_exeext' 7934 { ac_try='test -s conftest$ac_exeext'
7932 { (eval echo "$as_me:7932: \"$ac_try\"") >&5 7935 { (eval echo "$as_me:7935: \"$ac_try\"") >&5
7933 (eval $ac_try) 2>&5 7936 (eval $ac_try) 2>&5
7934 ac_status=$? 7937 ac_status=$?
7935 echo "$as_me:7935: \$? = $ac_status" >&5 7938 echo "$as_me:7938: \$? = $ac_status" >&5
7936 (exit $ac_status); }; }; then 7939 (exit $ac_status); }; }; then
7937 eval "$as_ac_var=yes" 7940 eval "$as_ac_var=yes"
7938 else 7941 else
7939 echo "$as_me: failed program was:" >&5 7942 echo "$as_me: failed program was:" >&5
7940 cat conftest.$ac_ext >&5 7943 cat conftest.$ac_ext >&5
7941 eval "$as_ac_var=no" 7944 eval "$as_ac_var=no"
7942 fi 7945 fi
7943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7944 fi 7947 fi
7945 echo "$as_me:7945: result: `eval echo '${'$as_ac_var'}'`" >&5 7948 echo "$as_me:7948: result: `eval echo '${'$as_ac_var'}'`" >&5
7946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7947 if test `eval echo '${'$as_ac_var'}'` = yes; then 7950 if test `eval echo '${'$as_ac_var'}'` = yes; then
7948 7951
7949 cat >>confdefs.h <<EOF 7952 cat >>confdefs.h <<EOF
7950 #define CRAY_STACKSEG_END $ac_func 7953 #define CRAY_STACKSEG_END $ac_func
7954 fi 7957 fi
7955 7958
7956 done 7959 done
7957 fi 7960 fi
7958 7961
7959 echo "$as_me:7959: checking stack direction for C alloca" >&5 7962 echo "$as_me:7962: checking stack direction for C alloca" >&5
7960 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7963 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7961 if test "${ac_cv_c_stack_direction+set}" = set; then 7964 if test "${ac_cv_c_stack_direction+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6 7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 else 7966 else
7964 if test "$cross_compiling" = yes; then 7967 if test "$cross_compiling" = yes; then
7965 ac_cv_c_stack_direction=0 7968 ac_cv_c_stack_direction=0
7966 else 7969 else
7967 cat >conftest.$ac_ext <<_ACEOF 7970 cat >conftest.$ac_ext <<_ACEOF
7968 #line 7968 "configure" 7971 #line 7971 "configure"
7969 #include "confdefs.h" 7972 #include "confdefs.h"
7970 int 7973 int
7971 find_stack_direction () 7974 find_stack_direction ()
7972 { 7975 {
7973 static char *addr = 0; 7976 static char *addr = 0;
7986 { 7989 {
7987 exit (find_stack_direction () < 0); 7990 exit (find_stack_direction () < 0);
7988 } 7991 }
7989 _ACEOF 7992 _ACEOF
7990 rm -f conftest$ac_exeext 7993 rm -f conftest$ac_exeext
7991 if { (eval echo "$as_me:7991: \"$ac_link\"") >&5 7994 if { (eval echo "$as_me:7994: \"$ac_link\"") >&5
7992 (eval $ac_link) 2>&5 7995 (eval $ac_link) 2>&5
7993 ac_status=$? 7996 ac_status=$?
7994 echo "$as_me:7994: \$? = $ac_status" >&5 7997 echo "$as_me:7997: \$? = $ac_status" >&5
7995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7996 { (eval echo "$as_me:7996: \"$ac_try\"") >&5 7999 { (eval echo "$as_me:7999: \"$ac_try\"") >&5
7997 (eval $ac_try) 2>&5 8000 (eval $ac_try) 2>&5
7998 ac_status=$? 8001 ac_status=$?
7999 echo "$as_me:7999: \$? = $ac_status" >&5 8002 echo "$as_me:8002: \$? = $ac_status" >&5
8000 (exit $ac_status); }; }; then 8003 (exit $ac_status); }; }; then
8001 ac_cv_c_stack_direction=1 8004 ac_cv_c_stack_direction=1
8002 else 8005 else
8003 echo "$as_me: program exited with status $ac_status" >&5 8006 echo "$as_me: program exited with status $ac_status" >&5
8004 echo "$as_me: failed program was:" >&5 8007 echo "$as_me: failed program was:" >&5
8006 ac_cv_c_stack_direction=-1 8009 ac_cv_c_stack_direction=-1
8007 fi 8010 fi
8008 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8011 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8009 fi 8012 fi
8010 fi 8013 fi
8011 echo "$as_me:8011: result: $ac_cv_c_stack_direction" >&5 8014 echo "$as_me:8014: result: $ac_cv_c_stack_direction" >&5
8012 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 8015 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8013 8016
8014 cat >>confdefs.h <<EOF 8017 cat >>confdefs.h <<EOF
8015 #define STACK_DIRECTION $ac_cv_c_stack_direction 8018 #define STACK_DIRECTION $ac_cv_c_stack_direction
8016 EOF 8019 EOF
8018 fi 8021 fi
8019 8022
8020 # fmod, logb, and frexp are found in -lm on most systems. 8023 # fmod, logb, and frexp are found in -lm on most systems.
8021 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 8024 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8022 8025
8023 echo "$as_me:8023: checking for sqrt in -lm" >&5 8026 echo "$as_me:8026: checking for sqrt in -lm" >&5
8024 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 8027 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8025 if test "${ac_cv_lib_m_sqrt+set}" = set; then 8028 if test "${ac_cv_lib_m_sqrt+set}" = set; then
8026 echo $ECHO_N "(cached) $ECHO_C" >&6 8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8027 else 8030 else
8028 ac_check_lib_save_LIBS=$LIBS 8031 ac_check_lib_save_LIBS=$LIBS
8029 LIBS="-lm $LIBS" 8032 LIBS="-lm $LIBS"
8030 cat >conftest.$ac_ext <<_ACEOF 8033 cat >conftest.$ac_ext <<_ACEOF
8031 #line 8031 "configure" 8034 #line 8034 "configure"
8032 #include "confdefs.h" 8035 #include "confdefs.h"
8033 8036
8034 /* Override any gcc2 internal prototype to avoid an error. */ 8037 /* Override any gcc2 internal prototype to avoid an error. */
8035 #ifdef __cplusplus 8038 #ifdef __cplusplus
8036 extern "C" 8039 extern "C"
8045 ; 8048 ;
8046 return 0; 8049 return 0;
8047 } 8050 }
8048 _ACEOF 8051 _ACEOF
8049 rm -f conftest.$ac_objext conftest$ac_exeext 8052 rm -f conftest.$ac_objext conftest$ac_exeext
8050 if { (eval echo "$as_me:8050: \"$ac_link\"") >&5 8053 if { (eval echo "$as_me:8053: \"$ac_link\"") >&5
8051 (eval $ac_link) 2>&5 8054 (eval $ac_link) 2>&5
8052 ac_status=$? 8055 ac_status=$?
8053 echo "$as_me:8053: \$? = $ac_status" >&5 8056 echo "$as_me:8056: \$? = $ac_status" >&5
8054 (exit $ac_status); } && 8057 (exit $ac_status); } &&
8055 { ac_try='test -s conftest$ac_exeext' 8058 { ac_try='test -s conftest$ac_exeext'
8056 { (eval echo "$as_me:8056: \"$ac_try\"") >&5 8059 { (eval echo "$as_me:8059: \"$ac_try\"") >&5
8057 (eval $ac_try) 2>&5 8060 (eval $ac_try) 2>&5
8058 ac_status=$? 8061 ac_status=$?
8059 echo "$as_me:8059: \$? = $ac_status" >&5 8062 echo "$as_me:8062: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then 8063 (exit $ac_status); }; }; then
8061 ac_cv_lib_m_sqrt=yes 8064 ac_cv_lib_m_sqrt=yes
8062 else 8065 else
8063 echo "$as_me: failed program was:" >&5 8066 echo "$as_me: failed program was:" >&5
8064 cat conftest.$ac_ext >&5 8067 cat conftest.$ac_ext >&5
8065 ac_cv_lib_m_sqrt=no 8068 ac_cv_lib_m_sqrt=no
8066 fi 8069 fi
8067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8068 LIBS=$ac_check_lib_save_LIBS 8071 LIBS=$ac_check_lib_save_LIBS
8069 fi 8072 fi
8070 echo "$as_me:8070: result: $ac_cv_lib_m_sqrt" >&5 8073 echo "$as_me:8073: result: $ac_cv_lib_m_sqrt" >&5
8071 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 8074 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8072 if test $ac_cv_lib_m_sqrt = yes; then 8075 if test $ac_cv_lib_m_sqrt = yes; then
8073 cat >>confdefs.h <<EOF 8076 cat >>confdefs.h <<EOF
8074 #define HAVE_LIBM 1 8077 #define HAVE_LIBM 1
8075 EOF 8078 EOF
8078 8081
8079 fi 8082 fi
8080 8083
8081 # Check for mail-locking functions in a "mail" library 8084 # Check for mail-locking functions in a "mail" library
8082 8085
8083 echo "$as_me:8083: checking for maillock in -lmail" >&5 8086 echo "$as_me:8086: checking for maillock in -lmail" >&5
8084 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 8087 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8085 if test "${ac_cv_lib_mail_maillock+set}" = set; then 8088 if test "${ac_cv_lib_mail_maillock+set}" = set; then
8086 echo $ECHO_N "(cached) $ECHO_C" >&6 8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 else 8090 else
8088 ac_check_lib_save_LIBS=$LIBS 8091 ac_check_lib_save_LIBS=$LIBS
8089 LIBS="-lmail $LIBS" 8092 LIBS="-lmail $LIBS"
8090 cat >conftest.$ac_ext <<_ACEOF 8093 cat >conftest.$ac_ext <<_ACEOF
8091 #line 8091 "configure" 8094 #line 8094 "configure"
8092 #include "confdefs.h" 8095 #include "confdefs.h"
8093 8096
8094 /* Override any gcc2 internal prototype to avoid an error. */ 8097 /* Override any gcc2 internal prototype to avoid an error. */
8095 #ifdef __cplusplus 8098 #ifdef __cplusplus
8096 extern "C" 8099 extern "C"
8105 ; 8108 ;
8106 return 0; 8109 return 0;
8107 } 8110 }
8108 _ACEOF 8111 _ACEOF
8109 rm -f conftest.$ac_objext conftest$ac_exeext 8112 rm -f conftest.$ac_objext conftest$ac_exeext
8110 if { (eval echo "$as_me:8110: \"$ac_link\"") >&5 8113 if { (eval echo "$as_me:8113: \"$ac_link\"") >&5
8111 (eval $ac_link) 2>&5 8114 (eval $ac_link) 2>&5
8112 ac_status=$? 8115 ac_status=$?
8113 echo "$as_me:8113: \$? = $ac_status" >&5 8116 echo "$as_me:8116: \$? = $ac_status" >&5
8114 (exit $ac_status); } && 8117 (exit $ac_status); } &&
8115 { ac_try='test -s conftest$ac_exeext' 8118 { ac_try='test -s conftest$ac_exeext'
8116 { (eval echo "$as_me:8116: \"$ac_try\"") >&5 8119 { (eval echo "$as_me:8119: \"$ac_try\"") >&5
8117 (eval $ac_try) 2>&5 8120 (eval $ac_try) 2>&5
8118 ac_status=$? 8121 ac_status=$?
8119 echo "$as_me:8119: \$? = $ac_status" >&5 8122 echo "$as_me:8122: \$? = $ac_status" >&5
8120 (exit $ac_status); }; }; then 8123 (exit $ac_status); }; }; then
8121 ac_cv_lib_mail_maillock=yes 8124 ac_cv_lib_mail_maillock=yes
8122 else 8125 else
8123 echo "$as_me: failed program was:" >&5 8126 echo "$as_me: failed program was:" >&5
8124 cat conftest.$ac_ext >&5 8127 cat conftest.$ac_ext >&5
8125 ac_cv_lib_mail_maillock=no 8128 ac_cv_lib_mail_maillock=no
8126 fi 8129 fi
8127 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8128 LIBS=$ac_check_lib_save_LIBS 8131 LIBS=$ac_check_lib_save_LIBS
8129 fi 8132 fi
8130 echo "$as_me:8130: result: $ac_cv_lib_mail_maillock" >&5 8133 echo "$as_me:8133: result: $ac_cv_lib_mail_maillock" >&5
8131 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 8134 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8132 if test $ac_cv_lib_mail_maillock = yes; then 8135 if test $ac_cv_lib_mail_maillock = yes; then
8133 cat >>confdefs.h <<EOF 8136 cat >>confdefs.h <<EOF
8134 #define HAVE_LIBMAIL 1 8137 #define HAVE_LIBMAIL 1
8135 EOF 8138 EOF
8136 8139
8137 LIBS="-lmail $LIBS" 8140 LIBS="-lmail $LIBS"
8138 8141
8139 fi 8142 fi
8140 8143
8141 echo "$as_me:8141: checking for maillock in -llockfile" >&5 8144 echo "$as_me:8144: checking for maillock in -llockfile" >&5
8142 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 8145 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8143 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 8146 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6 8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 else 8148 else
8146 ac_check_lib_save_LIBS=$LIBS 8149 ac_check_lib_save_LIBS=$LIBS
8147 LIBS="-llockfile $LIBS" 8150 LIBS="-llockfile $LIBS"
8148 cat >conftest.$ac_ext <<_ACEOF 8151 cat >conftest.$ac_ext <<_ACEOF
8149 #line 8149 "configure" 8152 #line 8152 "configure"
8150 #include "confdefs.h" 8153 #include "confdefs.h"
8151 8154
8152 /* Override any gcc2 internal prototype to avoid an error. */ 8155 /* Override any gcc2 internal prototype to avoid an error. */
8153 #ifdef __cplusplus 8156 #ifdef __cplusplus
8154 extern "C" 8157 extern "C"
8163 ; 8166 ;
8164 return 0; 8167 return 0;
8165 } 8168 }
8166 _ACEOF 8169 _ACEOF
8167 rm -f conftest.$ac_objext conftest$ac_exeext 8170 rm -f conftest.$ac_objext conftest$ac_exeext
8168 if { (eval echo "$as_me:8168: \"$ac_link\"") >&5 8171 if { (eval echo "$as_me:8171: \"$ac_link\"") >&5
8169 (eval $ac_link) 2>&5 8172 (eval $ac_link) 2>&5
8170 ac_status=$? 8173 ac_status=$?
8171 echo "$as_me:8171: \$? = $ac_status" >&5 8174 echo "$as_me:8174: \$? = $ac_status" >&5
8172 (exit $ac_status); } && 8175 (exit $ac_status); } &&
8173 { ac_try='test -s conftest$ac_exeext' 8176 { ac_try='test -s conftest$ac_exeext'
8174 { (eval echo "$as_me:8174: \"$ac_try\"") >&5 8177 { (eval echo "$as_me:8177: \"$ac_try\"") >&5
8175 (eval $ac_try) 2>&5 8178 (eval $ac_try) 2>&5
8176 ac_status=$? 8179 ac_status=$?
8177 echo "$as_me:8177: \$? = $ac_status" >&5 8180 echo "$as_me:8180: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then 8181 (exit $ac_status); }; }; then
8179 ac_cv_lib_lockfile_maillock=yes 8182 ac_cv_lib_lockfile_maillock=yes
8180 else 8183 else
8181 echo "$as_me: failed program was:" >&5 8184 echo "$as_me: failed program was:" >&5
8182 cat conftest.$ac_ext >&5 8185 cat conftest.$ac_ext >&5
8183 ac_cv_lib_lockfile_maillock=no 8186 ac_cv_lib_lockfile_maillock=no
8184 fi 8187 fi
8185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8186 LIBS=$ac_check_lib_save_LIBS 8189 LIBS=$ac_check_lib_save_LIBS
8187 fi 8190 fi
8188 echo "$as_me:8188: result: $ac_cv_lib_lockfile_maillock" >&5 8191 echo "$as_me:8191: result: $ac_cv_lib_lockfile_maillock" >&5
8189 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8192 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8190 if test $ac_cv_lib_lockfile_maillock = yes; then 8193 if test $ac_cv_lib_lockfile_maillock = yes; then
8191 cat >>confdefs.h <<EOF 8194 cat >>confdefs.h <<EOF
8192 #define HAVE_LIBLOCKFILE 1 8195 #define HAVE_LIBLOCKFILE 1
8193 EOF 8196 EOF
8200 # locking (e.g. Debian). If we couldn't link against liblockfile 8203 # locking (e.g. Debian). If we couldn't link against liblockfile
8201 # (no liblockfile.a installed), ensure that we don't need to. 8204 # (no liblockfile.a installed), ensure that we don't need to.
8202 if test "$ac_cv_lib_lockfile_maillock" = no; then 8205 if test "$ac_cv_lib_lockfile_maillock" = no; then
8203 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8206 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8204 set dummy liblockfile.so; ac_word=$2 8207 set dummy liblockfile.so; ac_word=$2
8205 echo "$as_me:8205: checking for $ac_word" >&5 8208 echo "$as_me:8208: checking for $ac_word" >&5
8206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8207 if test "${ac_cv_prog_liblockfile+set}" = set; then 8210 if test "${ac_cv_prog_liblockfile+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 else 8212 else
8210 if test -n "$liblockfile"; then 8213 if test -n "$liblockfile"; then
8215 for ac_dir in $ac_dummy; do 8218 for ac_dir in $ac_dummy; do
8216 IFS=$ac_save_IFS 8219 IFS=$ac_save_IFS
8217 test -z "$ac_dir" && ac_dir=. 8220 test -z "$ac_dir" && ac_dir=.
8218 $as_executable_p "$ac_dir/$ac_word" || continue 8221 $as_executable_p "$ac_dir/$ac_word" || continue
8219 ac_cv_prog_liblockfile="yes" 8222 ac_cv_prog_liblockfile="yes"
8220 echo "$as_me:8220: found $ac_dir/$ac_word" >&5 8223 echo "$as_me:8223: found $ac_dir/$ac_word" >&5
8221 break 8224 break
8222 done 8225 done
8223 8226
8224 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8227 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8225 fi 8228 fi
8226 fi 8229 fi
8227 liblockfile=$ac_cv_prog_liblockfile 8230 liblockfile=$ac_cv_prog_liblockfile
8228 if test -n "$liblockfile"; then 8231 if test -n "$liblockfile"; then
8229 echo "$as_me:8229: result: $liblockfile" >&5 8232 echo "$as_me:8232: result: $liblockfile" >&5
8230 echo "${ECHO_T}$liblockfile" >&6 8233 echo "${ECHO_T}$liblockfile" >&6
8231 else 8234 else
8232 echo "$as_me:8232: result: no" >&5 8235 echo "$as_me:8235: result: no" >&5
8233 echo "${ECHO_T}no" >&6 8236 echo "${ECHO_T}no" >&6
8234 fi 8237 fi
8235 8238
8236 if test $ac_cv_prog_liblockfile = yes; then 8239 if test $ac_cv_prog_liblockfile = yes; then
8237 { { echo "$as_me:8237: error: Shared liblockfile found but can't link against it. 8240 { { echo "$as_me:8240: error: Shared liblockfile found but can't link against it.
8238 This probably means that movemail could lose mail. 8241 This probably means that movemail could lose mail.
8239 There may be a \`development' package to install containing liblockfile." >&5 8242 There may be a \`development' package to install containing liblockfile." >&5
8240 echo "$as_me: error: Shared liblockfile found but can't link against it. 8243 echo "$as_me: error: Shared liblockfile found but can't link against it.
8241 This probably means that movemail could lose mail. 8244 This probably means that movemail could lose mail.
8242 There may be a \`development' package to install containing liblockfile." >&2;} 8245 There may be a \`development' package to install containing liblockfile." >&2;}
8250 fi 8253 fi
8251 8254
8252 for ac_func in touchlock 8255 for ac_func in touchlock
8253 do 8256 do
8254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8255 echo "$as_me:8255: checking for $ac_func" >&5 8258 echo "$as_me:8258: checking for $ac_func" >&5
8256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8257 if eval "test \"\${$as_ac_var+set}\" = set"; then 8260 if eval "test \"\${$as_ac_var+set}\" = set"; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6 8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8259 else 8262 else
8260 cat >conftest.$ac_ext <<_ACEOF 8263 cat >conftest.$ac_ext <<_ACEOF
8261 #line 8261 "configure" 8264 #line 8264 "configure"
8262 #include "confdefs.h" 8265 #include "confdefs.h"
8263 /* System header to define __stub macros and hopefully few prototypes, 8266 /* System header to define __stub macros and hopefully few prototypes,
8264 which can conflict with char $ac_func (); below. */ 8267 which can conflict with char $ac_func (); below. */
8265 #include <assert.h> 8268 #include <assert.h>
8266 /* Override any gcc2 internal prototype to avoid an error. */ 8269 /* Override any gcc2 internal prototype to avoid an error. */
8287 ; 8290 ;
8288 return 0; 8291 return 0;
8289 } 8292 }
8290 _ACEOF 8293 _ACEOF
8291 rm -f conftest.$ac_objext conftest$ac_exeext 8294 rm -f conftest.$ac_objext conftest$ac_exeext
8292 if { (eval echo "$as_me:8292: \"$ac_link\"") >&5 8295 if { (eval echo "$as_me:8295: \"$ac_link\"") >&5
8293 (eval $ac_link) 2>&5 8296 (eval $ac_link) 2>&5
8294 ac_status=$? 8297 ac_status=$?
8295 echo "$as_me:8295: \$? = $ac_status" >&5 8298 echo "$as_me:8298: \$? = $ac_status" >&5
8296 (exit $ac_status); } && 8299 (exit $ac_status); } &&
8297 { ac_try='test -s conftest$ac_exeext' 8300 { ac_try='test -s conftest$ac_exeext'
8298 { (eval echo "$as_me:8298: \"$ac_try\"") >&5 8301 { (eval echo "$as_me:8301: \"$ac_try\"") >&5
8299 (eval $ac_try) 2>&5 8302 (eval $ac_try) 2>&5
8300 ac_status=$? 8303 ac_status=$?
8301 echo "$as_me:8301: \$? = $ac_status" >&5 8304 echo "$as_me:8304: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then 8305 (exit $ac_status); }; }; then
8303 eval "$as_ac_var=yes" 8306 eval "$as_ac_var=yes"
8304 else 8307 else
8305 echo "$as_me: failed program was:" >&5 8308 echo "$as_me: failed program was:" >&5
8306 cat conftest.$ac_ext >&5 8309 cat conftest.$ac_ext >&5
8307 eval "$as_ac_var=no" 8310 eval "$as_ac_var=no"
8308 fi 8311 fi
8309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8310 fi 8313 fi
8311 echo "$as_me:8311: result: `eval echo '${'$as_ac_var'}'`" >&5 8314 echo "$as_me:8314: result: `eval echo '${'$as_ac_var'}'`" >&5
8312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8313 if test `eval echo '${'$as_ac_var'}'` = yes; then 8316 if test `eval echo '${'$as_ac_var'}'` = yes; then
8314 cat >>confdefs.h <<EOF 8317 cat >>confdefs.h <<EOF
8315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8316 EOF 8319 EOF
8319 done 8322 done
8320 8323
8321 for ac_header in maillock.h 8324 for ac_header in maillock.h
8322 do 8325 do
8323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8324 echo "$as_me:8324: checking for $ac_header" >&5 8327 echo "$as_me:8327: checking for $ac_header" >&5
8325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8326 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8327 echo $ECHO_N "(cached) $ECHO_C" >&6 8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8328 else 8331 else
8329 cat >conftest.$ac_ext <<_ACEOF 8332 cat >conftest.$ac_ext <<_ACEOF
8330 #line 8330 "configure" 8333 #line 8333 "configure"
8331 #include "confdefs.h" 8334 #include "confdefs.h"
8332 #include <$ac_header> 8335 #include <$ac_header>
8333 _ACEOF 8336 _ACEOF
8334 if { (eval echo "$as_me:8334: \"$ac_cpp conftest.$ac_ext\"") >&5 8337 if { (eval echo "$as_me:8337: \"$ac_cpp conftest.$ac_ext\"") >&5
8335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8336 ac_status=$? 8339 ac_status=$?
8337 egrep -v '^ *\+' conftest.er1 >conftest.err 8340 egrep -v '^ *\+' conftest.er1 >conftest.err
8338 rm -f conftest.er1 8341 rm -f conftest.er1
8339 cat conftest.err >&5 8342 cat conftest.err >&5
8340 echo "$as_me:8340: \$? = $ac_status" >&5 8343 echo "$as_me:8343: \$? = $ac_status" >&5
8341 (exit $ac_status); } >/dev/null; then 8344 (exit $ac_status); } >/dev/null; then
8342 if test -s conftest.err; then 8345 if test -s conftest.err; then
8343 ac_cpp_err=$ac_c_preproc_warn_flag 8346 ac_cpp_err=$ac_c_preproc_warn_flag
8344 else 8347 else
8345 ac_cpp_err= 8348 ac_cpp_err=
8354 cat conftest.$ac_ext >&5 8357 cat conftest.$ac_ext >&5
8355 eval "$as_ac_Header=no" 8358 eval "$as_ac_Header=no"
8356 fi 8359 fi
8357 rm -f conftest.err conftest.$ac_ext 8360 rm -f conftest.err conftest.$ac_ext
8358 fi 8361 fi
8359 echo "$as_me:8359: result: `eval echo '${'$as_ac_Header'}'`" >&5 8362 echo "$as_me:8362: result: `eval echo '${'$as_ac_Header'}'`" >&5
8360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8361 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8362 cat >>confdefs.h <<EOF 8365 cat >>confdefs.h <<EOF
8363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8364 EOF 8367 EOF
8373 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 8376 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8374 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 8377 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
8375 gai_strerror mkstemp 8378 gai_strerror mkstemp
8376 do 8379 do
8377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8378 echo "$as_me:8378: checking for $ac_func" >&5 8381 echo "$as_me:8381: checking for $ac_func" >&5
8379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8380 if eval "test \"\${$as_ac_var+set}\" = set"; then 8383 if eval "test \"\${$as_ac_var+set}\" = set"; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6 8384 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 else 8385 else
8383 cat >conftest.$ac_ext <<_ACEOF 8386 cat >conftest.$ac_ext <<_ACEOF
8384 #line 8384 "configure" 8387 #line 8387 "configure"
8385 #include "confdefs.h" 8388 #include "confdefs.h"
8386 /* System header to define __stub macros and hopefully few prototypes, 8389 /* System header to define __stub macros and hopefully few prototypes,
8387 which can conflict with char $ac_func (); below. */ 8390 which can conflict with char $ac_func (); below. */
8388 #include <assert.h> 8391 #include <assert.h>
8389 /* Override any gcc2 internal prototype to avoid an error. */ 8392 /* Override any gcc2 internal prototype to avoid an error. */
8410 ; 8413 ;
8411 return 0; 8414 return 0;
8412 } 8415 }
8413 _ACEOF 8416 _ACEOF
8414 rm -f conftest.$ac_objext conftest$ac_exeext 8417 rm -f conftest.$ac_objext conftest$ac_exeext
8415 if { (eval echo "$as_me:8415: \"$ac_link\"") >&5 8418 if { (eval echo "$as_me:8418: \"$ac_link\"") >&5
8416 (eval $ac_link) 2>&5 8419 (eval $ac_link) 2>&5
8417 ac_status=$? 8420 ac_status=$?
8418 echo "$as_me:8418: \$? = $ac_status" >&5 8421 echo "$as_me:8421: \$? = $ac_status" >&5
8419 (exit $ac_status); } && 8422 (exit $ac_status); } &&
8420 { ac_try='test -s conftest$ac_exeext' 8423 { ac_try='test -s conftest$ac_exeext'
8421 { (eval echo "$as_me:8421: \"$ac_try\"") >&5 8424 { (eval echo "$as_me:8424: \"$ac_try\"") >&5
8422 (eval $ac_try) 2>&5 8425 (eval $ac_try) 2>&5
8423 ac_status=$? 8426 ac_status=$?
8424 echo "$as_me:8424: \$? = $ac_status" >&5 8427 echo "$as_me:8427: \$? = $ac_status" >&5
8425 (exit $ac_status); }; }; then 8428 (exit $ac_status); }; }; then
8426 eval "$as_ac_var=yes" 8429 eval "$as_ac_var=yes"
8427 else 8430 else
8428 echo "$as_me: failed program was:" >&5 8431 echo "$as_me: failed program was:" >&5
8429 cat conftest.$ac_ext >&5 8432 cat conftest.$ac_ext >&5
8430 eval "$as_ac_var=no" 8433 eval "$as_ac_var=no"
8431 fi 8434 fi
8432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8433 fi 8436 fi
8434 echo "$as_me:8434: result: `eval echo '${'$as_ac_var'}'`" >&5 8437 echo "$as_me:8437: result: `eval echo '${'$as_ac_var'}'`" >&5
8435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8436 if test `eval echo '${'$as_ac_var'}'` = yes; then 8439 if test `eval echo '${'$as_ac_var'}'` = yes; then
8437 cat >>confdefs.h <<EOF 8440 cat >>confdefs.h <<EOF
8438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8439 EOF 8442 EOF
8442 done 8445 done
8443 8446
8444 for ac_header in sys/time.h unistd.h 8447 for ac_header in sys/time.h unistd.h
8445 do 8448 do
8446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8447 echo "$as_me:8447: checking for $ac_header" >&5 8450 echo "$as_me:8450: checking for $ac_header" >&5
8448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8449 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6 8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 else 8454 else
8452 cat >conftest.$ac_ext <<_ACEOF 8455 cat >conftest.$ac_ext <<_ACEOF
8453 #line 8453 "configure" 8456 #line 8456 "configure"
8454 #include "confdefs.h" 8457 #include "confdefs.h"
8455 #include <$ac_header> 8458 #include <$ac_header>
8456 _ACEOF 8459 _ACEOF
8457 if { (eval echo "$as_me:8457: \"$ac_cpp conftest.$ac_ext\"") >&5 8460 if { (eval echo "$as_me:8460: \"$ac_cpp conftest.$ac_ext\"") >&5
8458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8459 ac_status=$? 8462 ac_status=$?
8460 egrep -v '^ *\+' conftest.er1 >conftest.err 8463 egrep -v '^ *\+' conftest.er1 >conftest.err
8461 rm -f conftest.er1 8464 rm -f conftest.er1
8462 cat conftest.err >&5 8465 cat conftest.err >&5
8463 echo "$as_me:8463: \$? = $ac_status" >&5 8466 echo "$as_me:8466: \$? = $ac_status" >&5
8464 (exit $ac_status); } >/dev/null; then 8467 (exit $ac_status); } >/dev/null; then
8465 if test -s conftest.err; then 8468 if test -s conftest.err; then
8466 ac_cpp_err=$ac_c_preproc_warn_flag 8469 ac_cpp_err=$ac_c_preproc_warn_flag
8467 else 8470 else
8468 ac_cpp_err= 8471 ac_cpp_err=
8477 cat conftest.$ac_ext >&5 8480 cat conftest.$ac_ext >&5
8478 eval "$as_ac_Header=no" 8481 eval "$as_ac_Header=no"
8479 fi 8482 fi
8480 rm -f conftest.err conftest.$ac_ext 8483 rm -f conftest.err conftest.$ac_ext
8481 fi 8484 fi
8482 echo "$as_me:8482: result: `eval echo '${'$as_ac_Header'}'`" >&5 8485 echo "$as_me:8485: result: `eval echo '${'$as_ac_Header'}'`" >&5
8483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8484 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8485 cat >>confdefs.h <<EOF 8488 cat >>confdefs.h <<EOF
8486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8487 EOF 8490 EOF
8490 done 8493 done
8491 8494
8492 for ac_func in alarm 8495 for ac_func in alarm
8493 do 8496 do
8494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8495 echo "$as_me:8495: checking for $ac_func" >&5 8498 echo "$as_me:8498: checking for $ac_func" >&5
8496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8497 if eval "test \"\${$as_ac_var+set}\" = set"; then 8500 if eval "test \"\${$as_ac_var+set}\" = set"; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6 8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 else 8502 else
8500 cat >conftest.$ac_ext <<_ACEOF 8503 cat >conftest.$ac_ext <<_ACEOF
8501 #line 8501 "configure" 8504 #line 8504 "configure"
8502 #include "confdefs.h" 8505 #include "confdefs.h"
8503 /* System header to define __stub macros and hopefully few prototypes, 8506 /* System header to define __stub macros and hopefully few prototypes,
8504 which can conflict with char $ac_func (); below. */ 8507 which can conflict with char $ac_func (); below. */
8505 #include <assert.h> 8508 #include <assert.h>
8506 /* Override any gcc2 internal prototype to avoid an error. */ 8509 /* Override any gcc2 internal prototype to avoid an error. */
8527 ; 8530 ;
8528 return 0; 8531 return 0;
8529 } 8532 }
8530 _ACEOF 8533 _ACEOF
8531 rm -f conftest.$ac_objext conftest$ac_exeext 8534 rm -f conftest.$ac_objext conftest$ac_exeext
8532 if { (eval echo "$as_me:8532: \"$ac_link\"") >&5 8535 if { (eval echo "$as_me:8535: \"$ac_link\"") >&5
8533 (eval $ac_link) 2>&5 8536 (eval $ac_link) 2>&5
8534 ac_status=$? 8537 ac_status=$?
8535 echo "$as_me:8535: \$? = $ac_status" >&5 8538 echo "$as_me:8538: \$? = $ac_status" >&5
8536 (exit $ac_status); } && 8539 (exit $ac_status); } &&
8537 { ac_try='test -s conftest$ac_exeext' 8540 { ac_try='test -s conftest$ac_exeext'
8538 { (eval echo "$as_me:8538: \"$ac_try\"") >&5 8541 { (eval echo "$as_me:8541: \"$ac_try\"") >&5
8539 (eval $ac_try) 2>&5 8542 (eval $ac_try) 2>&5
8540 ac_status=$? 8543 ac_status=$?
8541 echo "$as_me:8541: \$? = $ac_status" >&5 8544 echo "$as_me:8544: \$? = $ac_status" >&5
8542 (exit $ac_status); }; }; then 8545 (exit $ac_status); }; }; then
8543 eval "$as_ac_var=yes" 8546 eval "$as_ac_var=yes"
8544 else 8547 else
8545 echo "$as_me: failed program was:" >&5 8548 echo "$as_me: failed program was:" >&5
8546 cat conftest.$ac_ext >&5 8549 cat conftest.$ac_ext >&5
8547 eval "$as_ac_var=no" 8550 eval "$as_ac_var=no"
8548 fi 8551 fi
8549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8550 fi 8553 fi
8551 echo "$as_me:8551: result: `eval echo '${'$as_ac_var'}'`" >&5 8554 echo "$as_me:8554: result: `eval echo '${'$as_ac_var'}'`" >&5
8552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8553 if test `eval echo '${'$as_ac_var'}'` = yes; then 8556 if test `eval echo '${'$as_ac_var'}'` = yes; then
8554 cat >>confdefs.h <<EOF 8557 cat >>confdefs.h <<EOF
8555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8556 EOF 8559 EOF
8557 8560
8558 fi 8561 fi
8559 done 8562 done
8560 8563
8561 echo "$as_me:8561: checking for working mktime" >&5 8564 echo "$as_me:8564: checking for working mktime" >&5
8562 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8565 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8563 if test "${ac_cv_func_working_mktime+set}" = set; then 8566 if test "${ac_cv_func_working_mktime+set}" = set; then
8564 echo $ECHO_N "(cached) $ECHO_C" >&6 8567 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 else 8568 else
8566 if test "$cross_compiling" = yes; then 8569 if test "$cross_compiling" = yes; then
8567 ac_cv_func_working_mktime=no 8570 ac_cv_func_working_mktime=no
8568 else 8571 else
8569 cat >conftest.$ac_ext <<_ACEOF 8572 cat >conftest.$ac_ext <<_ACEOF
8570 #line 8570 "configure" 8573 #line 8573 "configure"
8571 #include "confdefs.h" 8574 #include "confdefs.h"
8572 /* Test program from Paul Eggert and Tony Leneis. */ 8575 /* Test program from Paul Eggert and Tony Leneis. */
8573 #if TIME_WITH_SYS_TIME 8576 #if TIME_WITH_SYS_TIME
8574 # include <sys/time.h> 8577 # include <sys/time.h>
8575 # include <time.h> 8578 # include <time.h>
8714 spring_forward_gap (); 8717 spring_forward_gap ();
8715 exit (0); 8718 exit (0);
8716 } 8719 }
8717 _ACEOF 8720 _ACEOF
8718 rm -f conftest$ac_exeext 8721 rm -f conftest$ac_exeext
8719 if { (eval echo "$as_me:8719: \"$ac_link\"") >&5 8722 if { (eval echo "$as_me:8722: \"$ac_link\"") >&5
8720 (eval $ac_link) 2>&5 8723 (eval $ac_link) 2>&5
8721 ac_status=$? 8724 ac_status=$?
8722 echo "$as_me:8722: \$? = $ac_status" >&5 8725 echo "$as_me:8725: \$? = $ac_status" >&5
8723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8724 { (eval echo "$as_me:8724: \"$ac_try\"") >&5 8727 { (eval echo "$as_me:8727: \"$ac_try\"") >&5
8725 (eval $ac_try) 2>&5 8728 (eval $ac_try) 2>&5
8726 ac_status=$? 8729 ac_status=$?
8727 echo "$as_me:8727: \$? = $ac_status" >&5 8730 echo "$as_me:8730: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then 8731 (exit $ac_status); }; }; then
8729 ac_cv_func_working_mktime=yes 8732 ac_cv_func_working_mktime=yes
8730 else 8733 else
8731 echo "$as_me: program exited with status $ac_status" >&5 8734 echo "$as_me: program exited with status $ac_status" >&5
8732 echo "$as_me: failed program was:" >&5 8735 echo "$as_me: failed program was:" >&5
8734 ac_cv_func_working_mktime=no 8737 ac_cv_func_working_mktime=no
8735 fi 8738 fi
8736 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8739 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8737 fi 8740 fi
8738 fi 8741 fi
8739 echo "$as_me:8739: result: $ac_cv_func_working_mktime" >&5 8742 echo "$as_me:8742: result: $ac_cv_func_working_mktime" >&5
8740 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8743 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8741 if test $ac_cv_func_working_mktime = no; then 8744 if test $ac_cv_func_working_mktime = no; then
8742 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8745 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8743 fi 8746 fi
8744 8747
8752 ac_have_func=no # yes means we've found a way to get the load average. 8755 ac_have_func=no # yes means we've found a way to get the load average.
8753 8756
8754 ac_save_LIBS=$LIBS 8757 ac_save_LIBS=$LIBS
8755 8758
8756 # Check for getloadavg, but be sure not to touch the cache variable. 8759 # Check for getloadavg, but be sure not to touch the cache variable.
8757 (echo "$as_me:8757: checking for getloadavg" >&5 8760 (echo "$as_me:8760: checking for getloadavg" >&5
8758 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8761 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8759 if test "${ac_cv_func_getloadavg+set}" = set; then 8762 if test "${ac_cv_func_getloadavg+set}" = set; then
8760 echo $ECHO_N "(cached) $ECHO_C" >&6 8763 echo $ECHO_N "(cached) $ECHO_C" >&6
8761 else 8764 else
8762 cat >conftest.$ac_ext <<_ACEOF 8765 cat >conftest.$ac_ext <<_ACEOF
8763 #line 8763 "configure" 8766 #line 8766 "configure"
8764 #include "confdefs.h" 8767 #include "confdefs.h"
8765 /* System header to define __stub macros and hopefully few prototypes, 8768 /* System header to define __stub macros and hopefully few prototypes,
8766 which can conflict with char getloadavg (); below. */ 8769 which can conflict with char getloadavg (); below. */
8767 #include <assert.h> 8770 #include <assert.h>
8768 /* Override any gcc2 internal prototype to avoid an error. */ 8771 /* Override any gcc2 internal prototype to avoid an error. */
8789 ; 8792 ;
8790 return 0; 8793 return 0;
8791 } 8794 }
8792 _ACEOF 8795 _ACEOF
8793 rm -f conftest.$ac_objext conftest$ac_exeext 8796 rm -f conftest.$ac_objext conftest$ac_exeext
8794 if { (eval echo "$as_me:8794: \"$ac_link\"") >&5 8797 if { (eval echo "$as_me:8797: \"$ac_link\"") >&5
8795 (eval $ac_link) 2>&5 8798 (eval $ac_link) 2>&5
8796 ac_status=$? 8799 ac_status=$?
8797 echo "$as_me:8797: \$? = $ac_status" >&5 8800 echo "$as_me:8800: \$? = $ac_status" >&5
8798 (exit $ac_status); } && 8801 (exit $ac_status); } &&
8799 { ac_try='test -s conftest$ac_exeext' 8802 { ac_try='test -s conftest$ac_exeext'
8800 { (eval echo "$as_me:8800: \"$ac_try\"") >&5 8803 { (eval echo "$as_me:8803: \"$ac_try\"") >&5
8801 (eval $ac_try) 2>&5 8804 (eval $ac_try) 2>&5
8802 ac_status=$? 8805 ac_status=$?
8803 echo "$as_me:8803: \$? = $ac_status" >&5 8806 echo "$as_me:8806: \$? = $ac_status" >&5
8804 (exit $ac_status); }; }; then 8807 (exit $ac_status); }; }; then
8805 ac_cv_func_getloadavg=yes 8808 ac_cv_func_getloadavg=yes
8806 else 8809 else
8807 echo "$as_me: failed program was:" >&5 8810 echo "$as_me: failed program was:" >&5
8808 cat conftest.$ac_ext >&5 8811 cat conftest.$ac_ext >&5
8809 ac_cv_func_getloadavg=no 8812 ac_cv_func_getloadavg=no
8810 fi 8813 fi
8811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8812 fi 8815 fi
8813 echo "$as_me:8813: result: $ac_cv_func_getloadavg" >&5 8816 echo "$as_me:8816: result: $ac_cv_func_getloadavg" >&5
8814 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 8817 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8815 if test $ac_cv_func_getloadavg = yes; then 8818 if test $ac_cv_func_getloadavg = yes; then
8816 exit 0 8819 exit 0
8817 else 8820 else
8818 exit 1 8821 exit 1
8822 # On HPUX9, an unprivileged user can get load averages through this function. 8825 # On HPUX9, an unprivileged user can get load averages through this function.
8823 8826
8824 for ac_func in pstat_getdynamic 8827 for ac_func in pstat_getdynamic
8825 do 8828 do
8826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8827 echo "$as_me:8827: checking for $ac_func" >&5 8830 echo "$as_me:8830: checking for $ac_func" >&5
8828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8829 if eval "test \"\${$as_ac_var+set}\" = set"; then 8832 if eval "test \"\${$as_ac_var+set}\" = set"; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6 8833 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 else 8834 else
8832 cat >conftest.$ac_ext <<_ACEOF 8835 cat >conftest.$ac_ext <<_ACEOF
8833 #line 8833 "configure" 8836 #line 8836 "configure"
8834 #include "confdefs.h" 8837 #include "confdefs.h"
8835 /* System header to define __stub macros and hopefully few prototypes, 8838 /* System header to define __stub macros and hopefully few prototypes,
8836 which can conflict with char $ac_func (); below. */ 8839 which can conflict with char $ac_func (); below. */
8837 #include <assert.h> 8840 #include <assert.h>
8838 /* Override any gcc2 internal prototype to avoid an error. */ 8841 /* Override any gcc2 internal prototype to avoid an error. */
8859 ; 8862 ;
8860 return 0; 8863 return 0;
8861 } 8864 }
8862 _ACEOF 8865 _ACEOF
8863 rm -f conftest.$ac_objext conftest$ac_exeext 8866 rm -f conftest.$ac_objext conftest$ac_exeext
8864 if { (eval echo "$as_me:8864: \"$ac_link\"") >&5 8867 if { (eval echo "$as_me:8867: \"$ac_link\"") >&5
8865 (eval $ac_link) 2>&5 8868 (eval $ac_link) 2>&5
8866 ac_status=$? 8869 ac_status=$?
8867 echo "$as_me:8867: \$? = $ac_status" >&5 8870 echo "$as_me:8870: \$? = $ac_status" >&5
8868 (exit $ac_status); } && 8871 (exit $ac_status); } &&
8869 { ac_try='test -s conftest$ac_exeext' 8872 { ac_try='test -s conftest$ac_exeext'
8870 { (eval echo "$as_me:8870: \"$ac_try\"") >&5 8873 { (eval echo "$as_me:8873: \"$ac_try\"") >&5
8871 (eval $ac_try) 2>&5 8874 (eval $ac_try) 2>&5
8872 ac_status=$? 8875 ac_status=$?
8873 echo "$as_me:8873: \$? = $ac_status" >&5 8876 echo "$as_me:8876: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then 8877 (exit $ac_status); }; }; then
8875 eval "$as_ac_var=yes" 8878 eval "$as_ac_var=yes"
8876 else 8879 else
8877 echo "$as_me: failed program was:" >&5 8880 echo "$as_me: failed program was:" >&5
8878 cat conftest.$ac_ext >&5 8881 cat conftest.$ac_ext >&5
8879 eval "$as_ac_var=no" 8882 eval "$as_ac_var=no"
8880 fi 8883 fi
8881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8882 fi 8885 fi
8883 echo "$as_me:8883: result: `eval echo '${'$as_ac_var'}'`" >&5 8886 echo "$as_me:8886: result: `eval echo '${'$as_ac_var'}'`" >&5
8884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8885 if test `eval echo '${'$as_ac_var'}'` = yes; then 8888 if test `eval echo '${'$as_ac_var'}'` = yes; then
8886 cat >>confdefs.h <<EOF 8889 cat >>confdefs.h <<EOF
8887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8888 EOF 8891 EOF
8890 fi 8893 fi
8891 done 8894 done
8892 8895
8893 # Solaris has libkstat which does not require root. 8896 # Solaris has libkstat which does not require root.
8894 8897
8895 echo "$as_me:8895: checking for kstat_open in -lkstat" >&5 8898 echo "$as_me:8898: checking for kstat_open in -lkstat" >&5
8896 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 8899 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8897 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 8900 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8898 echo $ECHO_N "(cached) $ECHO_C" >&6 8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 else 8902 else
8900 ac_check_lib_save_LIBS=$LIBS 8903 ac_check_lib_save_LIBS=$LIBS
8901 LIBS="-lkstat $LIBS" 8904 LIBS="-lkstat $LIBS"
8902 cat >conftest.$ac_ext <<_ACEOF 8905 cat >conftest.$ac_ext <<_ACEOF
8903 #line 8903 "configure" 8906 #line 8906 "configure"
8904 #include "confdefs.h" 8907 #include "confdefs.h"
8905 8908
8906 /* Override any gcc2 internal prototype to avoid an error. */ 8909 /* Override any gcc2 internal prototype to avoid an error. */
8907 #ifdef __cplusplus 8910 #ifdef __cplusplus
8908 extern "C" 8911 extern "C"
8917 ; 8920 ;
8918 return 0; 8921 return 0;
8919 } 8922 }
8920 _ACEOF 8923 _ACEOF
8921 rm -f conftest.$ac_objext conftest$ac_exeext 8924 rm -f conftest.$ac_objext conftest$ac_exeext
8922 if { (eval echo "$as_me:8922: \"$ac_link\"") >&5 8925 if { (eval echo "$as_me:8925: \"$ac_link\"") >&5
8923 (eval $ac_link) 2>&5 8926 (eval $ac_link) 2>&5
8924 ac_status=$? 8927 ac_status=$?
8925 echo "$as_me:8925: \$? = $ac_status" >&5 8928 echo "$as_me:8928: \$? = $ac_status" >&5
8926 (exit $ac_status); } && 8929 (exit $ac_status); } &&
8927 { ac_try='test -s conftest$ac_exeext' 8930 { ac_try='test -s conftest$ac_exeext'
8928 { (eval echo "$as_me:8928: \"$ac_try\"") >&5 8931 { (eval echo "$as_me:8931: \"$ac_try\"") >&5
8929 (eval $ac_try) 2>&5 8932 (eval $ac_try) 2>&5
8930 ac_status=$? 8933 ac_status=$?
8931 echo "$as_me:8931: \$? = $ac_status" >&5 8934 echo "$as_me:8934: \$? = $ac_status" >&5
8932 (exit $ac_status); }; }; then 8935 (exit $ac_status); }; }; then
8933 ac_cv_lib_kstat_kstat_open=yes 8936 ac_cv_lib_kstat_kstat_open=yes
8934 else 8937 else
8935 echo "$as_me: failed program was:" >&5 8938 echo "$as_me: failed program was:" >&5
8936 cat conftest.$ac_ext >&5 8939 cat conftest.$ac_ext >&5
8937 ac_cv_lib_kstat_kstat_open=no 8940 ac_cv_lib_kstat_kstat_open=no
8938 fi 8941 fi
8939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8940 LIBS=$ac_check_lib_save_LIBS 8943 LIBS=$ac_check_lib_save_LIBS
8941 fi 8944 fi
8942 echo "$as_me:8942: result: $ac_cv_lib_kstat_kstat_open" >&5 8945 echo "$as_me:8945: result: $ac_cv_lib_kstat_kstat_open" >&5
8943 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 8946 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8944 if test $ac_cv_lib_kstat_kstat_open = yes; then 8947 if test $ac_cv_lib_kstat_kstat_open = yes; then
8945 cat >>confdefs.h <<EOF 8948 cat >>confdefs.h <<EOF
8946 #define HAVE_LIBKSTAT 1 8949 #define HAVE_LIBKSTAT 1
8947 EOF 8950 EOF
8955 # Some systems with -lutil have (and need) -lkvm as well, some do not. 8958 # Some systems with -lutil have (and need) -lkvm as well, some do not.
8956 # On Solaris, -lkvm requires nlist from -lelf, so check that first 8959 # On Solaris, -lkvm requires nlist from -lelf, so check that first
8957 # to get the right answer into the cache. 8960 # to get the right answer into the cache.
8958 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 8961 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
8959 if test $ac_have_func = no; then 8962 if test $ac_have_func = no; then
8960 echo "$as_me:8960: checking for elf_begin in -lelf" >&5 8963 echo "$as_me:8963: checking for elf_begin in -lelf" >&5
8961 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 8964 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8962 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 8965 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8963 echo $ECHO_N "(cached) $ECHO_C" >&6 8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8964 else 8967 else
8965 ac_check_lib_save_LIBS=$LIBS 8968 ac_check_lib_save_LIBS=$LIBS
8966 LIBS="-lelf $LIBS" 8969 LIBS="-lelf $LIBS"
8967 cat >conftest.$ac_ext <<_ACEOF 8970 cat >conftest.$ac_ext <<_ACEOF
8968 #line 8968 "configure" 8971 #line 8971 "configure"
8969 #include "confdefs.h" 8972 #include "confdefs.h"
8970 8973
8971 /* Override any gcc2 internal prototype to avoid an error. */ 8974 /* Override any gcc2 internal prototype to avoid an error. */
8972 #ifdef __cplusplus 8975 #ifdef __cplusplus
8973 extern "C" 8976 extern "C"
8982 ; 8985 ;
8983 return 0; 8986 return 0;
8984 } 8987 }
8985 _ACEOF 8988 _ACEOF
8986 rm -f conftest.$ac_objext conftest$ac_exeext 8989 rm -f conftest.$ac_objext conftest$ac_exeext
8987 if { (eval echo "$as_me:8987: \"$ac_link\"") >&5 8990 if { (eval echo "$as_me:8990: \"$ac_link\"") >&5
8988 (eval $ac_link) 2>&5 8991 (eval $ac_link) 2>&5
8989 ac_status=$? 8992 ac_status=$?
8990 echo "$as_me:8990: \$? = $ac_status" >&5 8993 echo "$as_me:8993: \$? = $ac_status" >&5
8991 (exit $ac_status); } && 8994 (exit $ac_status); } &&
8992 { ac_try='test -s conftest$ac_exeext' 8995 { ac_try='test -s conftest$ac_exeext'
8993 { (eval echo "$as_me:8993: \"$ac_try\"") >&5 8996 { (eval echo "$as_me:8996: \"$ac_try\"") >&5
8994 (eval $ac_try) 2>&5 8997 (eval $ac_try) 2>&5
8995 ac_status=$? 8998 ac_status=$?
8996 echo "$as_me:8996: \$? = $ac_status" >&5 8999 echo "$as_me:8999: \$? = $ac_status" >&5
8997 (exit $ac_status); }; }; then 9000 (exit $ac_status); }; }; then
8998 ac_cv_lib_elf_elf_begin=yes 9001 ac_cv_lib_elf_elf_begin=yes
8999 else 9002 else
9000 echo "$as_me: failed program was:" >&5 9003 echo "$as_me: failed program was:" >&5
9001 cat conftest.$ac_ext >&5 9004 cat conftest.$ac_ext >&5
9002 ac_cv_lib_elf_elf_begin=no 9005 ac_cv_lib_elf_elf_begin=no
9003 fi 9006 fi
9004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9005 LIBS=$ac_check_lib_save_LIBS 9008 LIBS=$ac_check_lib_save_LIBS
9006 fi 9009 fi
9007 echo "$as_me:9007: result: $ac_cv_lib_elf_elf_begin" >&5 9010 echo "$as_me:9010: result: $ac_cv_lib_elf_elf_begin" >&5
9008 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 9011 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9009 if test $ac_cv_lib_elf_elf_begin = yes; then 9012 if test $ac_cv_lib_elf_elf_begin = yes; then
9010 LIBS="-lelf $LIBS" 9013 LIBS="-lelf $LIBS"
9011 fi 9014 fi
9012 9015
9013 fi 9016 fi
9014 if test $ac_have_func = no; then 9017 if test $ac_have_func = no; then
9015 echo "$as_me:9015: checking for kvm_open in -lkvm" >&5 9018 echo "$as_me:9018: checking for kvm_open in -lkvm" >&5
9016 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 9019 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9017 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 9020 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6 9021 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 else 9022 else
9020 ac_check_lib_save_LIBS=$LIBS 9023 ac_check_lib_save_LIBS=$LIBS
9021 LIBS="-lkvm $LIBS" 9024 LIBS="-lkvm $LIBS"
9022 cat >conftest.$ac_ext <<_ACEOF 9025 cat >conftest.$ac_ext <<_ACEOF
9023 #line 9023 "configure" 9026 #line 9026 "configure"
9024 #include "confdefs.h" 9027 #include "confdefs.h"
9025 9028
9026 /* Override any gcc2 internal prototype to avoid an error. */ 9029 /* Override any gcc2 internal prototype to avoid an error. */
9027 #ifdef __cplusplus 9030 #ifdef __cplusplus
9028 extern "C" 9031 extern "C"
9037 ; 9040 ;
9038 return 0; 9041 return 0;
9039 } 9042 }
9040 _ACEOF 9043 _ACEOF
9041 rm -f conftest.$ac_objext conftest$ac_exeext 9044 rm -f conftest.$ac_objext conftest$ac_exeext
9042 if { (eval echo "$as_me:9042: \"$ac_link\"") >&5 9045 if { (eval echo "$as_me:9045: \"$ac_link\"") >&5
9043 (eval $ac_link) 2>&5 9046 (eval $ac_link) 2>&5
9044 ac_status=$? 9047 ac_status=$?
9045 echo "$as_me:9045: \$? = $ac_status" >&5 9048 echo "$as_me:9048: \$? = $ac_status" >&5
9046 (exit $ac_status); } && 9049 (exit $ac_status); } &&
9047 { ac_try='test -s conftest$ac_exeext' 9050 { ac_try='test -s conftest$ac_exeext'
9048 { (eval echo "$as_me:9048: \"$ac_try\"") >&5 9051 { (eval echo "$as_me:9051: \"$ac_try\"") >&5
9049 (eval $ac_try) 2>&5 9052 (eval $ac_try) 2>&5
9050 ac_status=$? 9053 ac_status=$?
9051 echo "$as_me:9051: \$? = $ac_status" >&5 9054 echo "$as_me:9054: \$? = $ac_status" >&5
9052 (exit $ac_status); }; }; then 9055 (exit $ac_status); }; }; then
9053 ac_cv_lib_kvm_kvm_open=yes 9056 ac_cv_lib_kvm_kvm_open=yes
9054 else 9057 else
9055 echo "$as_me: failed program was:" >&5 9058 echo "$as_me: failed program was:" >&5
9056 cat conftest.$ac_ext >&5 9059 cat conftest.$ac_ext >&5
9057 ac_cv_lib_kvm_kvm_open=no 9060 ac_cv_lib_kvm_kvm_open=no
9058 fi 9061 fi
9059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9060 LIBS=$ac_check_lib_save_LIBS 9063 LIBS=$ac_check_lib_save_LIBS
9061 fi 9064 fi
9062 echo "$as_me:9062: result: $ac_cv_lib_kvm_kvm_open" >&5 9065 echo "$as_me:9065: result: $ac_cv_lib_kvm_kvm_open" >&5
9063 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 9066 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9064 if test $ac_cv_lib_kvm_kvm_open = yes; then 9067 if test $ac_cv_lib_kvm_kvm_open = yes; then
9065 LIBS="-lkvm $LIBS" 9068 LIBS="-lkvm $LIBS"
9066 fi 9069 fi
9067 9070
9068 # Check for the 4.4BSD definition of getloadavg. 9071 # Check for the 4.4BSD definition of getloadavg.
9069 echo "$as_me:9069: checking for getloadavg in -lutil" >&5 9072 echo "$as_me:9072: checking for getloadavg in -lutil" >&5
9070 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 9073 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9071 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 9074 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6 9075 echo $ECHO_N "(cached) $ECHO_C" >&6
9073 else 9076 else
9074 ac_check_lib_save_LIBS=$LIBS 9077 ac_check_lib_save_LIBS=$LIBS
9075 LIBS="-lutil $LIBS" 9078 LIBS="-lutil $LIBS"
9076 cat >conftest.$ac_ext <<_ACEOF 9079 cat >conftest.$ac_ext <<_ACEOF
9077 #line 9077 "configure" 9080 #line 9080 "configure"
9078 #include "confdefs.h" 9081 #include "confdefs.h"
9079 9082
9080 /* Override any gcc2 internal prototype to avoid an error. */ 9083 /* Override any gcc2 internal prototype to avoid an error. */
9081 #ifdef __cplusplus 9084 #ifdef __cplusplus
9082 extern "C" 9085 extern "C"
9091 ; 9094 ;
9092 return 0; 9095 return 0;
9093 } 9096 }
9094 _ACEOF 9097 _ACEOF
9095 rm -f conftest.$ac_objext conftest$ac_exeext 9098 rm -f conftest.$ac_objext conftest$ac_exeext
9096 if { (eval echo "$as_me:9096: \"$ac_link\"") >&5 9099 if { (eval echo "$as_me:9099: \"$ac_link\"") >&5
9097 (eval $ac_link) 2>&5 9100 (eval $ac_link) 2>&5
9098 ac_status=$? 9101 ac_status=$?
9099 echo "$as_me:9099: \$? = $ac_status" >&5 9102 echo "$as_me:9102: \$? = $ac_status" >&5
9100 (exit $ac_status); } && 9103 (exit $ac_status); } &&
9101 { ac_try='test -s conftest$ac_exeext' 9104 { ac_try='test -s conftest$ac_exeext'
9102 { (eval echo "$as_me:9102: \"$ac_try\"") >&5 9105 { (eval echo "$as_me:9105: \"$ac_try\"") >&5
9103 (eval $ac_try) 2>&5 9106 (eval $ac_try) 2>&5
9104 ac_status=$? 9107 ac_status=$?
9105 echo "$as_me:9105: \$? = $ac_status" >&5 9108 echo "$as_me:9108: \$? = $ac_status" >&5
9106 (exit $ac_status); }; }; then 9109 (exit $ac_status); }; }; then
9107 ac_cv_lib_util_getloadavg=yes 9110 ac_cv_lib_util_getloadavg=yes
9108 else 9111 else
9109 echo "$as_me: failed program was:" >&5 9112 echo "$as_me: failed program was:" >&5
9110 cat conftest.$ac_ext >&5 9113 cat conftest.$ac_ext >&5
9111 ac_cv_lib_util_getloadavg=no 9114 ac_cv_lib_util_getloadavg=no
9112 fi 9115 fi
9113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9114 LIBS=$ac_check_lib_save_LIBS 9117 LIBS=$ac_check_lib_save_LIBS
9115 fi 9118 fi
9116 echo "$as_me:9116: result: $ac_cv_lib_util_getloadavg" >&5 9119 echo "$as_me:9119: result: $ac_cv_lib_util_getloadavg" >&5
9117 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 9120 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9118 if test $ac_cv_lib_util_getloadavg = yes; then 9121 if test $ac_cv_lib_util_getloadavg = yes; then
9119 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 9122 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
9120 fi 9123 fi
9121 9124
9124 if test $ac_have_func = no; then 9127 if test $ac_have_func = no; then
9125 # There is a commonly available library for RS/6000 AIX. 9128 # There is a commonly available library for RS/6000 AIX.
9126 # Since it is not a standard part of AIX, it might be installed locally. 9129 # Since it is not a standard part of AIX, it might be installed locally.
9127 ac_getloadavg_LIBS=$LIBS 9130 ac_getloadavg_LIBS=$LIBS
9128 LIBS="-L/usr/local/lib $LIBS" 9131 LIBS="-L/usr/local/lib $LIBS"
9129 echo "$as_me:9129: checking for getloadavg in -lgetloadavg" >&5 9132 echo "$as_me:9132: checking for getloadavg in -lgetloadavg" >&5
9130 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 9133 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9131 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 9134 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9132 echo $ECHO_N "(cached) $ECHO_C" >&6 9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 else 9136 else
9134 ac_check_lib_save_LIBS=$LIBS 9137 ac_check_lib_save_LIBS=$LIBS
9135 LIBS="-lgetloadavg $LIBS" 9138 LIBS="-lgetloadavg $LIBS"
9136 cat >conftest.$ac_ext <<_ACEOF 9139 cat >conftest.$ac_ext <<_ACEOF
9137 #line 9137 "configure" 9140 #line 9140 "configure"
9138 #include "confdefs.h" 9141 #include "confdefs.h"
9139 9142
9140 /* Override any gcc2 internal prototype to avoid an error. */ 9143 /* Override any gcc2 internal prototype to avoid an error. */
9141 #ifdef __cplusplus 9144 #ifdef __cplusplus
9142 extern "C" 9145 extern "C"
9151 ; 9154 ;
9152 return 0; 9155 return 0;
9153 } 9156 }
9154 _ACEOF 9157 _ACEOF
9155 rm -f conftest.$ac_objext conftest$ac_exeext 9158 rm -f conftest.$ac_objext conftest$ac_exeext
9156 if { (eval echo "$as_me:9156: \"$ac_link\"") >&5 9159 if { (eval echo "$as_me:9159: \"$ac_link\"") >&5
9157 (eval $ac_link) 2>&5 9160 (eval $ac_link) 2>&5
9158 ac_status=$? 9161 ac_status=$?
9159 echo "$as_me:9159: \$? = $ac_status" >&5 9162 echo "$as_me:9162: \$? = $ac_status" >&5
9160 (exit $ac_status); } && 9163 (exit $ac_status); } &&
9161 { ac_try='test -s conftest$ac_exeext' 9164 { ac_try='test -s conftest$ac_exeext'
9162 { (eval echo "$as_me:9162: \"$ac_try\"") >&5 9165 { (eval echo "$as_me:9165: \"$ac_try\"") >&5
9163 (eval $ac_try) 2>&5 9166 (eval $ac_try) 2>&5
9164 ac_status=$? 9167 ac_status=$?
9165 echo "$as_me:9165: \$? = $ac_status" >&5 9168 echo "$as_me:9168: \$? = $ac_status" >&5
9166 (exit $ac_status); }; }; then 9169 (exit $ac_status); }; }; then
9167 ac_cv_lib_getloadavg_getloadavg=yes 9170 ac_cv_lib_getloadavg_getloadavg=yes
9168 else 9171 else
9169 echo "$as_me: failed program was:" >&5 9172 echo "$as_me: failed program was:" >&5
9170 cat conftest.$ac_ext >&5 9173 cat conftest.$ac_ext >&5
9171 ac_cv_lib_getloadavg_getloadavg=no 9174 ac_cv_lib_getloadavg_getloadavg=no
9172 fi 9175 fi
9173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9176 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9174 LIBS=$ac_check_lib_save_LIBS 9177 LIBS=$ac_check_lib_save_LIBS
9175 fi 9178 fi
9176 echo "$as_me:9176: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9179 echo "$as_me:9179: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9177 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9180 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9178 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9181 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9179 LIBS="-lgetloadavg $LIBS" 9182 LIBS="-lgetloadavg $LIBS"
9180 else 9183 else
9181 LIBS=$ac_getloadavg_LIBS 9184 LIBS=$ac_getloadavg_LIBS
9187 # otherwise set up the replacement function. 9190 # otherwise set up the replacement function.
9188 9191
9189 for ac_func in getloadavg 9192 for ac_func in getloadavg
9190 do 9193 do
9191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9192 echo "$as_me:9192: checking for $ac_func" >&5 9195 echo "$as_me:9195: checking for $ac_func" >&5
9193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9194 if eval "test \"\${$as_ac_var+set}\" = set"; then 9197 if eval "test \"\${$as_ac_var+set}\" = set"; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6 9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9196 else 9199 else
9197 cat >conftest.$ac_ext <<_ACEOF 9200 cat >conftest.$ac_ext <<_ACEOF
9198 #line 9198 "configure" 9201 #line 9201 "configure"
9199 #include "confdefs.h" 9202 #include "confdefs.h"
9200 /* System header to define __stub macros and hopefully few prototypes, 9203 /* System header to define __stub macros and hopefully few prototypes,
9201 which can conflict with char $ac_func (); below. */ 9204 which can conflict with char $ac_func (); below. */
9202 #include <assert.h> 9205 #include <assert.h>
9203 /* Override any gcc2 internal prototype to avoid an error. */ 9206 /* Override any gcc2 internal prototype to avoid an error. */
9224 ; 9227 ;
9225 return 0; 9228 return 0;
9226 } 9229 }
9227 _ACEOF 9230 _ACEOF
9228 rm -f conftest.$ac_objext conftest$ac_exeext 9231 rm -f conftest.$ac_objext conftest$ac_exeext
9229 if { (eval echo "$as_me:9229: \"$ac_link\"") >&5 9232 if { (eval echo "$as_me:9232: \"$ac_link\"") >&5
9230 (eval $ac_link) 2>&5 9233 (eval $ac_link) 2>&5
9231 ac_status=$? 9234 ac_status=$?
9232 echo "$as_me:9232: \$? = $ac_status" >&5 9235 echo "$as_me:9235: \$? = $ac_status" >&5
9233 (exit $ac_status); } && 9236 (exit $ac_status); } &&
9234 { ac_try='test -s conftest$ac_exeext' 9237 { ac_try='test -s conftest$ac_exeext'
9235 { (eval echo "$as_me:9235: \"$ac_try\"") >&5 9238 { (eval echo "$as_me:9238: \"$ac_try\"") >&5
9236 (eval $ac_try) 2>&5 9239 (eval $ac_try) 2>&5
9237 ac_status=$? 9240 ac_status=$?
9238 echo "$as_me:9238: \$? = $ac_status" >&5 9241 echo "$as_me:9241: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then 9242 (exit $ac_status); }; }; then
9240 eval "$as_ac_var=yes" 9243 eval "$as_ac_var=yes"
9241 else 9244 else
9242 echo "$as_me: failed program was:" >&5 9245 echo "$as_me: failed program was:" >&5
9243 cat conftest.$ac_ext >&5 9246 cat conftest.$ac_ext >&5
9244 eval "$as_ac_var=no" 9247 eval "$as_ac_var=no"
9245 fi 9248 fi
9246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9247 fi 9250 fi
9248 echo "$as_me:9248: result: `eval echo '${'$as_ac_var'}'`" >&5 9251 echo "$as_me:9251: result: `eval echo '${'$as_ac_var'}'`" >&5
9249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9250 if test `eval echo '${'$as_ac_var'}'` = yes; then 9253 if test `eval echo '${'$as_ac_var'}'` = yes; then
9251 cat >>confdefs.h <<EOF 9254 cat >>confdefs.h <<EOF
9252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9253 EOF 9256 EOF
9259 #define C_GETLOADAVG 1 9262 #define C_GETLOADAVG 1
9260 EOF 9263 EOF
9261 9264
9262 # Figure out what our getloadavg.c needs. 9265 # Figure out what our getloadavg.c needs.
9263 ac_have_func=no 9266 ac_have_func=no
9264 echo "$as_me:9264: checking for sys/dg_sys_info.h" >&5 9267 echo "$as_me:9267: checking for sys/dg_sys_info.h" >&5
9265 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9268 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9266 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9269 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6 9270 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else 9271 else
9269 cat >conftest.$ac_ext <<_ACEOF 9272 cat >conftest.$ac_ext <<_ACEOF
9270 #line 9270 "configure" 9273 #line 9273 "configure"
9271 #include "confdefs.h" 9274 #include "confdefs.h"
9272 #include <sys/dg_sys_info.h> 9275 #include <sys/dg_sys_info.h>
9273 _ACEOF 9276 _ACEOF
9274 if { (eval echo "$as_me:9274: \"$ac_cpp conftest.$ac_ext\"") >&5 9277 if { (eval echo "$as_me:9277: \"$ac_cpp conftest.$ac_ext\"") >&5
9275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9276 ac_status=$? 9279 ac_status=$?
9277 egrep -v '^ *\+' conftest.er1 >conftest.err 9280 egrep -v '^ *\+' conftest.er1 >conftest.err
9278 rm -f conftest.er1 9281 rm -f conftest.er1
9279 cat conftest.err >&5 9282 cat conftest.err >&5
9280 echo "$as_me:9280: \$? = $ac_status" >&5 9283 echo "$as_me:9283: \$? = $ac_status" >&5
9281 (exit $ac_status); } >/dev/null; then 9284 (exit $ac_status); } >/dev/null; then
9282 if test -s conftest.err; then 9285 if test -s conftest.err; then
9283 ac_cpp_err=$ac_c_preproc_warn_flag 9286 ac_cpp_err=$ac_c_preproc_warn_flag
9284 else 9287 else
9285 ac_cpp_err= 9288 ac_cpp_err=
9294 cat conftest.$ac_ext >&5 9297 cat conftest.$ac_ext >&5
9295 ac_cv_header_sys_dg_sys_info_h=no 9298 ac_cv_header_sys_dg_sys_info_h=no
9296 fi 9299 fi
9297 rm -f conftest.err conftest.$ac_ext 9300 rm -f conftest.err conftest.$ac_ext
9298 fi 9301 fi
9299 echo "$as_me:9299: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9302 echo "$as_me:9302: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9300 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9303 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9301 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9304 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9302 ac_have_func=yes 9305 ac_have_func=yes
9303 9306
9304 cat >>confdefs.h <<\EOF 9307 cat >>confdefs.h <<\EOF
9305 #define DGUX 1 9308 #define DGUX 1
9306 EOF 9309 EOF
9307 9310
9308 echo "$as_me:9308: checking for dg_sys_info in -ldgc" >&5 9311 echo "$as_me:9311: checking for dg_sys_info in -ldgc" >&5
9309 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9312 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9310 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9313 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9311 echo $ECHO_N "(cached) $ECHO_C" >&6 9314 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 else 9315 else
9313 ac_check_lib_save_LIBS=$LIBS 9316 ac_check_lib_save_LIBS=$LIBS
9314 LIBS="-ldgc $LIBS" 9317 LIBS="-ldgc $LIBS"
9315 cat >conftest.$ac_ext <<_ACEOF 9318 cat >conftest.$ac_ext <<_ACEOF
9316 #line 9316 "configure" 9319 #line 9319 "configure"
9317 #include "confdefs.h" 9320 #include "confdefs.h"
9318 9321
9319 /* Override any gcc2 internal prototype to avoid an error. */ 9322 /* Override any gcc2 internal prototype to avoid an error. */
9320 #ifdef __cplusplus 9323 #ifdef __cplusplus
9321 extern "C" 9324 extern "C"
9330 ; 9333 ;
9331 return 0; 9334 return 0;
9332 } 9335 }
9333 _ACEOF 9336 _ACEOF
9334 rm -f conftest.$ac_objext conftest$ac_exeext 9337 rm -f conftest.$ac_objext conftest$ac_exeext
9335 if { (eval echo "$as_me:9335: \"$ac_link\"") >&5 9338 if { (eval echo "$as_me:9338: \"$ac_link\"") >&5
9336 (eval $ac_link) 2>&5 9339 (eval $ac_link) 2>&5
9337 ac_status=$? 9340 ac_status=$?
9338 echo "$as_me:9338: \$? = $ac_status" >&5 9341 echo "$as_me:9341: \$? = $ac_status" >&5
9339 (exit $ac_status); } && 9342 (exit $ac_status); } &&
9340 { ac_try='test -s conftest$ac_exeext' 9343 { ac_try='test -s conftest$ac_exeext'
9341 { (eval echo "$as_me:9341: \"$ac_try\"") >&5 9344 { (eval echo "$as_me:9344: \"$ac_try\"") >&5
9342 (eval $ac_try) 2>&5 9345 (eval $ac_try) 2>&5
9343 ac_status=$? 9346 ac_status=$?
9344 echo "$as_me:9344: \$? = $ac_status" >&5 9347 echo "$as_me:9347: \$? = $ac_status" >&5
9345 (exit $ac_status); }; }; then 9348 (exit $ac_status); }; }; then
9346 ac_cv_lib_dgc_dg_sys_info=yes 9349 ac_cv_lib_dgc_dg_sys_info=yes
9347 else 9350 else
9348 echo "$as_me: failed program was:" >&5 9351 echo "$as_me: failed program was:" >&5
9349 cat conftest.$ac_ext >&5 9352 cat conftest.$ac_ext >&5
9350 ac_cv_lib_dgc_dg_sys_info=no 9353 ac_cv_lib_dgc_dg_sys_info=no
9351 fi 9354 fi
9352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS 9356 LIBS=$ac_check_lib_save_LIBS
9354 fi 9357 fi
9355 echo "$as_me:9355: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9358 echo "$as_me:9358: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9356 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9359 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9357 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9360 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9358 cat >>confdefs.h <<EOF 9361 cat >>confdefs.h <<EOF
9359 #define HAVE_LIBDGC 1 9362 #define HAVE_LIBDGC 1
9360 EOF 9363 EOF
9363 9366
9364 fi 9367 fi
9365 9368
9366 fi 9369 fi
9367 9370
9368 echo "$as_me:9368: checking for locale.h" >&5 9371 echo "$as_me:9371: checking for locale.h" >&5
9369 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9372 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9370 if test "${ac_cv_header_locale_h+set}" = set; then 9373 if test "${ac_cv_header_locale_h+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6 9374 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 else 9375 else
9373 cat >conftest.$ac_ext <<_ACEOF 9376 cat >conftest.$ac_ext <<_ACEOF
9374 #line 9374 "configure" 9377 #line 9377 "configure"
9375 #include "confdefs.h" 9378 #include "confdefs.h"
9376 #include <locale.h> 9379 #include <locale.h>
9377 _ACEOF 9380 _ACEOF
9378 if { (eval echo "$as_me:9378: \"$ac_cpp conftest.$ac_ext\"") >&5 9381 if { (eval echo "$as_me:9381: \"$ac_cpp conftest.$ac_ext\"") >&5
9379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9380 ac_status=$? 9383 ac_status=$?
9381 egrep -v '^ *\+' conftest.er1 >conftest.err 9384 egrep -v '^ *\+' conftest.er1 >conftest.err
9382 rm -f conftest.er1 9385 rm -f conftest.er1
9383 cat conftest.err >&5 9386 cat conftest.err >&5
9384 echo "$as_me:9384: \$? = $ac_status" >&5 9387 echo "$as_me:9387: \$? = $ac_status" >&5
9385 (exit $ac_status); } >/dev/null; then 9388 (exit $ac_status); } >/dev/null; then
9386 if test -s conftest.err; then 9389 if test -s conftest.err; then
9387 ac_cpp_err=$ac_c_preproc_warn_flag 9390 ac_cpp_err=$ac_c_preproc_warn_flag
9388 else 9391 else
9389 ac_cpp_err= 9392 ac_cpp_err=
9398 cat conftest.$ac_ext >&5 9401 cat conftest.$ac_ext >&5
9399 ac_cv_header_locale_h=no 9402 ac_cv_header_locale_h=no
9400 fi 9403 fi
9401 rm -f conftest.err conftest.$ac_ext 9404 rm -f conftest.err conftest.$ac_ext
9402 fi 9405 fi
9403 echo "$as_me:9403: result: $ac_cv_header_locale_h" >&5 9406 echo "$as_me:9406: result: $ac_cv_header_locale_h" >&5
9404 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9407 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9405 9408
9406 for ac_func in setlocale 9409 for ac_func in setlocale
9407 do 9410 do
9408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9409 echo "$as_me:9409: checking for $ac_func" >&5 9412 echo "$as_me:9412: checking for $ac_func" >&5
9410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9411 if eval "test \"\${$as_ac_var+set}\" = set"; then 9414 if eval "test \"\${$as_ac_var+set}\" = set"; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6 9415 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 else 9416 else
9414 cat >conftest.$ac_ext <<_ACEOF 9417 cat >conftest.$ac_ext <<_ACEOF
9415 #line 9415 "configure" 9418 #line 9418 "configure"
9416 #include "confdefs.h" 9419 #include "confdefs.h"
9417 /* System header to define __stub macros and hopefully few prototypes, 9420 /* System header to define __stub macros and hopefully few prototypes,
9418 which can conflict with char $ac_func (); below. */ 9421 which can conflict with char $ac_func (); below. */
9419 #include <assert.h> 9422 #include <assert.h>
9420 /* Override any gcc2 internal prototype to avoid an error. */ 9423 /* Override any gcc2 internal prototype to avoid an error. */
9441 ; 9444 ;
9442 return 0; 9445 return 0;
9443 } 9446 }
9444 _ACEOF 9447 _ACEOF
9445 rm -f conftest.$ac_objext conftest$ac_exeext 9448 rm -f conftest.$ac_objext conftest$ac_exeext
9446 if { (eval echo "$as_me:9446: \"$ac_link\"") >&5 9449 if { (eval echo "$as_me:9449: \"$ac_link\"") >&5
9447 (eval $ac_link) 2>&5 9450 (eval $ac_link) 2>&5
9448 ac_status=$? 9451 ac_status=$?
9449 echo "$as_me:9449: \$? = $ac_status" >&5 9452 echo "$as_me:9452: \$? = $ac_status" >&5
9450 (exit $ac_status); } && 9453 (exit $ac_status); } &&
9451 { ac_try='test -s conftest$ac_exeext' 9454 { ac_try='test -s conftest$ac_exeext'
9452 { (eval echo "$as_me:9452: \"$ac_try\"") >&5 9455 { (eval echo "$as_me:9455: \"$ac_try\"") >&5
9453 (eval $ac_try) 2>&5 9456 (eval $ac_try) 2>&5
9454 ac_status=$? 9457 ac_status=$?
9455 echo "$as_me:9455: \$? = $ac_status" >&5 9458 echo "$as_me:9458: \$? = $ac_status" >&5
9456 (exit $ac_status); }; }; then 9459 (exit $ac_status); }; }; then
9457 eval "$as_ac_var=yes" 9460 eval "$as_ac_var=yes"
9458 else 9461 else
9459 echo "$as_me: failed program was:" >&5 9462 echo "$as_me: failed program was:" >&5
9460 cat conftest.$ac_ext >&5 9463 cat conftest.$ac_ext >&5
9461 eval "$as_ac_var=no" 9464 eval "$as_ac_var=no"
9462 fi 9465 fi
9463 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9464 fi 9467 fi
9465 echo "$as_me:9465: result: `eval echo '${'$as_ac_var'}'`" >&5 9468 echo "$as_me:9468: result: `eval echo '${'$as_ac_var'}'`" >&5
9466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9467 if test `eval echo '${'$as_ac_var'}'` = yes; then 9470 if test `eval echo '${'$as_ac_var'}'` = yes; then
9468 cat >>confdefs.h <<EOF 9471 cat >>confdefs.h <<EOF
9469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9470 EOF 9473 EOF
9483 EOF 9486 EOF
9484 9487
9485 fi 9488 fi
9486 9489
9487 if test $ac_have_func = no; then 9490 if test $ac_have_func = no; then
9488 echo "$as_me:9488: checking for inq_stats/cpustats.h" >&5 9491 echo "$as_me:9491: checking for inq_stats/cpustats.h" >&5
9489 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9492 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9490 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9493 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9491 echo $ECHO_N "(cached) $ECHO_C" >&6 9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9492 else 9495 else
9493 cat >conftest.$ac_ext <<_ACEOF 9496 cat >conftest.$ac_ext <<_ACEOF
9494 #line 9494 "configure" 9497 #line 9497 "configure"
9495 #include "confdefs.h" 9498 #include "confdefs.h"
9496 #include <inq_stats/cpustats.h> 9499 #include <inq_stats/cpustats.h>
9497 _ACEOF 9500 _ACEOF
9498 if { (eval echo "$as_me:9498: \"$ac_cpp conftest.$ac_ext\"") >&5 9501 if { (eval echo "$as_me:9501: \"$ac_cpp conftest.$ac_ext\"") >&5
9499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9500 ac_status=$? 9503 ac_status=$?
9501 egrep -v '^ *\+' conftest.er1 >conftest.err 9504 egrep -v '^ *\+' conftest.er1 >conftest.err
9502 rm -f conftest.er1 9505 rm -f conftest.er1
9503 cat conftest.err >&5 9506 cat conftest.err >&5
9504 echo "$as_me:9504: \$? = $ac_status" >&5 9507 echo "$as_me:9507: \$? = $ac_status" >&5
9505 (exit $ac_status); } >/dev/null; then 9508 (exit $ac_status); } >/dev/null; then
9506 if test -s conftest.err; then 9509 if test -s conftest.err; then
9507 ac_cpp_err=$ac_c_preproc_warn_flag 9510 ac_cpp_err=$ac_c_preproc_warn_flag
9508 else 9511 else
9509 ac_cpp_err= 9512 ac_cpp_err=
9518 cat conftest.$ac_ext >&5 9521 cat conftest.$ac_ext >&5
9519 ac_cv_header_inq_stats_cpustats_h=no 9522 ac_cv_header_inq_stats_cpustats_h=no
9520 fi 9523 fi
9521 rm -f conftest.err conftest.$ac_ext 9524 rm -f conftest.err conftest.$ac_ext
9522 fi 9525 fi
9523 echo "$as_me:9523: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9526 echo "$as_me:9526: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9524 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9527 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9525 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9528 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9526 ac_have_func=yes 9529 ac_have_func=yes
9527 9530
9528 cat >>confdefs.h <<\EOF 9531 cat >>confdefs.h <<\EOF
9536 fi 9539 fi
9537 9540
9538 fi 9541 fi
9539 9542
9540 if test $ac_have_func = no; then 9543 if test $ac_have_func = no; then
9541 echo "$as_me:9541: checking for sys/cpustats.h" >&5 9544 echo "$as_me:9544: checking for sys/cpustats.h" >&5
9542 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9545 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9543 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9546 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6 9547 echo $ECHO_N "(cached) $ECHO_C" >&6
9545 else 9548 else
9546 cat >conftest.$ac_ext <<_ACEOF 9549 cat >conftest.$ac_ext <<_ACEOF
9547 #line 9547 "configure" 9550 #line 9550 "configure"
9548 #include "confdefs.h" 9551 #include "confdefs.h"
9549 #include <sys/cpustats.h> 9552 #include <sys/cpustats.h>
9550 _ACEOF 9553 _ACEOF
9551 if { (eval echo "$as_me:9551: \"$ac_cpp conftest.$ac_ext\"") >&5 9554 if { (eval echo "$as_me:9554: \"$ac_cpp conftest.$ac_ext\"") >&5
9552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9553 ac_status=$? 9556 ac_status=$?
9554 egrep -v '^ *\+' conftest.er1 >conftest.err 9557 egrep -v '^ *\+' conftest.er1 >conftest.err
9555 rm -f conftest.er1 9558 rm -f conftest.er1
9556 cat conftest.err >&5 9559 cat conftest.err >&5
9557 echo "$as_me:9557: \$? = $ac_status" >&5 9560 echo "$as_me:9560: \$? = $ac_status" >&5
9558 (exit $ac_status); } >/dev/null; then 9561 (exit $ac_status); } >/dev/null; then
9559 if test -s conftest.err; then 9562 if test -s conftest.err; then
9560 ac_cpp_err=$ac_c_preproc_warn_flag 9563 ac_cpp_err=$ac_c_preproc_warn_flag
9561 else 9564 else
9562 ac_cpp_err= 9565 ac_cpp_err=
9571 cat conftest.$ac_ext >&5 9574 cat conftest.$ac_ext >&5
9572 ac_cv_header_sys_cpustats_h=no 9575 ac_cv_header_sys_cpustats_h=no
9573 fi 9576 fi
9574 rm -f conftest.err conftest.$ac_ext 9577 rm -f conftest.err conftest.$ac_ext
9575 fi 9578 fi
9576 echo "$as_me:9576: result: $ac_cv_header_sys_cpustats_h" >&5 9579 echo "$as_me:9579: result: $ac_cv_header_sys_cpustats_h" >&5
9577 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9580 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9578 if test $ac_cv_header_sys_cpustats_h = yes; then 9581 if test $ac_cv_header_sys_cpustats_h = yes; then
9579 ac_have_func=yes; cat >>confdefs.h <<\EOF 9582 ac_have_func=yes; cat >>confdefs.h <<\EOF
9580 #define UMAX 1 9583 #define UMAX 1
9581 EOF 9584 EOF
9587 if test $ac_have_func = no; then 9590 if test $ac_have_func = no; then
9588 9591
9589 for ac_header in mach/mach.h 9592 for ac_header in mach/mach.h
9590 do 9593 do
9591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9592 echo "$as_me:9592: checking for $ac_header" >&5 9595 echo "$as_me:9595: checking for $ac_header" >&5
9593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9594 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6 9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 else 9599 else
9597 cat >conftest.$ac_ext <<_ACEOF 9600 cat >conftest.$ac_ext <<_ACEOF
9598 #line 9598 "configure" 9601 #line 9601 "configure"
9599 #include "confdefs.h" 9602 #include "confdefs.h"
9600 #include <$ac_header> 9603 #include <$ac_header>
9601 _ACEOF 9604 _ACEOF
9602 if { (eval echo "$as_me:9602: \"$ac_cpp conftest.$ac_ext\"") >&5 9605 if { (eval echo "$as_me:9605: \"$ac_cpp conftest.$ac_ext\"") >&5
9603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9604 ac_status=$? 9607 ac_status=$?
9605 egrep -v '^ *\+' conftest.er1 >conftest.err 9608 egrep -v '^ *\+' conftest.er1 >conftest.err
9606 rm -f conftest.er1 9609 rm -f conftest.er1
9607 cat conftest.err >&5 9610 cat conftest.err >&5
9608 echo "$as_me:9608: \$? = $ac_status" >&5 9611 echo "$as_me:9611: \$? = $ac_status" >&5
9609 (exit $ac_status); } >/dev/null; then 9612 (exit $ac_status); } >/dev/null; then
9610 if test -s conftest.err; then 9613 if test -s conftest.err; then
9611 ac_cpp_err=$ac_c_preproc_warn_flag 9614 ac_cpp_err=$ac_c_preproc_warn_flag
9612 else 9615 else
9613 ac_cpp_err= 9616 ac_cpp_err=
9622 cat conftest.$ac_ext >&5 9625 cat conftest.$ac_ext >&5
9623 eval "$as_ac_Header=no" 9626 eval "$as_ac_Header=no"
9624 fi 9627 fi
9625 rm -f conftest.err conftest.$ac_ext 9628 rm -f conftest.err conftest.$ac_ext
9626 fi 9629 fi
9627 echo "$as_me:9627: result: `eval echo '${'$as_ac_Header'}'`" >&5 9630 echo "$as_me:9630: result: `eval echo '${'$as_ac_Header'}'`" >&5
9628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9629 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9630 cat >>confdefs.h <<EOF 9633 cat >>confdefs.h <<EOF
9631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9632 EOF 9635 EOF
9637 fi 9640 fi
9638 9641
9639 for ac_header in nlist.h 9642 for ac_header in nlist.h
9640 do 9643 do
9641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9642 echo "$as_me:9642: checking for $ac_header" >&5 9645 echo "$as_me:9645: checking for $ac_header" >&5
9643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9644 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9645 echo $ECHO_N "(cached) $ECHO_C" >&6 9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9646 else 9649 else
9647 cat >conftest.$ac_ext <<_ACEOF 9650 cat >conftest.$ac_ext <<_ACEOF
9648 #line 9648 "configure" 9651 #line 9651 "configure"
9649 #include "confdefs.h" 9652 #include "confdefs.h"
9650 #include <$ac_header> 9653 #include <$ac_header>
9651 _ACEOF 9654 _ACEOF
9652 if { (eval echo "$as_me:9652: \"$ac_cpp conftest.$ac_ext\"") >&5 9655 if { (eval echo "$as_me:9655: \"$ac_cpp conftest.$ac_ext\"") >&5
9653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9654 ac_status=$? 9657 ac_status=$?
9655 egrep -v '^ *\+' conftest.er1 >conftest.err 9658 egrep -v '^ *\+' conftest.er1 >conftest.err
9656 rm -f conftest.er1 9659 rm -f conftest.er1
9657 cat conftest.err >&5 9660 cat conftest.err >&5
9658 echo "$as_me:9658: \$? = $ac_status" >&5 9661 echo "$as_me:9661: \$? = $ac_status" >&5
9659 (exit $ac_status); } >/dev/null; then 9662 (exit $ac_status); } >/dev/null; then
9660 if test -s conftest.err; then 9663 if test -s conftest.err; then
9661 ac_cpp_err=$ac_c_preproc_warn_flag 9664 ac_cpp_err=$ac_c_preproc_warn_flag
9662 else 9665 else
9663 ac_cpp_err= 9666 ac_cpp_err=
9672 cat conftest.$ac_ext >&5 9675 cat conftest.$ac_ext >&5
9673 eval "$as_ac_Header=no" 9676 eval "$as_ac_Header=no"
9674 fi 9677 fi
9675 rm -f conftest.err conftest.$ac_ext 9678 rm -f conftest.err conftest.$ac_ext
9676 fi 9679 fi
9677 echo "$as_me:9677: result: `eval echo '${'$as_ac_Header'}'`" >&5 9680 echo "$as_me:9680: result: `eval echo '${'$as_ac_Header'}'`" >&5
9678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9679 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9680 cat >>confdefs.h <<EOF 9683 cat >>confdefs.h <<EOF
9681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9682 EOF 9685 EOF
9683 echo "$as_me:9683: checking for struct nlist.n_un.n_name" >&5 9686 echo "$as_me:9686: checking for struct nlist.n_un.n_name" >&5
9684 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9687 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9685 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9688 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6 9689 echo $ECHO_N "(cached) $ECHO_C" >&6
9687 else 9690 else
9688 cat >conftest.$ac_ext <<_ACEOF 9691 cat >conftest.$ac_ext <<_ACEOF
9689 #line 9689 "configure" 9692 #line 9692 "configure"
9690 #include "confdefs.h" 9693 #include "confdefs.h"
9691 #include <nlist.h> 9694 #include <nlist.h>
9692 9695
9693 int 9696 int
9694 main () 9697 main ()
9699 ; 9702 ;
9700 return 0; 9703 return 0;
9701 } 9704 }
9702 _ACEOF 9705 _ACEOF
9703 rm -f conftest.$ac_objext 9706 rm -f conftest.$ac_objext
9704 if { (eval echo "$as_me:9704: \"$ac_compile\"") >&5 9707 if { (eval echo "$as_me:9707: \"$ac_compile\"") >&5
9705 (eval $ac_compile) 2>&5 9708 (eval $ac_compile) 2>&5
9706 ac_status=$? 9709 ac_status=$?
9707 echo "$as_me:9707: \$? = $ac_status" >&5 9710 echo "$as_me:9710: \$? = $ac_status" >&5
9708 (exit $ac_status); } && 9711 (exit $ac_status); } &&
9709 { ac_try='test -s conftest.$ac_objext' 9712 { ac_try='test -s conftest.$ac_objext'
9710 { (eval echo "$as_me:9710: \"$ac_try\"") >&5 9713 { (eval echo "$as_me:9713: \"$ac_try\"") >&5
9711 (eval $ac_try) 2>&5 9714 (eval $ac_try) 2>&5
9712 ac_status=$? 9715 ac_status=$?
9713 echo "$as_me:9713: \$? = $ac_status" >&5 9716 echo "$as_me:9716: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then 9717 (exit $ac_status); }; }; then
9715 ac_cv_member_struct_nlist_n_un_n_name=yes 9718 ac_cv_member_struct_nlist_n_un_n_name=yes
9716 else 9719 else
9717 echo "$as_me: failed program was:" >&5 9720 echo "$as_me: failed program was:" >&5
9718 cat conftest.$ac_ext >&5 9721 cat conftest.$ac_ext >&5
9719 ac_cv_member_struct_nlist_n_un_n_name=no 9722 ac_cv_member_struct_nlist_n_un_n_name=no
9720 fi 9723 fi
9721 rm -f conftest.$ac_objext conftest.$ac_ext 9724 rm -f conftest.$ac_objext conftest.$ac_ext
9722 fi 9725 fi
9723 echo "$as_me:9723: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9726 echo "$as_me:9726: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9724 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9727 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9725 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9728 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9726 9729
9727 cat >>confdefs.h <<EOF 9730 cat >>confdefs.h <<EOF
9728 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9731 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9739 9742
9740 fi 9743 fi
9741 done 9744 done
9742 9745
9743 # Some definitions of getloadavg require that the program be installed setgid. 9746 # Some definitions of getloadavg require that the program be installed setgid.
9744 echo "$as_me:9744: checking whether getloadavg requires setgid" >&5 9747 echo "$as_me:9747: checking whether getloadavg requires setgid" >&5
9745 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9748 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9746 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9749 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9747 echo $ECHO_N "(cached) $ECHO_C" >&6 9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9748 else 9751 else
9749 cat >conftest.$ac_ext <<_ACEOF 9752 cat >conftest.$ac_ext <<_ACEOF
9750 #line 9750 "configure" 9753 #line 9753 "configure"
9751 #include "confdefs.h" 9754 #include "confdefs.h"
9752 #include "$srcdir/getloadavg.c" 9755 #include "$srcdir/getloadavg.c"
9753 #ifdef LDAV_PRIVILEGED 9756 #ifdef LDAV_PRIVILEGED
9754 Yowza Am I SETGID yet 9757 Yowza Am I SETGID yet
9755 #endif 9758 #endif
9761 ac_cv_func_getloadavg_setgid=no 9764 ac_cv_func_getloadavg_setgid=no
9762 fi 9765 fi
9763 rm -f conftest* 9766 rm -f conftest*
9764 9767
9765 fi 9768 fi
9766 echo "$as_me:9766: result: $ac_cv_func_getloadavg_setgid" >&5 9769 echo "$as_me:9769: result: $ac_cv_func_getloadavg_setgid" >&5
9767 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9770 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9768 if test $ac_cv_func_getloadavg_setgid = yes; then 9771 if test $ac_cv_func_getloadavg_setgid = yes; then
9769 NEED_SETGID=true 9772 NEED_SETGID=true
9770 9773
9771 cat >>confdefs.h <<\EOF 9774 cat >>confdefs.h <<\EOF
9775 else 9778 else
9776 NEED_SETGID=false 9779 NEED_SETGID=false
9777 fi 9780 fi
9778 9781
9779 if test $ac_cv_func_getloadavg_setgid = yes; then 9782 if test $ac_cv_func_getloadavg_setgid = yes; then
9780 echo "$as_me:9780: checking group of /dev/kmem" >&5 9783 echo "$as_me:9783: checking group of /dev/kmem" >&5
9781 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9784 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9782 if test "${ac_cv_group_kmem+set}" = set; then 9785 if test "${ac_cv_group_kmem+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6 9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9784 else 9787 else
9785 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9788 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9790 | sed -ne 's/[ ][ ]*/ /g; 9793 | sed -ne 's/[ ][ ]*/ /g;
9791 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9794 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9792 / /s/.* //;p;'` 9795 / /s/.* //;p;'`
9793 9796
9794 fi 9797 fi
9795 echo "$as_me:9795: result: $ac_cv_group_kmem" >&5 9798 echo "$as_me:9798: result: $ac_cv_group_kmem" >&5
9796 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9799 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9797 KMEM_GROUP=$ac_cv_group_kmem 9800 KMEM_GROUP=$ac_cv_group_kmem
9798 fi 9801 fi
9799 if test "x$ac_save_LIBS" = x; then 9802 if test "x$ac_save_LIBS" = x; then
9800 GETLOADAVG_LIBS=$LIBS 9803 GETLOADAVG_LIBS=$LIBS
9801 else 9804 else
9802 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9805 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9803 fi 9806 fi
9804 LIBS=$ac_save_LIBS 9807 LIBS=$ac_save_LIBS
9805 9808
9806 echo "$as_me:9806: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9809 echo "$as_me:9809: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9807 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9810 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9808 if test "${ac_cv_sys_largefile_source+set}" = set; then 9811 if test "${ac_cv_sys_largefile_source+set}" = set; then
9809 echo $ECHO_N "(cached) $ECHO_C" >&6 9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 else 9813 else
9811 while :; do 9814 while :; do
9812 ac_cv_sys_largefile_source=no 9815 ac_cv_sys_largefile_source=no
9813 cat >conftest.$ac_ext <<_ACEOF 9816 cat >conftest.$ac_ext <<_ACEOF
9814 #line 9814 "configure" 9817 #line 9817 "configure"
9815 #include "confdefs.h" 9818 #include "confdefs.h"
9816 #include <stdio.h> 9819 #include <stdio.h>
9817 int 9820 int
9818 main () 9821 main ()
9819 { 9822 {
9821 ; 9824 ;
9822 return 0; 9825 return 0;
9823 } 9826 }
9824 _ACEOF 9827 _ACEOF
9825 rm -f conftest.$ac_objext 9828 rm -f conftest.$ac_objext
9826 if { (eval echo "$as_me:9826: \"$ac_compile\"") >&5 9829 if { (eval echo "$as_me:9829: \"$ac_compile\"") >&5
9827 (eval $ac_compile) 2>&5 9830 (eval $ac_compile) 2>&5
9828 ac_status=$? 9831 ac_status=$?
9829 echo "$as_me:9829: \$? = $ac_status" >&5 9832 echo "$as_me:9832: \$? = $ac_status" >&5
9830 (exit $ac_status); } && 9833 (exit $ac_status); } &&
9831 { ac_try='test -s conftest.$ac_objext' 9834 { ac_try='test -s conftest.$ac_objext'
9832 { (eval echo "$as_me:9832: \"$ac_try\"") >&5 9835 { (eval echo "$as_me:9835: \"$ac_try\"") >&5
9833 (eval $ac_try) 2>&5 9836 (eval $ac_try) 2>&5
9834 ac_status=$? 9837 ac_status=$?
9835 echo "$as_me:9835: \$? = $ac_status" >&5 9838 echo "$as_me:9838: \$? = $ac_status" >&5
9836 (exit $ac_status); }; }; then 9839 (exit $ac_status); }; }; then
9837 break 9840 break
9838 else 9841 else
9839 echo "$as_me: failed program was:" >&5 9842 echo "$as_me: failed program was:" >&5
9840 cat conftest.$ac_ext >&5 9843 cat conftest.$ac_ext >&5
9841 fi 9844 fi
9842 rm -f conftest.$ac_objext conftest.$ac_ext 9845 rm -f conftest.$ac_objext conftest.$ac_ext
9843 cat >conftest.$ac_ext <<_ACEOF 9846 cat >conftest.$ac_ext <<_ACEOF
9844 #line 9844 "configure" 9847 #line 9847 "configure"
9845 #include "confdefs.h" 9848 #include "confdefs.h"
9846 #define _LARGEFILE_SOURCE 1 9849 #define _LARGEFILE_SOURCE 1
9847 #include <stdio.h> 9850 #include <stdio.h>
9848 int 9851 int
9849 main () 9852 main ()
9852 ; 9855 ;
9853 return 0; 9856 return 0;
9854 } 9857 }
9855 _ACEOF 9858 _ACEOF
9856 rm -f conftest.$ac_objext 9859 rm -f conftest.$ac_objext
9857 if { (eval echo "$as_me:9857: \"$ac_compile\"") >&5 9860 if { (eval echo "$as_me:9860: \"$ac_compile\"") >&5
9858 (eval $ac_compile) 2>&5 9861 (eval $ac_compile) 2>&5
9859 ac_status=$? 9862 ac_status=$?
9860 echo "$as_me:9860: \$? = $ac_status" >&5 9863 echo "$as_me:9863: \$? = $ac_status" >&5
9861 (exit $ac_status); } && 9864 (exit $ac_status); } &&
9862 { ac_try='test -s conftest.$ac_objext' 9865 { ac_try='test -s conftest.$ac_objext'
9863 { (eval echo "$as_me:9863: \"$ac_try\"") >&5 9866 { (eval echo "$as_me:9866: \"$ac_try\"") >&5
9864 (eval $ac_try) 2>&5 9867 (eval $ac_try) 2>&5
9865 ac_status=$? 9868 ac_status=$?
9866 echo "$as_me:9866: \$? = $ac_status" >&5 9869 echo "$as_me:9869: \$? = $ac_status" >&5
9867 (exit $ac_status); }; }; then 9870 (exit $ac_status); }; }; then
9868 ac_cv_sys_largefile_source=1; break 9871 ac_cv_sys_largefile_source=1; break
9869 else 9872 else
9870 echo "$as_me: failed program was:" >&5 9873 echo "$as_me: failed program was:" >&5
9871 cat conftest.$ac_ext >&5 9874 cat conftest.$ac_ext >&5
9872 fi 9875 fi
9873 rm -f conftest.$ac_objext conftest.$ac_ext 9876 rm -f conftest.$ac_objext conftest.$ac_ext
9874 break 9877 break
9875 done 9878 done
9876 fi 9879 fi
9877 echo "$as_me:9877: result: $ac_cv_sys_largefile_source" >&5 9880 echo "$as_me:9880: result: $ac_cv_sys_largefile_source" >&5
9878 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 9881 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9879 if test "$ac_cv_sys_largefile_source" != no; then 9882 if test "$ac_cv_sys_largefile_source" != no; then
9880 9883
9881 cat >>confdefs.h <<EOF 9884 cat >>confdefs.h <<EOF
9882 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 9885 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9886 rm -f conftest* 9889 rm -f conftest*
9887 9890
9888 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 9891 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9889 # in glibc 2.1.3, but that breaks too many other things. 9892 # in glibc 2.1.3, but that breaks too many other things.
9890 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 9893 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9891 echo "$as_me:9891: checking for fseeko" >&5 9894 echo "$as_me:9894: checking for fseeko" >&5
9892 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 9895 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9893 if test "${ac_cv_func_fseeko+set}" = set; then 9896 if test "${ac_cv_func_fseeko+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6 9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 else 9898 else
9896 cat >conftest.$ac_ext <<_ACEOF 9899 cat >conftest.$ac_ext <<_ACEOF
9897 #line 9897 "configure" 9900 #line 9900 "configure"
9898 #include "confdefs.h" 9901 #include "confdefs.h"
9899 #include <stdio.h> 9902 #include <stdio.h>
9900 int 9903 int
9901 main () 9904 main ()
9902 { 9905 {
9904 ; 9907 ;
9905 return 0; 9908 return 0;
9906 } 9909 }
9907 _ACEOF 9910 _ACEOF
9908 rm -f conftest.$ac_objext conftest$ac_exeext 9911 rm -f conftest.$ac_objext conftest$ac_exeext
9909 if { (eval echo "$as_me:9909: \"$ac_link\"") >&5 9912 if { (eval echo "$as_me:9912: \"$ac_link\"") >&5
9910 (eval $ac_link) 2>&5 9913 (eval $ac_link) 2>&5
9911 ac_status=$? 9914 ac_status=$?
9912 echo "$as_me:9912: \$? = $ac_status" >&5 9915 echo "$as_me:9915: \$? = $ac_status" >&5
9913 (exit $ac_status); } && 9916 (exit $ac_status); } &&
9914 { ac_try='test -s conftest$ac_exeext' 9917 { ac_try='test -s conftest$ac_exeext'
9915 { (eval echo "$as_me:9915: \"$ac_try\"") >&5 9918 { (eval echo "$as_me:9918: \"$ac_try\"") >&5
9916 (eval $ac_try) 2>&5 9919 (eval $ac_try) 2>&5
9917 ac_status=$? 9920 ac_status=$?
9918 echo "$as_me:9918: \$? = $ac_status" >&5 9921 echo "$as_me:9921: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then 9922 (exit $ac_status); }; }; then
9920 ac_cv_func_fseeko=yes 9923 ac_cv_func_fseeko=yes
9921 else 9924 else
9922 echo "$as_me: failed program was:" >&5 9925 echo "$as_me: failed program was:" >&5
9923 cat conftest.$ac_ext >&5 9926 cat conftest.$ac_ext >&5
9924 ac_cv_func_fseeko=no 9927 ac_cv_func_fseeko=no
9925 fi 9928 fi
9926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9927 fi 9930 fi
9928 echo "$as_me:9928: result: $ac_cv_func_fseeko" >&5 9931 echo "$as_me:9931: result: $ac_cv_func_fseeko" >&5
9929 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 9932 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9930 if test $ac_cv_func_fseeko = yes; then 9933 if test $ac_cv_func_fseeko = yes; then
9931 9934
9932 cat >>confdefs.h <<\EOF 9935 cat >>confdefs.h <<\EOF
9933 #define HAVE_FSEEKO 1 9936 #define HAVE_FSEEKO 1
9938 # UNIX98 PTYs. 9941 # UNIX98 PTYs.
9939 9942
9940 for ac_func in grantpt 9943 for ac_func in grantpt
9941 do 9944 do
9942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9943 echo "$as_me:9943: checking for $ac_func" >&5 9946 echo "$as_me:9946: checking for $ac_func" >&5
9944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9945 if eval "test \"\${$as_ac_var+set}\" = set"; then 9948 if eval "test \"\${$as_ac_var+set}\" = set"; then
9946 echo $ECHO_N "(cached) $ECHO_C" >&6 9949 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 else 9950 else
9948 cat >conftest.$ac_ext <<_ACEOF 9951 cat >conftest.$ac_ext <<_ACEOF
9949 #line 9949 "configure" 9952 #line 9952 "configure"
9950 #include "confdefs.h" 9953 #include "confdefs.h"
9951 /* System header to define __stub macros and hopefully few prototypes, 9954 /* System header to define __stub macros and hopefully few prototypes,
9952 which can conflict with char $ac_func (); below. */ 9955 which can conflict with char $ac_func (); below. */
9953 #include <assert.h> 9956 #include <assert.h>
9954 /* Override any gcc2 internal prototype to avoid an error. */ 9957 /* Override any gcc2 internal prototype to avoid an error. */
9975 ; 9978 ;
9976 return 0; 9979 return 0;
9977 } 9980 }
9978 _ACEOF 9981 _ACEOF
9979 rm -f conftest.$ac_objext conftest$ac_exeext 9982 rm -f conftest.$ac_objext conftest$ac_exeext
9980 if { (eval echo "$as_me:9980: \"$ac_link\"") >&5 9983 if { (eval echo "$as_me:9983: \"$ac_link\"") >&5
9981 (eval $ac_link) 2>&5 9984 (eval $ac_link) 2>&5
9982 ac_status=$? 9985 ac_status=$?
9983 echo "$as_me:9983: \$? = $ac_status" >&5 9986 echo "$as_me:9986: \$? = $ac_status" >&5
9984 (exit $ac_status); } && 9987 (exit $ac_status); } &&
9985 { ac_try='test -s conftest$ac_exeext' 9988 { ac_try='test -s conftest$ac_exeext'
9986 { (eval echo "$as_me:9986: \"$ac_try\"") >&5 9989 { (eval echo "$as_me:9989: \"$ac_try\"") >&5
9987 (eval $ac_try) 2>&5 9990 (eval $ac_try) 2>&5
9988 ac_status=$? 9991 ac_status=$?
9989 echo "$as_me:9989: \$? = $ac_status" >&5 9992 echo "$as_me:9992: \$? = $ac_status" >&5
9990 (exit $ac_status); }; }; then 9993 (exit $ac_status); }; }; then
9991 eval "$as_ac_var=yes" 9994 eval "$as_ac_var=yes"
9992 else 9995 else
9993 echo "$as_me: failed program was:" >&5 9996 echo "$as_me: failed program was:" >&5
9994 cat conftest.$ac_ext >&5 9997 cat conftest.$ac_ext >&5
9995 eval "$as_ac_var=no" 9998 eval "$as_ac_var=no"
9996 fi 9999 fi
9997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9998 fi 10001 fi
9999 echo "$as_me:9999: result: `eval echo '${'$as_ac_var'}'`" >&5 10002 echo "$as_me:10002: result: `eval echo '${'$as_ac_var'}'`" >&5
10000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10001 if test `eval echo '${'$as_ac_var'}'` = yes; then 10004 if test `eval echo '${'$as_ac_var'}'` = yes; then
10002 cat >>confdefs.h <<EOF 10005 cat >>confdefs.h <<EOF
10003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10004 EOF 10007 EOF
10009 # PTY-related GNU extensions. 10012 # PTY-related GNU extensions.
10010 10013
10011 for ac_func in getpt 10014 for ac_func in getpt
10012 do 10015 do
10013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10014 echo "$as_me:10014: checking for $ac_func" >&5 10017 echo "$as_me:10017: checking for $ac_func" >&5
10015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10016 if eval "test \"\${$as_ac_var+set}\" = set"; then 10019 if eval "test \"\${$as_ac_var+set}\" = set"; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6 10020 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 else 10021 else
10019 cat >conftest.$ac_ext <<_ACEOF 10022 cat >conftest.$ac_ext <<_ACEOF
10020 #line 10020 "configure" 10023 #line 10023 "configure"
10021 #include "confdefs.h" 10024 #include "confdefs.h"
10022 /* System header to define __stub macros and hopefully few prototypes, 10025 /* System header to define __stub macros and hopefully few prototypes,
10023 which can conflict with char $ac_func (); below. */ 10026 which can conflict with char $ac_func (); below. */
10024 #include <assert.h> 10027 #include <assert.h>
10025 /* Override any gcc2 internal prototype to avoid an error. */ 10028 /* Override any gcc2 internal prototype to avoid an error. */
10046 ; 10049 ;
10047 return 0; 10050 return 0;
10048 } 10051 }
10049 _ACEOF 10052 _ACEOF
10050 rm -f conftest.$ac_objext conftest$ac_exeext 10053 rm -f conftest.$ac_objext conftest$ac_exeext
10051 if { (eval echo "$as_me:10051: \"$ac_link\"") >&5 10054 if { (eval echo "$as_me:10054: \"$ac_link\"") >&5
10052 (eval $ac_link) 2>&5 10055 (eval $ac_link) 2>&5
10053 ac_status=$? 10056 ac_status=$?
10054 echo "$as_me:10054: \$? = $ac_status" >&5 10057 echo "$as_me:10057: \$? = $ac_status" >&5
10055 (exit $ac_status); } && 10058 (exit $ac_status); } &&
10056 { ac_try='test -s conftest$ac_exeext' 10059 { ac_try='test -s conftest$ac_exeext'
10057 { (eval echo "$as_me:10057: \"$ac_try\"") >&5 10060 { (eval echo "$as_me:10060: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5 10061 (eval $ac_try) 2>&5
10059 ac_status=$? 10062 ac_status=$?
10060 echo "$as_me:10060: \$? = $ac_status" >&5 10063 echo "$as_me:10063: \$? = $ac_status" >&5
10061 (exit $ac_status); }; }; then 10064 (exit $ac_status); }; }; then
10062 eval "$as_ac_var=yes" 10065 eval "$as_ac_var=yes"
10063 else 10066 else
10064 echo "$as_me: failed program was:" >&5 10067 echo "$as_me: failed program was:" >&5
10065 cat conftest.$ac_ext >&5 10068 cat conftest.$ac_ext >&5
10066 eval "$as_ac_var=no" 10069 eval "$as_ac_var=no"
10067 fi 10070 fi
10068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10069 fi 10072 fi
10070 echo "$as_me:10070: result: `eval echo '${'$as_ac_var'}'`" >&5 10073 echo "$as_me:10073: result: `eval echo '${'$as_ac_var'}'`" >&5
10071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10072 if test `eval echo '${'$as_ac_var'}'` = yes; then 10075 if test `eval echo '${'$as_ac_var'}'` = yes; then
10073 cat >>confdefs.h <<EOF 10076 cat >>confdefs.h <<EOF
10074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10075 EOF 10078 EOF
10080 # Check this now, so that we will NOT find the above functions in ncurses. 10083 # Check this now, so that we will NOT find the above functions in ncurses.
10081 # That is because we have not set up to link ncurses in lib-src. 10084 # That is because we have not set up to link ncurses in lib-src.
10082 # It's better to believe a function is not available 10085 # It's better to believe a function is not available
10083 # than to expect to find it in ncurses. 10086 # than to expect to find it in ncurses.
10084 10087
10085 echo "$as_me:10085: checking for tparm in -lncurses" >&5 10088 echo "$as_me:10088: checking for tparm in -lncurses" >&5
10086 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 10089 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10087 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 10090 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6 10091 echo $ECHO_N "(cached) $ECHO_C" >&6
10089 else 10092 else
10090 ac_check_lib_save_LIBS=$LIBS 10093 ac_check_lib_save_LIBS=$LIBS
10091 LIBS="-lncurses $LIBS" 10094 LIBS="-lncurses $LIBS"
10092 cat >conftest.$ac_ext <<_ACEOF 10095 cat >conftest.$ac_ext <<_ACEOF
10093 #line 10093 "configure" 10096 #line 10096 "configure"
10094 #include "confdefs.h" 10097 #include "confdefs.h"
10095 10098
10096 /* Override any gcc2 internal prototype to avoid an error. */ 10099 /* Override any gcc2 internal prototype to avoid an error. */
10097 #ifdef __cplusplus 10100 #ifdef __cplusplus
10098 extern "C" 10101 extern "C"
10107 ; 10110 ;
10108 return 0; 10111 return 0;
10109 } 10112 }
10110 _ACEOF 10113 _ACEOF
10111 rm -f conftest.$ac_objext conftest$ac_exeext 10114 rm -f conftest.$ac_objext conftest$ac_exeext
10112 if { (eval echo "$as_me:10112: \"$ac_link\"") >&5 10115 if { (eval echo "$as_me:10115: \"$ac_link\"") >&5
10113 (eval $ac_link) 2>&5 10116 (eval $ac_link) 2>&5
10114 ac_status=$? 10117 ac_status=$?
10115 echo "$as_me:10115: \$? = $ac_status" >&5 10118 echo "$as_me:10118: \$? = $ac_status" >&5
10116 (exit $ac_status); } && 10119 (exit $ac_status); } &&
10117 { ac_try='test -s conftest$ac_exeext' 10120 { ac_try='test -s conftest$ac_exeext'
10118 { (eval echo "$as_me:10118: \"$ac_try\"") >&5 10121 { (eval echo "$as_me:10121: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5 10122 (eval $ac_try) 2>&5
10120 ac_status=$? 10123 ac_status=$?
10121 echo "$as_me:10121: \$? = $ac_status" >&5 10124 echo "$as_me:10124: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then 10125 (exit $ac_status); }; }; then
10123 ac_cv_lib_ncurses_tparm=yes 10126 ac_cv_lib_ncurses_tparm=yes
10124 else 10127 else
10125 echo "$as_me: failed program was:" >&5 10128 echo "$as_me: failed program was:" >&5
10126 cat conftest.$ac_ext >&5 10129 cat conftest.$ac_ext >&5
10127 ac_cv_lib_ncurses_tparm=no 10130 ac_cv_lib_ncurses_tparm=no
10128 fi 10131 fi
10129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10130 LIBS=$ac_check_lib_save_LIBS 10133 LIBS=$ac_check_lib_save_LIBS
10131 fi 10134 fi
10132 echo "$as_me:10132: result: $ac_cv_lib_ncurses_tparm" >&5 10135 echo "$as_me:10135: result: $ac_cv_lib_ncurses_tparm" >&5
10133 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 10136 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10134 if test $ac_cv_lib_ncurses_tparm = yes; then 10137 if test $ac_cv_lib_ncurses_tparm = yes; then
10135 cat >>confdefs.h <<EOF 10138 cat >>confdefs.h <<EOF
10136 #define HAVE_LIBNCURSES 1 10139 #define HAVE_LIBNCURSES 1
10137 EOF 10140 EOF
10142 10145
10143 # Do we need the Hesiod library to provide the support routines? 10146 # Do we need the Hesiod library to provide the support routines?
10144 if test "$with_hesiod" = yes ; then 10147 if test "$with_hesiod" = yes ; then
10145 # Don't set $LIBS here -- see comments above. 10148 # Don't set $LIBS here -- see comments above.
10146 resolv=no 10149 resolv=no
10147 echo "$as_me:10147: checking for res_send" >&5 10150 echo "$as_me:10150: checking for res_send" >&5
10148 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10151 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10149 if test "${ac_cv_func_res_send+set}" = set; then 10152 if test "${ac_cv_func_res_send+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6 10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 else 10154 else
10152 cat >conftest.$ac_ext <<_ACEOF 10155 cat >conftest.$ac_ext <<_ACEOF
10153 #line 10153 "configure" 10156 #line 10156 "configure"
10154 #include "confdefs.h" 10157 #include "confdefs.h"
10155 /* System header to define __stub macros and hopefully few prototypes, 10158 /* System header to define __stub macros and hopefully few prototypes,
10156 which can conflict with char res_send (); below. */ 10159 which can conflict with char res_send (); below. */
10157 #include <assert.h> 10160 #include <assert.h>
10158 /* Override any gcc2 internal prototype to avoid an error. */ 10161 /* Override any gcc2 internal prototype to avoid an error. */
10179 ; 10182 ;
10180 return 0; 10183 return 0;
10181 } 10184 }
10182 _ACEOF 10185 _ACEOF
10183 rm -f conftest.$ac_objext conftest$ac_exeext 10186 rm -f conftest.$ac_objext conftest$ac_exeext
10184 if { (eval echo "$as_me:10184: \"$ac_link\"") >&5 10187 if { (eval echo "$as_me:10187: \"$ac_link\"") >&5
10185 (eval $ac_link) 2>&5 10188 (eval $ac_link) 2>&5
10186 ac_status=$? 10189 ac_status=$?
10187 echo "$as_me:10187: \$? = $ac_status" >&5 10190 echo "$as_me:10190: \$? = $ac_status" >&5
10188 (exit $ac_status); } && 10191 (exit $ac_status); } &&
10189 { ac_try='test -s conftest$ac_exeext' 10192 { ac_try='test -s conftest$ac_exeext'
10190 { (eval echo "$as_me:10190: \"$ac_try\"") >&5 10193 { (eval echo "$as_me:10193: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5 10194 (eval $ac_try) 2>&5
10192 ac_status=$? 10195 ac_status=$?
10193 echo "$as_me:10193: \$? = $ac_status" >&5 10196 echo "$as_me:10196: \$? = $ac_status" >&5
10194 (exit $ac_status); }; }; then 10197 (exit $ac_status); }; }; then
10195 ac_cv_func_res_send=yes 10198 ac_cv_func_res_send=yes
10196 else 10199 else
10197 echo "$as_me: failed program was:" >&5 10200 echo "$as_me: failed program was:" >&5
10198 cat conftest.$ac_ext >&5 10201 cat conftest.$ac_ext >&5
10199 ac_cv_func_res_send=no 10202 ac_cv_func_res_send=no
10200 fi 10203 fi
10201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10204 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10202 fi 10205 fi
10203 echo "$as_me:10203: result: $ac_cv_func_res_send" >&5 10206 echo "$as_me:10206: result: $ac_cv_func_res_send" >&5
10204 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10207 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10205 if test $ac_cv_func_res_send = yes; then 10208 if test $ac_cv_func_res_send = yes; then
10206 : 10209 :
10207 else 10210 else
10208 echo "$as_me:10208: checking for __res_send" >&5 10211 echo "$as_me:10211: checking for __res_send" >&5
10209 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10212 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10210 if test "${ac_cv_func___res_send+set}" = set; then 10213 if test "${ac_cv_func___res_send+set}" = set; then
10211 echo $ECHO_N "(cached) $ECHO_C" >&6 10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10212 else 10215 else
10213 cat >conftest.$ac_ext <<_ACEOF 10216 cat >conftest.$ac_ext <<_ACEOF
10214 #line 10214 "configure" 10217 #line 10217 "configure"
10215 #include "confdefs.h" 10218 #include "confdefs.h"
10216 /* System header to define __stub macros and hopefully few prototypes, 10219 /* System header to define __stub macros and hopefully few prototypes,
10217 which can conflict with char __res_send (); below. */ 10220 which can conflict with char __res_send (); below. */
10218 #include <assert.h> 10221 #include <assert.h>
10219 /* Override any gcc2 internal prototype to avoid an error. */ 10222 /* Override any gcc2 internal prototype to avoid an error. */
10240 ; 10243 ;
10241 return 0; 10244 return 0;
10242 } 10245 }
10243 _ACEOF 10246 _ACEOF
10244 rm -f conftest.$ac_objext conftest$ac_exeext 10247 rm -f conftest.$ac_objext conftest$ac_exeext
10245 if { (eval echo "$as_me:10245: \"$ac_link\"") >&5 10248 if { (eval echo "$as_me:10248: \"$ac_link\"") >&5
10246 (eval $ac_link) 2>&5 10249 (eval $ac_link) 2>&5
10247 ac_status=$? 10250 ac_status=$?
10248 echo "$as_me:10248: \$? = $ac_status" >&5 10251 echo "$as_me:10251: \$? = $ac_status" >&5
10249 (exit $ac_status); } && 10252 (exit $ac_status); } &&
10250 { ac_try='test -s conftest$ac_exeext' 10253 { ac_try='test -s conftest$ac_exeext'
10251 { (eval echo "$as_me:10251: \"$ac_try\"") >&5 10254 { (eval echo "$as_me:10254: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5 10255 (eval $ac_try) 2>&5
10253 ac_status=$? 10256 ac_status=$?
10254 echo "$as_me:10254: \$? = $ac_status" >&5 10257 echo "$as_me:10257: \$? = $ac_status" >&5
10255 (exit $ac_status); }; }; then 10258 (exit $ac_status); }; }; then
10256 ac_cv_func___res_send=yes 10259 ac_cv_func___res_send=yes
10257 else 10260 else
10258 echo "$as_me: failed program was:" >&5 10261 echo "$as_me: failed program was:" >&5
10259 cat conftest.$ac_ext >&5 10262 cat conftest.$ac_ext >&5
10260 ac_cv_func___res_send=no 10263 ac_cv_func___res_send=no
10261 fi 10264 fi
10262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10265 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10263 fi 10266 fi
10264 echo "$as_me:10264: result: $ac_cv_func___res_send" >&5 10267 echo "$as_me:10267: result: $ac_cv_func___res_send" >&5
10265 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10268 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10266 if test $ac_cv_func___res_send = yes; then 10269 if test $ac_cv_func___res_send = yes; then
10267 : 10270 :
10268 else 10271 else
10269 echo "$as_me:10269: checking for res_send in -lresolv" >&5 10272 echo "$as_me:10272: checking for res_send in -lresolv" >&5
10270 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10273 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10271 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10274 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6 10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10273 else 10276 else
10274 ac_check_lib_save_LIBS=$LIBS 10277 ac_check_lib_save_LIBS=$LIBS
10275 LIBS="-lresolv $LIBS" 10278 LIBS="-lresolv $LIBS"
10276 cat >conftest.$ac_ext <<_ACEOF 10279 cat >conftest.$ac_ext <<_ACEOF
10277 #line 10277 "configure" 10280 #line 10280 "configure"
10278 #include "confdefs.h" 10281 #include "confdefs.h"
10279 10282
10280 /* Override any gcc2 internal prototype to avoid an error. */ 10283 /* Override any gcc2 internal prototype to avoid an error. */
10281 #ifdef __cplusplus 10284 #ifdef __cplusplus
10282 extern "C" 10285 extern "C"
10291 ; 10294 ;
10292 return 0; 10295 return 0;
10293 } 10296 }
10294 _ACEOF 10297 _ACEOF
10295 rm -f conftest.$ac_objext conftest$ac_exeext 10298 rm -f conftest.$ac_objext conftest$ac_exeext
10296 if { (eval echo "$as_me:10296: \"$ac_link\"") >&5 10299 if { (eval echo "$as_me:10299: \"$ac_link\"") >&5
10297 (eval $ac_link) 2>&5 10300 (eval $ac_link) 2>&5
10298 ac_status=$? 10301 ac_status=$?
10299 echo "$as_me:10299: \$? = $ac_status" >&5 10302 echo "$as_me:10302: \$? = $ac_status" >&5
10300 (exit $ac_status); } && 10303 (exit $ac_status); } &&
10301 { ac_try='test -s conftest$ac_exeext' 10304 { ac_try='test -s conftest$ac_exeext'
10302 { (eval echo "$as_me:10302: \"$ac_try\"") >&5 10305 { (eval echo "$as_me:10305: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5 10306 (eval $ac_try) 2>&5
10304 ac_status=$? 10307 ac_status=$?
10305 echo "$as_me:10305: \$? = $ac_status" >&5 10308 echo "$as_me:10308: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then 10309 (exit $ac_status); }; }; then
10307 ac_cv_lib_resolv_res_send=yes 10310 ac_cv_lib_resolv_res_send=yes
10308 else 10311 else
10309 echo "$as_me: failed program was:" >&5 10312 echo "$as_me: failed program was:" >&5
10310 cat conftest.$ac_ext >&5 10313 cat conftest.$ac_ext >&5
10311 ac_cv_lib_resolv_res_send=no 10314 ac_cv_lib_resolv_res_send=no
10312 fi 10315 fi
10313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10314 LIBS=$ac_check_lib_save_LIBS 10317 LIBS=$ac_check_lib_save_LIBS
10315 fi 10318 fi
10316 echo "$as_me:10316: result: $ac_cv_lib_resolv_res_send" >&5 10319 echo "$as_me:10319: result: $ac_cv_lib_resolv_res_send" >&5
10317 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10320 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10318 if test $ac_cv_lib_resolv_res_send = yes; then 10321 if test $ac_cv_lib_resolv_res_send = yes; then
10319 resolv=yes 10322 resolv=yes
10320 else 10323 else
10321 echo "$as_me:10321: checking for __res_send in -lresolv" >&5 10324 echo "$as_me:10324: checking for __res_send in -lresolv" >&5
10322 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10325 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10323 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10326 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6 10327 echo $ECHO_N "(cached) $ECHO_C" >&6
10325 else 10328 else
10326 ac_check_lib_save_LIBS=$LIBS 10329 ac_check_lib_save_LIBS=$LIBS
10327 LIBS="-lresolv $LIBS" 10330 LIBS="-lresolv $LIBS"
10328 cat >conftest.$ac_ext <<_ACEOF 10331 cat >conftest.$ac_ext <<_ACEOF
10329 #line 10329 "configure" 10332 #line 10332 "configure"
10330 #include "confdefs.h" 10333 #include "confdefs.h"
10331 10334
10332 /* Override any gcc2 internal prototype to avoid an error. */ 10335 /* Override any gcc2 internal prototype to avoid an error. */
10333 #ifdef __cplusplus 10336 #ifdef __cplusplus
10334 extern "C" 10337 extern "C"
10343 ; 10346 ;
10344 return 0; 10347 return 0;
10345 } 10348 }
10346 _ACEOF 10349 _ACEOF
10347 rm -f conftest.$ac_objext conftest$ac_exeext 10350 rm -f conftest.$ac_objext conftest$ac_exeext
10348 if { (eval echo "$as_me:10348: \"$ac_link\"") >&5 10351 if { (eval echo "$as_me:10351: \"$ac_link\"") >&5
10349 (eval $ac_link) 2>&5 10352 (eval $ac_link) 2>&5
10350 ac_status=$? 10353 ac_status=$?
10351 echo "$as_me:10351: \$? = $ac_status" >&5 10354 echo "$as_me:10354: \$? = $ac_status" >&5
10352 (exit $ac_status); } && 10355 (exit $ac_status); } &&
10353 { ac_try='test -s conftest$ac_exeext' 10356 { ac_try='test -s conftest$ac_exeext'
10354 { (eval echo "$as_me:10354: \"$ac_try\"") >&5 10357 { (eval echo "$as_me:10357: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5 10358 (eval $ac_try) 2>&5
10356 ac_status=$? 10359 ac_status=$?
10357 echo "$as_me:10357: \$? = $ac_status" >&5 10360 echo "$as_me:10360: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then 10361 (exit $ac_status); }; }; then
10359 ac_cv_lib_resolv___res_send=yes 10362 ac_cv_lib_resolv___res_send=yes
10360 else 10363 else
10361 echo "$as_me: failed program was:" >&5 10364 echo "$as_me: failed program was:" >&5
10362 cat conftest.$ac_ext >&5 10365 cat conftest.$ac_ext >&5
10363 ac_cv_lib_resolv___res_send=no 10366 ac_cv_lib_resolv___res_send=no
10364 fi 10367 fi
10365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS 10369 LIBS=$ac_check_lib_save_LIBS
10367 fi 10370 fi
10368 echo "$as_me:10368: result: $ac_cv_lib_resolv___res_send" >&5 10371 echo "$as_me:10371: result: $ac_cv_lib_resolv___res_send" >&5
10369 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10372 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10370 if test $ac_cv_lib_resolv___res_send = yes; then 10373 if test $ac_cv_lib_resolv___res_send = yes; then
10371 resolv=yes 10374 resolv=yes
10372 fi 10375 fi
10373 10376
10384 EOF 10387 EOF
10385 10388
10386 else 10389 else
10387 RESOLVLIB= 10390 RESOLVLIB=
10388 fi 10391 fi
10389 echo "$as_me:10389: checking for hes_getmailhost" >&5 10392 echo "$as_me:10392: checking for hes_getmailhost" >&5
10390 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10393 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10391 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10394 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6 10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10393 else 10396 else
10394 cat >conftest.$ac_ext <<_ACEOF 10397 cat >conftest.$ac_ext <<_ACEOF
10395 #line 10395 "configure" 10398 #line 10398 "configure"
10396 #include "confdefs.h" 10399 #include "confdefs.h"
10397 /* System header to define __stub macros and hopefully few prototypes, 10400 /* System header to define __stub macros and hopefully few prototypes,
10398 which can conflict with char hes_getmailhost (); below. */ 10401 which can conflict with char hes_getmailhost (); below. */
10399 #include <assert.h> 10402 #include <assert.h>
10400 /* Override any gcc2 internal prototype to avoid an error. */ 10403 /* Override any gcc2 internal prototype to avoid an error. */
10421 ; 10424 ;
10422 return 0; 10425 return 0;
10423 } 10426 }
10424 _ACEOF 10427 _ACEOF
10425 rm -f conftest.$ac_objext conftest$ac_exeext 10428 rm -f conftest.$ac_objext conftest$ac_exeext
10426 if { (eval echo "$as_me:10426: \"$ac_link\"") >&5 10429 if { (eval echo "$as_me:10429: \"$ac_link\"") >&5
10427 (eval $ac_link) 2>&5 10430 (eval $ac_link) 2>&5
10428 ac_status=$? 10431 ac_status=$?
10429 echo "$as_me:10429: \$? = $ac_status" >&5 10432 echo "$as_me:10432: \$? = $ac_status" >&5
10430 (exit $ac_status); } && 10433 (exit $ac_status); } &&
10431 { ac_try='test -s conftest$ac_exeext' 10434 { ac_try='test -s conftest$ac_exeext'
10432 { (eval echo "$as_me:10432: \"$ac_try\"") >&5 10435 { (eval echo "$as_me:10435: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5 10436 (eval $ac_try) 2>&5
10434 ac_status=$? 10437 ac_status=$?
10435 echo "$as_me:10435: \$? = $ac_status" >&5 10438 echo "$as_me:10438: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then 10439 (exit $ac_status); }; }; then
10437 ac_cv_func_hes_getmailhost=yes 10440 ac_cv_func_hes_getmailhost=yes
10438 else 10441 else
10439 echo "$as_me: failed program was:" >&5 10442 echo "$as_me: failed program was:" >&5
10440 cat conftest.$ac_ext >&5 10443 cat conftest.$ac_ext >&5
10441 ac_cv_func_hes_getmailhost=no 10444 ac_cv_func_hes_getmailhost=no
10442 fi 10445 fi
10443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10444 fi 10447 fi
10445 echo "$as_me:10445: result: $ac_cv_func_hes_getmailhost" >&5 10448 echo "$as_me:10448: result: $ac_cv_func_hes_getmailhost" >&5
10446 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10449 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10447 if test $ac_cv_func_hes_getmailhost = yes; then 10450 if test $ac_cv_func_hes_getmailhost = yes; then
10448 : 10451 :
10449 else 10452 else
10450 echo "$as_me:10450: checking for hes_getmailhost in -lhesiod" >&5 10453 echo "$as_me:10453: checking for hes_getmailhost in -lhesiod" >&5
10451 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10454 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10452 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10455 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6 10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10454 else 10457 else
10455 ac_check_lib_save_LIBS=$LIBS 10458 ac_check_lib_save_LIBS=$LIBS
10456 LIBS="-lhesiod $RESOLVLIB $LIBS" 10459 LIBS="-lhesiod $RESOLVLIB $LIBS"
10457 cat >conftest.$ac_ext <<_ACEOF 10460 cat >conftest.$ac_ext <<_ACEOF
10458 #line 10458 "configure" 10461 #line 10461 "configure"
10459 #include "confdefs.h" 10462 #include "confdefs.h"
10460 10463
10461 /* Override any gcc2 internal prototype to avoid an error. */ 10464 /* Override any gcc2 internal prototype to avoid an error. */
10462 #ifdef __cplusplus 10465 #ifdef __cplusplus
10463 extern "C" 10466 extern "C"
10472 ; 10475 ;
10473 return 0; 10476 return 0;
10474 } 10477 }
10475 _ACEOF 10478 _ACEOF
10476 rm -f conftest.$ac_objext conftest$ac_exeext 10479 rm -f conftest.$ac_objext conftest$ac_exeext
10477 if { (eval echo "$as_me:10477: \"$ac_link\"") >&5 10480 if { (eval echo "$as_me:10480: \"$ac_link\"") >&5
10478 (eval $ac_link) 2>&5 10481 (eval $ac_link) 2>&5
10479 ac_status=$? 10482 ac_status=$?
10480 echo "$as_me:10480: \$? = $ac_status" >&5 10483 echo "$as_me:10483: \$? = $ac_status" >&5
10481 (exit $ac_status); } && 10484 (exit $ac_status); } &&
10482 { ac_try='test -s conftest$ac_exeext' 10485 { ac_try='test -s conftest$ac_exeext'
10483 { (eval echo "$as_me:10483: \"$ac_try\"") >&5 10486 { (eval echo "$as_me:10486: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5 10487 (eval $ac_try) 2>&5
10485 ac_status=$? 10488 ac_status=$?
10486 echo "$as_me:10486: \$? = $ac_status" >&5 10489 echo "$as_me:10489: \$? = $ac_status" >&5
10487 (exit $ac_status); }; }; then 10490 (exit $ac_status); }; }; then
10488 ac_cv_lib_hesiod_hes_getmailhost=yes 10491 ac_cv_lib_hesiod_hes_getmailhost=yes
10489 else 10492 else
10490 echo "$as_me: failed program was:" >&5 10493 echo "$as_me: failed program was:" >&5
10491 cat conftest.$ac_ext >&5 10494 cat conftest.$ac_ext >&5
10492 ac_cv_lib_hesiod_hes_getmailhost=no 10495 ac_cv_lib_hesiod_hes_getmailhost=no
10493 fi 10496 fi
10494 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10495 LIBS=$ac_check_lib_save_LIBS 10498 LIBS=$ac_check_lib_save_LIBS
10496 fi 10499 fi
10497 echo "$as_me:10497: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10500 echo "$as_me:10500: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10498 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10501 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10499 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10502 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10500 cat >>confdefs.h <<\EOF 10503 cat >>confdefs.h <<\EOF
10501 #define HAVE_LIBHESIOD 1 10504 #define HAVE_LIBHESIOD 1
10502 EOF 10505 EOF
10510 fi 10513 fi
10511 10514
10512 # These tell us which Kerberos-related libraries to use. 10515 # These tell us which Kerberos-related libraries to use.
10513 if test "${with_kerberos+set}" = set; then 10516 if test "${with_kerberos+set}" = set; then
10514 10517
10515 echo "$as_me:10515: checking for com_err in -lcom_err" >&5 10518 echo "$as_me:10518: checking for com_err in -lcom_err" >&5
10516 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10519 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10517 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10520 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6 10521 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 else 10522 else
10520 ac_check_lib_save_LIBS=$LIBS 10523 ac_check_lib_save_LIBS=$LIBS
10521 LIBS="-lcom_err $LIBS" 10524 LIBS="-lcom_err $LIBS"
10522 cat >conftest.$ac_ext <<_ACEOF 10525 cat >conftest.$ac_ext <<_ACEOF
10523 #line 10523 "configure" 10526 #line 10526 "configure"
10524 #include "confdefs.h" 10527 #include "confdefs.h"
10525 10528
10526 /* Override any gcc2 internal prototype to avoid an error. */ 10529 /* Override any gcc2 internal prototype to avoid an error. */
10527 #ifdef __cplusplus 10530 #ifdef __cplusplus
10528 extern "C" 10531 extern "C"
10537 ; 10540 ;
10538 return 0; 10541 return 0;
10539 } 10542 }
10540 _ACEOF 10543 _ACEOF
10541 rm -f conftest.$ac_objext conftest$ac_exeext 10544 rm -f conftest.$ac_objext conftest$ac_exeext
10542 if { (eval echo "$as_me:10542: \"$ac_link\"") >&5 10545 if { (eval echo "$as_me:10545: \"$ac_link\"") >&5
10543 (eval $ac_link) 2>&5 10546 (eval $ac_link) 2>&5
10544 ac_status=$? 10547 ac_status=$?
10545 echo "$as_me:10545: \$? = $ac_status" >&5 10548 echo "$as_me:10548: \$? = $ac_status" >&5
10546 (exit $ac_status); } && 10549 (exit $ac_status); } &&
10547 { ac_try='test -s conftest$ac_exeext' 10550 { ac_try='test -s conftest$ac_exeext'
10548 { (eval echo "$as_me:10548: \"$ac_try\"") >&5 10551 { (eval echo "$as_me:10551: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5 10552 (eval $ac_try) 2>&5
10550 ac_status=$? 10553 ac_status=$?
10551 echo "$as_me:10551: \$? = $ac_status" >&5 10554 echo "$as_me:10554: \$? = $ac_status" >&5
10552 (exit $ac_status); }; }; then 10555 (exit $ac_status); }; }; then
10553 ac_cv_lib_com_err_com_err=yes 10556 ac_cv_lib_com_err_com_err=yes
10554 else 10557 else
10555 echo "$as_me: failed program was:" >&5 10558 echo "$as_me: failed program was:" >&5
10556 cat conftest.$ac_ext >&5 10559 cat conftest.$ac_ext >&5
10557 ac_cv_lib_com_err_com_err=no 10560 ac_cv_lib_com_err_com_err=no
10558 fi 10561 fi
10559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10562 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10560 LIBS=$ac_check_lib_save_LIBS 10563 LIBS=$ac_check_lib_save_LIBS
10561 fi 10564 fi
10562 echo "$as_me:10562: result: $ac_cv_lib_com_err_com_err" >&5 10565 echo "$as_me:10565: result: $ac_cv_lib_com_err_com_err" >&5
10563 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10566 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10564 if test $ac_cv_lib_com_err_com_err = yes; then 10567 if test $ac_cv_lib_com_err_com_err = yes; then
10565 cat >>confdefs.h <<EOF 10568 cat >>confdefs.h <<EOF
10566 #define HAVE_LIBCOM_ERR 1 10569 #define HAVE_LIBCOM_ERR 1
10567 EOF 10570 EOF
10568 10571
10569 LIBS="-lcom_err $LIBS" 10572 LIBS="-lcom_err $LIBS"
10570 10573
10571 fi 10574 fi
10572 10575
10573 echo "$as_me:10573: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10576 echo "$as_me:10576: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10574 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10577 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10575 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10578 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6 10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 else 10580 else
10578 ac_check_lib_save_LIBS=$LIBS 10581 ac_check_lib_save_LIBS=$LIBS
10579 LIBS="-lk5crypto $LIBS" 10582 LIBS="-lk5crypto $LIBS"
10580 cat >conftest.$ac_ext <<_ACEOF 10583 cat >conftest.$ac_ext <<_ACEOF
10581 #line 10581 "configure" 10584 #line 10584 "configure"
10582 #include "confdefs.h" 10585 #include "confdefs.h"
10583 10586
10584 /* Override any gcc2 internal prototype to avoid an error. */ 10587 /* Override any gcc2 internal prototype to avoid an error. */
10585 #ifdef __cplusplus 10588 #ifdef __cplusplus
10586 extern "C" 10589 extern "C"
10595 ; 10598 ;
10596 return 0; 10599 return 0;
10597 } 10600 }
10598 _ACEOF 10601 _ACEOF
10599 rm -f conftest.$ac_objext conftest$ac_exeext 10602 rm -f conftest.$ac_objext conftest$ac_exeext
10600 if { (eval echo "$as_me:10600: \"$ac_link\"") >&5 10603 if { (eval echo "$as_me:10603: \"$ac_link\"") >&5
10601 (eval $ac_link) 2>&5 10604 (eval $ac_link) 2>&5
10602 ac_status=$? 10605 ac_status=$?
10603 echo "$as_me:10603: \$? = $ac_status" >&5 10606 echo "$as_me:10606: \$? = $ac_status" >&5
10604 (exit $ac_status); } && 10607 (exit $ac_status); } &&
10605 { ac_try='test -s conftest$ac_exeext' 10608 { ac_try='test -s conftest$ac_exeext'
10606 { (eval echo "$as_me:10606: \"$ac_try\"") >&5 10609 { (eval echo "$as_me:10609: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5 10610 (eval $ac_try) 2>&5
10608 ac_status=$? 10611 ac_status=$?
10609 echo "$as_me:10609: \$? = $ac_status" >&5 10612 echo "$as_me:10612: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then 10613 (exit $ac_status); }; }; then
10611 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10614 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10612 else 10615 else
10613 echo "$as_me: failed program was:" >&5 10616 echo "$as_me: failed program was:" >&5
10614 cat conftest.$ac_ext >&5 10617 cat conftest.$ac_ext >&5
10615 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10618 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10616 fi 10619 fi
10617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10618 LIBS=$ac_check_lib_save_LIBS 10621 LIBS=$ac_check_lib_save_LIBS
10619 fi 10622 fi
10620 echo "$as_me:10620: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10623 echo "$as_me:10623: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10621 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10624 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10622 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10625 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10623 cat >>confdefs.h <<EOF 10626 cat >>confdefs.h <<EOF
10624 #define HAVE_LIBK5CRYPTO 1 10627 #define HAVE_LIBK5CRYPTO 1
10625 EOF 10628 EOF
10626 10629
10627 LIBS="-lk5crypto $LIBS" 10630 LIBS="-lk5crypto $LIBS"
10628 10631
10629 fi 10632 fi
10630 10633
10631 echo "$as_me:10631: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10634 echo "$as_me:10634: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10632 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10635 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10633 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10636 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10634 echo $ECHO_N "(cached) $ECHO_C" >&6 10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10635 else 10638 else
10636 ac_check_lib_save_LIBS=$LIBS 10639 ac_check_lib_save_LIBS=$LIBS
10637 LIBS="-lcrypto $LIBS" 10640 LIBS="-lcrypto $LIBS"
10638 cat >conftest.$ac_ext <<_ACEOF 10641 cat >conftest.$ac_ext <<_ACEOF
10639 #line 10639 "configure" 10642 #line 10642 "configure"
10640 #include "confdefs.h" 10643 #include "confdefs.h"
10641 10644
10642 /* Override any gcc2 internal prototype to avoid an error. */ 10645 /* Override any gcc2 internal prototype to avoid an error. */
10643 #ifdef __cplusplus 10646 #ifdef __cplusplus
10644 extern "C" 10647 extern "C"
10653 ; 10656 ;
10654 return 0; 10657 return 0;
10655 } 10658 }
10656 _ACEOF 10659 _ACEOF
10657 rm -f conftest.$ac_objext conftest$ac_exeext 10660 rm -f conftest.$ac_objext conftest$ac_exeext
10658 if { (eval echo "$as_me:10658: \"$ac_link\"") >&5 10661 if { (eval echo "$as_me:10661: \"$ac_link\"") >&5
10659 (eval $ac_link) 2>&5 10662 (eval $ac_link) 2>&5
10660 ac_status=$? 10663 ac_status=$?
10661 echo "$as_me:10661: \$? = $ac_status" >&5 10664 echo "$as_me:10664: \$? = $ac_status" >&5
10662 (exit $ac_status); } && 10665 (exit $ac_status); } &&
10663 { ac_try='test -s conftest$ac_exeext' 10666 { ac_try='test -s conftest$ac_exeext'
10664 { (eval echo "$as_me:10664: \"$ac_try\"") >&5 10667 { (eval echo "$as_me:10667: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5 10668 (eval $ac_try) 2>&5
10666 ac_status=$? 10669 ac_status=$?
10667 echo "$as_me:10667: \$? = $ac_status" >&5 10670 echo "$as_me:10670: \$? = $ac_status" >&5
10668 (exit $ac_status); }; }; then 10671 (exit $ac_status); }; }; then
10669 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10672 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10670 else 10673 else
10671 echo "$as_me: failed program was:" >&5 10674 echo "$as_me: failed program was:" >&5
10672 cat conftest.$ac_ext >&5 10675 cat conftest.$ac_ext >&5
10673 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10676 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10674 fi 10677 fi
10675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10678 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10676 LIBS=$ac_check_lib_save_LIBS 10679 LIBS=$ac_check_lib_save_LIBS
10677 fi 10680 fi
10678 echo "$as_me:10678: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10681 echo "$as_me:10681: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10679 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10682 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10680 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10683 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10681 cat >>confdefs.h <<EOF 10684 cat >>confdefs.h <<EOF
10682 #define HAVE_LIBCRYPTO 1 10685 #define HAVE_LIBCRYPTO 1
10683 EOF 10686 EOF
10684 10687
10685 LIBS="-lcrypto $LIBS" 10688 LIBS="-lcrypto $LIBS"
10686 10689
10687 fi 10690 fi
10688 10691
10689 echo "$as_me:10689: checking for krb5_init_context in -lkrb5" >&5 10692 echo "$as_me:10692: checking for krb5_init_context in -lkrb5" >&5
10690 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10693 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10691 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10694 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6 10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 else 10696 else
10694 ac_check_lib_save_LIBS=$LIBS 10697 ac_check_lib_save_LIBS=$LIBS
10695 LIBS="-lkrb5 $LIBS" 10698 LIBS="-lkrb5 $LIBS"
10696 cat >conftest.$ac_ext <<_ACEOF 10699 cat >conftest.$ac_ext <<_ACEOF
10697 #line 10697 "configure" 10700 #line 10700 "configure"
10698 #include "confdefs.h" 10701 #include "confdefs.h"
10699 10702
10700 /* Override any gcc2 internal prototype to avoid an error. */ 10703 /* Override any gcc2 internal prototype to avoid an error. */
10701 #ifdef __cplusplus 10704 #ifdef __cplusplus
10702 extern "C" 10705 extern "C"
10711 ; 10714 ;
10712 return 0; 10715 return 0;
10713 } 10716 }
10714 _ACEOF 10717 _ACEOF
10715 rm -f conftest.$ac_objext conftest$ac_exeext 10718 rm -f conftest.$ac_objext conftest$ac_exeext
10716 if { (eval echo "$as_me:10716: \"$ac_link\"") >&5 10719 if { (eval echo "$as_me:10719: \"$ac_link\"") >&5
10717 (eval $ac_link) 2>&5 10720 (eval $ac_link) 2>&5
10718 ac_status=$? 10721 ac_status=$?
10719 echo "$as_me:10719: \$? = $ac_status" >&5 10722 echo "$as_me:10722: \$? = $ac_status" >&5
10720 (exit $ac_status); } && 10723 (exit $ac_status); } &&
10721 { ac_try='test -s conftest$ac_exeext' 10724 { ac_try='test -s conftest$ac_exeext'
10722 { (eval echo "$as_me:10722: \"$ac_try\"") >&5 10725 { (eval echo "$as_me:10725: \"$ac_try\"") >&5
10723 (eval $ac_try) 2>&5 10726 (eval $ac_try) 2>&5
10724 ac_status=$? 10727 ac_status=$?
10725 echo "$as_me:10725: \$? = $ac_status" >&5 10728 echo "$as_me:10728: \$? = $ac_status" >&5
10726 (exit $ac_status); }; }; then 10729 (exit $ac_status); }; }; then
10727 ac_cv_lib_krb5_krb5_init_context=yes 10730 ac_cv_lib_krb5_krb5_init_context=yes
10728 else 10731 else
10729 echo "$as_me: failed program was:" >&5 10732 echo "$as_me: failed program was:" >&5
10730 cat conftest.$ac_ext >&5 10733 cat conftest.$ac_ext >&5
10731 ac_cv_lib_krb5_krb5_init_context=no 10734 ac_cv_lib_krb5_krb5_init_context=no
10732 fi 10735 fi
10733 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS 10737 LIBS=$ac_check_lib_save_LIBS
10735 fi 10738 fi
10736 echo "$as_me:10736: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10739 echo "$as_me:10739: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10737 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10740 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10738 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10741 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10739 cat >>confdefs.h <<EOF 10742 cat >>confdefs.h <<EOF
10740 #define HAVE_LIBKRB5 1 10743 #define HAVE_LIBKRB5 1
10741 EOF 10744 EOF
10744 10747
10745 fi 10748 fi
10746 10749
10747 if test "${with_kerberos5+set}" != set; then 10750 if test "${with_kerberos5+set}" != set; then
10748 10751
10749 echo "$as_me:10749: checking for des_cbc_encrypt in -ldes425" >&5 10752 echo "$as_me:10752: checking for des_cbc_encrypt in -ldes425" >&5
10750 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10753 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10751 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10754 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6 10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 else 10756 else
10754 ac_check_lib_save_LIBS=$LIBS 10757 ac_check_lib_save_LIBS=$LIBS
10755 LIBS="-ldes425 $LIBS" 10758 LIBS="-ldes425 $LIBS"
10756 cat >conftest.$ac_ext <<_ACEOF 10759 cat >conftest.$ac_ext <<_ACEOF
10757 #line 10757 "configure" 10760 #line 10760 "configure"
10758 #include "confdefs.h" 10761 #include "confdefs.h"
10759 10762
10760 /* Override any gcc2 internal prototype to avoid an error. */ 10763 /* Override any gcc2 internal prototype to avoid an error. */
10761 #ifdef __cplusplus 10764 #ifdef __cplusplus
10762 extern "C" 10765 extern "C"
10771 ; 10774 ;
10772 return 0; 10775 return 0;
10773 } 10776 }
10774 _ACEOF 10777 _ACEOF
10775 rm -f conftest.$ac_objext conftest$ac_exeext 10778 rm -f conftest.$ac_objext conftest$ac_exeext
10776 if { (eval echo "$as_me:10776: \"$ac_link\"") >&5 10779 if { (eval echo "$as_me:10779: \"$ac_link\"") >&5
10777 (eval $ac_link) 2>&5 10780 (eval $ac_link) 2>&5
10778 ac_status=$? 10781 ac_status=$?
10779 echo "$as_me:10779: \$? = $ac_status" >&5 10782 echo "$as_me:10782: \$? = $ac_status" >&5
10780 (exit $ac_status); } && 10783 (exit $ac_status); } &&
10781 { ac_try='test -s conftest$ac_exeext' 10784 { ac_try='test -s conftest$ac_exeext'
10782 { (eval echo "$as_me:10782: \"$ac_try\"") >&5 10785 { (eval echo "$as_me:10785: \"$ac_try\"") >&5
10783 (eval $ac_try) 2>&5 10786 (eval $ac_try) 2>&5
10784 ac_status=$? 10787 ac_status=$?
10785 echo "$as_me:10785: \$? = $ac_status" >&5 10788 echo "$as_me:10788: \$? = $ac_status" >&5
10786 (exit $ac_status); }; }; then 10789 (exit $ac_status); }; }; then
10787 ac_cv_lib_des425_des_cbc_encrypt=yes 10790 ac_cv_lib_des425_des_cbc_encrypt=yes
10788 else 10791 else
10789 echo "$as_me: failed program was:" >&5 10792 echo "$as_me: failed program was:" >&5
10790 cat conftest.$ac_ext >&5 10793 cat conftest.$ac_ext >&5
10791 ac_cv_lib_des425_des_cbc_encrypt=no 10794 ac_cv_lib_des425_des_cbc_encrypt=no
10792 fi 10795 fi
10793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10794 LIBS=$ac_check_lib_save_LIBS 10797 LIBS=$ac_check_lib_save_LIBS
10795 fi 10798 fi
10796 echo "$as_me:10796: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10799 echo "$as_me:10799: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10797 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10800 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10798 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10801 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10799 cat >>confdefs.h <<EOF 10802 cat >>confdefs.h <<EOF
10800 #define HAVE_LIBDES425 1 10803 #define HAVE_LIBDES425 1
10801 EOF 10804 EOF
10802 10805
10803 LIBS="-ldes425 $LIBS" 10806 LIBS="-ldes425 $LIBS"
10804 10807
10805 else 10808 else
10806 10809
10807 echo "$as_me:10807: checking for des_cbc_encrypt in -ldes" >&5 10810 echo "$as_me:10810: checking for des_cbc_encrypt in -ldes" >&5
10808 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10811 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10809 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10812 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6 10813 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 else 10814 else
10812 ac_check_lib_save_LIBS=$LIBS 10815 ac_check_lib_save_LIBS=$LIBS
10813 LIBS="-ldes $LIBS" 10816 LIBS="-ldes $LIBS"
10814 cat >conftest.$ac_ext <<_ACEOF 10817 cat >conftest.$ac_ext <<_ACEOF
10815 #line 10815 "configure" 10818 #line 10818 "configure"
10816 #include "confdefs.h" 10819 #include "confdefs.h"
10817 10820
10818 /* Override any gcc2 internal prototype to avoid an error. */ 10821 /* Override any gcc2 internal prototype to avoid an error. */
10819 #ifdef __cplusplus 10822 #ifdef __cplusplus
10820 extern "C" 10823 extern "C"
10829 ; 10832 ;
10830 return 0; 10833 return 0;
10831 } 10834 }
10832 _ACEOF 10835 _ACEOF
10833 rm -f conftest.$ac_objext conftest$ac_exeext 10836 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (eval echo "$as_me:10834: \"$ac_link\"") >&5 10837 if { (eval echo "$as_me:10837: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>&5 10838 (eval $ac_link) 2>&5
10836 ac_status=$? 10839 ac_status=$?
10837 echo "$as_me:10837: \$? = $ac_status" >&5 10840 echo "$as_me:10840: \$? = $ac_status" >&5
10838 (exit $ac_status); } && 10841 (exit $ac_status); } &&
10839 { ac_try='test -s conftest$ac_exeext' 10842 { ac_try='test -s conftest$ac_exeext'
10840 { (eval echo "$as_me:10840: \"$ac_try\"") >&5 10843 { (eval echo "$as_me:10843: \"$ac_try\"") >&5
10841 (eval $ac_try) 2>&5 10844 (eval $ac_try) 2>&5
10842 ac_status=$? 10845 ac_status=$?
10843 echo "$as_me:10843: \$? = $ac_status" >&5 10846 echo "$as_me:10846: \$? = $ac_status" >&5
10844 (exit $ac_status); }; }; then 10847 (exit $ac_status); }; }; then
10845 ac_cv_lib_des_des_cbc_encrypt=yes 10848 ac_cv_lib_des_des_cbc_encrypt=yes
10846 else 10849 else
10847 echo "$as_me: failed program was:" >&5 10850 echo "$as_me: failed program was:" >&5
10848 cat conftest.$ac_ext >&5 10851 cat conftest.$ac_ext >&5
10849 ac_cv_lib_des_des_cbc_encrypt=no 10852 ac_cv_lib_des_des_cbc_encrypt=no
10850 fi 10853 fi
10851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10852 LIBS=$ac_check_lib_save_LIBS 10855 LIBS=$ac_check_lib_save_LIBS
10853 fi 10856 fi
10854 echo "$as_me:10854: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 10857 echo "$as_me:10857: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10855 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 10858 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10856 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 10859 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10857 cat >>confdefs.h <<EOF 10860 cat >>confdefs.h <<EOF
10858 #define HAVE_LIBDES 1 10861 #define HAVE_LIBDES 1
10859 EOF 10862 EOF
10862 10865
10863 fi 10866 fi
10864 10867
10865 fi 10868 fi
10866 10869
10867 echo "$as_me:10867: checking for krb_get_cred in -lkrb4" >&5 10870 echo "$as_me:10870: checking for krb_get_cred in -lkrb4" >&5
10868 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 10871 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
10869 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 10872 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10870 echo $ECHO_N "(cached) $ECHO_C" >&6 10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 else 10874 else
10872 ac_check_lib_save_LIBS=$LIBS 10875 ac_check_lib_save_LIBS=$LIBS
10873 LIBS="-lkrb4 $LIBS" 10876 LIBS="-lkrb4 $LIBS"
10874 cat >conftest.$ac_ext <<_ACEOF 10877 cat >conftest.$ac_ext <<_ACEOF
10875 #line 10875 "configure" 10878 #line 10878 "configure"
10876 #include "confdefs.h" 10879 #include "confdefs.h"
10877 10880
10878 /* Override any gcc2 internal prototype to avoid an error. */ 10881 /* Override any gcc2 internal prototype to avoid an error. */
10879 #ifdef __cplusplus 10882 #ifdef __cplusplus
10880 extern "C" 10883 extern "C"
10889 ; 10892 ;
10890 return 0; 10893 return 0;
10891 } 10894 }
10892 _ACEOF 10895 _ACEOF
10893 rm -f conftest.$ac_objext conftest$ac_exeext 10896 rm -f conftest.$ac_objext conftest$ac_exeext
10894 if { (eval echo "$as_me:10894: \"$ac_link\"") >&5 10897 if { (eval echo "$as_me:10897: \"$ac_link\"") >&5
10895 (eval $ac_link) 2>&5 10898 (eval $ac_link) 2>&5
10896 ac_status=$? 10899 ac_status=$?
10897 echo "$as_me:10897: \$? = $ac_status" >&5 10900 echo "$as_me:10900: \$? = $ac_status" >&5
10898 (exit $ac_status); } && 10901 (exit $ac_status); } &&
10899 { ac_try='test -s conftest$ac_exeext' 10902 { ac_try='test -s conftest$ac_exeext'
10900 { (eval echo "$as_me:10900: \"$ac_try\"") >&5 10903 { (eval echo "$as_me:10903: \"$ac_try\"") >&5
10901 (eval $ac_try) 2>&5 10904 (eval $ac_try) 2>&5
10902 ac_status=$? 10905 ac_status=$?
10903 echo "$as_me:10903: \$? = $ac_status" >&5 10906 echo "$as_me:10906: \$? = $ac_status" >&5
10904 (exit $ac_status); }; }; then 10907 (exit $ac_status); }; }; then
10905 ac_cv_lib_krb4_krb_get_cred=yes 10908 ac_cv_lib_krb4_krb_get_cred=yes
10906 else 10909 else
10907 echo "$as_me: failed program was:" >&5 10910 echo "$as_me: failed program was:" >&5
10908 cat conftest.$ac_ext >&5 10911 cat conftest.$ac_ext >&5
10909 ac_cv_lib_krb4_krb_get_cred=no 10912 ac_cv_lib_krb4_krb_get_cred=no
10910 fi 10913 fi
10911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10912 LIBS=$ac_check_lib_save_LIBS 10915 LIBS=$ac_check_lib_save_LIBS
10913 fi 10916 fi
10914 echo "$as_me:10914: result: $ac_cv_lib_krb4_krb_get_cred" >&5 10917 echo "$as_me:10917: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10915 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 10918 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10916 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 10919 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10917 cat >>confdefs.h <<EOF 10920 cat >>confdefs.h <<EOF
10918 #define HAVE_LIBKRB4 1 10921 #define HAVE_LIBKRB4 1
10919 EOF 10922 EOF
10920 10923
10921 LIBS="-lkrb4 $LIBS" 10924 LIBS="-lkrb4 $LIBS"
10922 10925
10923 else 10926 else
10924 10927
10925 echo "$as_me:10925: checking for krb_get_cred in -lkrb" >&5 10928 echo "$as_me:10928: checking for krb_get_cred in -lkrb" >&5
10926 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 10929 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
10927 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 10930 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6 10931 echo $ECHO_N "(cached) $ECHO_C" >&6
10929 else 10932 else
10930 ac_check_lib_save_LIBS=$LIBS 10933 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lkrb $LIBS" 10934 LIBS="-lkrb $LIBS"
10932 cat >conftest.$ac_ext <<_ACEOF 10935 cat >conftest.$ac_ext <<_ACEOF
10933 #line 10933 "configure" 10936 #line 10936 "configure"
10934 #include "confdefs.h" 10937 #include "confdefs.h"
10935 10938
10936 /* Override any gcc2 internal prototype to avoid an error. */ 10939 /* Override any gcc2 internal prototype to avoid an error. */
10937 #ifdef __cplusplus 10940 #ifdef __cplusplus
10938 extern "C" 10941 extern "C"
10947 ; 10950 ;
10948 return 0; 10951 return 0;
10949 } 10952 }
10950 _ACEOF 10953 _ACEOF
10951 rm -f conftest.$ac_objext conftest$ac_exeext 10954 rm -f conftest.$ac_objext conftest$ac_exeext
10952 if { (eval echo "$as_me:10952: \"$ac_link\"") >&5 10955 if { (eval echo "$as_me:10955: \"$ac_link\"") >&5
10953 (eval $ac_link) 2>&5 10956 (eval $ac_link) 2>&5
10954 ac_status=$? 10957 ac_status=$?
10955 echo "$as_me:10955: \$? = $ac_status" >&5 10958 echo "$as_me:10958: \$? = $ac_status" >&5
10956 (exit $ac_status); } && 10959 (exit $ac_status); } &&
10957 { ac_try='test -s conftest$ac_exeext' 10960 { ac_try='test -s conftest$ac_exeext'
10958 { (eval echo "$as_me:10958: \"$ac_try\"") >&5 10961 { (eval echo "$as_me:10961: \"$ac_try\"") >&5
10959 (eval $ac_try) 2>&5 10962 (eval $ac_try) 2>&5
10960 ac_status=$? 10963 ac_status=$?
10961 echo "$as_me:10961: \$? = $ac_status" >&5 10964 echo "$as_me:10964: \$? = $ac_status" >&5
10962 (exit $ac_status); }; }; then 10965 (exit $ac_status); }; }; then
10963 ac_cv_lib_krb_krb_get_cred=yes 10966 ac_cv_lib_krb_krb_get_cred=yes
10964 else 10967 else
10965 echo "$as_me: failed program was:" >&5 10968 echo "$as_me: failed program was:" >&5
10966 cat conftest.$ac_ext >&5 10969 cat conftest.$ac_ext >&5
10967 ac_cv_lib_krb_krb_get_cred=no 10970 ac_cv_lib_krb_krb_get_cred=no
10968 fi 10971 fi
10969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10970 LIBS=$ac_check_lib_save_LIBS 10973 LIBS=$ac_check_lib_save_LIBS
10971 fi 10974 fi
10972 echo "$as_me:10972: result: $ac_cv_lib_krb_krb_get_cred" >&5 10975 echo "$as_me:10975: result: $ac_cv_lib_krb_krb_get_cred" >&5
10973 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 10976 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10974 if test $ac_cv_lib_krb_krb_get_cred = yes; then 10977 if test $ac_cv_lib_krb_krb_get_cred = yes; then
10975 cat >>confdefs.h <<EOF 10978 cat >>confdefs.h <<EOF
10976 #define HAVE_LIBKRB 1 10979 #define HAVE_LIBKRB 1
10977 EOF 10980 EOF
10987 if test "${with_kerberos5+set}" = set; then 10990 if test "${with_kerberos5+set}" = set; then
10988 10991
10989 for ac_header in krb5.h 10992 for ac_header in krb5.h
10990 do 10993 do
10991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10992 echo "$as_me:10992: checking for $ac_header" >&5 10995 echo "$as_me:10995: checking for $ac_header" >&5
10993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10994 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6 10998 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 else 10999 else
10997 cat >conftest.$ac_ext <<_ACEOF 11000 cat >conftest.$ac_ext <<_ACEOF
10998 #line 10998 "configure" 11001 #line 11001 "configure"
10999 #include "confdefs.h" 11002 #include "confdefs.h"
11000 #include <$ac_header> 11003 #include <$ac_header>
11001 _ACEOF 11004 _ACEOF
11002 if { (eval echo "$as_me:11002: \"$ac_cpp conftest.$ac_ext\"") >&5 11005 if { (eval echo "$as_me:11005: \"$ac_cpp conftest.$ac_ext\"") >&5
11003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11004 ac_status=$? 11007 ac_status=$?
11005 egrep -v '^ *\+' conftest.er1 >conftest.err 11008 egrep -v '^ *\+' conftest.er1 >conftest.err
11006 rm -f conftest.er1 11009 rm -f conftest.er1
11007 cat conftest.err >&5 11010 cat conftest.err >&5
11008 echo "$as_me:11008: \$? = $ac_status" >&5 11011 echo "$as_me:11011: \$? = $ac_status" >&5
11009 (exit $ac_status); } >/dev/null; then 11012 (exit $ac_status); } >/dev/null; then
11010 if test -s conftest.err; then 11013 if test -s conftest.err; then
11011 ac_cpp_err=$ac_c_preproc_warn_flag 11014 ac_cpp_err=$ac_c_preproc_warn_flag
11012 else 11015 else
11013 ac_cpp_err= 11016 ac_cpp_err=
11022 cat conftest.$ac_ext >&5 11025 cat conftest.$ac_ext >&5
11023 eval "$as_ac_Header=no" 11026 eval "$as_ac_Header=no"
11024 fi 11027 fi
11025 rm -f conftest.err conftest.$ac_ext 11028 rm -f conftest.err conftest.$ac_ext
11026 fi 11029 fi
11027 echo "$as_me:11027: result: `eval echo '${'$as_ac_Header'}'`" >&5 11030 echo "$as_me:11030: result: `eval echo '${'$as_ac_Header'}'`" >&5
11028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11029 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11030 cat >>confdefs.h <<EOF 11033 cat >>confdefs.h <<EOF
11031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11032 EOF 11035 EOF
11037 else 11040 else
11038 11041
11039 for ac_header in des.h 11042 for ac_header in des.h
11040 do 11043 do
11041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11042 echo "$as_me:11042: checking for $ac_header" >&5 11045 echo "$as_me:11045: checking for $ac_header" >&5
11043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11044 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11045 echo $ECHO_N "(cached) $ECHO_C" >&6 11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 else 11049 else
11047 cat >conftest.$ac_ext <<_ACEOF 11050 cat >conftest.$ac_ext <<_ACEOF
11048 #line 11048 "configure" 11051 #line 11051 "configure"
11049 #include "confdefs.h" 11052 #include "confdefs.h"
11050 #include <$ac_header> 11053 #include <$ac_header>
11051 _ACEOF 11054 _ACEOF
11052 if { (eval echo "$as_me:11052: \"$ac_cpp conftest.$ac_ext\"") >&5 11055 if { (eval echo "$as_me:11055: \"$ac_cpp conftest.$ac_ext\"") >&5
11053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11054 ac_status=$? 11057 ac_status=$?
11055 egrep -v '^ *\+' conftest.er1 >conftest.err 11058 egrep -v '^ *\+' conftest.er1 >conftest.err
11056 rm -f conftest.er1 11059 rm -f conftest.er1
11057 cat conftest.err >&5 11060 cat conftest.err >&5
11058 echo "$as_me:11058: \$? = $ac_status" >&5 11061 echo "$as_me:11061: \$? = $ac_status" >&5
11059 (exit $ac_status); } >/dev/null; then 11062 (exit $ac_status); } >/dev/null; then
11060 if test -s conftest.err; then 11063 if test -s conftest.err; then
11061 ac_cpp_err=$ac_c_preproc_warn_flag 11064 ac_cpp_err=$ac_c_preproc_warn_flag
11062 else 11065 else
11063 ac_cpp_err= 11066 ac_cpp_err=
11072 cat conftest.$ac_ext >&5 11075 cat conftest.$ac_ext >&5
11073 eval "$as_ac_Header=no" 11076 eval "$as_ac_Header=no"
11074 fi 11077 fi
11075 rm -f conftest.err conftest.$ac_ext 11078 rm -f conftest.err conftest.$ac_ext
11076 fi 11079 fi
11077 echo "$as_me:11077: result: `eval echo '${'$as_ac_Header'}'`" >&5 11080 echo "$as_me:11080: result: `eval echo '${'$as_ac_Header'}'`" >&5
11078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11079 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11080 cat >>confdefs.h <<EOF 11083 cat >>confdefs.h <<EOF
11081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11082 EOF 11085 EOF
11084 else 11087 else
11085 11088
11086 for ac_header in kerberosIV/des.h 11089 for ac_header in kerberosIV/des.h
11087 do 11090 do
11088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11089 echo "$as_me:11089: checking for $ac_header" >&5 11092 echo "$as_me:11092: checking for $ac_header" >&5
11090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11091 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6 11095 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 else 11096 else
11094 cat >conftest.$ac_ext <<_ACEOF 11097 cat >conftest.$ac_ext <<_ACEOF
11095 #line 11095 "configure" 11098 #line 11098 "configure"
11096 #include "confdefs.h" 11099 #include "confdefs.h"
11097 #include <$ac_header> 11100 #include <$ac_header>
11098 _ACEOF 11101 _ACEOF
11099 if { (eval echo "$as_me:11099: \"$ac_cpp conftest.$ac_ext\"") >&5 11102 if { (eval echo "$as_me:11102: \"$ac_cpp conftest.$ac_ext\"") >&5
11100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11101 ac_status=$? 11104 ac_status=$?
11102 egrep -v '^ *\+' conftest.er1 >conftest.err 11105 egrep -v '^ *\+' conftest.er1 >conftest.err
11103 rm -f conftest.er1 11106 rm -f conftest.er1
11104 cat conftest.err >&5 11107 cat conftest.err >&5
11105 echo "$as_me:11105: \$? = $ac_status" >&5 11108 echo "$as_me:11108: \$? = $ac_status" >&5
11106 (exit $ac_status); } >/dev/null; then 11109 (exit $ac_status); } >/dev/null; then
11107 if test -s conftest.err; then 11110 if test -s conftest.err; then
11108 ac_cpp_err=$ac_c_preproc_warn_flag 11111 ac_cpp_err=$ac_c_preproc_warn_flag
11109 else 11112 else
11110 ac_cpp_err= 11113 ac_cpp_err=
11119 cat conftest.$ac_ext >&5 11122 cat conftest.$ac_ext >&5
11120 eval "$as_ac_Header=no" 11123 eval "$as_ac_Header=no"
11121 fi 11124 fi
11122 rm -f conftest.err conftest.$ac_ext 11125 rm -f conftest.err conftest.$ac_ext
11123 fi 11126 fi
11124 echo "$as_me:11124: result: `eval echo '${'$as_ac_Header'}'`" >&5 11127 echo "$as_me:11127: result: `eval echo '${'$as_ac_Header'}'`" >&5
11125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11126 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11127 cat >>confdefs.h <<EOF 11130 cat >>confdefs.h <<EOF
11128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11129 EOF 11132 EOF
11131 else 11134 else
11132 11135
11133 for ac_header in kerberos/des.h 11136 for ac_header in kerberos/des.h
11134 do 11137 do
11135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11136 echo "$as_me:11136: checking for $ac_header" >&5 11139 echo "$as_me:11139: checking for $ac_header" >&5
11137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11138 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6 11142 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 else 11143 else
11141 cat >conftest.$ac_ext <<_ACEOF 11144 cat >conftest.$ac_ext <<_ACEOF
11142 #line 11142 "configure" 11145 #line 11145 "configure"
11143 #include "confdefs.h" 11146 #include "confdefs.h"
11144 #include <$ac_header> 11147 #include <$ac_header>
11145 _ACEOF 11148 _ACEOF
11146 if { (eval echo "$as_me:11146: \"$ac_cpp conftest.$ac_ext\"") >&5 11149 if { (eval echo "$as_me:11149: \"$ac_cpp conftest.$ac_ext\"") >&5
11147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11148 ac_status=$? 11151 ac_status=$?
11149 egrep -v '^ *\+' conftest.er1 >conftest.err 11152 egrep -v '^ *\+' conftest.er1 >conftest.err
11150 rm -f conftest.er1 11153 rm -f conftest.er1
11151 cat conftest.err >&5 11154 cat conftest.err >&5
11152 echo "$as_me:11152: \$? = $ac_status" >&5 11155 echo "$as_me:11155: \$? = $ac_status" >&5
11153 (exit $ac_status); } >/dev/null; then 11156 (exit $ac_status); } >/dev/null; then
11154 if test -s conftest.err; then 11157 if test -s conftest.err; then
11155 ac_cpp_err=$ac_c_preproc_warn_flag 11158 ac_cpp_err=$ac_c_preproc_warn_flag
11156 else 11159 else
11157 ac_cpp_err= 11160 ac_cpp_err=
11166 cat conftest.$ac_ext >&5 11169 cat conftest.$ac_ext >&5
11167 eval "$as_ac_Header=no" 11170 eval "$as_ac_Header=no"
11168 fi 11171 fi
11169 rm -f conftest.err conftest.$ac_ext 11172 rm -f conftest.err conftest.$ac_ext
11170 fi 11173 fi
11171 echo "$as_me:11171: result: `eval echo '${'$as_ac_Header'}'`" >&5 11174 echo "$as_me:11174: result: `eval echo '${'$as_ac_Header'}'`" >&5
11172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11173 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11174 cat >>confdefs.h <<EOF 11177 cat >>confdefs.h <<EOF
11175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11176 EOF 11179 EOF
11185 done 11188 done
11186 11189
11187 for ac_header in krb.h 11190 for ac_header in krb.h
11188 do 11191 do
11189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11190 echo "$as_me:11190: checking for $ac_header" >&5 11193 echo "$as_me:11193: checking for $ac_header" >&5
11191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11192 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6 11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 else 11197 else
11195 cat >conftest.$ac_ext <<_ACEOF 11198 cat >conftest.$ac_ext <<_ACEOF
11196 #line 11196 "configure" 11199 #line 11199 "configure"
11197 #include "confdefs.h" 11200 #include "confdefs.h"
11198 #include <$ac_header> 11201 #include <$ac_header>
11199 _ACEOF 11202 _ACEOF
11200 if { (eval echo "$as_me:11200: \"$ac_cpp conftest.$ac_ext\"") >&5 11203 if { (eval echo "$as_me:11203: \"$ac_cpp conftest.$ac_ext\"") >&5
11201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11202 ac_status=$? 11205 ac_status=$?
11203 egrep -v '^ *\+' conftest.er1 >conftest.err 11206 egrep -v '^ *\+' conftest.er1 >conftest.err
11204 rm -f conftest.er1 11207 rm -f conftest.er1
11205 cat conftest.err >&5 11208 cat conftest.err >&5
11206 echo "$as_me:11206: \$? = $ac_status" >&5 11209 echo "$as_me:11209: \$? = $ac_status" >&5
11207 (exit $ac_status); } >/dev/null; then 11210 (exit $ac_status); } >/dev/null; then
11208 if test -s conftest.err; then 11211 if test -s conftest.err; then
11209 ac_cpp_err=$ac_c_preproc_warn_flag 11212 ac_cpp_err=$ac_c_preproc_warn_flag
11210 else 11213 else
11211 ac_cpp_err= 11214 ac_cpp_err=
11220 cat conftest.$ac_ext >&5 11223 cat conftest.$ac_ext >&5
11221 eval "$as_ac_Header=no" 11224 eval "$as_ac_Header=no"
11222 fi 11225 fi
11223 rm -f conftest.err conftest.$ac_ext 11226 rm -f conftest.err conftest.$ac_ext
11224 fi 11227 fi
11225 echo "$as_me:11225: result: `eval echo '${'$as_ac_Header'}'`" >&5 11228 echo "$as_me:11228: result: `eval echo '${'$as_ac_Header'}'`" >&5
11226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11227 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11228 cat >>confdefs.h <<EOF 11231 cat >>confdefs.h <<EOF
11229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11230 EOF 11233 EOF
11232 else 11235 else
11233 11236
11234 for ac_header in kerberosIV/krb.h 11237 for ac_header in kerberosIV/krb.h
11235 do 11238 do
11236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11237 echo "$as_me:11237: checking for $ac_header" >&5 11240 echo "$as_me:11240: checking for $ac_header" >&5
11238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11239 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6 11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else 11244 else
11242 cat >conftest.$ac_ext <<_ACEOF 11245 cat >conftest.$ac_ext <<_ACEOF
11243 #line 11243 "configure" 11246 #line 11246 "configure"
11244 #include "confdefs.h" 11247 #include "confdefs.h"
11245 #include <$ac_header> 11248 #include <$ac_header>
11246 _ACEOF 11249 _ACEOF
11247 if { (eval echo "$as_me:11247: \"$ac_cpp conftest.$ac_ext\"") >&5 11250 if { (eval echo "$as_me:11250: \"$ac_cpp conftest.$ac_ext\"") >&5
11248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11249 ac_status=$? 11252 ac_status=$?
11250 egrep -v '^ *\+' conftest.er1 >conftest.err 11253 egrep -v '^ *\+' conftest.er1 >conftest.err
11251 rm -f conftest.er1 11254 rm -f conftest.er1
11252 cat conftest.err >&5 11255 cat conftest.err >&5
11253 echo "$as_me:11253: \$? = $ac_status" >&5 11256 echo "$as_me:11256: \$? = $ac_status" >&5
11254 (exit $ac_status); } >/dev/null; then 11257 (exit $ac_status); } >/dev/null; then
11255 if test -s conftest.err; then 11258 if test -s conftest.err; then
11256 ac_cpp_err=$ac_c_preproc_warn_flag 11259 ac_cpp_err=$ac_c_preproc_warn_flag
11257 else 11260 else
11258 ac_cpp_err= 11261 ac_cpp_err=
11267 cat conftest.$ac_ext >&5 11270 cat conftest.$ac_ext >&5
11268 eval "$as_ac_Header=no" 11271 eval "$as_ac_Header=no"
11269 fi 11272 fi
11270 rm -f conftest.err conftest.$ac_ext 11273 rm -f conftest.err conftest.$ac_ext
11271 fi 11274 fi
11272 echo "$as_me:11272: result: `eval echo '${'$as_ac_Header'}'`" >&5 11275 echo "$as_me:11275: result: `eval echo '${'$as_ac_Header'}'`" >&5
11273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11274 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11275 cat >>confdefs.h <<EOF 11278 cat >>confdefs.h <<EOF
11276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11277 EOF 11280 EOF
11279 else 11282 else
11280 11283
11281 for ac_header in kerberos/krb.h 11284 for ac_header in kerberos/krb.h
11282 do 11285 do
11283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11284 echo "$as_me:11284: checking for $ac_header" >&5 11287 echo "$as_me:11287: checking for $ac_header" >&5
11285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11286 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6 11290 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 else 11291 else
11289 cat >conftest.$ac_ext <<_ACEOF 11292 cat >conftest.$ac_ext <<_ACEOF
11290 #line 11290 "configure" 11293 #line 11293 "configure"
11291 #include "confdefs.h" 11294 #include "confdefs.h"
11292 #include <$ac_header> 11295 #include <$ac_header>
11293 _ACEOF 11296 _ACEOF
11294 if { (eval echo "$as_me:11294: \"$ac_cpp conftest.$ac_ext\"") >&5 11297 if { (eval echo "$as_me:11297: \"$ac_cpp conftest.$ac_ext\"") >&5
11295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11296 ac_status=$? 11299 ac_status=$?
11297 egrep -v '^ *\+' conftest.er1 >conftest.err 11300 egrep -v '^ *\+' conftest.er1 >conftest.err
11298 rm -f conftest.er1 11301 rm -f conftest.er1
11299 cat conftest.err >&5 11302 cat conftest.err >&5
11300 echo "$as_me:11300: \$? = $ac_status" >&5 11303 echo "$as_me:11303: \$? = $ac_status" >&5
11301 (exit $ac_status); } >/dev/null; then 11304 (exit $ac_status); } >/dev/null; then
11302 if test -s conftest.err; then 11305 if test -s conftest.err; then
11303 ac_cpp_err=$ac_c_preproc_warn_flag 11306 ac_cpp_err=$ac_c_preproc_warn_flag
11304 else 11307 else
11305 ac_cpp_err= 11308 ac_cpp_err=
11314 cat conftest.$ac_ext >&5 11317 cat conftest.$ac_ext >&5
11315 eval "$as_ac_Header=no" 11318 eval "$as_ac_Header=no"
11316 fi 11319 fi
11317 rm -f conftest.err conftest.$ac_ext 11320 rm -f conftest.err conftest.$ac_ext
11318 fi 11321 fi
11319 echo "$as_me:11319: result: `eval echo '${'$as_ac_Header'}'`" >&5 11322 echo "$as_me:11322: result: `eval echo '${'$as_ac_Header'}'`" >&5
11320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11321 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11322 cat >>confdefs.h <<EOF 11325 cat >>confdefs.h <<EOF
11323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11324 EOF 11327 EOF
11335 fi 11338 fi
11336 11339
11337 for ac_header in com_err.h 11340 for ac_header in com_err.h
11338 do 11341 do
11339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11340 echo "$as_me:11340: checking for $ac_header" >&5 11343 echo "$as_me:11343: checking for $ac_header" >&5
11341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11342 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6 11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 else 11347 else
11345 cat >conftest.$ac_ext <<_ACEOF 11348 cat >conftest.$ac_ext <<_ACEOF
11346 #line 11346 "configure" 11349 #line 11349 "configure"
11347 #include "confdefs.h" 11350 #include "confdefs.h"
11348 #include <$ac_header> 11351 #include <$ac_header>
11349 _ACEOF 11352 _ACEOF
11350 if { (eval echo "$as_me:11350: \"$ac_cpp conftest.$ac_ext\"") >&5 11353 if { (eval echo "$as_me:11353: \"$ac_cpp conftest.$ac_ext\"") >&5
11351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11352 ac_status=$? 11355 ac_status=$?
11353 egrep -v '^ *\+' conftest.er1 >conftest.err 11356 egrep -v '^ *\+' conftest.er1 >conftest.err
11354 rm -f conftest.er1 11357 rm -f conftest.er1
11355 cat conftest.err >&5 11358 cat conftest.err >&5
11356 echo "$as_me:11356: \$? = $ac_status" >&5 11359 echo "$as_me:11359: \$? = $ac_status" >&5
11357 (exit $ac_status); } >/dev/null; then 11360 (exit $ac_status); } >/dev/null; then
11358 if test -s conftest.err; then 11361 if test -s conftest.err; then
11359 ac_cpp_err=$ac_c_preproc_warn_flag 11362 ac_cpp_err=$ac_c_preproc_warn_flag
11360 else 11363 else
11361 ac_cpp_err= 11364 ac_cpp_err=
11370 cat conftest.$ac_ext >&5 11373 cat conftest.$ac_ext >&5
11371 eval "$as_ac_Header=no" 11374 eval "$as_ac_Header=no"
11372 fi 11375 fi
11373 rm -f conftest.err conftest.$ac_ext 11376 rm -f conftest.err conftest.$ac_ext
11374 fi 11377 fi
11375 echo "$as_me:11375: result: `eval echo '${'$as_ac_Header'}'`" >&5 11378 echo "$as_me:11378: result: `eval echo '${'$as_ac_Header'}'`" >&5
11376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11377 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11378 cat >>confdefs.h <<EOF 11381 cat >>confdefs.h <<EOF
11379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11380 EOF 11383 EOF
11385 fi 11388 fi
11386 11389
11387 # Solaris requires -lintl if you want strerror (which calls dgettext) 11390 # Solaris requires -lintl if you want strerror (which calls dgettext)
11388 # to return localized messages. 11391 # to return localized messages.
11389 11392
11390 echo "$as_me:11390: checking for dgettext in -lintl" >&5 11393 echo "$as_me:11393: checking for dgettext in -lintl" >&5
11391 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11394 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11392 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11395 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11393 echo $ECHO_N "(cached) $ECHO_C" >&6 11396 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 else 11397 else
11395 ac_check_lib_save_LIBS=$LIBS 11398 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-lintl $LIBS" 11399 LIBS="-lintl $LIBS"
11397 cat >conftest.$ac_ext <<_ACEOF 11400 cat >conftest.$ac_ext <<_ACEOF
11398 #line 11398 "configure" 11401 #line 11401 "configure"
11399 #include "confdefs.h" 11402 #include "confdefs.h"
11400 11403
11401 /* Override any gcc2 internal prototype to avoid an error. */ 11404 /* Override any gcc2 internal prototype to avoid an error. */
11402 #ifdef __cplusplus 11405 #ifdef __cplusplus
11403 extern "C" 11406 extern "C"
11412 ; 11415 ;
11413 return 0; 11416 return 0;
11414 } 11417 }
11415 _ACEOF 11418 _ACEOF
11416 rm -f conftest.$ac_objext conftest$ac_exeext 11419 rm -f conftest.$ac_objext conftest$ac_exeext
11417 if { (eval echo "$as_me:11417: \"$ac_link\"") >&5 11420 if { (eval echo "$as_me:11420: \"$ac_link\"") >&5
11418 (eval $ac_link) 2>&5 11421 (eval $ac_link) 2>&5
11419 ac_status=$? 11422 ac_status=$?
11420 echo "$as_me:11420: \$? = $ac_status" >&5 11423 echo "$as_me:11423: \$? = $ac_status" >&5
11421 (exit $ac_status); } && 11424 (exit $ac_status); } &&
11422 { ac_try='test -s conftest$ac_exeext' 11425 { ac_try='test -s conftest$ac_exeext'
11423 { (eval echo "$as_me:11423: \"$ac_try\"") >&5 11426 { (eval echo "$as_me:11426: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5 11427 (eval $ac_try) 2>&5
11425 ac_status=$? 11428 ac_status=$?
11426 echo "$as_me:11426: \$? = $ac_status" >&5 11429 echo "$as_me:11429: \$? = $ac_status" >&5
11427 (exit $ac_status); }; }; then 11430 (exit $ac_status); }; }; then
11428 ac_cv_lib_intl_dgettext=yes 11431 ac_cv_lib_intl_dgettext=yes
11429 else 11432 else
11430 echo "$as_me: failed program was:" >&5 11433 echo "$as_me: failed program was:" >&5
11431 cat conftest.$ac_ext >&5 11434 cat conftest.$ac_ext >&5
11432 ac_cv_lib_intl_dgettext=no 11435 ac_cv_lib_intl_dgettext=no
11433 fi 11436 fi
11434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_lib_save_LIBS 11438 LIBS=$ac_check_lib_save_LIBS
11436 fi 11439 fi
11437 echo "$as_me:11437: result: $ac_cv_lib_intl_dgettext" >&5 11440 echo "$as_me:11440: result: $ac_cv_lib_intl_dgettext" >&5
11438 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11441 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11439 if test $ac_cv_lib_intl_dgettext = yes; then 11442 if test $ac_cv_lib_intl_dgettext = yes; then
11440 cat >>confdefs.h <<EOF 11443 cat >>confdefs.h <<EOF
11441 #define HAVE_LIBINTL 1 11444 #define HAVE_LIBINTL 1
11442 EOF 11445 EOF
11443 11446
11444 LIBS="-lintl $LIBS" 11447 LIBS="-lintl $LIBS"
11445 11448
11446 fi 11449 fi
11447 11450
11448 echo "$as_me:11448: checking whether localtime caches TZ" >&5 11451 echo "$as_me:11451: checking whether localtime caches TZ" >&5
11449 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11452 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11450 if test "${emacs_cv_localtime_cache+set}" = set; then 11453 if test "${emacs_cv_localtime_cache+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6 11454 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 else 11455 else
11453 if test x$ac_cv_func_tzset = xyes; then 11456 if test x$ac_cv_func_tzset = xyes; then
11454 if test "$cross_compiling" = yes; then 11457 if test "$cross_compiling" = yes; then
11455 # If we have tzset, assume the worst when cross-compiling. 11458 # If we have tzset, assume the worst when cross-compiling.
11456 emacs_cv_localtime_cache=yes 11459 emacs_cv_localtime_cache=yes
11457 else 11460 else
11458 cat >conftest.$ac_ext <<_ACEOF 11461 cat >conftest.$ac_ext <<_ACEOF
11459 #line 11459 "configure" 11462 #line 11462 "configure"
11460 #include "confdefs.h" 11463 #include "confdefs.h"
11461 #include <time.h> 11464 #include <time.h>
11462 extern char **environ; 11465 extern char **environ;
11463 unset_TZ () 11466 unset_TZ ()
11464 { 11467 {
11487 exit (1); 11490 exit (1);
11488 exit (0); 11491 exit (0);
11489 } 11492 }
11490 _ACEOF 11493 _ACEOF
11491 rm -f conftest$ac_exeext 11494 rm -f conftest$ac_exeext
11492 if { (eval echo "$as_me:11492: \"$ac_link\"") >&5 11495 if { (eval echo "$as_me:11495: \"$ac_link\"") >&5
11493 (eval $ac_link) 2>&5 11496 (eval $ac_link) 2>&5
11494 ac_status=$? 11497 ac_status=$?
11495 echo "$as_me:11495: \$? = $ac_status" >&5 11498 echo "$as_me:11498: \$? = $ac_status" >&5
11496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11497 { (eval echo "$as_me:11497: \"$ac_try\"") >&5 11500 { (eval echo "$as_me:11500: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5 11501 (eval $ac_try) 2>&5
11499 ac_status=$? 11502 ac_status=$?
11500 echo "$as_me:11500: \$? = $ac_status" >&5 11503 echo "$as_me:11503: \$? = $ac_status" >&5
11501 (exit $ac_status); }; }; then 11504 (exit $ac_status); }; }; then
11502 emacs_cv_localtime_cache=no 11505 emacs_cv_localtime_cache=no
11503 else 11506 else
11504 echo "$as_me: program exited with status $ac_status" >&5 11507 echo "$as_me: program exited with status $ac_status" >&5
11505 echo "$as_me: failed program was:" >&5 11508 echo "$as_me: failed program was:" >&5
11512 # If we lack tzset, report that localtime does not cache TZ, 11515 # If we lack tzset, report that localtime does not cache TZ,
11513 # since we can't invalidate the cache if we don't have tzset. 11516 # since we can't invalidate the cache if we don't have tzset.
11514 emacs_cv_localtime_cache=no 11517 emacs_cv_localtime_cache=no
11515 fi 11518 fi
11516 fi 11519 fi
11517 echo "$as_me:11517: result: $emacs_cv_localtime_cache" >&5 11520 echo "$as_me:11520: result: $emacs_cv_localtime_cache" >&5
11518 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11521 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11519 if test $emacs_cv_localtime_cache = yes; then 11522 if test $emacs_cv_localtime_cache = yes; then
11520 cat >>confdefs.h <<\EOF 11523 cat >>confdefs.h <<\EOF
11521 #define LOCALTIME_CACHE 1 11524 #define LOCALTIME_CACHE 1
11522 EOF 11525 EOF
11526 if test "x$HAVE_TIMEVAL" = xyes; then 11529 if test "x$HAVE_TIMEVAL" = xyes; then
11527 11530
11528 for ac_func in gettimeofday 11531 for ac_func in gettimeofday
11529 do 11532 do
11530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11531 echo "$as_me:11531: checking for $ac_func" >&5 11534 echo "$as_me:11534: checking for $ac_func" >&5
11532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11533 if eval "test \"\${$as_ac_var+set}\" = set"; then 11536 if eval "test \"\${$as_ac_var+set}\" = set"; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6 11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11535 else 11538 else
11536 cat >conftest.$ac_ext <<_ACEOF 11539 cat >conftest.$ac_ext <<_ACEOF
11537 #line 11537 "configure" 11540 #line 11540 "configure"
11538 #include "confdefs.h" 11541 #include "confdefs.h"
11539 /* System header to define __stub macros and hopefully few prototypes, 11542 /* System header to define __stub macros and hopefully few prototypes,
11540 which can conflict with char $ac_func (); below. */ 11543 which can conflict with char $ac_func (); below. */
11541 #include <assert.h> 11544 #include <assert.h>
11542 /* Override any gcc2 internal prototype to avoid an error. */ 11545 /* Override any gcc2 internal prototype to avoid an error. */
11563 ; 11566 ;
11564 return 0; 11567 return 0;
11565 } 11568 }
11566 _ACEOF 11569 _ACEOF
11567 rm -f conftest.$ac_objext conftest$ac_exeext 11570 rm -f conftest.$ac_objext conftest$ac_exeext
11568 if { (eval echo "$as_me:11568: \"$ac_link\"") >&5 11571 if { (eval echo "$as_me:11571: \"$ac_link\"") >&5
11569 (eval $ac_link) 2>&5 11572 (eval $ac_link) 2>&5
11570 ac_status=$? 11573 ac_status=$?
11571 echo "$as_me:11571: \$? = $ac_status" >&5 11574 echo "$as_me:11574: \$? = $ac_status" >&5
11572 (exit $ac_status); } && 11575 (exit $ac_status); } &&
11573 { ac_try='test -s conftest$ac_exeext' 11576 { ac_try='test -s conftest$ac_exeext'
11574 { (eval echo "$as_me:11574: \"$ac_try\"") >&5 11577 { (eval echo "$as_me:11577: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5 11578 (eval $ac_try) 2>&5
11576 ac_status=$? 11579 ac_status=$?
11577 echo "$as_me:11577: \$? = $ac_status" >&5 11580 echo "$as_me:11580: \$? = $ac_status" >&5
11578 (exit $ac_status); }; }; then 11581 (exit $ac_status); }; }; then
11579 eval "$as_ac_var=yes" 11582 eval "$as_ac_var=yes"
11580 else 11583 else
11581 echo "$as_me: failed program was:" >&5 11584 echo "$as_me: failed program was:" >&5
11582 cat conftest.$ac_ext >&5 11585 cat conftest.$ac_ext >&5
11583 eval "$as_ac_var=no" 11586 eval "$as_ac_var=no"
11584 fi 11587 fi
11585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11586 fi 11589 fi
11587 echo "$as_me:11587: result: `eval echo '${'$as_ac_var'}'`" >&5 11590 echo "$as_me:11590: result: `eval echo '${'$as_ac_var'}'`" >&5
11588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11589 if test `eval echo '${'$as_ac_var'}'` = yes; then 11592 if test `eval echo '${'$as_ac_var'}'` = yes; then
11590 cat >>confdefs.h <<EOF 11593 cat >>confdefs.h <<EOF
11591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11592 EOF 11595 EOF
11593 11596
11594 fi 11597 fi
11595 done 11598 done
11596 11599
11597 echo "$as_me:11597: checking whether gettimeofday can accept two arguments" >&5 11600 echo "$as_me:11600: checking whether gettimeofday can accept two arguments" >&5
11598 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11601 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11599 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11602 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6 11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 else 11604 else
11602 cat >conftest.$ac_ext <<_ACEOF 11605 cat >conftest.$ac_ext <<_ACEOF
11603 #line 11603 "configure" 11606 #line 11606 "configure"
11604 #include "confdefs.h" 11607 #include "confdefs.h"
11605 11608
11606 #ifdef TIME_WITH_SYS_TIME 11609 #ifdef TIME_WITH_SYS_TIME
11607 #include <sys/time.h> 11610 #include <sys/time.h>
11608 #include <time.h> 11611 #include <time.h>
11621 ; 11624 ;
11622 return 0; 11625 return 0;
11623 } 11626 }
11624 _ACEOF 11627 _ACEOF
11625 rm -f conftest.$ac_objext 11628 rm -f conftest.$ac_objext
11626 if { (eval echo "$as_me:11626: \"$ac_compile\"") >&5 11629 if { (eval echo "$as_me:11629: \"$ac_compile\"") >&5
11627 (eval $ac_compile) 2>&5 11630 (eval $ac_compile) 2>&5
11628 ac_status=$? 11631 ac_status=$?
11629 echo "$as_me:11629: \$? = $ac_status" >&5 11632 echo "$as_me:11632: \$? = $ac_status" >&5
11630 (exit $ac_status); } && 11633 (exit $ac_status); } &&
11631 { ac_try='test -s conftest.$ac_objext' 11634 { ac_try='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:11632: \"$ac_try\"") >&5 11635 { (eval echo "$as_me:11635: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5 11636 (eval $ac_try) 2>&5
11634 ac_status=$? 11637 ac_status=$?
11635 echo "$as_me:11635: \$? = $ac_status" >&5 11638 echo "$as_me:11638: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then 11639 (exit $ac_status); }; }; then
11637 emacs_cv_gettimeofday_two_arguments=yes 11640 emacs_cv_gettimeofday_two_arguments=yes
11638 else 11641 else
11639 echo "$as_me: failed program was:" >&5 11642 echo "$as_me: failed program was:" >&5
11640 cat conftest.$ac_ext >&5 11643 cat conftest.$ac_ext >&5
11641 emacs_cv_gettimeofday_two_arguments=no 11644 emacs_cv_gettimeofday_two_arguments=no
11642 fi 11645 fi
11643 rm -f conftest.$ac_objext conftest.$ac_ext 11646 rm -f conftest.$ac_objext conftest.$ac_ext
11644 fi 11647 fi
11645 echo "$as_me:11645: result: $emacs_cv_gettimeofday_two_arguments" >&5 11648 echo "$as_me:11648: result: $emacs_cv_gettimeofday_two_arguments" >&5
11646 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11649 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11647 if test $emacs_cv_gettimeofday_two_arguments = no; then 11650 if test $emacs_cv_gettimeofday_two_arguments = no; then
11648 cat >>confdefs.h <<\EOF 11651 cat >>confdefs.h <<\EOF
11649 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11652 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11650 EOF 11653 EOF
11651 11654
11652 fi 11655 fi
11653 fi 11656 fi
11654 11657
11655 if test "$ac_cv_func_gettimeofday" = yes; then 11658 if test "$ac_cv_func_gettimeofday" = yes; then
11656 echo "$as_me:11656: checking for struct timezone" >&5 11659 echo "$as_me:11659: checking for struct timezone" >&5
11657 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11660 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11658 if test "${emacs_cv_struct_timezone+set}" = set; then 11661 if test "${emacs_cv_struct_timezone+set}" = set; then
11659 echo $ECHO_N "(cached) $ECHO_C" >&6 11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 else 11663 else
11661 cat >conftest.$ac_ext <<_ACEOF 11664 cat >conftest.$ac_ext <<_ACEOF
11662 #line 11662 "configure" 11665 #line 11665 "configure"
11663 #include "confdefs.h" 11666 #include "confdefs.h"
11664 #include <sys/time.h> 11667 #include <sys/time.h>
11665 int 11668 int
11666 main () 11669 main ()
11667 { 11670 {
11669 ; 11672 ;
11670 return 0; 11673 return 0;
11671 } 11674 }
11672 _ACEOF 11675 _ACEOF
11673 rm -f conftest.$ac_objext 11676 rm -f conftest.$ac_objext
11674 if { (eval echo "$as_me:11674: \"$ac_compile\"") >&5 11677 if { (eval echo "$as_me:11677: \"$ac_compile\"") >&5
11675 (eval $ac_compile) 2>&5 11678 (eval $ac_compile) 2>&5
11676 ac_status=$? 11679 ac_status=$?
11677 echo "$as_me:11677: \$? = $ac_status" >&5 11680 echo "$as_me:11680: \$? = $ac_status" >&5
11678 (exit $ac_status); } && 11681 (exit $ac_status); } &&
11679 { ac_try='test -s conftest.$ac_objext' 11682 { ac_try='test -s conftest.$ac_objext'
11680 { (eval echo "$as_me:11680: \"$ac_try\"") >&5 11683 { (eval echo "$as_me:11683: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5 11684 (eval $ac_try) 2>&5
11682 ac_status=$? 11685 ac_status=$?
11683 echo "$as_me:11683: \$? = $ac_status" >&5 11686 echo "$as_me:11686: \$? = $ac_status" >&5
11684 (exit $ac_status); }; }; then 11687 (exit $ac_status); }; }; then
11685 if test "$cross_compiling" = yes; then 11688 if test "$cross_compiling" = yes; then
11686 emacs_cv_struct_timezone=yes 11689 emacs_cv_struct_timezone=yes
11687 else 11690 else
11688 cat >conftest.$ac_ext <<_ACEOF 11691 cat >conftest.$ac_ext <<_ACEOF
11689 #line 11689 "configure" 11692 #line 11692 "configure"
11690 #include "confdefs.h" 11693 #include "confdefs.h"
11691 11694
11692 #ifdef TIME_WITH_SYS_TIME 11695 #ifdef TIME_WITH_SYS_TIME
11693 #include <sys/time.h> 11696 #include <sys/time.h>
11694 #include <time.h> 11697 #include <time.h>
11704 struct timezone dummy; 11707 struct timezone dummy;
11705 exit (gettimeofday (&time, &dummy)); 11708 exit (gettimeofday (&time, &dummy));
11706 } 11709 }
11707 _ACEOF 11710 _ACEOF
11708 rm -f conftest$ac_exeext 11711 rm -f conftest$ac_exeext
11709 if { (eval echo "$as_me:11709: \"$ac_link\"") >&5 11712 if { (eval echo "$as_me:11712: \"$ac_link\"") >&5
11710 (eval $ac_link) 2>&5 11713 (eval $ac_link) 2>&5
11711 ac_status=$? 11714 ac_status=$?
11712 echo "$as_me:11712: \$? = $ac_status" >&5 11715 echo "$as_me:11715: \$? = $ac_status" >&5
11713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11714 { (eval echo "$as_me:11714: \"$ac_try\"") >&5 11717 { (eval echo "$as_me:11717: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5 11718 (eval $ac_try) 2>&5
11716 ac_status=$? 11719 ac_status=$?
11717 echo "$as_me:11717: \$? = $ac_status" >&5 11720 echo "$as_me:11720: \$? = $ac_status" >&5
11718 (exit $ac_status); }; }; then 11721 (exit $ac_status); }; }; then
11719 emacs_cv_struct_timezone=yes 11722 emacs_cv_struct_timezone=yes
11720 else 11723 else
11721 echo "$as_me: program exited with status $ac_status" >&5 11724 echo "$as_me: program exited with status $ac_status" >&5
11722 echo "$as_me: failed program was:" >&5 11725 echo "$as_me: failed program was:" >&5
11730 cat conftest.$ac_ext >&5 11733 cat conftest.$ac_ext >&5
11731 emacs_cv_struct_timezone=no 11734 emacs_cv_struct_timezone=no
11732 fi 11735 fi
11733 rm -f conftest.$ac_objext conftest.$ac_ext 11736 rm -f conftest.$ac_objext conftest.$ac_ext
11734 fi 11737 fi
11735 echo "$as_me:11735: result: $emacs_cv_struct_timezone" >&5 11738 echo "$as_me:11738: result: $emacs_cv_struct_timezone" >&5
11736 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11739 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11737 fi 11740 fi
11738 11741
11739 ok_so_far=yes 11742 ok_so_far=yes
11740 echo "$as_me:11740: checking for socket" >&5 11743 echo "$as_me:11743: checking for socket" >&5
11741 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11744 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11742 if test "${ac_cv_func_socket+set}" = set; then 11745 if test "${ac_cv_func_socket+set}" = set; then
11743 echo $ECHO_N "(cached) $ECHO_C" >&6 11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11744 else 11747 else
11745 cat >conftest.$ac_ext <<_ACEOF 11748 cat >conftest.$ac_ext <<_ACEOF
11746 #line 11746 "configure" 11749 #line 11749 "configure"
11747 #include "confdefs.h" 11750 #include "confdefs.h"
11748 /* System header to define __stub macros and hopefully few prototypes, 11751 /* System header to define __stub macros and hopefully few prototypes,
11749 which can conflict with char socket (); below. */ 11752 which can conflict with char socket (); below. */
11750 #include <assert.h> 11753 #include <assert.h>
11751 /* Override any gcc2 internal prototype to avoid an error. */ 11754 /* Override any gcc2 internal prototype to avoid an error. */
11772 ; 11775 ;
11773 return 0; 11776 return 0;
11774 } 11777 }
11775 _ACEOF 11778 _ACEOF
11776 rm -f conftest.$ac_objext conftest$ac_exeext 11779 rm -f conftest.$ac_objext conftest$ac_exeext
11777 if { (eval echo "$as_me:11777: \"$ac_link\"") >&5 11780 if { (eval echo "$as_me:11780: \"$ac_link\"") >&5
11778 (eval $ac_link) 2>&5 11781 (eval $ac_link) 2>&5
11779 ac_status=$? 11782 ac_status=$?
11780 echo "$as_me:11780: \$? = $ac_status" >&5 11783 echo "$as_me:11783: \$? = $ac_status" >&5
11781 (exit $ac_status); } && 11784 (exit $ac_status); } &&
11782 { ac_try='test -s conftest$ac_exeext' 11785 { ac_try='test -s conftest$ac_exeext'
11783 { (eval echo "$as_me:11783: \"$ac_try\"") >&5 11786 { (eval echo "$as_me:11786: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5 11787 (eval $ac_try) 2>&5
11785 ac_status=$? 11788 ac_status=$?
11786 echo "$as_me:11786: \$? = $ac_status" >&5 11789 echo "$as_me:11789: \$? = $ac_status" >&5
11787 (exit $ac_status); }; }; then 11790 (exit $ac_status); }; }; then
11788 ac_cv_func_socket=yes 11791 ac_cv_func_socket=yes
11789 else 11792 else
11790 echo "$as_me: failed program was:" >&5 11793 echo "$as_me: failed program was:" >&5
11791 cat conftest.$ac_ext >&5 11794 cat conftest.$ac_ext >&5
11792 ac_cv_func_socket=no 11795 ac_cv_func_socket=no
11793 fi 11796 fi
11794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11795 fi 11798 fi
11796 echo "$as_me:11796: result: $ac_cv_func_socket" >&5 11799 echo "$as_me:11799: result: $ac_cv_func_socket" >&5
11797 echo "${ECHO_T}$ac_cv_func_socket" >&6 11800 echo "${ECHO_T}$ac_cv_func_socket" >&6
11798 if test $ac_cv_func_socket = yes; then 11801 if test $ac_cv_func_socket = yes; then
11799 : 11802 :
11800 else 11803 else
11801 ok_so_far=no 11804 ok_so_far=no
11802 fi 11805 fi
11803 11806
11804 if test $ok_so_far = yes; then 11807 if test $ok_so_far = yes; then
11805 echo "$as_me:11805: checking for netinet/in.h" >&5 11808 echo "$as_me:11808: checking for netinet/in.h" >&5
11806 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11809 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11807 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11810 if test "${ac_cv_header_netinet_in_h+set}" = set; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6 11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 else 11812 else
11810 cat >conftest.$ac_ext <<_ACEOF 11813 cat >conftest.$ac_ext <<_ACEOF
11811 #line 11811 "configure" 11814 #line 11814 "configure"
11812 #include "confdefs.h" 11815 #include "confdefs.h"
11813 #include <netinet/in.h> 11816 #include <netinet/in.h>
11814 _ACEOF 11817 _ACEOF
11815 if { (eval echo "$as_me:11815: \"$ac_cpp conftest.$ac_ext\"") >&5 11818 if { (eval echo "$as_me:11818: \"$ac_cpp conftest.$ac_ext\"") >&5
11816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11819 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11817 ac_status=$? 11820 ac_status=$?
11818 egrep -v '^ *\+' conftest.er1 >conftest.err 11821 egrep -v '^ *\+' conftest.er1 >conftest.err
11819 rm -f conftest.er1 11822 rm -f conftest.er1
11820 cat conftest.err >&5 11823 cat conftest.err >&5
11821 echo "$as_me:11821: \$? = $ac_status" >&5 11824 echo "$as_me:11824: \$? = $ac_status" >&5
11822 (exit $ac_status); } >/dev/null; then 11825 (exit $ac_status); } >/dev/null; then
11823 if test -s conftest.err; then 11826 if test -s conftest.err; then
11824 ac_cpp_err=$ac_c_preproc_warn_flag 11827 ac_cpp_err=$ac_c_preproc_warn_flag
11825 else 11828 else
11826 ac_cpp_err= 11829 ac_cpp_err=
11835 cat conftest.$ac_ext >&5 11838 cat conftest.$ac_ext >&5
11836 ac_cv_header_netinet_in_h=no 11839 ac_cv_header_netinet_in_h=no
11837 fi 11840 fi
11838 rm -f conftest.err conftest.$ac_ext 11841 rm -f conftest.err conftest.$ac_ext
11839 fi 11842 fi
11840 echo "$as_me:11840: result: $ac_cv_header_netinet_in_h" >&5 11843 echo "$as_me:11843: result: $ac_cv_header_netinet_in_h" >&5
11841 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 11844 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11842 if test $ac_cv_header_netinet_in_h = yes; then 11845 if test $ac_cv_header_netinet_in_h = yes; then
11843 : 11846 :
11844 else 11847 else
11845 ok_so_far=no 11848 ok_so_far=no
11846 fi 11849 fi
11847 11850
11848 fi 11851 fi
11849 if test $ok_so_far = yes; then 11852 if test $ok_so_far = yes; then
11850 echo "$as_me:11850: checking for arpa/inet.h" >&5 11853 echo "$as_me:11853: checking for arpa/inet.h" >&5
11851 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 11854 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11852 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 11855 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6 11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11854 else 11857 else
11855 cat >conftest.$ac_ext <<_ACEOF 11858 cat >conftest.$ac_ext <<_ACEOF
11856 #line 11856 "configure" 11859 #line 11859 "configure"
11857 #include "confdefs.h" 11860 #include "confdefs.h"
11858 #include <arpa/inet.h> 11861 #include <arpa/inet.h>
11859 _ACEOF 11862 _ACEOF
11860 if { (eval echo "$as_me:11860: \"$ac_cpp conftest.$ac_ext\"") >&5 11863 if { (eval echo "$as_me:11863: \"$ac_cpp conftest.$ac_ext\"") >&5
11861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11862 ac_status=$? 11865 ac_status=$?
11863 egrep -v '^ *\+' conftest.er1 >conftest.err 11866 egrep -v '^ *\+' conftest.er1 >conftest.err
11864 rm -f conftest.er1 11867 rm -f conftest.er1
11865 cat conftest.err >&5 11868 cat conftest.err >&5
11866 echo "$as_me:11866: \$? = $ac_status" >&5 11869 echo "$as_me:11869: \$? = $ac_status" >&5
11867 (exit $ac_status); } >/dev/null; then 11870 (exit $ac_status); } >/dev/null; then
11868 if test -s conftest.err; then 11871 if test -s conftest.err; then
11869 ac_cpp_err=$ac_c_preproc_warn_flag 11872 ac_cpp_err=$ac_c_preproc_warn_flag
11870 else 11873 else
11871 ac_cpp_err= 11874 ac_cpp_err=
11880 cat conftest.$ac_ext >&5 11883 cat conftest.$ac_ext >&5
11881 ac_cv_header_arpa_inet_h=no 11884 ac_cv_header_arpa_inet_h=no
11882 fi 11885 fi
11883 rm -f conftest.err conftest.$ac_ext 11886 rm -f conftest.err conftest.$ac_ext
11884 fi 11887 fi
11885 echo "$as_me:11885: result: $ac_cv_header_arpa_inet_h" >&5 11888 echo "$as_me:11888: result: $ac_cv_header_arpa_inet_h" >&5
11886 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 11889 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11887 if test $ac_cv_header_arpa_inet_h = yes; then 11890 if test $ac_cv_header_arpa_inet_h = yes; then
11888 : 11891 :
11889 else 11892 else
11890 ok_so_far=no 11893 ok_so_far=no
11903 #define HAVE_AIX_SMT_EXP 1 11906 #define HAVE_AIX_SMT_EXP 1
11904 EOF 11907 EOF
11905 11908
11906 fi 11909 fi
11907 11910
11908 echo "$as_me:11908: checking whether system supports dynamic ptys" >&5 11911 echo "$as_me:11911: checking whether system supports dynamic ptys" >&5
11909 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 11912 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11910 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 11913 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
11911 echo "$as_me:11911: result: yes" >&5 11914 echo "$as_me:11914: result: yes" >&5
11912 echo "${ECHO_T}yes" >&6 11915 echo "${ECHO_T}yes" >&6
11913 cat >>confdefs.h <<\EOF 11916 cat >>confdefs.h <<\EOF
11914 #define HAVE_DEV_PTMX 1 11917 #define HAVE_DEV_PTMX 1
11915 EOF 11918 EOF
11916 11919
11917 else 11920 else
11918 echo "$as_me:11918: result: no" >&5 11921 echo "$as_me:11921: result: no" >&5
11919 echo "${ECHO_T}no" >&6 11922 echo "${ECHO_T}no" >&6
11920 fi 11923 fi
11921 11924
11922 echo "$as_me:11922: checking for pid_t" >&5 11925 echo "$as_me:11925: checking for pid_t" >&5
11923 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 11926 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11924 if test "${ac_cv_type_pid_t+set}" = set; then 11927 if test "${ac_cv_type_pid_t+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6 11928 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 else 11929 else
11927 cat >conftest.$ac_ext <<_ACEOF 11930 cat >conftest.$ac_ext <<_ACEOF
11928 #line 11928 "configure" 11931 #line 11931 "configure"
11929 #include "confdefs.h" 11932 #include "confdefs.h"
11930 $ac_includes_default 11933 $ac_includes_default
11931 int 11934 int
11932 main () 11935 main ()
11933 { 11936 {
11938 ; 11941 ;
11939 return 0; 11942 return 0;
11940 } 11943 }
11941 _ACEOF 11944 _ACEOF
11942 rm -f conftest.$ac_objext 11945 rm -f conftest.$ac_objext
11943 if { (eval echo "$as_me:11943: \"$ac_compile\"") >&5 11946 if { (eval echo "$as_me:11946: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>&5 11947 (eval $ac_compile) 2>&5
11945 ac_status=$? 11948 ac_status=$?
11946 echo "$as_me:11946: \$? = $ac_status" >&5 11949 echo "$as_me:11949: \$? = $ac_status" >&5
11947 (exit $ac_status); } && 11950 (exit $ac_status); } &&
11948 { ac_try='test -s conftest.$ac_objext' 11951 { ac_try='test -s conftest.$ac_objext'
11949 { (eval echo "$as_me:11949: \"$ac_try\"") >&5 11952 { (eval echo "$as_me:11952: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5 11953 (eval $ac_try) 2>&5
11951 ac_status=$? 11954 ac_status=$?
11952 echo "$as_me:11952: \$? = $ac_status" >&5 11955 echo "$as_me:11955: \$? = $ac_status" >&5
11953 (exit $ac_status); }; }; then 11956 (exit $ac_status); }; }; then
11954 ac_cv_type_pid_t=yes 11957 ac_cv_type_pid_t=yes
11955 else 11958 else
11956 echo "$as_me: failed program was:" >&5 11959 echo "$as_me: failed program was:" >&5
11957 cat conftest.$ac_ext >&5 11960 cat conftest.$ac_ext >&5
11958 ac_cv_type_pid_t=no 11961 ac_cv_type_pid_t=no
11959 fi 11962 fi
11960 rm -f conftest.$ac_objext conftest.$ac_ext 11963 rm -f conftest.$ac_objext conftest.$ac_ext
11961 fi 11964 fi
11962 echo "$as_me:11962: result: $ac_cv_type_pid_t" >&5 11965 echo "$as_me:11965: result: $ac_cv_type_pid_t" >&5
11963 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 11966 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11964 if test $ac_cv_type_pid_t = yes; then 11967 if test $ac_cv_type_pid_t = yes; then
11965 : 11968 :
11966 else 11969 else
11967 11970
11972 fi 11975 fi
11973 11976
11974 for ac_header in unistd.h vfork.h 11977 for ac_header in unistd.h vfork.h
11975 do 11978 do
11976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11977 echo "$as_me:11977: checking for $ac_header" >&5 11980 echo "$as_me:11980: checking for $ac_header" >&5
11978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11979 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6 11983 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 else 11984 else
11982 cat >conftest.$ac_ext <<_ACEOF 11985 cat >conftest.$ac_ext <<_ACEOF
11983 #line 11983 "configure" 11986 #line 11986 "configure"
11984 #include "confdefs.h" 11987 #include "confdefs.h"
11985 #include <$ac_header> 11988 #include <$ac_header>
11986 _ACEOF 11989 _ACEOF
11987 if { (eval echo "$as_me:11987: \"$ac_cpp conftest.$ac_ext\"") >&5 11990 if { (eval echo "$as_me:11990: \"$ac_cpp conftest.$ac_ext\"") >&5
11988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11989 ac_status=$? 11992 ac_status=$?
11990 egrep -v '^ *\+' conftest.er1 >conftest.err 11993 egrep -v '^ *\+' conftest.er1 >conftest.err
11991 rm -f conftest.er1 11994 rm -f conftest.er1
11992 cat conftest.err >&5 11995 cat conftest.err >&5
11993 echo "$as_me:11993: \$? = $ac_status" >&5 11996 echo "$as_me:11996: \$? = $ac_status" >&5
11994 (exit $ac_status); } >/dev/null; then 11997 (exit $ac_status); } >/dev/null; then
11995 if test -s conftest.err; then 11998 if test -s conftest.err; then
11996 ac_cpp_err=$ac_c_preproc_warn_flag 11999 ac_cpp_err=$ac_c_preproc_warn_flag
11997 else 12000 else
11998 ac_cpp_err= 12001 ac_cpp_err=
12007 cat conftest.$ac_ext >&5 12010 cat conftest.$ac_ext >&5
12008 eval "$as_ac_Header=no" 12011 eval "$as_ac_Header=no"
12009 fi 12012 fi
12010 rm -f conftest.err conftest.$ac_ext 12013 rm -f conftest.err conftest.$ac_ext
12011 fi 12014 fi
12012 echo "$as_me:12012: result: `eval echo '${'$as_ac_Header'}'`" >&5 12015 echo "$as_me:12015: result: `eval echo '${'$as_ac_Header'}'`" >&5
12013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12014 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12015 cat >>confdefs.h <<EOF 12018 cat >>confdefs.h <<EOF
12016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12017 EOF 12020 EOF
12020 done 12023 done
12021 12024
12022 for ac_func in fork vfork 12025 for ac_func in fork vfork
12023 do 12026 do
12024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12025 echo "$as_me:12025: checking for $ac_func" >&5 12028 echo "$as_me:12028: checking for $ac_func" >&5
12026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12027 if eval "test \"\${$as_ac_var+set}\" = set"; then 12030 if eval "test \"\${$as_ac_var+set}\" = set"; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6 12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 else 12032 else
12030 cat >conftest.$ac_ext <<_ACEOF 12033 cat >conftest.$ac_ext <<_ACEOF
12031 #line 12031 "configure" 12034 #line 12034 "configure"
12032 #include "confdefs.h" 12035 #include "confdefs.h"
12033 /* System header to define __stub macros and hopefully few prototypes, 12036 /* System header to define __stub macros and hopefully few prototypes,
12034 which can conflict with char $ac_func (); below. */ 12037 which can conflict with char $ac_func (); below. */
12035 #include <assert.h> 12038 #include <assert.h>
12036 /* Override any gcc2 internal prototype to avoid an error. */ 12039 /* Override any gcc2 internal prototype to avoid an error. */
12057 ; 12060 ;
12058 return 0; 12061 return 0;
12059 } 12062 }
12060 _ACEOF 12063 _ACEOF
12061 rm -f conftest.$ac_objext conftest$ac_exeext 12064 rm -f conftest.$ac_objext conftest$ac_exeext
12062 if { (eval echo "$as_me:12062: \"$ac_link\"") >&5 12065 if { (eval echo "$as_me:12065: \"$ac_link\"") >&5
12063 (eval $ac_link) 2>&5 12066 (eval $ac_link) 2>&5
12064 ac_status=$? 12067 ac_status=$?
12065 echo "$as_me:12065: \$? = $ac_status" >&5 12068 echo "$as_me:12068: \$? = $ac_status" >&5
12066 (exit $ac_status); } && 12069 (exit $ac_status); } &&
12067 { ac_try='test -s conftest$ac_exeext' 12070 { ac_try='test -s conftest$ac_exeext'
12068 { (eval echo "$as_me:12068: \"$ac_try\"") >&5 12071 { (eval echo "$as_me:12071: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5 12072 (eval $ac_try) 2>&5
12070 ac_status=$? 12073 ac_status=$?
12071 echo "$as_me:12071: \$? = $ac_status" >&5 12074 echo "$as_me:12074: \$? = $ac_status" >&5
12072 (exit $ac_status); }; }; then 12075 (exit $ac_status); }; }; then
12073 eval "$as_ac_var=yes" 12076 eval "$as_ac_var=yes"
12074 else 12077 else
12075 echo "$as_me: failed program was:" >&5 12078 echo "$as_me: failed program was:" >&5
12076 cat conftest.$ac_ext >&5 12079 cat conftest.$ac_ext >&5
12077 eval "$as_ac_var=no" 12080 eval "$as_ac_var=no"
12078 fi 12081 fi
12079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12080 fi 12083 fi
12081 echo "$as_me:12081: result: `eval echo '${'$as_ac_var'}'`" >&5 12084 echo "$as_me:12084: result: `eval echo '${'$as_ac_var'}'`" >&5
12082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12083 if test `eval echo '${'$as_ac_var'}'` = yes; then 12086 if test `eval echo '${'$as_ac_var'}'` = yes; then
12084 cat >>confdefs.h <<EOF 12087 cat >>confdefs.h <<EOF
12085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12086 EOF 12089 EOF
12088 fi 12091 fi
12089 done 12092 done
12090 12093
12091 ac_cv_func_fork_works=$ac_cv_func_fork 12094 ac_cv_func_fork_works=$ac_cv_func_fork
12092 if test "x$ac_cv_func_fork" = xyes; then 12095 if test "x$ac_cv_func_fork" = xyes; then
12093 echo "$as_me:12093: checking for working fork" >&5 12096 echo "$as_me:12096: checking for working fork" >&5
12094 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 12097 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12095 if test "${ac_cv_func_fork_works+set}" = set; then 12098 if test "${ac_cv_func_fork_works+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6 12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else 12100 else
12098 if test "$cross_compiling" = yes; then 12101 if test "$cross_compiling" = yes; then
12111 exit (1); 12114 exit (1);
12112 exit (0); 12115 exit (0);
12113 } 12116 }
12114 _ACEOF 12117 _ACEOF
12115 rm -f conftest$ac_exeext 12118 rm -f conftest$ac_exeext
12116 if { (eval echo "$as_me:12116: \"$ac_link\"") >&5 12119 if { (eval echo "$as_me:12119: \"$ac_link\"") >&5
12117 (eval $ac_link) 2>&5 12120 (eval $ac_link) 2>&5
12118 ac_status=$? 12121 ac_status=$?
12119 echo "$as_me:12119: \$? = $ac_status" >&5 12122 echo "$as_me:12122: \$? = $ac_status" >&5
12120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12123 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12121 { (eval echo "$as_me:12121: \"$ac_try\"") >&5 12124 { (eval echo "$as_me:12124: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5 12125 (eval $ac_try) 2>&5
12123 ac_status=$? 12126 ac_status=$?
12124 echo "$as_me:12124: \$? = $ac_status" >&5 12127 echo "$as_me:12127: \$? = $ac_status" >&5
12125 (exit $ac_status); }; }; then 12128 (exit $ac_status); }; }; then
12126 ac_cv_func_fork_works=yes 12129 ac_cv_func_fork_works=yes
12127 else 12130 else
12128 echo "$as_me: program exited with status $ac_status" >&5 12131 echo "$as_me: program exited with status $ac_status" >&5
12129 echo "$as_me: failed program was:" >&5 12132 echo "$as_me: failed program was:" >&5
12131 ac_cv_func_fork_works=no 12134 ac_cv_func_fork_works=no
12132 fi 12135 fi
12133 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12136 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12134 fi 12137 fi
12135 fi 12138 fi
12136 echo "$as_me:12136: result: $ac_cv_func_fork_works" >&5 12139 echo "$as_me:12139: result: $ac_cv_func_fork_works" >&5
12137 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 12140 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12138 12141
12139 fi 12142 fi
12140 if test "x$ac_cv_func_fork_works" = xcross; then 12143 if test "x$ac_cv_func_fork_works" = xcross; then
12141 case $host in 12144 case $host in
12145 ;; 12148 ;;
12146 *) 12149 *)
12147 ac_cv_func_fork_works=yes 12150 ac_cv_func_fork_works=yes
12148 ;; 12151 ;;
12149 esac 12152 esac
12150 { echo "$as_me:12150: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12153 { echo "$as_me:12153: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12151 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12154 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12152 fi 12155 fi
12153 ac_cv_func_vfork_works=$ac_cv_func_vfork 12156 ac_cv_func_vfork_works=$ac_cv_func_vfork
12154 if test "x$ac_cv_func_vfork" = xyes; then 12157 if test "x$ac_cv_func_vfork" = xyes; then
12155 echo "$as_me:12155: checking for working vfork" >&5 12158 echo "$as_me:12158: checking for working vfork" >&5
12156 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12159 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12157 if test "${ac_cv_func_vfork_works+set}" = set; then 12160 if test "${ac_cv_func_vfork_works+set}" = set; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6 12161 echo $ECHO_N "(cached) $ECHO_C" >&6
12159 else 12162 else
12160 if test "$cross_compiling" = yes; then 12163 if test "$cross_compiling" = yes; then
12161 ac_cv_func_vfork_works=cross 12164 ac_cv_func_vfork_works=cross
12162 else 12165 else
12163 cat >conftest.$ac_ext <<_ACEOF 12166 cat >conftest.$ac_ext <<_ACEOF
12164 #line 12164 "configure" 12167 #line 12167 "configure"
12165 #include "confdefs.h" 12168 #include "confdefs.h"
12166 /* Thanks to Paul Eggert for this test. */ 12169 /* Thanks to Paul Eggert for this test. */
12167 #include <stdio.h> 12170 #include <stdio.h>
12168 #include <sys/types.h> 12171 #include <sys/types.h>
12169 #include <sys/stat.h> 12172 #include <sys/stat.h>
12256 ); 12259 );
12257 } 12260 }
12258 } 12261 }
12259 _ACEOF 12262 _ACEOF
12260 rm -f conftest$ac_exeext 12263 rm -f conftest$ac_exeext
12261 if { (eval echo "$as_me:12261: \"$ac_link\"") >&5 12264 if { (eval echo "$as_me:12264: \"$ac_link\"") >&5
12262 (eval $ac_link) 2>&5 12265 (eval $ac_link) 2>&5
12263 ac_status=$? 12266 ac_status=$?
12264 echo "$as_me:12264: \$? = $ac_status" >&5 12267 echo "$as_me:12267: \$? = $ac_status" >&5
12265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12266 { (eval echo "$as_me:12266: \"$ac_try\"") >&5 12269 { (eval echo "$as_me:12269: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5 12270 (eval $ac_try) 2>&5
12268 ac_status=$? 12271 ac_status=$?
12269 echo "$as_me:12269: \$? = $ac_status" >&5 12272 echo "$as_me:12272: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then 12273 (exit $ac_status); }; }; then
12271 ac_cv_func_vfork_works=yes 12274 ac_cv_func_vfork_works=yes
12272 else 12275 else
12273 echo "$as_me: program exited with status $ac_status" >&5 12276 echo "$as_me: program exited with status $ac_status" >&5
12274 echo "$as_me: failed program was:" >&5 12277 echo "$as_me: failed program was:" >&5
12276 ac_cv_func_vfork_works=no 12279 ac_cv_func_vfork_works=no
12277 fi 12280 fi
12278 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12281 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12279 fi 12282 fi
12280 fi 12283 fi
12281 echo "$as_me:12281: result: $ac_cv_func_vfork_works" >&5 12284 echo "$as_me:12284: result: $ac_cv_func_vfork_works" >&5
12282 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12285 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12283 12286
12284 fi; 12287 fi;
12285 if test "x$ac_cv_func_fork_works" = xcross; then 12288 if test "x$ac_cv_func_fork_works" = xcross; then
12286 ac_cv_func_vfork_works=ac_cv_func_vfork 12289 ac_cv_func_vfork_works=ac_cv_func_vfork
12287 { echo "$as_me:12287: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12290 { echo "$as_me:12290: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12288 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12291 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12289 fi 12292 fi
12290 12293
12291 if test "x$ac_cv_func_vfork_works" = xyes; then 12294 if test "x$ac_cv_func_vfork_works" = xyes; then
12292 12295
12308 EOF 12311 EOF
12309 12312
12310 fi 12313 fi
12311 12314
12312 # Fixme: This should be replaced when we have autoconf 2.14. 12315 # Fixme: This should be replaced when we have autoconf 2.14.
12313 echo "$as_me:12313: checking for size_t" >&5 12316 echo "$as_me:12316: checking for size_t" >&5
12314 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12317 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12315 if test "${ac_cv_type_size_t+set}" = set; then 12318 if test "${ac_cv_type_size_t+set}" = set; then
12316 echo $ECHO_N "(cached) $ECHO_C" >&6 12319 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 else 12320 else
12318 cat >conftest.$ac_ext <<_ACEOF 12321 cat >conftest.$ac_ext <<_ACEOF
12319 #line 12319 "configure" 12322 #line 12322 "configure"
12320 #include "confdefs.h" 12323 #include "confdefs.h"
12321 $ac_includes_default 12324 $ac_includes_default
12322 int 12325 int
12323 main () 12326 main ()
12324 { 12327 {
12329 ; 12332 ;
12330 return 0; 12333 return 0;
12331 } 12334 }
12332 _ACEOF 12335 _ACEOF
12333 rm -f conftest.$ac_objext 12336 rm -f conftest.$ac_objext
12334 if { (eval echo "$as_me:12334: \"$ac_compile\"") >&5 12337 if { (eval echo "$as_me:12337: \"$ac_compile\"") >&5
12335 (eval $ac_compile) 2>&5 12338 (eval $ac_compile) 2>&5
12336 ac_status=$? 12339 ac_status=$?
12337 echo "$as_me:12337: \$? = $ac_status" >&5 12340 echo "$as_me:12340: \$? = $ac_status" >&5
12338 (exit $ac_status); } && 12341 (exit $ac_status); } &&
12339 { ac_try='test -s conftest.$ac_objext' 12342 { ac_try='test -s conftest.$ac_objext'
12340 { (eval echo "$as_me:12340: \"$ac_try\"") >&5 12343 { (eval echo "$as_me:12343: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5 12344 (eval $ac_try) 2>&5
12342 ac_status=$? 12345 ac_status=$?
12343 echo "$as_me:12343: \$? = $ac_status" >&5 12346 echo "$as_me:12346: \$? = $ac_status" >&5
12344 (exit $ac_status); }; }; then 12347 (exit $ac_status); }; }; then
12345 ac_cv_type_size_t=yes 12348 ac_cv_type_size_t=yes
12346 else 12349 else
12347 echo "$as_me: failed program was:" >&5 12350 echo "$as_me: failed program was:" >&5
12348 cat conftest.$ac_ext >&5 12351 cat conftest.$ac_ext >&5
12349 ac_cv_type_size_t=no 12352 ac_cv_type_size_t=no
12350 fi 12353 fi
12351 rm -f conftest.$ac_objext conftest.$ac_ext 12354 rm -f conftest.$ac_objext conftest.$ac_ext
12352 fi 12355 fi
12353 echo "$as_me:12353: result: $ac_cv_type_size_t" >&5 12356 echo "$as_me:12356: result: $ac_cv_type_size_t" >&5
12354 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12357 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12355 if test $ac_cv_type_size_t = yes; then 12358 if test $ac_cv_type_size_t = yes; then
12356 : 12359 :
12357 else 12360 else
12358 12361
12368 12371
12369 #### Find out which version of Emacs this is. 12372 #### Find out which version of Emacs this is.
12370 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12373 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12371 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12374 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12372 if test x"${version}" = x; then 12375 if test x"${version}" = x; then
12373 { { echo "$as_me:12373: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12376 { { echo "$as_me:12376: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12374 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12377 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12375 { (exit 1); exit 1; }; } 12378 { (exit 1); exit 1; }; }
12376 fi 12379 fi
12377 12380
12378 ### Specify what sort of things we'll be editing into Makefile and config.h. 12381 ### Specify what sort of things we'll be editing into Makefile and config.h.
12454 fi 12457 fi
12455 12458
12456 for ac_header in nlist.h 12459 for ac_header in nlist.h
12457 do 12460 do
12458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12459 echo "$as_me:12459: checking for $ac_header" >&5 12462 echo "$as_me:12462: checking for $ac_header" >&5
12460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12461 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6 12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12463 else 12466 else
12464 cat >conftest.$ac_ext <<_ACEOF 12467 cat >conftest.$ac_ext <<_ACEOF
12465 #line 12465 "configure" 12468 #line 12468 "configure"
12466 #include "confdefs.h" 12469 #include "confdefs.h"
12467 #include <$ac_header> 12470 #include <$ac_header>
12468 _ACEOF 12471 _ACEOF
12469 if { (eval echo "$as_me:12469: \"$ac_cpp conftest.$ac_ext\"") >&5 12472 if { (eval echo "$as_me:12472: \"$ac_cpp conftest.$ac_ext\"") >&5
12470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12471 ac_status=$? 12474 ac_status=$?
12472 egrep -v '^ *\+' conftest.er1 >conftest.err 12475 egrep -v '^ *\+' conftest.er1 >conftest.err
12473 rm -f conftest.er1 12476 rm -f conftest.er1
12474 cat conftest.err >&5 12477 cat conftest.err >&5
12475 echo "$as_me:12475: \$? = $ac_status" >&5 12478 echo "$as_me:12478: \$? = $ac_status" >&5
12476 (exit $ac_status); } >/dev/null; then 12479 (exit $ac_status); } >/dev/null; then
12477 if test -s conftest.err; then 12480 if test -s conftest.err; then
12478 ac_cpp_err=$ac_c_preproc_warn_flag 12481 ac_cpp_err=$ac_c_preproc_warn_flag
12479 else 12482 else
12480 ac_cpp_err= 12483 ac_cpp_err=
12489 cat conftest.$ac_ext >&5 12492 cat conftest.$ac_ext >&5
12490 eval "$as_ac_Header=no" 12493 eval "$as_ac_Header=no"
12491 fi 12494 fi
12492 rm -f conftest.err conftest.$ac_ext 12495 rm -f conftest.err conftest.$ac_ext
12493 fi 12496 fi
12494 echo "$as_me:12494: result: `eval echo '${'$as_ac_Header'}'`" >&5 12497 echo "$as_me:12497: result: `eval echo '${'$as_ac_Header'}'`" >&5
12495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12496 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12497 cat >>confdefs.h <<EOF 12500 cat >>confdefs.h <<EOF
12498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12499 EOF 12502 EOF
12549 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12552 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12550 ## from Makefile.c can correctly provide the arg `-traditional' to the 12553 ## from Makefile.c can correctly provide the arg `-traditional' to the
12551 ## C preprocessor. 12554 ## C preprocessor.
12552 12555
12553 cat >conftest.$ac_ext <<_ACEOF 12556 cat >conftest.$ac_ext <<_ACEOF
12554 #line 12554 "configure" 12557 #line 12557 "configure"
12555 #include "confdefs.h" 12558 #include "confdefs.h"
12556 yes..yes 12559 yes..yes
12557 _ACEOF 12560 _ACEOF
12558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12559 egrep "yes..yes" >/dev/null 2>&1; then 12562 egrep "yes..yes" >/dev/null 2>&1; then
12642 DEFS=-DHAVE_CONFIG_H 12645 DEFS=-DHAVE_CONFIG_H
12643 12646
12644 : ${CONFIG_STATUS=./config.status} 12647 : ${CONFIG_STATUS=./config.status}
12645 ac_clean_files_save=$ac_clean_files 12648 ac_clean_files_save=$ac_clean_files
12646 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12649 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12647 { echo "$as_me:12647: creating $CONFIG_STATUS" >&5 12650 { echo "$as_me:12650: creating $CONFIG_STATUS" >&5
12648 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12651 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12649 cat >$CONFIG_STATUS <<_ACEOF 12652 cat >$CONFIG_STATUS <<_ACEOF
12650 #! $SHELL 12653 #! $SHELL
12651 # Generated automatically by configure. 12654 # Generated automatically by configure.
12652 # Run this file to recreate the current configuration. 12655 # Run this file to recreate the current configuration.
12818 cat >>$CONFIG_STATUS <<\EOF 12821 cat >>$CONFIG_STATUS <<\EOF
12819 --version | --vers* | -V ) 12822 --version | --vers* | -V )
12820 echo "$ac_cs_version"; exit 0 ;; 12823 echo "$ac_cs_version"; exit 0 ;;
12821 --he | --h) 12824 --he | --h)
12822 # Conflict between --help and --header 12825 # Conflict between --help and --header
12823 { { echo "$as_me:12823: error: ambiguous option: $1 12826 { { echo "$as_me:12826: error: ambiguous option: $1
12824 Try \`$0 --help' for more information." >&5 12827 Try \`$0 --help' for more information." >&5
12825 echo "$as_me: error: ambiguous option: $1 12828 echo "$as_me: error: ambiguous option: $1
12826 Try \`$0 --help' for more information." >&2;} 12829 Try \`$0 --help' for more information." >&2;}
12827 { (exit 1); exit 1; }; };; 12830 { (exit 1); exit 1; }; };;
12828 --help | --hel | -h ) 12831 --help | --hel | -h )
12837 shift 12840 shift
12838 CONFIG_HEADERS="$CONFIG_HEADERS $1" 12841 CONFIG_HEADERS="$CONFIG_HEADERS $1"
12839 ac_need_defaults=false;; 12842 ac_need_defaults=false;;
12840 12843
12841 # This is an error. 12844 # This is an error.
12842 -*) { { echo "$as_me:12842: error: unrecognized option: $1 12845 -*) { { echo "$as_me:12845: error: unrecognized option: $1
12843 Try \`$0 --help' for more information." >&5 12846 Try \`$0 --help' for more information." >&5
12844 echo "$as_me: error: unrecognized option: $1 12847 echo "$as_me: error: unrecognized option: $1
12845 Try \`$0 --help' for more information." >&2;} 12848 Try \`$0 --help' for more information." >&2;}
12846 { (exit 1); exit 1; }; } ;; 12849 { (exit 1); exit 1; }; } ;;
12847 12850
12893 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 12896 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
12894 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 12897 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
12895 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 12898 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12896 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12899 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12897 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 12900 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12898 *) { { echo "$as_me:12898: error: invalid argument: $ac_config_target" >&5 12901 *) { { echo "$as_me:12901: error: invalid argument: $ac_config_target" >&5
12899 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12902 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12900 { (exit 1); exit 1; }; };; 12903 { (exit 1); exit 1; }; };;
12901 esac 12904 esac
12902 done 12905 done
12903 12906
13140 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13143 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13141 *) ac_INSTALL=$ac_dots$INSTALL ;; 13144 *) ac_INSTALL=$ac_dots$INSTALL ;;
13142 esac 13145 esac
13143 13146
13144 if test x"$ac_file" != x-; then 13147 if test x"$ac_file" != x-; then
13145 { echo "$as_me:13145: creating $ac_file" >&5 13148 { echo "$as_me:13148: creating $ac_file" >&5
13146 echo "$as_me: creating $ac_file" >&6;} 13149 echo "$as_me: creating $ac_file" >&6;}
13147 rm -f "$ac_file" 13150 rm -f "$ac_file"
13148 fi 13151 fi
13149 # Let's still pretend it is `configure' which instantiates (i.e., don't 13152 # Let's still pretend it is `configure' which instantiates (i.e., don't
13150 # use $as_me), people would be surprised to read: 13153 # use $as_me), people would be surprised to read:
13158 for f in $ac_file_in; do 13161 for f in $ac_file_in; do
13159 case $f in 13162 case $f in
13160 -) echo $tmp/stdin ;; 13163 -) echo $tmp/stdin ;;
13161 [\\/$]*) 13164 [\\/$]*)
13162 # Absolute (can't be DOS-style, as IFS=:) 13165 # Absolute (can't be DOS-style, as IFS=:)
13163 test -f "$f" || { { echo "$as_me:13163: error: cannot find input file: $f" >&5 13166 test -f "$f" || { { echo "$as_me:13166: error: cannot find input file: $f" >&5
13164 echo "$as_me: error: cannot find input file: $f" >&2;} 13167 echo "$as_me: error: cannot find input file: $f" >&2;}
13165 { (exit 1); exit 1; }; } 13168 { (exit 1); exit 1; }; }
13166 echo $f;; 13169 echo $f;;
13167 *) # Relative 13170 *) # Relative
13168 if test -f "$f"; then 13171 if test -f "$f"; then
13171 elif test -f "$srcdir/$f"; then 13174 elif test -f "$srcdir/$f"; then
13172 # Source tree 13175 # Source tree
13173 echo $srcdir/$f 13176 echo $srcdir/$f
13174 else 13177 else
13175 # /dev/null tree 13178 # /dev/null tree
13176 { { echo "$as_me:13176: error: cannot find input file: $f" >&5 13179 { { echo "$as_me:13179: error: cannot find input file: $f" >&5
13177 echo "$as_me: error: cannot find input file: $f" >&2;} 13180 echo "$as_me: error: cannot find input file: $f" >&2;}
13178 { (exit 1); exit 1; }; } 13181 { (exit 1); exit 1; }; }
13179 fi;; 13182 fi;;
13180 esac 13183 esac
13181 done` || { (exit 1); exit 1; } 13184 done` || { (exit 1); exit 1; }
13232 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13235 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13233 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13236 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13234 * ) ac_file_in=$ac_file.in ;; 13237 * ) ac_file_in=$ac_file.in ;;
13235 esac 13238 esac
13236 13239
13237 test x"$ac_file" != x- && { echo "$as_me:13237: creating $ac_file" >&5 13240 test x"$ac_file" != x- && { echo "$as_me:13240: creating $ac_file" >&5
13238 echo "$as_me: creating $ac_file" >&6;} 13241 echo "$as_me: creating $ac_file" >&6;}
13239 13242
13240 # First look for the input files in the build tree, otherwise in the 13243 # First look for the input files in the build tree, otherwise in the
13241 # src tree. 13244 # src tree.
13242 ac_file_inputs=`IFS=: 13245 ac_file_inputs=`IFS=:
13243 for f in $ac_file_in; do 13246 for f in $ac_file_in; do
13244 case $f in 13247 case $f in
13245 -) echo $tmp/stdin ;; 13248 -) echo $tmp/stdin ;;
13246 [\\/$]*) 13249 [\\/$]*)
13247 # Absolute (can't be DOS-style, as IFS=:) 13250 # Absolute (can't be DOS-style, as IFS=:)
13248 test -f "$f" || { { echo "$as_me:13248: error: cannot find input file: $f" >&5 13251 test -f "$f" || { { echo "$as_me:13251: error: cannot find input file: $f" >&5
13249 echo "$as_me: error: cannot find input file: $f" >&2;} 13252 echo "$as_me: error: cannot find input file: $f" >&2;}
13250 { (exit 1); exit 1; }; } 13253 { (exit 1); exit 1; }; }
13251 echo $f;; 13254 echo $f;;
13252 *) # Relative 13255 *) # Relative
13253 if test -f "$f"; then 13256 if test -f "$f"; then
13256 elif test -f "$srcdir/$f"; then 13259 elif test -f "$srcdir/$f"; then
13257 # Source tree 13260 # Source tree
13258 echo $srcdir/$f 13261 echo $srcdir/$f
13259 else 13262 else
13260 # /dev/null tree 13263 # /dev/null tree
13261 { { echo "$as_me:13261: error: cannot find input file: $f" >&5 13264 { { echo "$as_me:13264: error: cannot find input file: $f" >&5
13262 echo "$as_me: error: cannot find input file: $f" >&2;} 13265 echo "$as_me: error: cannot find input file: $f" >&2;}
13263 { (exit 1); exit 1; }; } 13266 { (exit 1); exit 1; }; }
13264 fi;; 13267 fi;;
13265 esac 13268 esac
13266 done` || { (exit 1); exit 1; } 13269 done` || { (exit 1); exit 1; }
13373 fi 13376 fi
13374 cat $tmp/in >>$tmp/config.h 13377 cat $tmp/in >>$tmp/config.h
13375 rm -f $tmp/in 13378 rm -f $tmp/in
13376 if test x"$ac_file" != x-; then 13379 if test x"$ac_file" != x-; then
13377 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13380 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13378 { echo "$as_me:13378: $ac_file is unchanged" >&5 13381 { echo "$as_me:13381: $ac_file is unchanged" >&5
13379 echo "$as_me: $ac_file is unchanged" >&6;} 13382 echo "$as_me: $ac_file is unchanged" >&6;}
13380 else 13383 else
13381 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13384 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13382 X"$ac_file" : 'X\(//\)[^/]' \| \ 13385 X"$ac_file" : 'X\(//\)[^/]' \| \
13383 X"$ac_file" : 'X\(//\)$' \| \ 13386 X"$ac_file" : 'X\(//\)$' \| \