comparison configure @ 45668:f4dd56228521

Regenerated.
author Andreas Schwab <schwab@suse.de>
date Fri, 07 Jun 2002 11:23:40 +0000
parents 77e67c428a9f
children 3a6f0c639247
comparison
equal deleted inserted replaced
45667:16708fb2d951 45668:f4dd56228521
2242 machine=powermac opsys=darwin 2242 machine=powermac opsys=darwin
2243 # Define CPP as follows to make autoconf work correctly. 2243 # Define CPP as follows to make autoconf work correctly.
2244 CPP="cc -E -traditional-cpp" 2244 CPP="cc -E -traditional-cpp"
2245 ;; 2245 ;;
2246 2246
2247 ## AMD x86-64 Linux-based GNU system
2248 x86_64-*-linux-gnu* )
2249 machine=amdx86-64 opsys=gnu-linux
2250 ;;
2251
2247 * ) 2252 * )
2248 unported=yes 2253 unported=yes
2249 ;; 2254 ;;
2250 esac 2255 esac
2251 2256
2284 ;; 2289 ;;
2285 esac 2290 esac
2286 fi 2291 fi
2287 2292
2288 if test $unported = yes; then 2293 if test $unported = yes; then
2289 { { echo "$as_me:2289: error: Emacs hasn't been ported to \`${canonical}' systems. 2294 { { echo "$as_me:2294: error: Emacs hasn't been ported to \`${canonical}' systems.
2290 Check \`etc/MACHINES' for recognized configuration names." >&5 2295 Check \`etc/MACHINES' for recognized configuration names." >&5
2291 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2296 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2292 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2297 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2293 { (exit 1); exit 1; }; } 2298 { (exit 1); exit 1; }; }
2294 fi 2299 fi
2313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2314 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2315 if test -n "$ac_tool_prefix"; then 2320 if test -n "$ac_tool_prefix"; then
2316 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2321 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2317 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2318 echo "$as_me:2318: checking for $ac_word" >&5 2323 echo "$as_me:2323: checking for $ac_word" >&5
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2320 if test "${ac_cv_prog_CC+set}" = set; then 2325 if test "${ac_cv_prog_CC+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6 2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 else 2327 else
2323 if test -n "$CC"; then 2328 if test -n "$CC"; then
2328 for ac_dir in $ac_dummy; do 2333 for ac_dir in $ac_dummy; do
2329 IFS=$ac_save_IFS 2334 IFS=$ac_save_IFS
2330 test -z "$ac_dir" && ac_dir=. 2335 test -z "$ac_dir" && ac_dir=.
2331 $as_executable_p "$ac_dir/$ac_word" || continue 2336 $as_executable_p "$ac_dir/$ac_word" || continue
2332 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2337 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2333 echo "$as_me:2333: found $ac_dir/$ac_word" >&5 2338 echo "$as_me:2338: found $ac_dir/$ac_word" >&5
2334 break 2339 break
2335 done 2340 done
2336 2341
2337 fi 2342 fi
2338 fi 2343 fi
2339 CC=$ac_cv_prog_CC 2344 CC=$ac_cv_prog_CC
2340 if test -n "$CC"; then 2345 if test -n "$CC"; then
2341 echo "$as_me:2341: result: $CC" >&5 2346 echo "$as_me:2346: result: $CC" >&5
2342 echo "${ECHO_T}$CC" >&6 2347 echo "${ECHO_T}$CC" >&6
2343 else 2348 else
2344 echo "$as_me:2344: result: no" >&5 2349 echo "$as_me:2349: result: no" >&5
2345 echo "${ECHO_T}no" >&6 2350 echo "${ECHO_T}no" >&6
2346 fi 2351 fi
2347 2352
2348 fi 2353 fi
2349 if test -z "$ac_cv_prog_CC"; then 2354 if test -z "$ac_cv_prog_CC"; then
2350 ac_ct_CC=$CC 2355 ac_ct_CC=$CC
2351 # Extract the first word of "gcc", so it can be a program name with args. 2356 # Extract the first word of "gcc", so it can be a program name with args.
2352 set dummy gcc; ac_word=$2 2357 set dummy gcc; ac_word=$2
2353 echo "$as_me:2353: checking for $ac_word" >&5 2358 echo "$as_me:2358: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6 2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 else 2362 else
2358 if test -n "$ac_ct_CC"; then 2363 if test -n "$ac_ct_CC"; then
2363 for ac_dir in $ac_dummy; do 2368 for ac_dir in $ac_dummy; do
2364 IFS=$ac_save_IFS 2369 IFS=$ac_save_IFS
2365 test -z "$ac_dir" && ac_dir=. 2370 test -z "$ac_dir" && ac_dir=.
2366 $as_executable_p "$ac_dir/$ac_word" || continue 2371 $as_executable_p "$ac_dir/$ac_word" || continue
2367 ac_cv_prog_ac_ct_CC="gcc" 2372 ac_cv_prog_ac_ct_CC="gcc"
2368 echo "$as_me:2368: found $ac_dir/$ac_word" >&5 2373 echo "$as_me:2373: found $ac_dir/$ac_word" >&5
2369 break 2374 break
2370 done 2375 done
2371 2376
2372 fi 2377 fi
2373 fi 2378 fi
2374 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2375 if test -n "$ac_ct_CC"; then 2380 if test -n "$ac_ct_CC"; then
2376 echo "$as_me:2376: result: $ac_ct_CC" >&5 2381 echo "$as_me:2381: result: $ac_ct_CC" >&5
2377 echo "${ECHO_T}$ac_ct_CC" >&6 2382 echo "${ECHO_T}$ac_ct_CC" >&6
2378 else 2383 else
2379 echo "$as_me:2379: result: no" >&5 2384 echo "$as_me:2384: result: no" >&5
2380 echo "${ECHO_T}no" >&6 2385 echo "${ECHO_T}no" >&6
2381 fi 2386 fi
2382 2387
2383 CC=$ac_ct_CC 2388 CC=$ac_ct_CC
2384 else 2389 else
2387 2392
2388 if test -z "$CC"; then 2393 if test -z "$CC"; then
2389 if test -n "$ac_tool_prefix"; then 2394 if test -n "$ac_tool_prefix"; then
2390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2395 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2391 set dummy ${ac_tool_prefix}cc; ac_word=$2 2396 set dummy ${ac_tool_prefix}cc; ac_word=$2
2392 echo "$as_me:2392: checking for $ac_word" >&5 2397 echo "$as_me:2397: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394 if test "${ac_cv_prog_CC+set}" = set; then 2399 if test "${ac_cv_prog_CC+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6 2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 else 2401 else
2397 if test -n "$CC"; then 2402 if test -n "$CC"; then
2402 for ac_dir in $ac_dummy; do 2407 for ac_dir in $ac_dummy; do
2403 IFS=$ac_save_IFS 2408 IFS=$ac_save_IFS
2404 test -z "$ac_dir" && ac_dir=. 2409 test -z "$ac_dir" && ac_dir=.
2405 $as_executable_p "$ac_dir/$ac_word" || continue 2410 $as_executable_p "$ac_dir/$ac_word" || continue
2406 ac_cv_prog_CC="${ac_tool_prefix}cc" 2411 ac_cv_prog_CC="${ac_tool_prefix}cc"
2407 echo "$as_me:2407: found $ac_dir/$ac_word" >&5 2412 echo "$as_me:2412: found $ac_dir/$ac_word" >&5
2408 break 2413 break
2409 done 2414 done
2410 2415
2411 fi 2416 fi
2412 fi 2417 fi
2413 CC=$ac_cv_prog_CC 2418 CC=$ac_cv_prog_CC
2414 if test -n "$CC"; then 2419 if test -n "$CC"; then
2415 echo "$as_me:2415: result: $CC" >&5 2420 echo "$as_me:2420: result: $CC" >&5
2416 echo "${ECHO_T}$CC" >&6 2421 echo "${ECHO_T}$CC" >&6
2417 else 2422 else
2418 echo "$as_me:2418: result: no" >&5 2423 echo "$as_me:2423: result: no" >&5
2419 echo "${ECHO_T}no" >&6 2424 echo "${ECHO_T}no" >&6
2420 fi 2425 fi
2421 2426
2422 fi 2427 fi
2423 if test -z "$ac_cv_prog_CC"; then 2428 if test -z "$ac_cv_prog_CC"; then
2424 ac_ct_CC=$CC 2429 ac_ct_CC=$CC
2425 # Extract the first word of "cc", so it can be a program name with args. 2430 # Extract the first word of "cc", so it can be a program name with args.
2426 set dummy cc; ac_word=$2 2431 set dummy cc; ac_word=$2
2427 echo "$as_me:2427: checking for $ac_word" >&5 2432 echo "$as_me:2432: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2434 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6 2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 else 2436 else
2432 if test -n "$ac_ct_CC"; then 2437 if test -n "$ac_ct_CC"; then
2437 for ac_dir in $ac_dummy; do 2442 for ac_dir in $ac_dummy; do
2438 IFS=$ac_save_IFS 2443 IFS=$ac_save_IFS
2439 test -z "$ac_dir" && ac_dir=. 2444 test -z "$ac_dir" && ac_dir=.
2440 $as_executable_p "$ac_dir/$ac_word" || continue 2445 $as_executable_p "$ac_dir/$ac_word" || continue
2441 ac_cv_prog_ac_ct_CC="cc" 2446 ac_cv_prog_ac_ct_CC="cc"
2442 echo "$as_me:2442: found $ac_dir/$ac_word" >&5 2447 echo "$as_me:2447: found $ac_dir/$ac_word" >&5
2443 break 2448 break
2444 done 2449 done
2445 2450
2446 fi 2451 fi
2447 fi 2452 fi
2448 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2453 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2449 if test -n "$ac_ct_CC"; then 2454 if test -n "$ac_ct_CC"; then
2450 echo "$as_me:2450: result: $ac_ct_CC" >&5 2455 echo "$as_me:2455: result: $ac_ct_CC" >&5
2451 echo "${ECHO_T}$ac_ct_CC" >&6 2456 echo "${ECHO_T}$ac_ct_CC" >&6
2452 else 2457 else
2453 echo "$as_me:2453: result: no" >&5 2458 echo "$as_me:2458: result: no" >&5
2454 echo "${ECHO_T}no" >&6 2459 echo "${ECHO_T}no" >&6
2455 fi 2460 fi
2456 2461
2457 CC=$ac_ct_CC 2462 CC=$ac_ct_CC
2458 else 2463 else
2461 2466
2462 fi 2467 fi
2463 if test -z "$CC"; then 2468 if test -z "$CC"; then
2464 # Extract the first word of "cc", so it can be a program name with args. 2469 # Extract the first word of "cc", so it can be a program name with args.
2465 set dummy cc; ac_word=$2 2470 set dummy cc; ac_word=$2
2466 echo "$as_me:2466: checking for $ac_word" >&5 2471 echo "$as_me:2471: checking for $ac_word" >&5
2467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2468 if test "${ac_cv_prog_CC+set}" = set; then 2473 if test "${ac_cv_prog_CC+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6 2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 else 2475 else
2471 if test -n "$CC"; then 2476 if test -n "$CC"; then
2481 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2486 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2482 ac_prog_rejected=yes 2487 ac_prog_rejected=yes
2483 continue 2488 continue
2484 fi 2489 fi
2485 ac_cv_prog_CC="cc" 2490 ac_cv_prog_CC="cc"
2486 echo "$as_me:2486: found $ac_dir/$ac_word" >&5 2491 echo "$as_me:2491: found $ac_dir/$ac_word" >&5
2487 break 2492 break
2488 done 2493 done
2489 2494
2490 if test $ac_prog_rejected = yes; then 2495 if test $ac_prog_rejected = yes; then
2491 # We found a bogon in the path, so make sure we never use it. 2496 # We found a bogon in the path, so make sure we never use it.
2503 fi 2508 fi
2504 fi 2509 fi
2505 fi 2510 fi
2506 CC=$ac_cv_prog_CC 2511 CC=$ac_cv_prog_CC
2507 if test -n "$CC"; then 2512 if test -n "$CC"; then
2508 echo "$as_me:2508: result: $CC" >&5 2513 echo "$as_me:2513: result: $CC" >&5
2509 echo "${ECHO_T}$CC" >&6 2514 echo "${ECHO_T}$CC" >&6
2510 else 2515 else
2511 echo "$as_me:2511: result: no" >&5 2516 echo "$as_me:2516: result: no" >&5
2512 echo "${ECHO_T}no" >&6 2517 echo "${ECHO_T}no" >&6
2513 fi 2518 fi
2514 2519
2515 fi 2520 fi
2516 if test -z "$CC"; then 2521 if test -z "$CC"; then
2517 if test -n "$ac_tool_prefix"; then 2522 if test -n "$ac_tool_prefix"; then
2518 for ac_prog in cl 2523 for ac_prog in cl
2519 do 2524 do
2520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2522 echo "$as_me:2522: checking for $ac_word" >&5 2527 echo "$as_me:2527: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2524 if test "${ac_cv_prog_CC+set}" = set; then 2529 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6 2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else 2531 else
2527 if test -n "$CC"; then 2532 if test -n "$CC"; then
2532 for ac_dir in $ac_dummy; do 2537 for ac_dir in $ac_dummy; do
2533 IFS=$ac_save_IFS 2538 IFS=$ac_save_IFS
2534 test -z "$ac_dir" && ac_dir=. 2539 test -z "$ac_dir" && ac_dir=.
2535 $as_executable_p "$ac_dir/$ac_word" || continue 2540 $as_executable_p "$ac_dir/$ac_word" || continue
2536 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2541 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2537 echo "$as_me:2537: found $ac_dir/$ac_word" >&5 2542 echo "$as_me:2542: found $ac_dir/$ac_word" >&5
2538 break 2543 break
2539 done 2544 done
2540 2545
2541 fi 2546 fi
2542 fi 2547 fi
2543 CC=$ac_cv_prog_CC 2548 CC=$ac_cv_prog_CC
2544 if test -n "$CC"; then 2549 if test -n "$CC"; then
2545 echo "$as_me:2545: result: $CC" >&5 2550 echo "$as_me:2550: result: $CC" >&5
2546 echo "${ECHO_T}$CC" >&6 2551 echo "${ECHO_T}$CC" >&6
2547 else 2552 else
2548 echo "$as_me:2548: result: no" >&5 2553 echo "$as_me:2553: result: no" >&5
2549 echo "${ECHO_T}no" >&6 2554 echo "${ECHO_T}no" >&6
2550 fi 2555 fi
2551 2556
2552 test -n "$CC" && break 2557 test -n "$CC" && break
2553 done 2558 done
2556 ac_ct_CC=$CC 2561 ac_ct_CC=$CC
2557 for ac_prog in cl 2562 for ac_prog in cl
2558 do 2563 do
2559 # Extract the first word of "$ac_prog", so it can be a program name with args. 2564 # Extract the first word of "$ac_prog", so it can be a program name with args.
2560 set dummy $ac_prog; ac_word=$2 2565 set dummy $ac_prog; ac_word=$2
2561 echo "$as_me:2561: checking for $ac_word" >&5 2566 echo "$as_me:2566: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6 2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 else 2570 else
2566 if test -n "$ac_ct_CC"; then 2571 if test -n "$ac_ct_CC"; then
2571 for ac_dir in $ac_dummy; do 2576 for ac_dir in $ac_dummy; do
2572 IFS=$ac_save_IFS 2577 IFS=$ac_save_IFS
2573 test -z "$ac_dir" && ac_dir=. 2578 test -z "$ac_dir" && ac_dir=.
2574 $as_executable_p "$ac_dir/$ac_word" || continue 2579 $as_executable_p "$ac_dir/$ac_word" || continue
2575 ac_cv_prog_ac_ct_CC="$ac_prog" 2580 ac_cv_prog_ac_ct_CC="$ac_prog"
2576 echo "$as_me:2576: found $ac_dir/$ac_word" >&5 2581 echo "$as_me:2581: found $ac_dir/$ac_word" >&5
2577 break 2582 break
2578 done 2583 done
2579 2584
2580 fi 2585 fi
2581 fi 2586 fi
2582 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2587 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2583 if test -n "$ac_ct_CC"; then 2588 if test -n "$ac_ct_CC"; then
2584 echo "$as_me:2584: result: $ac_ct_CC" >&5 2589 echo "$as_me:2589: result: $ac_ct_CC" >&5
2585 echo "${ECHO_T}$ac_ct_CC" >&6 2590 echo "${ECHO_T}$ac_ct_CC" >&6
2586 else 2591 else
2587 echo "$as_me:2587: result: no" >&5 2592 echo "$as_me:2592: result: no" >&5
2588 echo "${ECHO_T}no" >&6 2593 echo "${ECHO_T}no" >&6
2589 fi 2594 fi
2590 2595
2591 test -n "$ac_ct_CC" && break 2596 test -n "$ac_ct_CC" && break
2592 done 2597 done
2594 CC=$ac_ct_CC 2599 CC=$ac_ct_CC
2595 fi 2600 fi
2596 2601
2597 fi 2602 fi
2598 2603
2599 test -z "$CC" && { { echo "$as_me:2599: error: no acceptable cc found in \$PATH" >&5 2604 test -z "$CC" && { { echo "$as_me:2604: error: no acceptable cc found in \$PATH" >&5
2600 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2605 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2601 { (exit 1); exit 1; }; } 2606 { (exit 1); exit 1; }; }
2602 2607
2603 # Provide some information about the compiler. 2608 # Provide some information about the compiler.
2604 echo "$as_me:2604:" \ 2609 echo "$as_me:2609:" \
2605 "checking for C compiler version" >&5 2610 "checking for C compiler version" >&5
2606 ac_compiler=`set X $ac_compile; echo $2` 2611 ac_compiler=`set X $ac_compile; echo $2`
2607 { (eval echo "$as_me:2607: \"$ac_compiler --version </dev/null >&5\"") >&5 2612 { (eval echo "$as_me:2612: \"$ac_compiler --version </dev/null >&5\"") >&5
2608 (eval $ac_compiler --version </dev/null >&5) 2>&5 2613 (eval $ac_compiler --version </dev/null >&5) 2>&5
2609 ac_status=$?
2610 echo "$as_me:2610: \$? = $ac_status" >&5
2611 (exit $ac_status); }
2612 { (eval echo "$as_me:2612: \"$ac_compiler -v </dev/null >&5\"") >&5
2613 (eval $ac_compiler -v </dev/null >&5) 2>&5
2614 ac_status=$? 2614 ac_status=$?
2615 echo "$as_me:2615: \$? = $ac_status" >&5 2615 echo "$as_me:2615: \$? = $ac_status" >&5
2616 (exit $ac_status); } 2616 (exit $ac_status); }
2617 { (eval echo "$as_me:2617: \"$ac_compiler -V </dev/null >&5\"") >&5 2617 { (eval echo "$as_me:2617: \"$ac_compiler -v </dev/null >&5\"") >&5
2618 (eval $ac_compiler -v </dev/null >&5) 2>&5
2619 ac_status=$?
2620 echo "$as_me:2620: \$? = $ac_status" >&5
2621 (exit $ac_status); }
2622 { (eval echo "$as_me:2622: \"$ac_compiler -V </dev/null >&5\"") >&5
2618 (eval $ac_compiler -V </dev/null >&5) 2>&5 2623 (eval $ac_compiler -V </dev/null >&5) 2>&5
2619 ac_status=$? 2624 ac_status=$?
2620 echo "$as_me:2620: \$? = $ac_status" >&5 2625 echo "$as_me:2625: \$? = $ac_status" >&5
2621 (exit $ac_status); } 2626 (exit $ac_status); }
2622 2627
2623 cat >conftest.$ac_ext <<_ACEOF 2628 cat >conftest.$ac_ext <<_ACEOF
2624 #line 2624 "configure" 2629 #line 2624 "configure"
2625 #include "confdefs.h" 2630 #include "confdefs.h"
2635 ac_clean_files_save=$ac_clean_files 2640 ac_clean_files_save=$ac_clean_files
2636 ac_clean_files="$ac_clean_files a.out a.exe" 2641 ac_clean_files="$ac_clean_files a.out a.exe"
2637 # Try to create an executable without -o first, disregard a.out. 2642 # Try to create an executable without -o first, disregard a.out.
2638 # It will help us diagnose broken compilers, and finding out an intuition 2643 # It will help us diagnose broken compilers, and finding out an intuition
2639 # of exeext. 2644 # of exeext.
2640 echo "$as_me:2640: checking for C compiler default output" >&5 2645 echo "$as_me:2645: checking for C compiler default output" >&5
2641 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2646 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2642 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2643 if { (eval echo "$as_me:2643: \"$ac_link_default\"") >&5 2648 if { (eval echo "$as_me:2648: \"$ac_link_default\"") >&5
2644 (eval $ac_link_default) 2>&5 2649 (eval $ac_link_default) 2>&5
2645 ac_status=$? 2650 ac_status=$?
2646 echo "$as_me:2646: \$? = $ac_status" >&5 2651 echo "$as_me:2651: \$? = $ac_status" >&5
2647 (exit $ac_status); }; then 2652 (exit $ac_status); }; then
2648 # Find the output, starting from the most likely. This scheme is 2653 # Find the output, starting from the most likely. This scheme is
2649 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2654 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2650 # resort. 2655 # resort.
2651 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2656 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2664 esac 2669 esac
2665 done 2670 done
2666 else 2671 else
2667 echo "$as_me: failed program was:" >&5 2672 echo "$as_me: failed program was:" >&5
2668 cat conftest.$ac_ext >&5 2673 cat conftest.$ac_ext >&5
2669 { { echo "$as_me:2669: error: C compiler cannot create executables" >&5 2674 { { echo "$as_me:2674: error: C compiler cannot create executables" >&5
2670 echo "$as_me: error: C compiler cannot create executables" >&2;} 2675 echo "$as_me: error: C compiler cannot create executables" >&2;}
2671 { (exit 77); exit 77; }; } 2676 { (exit 77); exit 77; }; }
2672 fi 2677 fi
2673 2678
2674 ac_exeext=$ac_cv_exeext 2679 ac_exeext=$ac_cv_exeext
2675 echo "$as_me:2675: result: $ac_file" >&5 2680 echo "$as_me:2680: result: $ac_file" >&5
2676 echo "${ECHO_T}$ac_file" >&6 2681 echo "${ECHO_T}$ac_file" >&6
2677 2682
2678 # Check the compiler produces executables we can run. If not, either 2683 # Check the compiler produces executables we can run. If not, either
2679 # the compiler is broken, or we cross compile. 2684 # the compiler is broken, or we cross compile.
2680 echo "$as_me:2680: checking whether the C compiler works" >&5 2685 echo "$as_me:2685: checking whether the C compiler works" >&5
2681 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2686 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2682 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2687 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2683 # If not cross compiling, check that we can run a simple program. 2688 # If not cross compiling, check that we can run a simple program.
2684 if test "$cross_compiling" != yes; then 2689 if test "$cross_compiling" != yes; then
2685 if { ac_try='./$ac_file' 2690 if { ac_try='./$ac_file'
2686 { (eval echo "$as_me:2686: \"$ac_try\"") >&5 2691 { (eval echo "$as_me:2691: \"$ac_try\"") >&5
2687 (eval $ac_try) 2>&5 2692 (eval $ac_try) 2>&5
2688 ac_status=$? 2693 ac_status=$?
2689 echo "$as_me:2689: \$? = $ac_status" >&5 2694 echo "$as_me:2694: \$? = $ac_status" >&5
2690 (exit $ac_status); }; }; then 2695 (exit $ac_status); }; }; then
2691 cross_compiling=no 2696 cross_compiling=no
2692 else 2697 else
2693 if test "$cross_compiling" = maybe; then 2698 if test "$cross_compiling" = maybe; then
2694 cross_compiling=yes 2699 cross_compiling=yes
2695 else 2700 else
2696 { { echo "$as_me:2696: error: cannot run C compiled programs. 2701 { { echo "$as_me:2701: error: cannot run C compiled programs.
2697 If you meant to cross compile, use \`--host'." >&5 2702 If you meant to cross compile, use \`--host'." >&5
2698 echo "$as_me: error: cannot run C compiled programs. 2703 echo "$as_me: error: cannot run C compiled programs.
2699 If you meant to cross compile, use \`--host'." >&2;} 2704 If you meant to cross compile, use \`--host'." >&2;}
2700 { (exit 1); exit 1; }; } 2705 { (exit 1); exit 1; }; }
2701 fi 2706 fi
2702 fi 2707 fi
2703 fi 2708 fi
2704 echo "$as_me:2704: result: yes" >&5 2709 echo "$as_me:2709: result: yes" >&5
2705 echo "${ECHO_T}yes" >&6 2710 echo "${ECHO_T}yes" >&6
2706 2711
2707 rm -f a.out a.exe conftest$ac_cv_exeext 2712 rm -f a.out a.exe conftest$ac_cv_exeext
2708 ac_clean_files=$ac_clean_files_save 2713 ac_clean_files=$ac_clean_files_save
2709 # Check the compiler produces executables we can run. If not, either 2714 # Check the compiler produces executables we can run. If not, either
2710 # the compiler is broken, or we cross compile. 2715 # the compiler is broken, or we cross compile.
2711 echo "$as_me:2711: checking whether we are cross compiling" >&5 2716 echo "$as_me:2716: checking whether we are cross compiling" >&5
2712 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2713 echo "$as_me:2713: result: $cross_compiling" >&5 2718 echo "$as_me:2718: result: $cross_compiling" >&5
2714 echo "${ECHO_T}$cross_compiling" >&6 2719 echo "${ECHO_T}$cross_compiling" >&6
2715 2720
2716 echo "$as_me:2716: checking for executable suffix" >&5 2721 echo "$as_me:2721: checking for executable suffix" >&5
2717 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2722 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2718 if { (eval echo "$as_me:2718: \"$ac_link\"") >&5 2723 if { (eval echo "$as_me:2723: \"$ac_link\"") >&5
2719 (eval $ac_link) 2>&5 2724 (eval $ac_link) 2>&5
2720 ac_status=$? 2725 ac_status=$?
2721 echo "$as_me:2721: \$? = $ac_status" >&5 2726 echo "$as_me:2726: \$? = $ac_status" >&5
2722 (exit $ac_status); }; then 2727 (exit $ac_status); }; then
2723 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2728 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2724 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2729 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2725 # work properly (i.e., refer to `conftest.exe'), while it won't with 2730 # work properly (i.e., refer to `conftest.exe'), while it won't with
2726 # `rm'. 2731 # `rm'.
2732 break;; 2737 break;;
2733 * ) break;; 2738 * ) break;;
2734 esac 2739 esac
2735 done 2740 done
2736 else 2741 else
2737 { { echo "$as_me:2737: error: cannot compute EXEEXT: cannot compile and link" >&5 2742 { { echo "$as_me:2742: error: cannot compute EXEEXT: cannot compile and link" >&5
2738 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2743 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2739 { (exit 1); exit 1; }; } 2744 { (exit 1); exit 1; }; }
2740 fi 2745 fi
2741 2746
2742 rm -f conftest$ac_cv_exeext 2747 rm -f conftest$ac_cv_exeext
2743 echo "$as_me:2743: result: $ac_cv_exeext" >&5 2748 echo "$as_me:2748: result: $ac_cv_exeext" >&5
2744 echo "${ECHO_T}$ac_cv_exeext" >&6 2749 echo "${ECHO_T}$ac_cv_exeext" >&6
2745 2750
2746 rm -f conftest.$ac_ext 2751 rm -f conftest.$ac_ext
2747 EXEEXT=$ac_cv_exeext 2752 EXEEXT=$ac_cv_exeext
2748 ac_exeext=$EXEEXT 2753 ac_exeext=$EXEEXT
2749 echo "$as_me:2749: checking for object suffix" >&5 2754 echo "$as_me:2754: checking for object suffix" >&5
2750 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2755 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2751 if test "${ac_cv_objext+set}" = set; then 2756 if test "${ac_cv_objext+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6 2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 else 2758 else
2754 cat >conftest.$ac_ext <<_ACEOF 2759 cat >conftest.$ac_ext <<_ACEOF
2762 ; 2767 ;
2763 return 0; 2768 return 0;
2764 } 2769 }
2765 _ACEOF 2770 _ACEOF
2766 rm -f conftest.o conftest.obj 2771 rm -f conftest.o conftest.obj
2767 if { (eval echo "$as_me:2767: \"$ac_compile\"") >&5 2772 if { (eval echo "$as_me:2772: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>&5 2773 (eval $ac_compile) 2>&5
2769 ac_status=$? 2774 ac_status=$?
2770 echo "$as_me:2770: \$? = $ac_status" >&5 2775 echo "$as_me:2775: \$? = $ac_status" >&5
2771 (exit $ac_status); }; then 2776 (exit $ac_status); }; then
2772 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2777 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2773 case $ac_file in 2778 case $ac_file in
2774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2775 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2780 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2777 esac 2782 esac
2778 done 2783 done
2779 else 2784 else
2780 echo "$as_me: failed program was:" >&5 2785 echo "$as_me: failed program was:" >&5
2781 cat conftest.$ac_ext >&5 2786 cat conftest.$ac_ext >&5
2782 { { echo "$as_me:2782: error: cannot compute OBJEXT: cannot compile" >&5 2787 { { echo "$as_me:2787: error: cannot compute OBJEXT: cannot compile" >&5
2783 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2788 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2784 { (exit 1); exit 1; }; } 2789 { (exit 1); exit 1; }; }
2785 fi 2790 fi
2786 2791
2787 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2792 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2788 fi 2793 fi
2789 echo "$as_me:2789: result: $ac_cv_objext" >&5 2794 echo "$as_me:2794: result: $ac_cv_objext" >&5
2790 echo "${ECHO_T}$ac_cv_objext" >&6 2795 echo "${ECHO_T}$ac_cv_objext" >&6
2791 OBJEXT=$ac_cv_objext 2796 OBJEXT=$ac_cv_objext
2792 ac_objext=$OBJEXT 2797 ac_objext=$OBJEXT
2793 echo "$as_me:2793: checking whether we are using the GNU C compiler" >&5 2798 echo "$as_me:2798: checking whether we are using the GNU C compiler" >&5
2794 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2799 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2795 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2800 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6 2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 else 2802 else
2798 cat >conftest.$ac_ext <<_ACEOF 2803 cat >conftest.$ac_ext <<_ACEOF
2809 ; 2814 ;
2810 return 0; 2815 return 0;
2811 } 2816 }
2812 _ACEOF 2817 _ACEOF
2813 rm -f conftest.$ac_objext 2818 rm -f conftest.$ac_objext
2814 if { (eval echo "$as_me:2814: \"$ac_compile\"") >&5 2819 if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5
2815 (eval $ac_compile) 2>&5 2820 (eval $ac_compile) 2>&5
2816 ac_status=$? 2821 ac_status=$?
2817 echo "$as_me:2817: \$? = $ac_status" >&5 2822 echo "$as_me:2822: \$? = $ac_status" >&5
2818 (exit $ac_status); } && 2823 (exit $ac_status); } &&
2819 { ac_try='test -s conftest.$ac_objext' 2824 { ac_try='test -s conftest.$ac_objext'
2820 { (eval echo "$as_me:2820: \"$ac_try\"") >&5 2825 { (eval echo "$as_me:2825: \"$ac_try\"") >&5
2821 (eval $ac_try) 2>&5 2826 (eval $ac_try) 2>&5
2822 ac_status=$? 2827 ac_status=$?
2823 echo "$as_me:2823: \$? = $ac_status" >&5 2828 echo "$as_me:2828: \$? = $ac_status" >&5
2824 (exit $ac_status); }; }; then 2829 (exit $ac_status); }; }; then
2825 ac_compiler_gnu=yes 2830 ac_compiler_gnu=yes
2826 else 2831 else
2827 echo "$as_me: failed program was:" >&5 2832 echo "$as_me: failed program was:" >&5
2828 cat conftest.$ac_ext >&5 2833 cat conftest.$ac_ext >&5
2830 fi 2835 fi
2831 rm -f conftest.$ac_objext conftest.$ac_ext 2836 rm -f conftest.$ac_objext conftest.$ac_ext
2832 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2837 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2833 2838
2834 fi 2839 fi
2835 echo "$as_me:2835: result: $ac_cv_c_compiler_gnu" >&5 2840 echo "$as_me:2840: result: $ac_cv_c_compiler_gnu" >&5
2836 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2841 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2837 GCC=`test $ac_compiler_gnu = yes && echo yes` 2842 GCC=`test $ac_compiler_gnu = yes && echo yes`
2838 ac_test_CFLAGS=${CFLAGS+set} 2843 ac_test_CFLAGS=${CFLAGS+set}
2839 ac_save_CFLAGS=$CFLAGS 2844 ac_save_CFLAGS=$CFLAGS
2840 CFLAGS="-g" 2845 CFLAGS="-g"
2841 echo "$as_me:2841: checking whether $CC accepts -g" >&5 2846 echo "$as_me:2846: checking whether $CC accepts -g" >&5
2842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2847 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2843 if test "${ac_cv_prog_cc_g+set}" = set; then 2848 if test "${ac_cv_prog_cc_g+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6 2849 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 else 2850 else
2846 cat >conftest.$ac_ext <<_ACEOF 2851 cat >conftest.$ac_ext <<_ACEOF
2854 ; 2859 ;
2855 return 0; 2860 return 0;
2856 } 2861 }
2857 _ACEOF 2862 _ACEOF
2858 rm -f conftest.$ac_objext 2863 rm -f conftest.$ac_objext
2859 if { (eval echo "$as_me:2859: \"$ac_compile\"") >&5 2864 if { (eval echo "$as_me:2864: \"$ac_compile\"") >&5
2860 (eval $ac_compile) 2>&5 2865 (eval $ac_compile) 2>&5
2861 ac_status=$? 2866 ac_status=$?
2862 echo "$as_me:2862: \$? = $ac_status" >&5 2867 echo "$as_me:2867: \$? = $ac_status" >&5
2863 (exit $ac_status); } && 2868 (exit $ac_status); } &&
2864 { ac_try='test -s conftest.$ac_objext' 2869 { ac_try='test -s conftest.$ac_objext'
2865 { (eval echo "$as_me:2865: \"$ac_try\"") >&5 2870 { (eval echo "$as_me:2870: \"$ac_try\"") >&5
2866 (eval $ac_try) 2>&5 2871 (eval $ac_try) 2>&5
2867 ac_status=$? 2872 ac_status=$?
2868 echo "$as_me:2868: \$? = $ac_status" >&5 2873 echo "$as_me:2873: \$? = $ac_status" >&5
2869 (exit $ac_status); }; }; then 2874 (exit $ac_status); }; }; then
2870 ac_cv_prog_cc_g=yes 2875 ac_cv_prog_cc_g=yes
2871 else 2876 else
2872 echo "$as_me: failed program was:" >&5 2877 echo "$as_me: failed program was:" >&5
2873 cat conftest.$ac_ext >&5 2878 cat conftest.$ac_ext >&5
2874 ac_cv_prog_cc_g=no 2879 ac_cv_prog_cc_g=no
2875 fi 2880 fi
2876 rm -f conftest.$ac_objext conftest.$ac_ext 2881 rm -f conftest.$ac_objext conftest.$ac_ext
2877 fi 2882 fi
2878 echo "$as_me:2878: result: $ac_cv_prog_cc_g" >&5 2883 echo "$as_me:2883: result: $ac_cv_prog_cc_g" >&5
2879 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2884 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2880 if test "$ac_test_CFLAGS" = set; then 2885 if test "$ac_test_CFLAGS" = set; then
2881 CFLAGS=$ac_save_CFLAGS 2886 CFLAGS=$ac_save_CFLAGS
2882 elif test $ac_cv_prog_cc_g = yes; then 2887 elif test $ac_cv_prog_cc_g = yes; then
2883 if test "$GCC" = yes; then 2888 if test "$GCC" = yes; then
2900 #ifndef __cplusplus 2905 #ifndef __cplusplus
2901 choke me 2906 choke me
2902 #endif 2907 #endif
2903 _ACEOF 2908 _ACEOF
2904 rm -f conftest.$ac_objext 2909 rm -f conftest.$ac_objext
2905 if { (eval echo "$as_me:2905: \"$ac_compile\"") >&5 2910 if { (eval echo "$as_me:2910: \"$ac_compile\"") >&5
2906 (eval $ac_compile) 2>&5 2911 (eval $ac_compile) 2>&5
2907 ac_status=$? 2912 ac_status=$?
2908 echo "$as_me:2908: \$? = $ac_status" >&5 2913 echo "$as_me:2913: \$? = $ac_status" >&5
2909 (exit $ac_status); } && 2914 (exit $ac_status); } &&
2910 { ac_try='test -s conftest.$ac_objext' 2915 { ac_try='test -s conftest.$ac_objext'
2911 { (eval echo "$as_me:2911: \"$ac_try\"") >&5 2916 { (eval echo "$as_me:2916: \"$ac_try\"") >&5
2912 (eval $ac_try) 2>&5 2917 (eval $ac_try) 2>&5
2913 ac_status=$? 2918 ac_status=$?
2914 echo "$as_me:2914: \$? = $ac_status" >&5 2919 echo "$as_me:2919: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then 2920 (exit $ac_status); }; }; then
2916 for ac_declaration in \ 2921 for ac_declaration in \
2917 ''\ 2922 ''\
2918 '#include <stdlib.h>' \ 2923 '#include <stdlib.h>' \
2919 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2924 'extern "C" void std::exit (int) throw (); using std::exit;' \
2934 ; 2939 ;
2935 return 0; 2940 return 0;
2936 } 2941 }
2937 _ACEOF 2942 _ACEOF
2938 rm -f conftest.$ac_objext 2943 rm -f conftest.$ac_objext
2939 if { (eval echo "$as_me:2939: \"$ac_compile\"") >&5 2944 if { (eval echo "$as_me:2944: \"$ac_compile\"") >&5
2940 (eval $ac_compile) 2>&5 2945 (eval $ac_compile) 2>&5
2941 ac_status=$? 2946 ac_status=$?
2942 echo "$as_me:2942: \$? = $ac_status" >&5 2947 echo "$as_me:2947: \$? = $ac_status" >&5
2943 (exit $ac_status); } && 2948 (exit $ac_status); } &&
2944 { ac_try='test -s conftest.$ac_objext' 2949 { ac_try='test -s conftest.$ac_objext'
2945 { (eval echo "$as_me:2945: \"$ac_try\"") >&5 2950 { (eval echo "$as_me:2950: \"$ac_try\"") >&5
2946 (eval $ac_try) 2>&5 2951 (eval $ac_try) 2>&5
2947 ac_status=$? 2952 ac_status=$?
2948 echo "$as_me:2948: \$? = $ac_status" >&5 2953 echo "$as_me:2953: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then 2954 (exit $ac_status); }; }; then
2950 : 2955 :
2951 else 2956 else
2952 echo "$as_me: failed program was:" >&5 2957 echo "$as_me: failed program was:" >&5
2953 cat conftest.$ac_ext >&5 2958 cat conftest.$ac_ext >&5
2965 ; 2970 ;
2966 return 0; 2971 return 0;
2967 } 2972 }
2968 _ACEOF 2973 _ACEOF
2969 rm -f conftest.$ac_objext 2974 rm -f conftest.$ac_objext
2970 if { (eval echo "$as_me:2970: \"$ac_compile\"") >&5 2975 if { (eval echo "$as_me:2975: \"$ac_compile\"") >&5
2971 (eval $ac_compile) 2>&5 2976 (eval $ac_compile) 2>&5
2972 ac_status=$? 2977 ac_status=$?
2973 echo "$as_me:2973: \$? = $ac_status" >&5 2978 echo "$as_me:2978: \$? = $ac_status" >&5
2974 (exit $ac_status); } && 2979 (exit $ac_status); } &&
2975 { ac_try='test -s conftest.$ac_objext' 2980 { ac_try='test -s conftest.$ac_objext'
2976 { (eval echo "$as_me:2976: \"$ac_try\"") >&5 2981 { (eval echo "$as_me:2981: \"$ac_try\"") >&5
2977 (eval $ac_try) 2>&5 2982 (eval $ac_try) 2>&5
2978 ac_status=$? 2983 ac_status=$?
2979 echo "$as_me:2979: \$? = $ac_status" >&5 2984 echo "$as_me:2984: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then 2985 (exit $ac_status); }; }; then
2981 break 2986 break
2982 else 2987 else
2983 echo "$as_me: failed program was:" >&5 2988 echo "$as_me: failed program was:" >&5
2984 cat conftest.$ac_ext >&5 2989 cat conftest.$ac_ext >&5
3047 3052
3048 #### Some other nice autoconf tests. If you add a test here which 3053 #### Some other nice autoconf tests. If you add a test here which
3049 #### should make an entry in src/config.h, don't forget to add an 3054 #### should make an entry in src/config.h, don't forget to add an
3050 #### #undef clause to src/config.h.in for autoconf to modify. 3055 #### #undef clause to src/config.h.in for autoconf to modify.
3051 3056
3052 echo "$as_me:3052: checking whether ln -s works" >&5 3057 echo "$as_me:3057: checking whether ln -s works" >&5
3053 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3058 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3054 LN_S=$as_ln_s 3059 LN_S=$as_ln_s
3055 if test "$LN_S" = "ln -s"; then 3060 if test "$LN_S" = "ln -s"; then
3056 echo "$as_me:3056: result: yes" >&5 3061 echo "$as_me:3061: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6 3062 echo "${ECHO_T}yes" >&6
3058 else 3063 else
3059 echo "$as_me:3059: result: no, using $LN_S" >&5 3064 echo "$as_me:3064: result: no, using $LN_S" >&5
3060 echo "${ECHO_T}no, using $LN_S" >&6 3065 echo "${ECHO_T}no, using $LN_S" >&6
3061 fi 3066 fi
3062 3067
3063 ac_ext=c 3068 ac_ext=c
3064 ac_cpp='$CPP $CPPFLAGS' 3069 ac_cpp='$CPP $CPPFLAGS'
3065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3067 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3068 echo "$as_me:3068: checking how to run the C preprocessor" >&5 3073 echo "$as_me:3073: checking how to run the C preprocessor" >&5
3069 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3074 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3070 # On Suns, sometimes $CPP names a directory. 3075 # On Suns, sometimes $CPP names a directory.
3071 if test -n "$CPP" && test -d "$CPP"; then 3076 if test -n "$CPP" && test -d "$CPP"; then
3072 CPP= 3077 CPP=
3073 fi 3078 fi
3089 #line 3089 "configure" 3094 #line 3089 "configure"
3090 #include "confdefs.h" 3095 #include "confdefs.h"
3091 #include <assert.h> 3096 #include <assert.h>
3092 Syntax error 3097 Syntax error
3093 _ACEOF 3098 _ACEOF
3094 if { (eval echo "$as_me:3094: \"$ac_cpp conftest.$ac_ext\"") >&5 3099 if { (eval echo "$as_me:3099: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3096 ac_status=$? 3101 ac_status=$?
3097 egrep -v '^ *\+' conftest.er1 >conftest.err 3102 egrep -v '^ *\+' conftest.er1 >conftest.err
3098 rm -f conftest.er1 3103 rm -f conftest.er1
3099 cat conftest.err >&5 3104 cat conftest.err >&5
3100 echo "$as_me:3100: \$? = $ac_status" >&5 3105 echo "$as_me:3105: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev/null; then 3106 (exit $ac_status); } >/dev/null; then
3102 if test -s conftest.err; then 3107 if test -s conftest.err; then
3103 ac_cpp_err=$ac_c_preproc_warn_flag 3108 ac_cpp_err=$ac_c_preproc_warn_flag
3104 else 3109 else
3105 ac_cpp_err= 3110 ac_cpp_err=
3122 cat >conftest.$ac_ext <<_ACEOF 3127 cat >conftest.$ac_ext <<_ACEOF
3123 #line 3123 "configure" 3128 #line 3123 "configure"
3124 #include "confdefs.h" 3129 #include "confdefs.h"
3125 #include <ac_nonexistent.h> 3130 #include <ac_nonexistent.h>
3126 _ACEOF 3131 _ACEOF
3127 if { (eval echo "$as_me:3127: \"$ac_cpp conftest.$ac_ext\"") >&5 3132 if { (eval echo "$as_me:3132: \"$ac_cpp conftest.$ac_ext\"") >&5
3128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3129 ac_status=$? 3134 ac_status=$?
3130 egrep -v '^ *\+' conftest.er1 >conftest.err 3135 egrep -v '^ *\+' conftest.er1 >conftest.err
3131 rm -f conftest.er1 3136 rm -f conftest.er1
3132 cat conftest.err >&5 3137 cat conftest.err >&5
3133 echo "$as_me:3133: \$? = $ac_status" >&5 3138 echo "$as_me:3138: \$? = $ac_status" >&5
3134 (exit $ac_status); } >/dev/null; then 3139 (exit $ac_status); } >/dev/null; then
3135 if test -s conftest.err; then 3140 if test -s conftest.err; then
3136 ac_cpp_err=$ac_c_preproc_warn_flag 3141 ac_cpp_err=$ac_c_preproc_warn_flag
3137 else 3142 else
3138 ac_cpp_err= 3143 ac_cpp_err=
3165 fi 3170 fi
3166 CPP=$ac_cv_prog_CPP 3171 CPP=$ac_cv_prog_CPP
3167 else 3172 else
3168 ac_cv_prog_CPP=$CPP 3173 ac_cv_prog_CPP=$CPP
3169 fi 3174 fi
3170 echo "$as_me:3170: result: $CPP" >&5 3175 echo "$as_me:3175: result: $CPP" >&5
3171 echo "${ECHO_T}$CPP" >&6 3176 echo "${ECHO_T}$CPP" >&6
3172 ac_preproc_ok=false 3177 ac_preproc_ok=false
3173 for ac_c_preproc_warn_flag in '' yes 3178 for ac_c_preproc_warn_flag in '' yes
3174 do 3179 do
3175 # Use a header file that comes with gcc, so configuring glibc 3180 # Use a header file that comes with gcc, so configuring glibc
3180 #line 3180 "configure" 3185 #line 3180 "configure"
3181 #include "confdefs.h" 3186 #include "confdefs.h"
3182 #include <assert.h> 3187 #include <assert.h>
3183 Syntax error 3188 Syntax error
3184 _ACEOF 3189 _ACEOF
3185 if { (eval echo "$as_me:3185: \"$ac_cpp conftest.$ac_ext\"") >&5 3190 if { (eval echo "$as_me:3190: \"$ac_cpp conftest.$ac_ext\"") >&5
3186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3187 ac_status=$? 3192 ac_status=$?
3188 egrep -v '^ *\+' conftest.er1 >conftest.err 3193 egrep -v '^ *\+' conftest.er1 >conftest.err
3189 rm -f conftest.er1 3194 rm -f conftest.er1
3190 cat conftest.err >&5 3195 cat conftest.err >&5
3191 echo "$as_me:3191: \$? = $ac_status" >&5 3196 echo "$as_me:3196: \$? = $ac_status" >&5
3192 (exit $ac_status); } >/dev/null; then 3197 (exit $ac_status); } >/dev/null; then
3193 if test -s conftest.err; then 3198 if test -s conftest.err; then
3194 ac_cpp_err=$ac_c_preproc_warn_flag 3199 ac_cpp_err=$ac_c_preproc_warn_flag
3195 else 3200 else
3196 ac_cpp_err= 3201 ac_cpp_err=
3213 cat >conftest.$ac_ext <<_ACEOF 3218 cat >conftest.$ac_ext <<_ACEOF
3214 #line 3214 "configure" 3219 #line 3214 "configure"
3215 #include "confdefs.h" 3220 #include "confdefs.h"
3216 #include <ac_nonexistent.h> 3221 #include <ac_nonexistent.h>
3217 _ACEOF 3222 _ACEOF
3218 if { (eval echo "$as_me:3218: \"$ac_cpp conftest.$ac_ext\"") >&5 3223 if { (eval echo "$as_me:3223: \"$ac_cpp conftest.$ac_ext\"") >&5
3219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3220 ac_status=$? 3225 ac_status=$?
3221 egrep -v '^ *\+' conftest.er1 >conftest.err 3226 egrep -v '^ *\+' conftest.er1 >conftest.err
3222 rm -f conftest.er1 3227 rm -f conftest.er1
3223 cat conftest.err >&5 3228 cat conftest.err >&5
3224 echo "$as_me:3224: \$? = $ac_status" >&5 3229 echo "$as_me:3229: \$? = $ac_status" >&5
3225 (exit $ac_status); } >/dev/null; then 3230 (exit $ac_status); } >/dev/null; then
3226 if test -s conftest.err; then 3231 if test -s conftest.err; then
3227 ac_cpp_err=$ac_c_preproc_warn_flag 3232 ac_cpp_err=$ac_c_preproc_warn_flag
3228 else 3233 else
3229 ac_cpp_err= 3234 ac_cpp_err=
3247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3248 rm -f conftest.err conftest.$ac_ext 3253 rm -f conftest.err conftest.$ac_ext
3249 if $ac_preproc_ok; then 3254 if $ac_preproc_ok; then
3250 : 3255 :
3251 else 3256 else
3252 { { echo "$as_me:3252: error: C preprocessor \"$CPP\" fails sanity check" >&5 3257 { { echo "$as_me:3257: error: C preprocessor \"$CPP\" fails sanity check" >&5
3253 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3258 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3254 { (exit 1); exit 1; }; } 3259 { (exit 1); exit 1; }; }
3255 fi 3260 fi
3256 3261
3257 ac_ext=c 3262 ac_ext=c
3270 # AmigaOS /C/install, which installs bootblocks on floppy discs 3275 # AmigaOS /C/install, which installs bootblocks on floppy discs
3271 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3272 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3273 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3274 # ./install, which can be erroneously created by make from ./install.sh. 3279 # ./install, which can be erroneously created by make from ./install.sh.
3275 echo "$as_me:3275: checking for a BSD compatible install" >&5 3280 echo "$as_me:3280: checking for a BSD compatible install" >&5
3276 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3281 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3277 if test -z "$INSTALL"; then 3282 if test -z "$INSTALL"; then
3278 if test "${ac_cv_path_install+set}" = set; then 3283 if test "${ac_cv_path_install+set}" = set; then
3279 echo $ECHO_N "(cached) $ECHO_C" >&6 3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 else 3285 else
3319 # break other packages using the cache if that directory is 3324 # break other packages using the cache if that directory is
3320 # removed, or if the path is relative. 3325 # removed, or if the path is relative.
3321 INSTALL=$ac_install_sh 3326 INSTALL=$ac_install_sh
3322 fi 3327 fi
3323 fi 3328 fi
3324 echo "$as_me:3324: result: $INSTALL" >&5 3329 echo "$as_me:3329: result: $INSTALL" >&5
3325 echo "${ECHO_T}$INSTALL" >&6 3330 echo "${ECHO_T}$INSTALL" >&6
3326 3331
3327 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3328 # It thinks the first close brace ends the variable substitution. 3333 # It thinks the first close brace ends the variable substitution.
3329 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3334 3339
3335 for ac_prog in 'bison -y' byacc 3340 for ac_prog in 'bison -y' byacc
3336 do 3341 do
3337 # Extract the first word of "$ac_prog", so it can be a program name with args. 3342 # Extract the first word of "$ac_prog", so it can be a program name with args.
3338 set dummy $ac_prog; ac_word=$2 3343 set dummy $ac_prog; ac_word=$2
3339 echo "$as_me:3339: checking for $ac_word" >&5 3344 echo "$as_me:3344: checking for $ac_word" >&5
3340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3341 if test "${ac_cv_prog_YACC+set}" = set; then 3346 if test "${ac_cv_prog_YACC+set}" = set; then
3342 echo $ECHO_N "(cached) $ECHO_C" >&6 3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 else 3348 else
3344 if test -n "$YACC"; then 3349 if test -n "$YACC"; then
3349 for ac_dir in $ac_dummy; do 3354 for ac_dir in $ac_dummy; do
3350 IFS=$ac_save_IFS 3355 IFS=$ac_save_IFS
3351 test -z "$ac_dir" && ac_dir=. 3356 test -z "$ac_dir" && ac_dir=.
3352 $as_executable_p "$ac_dir/$ac_word" || continue 3357 $as_executable_p "$ac_dir/$ac_word" || continue
3353 ac_cv_prog_YACC="$ac_prog" 3358 ac_cv_prog_YACC="$ac_prog"
3354 echo "$as_me:3354: found $ac_dir/$ac_word" >&5 3359 echo "$as_me:3359: found $ac_dir/$ac_word" >&5
3355 break 3360 break
3356 done 3361 done
3357 3362
3358 fi 3363 fi
3359 fi 3364 fi
3360 YACC=$ac_cv_prog_YACC 3365 YACC=$ac_cv_prog_YACC
3361 if test -n "$YACC"; then 3366 if test -n "$YACC"; then
3362 echo "$as_me:3362: result: $YACC" >&5 3367 echo "$as_me:3367: result: $YACC" >&5
3363 echo "${ECHO_T}$YACC" >&6 3368 echo "${ECHO_T}$YACC" >&6
3364 else 3369 else
3365 echo "$as_me:3365: result: no" >&5 3370 echo "$as_me:3370: result: no" >&5
3366 echo "${ECHO_T}no" >&6 3371 echo "${ECHO_T}no" >&6
3367 fi 3372 fi
3368 3373
3369 test -n "$YACC" && break 3374 test -n "$YACC" && break
3370 done 3375 done
3372 3377
3373 if test "x$RANLIB" = x; then 3378 if test "x$RANLIB" = x; then
3374 if test -n "$ac_tool_prefix"; then 3379 if test -n "$ac_tool_prefix"; then
3375 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3380 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3376 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3381 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3377 echo "$as_me:3377: checking for $ac_word" >&5 3382 echo "$as_me:3382: checking for $ac_word" >&5
3378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3379 if test "${ac_cv_prog_RANLIB+set}" = set; then 3384 if test "${ac_cv_prog_RANLIB+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6 3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 else 3386 else
3382 if test -n "$RANLIB"; then 3387 if test -n "$RANLIB"; then
3387 for ac_dir in $ac_dummy; do 3392 for ac_dir in $ac_dummy; do
3388 IFS=$ac_save_IFS 3393 IFS=$ac_save_IFS
3389 test -z "$ac_dir" && ac_dir=. 3394 test -z "$ac_dir" && ac_dir=.
3390 $as_executable_p "$ac_dir/$ac_word" || continue 3395 $as_executable_p "$ac_dir/$ac_word" || continue
3391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3396 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3392 echo "$as_me:3392: found $ac_dir/$ac_word" >&5 3397 echo "$as_me:3397: found $ac_dir/$ac_word" >&5
3393 break 3398 break
3394 done 3399 done
3395 3400
3396 fi 3401 fi
3397 fi 3402 fi
3398 RANLIB=$ac_cv_prog_RANLIB 3403 RANLIB=$ac_cv_prog_RANLIB
3399 if test -n "$RANLIB"; then 3404 if test -n "$RANLIB"; then
3400 echo "$as_me:3400: result: $RANLIB" >&5 3405 echo "$as_me:3405: result: $RANLIB" >&5
3401 echo "${ECHO_T}$RANLIB" >&6 3406 echo "${ECHO_T}$RANLIB" >&6
3402 else 3407 else
3403 echo "$as_me:3403: result: no" >&5 3408 echo "$as_me:3408: result: no" >&5
3404 echo "${ECHO_T}no" >&6 3409 echo "${ECHO_T}no" >&6
3405 fi 3410 fi
3406 3411
3407 fi 3412 fi
3408 if test -z "$ac_cv_prog_RANLIB"; then 3413 if test -z "$ac_cv_prog_RANLIB"; then
3409 ac_ct_RANLIB=$RANLIB 3414 ac_ct_RANLIB=$RANLIB
3410 # Extract the first word of "ranlib", so it can be a program name with args. 3415 # Extract the first word of "ranlib", so it can be a program name with args.
3411 set dummy ranlib; ac_word=$2 3416 set dummy ranlib; ac_word=$2
3412 echo "$as_me:3412: checking for $ac_word" >&5 3417 echo "$as_me:3417: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3419 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6 3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else 3421 else
3417 if test -n "$ac_ct_RANLIB"; then 3422 if test -n "$ac_ct_RANLIB"; then
3422 for ac_dir in $ac_dummy; do 3427 for ac_dir in $ac_dummy; do
3423 IFS=$ac_save_IFS 3428 IFS=$ac_save_IFS
3424 test -z "$ac_dir" && ac_dir=. 3429 test -z "$ac_dir" && ac_dir=.
3425 $as_executable_p "$ac_dir/$ac_word" || continue 3430 $as_executable_p "$ac_dir/$ac_word" || continue
3426 ac_cv_prog_ac_ct_RANLIB="ranlib" 3431 ac_cv_prog_ac_ct_RANLIB="ranlib"
3427 echo "$as_me:3427: found $ac_dir/$ac_word" >&5 3432 echo "$as_me:3432: found $ac_dir/$ac_word" >&5
3428 break 3433 break
3429 done 3434 done
3430 3435
3431 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3436 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3432 fi 3437 fi
3433 fi 3438 fi
3434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3439 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3435 if test -n "$ac_ct_RANLIB"; then 3440 if test -n "$ac_ct_RANLIB"; then
3436 echo "$as_me:3436: result: $ac_ct_RANLIB" >&5 3441 echo "$as_me:3441: result: $ac_ct_RANLIB" >&5
3437 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3442 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3438 else 3443 else
3439 echo "$as_me:3439: result: no" >&5 3444 echo "$as_me:3444: result: no" >&5
3440 echo "${ECHO_T}no" >&6 3445 echo "${ECHO_T}no" >&6
3441 fi 3446 fi
3442 3447
3443 RANLIB=$ac_ct_RANLIB 3448 RANLIB=$ac_ct_RANLIB
3444 else 3449 else
3445 RANLIB="$ac_cv_prog_RANLIB" 3450 RANLIB="$ac_cv_prog_RANLIB"
3446 fi 3451 fi
3447 3452
3448 fi 3453 fi
3449 3454
3450 echo "$as_me:3450: checking for AIX" >&5 3455 echo "$as_me:3455: checking for AIX" >&5
3451 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3456 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3452 cat >conftest.$ac_ext <<_ACEOF 3457 cat >conftest.$ac_ext <<_ACEOF
3453 #line 3453 "configure" 3458 #line 3453 "configure"
3454 #include "confdefs.h" 3459 #include "confdefs.h"
3455 #ifdef _AIX 3460 #ifdef _AIX
3457 #endif 3462 #endif
3458 3463
3459 _ACEOF 3464 _ACEOF
3460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3461 egrep "yes" >/dev/null 2>&1; then 3466 egrep "yes" >/dev/null 2>&1; then
3462 echo "$as_me:3462: result: yes" >&5 3467 echo "$as_me:3467: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6 3468 echo "${ECHO_T}yes" >&6
3464 cat >>confdefs.h <<\EOF 3469 cat >>confdefs.h <<\EOF
3465 #define _ALL_SOURCE 1 3470 #define _ALL_SOURCE 1
3466 EOF 3471 EOF
3467 3472
3468 else 3473 else
3469 echo "$as_me:3469: result: no" >&5 3474 echo "$as_me:3474: result: no" >&5
3470 echo "${ECHO_T}no" >&6 3475 echo "${ECHO_T}no" >&6
3471 fi 3476 fi
3472 rm -f conftest* 3477 rm -f conftest*
3473 3478
3474 #### Extract some information from the operating system and machine files. 3479 #### Extract some information from the operating system and machine files.
3475 3480
3476 { echo "$as_me:3476: checking the machine- and system-dependent files to find out 3481 { echo "$as_me:3481: checking the machine- and system-dependent files to find out
3477 - which libraries the lib-src programs will want, and 3482 - which libraries the lib-src programs will want, and
3478 - whether the GNU malloc routines are usable..." >&5 3483 - whether the GNU malloc routines are usable..." >&5
3479 echo "$as_me: checking the machine- and system-dependent files to find out 3484 echo "$as_me: checking the machine- and system-dependent files to find out
3480 - which libraries the lib-src programs will want, and 3485 - which libraries the lib-src programs will want, and
3481 - whether the GNU malloc routines are usable..." >&6;} 3486 - whether the GNU malloc routines are usable..." >&6;}
3621 enableval="$enable_largefile" 3626 enableval="$enable_largefile"
3622 3627
3623 fi; 3628 fi;
3624 if test "$enable_largefile" != no; then 3629 if test "$enable_largefile" != no; then
3625 3630
3626 echo "$as_me:3626: checking for special C compiler options needed for large files" >&5 3631 echo "$as_me:3631: checking for special C compiler options needed for large files" >&5
3627 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3632 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3628 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3633 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6 3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 else 3635 else
3631 ac_cv_sys_largefile_CC=no 3636 ac_cv_sys_largefile_CC=no
3653 ; 3658 ;
3654 return 0; 3659 return 0;
3655 } 3660 }
3656 _ACEOF 3661 _ACEOF
3657 rm -f conftest.$ac_objext 3662 rm -f conftest.$ac_objext
3658 if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5 3663 if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>&5 3664 (eval $ac_compile) 2>&5
3660 ac_status=$? 3665 ac_status=$?
3661 echo "$as_me:3661: \$? = $ac_status" >&5 3666 echo "$as_me:3666: \$? = $ac_status" >&5
3662 (exit $ac_status); } && 3667 (exit $ac_status); } &&
3663 { ac_try='test -s conftest.$ac_objext' 3668 { ac_try='test -s conftest.$ac_objext'
3664 { (eval echo "$as_me:3664: \"$ac_try\"") >&5 3669 { (eval echo "$as_me:3669: \"$ac_try\"") >&5
3665 (eval $ac_try) 2>&5 3670 (eval $ac_try) 2>&5
3666 ac_status=$? 3671 ac_status=$?
3667 echo "$as_me:3667: \$? = $ac_status" >&5 3672 echo "$as_me:3672: \$? = $ac_status" >&5
3668 (exit $ac_status); }; }; then 3673 (exit $ac_status); }; }; then
3669 break 3674 break
3670 else 3675 else
3671 echo "$as_me: failed program was:" >&5 3676 echo "$as_me: failed program was:" >&5
3672 cat conftest.$ac_ext >&5 3677 cat conftest.$ac_ext >&5
3673 fi 3678 fi
3674 rm -f conftest.$ac_objext 3679 rm -f conftest.$ac_objext
3675 CC="$CC -n32" 3680 CC="$CC -n32"
3676 rm -f conftest.$ac_objext 3681 rm -f conftest.$ac_objext
3677 if { (eval echo "$as_me:3677: \"$ac_compile\"") >&5 3682 if { (eval echo "$as_me:3682: \"$ac_compile\"") >&5
3678 (eval $ac_compile) 2>&5 3683 (eval $ac_compile) 2>&5
3679 ac_status=$? 3684 ac_status=$?
3680 echo "$as_me:3680: \$? = $ac_status" >&5 3685 echo "$as_me:3685: \$? = $ac_status" >&5
3681 (exit $ac_status); } && 3686 (exit $ac_status); } &&
3682 { ac_try='test -s conftest.$ac_objext' 3687 { ac_try='test -s conftest.$ac_objext'
3683 { (eval echo "$as_me:3683: \"$ac_try\"") >&5 3688 { (eval echo "$as_me:3688: \"$ac_try\"") >&5
3684 (eval $ac_try) 2>&5 3689 (eval $ac_try) 2>&5
3685 ac_status=$? 3690 ac_status=$?
3686 echo "$as_me:3686: \$? = $ac_status" >&5 3691 echo "$as_me:3691: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then 3692 (exit $ac_status); }; }; then
3688 ac_cv_sys_largefile_CC=' -n32'; break 3693 ac_cv_sys_largefile_CC=' -n32'; break
3689 else 3694 else
3690 echo "$as_me: failed program was:" >&5 3695 echo "$as_me: failed program was:" >&5
3691 cat conftest.$ac_ext >&5 3696 cat conftest.$ac_ext >&5
3695 done 3700 done
3696 CC=$ac_save_CC 3701 CC=$ac_save_CC
3697 rm -f conftest.$ac_ext 3702 rm -f conftest.$ac_ext
3698 fi 3703 fi
3699 fi 3704 fi
3700 echo "$as_me:3700: result: $ac_cv_sys_largefile_CC" >&5 3705 echo "$as_me:3705: result: $ac_cv_sys_largefile_CC" >&5
3701 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3706 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3702 if test "$ac_cv_sys_largefile_CC" != no; then 3707 if test "$ac_cv_sys_largefile_CC" != no; then
3703 CC=$CC$ac_cv_sys_largefile_CC 3708 CC=$CC$ac_cv_sys_largefile_CC
3704 fi 3709 fi
3705 3710
3706 echo "$as_me:3706: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3711 echo "$as_me:3711: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3707 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3712 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3708 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3713 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6 3714 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else 3715 else
3711 while :; do 3716 while :; do
3729 ; 3734 ;
3730 return 0; 3735 return 0;
3731 } 3736 }
3732 _ACEOF 3737 _ACEOF
3733 rm -f conftest.$ac_objext 3738 rm -f conftest.$ac_objext
3734 if { (eval echo "$as_me:3734: \"$ac_compile\"") >&5 3739 if { (eval echo "$as_me:3739: \"$ac_compile\"") >&5
3735 (eval $ac_compile) 2>&5 3740 (eval $ac_compile) 2>&5
3736 ac_status=$? 3741 ac_status=$?
3737 echo "$as_me:3737: \$? = $ac_status" >&5 3742 echo "$as_me:3742: \$? = $ac_status" >&5
3738 (exit $ac_status); } && 3743 (exit $ac_status); } &&
3739 { ac_try='test -s conftest.$ac_objext' 3744 { ac_try='test -s conftest.$ac_objext'
3740 { (eval echo "$as_me:3740: \"$ac_try\"") >&5 3745 { (eval echo "$as_me:3745: \"$ac_try\"") >&5
3741 (eval $ac_try) 2>&5 3746 (eval $ac_try) 2>&5
3742 ac_status=$? 3747 ac_status=$?
3743 echo "$as_me:3743: \$? = $ac_status" >&5 3748 echo "$as_me:3748: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then 3749 (exit $ac_status); }; }; then
3745 break 3750 break
3746 else 3751 else
3747 echo "$as_me: failed program was:" >&5 3752 echo "$as_me: failed program was:" >&5
3748 cat conftest.$ac_ext >&5 3753 cat conftest.$ac_ext >&5
3768 ; 3773 ;
3769 return 0; 3774 return 0;
3770 } 3775 }
3771 _ACEOF 3776 _ACEOF
3772 rm -f conftest.$ac_objext 3777 rm -f conftest.$ac_objext
3773 if { (eval echo "$as_me:3773: \"$ac_compile\"") >&5 3778 if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5
3774 (eval $ac_compile) 2>&5 3779 (eval $ac_compile) 2>&5
3775 ac_status=$? 3780 ac_status=$?
3776 echo "$as_me:3776: \$? = $ac_status" >&5 3781 echo "$as_me:3781: \$? = $ac_status" >&5
3777 (exit $ac_status); } && 3782 (exit $ac_status); } &&
3778 { ac_try='test -s conftest.$ac_objext' 3783 { ac_try='test -s conftest.$ac_objext'
3779 { (eval echo "$as_me:3779: \"$ac_try\"") >&5 3784 { (eval echo "$as_me:3784: \"$ac_try\"") >&5
3780 (eval $ac_try) 2>&5 3785 (eval $ac_try) 2>&5
3781 ac_status=$? 3786 ac_status=$?
3782 echo "$as_me:3782: \$? = $ac_status" >&5 3787 echo "$as_me:3787: \$? = $ac_status" >&5
3783 (exit $ac_status); }; }; then 3788 (exit $ac_status); }; }; then
3784 ac_cv_sys_file_offset_bits=64; break 3789 ac_cv_sys_file_offset_bits=64; break
3785 else 3790 else
3786 echo "$as_me: failed program was:" >&5 3791 echo "$as_me: failed program was:" >&5
3787 cat conftest.$ac_ext >&5 3792 cat conftest.$ac_ext >&5
3788 fi 3793 fi
3789 rm -f conftest.$ac_objext conftest.$ac_ext 3794 rm -f conftest.$ac_objext conftest.$ac_ext
3790 break 3795 break
3791 done 3796 done
3792 fi 3797 fi
3793 echo "$as_me:3793: result: $ac_cv_sys_file_offset_bits" >&5 3798 echo "$as_me:3798: result: $ac_cv_sys_file_offset_bits" >&5
3794 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3799 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3795 if test "$ac_cv_sys_file_offset_bits" != no; then 3800 if test "$ac_cv_sys_file_offset_bits" != no; then
3796 3801
3797 cat >>confdefs.h <<EOF 3802 cat >>confdefs.h <<EOF
3798 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3803 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3799 EOF 3804 EOF
3800 3805
3801 fi 3806 fi
3802 rm -f conftest* 3807 rm -f conftest*
3803 echo "$as_me:3803: checking for _LARGE_FILES value needed for large files" >&5 3808 echo "$as_me:3808: checking for _LARGE_FILES value needed for large files" >&5
3804 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3809 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3805 if test "${ac_cv_sys_large_files+set}" = set; then 3810 if test "${ac_cv_sys_large_files+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6 3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 else 3812 else
3808 while :; do 3813 while :; do
3826 ; 3831 ;
3827 return 0; 3832 return 0;
3828 } 3833 }
3829 _ACEOF 3834 _ACEOF
3830 rm -f conftest.$ac_objext 3835 rm -f conftest.$ac_objext
3831 if { (eval echo "$as_me:3831: \"$ac_compile\"") >&5 3836 if { (eval echo "$as_me:3836: \"$ac_compile\"") >&5
3832 (eval $ac_compile) 2>&5 3837 (eval $ac_compile) 2>&5
3833 ac_status=$? 3838 ac_status=$?
3834 echo "$as_me:3834: \$? = $ac_status" >&5 3839 echo "$as_me:3839: \$? = $ac_status" >&5
3835 (exit $ac_status); } && 3840 (exit $ac_status); } &&
3836 { ac_try='test -s conftest.$ac_objext' 3841 { ac_try='test -s conftest.$ac_objext'
3837 { (eval echo "$as_me:3837: \"$ac_try\"") >&5 3842 { (eval echo "$as_me:3842: \"$ac_try\"") >&5
3838 (eval $ac_try) 2>&5 3843 (eval $ac_try) 2>&5
3839 ac_status=$? 3844 ac_status=$?
3840 echo "$as_me:3840: \$? = $ac_status" >&5 3845 echo "$as_me:3845: \$? = $ac_status" >&5
3841 (exit $ac_status); }; }; then 3846 (exit $ac_status); }; }; then
3842 break 3847 break
3843 else 3848 else
3844 echo "$as_me: failed program was:" >&5 3849 echo "$as_me: failed program was:" >&5
3845 cat conftest.$ac_ext >&5 3850 cat conftest.$ac_ext >&5
3865 ; 3870 ;
3866 return 0; 3871 return 0;
3867 } 3872 }
3868 _ACEOF 3873 _ACEOF
3869 rm -f conftest.$ac_objext 3874 rm -f conftest.$ac_objext
3870 if { (eval echo "$as_me:3870: \"$ac_compile\"") >&5 3875 if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5
3871 (eval $ac_compile) 2>&5 3876 (eval $ac_compile) 2>&5
3872 ac_status=$? 3877 ac_status=$?
3873 echo "$as_me:3873: \$? = $ac_status" >&5 3878 echo "$as_me:3878: \$? = $ac_status" >&5
3874 (exit $ac_status); } && 3879 (exit $ac_status); } &&
3875 { ac_try='test -s conftest.$ac_objext' 3880 { ac_try='test -s conftest.$ac_objext'
3876 { (eval echo "$as_me:3876: \"$ac_try\"") >&5 3881 { (eval echo "$as_me:3881: \"$ac_try\"") >&5
3877 (eval $ac_try) 2>&5 3882 (eval $ac_try) 2>&5
3878 ac_status=$? 3883 ac_status=$?
3879 echo "$as_me:3879: \$? = $ac_status" >&5 3884 echo "$as_me:3884: \$? = $ac_status" >&5
3880 (exit $ac_status); }; }; then 3885 (exit $ac_status); }; }; then
3881 ac_cv_sys_large_files=1; break 3886 ac_cv_sys_large_files=1; break
3882 else 3887 else
3883 echo "$as_me: failed program was:" >&5 3888 echo "$as_me: failed program was:" >&5
3884 cat conftest.$ac_ext >&5 3889 cat conftest.$ac_ext >&5
3885 fi 3890 fi
3886 rm -f conftest.$ac_objext conftest.$ac_ext 3891 rm -f conftest.$ac_objext conftest.$ac_ext
3887 break 3892 break
3888 done 3893 done
3889 fi 3894 fi
3890 echo "$as_me:3890: result: $ac_cv_sys_large_files" >&5 3895 echo "$as_me:3895: result: $ac_cv_sys_large_files" >&5
3891 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3896 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3892 if test "$ac_cv_sys_large_files" != no; then 3897 if test "$ac_cv_sys_large_files" != no; then
3893 3898
3894 cat >>confdefs.h <<EOF 3899 cat >>confdefs.h <<EOF
3895 #define _LARGE_FILES $ac_cv_sys_large_files 3900 #define _LARGE_FILES $ac_cv_sys_large_files
3903 # Sound support for GNU/Linux and the free BSDs. 3908 # Sound support for GNU/Linux and the free BSDs.
3904 3909
3905 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3910 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3906 do 3911 do
3907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3908 echo "$as_me:3908: checking for $ac_header" >&5 3913 echo "$as_me:3913: checking for $ac_header" >&5
3909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3910 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6 3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 else 3917 else
3913 cat >conftest.$ac_ext <<_ACEOF 3918 cat >conftest.$ac_ext <<_ACEOF
3914 #line 3914 "configure" 3919 #line 3914 "configure"
3915 #include "confdefs.h" 3920 #include "confdefs.h"
3916 #include <$ac_header> 3921 #include <$ac_header>
3917 _ACEOF 3922 _ACEOF
3918 if { (eval echo "$as_me:3918: \"$ac_cpp conftest.$ac_ext\"") >&5 3923 if { (eval echo "$as_me:3923: \"$ac_cpp conftest.$ac_ext\"") >&5
3919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3920 ac_status=$? 3925 ac_status=$?
3921 egrep -v '^ *\+' conftest.er1 >conftest.err 3926 egrep -v '^ *\+' conftest.er1 >conftest.err
3922 rm -f conftest.er1 3927 rm -f conftest.er1
3923 cat conftest.err >&5 3928 cat conftest.err >&5
3924 echo "$as_me:3924: \$? = $ac_status" >&5 3929 echo "$as_me:3929: \$? = $ac_status" >&5
3925 (exit $ac_status); } >/dev/null; then 3930 (exit $ac_status); } >/dev/null; then
3926 if test -s conftest.err; then 3931 if test -s conftest.err; then
3927 ac_cpp_err=$ac_c_preproc_warn_flag 3932 ac_cpp_err=$ac_c_preproc_warn_flag
3928 else 3933 else
3929 ac_cpp_err= 3934 ac_cpp_err=
3938 cat conftest.$ac_ext >&5 3943 cat conftest.$ac_ext >&5
3939 eval "$as_ac_Header=no" 3944 eval "$as_ac_Header=no"
3940 fi 3945 fi
3941 rm -f conftest.err conftest.$ac_ext 3946 rm -f conftest.err conftest.$ac_ext
3942 fi 3947 fi
3943 echo "$as_me:3943: result: `eval echo '${'$as_ac_Header'}'`" >&5 3948 echo "$as_me:3948: result: `eval echo '${'$as_ac_Header'}'`" >&5
3944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3945 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3946 cat >>confdefs.h <<EOF 3951 cat >>confdefs.h <<EOF
3947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3948 EOF 3953 EOF
3949 3954
3950 fi 3955 fi
3951 done 3956 done
3952 3957
3953 # Emulation library used on NetBSD. 3958 # Emulation library used on NetBSD.
3954 echo "$as_me:3954: checking for _oss_ioctl in -lossaudio" >&5 3959 echo "$as_me:3959: checking for _oss_ioctl in -lossaudio" >&5
3955 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3960 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3956 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3961 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3957 echo $ECHO_N "(cached) $ECHO_C" >&6 3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 else 3963 else
3959 ac_check_lib_save_LIBS=$LIBS 3964 ac_check_lib_save_LIBS=$LIBS
3976 ; 3981 ;
3977 return 0; 3982 return 0;
3978 } 3983 }
3979 _ACEOF 3984 _ACEOF
3980 rm -f conftest.$ac_objext conftest$ac_exeext 3985 rm -f conftest.$ac_objext conftest$ac_exeext
3981 if { (eval echo "$as_me:3981: \"$ac_link\"") >&5 3986 if { (eval echo "$as_me:3986: \"$ac_link\"") >&5
3982 (eval $ac_link) 2>&5 3987 (eval $ac_link) 2>&5
3983 ac_status=$? 3988 ac_status=$?
3984 echo "$as_me:3984: \$? = $ac_status" >&5 3989 echo "$as_me:3989: \$? = $ac_status" >&5
3985 (exit $ac_status); } && 3990 (exit $ac_status); } &&
3986 { ac_try='test -s conftest$ac_exeext' 3991 { ac_try='test -s conftest$ac_exeext'
3987 { (eval echo "$as_me:3987: \"$ac_try\"") >&5 3992 { (eval echo "$as_me:3992: \"$ac_try\"") >&5
3988 (eval $ac_try) 2>&5 3993 (eval $ac_try) 2>&5
3989 ac_status=$? 3994 ac_status=$?
3990 echo "$as_me:3990: \$? = $ac_status" >&5 3995 echo "$as_me:3995: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then 3996 (exit $ac_status); }; }; then
3992 ac_cv_lib_ossaudio__oss_ioctl=yes 3997 ac_cv_lib_ossaudio__oss_ioctl=yes
3993 else 3998 else
3994 echo "$as_me: failed program was:" >&5 3999 echo "$as_me: failed program was:" >&5
3995 cat conftest.$ac_ext >&5 4000 cat conftest.$ac_ext >&5
3996 ac_cv_lib_ossaudio__oss_ioctl=no 4001 ac_cv_lib_ossaudio__oss_ioctl=no
3997 fi 4002 fi
3998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3999 LIBS=$ac_check_lib_save_LIBS 4004 LIBS=$ac_check_lib_save_LIBS
4000 fi 4005 fi
4001 echo "$as_me:4001: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 4006 echo "$as_me:4006: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4002 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 4007 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4003 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 4008 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4004 LIBSOUND=-lossaudio 4009 LIBSOUND=-lossaudio
4005 else 4010 else
4006 LIBSOUND= 4011 LIBSOUND=
4011 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 4016 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
4012 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 4017 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
4013 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 4018 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
4014 do 4019 do
4015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4016 echo "$as_me:4016: checking for $ac_header" >&5 4021 echo "$as_me:4021: checking for $ac_header" >&5
4017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4018 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6 4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 else 4025 else
4021 cat >conftest.$ac_ext <<_ACEOF 4026 cat >conftest.$ac_ext <<_ACEOF
4022 #line 4022 "configure" 4027 #line 4022 "configure"
4023 #include "confdefs.h" 4028 #include "confdefs.h"
4024 #include <$ac_header> 4029 #include <$ac_header>
4025 _ACEOF 4030 _ACEOF
4026 if { (eval echo "$as_me:4026: \"$ac_cpp conftest.$ac_ext\"") >&5 4031 if { (eval echo "$as_me:4031: \"$ac_cpp conftest.$ac_ext\"") >&5
4027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4028 ac_status=$? 4033 ac_status=$?
4029 egrep -v '^ *\+' conftest.er1 >conftest.err 4034 egrep -v '^ *\+' conftest.er1 >conftest.err
4030 rm -f conftest.er1 4035 rm -f conftest.er1
4031 cat conftest.err >&5 4036 cat conftest.err >&5
4032 echo "$as_me:4032: \$? = $ac_status" >&5 4037 echo "$as_me:4037: \$? = $ac_status" >&5
4033 (exit $ac_status); } >/dev/null; then 4038 (exit $ac_status); } >/dev/null; then
4034 if test -s conftest.err; then 4039 if test -s conftest.err; then
4035 ac_cpp_err=$ac_c_preproc_warn_flag 4040 ac_cpp_err=$ac_c_preproc_warn_flag
4036 else 4041 else
4037 ac_cpp_err= 4042 ac_cpp_err=
4046 cat conftest.$ac_ext >&5 4051 cat conftest.$ac_ext >&5
4047 eval "$as_ac_Header=no" 4052 eval "$as_ac_Header=no"
4048 fi 4053 fi
4049 rm -f conftest.err conftest.$ac_ext 4054 rm -f conftest.err conftest.$ac_ext
4050 fi 4055 fi
4051 echo "$as_me:4051: result: `eval echo '${'$as_ac_Header'}'`" >&5 4056 echo "$as_me:4056: result: `eval echo '${'$as_ac_Header'}'`" >&5
4052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4053 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4054 cat >>confdefs.h <<EOF 4059 cat >>confdefs.h <<EOF
4055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4056 EOF 4061 EOF
4057 4062
4058 fi 4063 fi
4059 done 4064 done
4060 4065
4061 echo "$as_me:4061: checking for ANSI C header files" >&5 4066 echo "$as_me:4066: checking for ANSI C header files" >&5
4062 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4067 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4063 if test "${ac_cv_header_stdc+set}" = set; then 4068 if test "${ac_cv_header_stdc+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6 4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 else 4070 else
4066 cat >conftest.$ac_ext <<_ACEOF 4071 cat >conftest.$ac_ext <<_ACEOF
4070 #include <stdarg.h> 4075 #include <stdarg.h>
4071 #include <string.h> 4076 #include <string.h>
4072 #include <float.h> 4077 #include <float.h>
4073 4078
4074 _ACEOF 4079 _ACEOF
4075 if { (eval echo "$as_me:4075: \"$ac_cpp conftest.$ac_ext\"") >&5 4080 if { (eval echo "$as_me:4080: \"$ac_cpp conftest.$ac_ext\"") >&5
4076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4077 ac_status=$? 4082 ac_status=$?
4078 egrep -v '^ *\+' conftest.er1 >conftest.err 4083 egrep -v '^ *\+' conftest.er1 >conftest.err
4079 rm -f conftest.er1 4084 rm -f conftest.er1
4080 cat conftest.err >&5 4085 cat conftest.err >&5
4081 echo "$as_me:4081: \$? = $ac_status" >&5 4086 echo "$as_me:4086: \$? = $ac_status" >&5
4082 (exit $ac_status); } >/dev/null; then 4087 (exit $ac_status); } >/dev/null; then
4083 if test -s conftest.err; then 4088 if test -s conftest.err; then
4084 ac_cpp_err=$ac_c_preproc_warn_flag 4089 ac_cpp_err=$ac_c_preproc_warn_flag
4085 else 4090 else
4086 ac_cpp_err= 4091 ac_cpp_err=
4163 exit(2); 4168 exit(2);
4164 exit (0); 4169 exit (0);
4165 } 4170 }
4166 _ACEOF 4171 _ACEOF
4167 rm -f conftest$ac_exeext 4172 rm -f conftest$ac_exeext
4168 if { (eval echo "$as_me:4168: \"$ac_link\"") >&5 4173 if { (eval echo "$as_me:4173: \"$ac_link\"") >&5
4169 (eval $ac_link) 2>&5 4174 (eval $ac_link) 2>&5
4170 ac_status=$? 4175 ac_status=$?
4171 echo "$as_me:4171: \$? = $ac_status" >&5 4176 echo "$as_me:4176: \$? = $ac_status" >&5
4172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4177 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4173 { (eval echo "$as_me:4173: \"$ac_try\"") >&5 4178 { (eval echo "$as_me:4178: \"$ac_try\"") >&5
4174 (eval $ac_try) 2>&5 4179 (eval $ac_try) 2>&5
4175 ac_status=$? 4180 ac_status=$?
4176 echo "$as_me:4176: \$? = $ac_status" >&5 4181 echo "$as_me:4181: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then 4182 (exit $ac_status); }; }; then
4178 : 4183 :
4179 else 4184 else
4180 echo "$as_me: program exited with status $ac_status" >&5 4185 echo "$as_me: program exited with status $ac_status" >&5
4181 echo "$as_me: failed program was:" >&5 4186 echo "$as_me: failed program was:" >&5
4184 fi 4189 fi
4185 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4190 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4186 fi 4191 fi
4187 fi 4192 fi
4188 fi 4193 fi
4189 echo "$as_me:4189: result: $ac_cv_header_stdc" >&5 4194 echo "$as_me:4194: result: $ac_cv_header_stdc" >&5
4190 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4195 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4191 if test $ac_cv_header_stdc = yes; then 4196 if test $ac_cv_header_stdc = yes; then
4192 4197
4193 cat >>confdefs.h <<\EOF 4198 cat >>confdefs.h <<\EOF
4194 #define STDC_HEADERS 1 4199 #define STDC_HEADERS 1
4195 EOF 4200 EOF
4196 4201
4197 fi 4202 fi
4198 4203
4199 echo "$as_me:4199: checking whether time.h and sys/time.h may both be included" >&5 4204 echo "$as_me:4204: checking whether time.h and sys/time.h may both be included" >&5
4200 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4205 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4201 if test "${ac_cv_header_time+set}" = set; then 4206 if test "${ac_cv_header_time+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6 4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 else 4208 else
4204 cat >conftest.$ac_ext <<_ACEOF 4209 cat >conftest.$ac_ext <<_ACEOF
4216 ; 4221 ;
4217 return 0; 4222 return 0;
4218 } 4223 }
4219 _ACEOF 4224 _ACEOF
4220 rm -f conftest.$ac_objext 4225 rm -f conftest.$ac_objext
4221 if { (eval echo "$as_me:4221: \"$ac_compile\"") >&5 4226 if { (eval echo "$as_me:4226: \"$ac_compile\"") >&5
4222 (eval $ac_compile) 2>&5 4227 (eval $ac_compile) 2>&5
4223 ac_status=$? 4228 ac_status=$?
4224 echo "$as_me:4224: \$? = $ac_status" >&5 4229 echo "$as_me:4229: \$? = $ac_status" >&5
4225 (exit $ac_status); } && 4230 (exit $ac_status); } &&
4226 { ac_try='test -s conftest.$ac_objext' 4231 { ac_try='test -s conftest.$ac_objext'
4227 { (eval echo "$as_me:4227: \"$ac_try\"") >&5 4232 { (eval echo "$as_me:4232: \"$ac_try\"") >&5
4228 (eval $ac_try) 2>&5 4233 (eval $ac_try) 2>&5
4229 ac_status=$? 4234 ac_status=$?
4230 echo "$as_me:4230: \$? = $ac_status" >&5 4235 echo "$as_me:4235: \$? = $ac_status" >&5
4231 (exit $ac_status); }; }; then 4236 (exit $ac_status); }; }; then
4232 ac_cv_header_time=yes 4237 ac_cv_header_time=yes
4233 else 4238 else
4234 echo "$as_me: failed program was:" >&5 4239 echo "$as_me: failed program was:" >&5
4235 cat conftest.$ac_ext >&5 4240 cat conftest.$ac_ext >&5
4236 ac_cv_header_time=no 4241 ac_cv_header_time=no
4237 fi 4242 fi
4238 rm -f conftest.$ac_objext conftest.$ac_ext 4243 rm -f conftest.$ac_objext conftest.$ac_ext
4239 fi 4244 fi
4240 echo "$as_me:4240: result: $ac_cv_header_time" >&5 4245 echo "$as_me:4245: result: $ac_cv_header_time" >&5
4241 echo "${ECHO_T}$ac_cv_header_time" >&6 4246 echo "${ECHO_T}$ac_cv_header_time" >&6
4242 if test $ac_cv_header_time = yes; then 4247 if test $ac_cv_header_time = yes; then
4243 4248
4244 cat >>confdefs.h <<\EOF 4249 cat >>confdefs.h <<\EOF
4245 #define TIME_WITH_SYS_TIME 1 4250 #define TIME_WITH_SYS_TIME 1
4246 EOF 4251 EOF
4247 4252
4248 fi 4253 fi
4249 4254
4250 echo "$as_me:4250: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4255 echo "$as_me:4255: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4251 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4256 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4252 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4257 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6 4258 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 else 4259 else
4255 cat >conftest.$ac_ext <<_ACEOF 4260 cat >conftest.$ac_ext <<_ACEOF
4269 ; 4274 ;
4270 return 0; 4275 return 0;
4271 } 4276 }
4272 _ACEOF 4277 _ACEOF
4273 rm -f conftest.$ac_objext 4278 rm -f conftest.$ac_objext
4274 if { (eval echo "$as_me:4274: \"$ac_compile\"") >&5 4279 if { (eval echo "$as_me:4279: \"$ac_compile\"") >&5
4275 (eval $ac_compile) 2>&5 4280 (eval $ac_compile) 2>&5
4276 ac_status=$? 4281 ac_status=$?
4277 echo "$as_me:4277: \$? = $ac_status" >&5 4282 echo "$as_me:4282: \$? = $ac_status" >&5
4278 (exit $ac_status); } && 4283 (exit $ac_status); } &&
4279 { ac_try='test -s conftest.$ac_objext' 4284 { ac_try='test -s conftest.$ac_objext'
4280 { (eval echo "$as_me:4280: \"$ac_try\"") >&5 4285 { (eval echo "$as_me:4285: \"$ac_try\"") >&5
4281 (eval $ac_try) 2>&5 4286 (eval $ac_try) 2>&5
4282 ac_status=$? 4287 ac_status=$?
4283 echo "$as_me:4283: \$? = $ac_status" >&5 4288 echo "$as_me:4288: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then 4289 (exit $ac_status); }; }; then
4285 ac_cv_decl_sys_siglist=yes 4290 ac_cv_decl_sys_siglist=yes
4286 else 4291 else
4287 echo "$as_me: failed program was:" >&5 4292 echo "$as_me: failed program was:" >&5
4288 cat conftest.$ac_ext >&5 4293 cat conftest.$ac_ext >&5
4289 ac_cv_decl_sys_siglist=no 4294 ac_cv_decl_sys_siglist=no
4290 fi 4295 fi
4291 rm -f conftest.$ac_objext conftest.$ac_ext 4296 rm -f conftest.$ac_objext conftest.$ac_ext
4292 fi 4297 fi
4293 echo "$as_me:4293: result: $ac_cv_decl_sys_siglist" >&5 4298 echo "$as_me:4298: result: $ac_cv_decl_sys_siglist" >&5
4294 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4299 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4295 if test $ac_cv_decl_sys_siglist = yes; then 4300 if test $ac_cv_decl_sys_siglist = yes; then
4296 4301
4297 cat >>confdefs.h <<\EOF 4302 cat >>confdefs.h <<\EOF
4298 #define SYS_SIGLIST_DECLARED 1 4303 #define SYS_SIGLIST_DECLARED 1
4299 EOF 4304 EOF
4300 4305
4301 fi 4306 fi
4302 4307
4303 echo "$as_me:4303: checking for sys/wait.h that is POSIX.1 compatible" >&5 4308 echo "$as_me:4308: checking for sys/wait.h that is POSIX.1 compatible" >&5
4304 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4309 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4305 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4310 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6 4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 else 4312 else
4308 cat >conftest.$ac_ext <<_ACEOF 4313 cat >conftest.$ac_ext <<_ACEOF
4326 ; 4331 ;
4327 return 0; 4332 return 0;
4328 } 4333 }
4329 _ACEOF 4334 _ACEOF
4330 rm -f conftest.$ac_objext 4335 rm -f conftest.$ac_objext
4331 if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5 4336 if { (eval echo "$as_me:4336: \"$ac_compile\"") >&5
4332 (eval $ac_compile) 2>&5 4337 (eval $ac_compile) 2>&5
4333 ac_status=$? 4338 ac_status=$?
4334 echo "$as_me:4334: \$? = $ac_status" >&5 4339 echo "$as_me:4339: \$? = $ac_status" >&5
4335 (exit $ac_status); } && 4340 (exit $ac_status); } &&
4336 { ac_try='test -s conftest.$ac_objext' 4341 { ac_try='test -s conftest.$ac_objext'
4337 { (eval echo "$as_me:4337: \"$ac_try\"") >&5 4342 { (eval echo "$as_me:4342: \"$ac_try\"") >&5
4338 (eval $ac_try) 2>&5 4343 (eval $ac_try) 2>&5
4339 ac_status=$? 4344 ac_status=$?
4340 echo "$as_me:4340: \$? = $ac_status" >&5 4345 echo "$as_me:4345: \$? = $ac_status" >&5
4341 (exit $ac_status); }; }; then 4346 (exit $ac_status); }; }; then
4342 ac_cv_header_sys_wait_h=yes 4347 ac_cv_header_sys_wait_h=yes
4343 else 4348 else
4344 echo "$as_me: failed program was:" >&5 4349 echo "$as_me: failed program was:" >&5
4345 cat conftest.$ac_ext >&5 4350 cat conftest.$ac_ext >&5
4346 ac_cv_header_sys_wait_h=no 4351 ac_cv_header_sys_wait_h=no
4347 fi 4352 fi
4348 rm -f conftest.$ac_objext conftest.$ac_ext 4353 rm -f conftest.$ac_objext conftest.$ac_ext
4349 fi 4354 fi
4350 echo "$as_me:4350: result: $ac_cv_header_sys_wait_h" >&5 4355 echo "$as_me:4355: result: $ac_cv_header_sys_wait_h" >&5
4351 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4356 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4352 if test $ac_cv_header_sys_wait_h = yes; then 4357 if test $ac_cv_header_sys_wait_h = yes; then
4353 4358
4354 cat >>confdefs.h <<\EOF 4359 cat >>confdefs.h <<\EOF
4355 #define HAVE_SYS_WAIT_H 1 4360 #define HAVE_SYS_WAIT_H 1
4356 EOF 4361 EOF
4357 4362
4358 fi 4363 fi
4359 4364
4360 echo "$as_me:4360: checking for struct utimbuf" >&5 4365 echo "$as_me:4365: checking for struct utimbuf" >&5
4361 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4366 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4362 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4367 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6 4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 else 4369 else
4365 cat >conftest.$ac_ext <<_ACEOF 4370 cat >conftest.$ac_ext <<_ACEOF
4385 ; 4390 ;
4386 return 0; 4391 return 0;
4387 } 4392 }
4388 _ACEOF 4393 _ACEOF
4389 rm -f conftest.$ac_objext 4394 rm -f conftest.$ac_objext
4390 if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5 4395 if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5
4391 (eval $ac_compile) 2>&5 4396 (eval $ac_compile) 2>&5
4392 ac_status=$? 4397 ac_status=$?
4393 echo "$as_me:4393: \$? = $ac_status" >&5 4398 echo "$as_me:4398: \$? = $ac_status" >&5
4394 (exit $ac_status); } && 4399 (exit $ac_status); } &&
4395 { ac_try='test -s conftest.$ac_objext' 4400 { ac_try='test -s conftest.$ac_objext'
4396 { (eval echo "$as_me:4396: \"$ac_try\"") >&5 4401 { (eval echo "$as_me:4401: \"$ac_try\"") >&5
4397 (eval $ac_try) 2>&5 4402 (eval $ac_try) 2>&5
4398 ac_status=$? 4403 ac_status=$?
4399 echo "$as_me:4399: \$? = $ac_status" >&5 4404 echo "$as_me:4404: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then 4405 (exit $ac_status); }; }; then
4401 emacs_cv_struct_utimbuf=yes 4406 emacs_cv_struct_utimbuf=yes
4402 else 4407 else
4403 echo "$as_me: failed program was:" >&5 4408 echo "$as_me: failed program was:" >&5
4404 cat conftest.$ac_ext >&5 4409 cat conftest.$ac_ext >&5
4405 emacs_cv_struct_utimbuf=no 4410 emacs_cv_struct_utimbuf=no
4406 fi 4411 fi
4407 rm -f conftest.$ac_objext conftest.$ac_ext 4412 rm -f conftest.$ac_objext conftest.$ac_ext
4408 fi 4413 fi
4409 echo "$as_me:4409: result: $emacs_cv_struct_utimbuf" >&5 4414 echo "$as_me:4414: result: $emacs_cv_struct_utimbuf" >&5
4410 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4415 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4411 if test $emacs_cv_struct_utimbuf = yes; then 4416 if test $emacs_cv_struct_utimbuf = yes; then
4412 4417
4413 cat >>confdefs.h <<\EOF 4418 cat >>confdefs.h <<\EOF
4414 #define HAVE_STRUCT_UTIMBUF 1 4419 #define HAVE_STRUCT_UTIMBUF 1
4415 EOF 4420 EOF
4416 4421
4417 fi 4422 fi
4418 4423
4419 echo "$as_me:4419: checking return type of signal handlers" >&5 4424 echo "$as_me:4424: checking return type of signal handlers" >&5
4420 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4425 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4421 if test "${ac_cv_type_signal+set}" = set; then 4426 if test "${ac_cv_type_signal+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6 4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 else 4428 else
4424 cat >conftest.$ac_ext <<_ACEOF 4429 cat >conftest.$ac_ext <<_ACEOF
4442 ; 4447 ;
4443 return 0; 4448 return 0;
4444 } 4449 }
4445 _ACEOF 4450 _ACEOF
4446 rm -f conftest.$ac_objext 4451 rm -f conftest.$ac_objext
4447 if { (eval echo "$as_me:4447: \"$ac_compile\"") >&5 4452 if { (eval echo "$as_me:4452: \"$ac_compile\"") >&5
4448 (eval $ac_compile) 2>&5 4453 (eval $ac_compile) 2>&5
4449 ac_status=$? 4454 ac_status=$?
4450 echo "$as_me:4450: \$? = $ac_status" >&5 4455 echo "$as_me:4455: \$? = $ac_status" >&5
4451 (exit $ac_status); } && 4456 (exit $ac_status); } &&
4452 { ac_try='test -s conftest.$ac_objext' 4457 { ac_try='test -s conftest.$ac_objext'
4453 { (eval echo "$as_me:4453: \"$ac_try\"") >&5 4458 { (eval echo "$as_me:4458: \"$ac_try\"") >&5
4454 (eval $ac_try) 2>&5 4459 (eval $ac_try) 2>&5
4455 ac_status=$? 4460 ac_status=$?
4456 echo "$as_me:4456: \$? = $ac_status" >&5 4461 echo "$as_me:4461: \$? = $ac_status" >&5
4457 (exit $ac_status); }; }; then 4462 (exit $ac_status); }; }; then
4458 ac_cv_type_signal=void 4463 ac_cv_type_signal=void
4459 else 4464 else
4460 echo "$as_me: failed program was:" >&5 4465 echo "$as_me: failed program was:" >&5
4461 cat conftest.$ac_ext >&5 4466 cat conftest.$ac_ext >&5
4462 ac_cv_type_signal=int 4467 ac_cv_type_signal=int
4463 fi 4468 fi
4464 rm -f conftest.$ac_objext conftest.$ac_ext 4469 rm -f conftest.$ac_objext conftest.$ac_ext
4465 fi 4470 fi
4466 echo "$as_me:4466: result: $ac_cv_type_signal" >&5 4471 echo "$as_me:4471: result: $ac_cv_type_signal" >&5
4467 echo "${ECHO_T}$ac_cv_type_signal" >&6 4472 echo "${ECHO_T}$ac_cv_type_signal" >&6
4468 4473
4469 cat >>confdefs.h <<EOF 4474 cat >>confdefs.h <<EOF
4470 #define RETSIGTYPE $ac_cv_type_signal 4475 #define RETSIGTYPE $ac_cv_type_signal
4471 EOF 4476 EOF
4472 4477
4473 echo "$as_me:4473: checking for speed_t" >&5 4478 echo "$as_me:4478: checking for speed_t" >&5
4474 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4479 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4475 if test "${emacs_cv_speed_t+set}" = set; then 4480 if test "${emacs_cv_speed_t+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6 4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 else 4482 else
4478 cat >conftest.$ac_ext <<_ACEOF 4483 cat >conftest.$ac_ext <<_ACEOF
4486 ; 4491 ;
4487 return 0; 4492 return 0;
4488 } 4493 }
4489 _ACEOF 4494 _ACEOF
4490 rm -f conftest.$ac_objext 4495 rm -f conftest.$ac_objext
4491 if { (eval echo "$as_me:4491: \"$ac_compile\"") >&5 4496 if { (eval echo "$as_me:4496: \"$ac_compile\"") >&5
4492 (eval $ac_compile) 2>&5 4497 (eval $ac_compile) 2>&5
4493 ac_status=$? 4498 ac_status=$?
4494 echo "$as_me:4494: \$? = $ac_status" >&5 4499 echo "$as_me:4499: \$? = $ac_status" >&5
4495 (exit $ac_status); } && 4500 (exit $ac_status); } &&
4496 { ac_try='test -s conftest.$ac_objext' 4501 { ac_try='test -s conftest.$ac_objext'
4497 { (eval echo "$as_me:4497: \"$ac_try\"") >&5 4502 { (eval echo "$as_me:4502: \"$ac_try\"") >&5
4498 (eval $ac_try) 2>&5 4503 (eval $ac_try) 2>&5
4499 ac_status=$? 4504 ac_status=$?
4500 echo "$as_me:4500: \$? = $ac_status" >&5 4505 echo "$as_me:4505: \$? = $ac_status" >&5
4501 (exit $ac_status); }; }; then 4506 (exit $ac_status); }; }; then
4502 emacs_cv_speed_t=yes 4507 emacs_cv_speed_t=yes
4503 else 4508 else
4504 echo "$as_me: failed program was:" >&5 4509 echo "$as_me: failed program was:" >&5
4505 cat conftest.$ac_ext >&5 4510 cat conftest.$ac_ext >&5
4506 emacs_cv_speed_t=no 4511 emacs_cv_speed_t=no
4507 fi 4512 fi
4508 rm -f conftest.$ac_objext conftest.$ac_ext 4513 rm -f conftest.$ac_objext conftest.$ac_ext
4509 fi 4514 fi
4510 echo "$as_me:4510: result: $emacs_cv_speed_t" >&5 4515 echo "$as_me:4515: result: $emacs_cv_speed_t" >&5
4511 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4516 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4512 if test $emacs_cv_speed_t = yes; then 4517 if test $emacs_cv_speed_t = yes; then
4513 4518
4514 cat >>confdefs.h <<\EOF 4519 cat >>confdefs.h <<\EOF
4515 #define HAVE_SPEED_T 1 4520 #define HAVE_SPEED_T 1
4516 EOF 4521 EOF
4517 4522
4518 fi 4523 fi
4519 4524
4520 echo "$as_me:4520: checking for struct timeval" >&5 4525 echo "$as_me:4525: checking for struct timeval" >&5
4521 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4526 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4522 if test "${emacs_cv_struct_timeval+set}" = set; then 4527 if test "${emacs_cv_struct_timeval+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6 4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 else 4529 else
4525 cat >conftest.$ac_ext <<_ACEOF 4530 cat >conftest.$ac_ext <<_ACEOF
4542 ; 4547 ;
4543 return 0; 4548 return 0;
4544 } 4549 }
4545 _ACEOF 4550 _ACEOF
4546 rm -f conftest.$ac_objext 4551 rm -f conftest.$ac_objext
4547 if { (eval echo "$as_me:4547: \"$ac_compile\"") >&5 4552 if { (eval echo "$as_me:4552: \"$ac_compile\"") >&5
4548 (eval $ac_compile) 2>&5 4553 (eval $ac_compile) 2>&5
4549 ac_status=$? 4554 ac_status=$?
4550 echo "$as_me:4550: \$? = $ac_status" >&5 4555 echo "$as_me:4555: \$? = $ac_status" >&5
4551 (exit $ac_status); } && 4556 (exit $ac_status); } &&
4552 { ac_try='test -s conftest.$ac_objext' 4557 { ac_try='test -s conftest.$ac_objext'
4553 { (eval echo "$as_me:4553: \"$ac_try\"") >&5 4558 { (eval echo "$as_me:4558: \"$ac_try\"") >&5
4554 (eval $ac_try) 2>&5 4559 (eval $ac_try) 2>&5
4555 ac_status=$? 4560 ac_status=$?
4556 echo "$as_me:4556: \$? = $ac_status" >&5 4561 echo "$as_me:4561: \$? = $ac_status" >&5
4557 (exit $ac_status); }; }; then 4562 (exit $ac_status); }; }; then
4558 emacs_cv_struct_timeval=yes 4563 emacs_cv_struct_timeval=yes
4559 else 4564 else
4560 echo "$as_me: failed program was:" >&5 4565 echo "$as_me: failed program was:" >&5
4561 cat conftest.$ac_ext >&5 4566 cat conftest.$ac_ext >&5
4562 emacs_cv_struct_timeval=no 4567 emacs_cv_struct_timeval=no
4563 fi 4568 fi
4564 rm -f conftest.$ac_objext conftest.$ac_ext 4569 rm -f conftest.$ac_objext conftest.$ac_ext
4565 fi 4570 fi
4566 echo "$as_me:4566: result: $emacs_cv_struct_timeval" >&5 4571 echo "$as_me:4571: result: $emacs_cv_struct_timeval" >&5
4567 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4572 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4568 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4573 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4569 if test $emacs_cv_struct_timeval = yes; then 4574 if test $emacs_cv_struct_timeval = yes; then
4570 4575
4571 cat >>confdefs.h <<\EOF 4576 cat >>confdefs.h <<\EOF
4572 #define HAVE_TIMEVAL 1 4577 #define HAVE_TIMEVAL 1
4573 EOF 4578 EOF
4574 4579
4575 fi 4580 fi
4576 4581
4577 echo "$as_me:4577: checking for struct exception" >&5 4582 echo "$as_me:4582: checking for struct exception" >&5
4578 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4583 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4579 if test "${emacs_cv_struct_exception+set}" = set; then 4584 if test "${emacs_cv_struct_exception+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6 4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 else 4586 else
4582 cat >conftest.$ac_ext <<_ACEOF 4587 cat >conftest.$ac_ext <<_ACEOF
4590 ; 4595 ;
4591 return 0; 4596 return 0;
4592 } 4597 }
4593 _ACEOF 4598 _ACEOF
4594 rm -f conftest.$ac_objext 4599 rm -f conftest.$ac_objext
4595 if { (eval echo "$as_me:4595: \"$ac_compile\"") >&5 4600 if { (eval echo "$as_me:4600: \"$ac_compile\"") >&5
4596 (eval $ac_compile) 2>&5 4601 (eval $ac_compile) 2>&5
4597 ac_status=$? 4602 ac_status=$?
4598 echo "$as_me:4598: \$? = $ac_status" >&5 4603 echo "$as_me:4603: \$? = $ac_status" >&5
4599 (exit $ac_status); } && 4604 (exit $ac_status); } &&
4600 { ac_try='test -s conftest.$ac_objext' 4605 { ac_try='test -s conftest.$ac_objext'
4601 { (eval echo "$as_me:4601: \"$ac_try\"") >&5 4606 { (eval echo "$as_me:4606: \"$ac_try\"") >&5
4602 (eval $ac_try) 2>&5 4607 (eval $ac_try) 2>&5
4603 ac_status=$? 4608 ac_status=$?
4604 echo "$as_me:4604: \$? = $ac_status" >&5 4609 echo "$as_me:4609: \$? = $ac_status" >&5
4605 (exit $ac_status); }; }; then 4610 (exit $ac_status); }; }; then
4606 emacs_cv_struct_exception=yes 4611 emacs_cv_struct_exception=yes
4607 else 4612 else
4608 echo "$as_me: failed program was:" >&5 4613 echo "$as_me: failed program was:" >&5
4609 cat conftest.$ac_ext >&5 4614 cat conftest.$ac_ext >&5
4610 emacs_cv_struct_exception=no 4615 emacs_cv_struct_exception=no
4611 fi 4616 fi
4612 rm -f conftest.$ac_objext conftest.$ac_ext 4617 rm -f conftest.$ac_objext conftest.$ac_ext
4613 fi 4618 fi
4614 echo "$as_me:4614: result: $emacs_cv_struct_exception" >&5 4619 echo "$as_me:4619: result: $emacs_cv_struct_exception" >&5
4615 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4620 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4616 HAVE_EXCEPTION=$emacs_cv_struct_exception 4621 HAVE_EXCEPTION=$emacs_cv_struct_exception
4617 if test $emacs_cv_struct_exception != yes; then 4622 if test $emacs_cv_struct_exception != yes; then
4618 4623
4619 cat >>confdefs.h <<\EOF 4624 cat >>confdefs.h <<\EOF
4620 #define NO_MATHERR 1 4625 #define NO_MATHERR 1
4621 EOF 4626 EOF
4622 4627
4623 fi 4628 fi
4624 4629
4625 echo "$as_me:4625: checking whether struct tm is in sys/time.h or time.h" >&5 4630 echo "$as_me:4630: checking whether struct tm is in sys/time.h or time.h" >&5
4626 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4631 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4627 if test "${ac_cv_struct_tm+set}" = set; then 4632 if test "${ac_cv_struct_tm+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6 4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 else 4634 else
4630 cat >conftest.$ac_ext <<_ACEOF 4635 cat >conftest.$ac_ext <<_ACEOF
4640 ; 4645 ;
4641 return 0; 4646 return 0;
4642 } 4647 }
4643 _ACEOF 4648 _ACEOF
4644 rm -f conftest.$ac_objext 4649 rm -f conftest.$ac_objext
4645 if { (eval echo "$as_me:4645: \"$ac_compile\"") >&5 4650 if { (eval echo "$as_me:4650: \"$ac_compile\"") >&5
4646 (eval $ac_compile) 2>&5 4651 (eval $ac_compile) 2>&5
4647 ac_status=$? 4652 ac_status=$?
4648 echo "$as_me:4648: \$? = $ac_status" >&5 4653 echo "$as_me:4653: \$? = $ac_status" >&5
4649 (exit $ac_status); } && 4654 (exit $ac_status); } &&
4650 { ac_try='test -s conftest.$ac_objext' 4655 { ac_try='test -s conftest.$ac_objext'
4651 { (eval echo "$as_me:4651: \"$ac_try\"") >&5 4656 { (eval echo "$as_me:4656: \"$ac_try\"") >&5
4652 (eval $ac_try) 2>&5 4657 (eval $ac_try) 2>&5
4653 ac_status=$? 4658 ac_status=$?
4654 echo "$as_me:4654: \$? = $ac_status" >&5 4659 echo "$as_me:4659: \$? = $ac_status" >&5
4655 (exit $ac_status); }; }; then 4660 (exit $ac_status); }; }; then
4656 ac_cv_struct_tm=time.h 4661 ac_cv_struct_tm=time.h
4657 else 4662 else
4658 echo "$as_me: failed program was:" >&5 4663 echo "$as_me: failed program was:" >&5
4659 cat conftest.$ac_ext >&5 4664 cat conftest.$ac_ext >&5
4660 ac_cv_struct_tm=sys/time.h 4665 ac_cv_struct_tm=sys/time.h
4661 fi 4666 fi
4662 rm -f conftest.$ac_objext conftest.$ac_ext 4667 rm -f conftest.$ac_objext conftest.$ac_ext
4663 fi 4668 fi
4664 echo "$as_me:4664: result: $ac_cv_struct_tm" >&5 4669 echo "$as_me:4669: result: $ac_cv_struct_tm" >&5
4665 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4670 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4666 if test $ac_cv_struct_tm = sys/time.h; then 4671 if test $ac_cv_struct_tm = sys/time.h; then
4667 4672
4668 cat >>confdefs.h <<\EOF 4673 cat >>confdefs.h <<\EOF
4669 #define TM_IN_SYS_TIME 1 4674 #define TM_IN_SYS_TIME 1
4670 EOF 4675 EOF
4671 4676
4672 fi 4677 fi
4673 4678
4674 echo "$as_me:4674: checking for struct tm.tm_zone" >&5 4679 echo "$as_me:4679: checking for struct tm.tm_zone" >&5
4675 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4680 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4676 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4681 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6 4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 else 4683 else
4679 cat >conftest.$ac_ext <<_ACEOF 4684 cat >conftest.$ac_ext <<_ACEOF
4691 ; 4696 ;
4692 return 0; 4697 return 0;
4693 } 4698 }
4694 _ACEOF 4699 _ACEOF
4695 rm -f conftest.$ac_objext 4700 rm -f conftest.$ac_objext
4696 if { (eval echo "$as_me:4696: \"$ac_compile\"") >&5 4701 if { (eval echo "$as_me:4701: \"$ac_compile\"") >&5
4697 (eval $ac_compile) 2>&5 4702 (eval $ac_compile) 2>&5
4698 ac_status=$? 4703 ac_status=$?
4699 echo "$as_me:4699: \$? = $ac_status" >&5 4704 echo "$as_me:4704: \$? = $ac_status" >&5
4700 (exit $ac_status); } && 4705 (exit $ac_status); } &&
4701 { ac_try='test -s conftest.$ac_objext' 4706 { ac_try='test -s conftest.$ac_objext'
4702 { (eval echo "$as_me:4702: \"$ac_try\"") >&5 4707 { (eval echo "$as_me:4707: \"$ac_try\"") >&5
4703 (eval $ac_try) 2>&5 4708 (eval $ac_try) 2>&5
4704 ac_status=$? 4709 ac_status=$?
4705 echo "$as_me:4705: \$? = $ac_status" >&5 4710 echo "$as_me:4710: \$? = $ac_status" >&5
4706 (exit $ac_status); }; }; then 4711 (exit $ac_status); }; }; then
4707 ac_cv_member_struct_tm_tm_zone=yes 4712 ac_cv_member_struct_tm_tm_zone=yes
4708 else 4713 else
4709 echo "$as_me: failed program was:" >&5 4714 echo "$as_me: failed program was:" >&5
4710 cat conftest.$ac_ext >&5 4715 cat conftest.$ac_ext >&5
4711 ac_cv_member_struct_tm_tm_zone=no 4716 ac_cv_member_struct_tm_tm_zone=no
4712 fi 4717 fi
4713 rm -f conftest.$ac_objext conftest.$ac_ext 4718 rm -f conftest.$ac_objext conftest.$ac_ext
4714 fi 4719 fi
4715 echo "$as_me:4715: result: $ac_cv_member_struct_tm_tm_zone" >&5 4720 echo "$as_me:4720: result: $ac_cv_member_struct_tm_tm_zone" >&5
4716 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4721 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4717 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4722 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4718 4723
4719 cat >>confdefs.h <<EOF 4724 cat >>confdefs.h <<EOF
4720 #define HAVE_STRUCT_TM_TM_ZONE 1 4725 #define HAVE_STRUCT_TM_TM_ZONE 1
4727 cat >>confdefs.h <<\EOF 4732 cat >>confdefs.h <<\EOF
4728 #define HAVE_TM_ZONE 1 4733 #define HAVE_TM_ZONE 1
4729 EOF 4734 EOF
4730 4735
4731 else 4736 else
4732 echo "$as_me:4732: checking for tzname" >&5 4737 echo "$as_me:4737: checking for tzname" >&5
4733 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4738 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4734 if test "${ac_cv_var_tzname+set}" = set; then 4739 if test "${ac_cv_var_tzname+set}" = set; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6 4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 else 4741 else
4737 cat >conftest.$ac_ext <<_ACEOF 4742 cat >conftest.$ac_ext <<_ACEOF
4749 ; 4754 ;
4750 return 0; 4755 return 0;
4751 } 4756 }
4752 _ACEOF 4757 _ACEOF
4753 rm -f conftest.$ac_objext conftest$ac_exeext 4758 rm -f conftest.$ac_objext conftest$ac_exeext
4754 if { (eval echo "$as_me:4754: \"$ac_link\"") >&5 4759 if { (eval echo "$as_me:4759: \"$ac_link\"") >&5
4755 (eval $ac_link) 2>&5 4760 (eval $ac_link) 2>&5
4756 ac_status=$? 4761 ac_status=$?
4757 echo "$as_me:4757: \$? = $ac_status" >&5 4762 echo "$as_me:4762: \$? = $ac_status" >&5
4758 (exit $ac_status); } && 4763 (exit $ac_status); } &&
4759 { ac_try='test -s conftest$ac_exeext' 4764 { ac_try='test -s conftest$ac_exeext'
4760 { (eval echo "$as_me:4760: \"$ac_try\"") >&5 4765 { (eval echo "$as_me:4765: \"$ac_try\"") >&5
4761 (eval $ac_try) 2>&5 4766 (eval $ac_try) 2>&5
4762 ac_status=$? 4767 ac_status=$?
4763 echo "$as_me:4763: \$? = $ac_status" >&5 4768 echo "$as_me:4768: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then 4769 (exit $ac_status); }; }; then
4765 ac_cv_var_tzname=yes 4770 ac_cv_var_tzname=yes
4766 else 4771 else
4767 echo "$as_me: failed program was:" >&5 4772 echo "$as_me: failed program was:" >&5
4768 cat conftest.$ac_ext >&5 4773 cat conftest.$ac_ext >&5
4769 ac_cv_var_tzname=no 4774 ac_cv_var_tzname=no
4770 fi 4775 fi
4771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4772 fi 4777 fi
4773 echo "$as_me:4773: result: $ac_cv_var_tzname" >&5 4778 echo "$as_me:4778: result: $ac_cv_var_tzname" >&5
4774 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4779 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4775 if test $ac_cv_var_tzname = yes; then 4780 if test $ac_cv_var_tzname = yes; then
4776 4781
4777 cat >>confdefs.h <<\EOF 4782 cat >>confdefs.h <<\EOF
4778 #define HAVE_TZNAME 1 4783 #define HAVE_TZNAME 1
4779 EOF 4784 EOF
4780 4785
4781 fi 4786 fi
4782 fi 4787 fi
4783 4788
4784 echo "$as_me:4784: checking for struct tm.tm_gmtoff" >&5 4789 echo "$as_me:4789: checking for struct tm.tm_gmtoff" >&5
4785 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 4790 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4786 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 4791 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4787 echo $ECHO_N "(cached) $ECHO_C" >&6 4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 else 4793 else
4789 cat >conftest.$ac_ext <<_ACEOF 4794 cat >conftest.$ac_ext <<_ACEOF
4800 ; 4805 ;
4801 return 0; 4806 return 0;
4802 } 4807 }
4803 _ACEOF 4808 _ACEOF
4804 rm -f conftest.$ac_objext 4809 rm -f conftest.$ac_objext
4805 if { (eval echo "$as_me:4805: \"$ac_compile\"") >&5 4810 if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5
4806 (eval $ac_compile) 2>&5 4811 (eval $ac_compile) 2>&5
4807 ac_status=$? 4812 ac_status=$?
4808 echo "$as_me:4808: \$? = $ac_status" >&5 4813 echo "$as_me:4813: \$? = $ac_status" >&5
4809 (exit $ac_status); } && 4814 (exit $ac_status); } &&
4810 { ac_try='test -s conftest.$ac_objext' 4815 { ac_try='test -s conftest.$ac_objext'
4811 { (eval echo "$as_me:4811: \"$ac_try\"") >&5 4816 { (eval echo "$as_me:4816: \"$ac_try\"") >&5
4812 (eval $ac_try) 2>&5 4817 (eval $ac_try) 2>&5
4813 ac_status=$? 4818 ac_status=$?
4814 echo "$as_me:4814: \$? = $ac_status" >&5 4819 echo "$as_me:4819: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then 4820 (exit $ac_status); }; }; then
4816 ac_cv_member_struct_tm_tm_gmtoff=yes 4821 ac_cv_member_struct_tm_tm_gmtoff=yes
4817 else 4822 else
4818 echo "$as_me: failed program was:" >&5 4823 echo "$as_me: failed program was:" >&5
4819 cat conftest.$ac_ext >&5 4824 cat conftest.$ac_ext >&5
4820 ac_cv_member_struct_tm_tm_gmtoff=no 4825 ac_cv_member_struct_tm_tm_gmtoff=no
4821 fi 4826 fi
4822 rm -f conftest.$ac_objext conftest.$ac_ext 4827 rm -f conftest.$ac_objext conftest.$ac_ext
4823 fi 4828 fi
4824 echo "$as_me:4824: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 4829 echo "$as_me:4829: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4825 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 4830 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4826 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 4831 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4827 4832
4828 cat >>confdefs.h <<\EOF 4833 cat >>confdefs.h <<\EOF
4829 #define HAVE_TM_GMTOFF 1 4834 #define HAVE_TM_GMTOFF 1
4830 EOF 4835 EOF
4831 4836
4832 fi 4837 fi
4833 4838
4834 echo "$as_me:4834: checking for $CC option to accept ANSI C" >&5 4839 echo "$as_me:4839: checking for $CC option to accept ANSI C" >&5
4835 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4840 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4836 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4841 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6 4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 else 4843 else
4839 ac_cv_prog_cc_stdc=no 4844 ac_cv_prog_cc_stdc=no
4886 # SVR4 -Xc -D__EXTENSIONS__ 4891 # SVR4 -Xc -D__EXTENSIONS__
4887 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4892 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4888 do 4893 do
4889 CC="$ac_save_CC $ac_arg" 4894 CC="$ac_save_CC $ac_arg"
4890 rm -f conftest.$ac_objext 4895 rm -f conftest.$ac_objext
4891 if { (eval echo "$as_me:4891: \"$ac_compile\"") >&5 4896 if { (eval echo "$as_me:4896: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>&5 4897 (eval $ac_compile) 2>&5
4893 ac_status=$? 4898 ac_status=$?
4894 echo "$as_me:4894: \$? = $ac_status" >&5 4899 echo "$as_me:4899: \$? = $ac_status" >&5
4895 (exit $ac_status); } && 4900 (exit $ac_status); } &&
4896 { ac_try='test -s conftest.$ac_objext' 4901 { ac_try='test -s conftest.$ac_objext'
4897 { (eval echo "$as_me:4897: \"$ac_try\"") >&5 4902 { (eval echo "$as_me:4902: \"$ac_try\"") >&5
4898 (eval $ac_try) 2>&5 4903 (eval $ac_try) 2>&5
4899 ac_status=$? 4904 ac_status=$?
4900 echo "$as_me:4900: \$? = $ac_status" >&5 4905 echo "$as_me:4905: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then 4906 (exit $ac_status); }; }; then
4902 ac_cv_prog_cc_stdc=$ac_arg 4907 ac_cv_prog_cc_stdc=$ac_arg
4903 break 4908 break
4904 else 4909 else
4905 echo "$as_me: failed program was:" >&5 4910 echo "$as_me: failed program was:" >&5
4912 4917
4913 fi 4918 fi
4914 4919
4915 case "x$ac_cv_prog_cc_stdc" in 4920 case "x$ac_cv_prog_cc_stdc" in
4916 x|xno) 4921 x|xno)
4917 echo "$as_me:4917: result: none needed" >&5 4922 echo "$as_me:4922: result: none needed" >&5
4918 echo "${ECHO_T}none needed" >&6 ;; 4923 echo "${ECHO_T}none needed" >&6 ;;
4919 *) 4924 *)
4920 echo "$as_me:4920: result: $ac_cv_prog_cc_stdc" >&5 4925 echo "$as_me:4925: result: $ac_cv_prog_cc_stdc" >&5
4921 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4926 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4922 CC="$CC $ac_cv_prog_cc_stdc" ;; 4927 CC="$CC $ac_cv_prog_cc_stdc" ;;
4923 esac 4928 esac
4924 4929
4925 echo "$as_me:4925: checking for function prototypes" >&5 4930 echo "$as_me:4930: checking for function prototypes" >&5
4926 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4931 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4927 if test "$ac_cv_prog_cc_stdc" != no; then 4932 if test "$ac_cv_prog_cc_stdc" != no; then
4928 echo "$as_me:4928: result: yes" >&5 4933 echo "$as_me:4933: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6 4934 echo "${ECHO_T}yes" >&6
4930 4935
4931 cat >>confdefs.h <<\EOF 4936 cat >>confdefs.h <<\EOF
4932 #define PROTOTYPES 1 4937 #define PROTOTYPES 1
4933 EOF 4938 EOF
4934 4939
4935 else 4940 else
4936 echo "$as_me:4936: result: no" >&5 4941 echo "$as_me:4941: result: no" >&5
4937 echo "${ECHO_T}no" >&6 4942 echo "${ECHO_T}no" >&6
4938 fi 4943 fi
4939 4944
4940 echo "$as_me:4940: checking for working volatile" >&5 4945 echo "$as_me:4945: checking for working volatile" >&5
4941 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4946 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4942 if test "${ac_cv_c_volatile+set}" = set; then 4947 if test "${ac_cv_c_volatile+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6 4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 else 4949 else
4945 cat >conftest.$ac_ext <<_ACEOF 4950 cat >conftest.$ac_ext <<_ACEOF
4955 ; 4960 ;
4956 return 0; 4961 return 0;
4957 } 4962 }
4958 _ACEOF 4963 _ACEOF
4959 rm -f conftest.$ac_objext 4964 rm -f conftest.$ac_objext
4960 if { (eval echo "$as_me:4960: \"$ac_compile\"") >&5 4965 if { (eval echo "$as_me:4965: \"$ac_compile\"") >&5
4961 (eval $ac_compile) 2>&5 4966 (eval $ac_compile) 2>&5
4962 ac_status=$? 4967 ac_status=$?
4963 echo "$as_me:4963: \$? = $ac_status" >&5 4968 echo "$as_me:4968: \$? = $ac_status" >&5
4964 (exit $ac_status); } && 4969 (exit $ac_status); } &&
4965 { ac_try='test -s conftest.$ac_objext' 4970 { ac_try='test -s conftest.$ac_objext'
4966 { (eval echo "$as_me:4966: \"$ac_try\"") >&5 4971 { (eval echo "$as_me:4971: \"$ac_try\"") >&5
4967 (eval $ac_try) 2>&5 4972 (eval $ac_try) 2>&5
4968 ac_status=$? 4973 ac_status=$?
4969 echo "$as_me:4969: \$? = $ac_status" >&5 4974 echo "$as_me:4974: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then 4975 (exit $ac_status); }; }; then
4971 ac_cv_c_volatile=yes 4976 ac_cv_c_volatile=yes
4972 else 4977 else
4973 echo "$as_me: failed program was:" >&5 4978 echo "$as_me: failed program was:" >&5
4974 cat conftest.$ac_ext >&5 4979 cat conftest.$ac_ext >&5
4975 ac_cv_c_volatile=no 4980 ac_cv_c_volatile=no
4976 fi 4981 fi
4977 rm -f conftest.$ac_objext conftest.$ac_ext 4982 rm -f conftest.$ac_objext conftest.$ac_ext
4978 fi 4983 fi
4979 echo "$as_me:4979: result: $ac_cv_c_volatile" >&5 4984 echo "$as_me:4984: result: $ac_cv_c_volatile" >&5
4980 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4985 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4981 if test $ac_cv_c_volatile = no; then 4986 if test $ac_cv_c_volatile = no; then
4982 4987
4983 cat >>confdefs.h <<\EOF 4988 cat >>confdefs.h <<\EOF
4984 #define volatile 4989 #define volatile
4985 EOF 4990 EOF
4986 4991
4987 fi 4992 fi
4988 4993
4989 echo "$as_me:4989: checking for an ANSI C-conforming const" >&5 4994 echo "$as_me:4994: checking for an ANSI C-conforming const" >&5
4990 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4995 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4991 if test "${ac_cv_c_const+set}" = set; then 4996 if test "${ac_cv_c_const+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6 4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 else 4998 else
4994 cat >conftest.$ac_ext <<_ACEOF 4999 cat >conftest.$ac_ext <<_ACEOF
5048 ; 5053 ;
5049 return 0; 5054 return 0;
5050 } 5055 }
5051 _ACEOF 5056 _ACEOF
5052 rm -f conftest.$ac_objext 5057 rm -f conftest.$ac_objext
5053 if { (eval echo "$as_me:5053: \"$ac_compile\"") >&5 5058 if { (eval echo "$as_me:5058: \"$ac_compile\"") >&5
5054 (eval $ac_compile) 2>&5 5059 (eval $ac_compile) 2>&5
5055 ac_status=$? 5060 ac_status=$?
5056 echo "$as_me:5056: \$? = $ac_status" >&5 5061 echo "$as_me:5061: \$? = $ac_status" >&5
5057 (exit $ac_status); } && 5062 (exit $ac_status); } &&
5058 { ac_try='test -s conftest.$ac_objext' 5063 { ac_try='test -s conftest.$ac_objext'
5059 { (eval echo "$as_me:5059: \"$ac_try\"") >&5 5064 { (eval echo "$as_me:5064: \"$ac_try\"") >&5
5060 (eval $ac_try) 2>&5 5065 (eval $ac_try) 2>&5
5061 ac_status=$? 5066 ac_status=$?
5062 echo "$as_me:5062: \$? = $ac_status" >&5 5067 echo "$as_me:5067: \$? = $ac_status" >&5
5063 (exit $ac_status); }; }; then 5068 (exit $ac_status); }; }; then
5064 ac_cv_c_const=yes 5069 ac_cv_c_const=yes
5065 else 5070 else
5066 echo "$as_me: failed program was:" >&5 5071 echo "$as_me: failed program was:" >&5
5067 cat conftest.$ac_ext >&5 5072 cat conftest.$ac_ext >&5
5068 ac_cv_c_const=no 5073 ac_cv_c_const=no
5069 fi 5074 fi
5070 rm -f conftest.$ac_objext conftest.$ac_ext 5075 rm -f conftest.$ac_objext conftest.$ac_ext
5071 fi 5076 fi
5072 echo "$as_me:5072: result: $ac_cv_c_const" >&5 5077 echo "$as_me:5077: result: $ac_cv_c_const" >&5
5073 echo "${ECHO_T}$ac_cv_c_const" >&6 5078 echo "${ECHO_T}$ac_cv_c_const" >&6
5074 if test $ac_cv_c_const = no; then 5079 if test $ac_cv_c_const = no; then
5075 5080
5076 cat >>confdefs.h <<\EOF 5081 cat >>confdefs.h <<\EOF
5077 #define const 5082 #define const
5078 EOF 5083 EOF
5079 5084
5080 fi 5085 fi
5081 5086
5082 echo "$as_me:5082: checking for void * support" >&5 5087 echo "$as_me:5087: checking for void * support" >&5
5083 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5088 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5084 if test "${emacs_cv_void_star+set}" = set; then 5089 if test "${emacs_cv_void_star+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6 5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 else 5091 else
5087 cat >conftest.$ac_ext <<_ACEOF 5092 cat >conftest.$ac_ext <<_ACEOF
5095 ; 5100 ;
5096 return 0; 5101 return 0;
5097 } 5102 }
5098 _ACEOF 5103 _ACEOF
5099 rm -f conftest.$ac_objext 5104 rm -f conftest.$ac_objext
5100 if { (eval echo "$as_me:5100: \"$ac_compile\"") >&5 5105 if { (eval echo "$as_me:5105: \"$ac_compile\"") >&5
5101 (eval $ac_compile) 2>&5 5106 (eval $ac_compile) 2>&5
5102 ac_status=$? 5107 ac_status=$?
5103 echo "$as_me:5103: \$? = $ac_status" >&5 5108 echo "$as_me:5108: \$? = $ac_status" >&5
5104 (exit $ac_status); } && 5109 (exit $ac_status); } &&
5105 { ac_try='test -s conftest.$ac_objext' 5110 { ac_try='test -s conftest.$ac_objext'
5106 { (eval echo "$as_me:5106: \"$ac_try\"") >&5 5111 { (eval echo "$as_me:5111: \"$ac_try\"") >&5
5107 (eval $ac_try) 2>&5 5112 (eval $ac_try) 2>&5
5108 ac_status=$? 5113 ac_status=$?
5109 echo "$as_me:5109: \$? = $ac_status" >&5 5114 echo "$as_me:5114: \$? = $ac_status" >&5
5110 (exit $ac_status); }; }; then 5115 (exit $ac_status); }; }; then
5111 emacs_cv_void_star=yes 5116 emacs_cv_void_star=yes
5112 else 5117 else
5113 echo "$as_me: failed program was:" >&5 5118 echo "$as_me: failed program was:" >&5
5114 cat conftest.$ac_ext >&5 5119 cat conftest.$ac_ext >&5
5115 emacs_cv_void_star=no 5120 emacs_cv_void_star=no
5116 fi 5121 fi
5117 rm -f conftest.$ac_objext conftest.$ac_ext 5122 rm -f conftest.$ac_objext conftest.$ac_ext
5118 fi 5123 fi
5119 echo "$as_me:5119: result: $emacs_cv_void_star" >&5 5124 echo "$as_me:5124: result: $emacs_cv_void_star" >&5
5120 echo "${ECHO_T}$emacs_cv_void_star" >&6 5125 echo "${ECHO_T}$emacs_cv_void_star" >&6
5121 if test $emacs_cv_void_star = yes; then 5126 if test $emacs_cv_void_star = yes; then
5122 cat >>confdefs.h <<\EOF 5127 cat >>confdefs.h <<\EOF
5123 #define POINTER_TYPE void 5128 #define POINTER_TYPE void
5124 EOF 5129 EOF
5128 #define POINTER_TYPE char 5133 #define POINTER_TYPE char
5129 EOF 5134 EOF
5130 5135
5131 fi 5136 fi
5132 5137
5133 echo "$as_me:5133: checking whether ${MAKE-make} sets \${MAKE}" >&5 5138 echo "$as_me:5138: checking whether ${MAKE-make} sets \${MAKE}" >&5
5134 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5139 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5135 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5140 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5136 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5141 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6 5142 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 else 5143 else
5148 eval ac_cv_prog_make_${ac_make}_set=no 5153 eval ac_cv_prog_make_${ac_make}_set=no
5149 fi 5154 fi
5150 rm -f conftest.make 5155 rm -f conftest.make
5151 fi 5156 fi
5152 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5157 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5153 echo "$as_me:5153: result: yes" >&5 5158 echo "$as_me:5158: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6 5159 echo "${ECHO_T}yes" >&6
5155 SET_MAKE= 5160 SET_MAKE=
5156 else 5161 else
5157 echo "$as_me:5157: result: no" >&5 5162 echo "$as_me:5162: result: no" >&5
5158 echo "${ECHO_T}no" >&6 5163 echo "${ECHO_T}no" >&6
5159 SET_MAKE="MAKE=${MAKE-make}" 5164 SET_MAKE="MAKE=${MAKE-make}"
5160 fi 5165 fi
5161 5166
5162 echo "$as_me:5162: checking for long file names" >&5 5167 echo "$as_me:5167: checking for long file names" >&5
5163 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5168 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5164 if test "${ac_cv_sys_long_file_names+set}" = set; then 5169 if test "${ac_cv_sys_long_file_names+set}" = set; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6 5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5166 else 5171 else
5167 ac_cv_sys_long_file_names=yes 5172 ac_cv_sys_long_file_names=yes
5196 break 5201 break
5197 fi 5202 fi
5198 rm -rf $ac_xdir 2>/dev/null 5203 rm -rf $ac_xdir 2>/dev/null
5199 done 5204 done
5200 fi 5205 fi
5201 echo "$as_me:5201: result: $ac_cv_sys_long_file_names" >&5 5206 echo "$as_me:5206: result: $ac_cv_sys_long_file_names" >&5
5202 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5207 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5203 if test $ac_cv_sys_long_file_names = yes; then 5208 if test $ac_cv_sys_long_file_names = yes; then
5204 5209
5205 cat >>confdefs.h <<\EOF 5210 cat >>confdefs.h <<\EOF
5206 #define HAVE_LONG_FILE_NAMES 1 5211 #define HAVE_LONG_FILE_NAMES 1
5208 5213
5209 fi 5214 fi
5210 5215
5211 #### Choose a window system. 5216 #### Choose a window system.
5212 5217
5213 echo "$as_me:5213: checking for X" >&5 5218 echo "$as_me:5218: checking for X" >&5
5214 echo $ECHO_N "checking for X... $ECHO_C" >&6 5219 echo $ECHO_N "checking for X... $ECHO_C" >&6
5215 5220
5216 # Check whether --with-x or --without-x was given. 5221 # Check whether --with-x or --without-x was given.
5217 if test "${with_x+set}" = set; then 5222 if test "${with_x+set}" = set; then
5218 withval="$with_x" 5223 withval="$with_x"
5309 cat >conftest.$ac_ext <<_ACEOF 5314 cat >conftest.$ac_ext <<_ACEOF
5310 #line 5310 "configure" 5315 #line 5310 "configure"
5311 #include "confdefs.h" 5316 #include "confdefs.h"
5312 #include <X11/Intrinsic.h> 5317 #include <X11/Intrinsic.h>
5313 _ACEOF 5318 _ACEOF
5314 if { (eval echo "$as_me:5314: \"$ac_cpp conftest.$ac_ext\"") >&5 5319 if { (eval echo "$as_me:5319: \"$ac_cpp conftest.$ac_ext\"") >&5
5315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5316 ac_status=$? 5321 ac_status=$?
5317 egrep -v '^ *\+' conftest.er1 >conftest.err 5322 egrep -v '^ *\+' conftest.er1 >conftest.err
5318 rm -f conftest.er1 5323 rm -f conftest.er1
5319 cat conftest.err >&5 5324 cat conftest.err >&5
5320 echo "$as_me:5320: \$? = $ac_status" >&5 5325 echo "$as_me:5325: \$? = $ac_status" >&5
5321 (exit $ac_status); } >/dev/null; then 5326 (exit $ac_status); } >/dev/null; then
5322 if test -s conftest.err; then 5327 if test -s conftest.err; then
5323 ac_cpp_err=$ac_c_preproc_warn_flag 5328 ac_cpp_err=$ac_c_preproc_warn_flag
5324 else 5329 else
5325 ac_cpp_err= 5330 ac_cpp_err=
5360 ; 5365 ;
5361 return 0; 5366 return 0;
5362 } 5367 }
5363 _ACEOF 5368 _ACEOF
5364 rm -f conftest.$ac_objext conftest$ac_exeext 5369 rm -f conftest.$ac_objext conftest$ac_exeext
5365 if { (eval echo "$as_me:5365: \"$ac_link\"") >&5 5370 if { (eval echo "$as_me:5370: \"$ac_link\"") >&5
5366 (eval $ac_link) 2>&5 5371 (eval $ac_link) 2>&5
5367 ac_status=$? 5372 ac_status=$?
5368 echo "$as_me:5368: \$? = $ac_status" >&5 5373 echo "$as_me:5373: \$? = $ac_status" >&5
5369 (exit $ac_status); } && 5374 (exit $ac_status); } &&
5370 { ac_try='test -s conftest$ac_exeext' 5375 { ac_try='test -s conftest$ac_exeext'
5371 { (eval echo "$as_me:5371: \"$ac_try\"") >&5 5376 { (eval echo "$as_me:5376: \"$ac_try\"") >&5
5372 (eval $ac_try) 2>&5 5377 (eval $ac_try) 2>&5
5373 ac_status=$? 5378 ac_status=$?
5374 echo "$as_me:5374: \$? = $ac_status" >&5 5379 echo "$as_me:5379: \$? = $ac_status" >&5
5375 (exit $ac_status); }; }; then 5380 (exit $ac_status); }; }; then
5376 LIBS=$ac_save_LIBS 5381 LIBS=$ac_save_LIBS
5377 # We can link X programs with no special library path. 5382 # We can link X programs with no special library path.
5378 ac_x_libraries= 5383 ac_x_libraries=
5379 else 5384 else
5407 fi 5412 fi
5408 eval "$ac_cv_have_x" 5413 eval "$ac_cv_have_x"
5409 fi # $with_x != no 5414 fi # $with_x != no
5410 5415
5411 if test "$have_x" != yes; then 5416 if test "$have_x" != yes; then
5412 echo "$as_me:5412: result: $have_x" >&5 5417 echo "$as_me:5417: result: $have_x" >&5
5413 echo "${ECHO_T}$have_x" >&6 5418 echo "${ECHO_T}$have_x" >&6
5414 no_x=yes 5419 no_x=yes
5415 else 5420 else
5416 # If each of the values was on the command line, it overrides each guess. 5421 # If each of the values was on the command line, it overrides each guess.
5417 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5422 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5418 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5423 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5419 # Update the cache value to reflect the command line values. 5424 # Update the cache value to reflect the command line values.
5420 ac_cv_have_x="have_x=yes \ 5425 ac_cv_have_x="have_x=yes \
5421 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5426 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5422 echo "$as_me:5422: result: libraries $x_libraries, headers $x_includes" >&5 5427 echo "$as_me:5427: result: libraries $x_libraries, headers $x_includes" >&5
5423 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5428 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5424 fi 5429 fi
5425 5430
5426 if test "$no_x" = yes; then 5431 if test "$no_x" = yes; then
5427 window_system=none 5432 window_system=none
5515 5520
5516 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5521 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5517 # Assume not, until told otherwise. 5522 # Assume not, until told otherwise.
5518 GNU_MALLOC=yes 5523 GNU_MALLOC=yes
5519 doug_lea_malloc=yes 5524 doug_lea_malloc=yes
5520 echo "$as_me:5520: checking for malloc_get_state" >&5 5525 echo "$as_me:5525: checking for malloc_get_state" >&5
5521 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5526 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5522 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5527 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6 5528 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 else 5529 else
5525 cat >conftest.$ac_ext <<_ACEOF 5530 cat >conftest.$ac_ext <<_ACEOF
5552 ; 5557 ;
5553 return 0; 5558 return 0;
5554 } 5559 }
5555 _ACEOF 5560 _ACEOF
5556 rm -f conftest.$ac_objext conftest$ac_exeext 5561 rm -f conftest.$ac_objext conftest$ac_exeext
5557 if { (eval echo "$as_me:5557: \"$ac_link\"") >&5 5562 if { (eval echo "$as_me:5562: \"$ac_link\"") >&5
5558 (eval $ac_link) 2>&5 5563 (eval $ac_link) 2>&5
5559 ac_status=$? 5564 ac_status=$?
5560 echo "$as_me:5560: \$? = $ac_status" >&5 5565 echo "$as_me:5565: \$? = $ac_status" >&5
5561 (exit $ac_status); } && 5566 (exit $ac_status); } &&
5562 { ac_try='test -s conftest$ac_exeext' 5567 { ac_try='test -s conftest$ac_exeext'
5563 { (eval echo "$as_me:5563: \"$ac_try\"") >&5 5568 { (eval echo "$as_me:5568: \"$ac_try\"") >&5
5564 (eval $ac_try) 2>&5 5569 (eval $ac_try) 2>&5
5565 ac_status=$? 5570 ac_status=$?
5566 echo "$as_me:5566: \$? = $ac_status" >&5 5571 echo "$as_me:5571: \$? = $ac_status" >&5
5567 (exit $ac_status); }; }; then 5572 (exit $ac_status); }; }; then
5568 ac_cv_func_malloc_get_state=yes 5573 ac_cv_func_malloc_get_state=yes
5569 else 5574 else
5570 echo "$as_me: failed program was:" >&5 5575 echo "$as_me: failed program was:" >&5
5571 cat conftest.$ac_ext >&5 5576 cat conftest.$ac_ext >&5
5572 ac_cv_func_malloc_get_state=no 5577 ac_cv_func_malloc_get_state=no
5573 fi 5578 fi
5574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5575 fi 5580 fi
5576 echo "$as_me:5576: result: $ac_cv_func_malloc_get_state" >&5 5581 echo "$as_me:5581: result: $ac_cv_func_malloc_get_state" >&5
5577 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5582 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5578 if test $ac_cv_func_malloc_get_state = yes; then 5583 if test $ac_cv_func_malloc_get_state = yes; then
5579 : 5584 :
5580 else 5585 else
5581 doug_lea_malloc=no 5586 doug_lea_malloc=no
5582 fi 5587 fi
5583 5588
5584 echo "$as_me:5584: checking for malloc_set_state" >&5 5589 echo "$as_me:5589: checking for malloc_set_state" >&5
5585 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5590 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5586 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5591 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5587 echo $ECHO_N "(cached) $ECHO_C" >&6 5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 else 5593 else
5589 cat >conftest.$ac_ext <<_ACEOF 5594 cat >conftest.$ac_ext <<_ACEOF
5616 ; 5621 ;
5617 return 0; 5622 return 0;
5618 } 5623 }
5619 _ACEOF 5624 _ACEOF
5620 rm -f conftest.$ac_objext conftest$ac_exeext 5625 rm -f conftest.$ac_objext conftest$ac_exeext
5621 if { (eval echo "$as_me:5621: \"$ac_link\"") >&5 5626 if { (eval echo "$as_me:5626: \"$ac_link\"") >&5
5622 (eval $ac_link) 2>&5 5627 (eval $ac_link) 2>&5
5623 ac_status=$? 5628 ac_status=$?
5624 echo "$as_me:5624: \$? = $ac_status" >&5 5629 echo "$as_me:5629: \$? = $ac_status" >&5
5625 (exit $ac_status); } && 5630 (exit $ac_status); } &&
5626 { ac_try='test -s conftest$ac_exeext' 5631 { ac_try='test -s conftest$ac_exeext'
5627 { (eval echo "$as_me:5627: \"$ac_try\"") >&5 5632 { (eval echo "$as_me:5632: \"$ac_try\"") >&5
5628 (eval $ac_try) 2>&5 5633 (eval $ac_try) 2>&5
5629 ac_status=$? 5634 ac_status=$?
5630 echo "$as_me:5630: \$? = $ac_status" >&5 5635 echo "$as_me:5635: \$? = $ac_status" >&5
5631 (exit $ac_status); }; }; then 5636 (exit $ac_status); }; }; then
5632 ac_cv_func_malloc_set_state=yes 5637 ac_cv_func_malloc_set_state=yes
5633 else 5638 else
5634 echo "$as_me: failed program was:" >&5 5639 echo "$as_me: failed program was:" >&5
5635 cat conftest.$ac_ext >&5 5640 cat conftest.$ac_ext >&5
5636 ac_cv_func_malloc_set_state=no 5641 ac_cv_func_malloc_set_state=no
5637 fi 5642 fi
5638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5639 fi 5644 fi
5640 echo "$as_me:5640: result: $ac_cv_func_malloc_set_state" >&5 5645 echo "$as_me:5645: result: $ac_cv_func_malloc_set_state" >&5
5641 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5646 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5642 if test $ac_cv_func_malloc_set_state = yes; then 5647 if test $ac_cv_func_malloc_set_state = yes; then
5643 : 5648 :
5644 else 5649 else
5645 doug_lea_malloc=no 5650 doug_lea_malloc=no
5646 fi 5651 fi
5647 5652
5648 echo "$as_me:5648: checking whether __after_morecore_hook exists" >&5 5653 echo "$as_me:5653: checking whether __after_morecore_hook exists" >&5
5649 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5654 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5650 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5655 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6 5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 else 5657 else
5653 cat >conftest.$ac_ext <<_ACEOF 5658 cat >conftest.$ac_ext <<_ACEOF
5661 ; 5666 ;
5662 return 0; 5667 return 0;
5663 } 5668 }
5664 _ACEOF 5669 _ACEOF
5665 rm -f conftest.$ac_objext conftest$ac_exeext 5670 rm -f conftest.$ac_objext conftest$ac_exeext
5666 if { (eval echo "$as_me:5666: \"$ac_link\"") >&5 5671 if { (eval echo "$as_me:5671: \"$ac_link\"") >&5
5667 (eval $ac_link) 2>&5 5672 (eval $ac_link) 2>&5
5668 ac_status=$? 5673 ac_status=$?
5669 echo "$as_me:5669: \$? = $ac_status" >&5 5674 echo "$as_me:5674: \$? = $ac_status" >&5
5670 (exit $ac_status); } && 5675 (exit $ac_status); } &&
5671 { ac_try='test -s conftest$ac_exeext' 5676 { ac_try='test -s conftest$ac_exeext'
5672 { (eval echo "$as_me:5672: \"$ac_try\"") >&5 5677 { (eval echo "$as_me:5677: \"$ac_try\"") >&5
5673 (eval $ac_try) 2>&5 5678 (eval $ac_try) 2>&5
5674 ac_status=$? 5679 ac_status=$?
5675 echo "$as_me:5675: \$? = $ac_status" >&5 5680 echo "$as_me:5680: \$? = $ac_status" >&5
5676 (exit $ac_status); }; }; then 5681 (exit $ac_status); }; }; then
5677 emacs_cv_var___after_morecore_hook=yes 5682 emacs_cv_var___after_morecore_hook=yes
5678 else 5683 else
5679 echo "$as_me: failed program was:" >&5 5684 echo "$as_me: failed program was:" >&5
5680 cat conftest.$ac_ext >&5 5685 cat conftest.$ac_ext >&5
5681 emacs_cv_var___after_morecore_hook=no 5686 emacs_cv_var___after_morecore_hook=no
5682 fi 5687 fi
5683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5684 fi 5689 fi
5685 echo "$as_me:5685: result: $emacs_cv_var___after_morecore_hook" >&5 5690 echo "$as_me:5690: result: $emacs_cv_var___after_morecore_hook" >&5
5686 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5691 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5687 if test $emacs_cv_var___after_morecore_hook = no; then 5692 if test $emacs_cv_var___after_morecore_hook = no; then
5688 doug_lea_malloc=no 5693 doug_lea_malloc=no
5689 fi 5694 fi
5690 if test "${system_malloc}" = "yes"; then 5695 if test "${system_malloc}" = "yes"; then
5712 5717
5713 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5718 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5714 inttypes.h stdint.h unistd.h 5719 inttypes.h stdint.h unistd.h
5715 do 5720 do
5716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5717 echo "$as_me:5717: checking for $ac_header" >&5 5722 echo "$as_me:5722: checking for $ac_header" >&5
5718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5719 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6 5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 else 5726 else
5722 cat >conftest.$ac_ext <<_ACEOF 5727 cat >conftest.$ac_ext <<_ACEOF
5724 #include "confdefs.h" 5729 #include "confdefs.h"
5725 $ac_includes_default 5730 $ac_includes_default
5726 #include <$ac_header> 5731 #include <$ac_header>
5727 _ACEOF 5732 _ACEOF
5728 rm -f conftest.$ac_objext 5733 rm -f conftest.$ac_objext
5729 if { (eval echo "$as_me:5729: \"$ac_compile\"") >&5 5734 if { (eval echo "$as_me:5734: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>&5 5735 (eval $ac_compile) 2>&5
5731 ac_status=$? 5736 ac_status=$?
5732 echo "$as_me:5732: \$? = $ac_status" >&5 5737 echo "$as_me:5737: \$? = $ac_status" >&5
5733 (exit $ac_status); } && 5738 (exit $ac_status); } &&
5734 { ac_try='test -s conftest.$ac_objext' 5739 { ac_try='test -s conftest.$ac_objext'
5735 { (eval echo "$as_me:5735: \"$ac_try\"") >&5 5740 { (eval echo "$as_me:5740: \"$ac_try\"") >&5
5736 (eval $ac_try) 2>&5 5741 (eval $ac_try) 2>&5
5737 ac_status=$? 5742 ac_status=$?
5738 echo "$as_me:5738: \$? = $ac_status" >&5 5743 echo "$as_me:5743: \$? = $ac_status" >&5
5739 (exit $ac_status); }; }; then 5744 (exit $ac_status); }; }; then
5740 eval "$as_ac_Header=yes" 5745 eval "$as_ac_Header=yes"
5741 else 5746 else
5742 echo "$as_me: failed program was:" >&5 5747 echo "$as_me: failed program was:" >&5
5743 cat conftest.$ac_ext >&5 5748 cat conftest.$ac_ext >&5
5744 eval "$as_ac_Header=no" 5749 eval "$as_ac_Header=no"
5745 fi 5750 fi
5746 rm -f conftest.$ac_objext conftest.$ac_ext 5751 rm -f conftest.$ac_objext conftest.$ac_ext
5747 fi 5752 fi
5748 echo "$as_me:5748: result: `eval echo '${'$as_ac_Header'}'`" >&5 5753 echo "$as_me:5753: result: `eval echo '${'$as_ac_Header'}'`" >&5
5749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5750 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5751 cat >>confdefs.h <<EOF 5756 cat >>confdefs.h <<EOF
5752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5753 EOF 5758 EOF
5756 done 5761 done
5757 5762
5758 for ac_header in stdlib.h unistd.h 5763 for ac_header in stdlib.h unistd.h
5759 do 5764 do
5760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5761 echo "$as_me:5761: checking for $ac_header" >&5 5766 echo "$as_me:5766: checking for $ac_header" >&5
5762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5763 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6 5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 else 5770 else
5766 cat >conftest.$ac_ext <<_ACEOF 5771 cat >conftest.$ac_ext <<_ACEOF
5767 #line 5767 "configure" 5772 #line 5767 "configure"
5768 #include "confdefs.h" 5773 #include "confdefs.h"
5769 #include <$ac_header> 5774 #include <$ac_header>
5770 _ACEOF 5775 _ACEOF
5771 if { (eval echo "$as_me:5771: \"$ac_cpp conftest.$ac_ext\"") >&5 5776 if { (eval echo "$as_me:5776: \"$ac_cpp conftest.$ac_ext\"") >&5
5772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5773 ac_status=$? 5778 ac_status=$?
5774 egrep -v '^ *\+' conftest.er1 >conftest.err 5779 egrep -v '^ *\+' conftest.er1 >conftest.err
5775 rm -f conftest.er1 5780 rm -f conftest.er1
5776 cat conftest.err >&5 5781 cat conftest.err >&5
5777 echo "$as_me:5777: \$? = $ac_status" >&5 5782 echo "$as_me:5782: \$? = $ac_status" >&5
5778 (exit $ac_status); } >/dev/null; then 5783 (exit $ac_status); } >/dev/null; then
5779 if test -s conftest.err; then 5784 if test -s conftest.err; then
5780 ac_cpp_err=$ac_c_preproc_warn_flag 5785 ac_cpp_err=$ac_c_preproc_warn_flag
5781 else 5786 else
5782 ac_cpp_err= 5787 ac_cpp_err=
5791 cat conftest.$ac_ext >&5 5796 cat conftest.$ac_ext >&5
5792 eval "$as_ac_Header=no" 5797 eval "$as_ac_Header=no"
5793 fi 5798 fi
5794 rm -f conftest.err conftest.$ac_ext 5799 rm -f conftest.err conftest.$ac_ext
5795 fi 5800 fi
5796 echo "$as_me:5796: result: `eval echo '${'$as_ac_Header'}'`" >&5 5801 echo "$as_me:5801: result: `eval echo '${'$as_ac_Header'}'`" >&5
5797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5798 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5799 cat >>confdefs.h <<EOF 5804 cat >>confdefs.h <<EOF
5800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5801 EOF 5806 EOF
5804 done 5809 done
5805 5810
5806 for ac_func in getpagesize 5811 for ac_func in getpagesize
5807 do 5812 do
5808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5809 echo "$as_me:5809: checking for $ac_func" >&5 5814 echo "$as_me:5814: checking for $ac_func" >&5
5810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5811 if eval "test \"\${$as_ac_var+set}\" = set"; then 5816 if eval "test \"\${$as_ac_var+set}\" = set"; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6 5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 else 5818 else
5814 cat >conftest.$ac_ext <<_ACEOF 5819 cat >conftest.$ac_ext <<_ACEOF
5841 ; 5846 ;
5842 return 0; 5847 return 0;
5843 } 5848 }
5844 _ACEOF 5849 _ACEOF
5845 rm -f conftest.$ac_objext conftest$ac_exeext 5850 rm -f conftest.$ac_objext conftest$ac_exeext
5846 if { (eval echo "$as_me:5846: \"$ac_link\"") >&5 5851 if { (eval echo "$as_me:5851: \"$ac_link\"") >&5
5847 (eval $ac_link) 2>&5 5852 (eval $ac_link) 2>&5
5848 ac_status=$? 5853 ac_status=$?
5849 echo "$as_me:5849: \$? = $ac_status" >&5 5854 echo "$as_me:5854: \$? = $ac_status" >&5
5850 (exit $ac_status); } && 5855 (exit $ac_status); } &&
5851 { ac_try='test -s conftest$ac_exeext' 5856 { ac_try='test -s conftest$ac_exeext'
5852 { (eval echo "$as_me:5852: \"$ac_try\"") >&5 5857 { (eval echo "$as_me:5857: \"$ac_try\"") >&5
5853 (eval $ac_try) 2>&5 5858 (eval $ac_try) 2>&5
5854 ac_status=$? 5859 ac_status=$?
5855 echo "$as_me:5855: \$? = $ac_status" >&5 5860 echo "$as_me:5860: \$? = $ac_status" >&5
5856 (exit $ac_status); }; }; then 5861 (exit $ac_status); }; }; then
5857 eval "$as_ac_var=yes" 5862 eval "$as_ac_var=yes"
5858 else 5863 else
5859 echo "$as_me: failed program was:" >&5 5864 echo "$as_me: failed program was:" >&5
5860 cat conftest.$ac_ext >&5 5865 cat conftest.$ac_ext >&5
5861 eval "$as_ac_var=no" 5866 eval "$as_ac_var=no"
5862 fi 5867 fi
5863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5864 fi 5869 fi
5865 echo "$as_me:5865: result: `eval echo '${'$as_ac_var'}'`" >&5 5870 echo "$as_me:5870: result: `eval echo '${'$as_ac_var'}'`" >&5
5866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5867 if test `eval echo '${'$as_ac_var'}'` = yes; then 5872 if test `eval echo '${'$as_ac_var'}'` = yes; then
5868 cat >>confdefs.h <<EOF 5873 cat >>confdefs.h <<EOF
5869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5870 EOF 5875 EOF
5871 5876
5872 fi 5877 fi
5873 done 5878 done
5874 5879
5875 echo "$as_me:5875: checking for working mmap" >&5 5880 echo "$as_me:5880: checking for working mmap" >&5
5876 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5881 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5877 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5882 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6 5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 else 5884 else
5880 if test "$cross_compiling" = yes; then 5885 if test "$cross_compiling" = yes; then
6006 close (fd); 6011 close (fd);
6007 exit (0); 6012 exit (0);
6008 } 6013 }
6009 _ACEOF 6014 _ACEOF
6010 rm -f conftest$ac_exeext 6015 rm -f conftest$ac_exeext
6011 if { (eval echo "$as_me:6011: \"$ac_link\"") >&5 6016 if { (eval echo "$as_me:6016: \"$ac_link\"") >&5
6012 (eval $ac_link) 2>&5 6017 (eval $ac_link) 2>&5
6013 ac_status=$? 6018 ac_status=$?
6014 echo "$as_me:6014: \$? = $ac_status" >&5 6019 echo "$as_me:6019: \$? = $ac_status" >&5
6015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6016 { (eval echo "$as_me:6016: \"$ac_try\"") >&5 6021 { (eval echo "$as_me:6021: \"$ac_try\"") >&5
6017 (eval $ac_try) 2>&5 6022 (eval $ac_try) 2>&5
6018 ac_status=$? 6023 ac_status=$?
6019 echo "$as_me:6019: \$? = $ac_status" >&5 6024 echo "$as_me:6024: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then 6025 (exit $ac_status); }; }; then
6021 ac_cv_func_mmap_fixed_mapped=yes 6026 ac_cv_func_mmap_fixed_mapped=yes
6022 else 6027 else
6023 echo "$as_me: program exited with status $ac_status" >&5 6028 echo "$as_me: program exited with status $ac_status" >&5
6024 echo "$as_me: failed program was:" >&5 6029 echo "$as_me: failed program was:" >&5
6026 ac_cv_func_mmap_fixed_mapped=no 6031 ac_cv_func_mmap_fixed_mapped=no
6027 fi 6032 fi
6028 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6033 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6029 fi 6034 fi
6030 fi 6035 fi
6031 echo "$as_me:6031: result: $ac_cv_func_mmap_fixed_mapped" >&5 6036 echo "$as_me:6036: result: $ac_cv_func_mmap_fixed_mapped" >&5
6032 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 6037 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6033 if test $ac_cv_func_mmap_fixed_mapped = yes; then 6038 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6034 6039
6035 cat >>confdefs.h <<\EOF 6040 cat >>confdefs.h <<\EOF
6036 #define HAVE_MMAP 1 6041 #define HAVE_MMAP 1
6043 REL_ALLOC=no 6048 REL_ALLOC=no
6044 fi 6049 fi
6045 6050
6046 LIBS="$libsrc_libs $LIBS" 6051 LIBS="$libsrc_libs $LIBS"
6047 6052
6048 echo "$as_me:6048: checking for dnet_ntoa in -ldnet" >&5 6053 echo "$as_me:6053: checking for dnet_ntoa in -ldnet" >&5
6049 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 6054 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6050 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 6055 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6 6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 else 6057 else
6053 ac_check_lib_save_LIBS=$LIBS 6058 ac_check_lib_save_LIBS=$LIBS
6070 ; 6075 ;
6071 return 0; 6076 return 0;
6072 } 6077 }
6073 _ACEOF 6078 _ACEOF
6074 rm -f conftest.$ac_objext conftest$ac_exeext 6079 rm -f conftest.$ac_objext conftest$ac_exeext
6075 if { (eval echo "$as_me:6075: \"$ac_link\"") >&5 6080 if { (eval echo "$as_me:6080: \"$ac_link\"") >&5
6076 (eval $ac_link) 2>&5 6081 (eval $ac_link) 2>&5
6077 ac_status=$? 6082 ac_status=$?
6078 echo "$as_me:6078: \$? = $ac_status" >&5 6083 echo "$as_me:6083: \$? = $ac_status" >&5
6079 (exit $ac_status); } && 6084 (exit $ac_status); } &&
6080 { ac_try='test -s conftest$ac_exeext' 6085 { ac_try='test -s conftest$ac_exeext'
6081 { (eval echo "$as_me:6081: \"$ac_try\"") >&5 6086 { (eval echo "$as_me:6086: \"$ac_try\"") >&5
6082 (eval $ac_try) 2>&5 6087 (eval $ac_try) 2>&5
6083 ac_status=$? 6088 ac_status=$?
6084 echo "$as_me:6084: \$? = $ac_status" >&5 6089 echo "$as_me:6089: \$? = $ac_status" >&5
6085 (exit $ac_status); }; }; then 6090 (exit $ac_status); }; }; then
6086 ac_cv_lib_dnet_dnet_ntoa=yes 6091 ac_cv_lib_dnet_dnet_ntoa=yes
6087 else 6092 else
6088 echo "$as_me: failed program was:" >&5 6093 echo "$as_me: failed program was:" >&5
6089 cat conftest.$ac_ext >&5 6094 cat conftest.$ac_ext >&5
6090 ac_cv_lib_dnet_dnet_ntoa=no 6095 ac_cv_lib_dnet_dnet_ntoa=no
6091 fi 6096 fi
6092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6097 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6093 LIBS=$ac_check_lib_save_LIBS 6098 LIBS=$ac_check_lib_save_LIBS
6094 fi 6099 fi
6095 echo "$as_me:6095: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6100 echo "$as_me:6100: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6096 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6101 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6097 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6102 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6098 cat >>confdefs.h <<EOF 6103 cat >>confdefs.h <<EOF
6099 #define HAVE_LIBDNET 1 6104 #define HAVE_LIBDNET 1
6100 EOF 6105 EOF
6101 6106
6102 LIBS="-ldnet $LIBS" 6107 LIBS="-ldnet $LIBS"
6103 6108
6104 fi 6109 fi
6105 6110
6106 echo "$as_me:6106: checking for main in -lXbsd" >&5 6111 echo "$as_me:6111: checking for main in -lXbsd" >&5
6107 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6112 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6108 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6113 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6 6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 else 6115 else
6111 ac_check_lib_save_LIBS=$LIBS 6116 ac_check_lib_save_LIBS=$LIBS
6121 ; 6126 ;
6122 return 0; 6127 return 0;
6123 } 6128 }
6124 _ACEOF 6129 _ACEOF
6125 rm -f conftest.$ac_objext conftest$ac_exeext 6130 rm -f conftest.$ac_objext conftest$ac_exeext
6126 if { (eval echo "$as_me:6126: \"$ac_link\"") >&5 6131 if { (eval echo "$as_me:6131: \"$ac_link\"") >&5
6127 (eval $ac_link) 2>&5 6132 (eval $ac_link) 2>&5
6128 ac_status=$? 6133 ac_status=$?
6129 echo "$as_me:6129: \$? = $ac_status" >&5 6134 echo "$as_me:6134: \$? = $ac_status" >&5
6130 (exit $ac_status); } && 6135 (exit $ac_status); } &&
6131 { ac_try='test -s conftest$ac_exeext' 6136 { ac_try='test -s conftest$ac_exeext'
6132 { (eval echo "$as_me:6132: \"$ac_try\"") >&5 6137 { (eval echo "$as_me:6137: \"$ac_try\"") >&5
6133 (eval $ac_try) 2>&5 6138 (eval $ac_try) 2>&5
6134 ac_status=$? 6139 ac_status=$?
6135 echo "$as_me:6135: \$? = $ac_status" >&5 6140 echo "$as_me:6140: \$? = $ac_status" >&5
6136 (exit $ac_status); }; }; then 6141 (exit $ac_status); }; }; then
6137 ac_cv_lib_Xbsd_main=yes 6142 ac_cv_lib_Xbsd_main=yes
6138 else 6143 else
6139 echo "$as_me: failed program was:" >&5 6144 echo "$as_me: failed program was:" >&5
6140 cat conftest.$ac_ext >&5 6145 cat conftest.$ac_ext >&5
6141 ac_cv_lib_Xbsd_main=no 6146 ac_cv_lib_Xbsd_main=no
6142 fi 6147 fi
6143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6144 LIBS=$ac_check_lib_save_LIBS 6149 LIBS=$ac_check_lib_save_LIBS
6145 fi 6150 fi
6146 echo "$as_me:6146: result: $ac_cv_lib_Xbsd_main" >&5 6151 echo "$as_me:6151: result: $ac_cv_lib_Xbsd_main" >&5
6147 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6152 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6148 if test $ac_cv_lib_Xbsd_main = yes; then 6153 if test $ac_cv_lib_Xbsd_main = yes; then
6149 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6154 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6150 fi 6155 fi
6151 6156
6152 echo "$as_me:6152: checking for cma_open in -lpthreads" >&5 6157 echo "$as_me:6157: checking for cma_open in -lpthreads" >&5
6153 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6158 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6154 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6159 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6 6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 else 6161 else
6157 ac_check_lib_save_LIBS=$LIBS 6162 ac_check_lib_save_LIBS=$LIBS
6174 ; 6179 ;
6175 return 0; 6180 return 0;
6176 } 6181 }
6177 _ACEOF 6182 _ACEOF
6178 rm -f conftest.$ac_objext conftest$ac_exeext 6183 rm -f conftest.$ac_objext conftest$ac_exeext
6179 if { (eval echo "$as_me:6179: \"$ac_link\"") >&5 6184 if { (eval echo "$as_me:6184: \"$ac_link\"") >&5
6180 (eval $ac_link) 2>&5 6185 (eval $ac_link) 2>&5
6181 ac_status=$? 6186 ac_status=$?
6182 echo "$as_me:6182: \$? = $ac_status" >&5 6187 echo "$as_me:6187: \$? = $ac_status" >&5
6183 (exit $ac_status); } && 6188 (exit $ac_status); } &&
6184 { ac_try='test -s conftest$ac_exeext' 6189 { ac_try='test -s conftest$ac_exeext'
6185 { (eval echo "$as_me:6185: \"$ac_try\"") >&5 6190 { (eval echo "$as_me:6190: \"$ac_try\"") >&5
6186 (eval $ac_try) 2>&5 6191 (eval $ac_try) 2>&5
6187 ac_status=$? 6192 ac_status=$?
6188 echo "$as_me:6188: \$? = $ac_status" >&5 6193 echo "$as_me:6193: \$? = $ac_status" >&5
6189 (exit $ac_status); }; }; then 6194 (exit $ac_status); }; }; then
6190 ac_cv_lib_pthreads_cma_open=yes 6195 ac_cv_lib_pthreads_cma_open=yes
6191 else 6196 else
6192 echo "$as_me: failed program was:" >&5 6197 echo "$as_me: failed program was:" >&5
6193 cat conftest.$ac_ext >&5 6198 cat conftest.$ac_ext >&5
6194 ac_cv_lib_pthreads_cma_open=no 6199 ac_cv_lib_pthreads_cma_open=no
6195 fi 6200 fi
6196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6197 LIBS=$ac_check_lib_save_LIBS 6202 LIBS=$ac_check_lib_save_LIBS
6198 fi 6203 fi
6199 echo "$as_me:6199: result: $ac_cv_lib_pthreads_cma_open" >&5 6204 echo "$as_me:6204: result: $ac_cv_lib_pthreads_cma_open" >&5
6200 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6205 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6201 if test $ac_cv_lib_pthreads_cma_open = yes; then 6206 if test $ac_cv_lib_pthreads_cma_open = yes; then
6202 cat >>confdefs.h <<EOF 6207 cat >>confdefs.h <<EOF
6203 #define HAVE_LIBPTHREADS 1 6208 #define HAVE_LIBPTHREADS 1
6204 EOF 6209 EOF
6205 6210
6206 LIBS="-lpthreads $LIBS" 6211 LIBS="-lpthreads $LIBS"
6207 6212
6208 fi 6213 fi
6209 6214
6210 echo "$as_me:6210: checking for XFree86 in /usr/X386" >&5 6215 echo "$as_me:6215: checking for XFree86 in /usr/X386" >&5
6211 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6216 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6212 if test -d /usr/X386/include; then 6217 if test -d /usr/X386/include; then
6213 HAVE_XFREE386=yes 6218 HAVE_XFREE386=yes
6214 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6219 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6215 else 6220 else
6216 HAVE_XFREE386=no 6221 HAVE_XFREE386=no
6217 fi 6222 fi
6218 echo "$as_me:6218: result: $HAVE_XFREE386" >&5 6223 echo "$as_me:6223: result: $HAVE_XFREE386" >&5
6219 echo "${ECHO_T}$HAVE_XFREE386" >&6 6224 echo "${ECHO_T}$HAVE_XFREE386" >&6
6220 6225
6221 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6226 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6222 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6227 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6223 6228
6238 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6243 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6239 export LD_RUN_PATH 6244 export LD_RUN_PATH
6240 fi 6245 fi
6241 6246
6242 if test "${opsys}" = "gnu-linux"; then 6247 if test "${opsys}" = "gnu-linux"; then
6243 echo "$as_me:6243: checking whether X on GNU/Linux needs -b to link" >&5 6248 echo "$as_me:6248: checking whether X on GNU/Linux needs -b to link" >&5
6244 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6249 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6245 cat >conftest.$ac_ext <<_ACEOF 6250 cat >conftest.$ac_ext <<_ACEOF
6246 #line 6246 "configure" 6251 #line 6246 "configure"
6247 #include "confdefs.h" 6252 #include "confdefs.h"
6248 6253
6253 ; 6258 ;
6254 return 0; 6259 return 0;
6255 } 6260 }
6256 _ACEOF 6261 _ACEOF
6257 rm -f conftest.$ac_objext conftest$ac_exeext 6262 rm -f conftest.$ac_objext conftest$ac_exeext
6258 if { (eval echo "$as_me:6258: \"$ac_link\"") >&5 6263 if { (eval echo "$as_me:6263: \"$ac_link\"") >&5
6259 (eval $ac_link) 2>&5 6264 (eval $ac_link) 2>&5
6260 ac_status=$? 6265 ac_status=$?
6261 echo "$as_me:6261: \$? = $ac_status" >&5 6266 echo "$as_me:6266: \$? = $ac_status" >&5
6262 (exit $ac_status); } && 6267 (exit $ac_status); } &&
6263 { ac_try='test -s conftest$ac_exeext' 6268 { ac_try='test -s conftest$ac_exeext'
6264 { (eval echo "$as_me:6264: \"$ac_try\"") >&5 6269 { (eval echo "$as_me:6269: \"$ac_try\"") >&5
6265 (eval $ac_try) 2>&5 6270 (eval $ac_try) 2>&5
6266 ac_status=$? 6271 ac_status=$?
6267 echo "$as_me:6267: \$? = $ac_status" >&5 6272 echo "$as_me:6272: \$? = $ac_status" >&5
6268 (exit $ac_status); }; }; then 6273 (exit $ac_status); }; }; then
6269 xlinux_first_failure=no 6274 xlinux_first_failure=no
6270 else 6275 else
6271 echo "$as_me: failed program was:" >&5 6276 echo "$as_me: failed program was:" >&5
6272 cat conftest.$ac_ext >&5 6277 cat conftest.$ac_ext >&5
6293 ; 6298 ;
6294 return 0; 6299 return 0;
6295 } 6300 }
6296 _ACEOF 6301 _ACEOF
6297 rm -f conftest.$ac_objext conftest$ac_exeext 6302 rm -f conftest.$ac_objext conftest$ac_exeext
6298 if { (eval echo "$as_me:6298: \"$ac_link\"") >&5 6303 if { (eval echo "$as_me:6303: \"$ac_link\"") >&5
6299 (eval $ac_link) 2>&5 6304 (eval $ac_link) 2>&5
6300 ac_status=$? 6305 ac_status=$?
6301 echo "$as_me:6301: \$? = $ac_status" >&5 6306 echo "$as_me:6306: \$? = $ac_status" >&5
6302 (exit $ac_status); } && 6307 (exit $ac_status); } &&
6303 { ac_try='test -s conftest$ac_exeext' 6308 { ac_try='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:6304: \"$ac_try\"") >&5 6309 { (eval echo "$as_me:6309: \"$ac_try\"") >&5
6305 (eval $ac_try) 2>&5 6310 (eval $ac_try) 2>&5
6306 ac_status=$? 6311 ac_status=$?
6307 echo "$as_me:6307: \$? = $ac_status" >&5 6312 echo "$as_me:6312: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then 6313 (exit $ac_status); }; }; then
6309 xlinux_second_failure=no 6314 xlinux_second_failure=no
6310 else 6315 else
6311 echo "$as_me: failed program was:" >&5 6316 echo "$as_me: failed program was:" >&5
6312 cat conftest.$ac_ext >&5 6317 cat conftest.$ac_ext >&5
6318 # So take it out. This plays safe. 6323 # So take it out. This plays safe.
6319 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6324 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6320 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6325 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6321 CPPFLAGS="$OLD_CPPFLAGS" 6326 CPPFLAGS="$OLD_CPPFLAGS"
6322 LIBS="$OLD_LIBS" 6327 LIBS="$OLD_LIBS"
6323 echo "$as_me:6323: result: no" >&5 6328 echo "$as_me:6328: result: no" >&5
6324 echo "${ECHO_T}no" >&6 6329 echo "${ECHO_T}no" >&6
6325 else 6330 else
6326 echo "$as_me:6326: result: yes" >&5 6331 echo "$as_me:6331: result: yes" >&5
6327 echo "${ECHO_T}yes" >&6 6332 echo "${ECHO_T}yes" >&6
6328 fi 6333 fi
6329 else 6334 else
6330 echo "$as_me:6330: result: no" >&5 6335 echo "$as_me:6335: result: no" >&5
6331 echo "${ECHO_T}no" >&6 6336 echo "${ECHO_T}no" >&6
6332 fi 6337 fi
6333 fi 6338 fi
6334 6339
6335 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6340 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6336 # header files included from there. 6341 # header files included from there.
6337 echo "$as_me:6337: checking for Xkb" >&5 6342 echo "$as_me:6342: checking for Xkb" >&5
6338 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6343 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6339 cat >conftest.$ac_ext <<_ACEOF 6344 cat >conftest.$ac_ext <<_ACEOF
6340 #line 6340 "configure" 6345 #line 6340 "configure"
6341 #include "confdefs.h" 6346 #include "confdefs.h"
6342 #include <X11/Xlib.h> 6347 #include <X11/Xlib.h>
6348 ; 6353 ;
6349 return 0; 6354 return 0;
6350 } 6355 }
6351 _ACEOF 6356 _ACEOF
6352 rm -f conftest.$ac_objext conftest$ac_exeext 6357 rm -f conftest.$ac_objext conftest$ac_exeext
6353 if { (eval echo "$as_me:6353: \"$ac_link\"") >&5 6358 if { (eval echo "$as_me:6358: \"$ac_link\"") >&5
6354 (eval $ac_link) 2>&5 6359 (eval $ac_link) 2>&5
6355 ac_status=$? 6360 ac_status=$?
6356 echo "$as_me:6356: \$? = $ac_status" >&5 6361 echo "$as_me:6361: \$? = $ac_status" >&5
6357 (exit $ac_status); } && 6362 (exit $ac_status); } &&
6358 { ac_try='test -s conftest$ac_exeext' 6363 { ac_try='test -s conftest$ac_exeext'
6359 { (eval echo "$as_me:6359: \"$ac_try\"") >&5 6364 { (eval echo "$as_me:6364: \"$ac_try\"") >&5
6360 (eval $ac_try) 2>&5 6365 (eval $ac_try) 2>&5
6361 ac_status=$? 6366 ac_status=$?
6362 echo "$as_me:6362: \$? = $ac_status" >&5 6367 echo "$as_me:6367: \$? = $ac_status" >&5
6363 (exit $ac_status); }; }; then 6368 (exit $ac_status); }; }; then
6364 emacs_xkb=yes 6369 emacs_xkb=yes
6365 else 6370 else
6366 echo "$as_me: failed program was:" >&5 6371 echo "$as_me: failed program was:" >&5
6367 cat conftest.$ac_ext >&5 6372 cat conftest.$ac_ext >&5
6368 emacs_xkb=no 6373 emacs_xkb=no
6369 fi 6374 fi
6370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6371 echo "$as_me:6371: result: $emacs_xkb" >&5 6376 echo "$as_me:6376: result: $emacs_xkb" >&5
6372 echo "${ECHO_T}$emacs_xkb" >&6 6377 echo "${ECHO_T}$emacs_xkb" >&6
6373 if test $emacs_xkb = yes; then 6378 if test $emacs_xkb = yes; then
6374 6379
6375 cat >>confdefs.h <<\EOF 6380 cat >>confdefs.h <<\EOF
6376 #define HAVE_XKBGETKEYBOARD 1 6381 #define HAVE_XKBGETKEYBOARD 1
6380 6385
6381 for ac_func in XrmSetDatabase XScreenResourceString \ 6386 for ac_func in XrmSetDatabase XScreenResourceString \
6382 XScreenNumberOfScreen XSetWMProtocols 6387 XScreenNumberOfScreen XSetWMProtocols
6383 do 6388 do
6384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6385 echo "$as_me:6385: checking for $ac_func" >&5 6390 echo "$as_me:6390: checking for $ac_func" >&5
6386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6387 if eval "test \"\${$as_ac_var+set}\" = set"; then 6392 if eval "test \"\${$as_ac_var+set}\" = set"; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6 6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 else 6394 else
6390 cat >conftest.$ac_ext <<_ACEOF 6395 cat >conftest.$ac_ext <<_ACEOF
6417 ; 6422 ;
6418 return 0; 6423 return 0;
6419 } 6424 }
6420 _ACEOF 6425 _ACEOF
6421 rm -f conftest.$ac_objext conftest$ac_exeext 6426 rm -f conftest.$ac_objext conftest$ac_exeext
6422 if { (eval echo "$as_me:6422: \"$ac_link\"") >&5 6427 if { (eval echo "$as_me:6427: \"$ac_link\"") >&5
6423 (eval $ac_link) 2>&5 6428 (eval $ac_link) 2>&5
6424 ac_status=$? 6429 ac_status=$?
6425 echo "$as_me:6425: \$? = $ac_status" >&5 6430 echo "$as_me:6430: \$? = $ac_status" >&5
6426 (exit $ac_status); } && 6431 (exit $ac_status); } &&
6427 { ac_try='test -s conftest$ac_exeext' 6432 { ac_try='test -s conftest$ac_exeext'
6428 { (eval echo "$as_me:6428: \"$ac_try\"") >&5 6433 { (eval echo "$as_me:6433: \"$ac_try\"") >&5
6429 (eval $ac_try) 2>&5 6434 (eval $ac_try) 2>&5
6430 ac_status=$? 6435 ac_status=$?
6431 echo "$as_me:6431: \$? = $ac_status" >&5 6436 echo "$as_me:6436: \$? = $ac_status" >&5
6432 (exit $ac_status); }; }; then 6437 (exit $ac_status); }; }; then
6433 eval "$as_ac_var=yes" 6438 eval "$as_ac_var=yes"
6434 else 6439 else
6435 echo "$as_me: failed program was:" >&5 6440 echo "$as_me: failed program was:" >&5
6436 cat conftest.$ac_ext >&5 6441 cat conftest.$ac_ext >&5
6437 eval "$as_ac_var=no" 6442 eval "$as_ac_var=no"
6438 fi 6443 fi
6439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6440 fi 6445 fi
6441 echo "$as_me:6441: result: `eval echo '${'$as_ac_var'}'`" >&5 6446 echo "$as_me:6446: result: `eval echo '${'$as_ac_var'}'`" >&5
6442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6443 if test `eval echo '${'$as_ac_var'}'` = yes; then 6448 if test `eval echo '${'$as_ac_var'}'` = yes; then
6444 cat >>confdefs.h <<EOF 6449 cat >>confdefs.h <<EOF
6445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6446 EOF 6451 EOF
6449 done 6454 done
6450 6455
6451 fi 6456 fi
6452 6457
6453 if test "${window_system}" = "x11"; then 6458 if test "${window_system}" = "x11"; then
6454 echo "$as_me:6454: checking X11 version 6" >&5 6459 echo "$as_me:6459: checking X11 version 6" >&5
6455 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6460 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6456 if test "${emacs_cv_x11_version_6+set}" = set; then 6461 if test "${emacs_cv_x11_version_6+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6 6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 else 6463 else
6459 cat >conftest.$ac_ext <<_ACEOF 6464 cat >conftest.$ac_ext <<_ACEOF
6470 ; 6475 ;
6471 return 0; 6476 return 0;
6472 } 6477 }
6473 _ACEOF 6478 _ACEOF
6474 rm -f conftest.$ac_objext conftest$ac_exeext 6479 rm -f conftest.$ac_objext conftest$ac_exeext
6475 if { (eval echo "$as_me:6475: \"$ac_link\"") >&5 6480 if { (eval echo "$as_me:6480: \"$ac_link\"") >&5
6476 (eval $ac_link) 2>&5 6481 (eval $ac_link) 2>&5
6477 ac_status=$? 6482 ac_status=$?
6478 echo "$as_me:6478: \$? = $ac_status" >&5 6483 echo "$as_me:6483: \$? = $ac_status" >&5
6479 (exit $ac_status); } && 6484 (exit $ac_status); } &&
6480 { ac_try='test -s conftest$ac_exeext' 6485 { ac_try='test -s conftest$ac_exeext'
6481 { (eval echo "$as_me:6481: \"$ac_try\"") >&5 6486 { (eval echo "$as_me:6486: \"$ac_try\"") >&5
6482 (eval $ac_try) 2>&5 6487 (eval $ac_try) 2>&5
6483 ac_status=$? 6488 ac_status=$?
6484 echo "$as_me:6484: \$? = $ac_status" >&5 6489 echo "$as_me:6489: \$? = $ac_status" >&5
6485 (exit $ac_status); }; }; then 6490 (exit $ac_status); }; }; then
6486 emacs_cv_x11_version_6=yes 6491 emacs_cv_x11_version_6=yes
6487 else 6492 else
6488 echo "$as_me: failed program was:" >&5 6493 echo "$as_me: failed program was:" >&5
6489 cat conftest.$ac_ext >&5 6494 cat conftest.$ac_ext >&5
6491 fi 6496 fi
6492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6493 fi 6498 fi
6494 6499
6495 if test $emacs_cv_x11_version_6 = yes; then 6500 if test $emacs_cv_x11_version_6 = yes; then
6496 echo "$as_me:6496: result: 6 or newer" >&5 6501 echo "$as_me:6501: result: 6 or newer" >&5
6497 echo "${ECHO_T}6 or newer" >&6 6502 echo "${ECHO_T}6 or newer" >&6
6498 6503
6499 cat >>confdefs.h <<\EOF 6504 cat >>confdefs.h <<\EOF
6500 #define HAVE_X11R6 1 6505 #define HAVE_X11R6 1
6501 EOF 6506 EOF
6502 6507
6503 else 6508 else
6504 echo "$as_me:6504: result: before 6" >&5 6509 echo "$as_me:6509: result: before 6" >&5
6505 echo "${ECHO_T}before 6" >&6 6510 echo "${ECHO_T}before 6" >&6
6506 fi 6511 fi
6507 fi 6512 fi
6508 6513
6509 if test "${window_system}" = "x11"; then 6514 if test "${window_system}" = "x11"; then
6510 echo "$as_me:6510: checking X11 version 5" >&5 6515 echo "$as_me:6515: checking X11 version 5" >&5
6511 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6516 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6512 if test "${emacs_cv_x11_version_5+set}" = set; then 6517 if test "${emacs_cv_x11_version_5+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6 6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6514 else 6519 else
6515 cat >conftest.$ac_ext <<_ACEOF 6520 cat >conftest.$ac_ext <<_ACEOF
6526 ; 6531 ;
6527 return 0; 6532 return 0;
6528 } 6533 }
6529 _ACEOF 6534 _ACEOF
6530 rm -f conftest.$ac_objext conftest$ac_exeext 6535 rm -f conftest.$ac_objext conftest$ac_exeext
6531 if { (eval echo "$as_me:6531: \"$ac_link\"") >&5 6536 if { (eval echo "$as_me:6536: \"$ac_link\"") >&5
6532 (eval $ac_link) 2>&5 6537 (eval $ac_link) 2>&5
6533 ac_status=$? 6538 ac_status=$?
6534 echo "$as_me:6534: \$? = $ac_status" >&5 6539 echo "$as_me:6539: \$? = $ac_status" >&5
6535 (exit $ac_status); } && 6540 (exit $ac_status); } &&
6536 { ac_try='test -s conftest$ac_exeext' 6541 { ac_try='test -s conftest$ac_exeext'
6537 { (eval echo "$as_me:6537: \"$ac_try\"") >&5 6542 { (eval echo "$as_me:6542: \"$ac_try\"") >&5
6538 (eval $ac_try) 2>&5 6543 (eval $ac_try) 2>&5
6539 ac_status=$? 6544 ac_status=$?
6540 echo "$as_me:6540: \$? = $ac_status" >&5 6545 echo "$as_me:6545: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then 6546 (exit $ac_status); }; }; then
6542 emacs_cv_x11_version_5=yes 6547 emacs_cv_x11_version_5=yes
6543 else 6548 else
6544 echo "$as_me: failed program was:" >&5 6549 echo "$as_me: failed program was:" >&5
6545 cat conftest.$ac_ext >&5 6550 cat conftest.$ac_ext >&5
6547 fi 6552 fi
6548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6549 fi 6554 fi
6550 6555
6551 if test $emacs_cv_x11_version_5 = yes; then 6556 if test $emacs_cv_x11_version_5 = yes; then
6552 echo "$as_me:6552: result: 5 or newer" >&5 6557 echo "$as_me:6557: result: 5 or newer" >&5
6553 echo "${ECHO_T}5 or newer" >&6 6558 echo "${ECHO_T}5 or newer" >&6
6554 HAVE_X11R5=yes 6559 HAVE_X11R5=yes
6555 6560
6556 cat >>confdefs.h <<\EOF 6561 cat >>confdefs.h <<\EOF
6557 #define HAVE_X11R5 1 6562 #define HAVE_X11R5 1
6558 EOF 6563 EOF
6559 6564
6560 else 6565 else
6561 HAVE_X11R5=no 6566 HAVE_X11R5=no
6562 echo "$as_me:6562: result: before 5" >&5 6567 echo "$as_me:6567: result: before 5" >&5
6563 echo "${ECHO_T}before 5" >&6 6568 echo "${ECHO_T}before 5" >&6
6564 fi 6569 fi
6565 fi 6570 fi
6566 6571
6567 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6572 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6568 if test x"${HAVE_X11R5}" = xyes; then 6573 if test x"${HAVE_X11R5}" = xyes; then
6569 echo "$as_me:6569: checking X11 version 5 with Xaw" >&5 6574 echo "$as_me:6574: checking X11 version 5 with Xaw" >&5
6570 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6575 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6571 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6576 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6 6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 else 6578 else
6574 cat >conftest.$ac_ext <<_ACEOF 6579 cat >conftest.$ac_ext <<_ACEOF
6584 ; 6589 ;
6585 return 0; 6590 return 0;
6586 } 6591 }
6587 _ACEOF 6592 _ACEOF
6588 rm -f conftest.$ac_objext conftest$ac_exeext 6593 rm -f conftest.$ac_objext conftest$ac_exeext
6589 if { (eval echo "$as_me:6589: \"$ac_link\"") >&5 6594 if { (eval echo "$as_me:6594: \"$ac_link\"") >&5
6590 (eval $ac_link) 2>&5 6595 (eval $ac_link) 2>&5
6591 ac_status=$? 6596 ac_status=$?
6592 echo "$as_me:6592: \$? = $ac_status" >&5 6597 echo "$as_me:6597: \$? = $ac_status" >&5
6593 (exit $ac_status); } && 6598 (exit $ac_status); } &&
6594 { ac_try='test -s conftest$ac_exeext' 6599 { ac_try='test -s conftest$ac_exeext'
6595 { (eval echo "$as_me:6595: \"$ac_try\"") >&5 6600 { (eval echo "$as_me:6600: \"$ac_try\"") >&5
6596 (eval $ac_try) 2>&5 6601 (eval $ac_try) 2>&5
6597 ac_status=$? 6602 ac_status=$?
6598 echo "$as_me:6598: \$? = $ac_status" >&5 6603 echo "$as_me:6603: \$? = $ac_status" >&5
6599 (exit $ac_status); }; }; then 6604 (exit $ac_status); }; }; then
6600 emacs_cv_x11_version_5_with_xaw=yes 6605 emacs_cv_x11_version_5_with_xaw=yes
6601 else 6606 else
6602 echo "$as_me: failed program was:" >&5 6607 echo "$as_me: failed program was:" >&5
6603 cat conftest.$ac_ext >&5 6608 cat conftest.$ac_ext >&5
6605 fi 6610 fi
6606 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6607 fi 6612 fi
6608 6613
6609 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6614 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6610 echo "$as_me:6610: result: 5 or newer, with Xaw; use toolkit by default" >&5 6615 echo "$as_me:6615: result: 5 or newer, with Xaw; use toolkit by default" >&5
6611 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6616 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6612 USE_X_TOOLKIT=LUCID 6617 USE_X_TOOLKIT=LUCID
6613 else 6618 else
6614 echo "$as_me:6614: result: before 5 or no Xaw; do not use toolkit by default" >&5 6619 echo "$as_me:6619: result: before 5 or no Xaw; do not use toolkit by default" >&5
6615 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6620 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6616 USE_X_TOOLKIT=none 6621 USE_X_TOOLKIT=none
6617 fi 6622 fi
6618 else 6623 else
6619 USE_X_TOOLKIT=none 6624 USE_X_TOOLKIT=none
6621 fi 6626 fi
6622 6627
6623 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6628 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6624 6629
6625 if test "${USE_X_TOOLKIT}" != "none"; then 6630 if test "${USE_X_TOOLKIT}" != "none"; then
6626 echo "$as_me:6626: checking X11 toolkit version" >&5 6631 echo "$as_me:6631: checking X11 toolkit version" >&5
6627 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6632 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6628 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6633 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6 6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 else 6635 else
6631 cat >conftest.$ac_ext <<_ACEOF 6636 cat >conftest.$ac_ext <<_ACEOF
6642 ; 6647 ;
6643 return 0; 6648 return 0;
6644 } 6649 }
6645 _ACEOF 6650 _ACEOF
6646 rm -f conftest.$ac_objext conftest$ac_exeext 6651 rm -f conftest.$ac_objext conftest$ac_exeext
6647 if { (eval echo "$as_me:6647: \"$ac_link\"") >&5 6652 if { (eval echo "$as_me:6652: \"$ac_link\"") >&5
6648 (eval $ac_link) 2>&5 6653 (eval $ac_link) 2>&5
6649 ac_status=$? 6654 ac_status=$?
6650 echo "$as_me:6650: \$? = $ac_status" >&5 6655 echo "$as_me:6655: \$? = $ac_status" >&5
6651 (exit $ac_status); } && 6656 (exit $ac_status); } &&
6652 { ac_try='test -s conftest$ac_exeext' 6657 { ac_try='test -s conftest$ac_exeext'
6653 { (eval echo "$as_me:6653: \"$ac_try\"") >&5 6658 { (eval echo "$as_me:6658: \"$ac_try\"") >&5
6654 (eval $ac_try) 2>&5 6659 (eval $ac_try) 2>&5
6655 ac_status=$? 6660 ac_status=$?
6656 echo "$as_me:6656: \$? = $ac_status" >&5 6661 echo "$as_me:6661: \$? = $ac_status" >&5
6657 (exit $ac_status); }; }; then 6662 (exit $ac_status); }; }; then
6658 emacs_cv_x11_toolkit_version_6=yes 6663 emacs_cv_x11_toolkit_version_6=yes
6659 else 6664 else
6660 echo "$as_me: failed program was:" >&5 6665 echo "$as_me: failed program was:" >&5
6661 cat conftest.$ac_ext >&5 6666 cat conftest.$ac_ext >&5
6664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6665 fi 6670 fi
6666 6671
6667 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6672 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6668 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6673 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6669 echo "$as_me:6669: result: 6 or newer" >&5 6674 echo "$as_me:6674: result: 6 or newer" >&5
6670 echo "${ECHO_T}6 or newer" >&6 6675 echo "${ECHO_T}6 or newer" >&6
6671 6676
6672 cat >>confdefs.h <<\EOF 6677 cat >>confdefs.h <<\EOF
6673 #define HAVE_X11XTR6 1 6678 #define HAVE_X11XTR6 1
6674 EOF 6679 EOF
6675 6680
6676 else 6681 else
6677 echo "$as_me:6677: result: before 6" >&5 6682 echo "$as_me:6682: result: before 6" >&5
6678 echo "${ECHO_T}before 6" >&6 6683 echo "${ECHO_T}before 6" >&6
6679 fi 6684 fi
6680 6685
6681 OLDLIBS="$LIBS" 6686 OLDLIBS="$LIBS"
6682 if test x$HAVE_X11XTR6 = xyes; then 6687 if test x$HAVE_X11XTR6 = xyes; then
6683 LIBS="-lXt -lSM -lICE $LIBS" 6688 LIBS="-lXt -lSM -lICE $LIBS"
6684 else 6689 else
6685 LIBS="-lXt $LIBS" 6690 LIBS="-lXt $LIBS"
6686 fi 6691 fi
6687 6692
6688 echo "$as_me:6688: checking for XmuConvertStandardSelection in -lXmu" >&5 6693 echo "$as_me:6693: checking for XmuConvertStandardSelection in -lXmu" >&5
6689 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6694 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6690 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6695 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6 6696 echo $ECHO_N "(cached) $ECHO_C" >&6
6692 else 6697 else
6693 ac_check_lib_save_LIBS=$LIBS 6698 ac_check_lib_save_LIBS=$LIBS
6710 ; 6715 ;
6711 return 0; 6716 return 0;
6712 } 6717 }
6713 _ACEOF 6718 _ACEOF
6714 rm -f conftest.$ac_objext conftest$ac_exeext 6719 rm -f conftest.$ac_objext conftest$ac_exeext
6715 if { (eval echo "$as_me:6715: \"$ac_link\"") >&5 6720 if { (eval echo "$as_me:6720: \"$ac_link\"") >&5
6716 (eval $ac_link) 2>&5 6721 (eval $ac_link) 2>&5
6717 ac_status=$? 6722 ac_status=$?
6718 echo "$as_me:6718: \$? = $ac_status" >&5 6723 echo "$as_me:6723: \$? = $ac_status" >&5
6719 (exit $ac_status); } && 6724 (exit $ac_status); } &&
6720 { ac_try='test -s conftest$ac_exeext' 6725 { ac_try='test -s conftest$ac_exeext'
6721 { (eval echo "$as_me:6721: \"$ac_try\"") >&5 6726 { (eval echo "$as_me:6726: \"$ac_try\"") >&5
6722 (eval $ac_try) 2>&5 6727 (eval $ac_try) 2>&5
6723 ac_status=$? 6728 ac_status=$?
6724 echo "$as_me:6724: \$? = $ac_status" >&5 6729 echo "$as_me:6729: \$? = $ac_status" >&5
6725 (exit $ac_status); }; }; then 6730 (exit $ac_status); }; }; then
6726 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6731 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6727 else 6732 else
6728 echo "$as_me: failed program was:" >&5 6733 echo "$as_me: failed program was:" >&5
6729 cat conftest.$ac_ext >&5 6734 cat conftest.$ac_ext >&5
6730 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6735 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6731 fi 6736 fi
6732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6733 LIBS=$ac_check_lib_save_LIBS 6738 LIBS=$ac_check_lib_save_LIBS
6734 fi 6739 fi
6735 echo "$as_me:6735: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6740 echo "$as_me:6740: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6736 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6741 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6737 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6742 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6738 cat >>confdefs.h <<EOF 6743 cat >>confdefs.h <<EOF
6739 #define HAVE_LIBXMU 1 6744 #define HAVE_LIBXMU 1
6740 EOF 6745 EOF
6748 6753
6749 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6754 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6750 if test "${HAVE_X11}" = "yes"; then 6755 if test "${HAVE_X11}" = "yes"; then
6751 if test "${USE_X_TOOLKIT}" != "none"; then 6756 if test "${USE_X_TOOLKIT}" != "none"; then
6752 6757
6753 echo "$as_me:6753: checking for XShapeQueryExtension in -lXext" >&5 6758 echo "$as_me:6758: checking for XShapeQueryExtension in -lXext" >&5
6754 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6759 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6755 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6760 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6 6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 else 6762 else
6758 ac_check_lib_save_LIBS=$LIBS 6763 ac_check_lib_save_LIBS=$LIBS
6775 ; 6780 ;
6776 return 0; 6781 return 0;
6777 } 6782 }
6778 _ACEOF 6783 _ACEOF
6779 rm -f conftest.$ac_objext conftest$ac_exeext 6784 rm -f conftest.$ac_objext conftest$ac_exeext
6780 if { (eval echo "$as_me:6780: \"$ac_link\"") >&5 6785 if { (eval echo "$as_me:6785: \"$ac_link\"") >&5
6781 (eval $ac_link) 2>&5 6786 (eval $ac_link) 2>&5
6782 ac_status=$? 6787 ac_status=$?
6783 echo "$as_me:6783: \$? = $ac_status" >&5 6788 echo "$as_me:6788: \$? = $ac_status" >&5
6784 (exit $ac_status); } && 6789 (exit $ac_status); } &&
6785 { ac_try='test -s conftest$ac_exeext' 6790 { ac_try='test -s conftest$ac_exeext'
6786 { (eval echo "$as_me:6786: \"$ac_try\"") >&5 6791 { (eval echo "$as_me:6791: \"$ac_try\"") >&5
6787 (eval $ac_try) 2>&5 6792 (eval $ac_try) 2>&5
6788 ac_status=$? 6793 ac_status=$?
6789 echo "$as_me:6789: \$? = $ac_status" >&5 6794 echo "$as_me:6794: \$? = $ac_status" >&5
6790 (exit $ac_status); }; }; then 6795 (exit $ac_status); }; }; then
6791 ac_cv_lib_Xext_XShapeQueryExtension=yes 6796 ac_cv_lib_Xext_XShapeQueryExtension=yes
6792 else 6797 else
6793 echo "$as_me: failed program was:" >&5 6798 echo "$as_me: failed program was:" >&5
6794 cat conftest.$ac_ext >&5 6799 cat conftest.$ac_ext >&5
6795 ac_cv_lib_Xext_XShapeQueryExtension=no 6800 ac_cv_lib_Xext_XShapeQueryExtension=no
6796 fi 6801 fi
6797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6798 LIBS=$ac_check_lib_save_LIBS 6803 LIBS=$ac_check_lib_save_LIBS
6799 fi 6804 fi
6800 echo "$as_me:6800: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6805 echo "$as_me:6805: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6801 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6806 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6802 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6807 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6803 cat >>confdefs.h <<EOF 6808 cat >>confdefs.h <<EOF
6804 #define HAVE_LIBXEXT 1 6809 #define HAVE_LIBXEXT 1
6805 EOF 6810 EOF
6810 6815
6811 fi 6816 fi
6812 fi 6817 fi
6813 6818
6814 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6819 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6815 echo "$as_me:6815: checking for Motif version 2.1" >&5 6820 echo "$as_me:6820: checking for Motif version 2.1" >&5
6816 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6821 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6817 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6822 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6 6823 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 else 6824 else
6820 cat >conftest.$ac_ext <<_ACEOF 6825 cat >conftest.$ac_ext <<_ACEOF
6832 ; 6837 ;
6833 return 0; 6838 return 0;
6834 } 6839 }
6835 _ACEOF 6840 _ACEOF
6836 rm -f conftest.$ac_objext 6841 rm -f conftest.$ac_objext
6837 if { (eval echo "$as_me:6837: \"$ac_compile\"") >&5 6842 if { (eval echo "$as_me:6842: \"$ac_compile\"") >&5
6838 (eval $ac_compile) 2>&5 6843 (eval $ac_compile) 2>&5
6839 ac_status=$? 6844 ac_status=$?
6840 echo "$as_me:6840: \$? = $ac_status" >&5 6845 echo "$as_me:6845: \$? = $ac_status" >&5
6841 (exit $ac_status); } && 6846 (exit $ac_status); } &&
6842 { ac_try='test -s conftest.$ac_objext' 6847 { ac_try='test -s conftest.$ac_objext'
6843 { (eval echo "$as_me:6843: \"$ac_try\"") >&5 6848 { (eval echo "$as_me:6848: \"$ac_try\"") >&5
6844 (eval $ac_try) 2>&5 6849 (eval $ac_try) 2>&5
6845 ac_status=$? 6850 ac_status=$?
6846 echo "$as_me:6846: \$? = $ac_status" >&5 6851 echo "$as_me:6851: \$? = $ac_status" >&5
6847 (exit $ac_status); }; }; then 6852 (exit $ac_status); }; }; then
6848 emacs_cv_motif_version_2_1=yes 6853 emacs_cv_motif_version_2_1=yes
6849 else 6854 else
6850 echo "$as_me: failed program was:" >&5 6855 echo "$as_me: failed program was:" >&5
6851 cat conftest.$ac_ext >&5 6856 cat conftest.$ac_ext >&5
6852 emacs_cv_motif_version_2_1=no 6857 emacs_cv_motif_version_2_1=no
6853 fi 6858 fi
6854 rm -f conftest.$ac_objext conftest.$ac_ext 6859 rm -f conftest.$ac_objext conftest.$ac_ext
6855 fi 6860 fi
6856 echo "$as_me:6856: result: $emacs_cv_motif_version_2_1" >&5 6861 echo "$as_me:6861: result: $emacs_cv_motif_version_2_1" >&5
6857 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6862 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6858 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6863 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6859 if test $emacs_cv_motif_version_2_1 = yes; then 6864 if test $emacs_cv_motif_version_2_1 = yes; then
6860 HAVE_LIBXP=no 6865 HAVE_LIBXP=no
6861 6866
6862 cat >>confdefs.h <<\EOF 6867 cat >>confdefs.h <<\EOF
6863 #define HAVE_MOTIF_2_1 1 6868 #define HAVE_MOTIF_2_1 1
6864 EOF 6869 EOF
6865 6870
6866 echo "$as_me:6866: checking for XpCreateContext in -lXp" >&5 6871 echo "$as_me:6871: checking for XpCreateContext in -lXp" >&5
6867 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6872 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6868 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6873 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6 6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 else 6875 else
6871 ac_check_lib_save_LIBS=$LIBS 6876 ac_check_lib_save_LIBS=$LIBS
6888 ; 6893 ;
6889 return 0; 6894 return 0;
6890 } 6895 }
6891 _ACEOF 6896 _ACEOF
6892 rm -f conftest.$ac_objext conftest$ac_exeext 6897 rm -f conftest.$ac_objext conftest$ac_exeext
6893 if { (eval echo "$as_me:6893: \"$ac_link\"") >&5 6898 if { (eval echo "$as_me:6898: \"$ac_link\"") >&5
6894 (eval $ac_link) 2>&5 6899 (eval $ac_link) 2>&5
6895 ac_status=$? 6900 ac_status=$?
6896 echo "$as_me:6896: \$? = $ac_status" >&5 6901 echo "$as_me:6901: \$? = $ac_status" >&5
6897 (exit $ac_status); } && 6902 (exit $ac_status); } &&
6898 { ac_try='test -s conftest$ac_exeext' 6903 { ac_try='test -s conftest$ac_exeext'
6899 { (eval echo "$as_me:6899: \"$ac_try\"") >&5 6904 { (eval echo "$as_me:6904: \"$ac_try\"") >&5
6900 (eval $ac_try) 2>&5 6905 (eval $ac_try) 2>&5
6901 ac_status=$? 6906 ac_status=$?
6902 echo "$as_me:6902: \$? = $ac_status" >&5 6907 echo "$as_me:6907: \$? = $ac_status" >&5
6903 (exit $ac_status); }; }; then 6908 (exit $ac_status); }; }; then
6904 ac_cv_lib_Xp_XpCreateContext=yes 6909 ac_cv_lib_Xp_XpCreateContext=yes
6905 else 6910 else
6906 echo "$as_me: failed program was:" >&5 6911 echo "$as_me: failed program was:" >&5
6907 cat conftest.$ac_ext >&5 6912 cat conftest.$ac_ext >&5
6908 ac_cv_lib_Xp_XpCreateContext=no 6913 ac_cv_lib_Xp_XpCreateContext=no
6909 fi 6914 fi
6910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6911 LIBS=$ac_check_lib_save_LIBS 6916 LIBS=$ac_check_lib_save_LIBS
6912 fi 6917 fi
6913 echo "$as_me:6913: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6918 echo "$as_me:6918: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6914 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6919 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6915 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6920 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6916 HAVE_LIBXP=yes 6921 HAVE_LIBXP=yes
6917 fi 6922 fi
6918 6923
6928 6933
6929 ### Is -lXaw3d available? 6934 ### Is -lXaw3d available?
6930 HAVE_XAW3D=no 6935 HAVE_XAW3D=no
6931 if test "${HAVE_X11}" = "yes"; then 6936 if test "${HAVE_X11}" = "yes"; then
6932 if test "${USE_X_TOOLKIT}" != "none"; then 6937 if test "${USE_X_TOOLKIT}" != "none"; then
6933 echo "$as_me:6933: checking for X11/Xaw3d/Scrollbar.h" >&5 6938 echo "$as_me:6938: checking for X11/Xaw3d/Scrollbar.h" >&5
6934 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6939 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6935 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6940 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6 6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6937 else 6942 else
6938 cat >conftest.$ac_ext <<_ACEOF 6943 cat >conftest.$ac_ext <<_ACEOF
6939 #line 6939 "configure" 6944 #line 6939 "configure"
6940 #include "confdefs.h" 6945 #include "confdefs.h"
6941 #include <X11/Xaw3d/Scrollbar.h> 6946 #include <X11/Xaw3d/Scrollbar.h>
6942 _ACEOF 6947 _ACEOF
6943 if { (eval echo "$as_me:6943: \"$ac_cpp conftest.$ac_ext\"") >&5 6948 if { (eval echo "$as_me:6948: \"$ac_cpp conftest.$ac_ext\"") >&5
6944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6945 ac_status=$? 6950 ac_status=$?
6946 egrep -v '^ *\+' conftest.er1 >conftest.err 6951 egrep -v '^ *\+' conftest.er1 >conftest.err
6947 rm -f conftest.er1 6952 rm -f conftest.er1
6948 cat conftest.err >&5 6953 cat conftest.err >&5
6949 echo "$as_me:6949: \$? = $ac_status" >&5 6954 echo "$as_me:6954: \$? = $ac_status" >&5
6950 (exit $ac_status); } >/dev/null; then 6955 (exit $ac_status); } >/dev/null; then
6951 if test -s conftest.err; then 6956 if test -s conftest.err; then
6952 ac_cpp_err=$ac_c_preproc_warn_flag 6957 ac_cpp_err=$ac_c_preproc_warn_flag
6953 else 6958 else
6954 ac_cpp_err= 6959 ac_cpp_err=
6963 cat conftest.$ac_ext >&5 6968 cat conftest.$ac_ext >&5
6964 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6969 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6965 fi 6970 fi
6966 rm -f conftest.err conftest.$ac_ext 6971 rm -f conftest.err conftest.$ac_ext
6967 fi 6972 fi
6968 echo "$as_me:6968: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6973 echo "$as_me:6973: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6969 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6974 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6970 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6975 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6971 echo "$as_me:6971: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6976 echo "$as_me:6976: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6972 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6977 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6973 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6978 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6 6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 else 6980 else
6976 ac_check_lib_save_LIBS=$LIBS 6981 ac_check_lib_save_LIBS=$LIBS
6993 ; 6998 ;
6994 return 0; 6999 return 0;
6995 } 7000 }
6996 _ACEOF 7001 _ACEOF
6997 rm -f conftest.$ac_objext conftest$ac_exeext 7002 rm -f conftest.$ac_objext conftest$ac_exeext
6998 if { (eval echo "$as_me:6998: \"$ac_link\"") >&5 7003 if { (eval echo "$as_me:7003: \"$ac_link\"") >&5
6999 (eval $ac_link) 2>&5 7004 (eval $ac_link) 2>&5
7000 ac_status=$? 7005 ac_status=$?
7001 echo "$as_me:7001: \$? = $ac_status" >&5 7006 echo "$as_me:7006: \$? = $ac_status" >&5
7002 (exit $ac_status); } && 7007 (exit $ac_status); } &&
7003 { ac_try='test -s conftest$ac_exeext' 7008 { ac_try='test -s conftest$ac_exeext'
7004 { (eval echo "$as_me:7004: \"$ac_try\"") >&5 7009 { (eval echo "$as_me:7009: \"$ac_try\"") >&5
7005 (eval $ac_try) 2>&5 7010 (eval $ac_try) 2>&5
7006 ac_status=$? 7011 ac_status=$?
7007 echo "$as_me:7007: \$? = $ac_status" >&5 7012 echo "$as_me:7012: \$? = $ac_status" >&5
7008 (exit $ac_status); }; }; then 7013 (exit $ac_status); }; }; then
7009 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 7014 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
7010 else 7015 else
7011 echo "$as_me: failed program was:" >&5 7016 echo "$as_me: failed program was:" >&5
7012 cat conftest.$ac_ext >&5 7017 cat conftest.$ac_ext >&5
7013 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 7018 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
7014 fi 7019 fi
7015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7016 LIBS=$ac_check_lib_save_LIBS 7021 LIBS=$ac_check_lib_save_LIBS
7017 fi 7022 fi
7018 echo "$as_me:7018: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 7023 echo "$as_me:7023: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7019 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 7024 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7020 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 7025 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7021 HAVE_XAW3D=yes 7026 HAVE_XAW3D=yes
7022 fi 7027 fi
7023 7028
7063 7068
7064 ### Use -lXpm if available, unless `--with-xpm=no'. 7069 ### Use -lXpm if available, unless `--with-xpm=no'.
7065 HAVE_XPM=no 7070 HAVE_XPM=no
7066 if test "${HAVE_X11}" = "yes"; then 7071 if test "${HAVE_X11}" = "yes"; then
7067 if test "${with_xpm}" != "no"; then 7072 if test "${with_xpm}" != "no"; then
7068 echo "$as_me:7068: checking for X11/xpm.h" >&5 7073 echo "$as_me:7073: checking for X11/xpm.h" >&5
7069 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 7074 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7070 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 7075 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6 7076 echo $ECHO_N "(cached) $ECHO_C" >&6
7072 else 7077 else
7073 cat >conftest.$ac_ext <<_ACEOF 7078 cat >conftest.$ac_ext <<_ACEOF
7074 #line 7074 "configure" 7079 #line 7074 "configure"
7075 #include "confdefs.h" 7080 #include "confdefs.h"
7076 #include <X11/xpm.h> 7081 #include <X11/xpm.h>
7077 _ACEOF 7082 _ACEOF
7078 if { (eval echo "$as_me:7078: \"$ac_cpp conftest.$ac_ext\"") >&5 7083 if { (eval echo "$as_me:7083: \"$ac_cpp conftest.$ac_ext\"") >&5
7079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7080 ac_status=$? 7085 ac_status=$?
7081 egrep -v '^ *\+' conftest.er1 >conftest.err 7086 egrep -v '^ *\+' conftest.er1 >conftest.err
7082 rm -f conftest.er1 7087 rm -f conftest.er1
7083 cat conftest.err >&5 7088 cat conftest.err >&5
7084 echo "$as_me:7084: \$? = $ac_status" >&5 7089 echo "$as_me:7089: \$? = $ac_status" >&5
7085 (exit $ac_status); } >/dev/null; then 7090 (exit $ac_status); } >/dev/null; then
7086 if test -s conftest.err; then 7091 if test -s conftest.err; then
7087 ac_cpp_err=$ac_c_preproc_warn_flag 7092 ac_cpp_err=$ac_c_preproc_warn_flag
7088 else 7093 else
7089 ac_cpp_err= 7094 ac_cpp_err=
7098 cat conftest.$ac_ext >&5 7103 cat conftest.$ac_ext >&5
7099 ac_cv_header_X11_xpm_h=no 7104 ac_cv_header_X11_xpm_h=no
7100 fi 7105 fi
7101 rm -f conftest.err conftest.$ac_ext 7106 rm -f conftest.err conftest.$ac_ext
7102 fi 7107 fi
7103 echo "$as_me:7103: result: $ac_cv_header_X11_xpm_h" >&5 7108 echo "$as_me:7108: result: $ac_cv_header_X11_xpm_h" >&5
7104 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7109 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7105 if test $ac_cv_header_X11_xpm_h = yes; then 7110 if test $ac_cv_header_X11_xpm_h = yes; then
7106 echo "$as_me:7106: checking for XpmReadFileToPixmap in -lXpm" >&5 7111 echo "$as_me:7111: checking for XpmReadFileToPixmap in -lXpm" >&5
7107 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7112 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7108 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7113 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6 7114 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 else 7115 else
7111 ac_check_lib_save_LIBS=$LIBS 7116 ac_check_lib_save_LIBS=$LIBS
7128 ; 7133 ;
7129 return 0; 7134 return 0;
7130 } 7135 }
7131 _ACEOF 7136 _ACEOF
7132 rm -f conftest.$ac_objext conftest$ac_exeext 7137 rm -f conftest.$ac_objext conftest$ac_exeext
7133 if { (eval echo "$as_me:7133: \"$ac_link\"") >&5 7138 if { (eval echo "$as_me:7138: \"$ac_link\"") >&5
7134 (eval $ac_link) 2>&5 7139 (eval $ac_link) 2>&5
7135 ac_status=$? 7140 ac_status=$?
7136 echo "$as_me:7136: \$? = $ac_status" >&5 7141 echo "$as_me:7141: \$? = $ac_status" >&5
7137 (exit $ac_status); } && 7142 (exit $ac_status); } &&
7138 { ac_try='test -s conftest$ac_exeext' 7143 { ac_try='test -s conftest$ac_exeext'
7139 { (eval echo "$as_me:7139: \"$ac_try\"") >&5 7144 { (eval echo "$as_me:7144: \"$ac_try\"") >&5
7140 (eval $ac_try) 2>&5 7145 (eval $ac_try) 2>&5
7141 ac_status=$? 7146 ac_status=$?
7142 echo "$as_me:7142: \$? = $ac_status" >&5 7147 echo "$as_me:7147: \$? = $ac_status" >&5
7143 (exit $ac_status); }; }; then 7148 (exit $ac_status); }; }; then
7144 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7149 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7145 else 7150 else
7146 echo "$as_me: failed program was:" >&5 7151 echo "$as_me: failed program was:" >&5
7147 cat conftest.$ac_ext >&5 7152 cat conftest.$ac_ext >&5
7148 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7153 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7149 fi 7154 fi
7150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7151 LIBS=$ac_check_lib_save_LIBS 7156 LIBS=$ac_check_lib_save_LIBS
7152 fi 7157 fi
7153 echo "$as_me:7153: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7158 echo "$as_me:7158: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7154 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7159 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7155 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7160 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7156 HAVE_XPM=yes 7161 HAVE_XPM=yes
7157 fi 7162 fi
7158 7163
7159 fi 7164 fi
7160 7165
7161 if test "${HAVE_XPM}" = "yes"; then 7166 if test "${HAVE_XPM}" = "yes"; then
7162 echo "$as_me:7162: checking for XpmReturnAllocPixels preprocessor define" >&5 7167 echo "$as_me:7167: checking for XpmReturnAllocPixels preprocessor define" >&5
7163 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7168 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7164 cat >conftest.$ac_ext <<_ACEOF 7169 cat >conftest.$ac_ext <<_ACEOF
7165 #line 7165 "configure" 7170 #line 7165 "configure"
7166 #include "confdefs.h" 7171 #include "confdefs.h"
7167 #include "X11/xpm.h" 7172 #include "X11/xpm.h"
7177 HAVE_XPM=yes 7182 HAVE_XPM=yes
7178 fi 7183 fi
7179 rm -f conftest* 7184 rm -f conftest*
7180 7185
7181 if test "${HAVE_XPM}" = "yes"; then 7186 if test "${HAVE_XPM}" = "yes"; then
7182 echo "$as_me:7182: result: yes" >&5 7187 echo "$as_me:7187: result: yes" >&5
7183 echo "${ECHO_T}yes" >&6 7188 echo "${ECHO_T}yes" >&6
7184 else 7189 else
7185 echo "$as_me:7185: result: no" >&5 7190 echo "$as_me:7190: result: no" >&5
7186 echo "${ECHO_T}no" >&6 7191 echo "${ECHO_T}no" >&6
7187 fi 7192 fi
7188 fi 7193 fi
7189 fi 7194 fi
7190 7195
7199 7204
7200 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7205 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7201 HAVE_JPEG=no 7206 HAVE_JPEG=no
7202 if test "${HAVE_X11}" = "yes"; then 7207 if test "${HAVE_X11}" = "yes"; then
7203 if test "${with_jpeg}" != "no"; then 7208 if test "${with_jpeg}" != "no"; then
7204 echo "$as_me:7204: checking for jerror.h" >&5 7209 echo "$as_me:7209: checking for jerror.h" >&5
7205 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7210 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7206 if test "${ac_cv_header_jerror_h+set}" = set; then 7211 if test "${ac_cv_header_jerror_h+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6 7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 else 7213 else
7209 cat >conftest.$ac_ext <<_ACEOF 7214 cat >conftest.$ac_ext <<_ACEOF
7210 #line 7210 "configure" 7215 #line 7210 "configure"
7211 #include "confdefs.h" 7216 #include "confdefs.h"
7212 #include <jerror.h> 7217 #include <jerror.h>
7213 _ACEOF 7218 _ACEOF
7214 if { (eval echo "$as_me:7214: \"$ac_cpp conftest.$ac_ext\"") >&5 7219 if { (eval echo "$as_me:7219: \"$ac_cpp conftest.$ac_ext\"") >&5
7215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7216 ac_status=$? 7221 ac_status=$?
7217 egrep -v '^ *\+' conftest.er1 >conftest.err 7222 egrep -v '^ *\+' conftest.er1 >conftest.err
7218 rm -f conftest.er1 7223 rm -f conftest.er1
7219 cat conftest.err >&5 7224 cat conftest.err >&5
7220 echo "$as_me:7220: \$? = $ac_status" >&5 7225 echo "$as_me:7225: \$? = $ac_status" >&5
7221 (exit $ac_status); } >/dev/null; then 7226 (exit $ac_status); } >/dev/null; then
7222 if test -s conftest.err; then 7227 if test -s conftest.err; then
7223 ac_cpp_err=$ac_c_preproc_warn_flag 7228 ac_cpp_err=$ac_c_preproc_warn_flag
7224 else 7229 else
7225 ac_cpp_err= 7230 ac_cpp_err=
7234 cat conftest.$ac_ext >&5 7239 cat conftest.$ac_ext >&5
7235 ac_cv_header_jerror_h=no 7240 ac_cv_header_jerror_h=no
7236 fi 7241 fi
7237 rm -f conftest.err conftest.$ac_ext 7242 rm -f conftest.err conftest.$ac_ext
7238 fi 7243 fi
7239 echo "$as_me:7239: result: $ac_cv_header_jerror_h" >&5 7244 echo "$as_me:7244: result: $ac_cv_header_jerror_h" >&5
7240 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7245 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7241 if test $ac_cv_header_jerror_h = yes; then 7246 if test $ac_cv_header_jerror_h = yes; then
7242 echo "$as_me:7242: checking for jpeg_destroy_compress in -ljpeg" >&5 7247 echo "$as_me:7247: checking for jpeg_destroy_compress in -ljpeg" >&5
7243 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7248 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7244 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7249 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6 7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 else 7251 else
7247 ac_check_lib_save_LIBS=$LIBS 7252 ac_check_lib_save_LIBS=$LIBS
7264 ; 7269 ;
7265 return 0; 7270 return 0;
7266 } 7271 }
7267 _ACEOF 7272 _ACEOF
7268 rm -f conftest.$ac_objext conftest$ac_exeext 7273 rm -f conftest.$ac_objext conftest$ac_exeext
7269 if { (eval echo "$as_me:7269: \"$ac_link\"") >&5 7274 if { (eval echo "$as_me:7274: \"$ac_link\"") >&5
7270 (eval $ac_link) 2>&5 7275 (eval $ac_link) 2>&5
7271 ac_status=$? 7276 ac_status=$?
7272 echo "$as_me:7272: \$? = $ac_status" >&5 7277 echo "$as_me:7277: \$? = $ac_status" >&5
7273 (exit $ac_status); } && 7278 (exit $ac_status); } &&
7274 { ac_try='test -s conftest$ac_exeext' 7279 { ac_try='test -s conftest$ac_exeext'
7275 { (eval echo "$as_me:7275: \"$ac_try\"") >&5 7280 { (eval echo "$as_me:7280: \"$ac_try\"") >&5
7276 (eval $ac_try) 2>&5 7281 (eval $ac_try) 2>&5
7277 ac_status=$? 7282 ac_status=$?
7278 echo "$as_me:7278: \$? = $ac_status" >&5 7283 echo "$as_me:7283: \$? = $ac_status" >&5
7279 (exit $ac_status); }; }; then 7284 (exit $ac_status); }; }; then
7280 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7285 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7281 else 7286 else
7282 echo "$as_me: failed program was:" >&5 7287 echo "$as_me: failed program was:" >&5
7283 cat conftest.$ac_ext >&5 7288 cat conftest.$ac_ext >&5
7284 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7289 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7285 fi 7290 fi
7286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7287 LIBS=$ac_check_lib_save_LIBS 7292 LIBS=$ac_check_lib_save_LIBS
7288 fi 7293 fi
7289 echo "$as_me:7289: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7294 echo "$as_me:7294: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7290 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7295 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7291 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7296 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7292 HAVE_JPEG=yes 7297 HAVE_JPEG=yes
7293 fi 7298 fi
7294 7299
7313 cat >>confdefs.h <<\EOF 7318 cat >>confdefs.h <<\EOF
7314 #define HAVE_JPEG 1 7319 #define HAVE_JPEG 1
7315 EOF 7320 EOF
7316 7321
7317 else 7322 else
7318 { echo "$as_me:7318: WARNING: libjpeg found, but not version 6b or later" >&5 7323 { echo "$as_me:7323: WARNING: libjpeg found, but not version 6b or later" >&5
7319 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 7324 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7320 HAVE_JPEG=no 7325 HAVE_JPEG=no
7321 fi 7326 fi
7322 rm -f conftest* 7327 rm -f conftest*
7323 7328
7326 7331
7327 ### Use -lpng if available, unless `--with-png=no'. 7332 ### Use -lpng if available, unless `--with-png=no'.
7328 HAVE_PNG=no 7333 HAVE_PNG=no
7329 if test "${HAVE_X11}" = "yes"; then 7334 if test "${HAVE_X11}" = "yes"; then
7330 if test "${with_png}" != "no"; then 7335 if test "${with_png}" != "no"; then
7331 echo "$as_me:7331: checking for png.h" >&5 7336 echo "$as_me:7336: checking for png.h" >&5
7332 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7337 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7333 if test "${ac_cv_header_png_h+set}" = set; then 7338 if test "${ac_cv_header_png_h+set}" = set; then
7334 echo $ECHO_N "(cached) $ECHO_C" >&6 7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 else 7340 else
7336 cat >conftest.$ac_ext <<_ACEOF 7341 cat >conftest.$ac_ext <<_ACEOF
7337 #line 7337 "configure" 7342 #line 7337 "configure"
7338 #include "confdefs.h" 7343 #include "confdefs.h"
7339 #include <png.h> 7344 #include <png.h>
7340 _ACEOF 7345 _ACEOF
7341 if { (eval echo "$as_me:7341: \"$ac_cpp conftest.$ac_ext\"") >&5 7346 if { (eval echo "$as_me:7346: \"$ac_cpp conftest.$ac_ext\"") >&5
7342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7343 ac_status=$? 7348 ac_status=$?
7344 egrep -v '^ *\+' conftest.er1 >conftest.err 7349 egrep -v '^ *\+' conftest.er1 >conftest.err
7345 rm -f conftest.er1 7350 rm -f conftest.er1
7346 cat conftest.err >&5 7351 cat conftest.err >&5
7347 echo "$as_me:7347: \$? = $ac_status" >&5 7352 echo "$as_me:7352: \$? = $ac_status" >&5
7348 (exit $ac_status); } >/dev/null; then 7353 (exit $ac_status); } >/dev/null; then
7349 if test -s conftest.err; then 7354 if test -s conftest.err; then
7350 ac_cpp_err=$ac_c_preproc_warn_flag 7355 ac_cpp_err=$ac_c_preproc_warn_flag
7351 else 7356 else
7352 ac_cpp_err= 7357 ac_cpp_err=
7361 cat conftest.$ac_ext >&5 7366 cat conftest.$ac_ext >&5
7362 ac_cv_header_png_h=no 7367 ac_cv_header_png_h=no
7363 fi 7368 fi
7364 rm -f conftest.err conftest.$ac_ext 7369 rm -f conftest.err conftest.$ac_ext
7365 fi 7370 fi
7366 echo "$as_me:7366: result: $ac_cv_header_png_h" >&5 7371 echo "$as_me:7371: result: $ac_cv_header_png_h" >&5
7367 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7372 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7368 if test $ac_cv_header_png_h = yes; then 7373 if test $ac_cv_header_png_h = yes; then
7369 echo "$as_me:7369: checking for png_get_channels in -lpng" >&5 7374 echo "$as_me:7374: checking for png_get_channels in -lpng" >&5
7370 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7375 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7371 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7376 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6 7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7373 else 7378 else
7374 ac_check_lib_save_LIBS=$LIBS 7379 ac_check_lib_save_LIBS=$LIBS
7391 ; 7396 ;
7392 return 0; 7397 return 0;
7393 } 7398 }
7394 _ACEOF 7399 _ACEOF
7395 rm -f conftest.$ac_objext conftest$ac_exeext 7400 rm -f conftest.$ac_objext conftest$ac_exeext
7396 if { (eval echo "$as_me:7396: \"$ac_link\"") >&5 7401 if { (eval echo "$as_me:7401: \"$ac_link\"") >&5
7397 (eval $ac_link) 2>&5 7402 (eval $ac_link) 2>&5
7398 ac_status=$? 7403 ac_status=$?
7399 echo "$as_me:7399: \$? = $ac_status" >&5 7404 echo "$as_me:7404: \$? = $ac_status" >&5
7400 (exit $ac_status); } && 7405 (exit $ac_status); } &&
7401 { ac_try='test -s conftest$ac_exeext' 7406 { ac_try='test -s conftest$ac_exeext'
7402 { (eval echo "$as_me:7402: \"$ac_try\"") >&5 7407 { (eval echo "$as_me:7407: \"$ac_try\"") >&5
7403 (eval $ac_try) 2>&5 7408 (eval $ac_try) 2>&5
7404 ac_status=$? 7409 ac_status=$?
7405 echo "$as_me:7405: \$? = $ac_status" >&5 7410 echo "$as_me:7410: \$? = $ac_status" >&5
7406 (exit $ac_status); }; }; then 7411 (exit $ac_status); }; }; then
7407 ac_cv_lib_png_png_get_channels=yes 7412 ac_cv_lib_png_png_get_channels=yes
7408 else 7413 else
7409 echo "$as_me: failed program was:" >&5 7414 echo "$as_me: failed program was:" >&5
7410 cat conftest.$ac_ext >&5 7415 cat conftest.$ac_ext >&5
7411 ac_cv_lib_png_png_get_channels=no 7416 ac_cv_lib_png_png_get_channels=no
7412 fi 7417 fi
7413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7414 LIBS=$ac_check_lib_save_LIBS 7419 LIBS=$ac_check_lib_save_LIBS
7415 fi 7420 fi
7416 echo "$as_me:7416: result: $ac_cv_lib_png_png_get_channels" >&5 7421 echo "$as_me:7421: result: $ac_cv_lib_png_png_get_channels" >&5
7417 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7422 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7418 if test $ac_cv_lib_png_png_get_channels = yes; then 7423 if test $ac_cv_lib_png_png_get_channels = yes; then
7419 HAVE_PNG=yes 7424 HAVE_PNG=yes
7420 fi 7425 fi
7421 7426
7434 7439
7435 ### Use -ltiff if available, unless `--with-tiff=no'. 7440 ### Use -ltiff if available, unless `--with-tiff=no'.
7436 HAVE_TIFF=no 7441 HAVE_TIFF=no
7437 if test "${HAVE_X11}" = "yes"; then 7442 if test "${HAVE_X11}" = "yes"; then
7438 if test "${with_tiff}" != "no"; then 7443 if test "${with_tiff}" != "no"; then
7439 echo "$as_me:7439: checking for tiffio.h" >&5 7444 echo "$as_me:7444: checking for tiffio.h" >&5
7440 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7445 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7441 if test "${ac_cv_header_tiffio_h+set}" = set; then 7446 if test "${ac_cv_header_tiffio_h+set}" = set; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6 7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 else 7448 else
7444 cat >conftest.$ac_ext <<_ACEOF 7449 cat >conftest.$ac_ext <<_ACEOF
7445 #line 7445 "configure" 7450 #line 7445 "configure"
7446 #include "confdefs.h" 7451 #include "confdefs.h"
7447 #include <tiffio.h> 7452 #include <tiffio.h>
7448 _ACEOF 7453 _ACEOF
7449 if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5 7454 if { (eval echo "$as_me:7454: \"$ac_cpp conftest.$ac_ext\"") >&5
7450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7451 ac_status=$? 7456 ac_status=$?
7452 egrep -v '^ *\+' conftest.er1 >conftest.err 7457 egrep -v '^ *\+' conftest.er1 >conftest.err
7453 rm -f conftest.er1 7458 rm -f conftest.er1
7454 cat conftest.err >&5 7459 cat conftest.err >&5
7455 echo "$as_me:7455: \$? = $ac_status" >&5 7460 echo "$as_me:7460: \$? = $ac_status" >&5
7456 (exit $ac_status); } >/dev/null; then 7461 (exit $ac_status); } >/dev/null; then
7457 if test -s conftest.err; then 7462 if test -s conftest.err; then
7458 ac_cpp_err=$ac_c_preproc_warn_flag 7463 ac_cpp_err=$ac_c_preproc_warn_flag
7459 else 7464 else
7460 ac_cpp_err= 7465 ac_cpp_err=
7469 cat conftest.$ac_ext >&5 7474 cat conftest.$ac_ext >&5
7470 ac_cv_header_tiffio_h=no 7475 ac_cv_header_tiffio_h=no
7471 fi 7476 fi
7472 rm -f conftest.err conftest.$ac_ext 7477 rm -f conftest.err conftest.$ac_ext
7473 fi 7478 fi
7474 echo "$as_me:7474: result: $ac_cv_header_tiffio_h" >&5 7479 echo "$as_me:7479: result: $ac_cv_header_tiffio_h" >&5
7475 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7480 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7476 if test $ac_cv_header_tiffio_h = yes; then 7481 if test $ac_cv_header_tiffio_h = yes; then
7477 tifflibs="-lz -lm" 7482 tifflibs="-lz -lm"
7478 # At least one tiff package requires the jpeg library. 7483 # At least one tiff package requires the jpeg library.
7479 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7484 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7480 echo "$as_me:7480: checking for TIFFGetVersion in -ltiff" >&5 7485 echo "$as_me:7485: checking for TIFFGetVersion in -ltiff" >&5
7481 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7486 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7482 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7487 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6 7488 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 else 7489 else
7485 ac_check_lib_save_LIBS=$LIBS 7490 ac_check_lib_save_LIBS=$LIBS
7502 ; 7507 ;
7503 return 0; 7508 return 0;
7504 } 7509 }
7505 _ACEOF 7510 _ACEOF
7506 rm -f conftest.$ac_objext conftest$ac_exeext 7511 rm -f conftest.$ac_objext conftest$ac_exeext
7507 if { (eval echo "$as_me:7507: \"$ac_link\"") >&5 7512 if { (eval echo "$as_me:7512: \"$ac_link\"") >&5
7508 (eval $ac_link) 2>&5 7513 (eval $ac_link) 2>&5
7509 ac_status=$? 7514 ac_status=$?
7510 echo "$as_me:7510: \$? = $ac_status" >&5 7515 echo "$as_me:7515: \$? = $ac_status" >&5
7511 (exit $ac_status); } && 7516 (exit $ac_status); } &&
7512 { ac_try='test -s conftest$ac_exeext' 7517 { ac_try='test -s conftest$ac_exeext'
7513 { (eval echo "$as_me:7513: \"$ac_try\"") >&5 7518 { (eval echo "$as_me:7518: \"$ac_try\"") >&5
7514 (eval $ac_try) 2>&5 7519 (eval $ac_try) 2>&5
7515 ac_status=$? 7520 ac_status=$?
7516 echo "$as_me:7516: \$? = $ac_status" >&5 7521 echo "$as_me:7521: \$? = $ac_status" >&5
7517 (exit $ac_status); }; }; then 7522 (exit $ac_status); }; }; then
7518 ac_cv_lib_tiff_TIFFGetVersion=yes 7523 ac_cv_lib_tiff_TIFFGetVersion=yes
7519 else 7524 else
7520 echo "$as_me: failed program was:" >&5 7525 echo "$as_me: failed program was:" >&5
7521 cat conftest.$ac_ext >&5 7526 cat conftest.$ac_ext >&5
7522 ac_cv_lib_tiff_TIFFGetVersion=no 7527 ac_cv_lib_tiff_TIFFGetVersion=no
7523 fi 7528 fi
7524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7525 LIBS=$ac_check_lib_save_LIBS 7530 LIBS=$ac_check_lib_save_LIBS
7526 fi 7531 fi
7527 echo "$as_me:7527: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7532 echo "$as_me:7532: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7528 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7533 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7529 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7534 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7530 HAVE_TIFF=yes 7535 HAVE_TIFF=yes
7531 fi 7536 fi
7532 7537
7545 7550
7546 ### Use -lgif if available, unless `--with-gif=no'. 7551 ### Use -lgif if available, unless `--with-gif=no'.
7547 HAVE_GIF=no 7552 HAVE_GIF=no
7548 if test "${HAVE_X11}" = "yes"; then 7553 if test "${HAVE_X11}" = "yes"; then
7549 if test "${with_gif}" != "no"; then 7554 if test "${with_gif}" != "no"; then
7550 echo "$as_me:7550: checking for gif_lib.h" >&5 7555 echo "$as_me:7555: checking for gif_lib.h" >&5
7551 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7556 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7552 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7557 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6 7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 else 7559 else
7555 cat >conftest.$ac_ext <<_ACEOF 7560 cat >conftest.$ac_ext <<_ACEOF
7556 #line 7556 "configure" 7561 #line 7556 "configure"
7557 #include "confdefs.h" 7562 #include "confdefs.h"
7558 #include <gif_lib.h> 7563 #include <gif_lib.h>
7559 _ACEOF 7564 _ACEOF
7560 if { (eval echo "$as_me:7560: \"$ac_cpp conftest.$ac_ext\"") >&5 7565 if { (eval echo "$as_me:7565: \"$ac_cpp conftest.$ac_ext\"") >&5
7561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7562 ac_status=$? 7567 ac_status=$?
7563 egrep -v '^ *\+' conftest.er1 >conftest.err 7568 egrep -v '^ *\+' conftest.er1 >conftest.err
7564 rm -f conftest.er1 7569 rm -f conftest.er1
7565 cat conftest.err >&5 7570 cat conftest.err >&5
7566 echo "$as_me:7566: \$? = $ac_status" >&5 7571 echo "$as_me:7571: \$? = $ac_status" >&5
7567 (exit $ac_status); } >/dev/null; then 7572 (exit $ac_status); } >/dev/null; then
7568 if test -s conftest.err; then 7573 if test -s conftest.err; then
7569 ac_cpp_err=$ac_c_preproc_warn_flag 7574 ac_cpp_err=$ac_c_preproc_warn_flag
7570 else 7575 else
7571 ac_cpp_err= 7576 ac_cpp_err=
7580 cat conftest.$ac_ext >&5 7585 cat conftest.$ac_ext >&5
7581 ac_cv_header_gif_lib_h=no 7586 ac_cv_header_gif_lib_h=no
7582 fi 7587 fi
7583 rm -f conftest.err conftest.$ac_ext 7588 rm -f conftest.err conftest.$ac_ext
7584 fi 7589 fi
7585 echo "$as_me:7585: result: $ac_cv_header_gif_lib_h" >&5 7590 echo "$as_me:7590: result: $ac_cv_header_gif_lib_h" >&5
7586 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7591 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7587 if test $ac_cv_header_gif_lib_h = yes; then 7592 if test $ac_cv_header_gif_lib_h = yes; then
7588 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 7593 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7589 # Earlier versions can crash Emacs. 7594 # Earlier versions can crash Emacs.
7590 echo "$as_me:7590: checking for EGifPutExtensionLast in -lungif" >&5 7595 echo "$as_me:7595: checking for EGifPutExtensionLast in -lungif" >&5
7591 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 7596 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7592 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 7597 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6 7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7594 else 7599 else
7595 ac_check_lib_save_LIBS=$LIBS 7600 ac_check_lib_save_LIBS=$LIBS
7612 ; 7617 ;
7613 return 0; 7618 return 0;
7614 } 7619 }
7615 _ACEOF 7620 _ACEOF
7616 rm -f conftest.$ac_objext conftest$ac_exeext 7621 rm -f conftest.$ac_objext conftest$ac_exeext
7617 if { (eval echo "$as_me:7617: \"$ac_link\"") >&5 7622 if { (eval echo "$as_me:7622: \"$ac_link\"") >&5
7618 (eval $ac_link) 2>&5 7623 (eval $ac_link) 2>&5
7619 ac_status=$? 7624 ac_status=$?
7620 echo "$as_me:7620: \$? = $ac_status" >&5 7625 echo "$as_me:7625: \$? = $ac_status" >&5
7621 (exit $ac_status); } && 7626 (exit $ac_status); } &&
7622 { ac_try='test -s conftest$ac_exeext' 7627 { ac_try='test -s conftest$ac_exeext'
7623 { (eval echo "$as_me:7623: \"$ac_try\"") >&5 7628 { (eval echo "$as_me:7628: \"$ac_try\"") >&5
7624 (eval $ac_try) 2>&5 7629 (eval $ac_try) 2>&5
7625 ac_status=$? 7630 ac_status=$?
7626 echo "$as_me:7626: \$? = $ac_status" >&5 7631 echo "$as_me:7631: \$? = $ac_status" >&5
7627 (exit $ac_status); }; }; then 7632 (exit $ac_status); }; }; then
7628 ac_cv_lib_ungif_EGifPutExtensionLast=yes 7633 ac_cv_lib_ungif_EGifPutExtensionLast=yes
7629 else 7634 else
7630 echo "$as_me: failed program was:" >&5 7635 echo "$as_me: failed program was:" >&5
7631 cat conftest.$ac_ext >&5 7636 cat conftest.$ac_ext >&5
7632 ac_cv_lib_ungif_EGifPutExtensionLast=no 7637 ac_cv_lib_ungif_EGifPutExtensionLast=no
7633 fi 7638 fi
7634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7639 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7635 LIBS=$ac_check_lib_save_LIBS 7640 LIBS=$ac_check_lib_save_LIBS
7636 fi 7641 fi
7637 echo "$as_me:7637: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 7642 echo "$as_me:7642: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7638 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 7643 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7639 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 7644 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7640 HAVE_GIF=yes 7645 HAVE_GIF=yes
7641 fi 7646 fi
7642 7647
7654 fi 7659 fi
7655 7660
7656 ### Use Mac OS X Carbon API to implement GUI. 7661 ### Use Mac OS X Carbon API to implement GUI.
7657 HAVE_CARBON=no 7662 HAVE_CARBON=no
7658 if test "${with_carbon}" != "no"; then 7663 if test "${with_carbon}" != "no"; then
7659 echo "$as_me:7659: checking for Carbon/Carbon.h" >&5 7664 echo "$as_me:7664: checking for Carbon/Carbon.h" >&5
7660 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 7665 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7661 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 7666 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7662 echo $ECHO_N "(cached) $ECHO_C" >&6 7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7663 else 7668 else
7664 cat >conftest.$ac_ext <<_ACEOF 7669 cat >conftest.$ac_ext <<_ACEOF
7665 #line 7665 "configure" 7670 #line 7665 "configure"
7666 #include "confdefs.h" 7671 #include "confdefs.h"
7667 #include <Carbon/Carbon.h> 7672 #include <Carbon/Carbon.h>
7668 _ACEOF 7673 _ACEOF
7669 if { (eval echo "$as_me:7669: \"$ac_cpp conftest.$ac_ext\"") >&5 7674 if { (eval echo "$as_me:7674: \"$ac_cpp conftest.$ac_ext\"") >&5
7670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7671 ac_status=$? 7676 ac_status=$?
7672 egrep -v '^ *\+' conftest.er1 >conftest.err 7677 egrep -v '^ *\+' conftest.er1 >conftest.err
7673 rm -f conftest.er1 7678 rm -f conftest.er1
7674 cat conftest.err >&5 7679 cat conftest.err >&5
7675 echo "$as_me:7675: \$? = $ac_status" >&5 7680 echo "$as_me:7680: \$? = $ac_status" >&5
7676 (exit $ac_status); } >/dev/null; then 7681 (exit $ac_status); } >/dev/null; then
7677 if test -s conftest.err; then 7682 if test -s conftest.err; then
7678 ac_cpp_err=$ac_c_preproc_warn_flag 7683 ac_cpp_err=$ac_c_preproc_warn_flag
7679 else 7684 else
7680 ac_cpp_err= 7685 ac_cpp_err=
7689 cat conftest.$ac_ext >&5 7694 cat conftest.$ac_ext >&5
7690 ac_cv_header_Carbon_Carbon_h=no 7695 ac_cv_header_Carbon_Carbon_h=no
7691 fi 7696 fi
7692 rm -f conftest.err conftest.$ac_ext 7697 rm -f conftest.err conftest.$ac_ext
7693 fi 7698 fi
7694 echo "$as_me:7694: result: $ac_cv_header_Carbon_Carbon_h" >&5 7699 echo "$as_me:7699: result: $ac_cv_header_Carbon_Carbon_h" >&5
7695 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 7700 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7696 if test $ac_cv_header_Carbon_Carbon_h = yes; then 7701 if test $ac_cv_header_Carbon_Carbon_h = yes; then
7697 HAVE_CARBON=yes 7702 HAVE_CARBON=yes
7698 fi 7703 fi
7699 7704
7708 fi 7713 fi
7709 7714
7710 ### Use session management (-lSM -lICE) if available 7715 ### Use session management (-lSM -lICE) if available
7711 HAVE_X_SM=no 7716 HAVE_X_SM=no
7712 if test "${HAVE_X11}" = "yes"; then 7717 if test "${HAVE_X11}" = "yes"; then
7713 echo "$as_me:7713: checking for X11/SM/SMlib.h" >&5 7718 echo "$as_me:7718: checking for X11/SM/SMlib.h" >&5
7714 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 7719 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7715 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 7720 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6 7721 echo $ECHO_N "(cached) $ECHO_C" >&6
7717 else 7722 else
7718 cat >conftest.$ac_ext <<_ACEOF 7723 cat >conftest.$ac_ext <<_ACEOF
7719 #line 7719 "configure" 7724 #line 7719 "configure"
7720 #include "confdefs.h" 7725 #include "confdefs.h"
7721 #include <X11/SM/SMlib.h> 7726 #include <X11/SM/SMlib.h>
7722 _ACEOF 7727 _ACEOF
7723 if { (eval echo "$as_me:7723: \"$ac_cpp conftest.$ac_ext\"") >&5 7728 if { (eval echo "$as_me:7728: \"$ac_cpp conftest.$ac_ext\"") >&5
7724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7725 ac_status=$? 7730 ac_status=$?
7726 egrep -v '^ *\+' conftest.er1 >conftest.err 7731 egrep -v '^ *\+' conftest.er1 >conftest.err
7727 rm -f conftest.er1 7732 rm -f conftest.er1
7728 cat conftest.err >&5 7733 cat conftest.err >&5
7729 echo "$as_me:7729: \$? = $ac_status" >&5 7734 echo "$as_me:7734: \$? = $ac_status" >&5
7730 (exit $ac_status); } >/dev/null; then 7735 (exit $ac_status); } >/dev/null; then
7731 if test -s conftest.err; then 7736 if test -s conftest.err; then
7732 ac_cpp_err=$ac_c_preproc_warn_flag 7737 ac_cpp_err=$ac_c_preproc_warn_flag
7733 else 7738 else
7734 ac_cpp_err= 7739 ac_cpp_err=
7743 cat conftest.$ac_ext >&5 7748 cat conftest.$ac_ext >&5
7744 ac_cv_header_X11_SM_SMlib_h=no 7749 ac_cv_header_X11_SM_SMlib_h=no
7745 fi 7750 fi
7746 rm -f conftest.err conftest.$ac_ext 7751 rm -f conftest.err conftest.$ac_ext
7747 fi 7752 fi
7748 echo "$as_me:7748: result: $ac_cv_header_X11_SM_SMlib_h" >&5 7753 echo "$as_me:7753: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7749 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 7754 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7750 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 7755 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7751 echo "$as_me:7751: checking for SmcOpenConnection in -lSM" >&5 7756 echo "$as_me:7756: checking for SmcOpenConnection in -lSM" >&5
7752 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 7757 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7753 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 7758 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7754 echo $ECHO_N "(cached) $ECHO_C" >&6 7759 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 else 7760 else
7756 ac_check_lib_save_LIBS=$LIBS 7761 ac_check_lib_save_LIBS=$LIBS
7773 ; 7778 ;
7774 return 0; 7779 return 0;
7775 } 7780 }
7776 _ACEOF 7781 _ACEOF
7777 rm -f conftest.$ac_objext conftest$ac_exeext 7782 rm -f conftest.$ac_objext conftest$ac_exeext
7778 if { (eval echo "$as_me:7778: \"$ac_link\"") >&5 7783 if { (eval echo "$as_me:7783: \"$ac_link\"") >&5
7779 (eval $ac_link) 2>&5 7784 (eval $ac_link) 2>&5
7780 ac_status=$? 7785 ac_status=$?
7781 echo "$as_me:7781: \$? = $ac_status" >&5 7786 echo "$as_me:7786: \$? = $ac_status" >&5
7782 (exit $ac_status); } && 7787 (exit $ac_status); } &&
7783 { ac_try='test -s conftest$ac_exeext' 7788 { ac_try='test -s conftest$ac_exeext'
7784 { (eval echo "$as_me:7784: \"$ac_try\"") >&5 7789 { (eval echo "$as_me:7789: \"$ac_try\"") >&5
7785 (eval $ac_try) 2>&5 7790 (eval $ac_try) 2>&5
7786 ac_status=$? 7791 ac_status=$?
7787 echo "$as_me:7787: \$? = $ac_status" >&5 7792 echo "$as_me:7792: \$? = $ac_status" >&5
7788 (exit $ac_status); }; }; then 7793 (exit $ac_status); }; }; then
7789 ac_cv_lib_SM_SmcOpenConnection=yes 7794 ac_cv_lib_SM_SmcOpenConnection=yes
7790 else 7795 else
7791 echo "$as_me: failed program was:" >&5 7796 echo "$as_me: failed program was:" >&5
7792 cat conftest.$ac_ext >&5 7797 cat conftest.$ac_ext >&5
7793 ac_cv_lib_SM_SmcOpenConnection=no 7798 ac_cv_lib_SM_SmcOpenConnection=no
7794 fi 7799 fi
7795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7796 LIBS=$ac_check_lib_save_LIBS 7801 LIBS=$ac_check_lib_save_LIBS
7797 fi 7802 fi
7798 echo "$as_me:7798: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 7803 echo "$as_me:7803: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7799 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 7804 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7800 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 7805 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7801 HAVE_X_SM=yes 7806 HAVE_X_SM=yes
7802 else 7807 else
7803 -lICE 7808 -lICE
7817 esac 7822 esac
7818 fi 7823 fi
7819 fi 7824 fi
7820 7825
7821 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7826 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7822 echo "$as_me:7822: checking whether netdb declares h_errno" >&5 7827 echo "$as_me:7827: checking whether netdb declares h_errno" >&5
7823 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7828 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7824 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7829 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6 7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 else 7831 else
7827 cat >conftest.$ac_ext <<_ACEOF 7832 cat >conftest.$ac_ext <<_ACEOF
7835 ; 7840 ;
7836 return 0; 7841 return 0;
7837 } 7842 }
7838 _ACEOF 7843 _ACEOF
7839 rm -f conftest.$ac_objext conftest$ac_exeext 7844 rm -f conftest.$ac_objext conftest$ac_exeext
7840 if { (eval echo "$as_me:7840: \"$ac_link\"") >&5 7845 if { (eval echo "$as_me:7845: \"$ac_link\"") >&5
7841 (eval $ac_link) 2>&5 7846 (eval $ac_link) 2>&5
7842 ac_status=$? 7847 ac_status=$?
7843 echo "$as_me:7843: \$? = $ac_status" >&5 7848 echo "$as_me:7848: \$? = $ac_status" >&5
7844 (exit $ac_status); } && 7849 (exit $ac_status); } &&
7845 { ac_try='test -s conftest$ac_exeext' 7850 { ac_try='test -s conftest$ac_exeext'
7846 { (eval echo "$as_me:7846: \"$ac_try\"") >&5 7851 { (eval echo "$as_me:7851: \"$ac_try\"") >&5
7847 (eval $ac_try) 2>&5 7852 (eval $ac_try) 2>&5
7848 ac_status=$? 7853 ac_status=$?
7849 echo "$as_me:7849: \$? = $ac_status" >&5 7854 echo "$as_me:7854: \$? = $ac_status" >&5
7850 (exit $ac_status); }; }; then 7855 (exit $ac_status); }; }; then
7851 emacs_cv_netdb_declares_h_errno=yes 7856 emacs_cv_netdb_declares_h_errno=yes
7852 else 7857 else
7853 echo "$as_me: failed program was:" >&5 7858 echo "$as_me: failed program was:" >&5
7854 cat conftest.$ac_ext >&5 7859 cat conftest.$ac_ext >&5
7855 emacs_cv_netdb_declares_h_errno=no 7860 emacs_cv_netdb_declares_h_errno=no
7856 fi 7861 fi
7857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7858 fi 7863 fi
7859 echo "$as_me:7859: result: $emacs_cv_netdb_declares_h_errno" >&5 7864 echo "$as_me:7864: result: $emacs_cv_netdb_declares_h_errno" >&5
7860 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7865 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7861 if test $emacs_cv_netdb_declares_h_errno = yes; then 7866 if test $emacs_cv_netdb_declares_h_errno = yes; then
7862 7867
7863 cat >>confdefs.h <<\EOF 7868 cat >>confdefs.h <<\EOF
7864 #define HAVE_H_ERRNO 1 7869 #define HAVE_H_ERRNO 1
7866 7871
7867 fi 7872 fi
7868 7873
7869 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7874 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7870 # for constant arguments. Useless! 7875 # for constant arguments. Useless!
7871 echo "$as_me:7871: checking for working alloca.h" >&5 7876 echo "$as_me:7876: checking for working alloca.h" >&5
7872 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7877 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7873 if test "${ac_cv_working_alloca_h+set}" = set; then 7878 if test "${ac_cv_working_alloca_h+set}" = set; then
7874 echo $ECHO_N "(cached) $ECHO_C" >&6 7879 echo $ECHO_N "(cached) $ECHO_C" >&6
7875 else 7880 else
7876 cat >conftest.$ac_ext <<_ACEOF 7881 cat >conftest.$ac_ext <<_ACEOF
7884 ; 7889 ;
7885 return 0; 7890 return 0;
7886 } 7891 }
7887 _ACEOF 7892 _ACEOF
7888 rm -f conftest.$ac_objext conftest$ac_exeext 7893 rm -f conftest.$ac_objext conftest$ac_exeext
7889 if { (eval echo "$as_me:7889: \"$ac_link\"") >&5 7894 if { (eval echo "$as_me:7894: \"$ac_link\"") >&5
7890 (eval $ac_link) 2>&5 7895 (eval $ac_link) 2>&5
7891 ac_status=$? 7896 ac_status=$?
7892 echo "$as_me:7892: \$? = $ac_status" >&5 7897 echo "$as_me:7897: \$? = $ac_status" >&5
7893 (exit $ac_status); } && 7898 (exit $ac_status); } &&
7894 { ac_try='test -s conftest$ac_exeext' 7899 { ac_try='test -s conftest$ac_exeext'
7895 { (eval echo "$as_me:7895: \"$ac_try\"") >&5 7900 { (eval echo "$as_me:7900: \"$ac_try\"") >&5
7896 (eval $ac_try) 2>&5 7901 (eval $ac_try) 2>&5
7897 ac_status=$? 7902 ac_status=$?
7898 echo "$as_me:7898: \$? = $ac_status" >&5 7903 echo "$as_me:7903: \$? = $ac_status" >&5
7899 (exit $ac_status); }; }; then 7904 (exit $ac_status); }; }; then
7900 ac_cv_working_alloca_h=yes 7905 ac_cv_working_alloca_h=yes
7901 else 7906 else
7902 echo "$as_me: failed program was:" >&5 7907 echo "$as_me: failed program was:" >&5
7903 cat conftest.$ac_ext >&5 7908 cat conftest.$ac_ext >&5
7904 ac_cv_working_alloca_h=no 7909 ac_cv_working_alloca_h=no
7905 fi 7910 fi
7906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7907 fi 7912 fi
7908 echo "$as_me:7908: result: $ac_cv_working_alloca_h" >&5 7913 echo "$as_me:7913: result: $ac_cv_working_alloca_h" >&5
7909 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7914 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7910 if test $ac_cv_working_alloca_h = yes; then 7915 if test $ac_cv_working_alloca_h = yes; then
7911 7916
7912 cat >>confdefs.h <<\EOF 7917 cat >>confdefs.h <<\EOF
7913 #define HAVE_ALLOCA_H 1 7918 #define HAVE_ALLOCA_H 1
7914 EOF 7919 EOF
7915 7920
7916 fi 7921 fi
7917 7922
7918 echo "$as_me:7918: checking for alloca" >&5 7923 echo "$as_me:7923: checking for alloca" >&5
7919 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7924 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7920 if test "${ac_cv_func_alloca_works+set}" = set; then 7925 if test "${ac_cv_func_alloca_works+set}" = set; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6 7926 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 else 7927 else
7923 cat >conftest.$ac_ext <<_ACEOF 7928 cat >conftest.$ac_ext <<_ACEOF
7951 ; 7956 ;
7952 return 0; 7957 return 0;
7953 } 7958 }
7954 _ACEOF 7959 _ACEOF
7955 rm -f conftest.$ac_objext conftest$ac_exeext 7960 rm -f conftest.$ac_objext conftest$ac_exeext
7956 if { (eval echo "$as_me:7956: \"$ac_link\"") >&5 7961 if { (eval echo "$as_me:7961: \"$ac_link\"") >&5
7957 (eval $ac_link) 2>&5 7962 (eval $ac_link) 2>&5
7958 ac_status=$? 7963 ac_status=$?
7959 echo "$as_me:7959: \$? = $ac_status" >&5 7964 echo "$as_me:7964: \$? = $ac_status" >&5
7960 (exit $ac_status); } && 7965 (exit $ac_status); } &&
7961 { ac_try='test -s conftest$ac_exeext' 7966 { ac_try='test -s conftest$ac_exeext'
7962 { (eval echo "$as_me:7962: \"$ac_try\"") >&5 7967 { (eval echo "$as_me:7967: \"$ac_try\"") >&5
7963 (eval $ac_try) 2>&5 7968 (eval $ac_try) 2>&5
7964 ac_status=$? 7969 ac_status=$?
7965 echo "$as_me:7965: \$? = $ac_status" >&5 7970 echo "$as_me:7970: \$? = $ac_status" >&5
7966 (exit $ac_status); }; }; then 7971 (exit $ac_status); }; }; then
7967 ac_cv_func_alloca_works=yes 7972 ac_cv_func_alloca_works=yes
7968 else 7973 else
7969 echo "$as_me: failed program was:" >&5 7974 echo "$as_me: failed program was:" >&5
7970 cat conftest.$ac_ext >&5 7975 cat conftest.$ac_ext >&5
7971 ac_cv_func_alloca_works=no 7976 ac_cv_func_alloca_works=no
7972 fi 7977 fi
7973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7974 fi 7979 fi
7975 echo "$as_me:7975: result: $ac_cv_func_alloca_works" >&5 7980 echo "$as_me:7980: result: $ac_cv_func_alloca_works" >&5
7976 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7981 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7977 7982
7978 if test $ac_cv_func_alloca_works = yes; then 7983 if test $ac_cv_func_alloca_works = yes; then
7979 7984
7980 cat >>confdefs.h <<\EOF 7985 cat >>confdefs.h <<\EOF
7991 7996
7992 cat >>confdefs.h <<\EOF 7997 cat >>confdefs.h <<\EOF
7993 #define C_ALLOCA 1 7998 #define C_ALLOCA 1
7994 EOF 7999 EOF
7995 8000
7996 echo "$as_me:7996: checking whether \`alloca.c' needs Cray hooks" >&5 8001 echo "$as_me:8001: checking whether \`alloca.c' needs Cray hooks" >&5
7997 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8002 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7998 if test "${ac_cv_os_cray+set}" = set; then 8003 if test "${ac_cv_os_cray+set}" = set; then
7999 echo $ECHO_N "(cached) $ECHO_C" >&6 8004 echo $ECHO_N "(cached) $ECHO_C" >&6
8000 else 8005 else
8001 cat >conftest.$ac_ext <<_ACEOF 8006 cat >conftest.$ac_ext <<_ACEOF
8015 ac_cv_os_cray=no 8020 ac_cv_os_cray=no
8016 fi 8021 fi
8017 rm -f conftest* 8022 rm -f conftest*
8018 8023
8019 fi 8024 fi
8020 echo "$as_me:8020: result: $ac_cv_os_cray" >&5 8025 echo "$as_me:8025: result: $ac_cv_os_cray" >&5
8021 echo "${ECHO_T}$ac_cv_os_cray" >&6 8026 echo "${ECHO_T}$ac_cv_os_cray" >&6
8022 if test $ac_cv_os_cray = yes; then 8027 if test $ac_cv_os_cray = yes; then
8023 for ac_func in _getb67 GETB67 getb67; do 8028 for ac_func in _getb67 GETB67 getb67; do
8024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8025 echo "$as_me:8025: checking for $ac_func" >&5 8030 echo "$as_me:8030: checking for $ac_func" >&5
8026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8027 if eval "test \"\${$as_ac_var+set}\" = set"; then 8032 if eval "test \"\${$as_ac_var+set}\" = set"; then
8028 echo $ECHO_N "(cached) $ECHO_C" >&6 8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8029 else 8034 else
8030 cat >conftest.$ac_ext <<_ACEOF 8035 cat >conftest.$ac_ext <<_ACEOF
8057 ; 8062 ;
8058 return 0; 8063 return 0;
8059 } 8064 }
8060 _ACEOF 8065 _ACEOF
8061 rm -f conftest.$ac_objext conftest$ac_exeext 8066 rm -f conftest.$ac_objext conftest$ac_exeext
8062 if { (eval echo "$as_me:8062: \"$ac_link\"") >&5 8067 if { (eval echo "$as_me:8067: \"$ac_link\"") >&5
8063 (eval $ac_link) 2>&5 8068 (eval $ac_link) 2>&5
8064 ac_status=$? 8069 ac_status=$?
8065 echo "$as_me:8065: \$? = $ac_status" >&5 8070 echo "$as_me:8070: \$? = $ac_status" >&5
8066 (exit $ac_status); } && 8071 (exit $ac_status); } &&
8067 { ac_try='test -s conftest$ac_exeext' 8072 { ac_try='test -s conftest$ac_exeext'
8068 { (eval echo "$as_me:8068: \"$ac_try\"") >&5 8073 { (eval echo "$as_me:8073: \"$ac_try\"") >&5
8069 (eval $ac_try) 2>&5 8074 (eval $ac_try) 2>&5
8070 ac_status=$? 8075 ac_status=$?
8071 echo "$as_me:8071: \$? = $ac_status" >&5 8076 echo "$as_me:8076: \$? = $ac_status" >&5
8072 (exit $ac_status); }; }; then 8077 (exit $ac_status); }; }; then
8073 eval "$as_ac_var=yes" 8078 eval "$as_ac_var=yes"
8074 else 8079 else
8075 echo "$as_me: failed program was:" >&5 8080 echo "$as_me: failed program was:" >&5
8076 cat conftest.$ac_ext >&5 8081 cat conftest.$ac_ext >&5
8077 eval "$as_ac_var=no" 8082 eval "$as_ac_var=no"
8078 fi 8083 fi
8079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8080 fi 8085 fi
8081 echo "$as_me:8081: result: `eval echo '${'$as_ac_var'}'`" >&5 8086 echo "$as_me:8086: result: `eval echo '${'$as_ac_var'}'`" >&5
8082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8083 if test `eval echo '${'$as_ac_var'}'` = yes; then 8088 if test `eval echo '${'$as_ac_var'}'` = yes; then
8084 8089
8085 cat >>confdefs.h <<EOF 8090 cat >>confdefs.h <<EOF
8086 #define CRAY_STACKSEG_END $ac_func 8091 #define CRAY_STACKSEG_END $ac_func
8090 fi 8095 fi
8091 8096
8092 done 8097 done
8093 fi 8098 fi
8094 8099
8095 echo "$as_me:8095: checking stack direction for C alloca" >&5 8100 echo "$as_me:8100: checking stack direction for C alloca" >&5
8096 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 8101 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8097 if test "${ac_cv_c_stack_direction+set}" = set; then 8102 if test "${ac_cv_c_stack_direction+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6 8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 else 8104 else
8100 if test "$cross_compiling" = yes; then 8105 if test "$cross_compiling" = yes; then
8122 { 8127 {
8123 exit (find_stack_direction () < 0); 8128 exit (find_stack_direction () < 0);
8124 } 8129 }
8125 _ACEOF 8130 _ACEOF
8126 rm -f conftest$ac_exeext 8131 rm -f conftest$ac_exeext
8127 if { (eval echo "$as_me:8127: \"$ac_link\"") >&5 8132 if { (eval echo "$as_me:8132: \"$ac_link\"") >&5
8128 (eval $ac_link) 2>&5 8133 (eval $ac_link) 2>&5
8129 ac_status=$? 8134 ac_status=$?
8130 echo "$as_me:8130: \$? = $ac_status" >&5 8135 echo "$as_me:8135: \$? = $ac_status" >&5
8131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8132 { (eval echo "$as_me:8132: \"$ac_try\"") >&5 8137 { (eval echo "$as_me:8137: \"$ac_try\"") >&5
8133 (eval $ac_try) 2>&5 8138 (eval $ac_try) 2>&5
8134 ac_status=$? 8139 ac_status=$?
8135 echo "$as_me:8135: \$? = $ac_status" >&5 8140 echo "$as_me:8140: \$? = $ac_status" >&5
8136 (exit $ac_status); }; }; then 8141 (exit $ac_status); }; }; then
8137 ac_cv_c_stack_direction=1 8142 ac_cv_c_stack_direction=1
8138 else 8143 else
8139 echo "$as_me: program exited with status $ac_status" >&5 8144 echo "$as_me: program exited with status $ac_status" >&5
8140 echo "$as_me: failed program was:" >&5 8145 echo "$as_me: failed program was:" >&5
8142 ac_cv_c_stack_direction=-1 8147 ac_cv_c_stack_direction=-1
8143 fi 8148 fi
8144 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8149 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8145 fi 8150 fi
8146 fi 8151 fi
8147 echo "$as_me:8147: result: $ac_cv_c_stack_direction" >&5 8152 echo "$as_me:8152: result: $ac_cv_c_stack_direction" >&5
8148 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 8153 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8149 8154
8150 cat >>confdefs.h <<EOF 8155 cat >>confdefs.h <<EOF
8151 #define STACK_DIRECTION $ac_cv_c_stack_direction 8156 #define STACK_DIRECTION $ac_cv_c_stack_direction
8152 EOF 8157 EOF
8154 fi 8159 fi
8155 8160
8156 # fmod, logb, and frexp are found in -lm on most systems. 8161 # fmod, logb, and frexp are found in -lm on most systems.
8157 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 8162 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8158 8163
8159 echo "$as_me:8159: checking for sqrt in -lm" >&5 8164 echo "$as_me:8164: checking for sqrt in -lm" >&5
8160 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 8165 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8161 if test "${ac_cv_lib_m_sqrt+set}" = set; then 8166 if test "${ac_cv_lib_m_sqrt+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6 8167 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 else 8168 else
8164 ac_check_lib_save_LIBS=$LIBS 8169 ac_check_lib_save_LIBS=$LIBS
8181 ; 8186 ;
8182 return 0; 8187 return 0;
8183 } 8188 }
8184 _ACEOF 8189 _ACEOF
8185 rm -f conftest.$ac_objext conftest$ac_exeext 8190 rm -f conftest.$ac_objext conftest$ac_exeext
8186 if { (eval echo "$as_me:8186: \"$ac_link\"") >&5 8191 if { (eval echo "$as_me:8191: \"$ac_link\"") >&5
8187 (eval $ac_link) 2>&5 8192 (eval $ac_link) 2>&5
8188 ac_status=$? 8193 ac_status=$?
8189 echo "$as_me:8189: \$? = $ac_status" >&5 8194 echo "$as_me:8194: \$? = $ac_status" >&5
8190 (exit $ac_status); } && 8195 (exit $ac_status); } &&
8191 { ac_try='test -s conftest$ac_exeext' 8196 { ac_try='test -s conftest$ac_exeext'
8192 { (eval echo "$as_me:8192: \"$ac_try\"") >&5 8197 { (eval echo "$as_me:8197: \"$ac_try\"") >&5
8193 (eval $ac_try) 2>&5 8198 (eval $ac_try) 2>&5
8194 ac_status=$? 8199 ac_status=$?
8195 echo "$as_me:8195: \$? = $ac_status" >&5 8200 echo "$as_me:8200: \$? = $ac_status" >&5
8196 (exit $ac_status); }; }; then 8201 (exit $ac_status); }; }; then
8197 ac_cv_lib_m_sqrt=yes 8202 ac_cv_lib_m_sqrt=yes
8198 else 8203 else
8199 echo "$as_me: failed program was:" >&5 8204 echo "$as_me: failed program was:" >&5
8200 cat conftest.$ac_ext >&5 8205 cat conftest.$ac_ext >&5
8201 ac_cv_lib_m_sqrt=no 8206 ac_cv_lib_m_sqrt=no
8202 fi 8207 fi
8203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8204 LIBS=$ac_check_lib_save_LIBS 8209 LIBS=$ac_check_lib_save_LIBS
8205 fi 8210 fi
8206 echo "$as_me:8206: result: $ac_cv_lib_m_sqrt" >&5 8211 echo "$as_me:8211: result: $ac_cv_lib_m_sqrt" >&5
8207 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 8212 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8208 if test $ac_cv_lib_m_sqrt = yes; then 8213 if test $ac_cv_lib_m_sqrt = yes; then
8209 cat >>confdefs.h <<EOF 8214 cat >>confdefs.h <<EOF
8210 #define HAVE_LIBM 1 8215 #define HAVE_LIBM 1
8211 EOF 8216 EOF
8214 8219
8215 fi 8220 fi
8216 8221
8217 # Check for mail-locking functions in a "mail" library 8222 # Check for mail-locking functions in a "mail" library
8218 8223
8219 echo "$as_me:8219: checking for maillock in -lmail" >&5 8224 echo "$as_me:8224: checking for maillock in -lmail" >&5
8220 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 8225 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8221 if test "${ac_cv_lib_mail_maillock+set}" = set; then 8226 if test "${ac_cv_lib_mail_maillock+set}" = set; then
8222 echo $ECHO_N "(cached) $ECHO_C" >&6 8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 else 8228 else
8224 ac_check_lib_save_LIBS=$LIBS 8229 ac_check_lib_save_LIBS=$LIBS
8241 ; 8246 ;
8242 return 0; 8247 return 0;
8243 } 8248 }
8244 _ACEOF 8249 _ACEOF
8245 rm -f conftest.$ac_objext conftest$ac_exeext 8250 rm -f conftest.$ac_objext conftest$ac_exeext
8246 if { (eval echo "$as_me:8246: \"$ac_link\"") >&5 8251 if { (eval echo "$as_me:8251: \"$ac_link\"") >&5
8247 (eval $ac_link) 2>&5 8252 (eval $ac_link) 2>&5
8248 ac_status=$? 8253 ac_status=$?
8249 echo "$as_me:8249: \$? = $ac_status" >&5 8254 echo "$as_me:8254: \$? = $ac_status" >&5
8250 (exit $ac_status); } && 8255 (exit $ac_status); } &&
8251 { ac_try='test -s conftest$ac_exeext' 8256 { ac_try='test -s conftest$ac_exeext'
8252 { (eval echo "$as_me:8252: \"$ac_try\"") >&5 8257 { (eval echo "$as_me:8257: \"$ac_try\"") >&5
8253 (eval $ac_try) 2>&5 8258 (eval $ac_try) 2>&5
8254 ac_status=$? 8259 ac_status=$?
8255 echo "$as_me:8255: \$? = $ac_status" >&5 8260 echo "$as_me:8260: \$? = $ac_status" >&5
8256 (exit $ac_status); }; }; then 8261 (exit $ac_status); }; }; then
8257 ac_cv_lib_mail_maillock=yes 8262 ac_cv_lib_mail_maillock=yes
8258 else 8263 else
8259 echo "$as_me: failed program was:" >&5 8264 echo "$as_me: failed program was:" >&5
8260 cat conftest.$ac_ext >&5 8265 cat conftest.$ac_ext >&5
8261 ac_cv_lib_mail_maillock=no 8266 ac_cv_lib_mail_maillock=no
8262 fi 8267 fi
8263 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8264 LIBS=$ac_check_lib_save_LIBS 8269 LIBS=$ac_check_lib_save_LIBS
8265 fi 8270 fi
8266 echo "$as_me:8266: result: $ac_cv_lib_mail_maillock" >&5 8271 echo "$as_me:8271: result: $ac_cv_lib_mail_maillock" >&5
8267 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 8272 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8268 if test $ac_cv_lib_mail_maillock = yes; then 8273 if test $ac_cv_lib_mail_maillock = yes; then
8269 cat >>confdefs.h <<EOF 8274 cat >>confdefs.h <<EOF
8270 #define HAVE_LIBMAIL 1 8275 #define HAVE_LIBMAIL 1
8271 EOF 8276 EOF
8272 8277
8273 LIBS="-lmail $LIBS" 8278 LIBS="-lmail $LIBS"
8274 8279
8275 fi 8280 fi
8276 8281
8277 echo "$as_me:8277: checking for maillock in -llockfile" >&5 8282 echo "$as_me:8282: checking for maillock in -llockfile" >&5
8278 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 8283 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8279 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 8284 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6 8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 else 8286 else
8282 ac_check_lib_save_LIBS=$LIBS 8287 ac_check_lib_save_LIBS=$LIBS
8299 ; 8304 ;
8300 return 0; 8305 return 0;
8301 } 8306 }
8302 _ACEOF 8307 _ACEOF
8303 rm -f conftest.$ac_objext conftest$ac_exeext 8308 rm -f conftest.$ac_objext conftest$ac_exeext
8304 if { (eval echo "$as_me:8304: \"$ac_link\"") >&5 8309 if { (eval echo "$as_me:8309: \"$ac_link\"") >&5
8305 (eval $ac_link) 2>&5 8310 (eval $ac_link) 2>&5
8306 ac_status=$? 8311 ac_status=$?
8307 echo "$as_me:8307: \$? = $ac_status" >&5 8312 echo "$as_me:8312: \$? = $ac_status" >&5
8308 (exit $ac_status); } && 8313 (exit $ac_status); } &&
8309 { ac_try='test -s conftest$ac_exeext' 8314 { ac_try='test -s conftest$ac_exeext'
8310 { (eval echo "$as_me:8310: \"$ac_try\"") >&5 8315 { (eval echo "$as_me:8315: \"$ac_try\"") >&5
8311 (eval $ac_try) 2>&5 8316 (eval $ac_try) 2>&5
8312 ac_status=$? 8317 ac_status=$?
8313 echo "$as_me:8313: \$? = $ac_status" >&5 8318 echo "$as_me:8318: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then 8319 (exit $ac_status); }; }; then
8315 ac_cv_lib_lockfile_maillock=yes 8320 ac_cv_lib_lockfile_maillock=yes
8316 else 8321 else
8317 echo "$as_me: failed program was:" >&5 8322 echo "$as_me: failed program was:" >&5
8318 cat conftest.$ac_ext >&5 8323 cat conftest.$ac_ext >&5
8319 ac_cv_lib_lockfile_maillock=no 8324 ac_cv_lib_lockfile_maillock=no
8320 fi 8325 fi
8321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8326 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8322 LIBS=$ac_check_lib_save_LIBS 8327 LIBS=$ac_check_lib_save_LIBS
8323 fi 8328 fi
8324 echo "$as_me:8324: result: $ac_cv_lib_lockfile_maillock" >&5 8329 echo "$as_me:8329: result: $ac_cv_lib_lockfile_maillock" >&5
8325 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8330 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8326 if test $ac_cv_lib_lockfile_maillock = yes; then 8331 if test $ac_cv_lib_lockfile_maillock = yes; then
8327 cat >>confdefs.h <<EOF 8332 cat >>confdefs.h <<EOF
8328 #define HAVE_LIBLOCKFILE 1 8333 #define HAVE_LIBLOCKFILE 1
8329 EOF 8334 EOF
8336 # locking (e.g. Debian). If we couldn't link against liblockfile 8341 # locking (e.g. Debian). If we couldn't link against liblockfile
8337 # (no liblockfile.a installed), ensure that we don't need to. 8342 # (no liblockfile.a installed), ensure that we don't need to.
8338 if test "$ac_cv_lib_lockfile_maillock" = no; then 8343 if test "$ac_cv_lib_lockfile_maillock" = no; then
8339 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8344 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8340 set dummy liblockfile.so; ac_word=$2 8345 set dummy liblockfile.so; ac_word=$2
8341 echo "$as_me:8341: checking for $ac_word" >&5 8346 echo "$as_me:8346: checking for $ac_word" >&5
8342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8343 if test "${ac_cv_prog_liblockfile+set}" = set; then 8348 if test "${ac_cv_prog_liblockfile+set}" = set; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6 8349 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else 8350 else
8346 if test -n "$liblockfile"; then 8351 if test -n "$liblockfile"; then
8351 for ac_dir in $ac_dummy; do 8356 for ac_dir in $ac_dummy; do
8352 IFS=$ac_save_IFS 8357 IFS=$ac_save_IFS
8353 test -z "$ac_dir" && ac_dir=. 8358 test -z "$ac_dir" && ac_dir=.
8354 $as_executable_p "$ac_dir/$ac_word" || continue 8359 $as_executable_p "$ac_dir/$ac_word" || continue
8355 ac_cv_prog_liblockfile="yes" 8360 ac_cv_prog_liblockfile="yes"
8356 echo "$as_me:8356: found $ac_dir/$ac_word" >&5 8361 echo "$as_me:8361: found $ac_dir/$ac_word" >&5
8357 break 8362 break
8358 done 8363 done
8359 8364
8360 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8365 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8361 fi 8366 fi
8362 fi 8367 fi
8363 liblockfile=$ac_cv_prog_liblockfile 8368 liblockfile=$ac_cv_prog_liblockfile
8364 if test -n "$liblockfile"; then 8369 if test -n "$liblockfile"; then
8365 echo "$as_me:8365: result: $liblockfile" >&5 8370 echo "$as_me:8370: result: $liblockfile" >&5
8366 echo "${ECHO_T}$liblockfile" >&6 8371 echo "${ECHO_T}$liblockfile" >&6
8367 else 8372 else
8368 echo "$as_me:8368: result: no" >&5 8373 echo "$as_me:8373: result: no" >&5
8369 echo "${ECHO_T}no" >&6 8374 echo "${ECHO_T}no" >&6
8370 fi 8375 fi
8371 8376
8372 if test $ac_cv_prog_liblockfile = yes; then 8377 if test $ac_cv_prog_liblockfile = yes; then
8373 { { echo "$as_me:8373: error: Shared liblockfile found but can't link against it. 8378 { { echo "$as_me:8378: error: Shared liblockfile found but can't link against it.
8374 This probably means that movemail could lose mail. 8379 This probably means that movemail could lose mail.
8375 There may be a \`development' package to install containing liblockfile." >&5 8380 There may be a \`development' package to install containing liblockfile." >&5
8376 echo "$as_me: error: Shared liblockfile found but can't link against it. 8381 echo "$as_me: error: Shared liblockfile found but can't link against it.
8377 This probably means that movemail could lose mail. 8382 This probably means that movemail could lose mail.
8378 There may be a \`development' package to install containing liblockfile." >&2;} 8383 There may be a \`development' package to install containing liblockfile." >&2;}
8387 fi 8392 fi
8388 8393
8389 for ac_func in touchlock 8394 for ac_func in touchlock
8390 do 8395 do
8391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8392 echo "$as_me:8392: checking for $ac_func" >&5 8397 echo "$as_me:8397: checking for $ac_func" >&5
8393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8394 if eval "test \"\${$as_ac_var+set}\" = set"; then 8399 if eval "test \"\${$as_ac_var+set}\" = set"; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6 8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8396 else 8401 else
8397 cat >conftest.$ac_ext <<_ACEOF 8402 cat >conftest.$ac_ext <<_ACEOF
8424 ; 8429 ;
8425 return 0; 8430 return 0;
8426 } 8431 }
8427 _ACEOF 8432 _ACEOF
8428 rm -f conftest.$ac_objext conftest$ac_exeext 8433 rm -f conftest.$ac_objext conftest$ac_exeext
8429 if { (eval echo "$as_me:8429: \"$ac_link\"") >&5 8434 if { (eval echo "$as_me:8434: \"$ac_link\"") >&5
8430 (eval $ac_link) 2>&5 8435 (eval $ac_link) 2>&5
8431 ac_status=$? 8436 ac_status=$?
8432 echo "$as_me:8432: \$? = $ac_status" >&5 8437 echo "$as_me:8437: \$? = $ac_status" >&5
8433 (exit $ac_status); } && 8438 (exit $ac_status); } &&
8434 { ac_try='test -s conftest$ac_exeext' 8439 { ac_try='test -s conftest$ac_exeext'
8435 { (eval echo "$as_me:8435: \"$ac_try\"") >&5 8440 { (eval echo "$as_me:8440: \"$ac_try\"") >&5
8436 (eval $ac_try) 2>&5 8441 (eval $ac_try) 2>&5
8437 ac_status=$? 8442 ac_status=$?
8438 echo "$as_me:8438: \$? = $ac_status" >&5 8443 echo "$as_me:8443: \$? = $ac_status" >&5
8439 (exit $ac_status); }; }; then 8444 (exit $ac_status); }; }; then
8440 eval "$as_ac_var=yes" 8445 eval "$as_ac_var=yes"
8441 else 8446 else
8442 echo "$as_me: failed program was:" >&5 8447 echo "$as_me: failed program was:" >&5
8443 cat conftest.$ac_ext >&5 8448 cat conftest.$ac_ext >&5
8444 eval "$as_ac_var=no" 8449 eval "$as_ac_var=no"
8445 fi 8450 fi
8446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8447 fi 8452 fi
8448 echo "$as_me:8448: result: `eval echo '${'$as_ac_var'}'`" >&5 8453 echo "$as_me:8453: result: `eval echo '${'$as_ac_var'}'`" >&5
8449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8450 if test `eval echo '${'$as_ac_var'}'` = yes; then 8455 if test `eval echo '${'$as_ac_var'}'` = yes; then
8451 cat >>confdefs.h <<EOF 8456 cat >>confdefs.h <<EOF
8452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8453 EOF 8458 EOF
8456 done 8461 done
8457 8462
8458 for ac_header in maillock.h 8463 for ac_header in maillock.h
8459 do 8464 do
8460 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8461 echo "$as_me:8461: checking for $ac_header" >&5 8466 echo "$as_me:8466: checking for $ac_header" >&5
8462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8463 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6 8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8465 else 8470 else
8466 cat >conftest.$ac_ext <<_ACEOF 8471 cat >conftest.$ac_ext <<_ACEOF
8467 #line 8467 "configure" 8472 #line 8467 "configure"
8468 #include "confdefs.h" 8473 #include "confdefs.h"
8469 #include <$ac_header> 8474 #include <$ac_header>
8470 _ACEOF 8475 _ACEOF
8471 if { (eval echo "$as_me:8471: \"$ac_cpp conftest.$ac_ext\"") >&5 8476 if { (eval echo "$as_me:8476: \"$ac_cpp conftest.$ac_ext\"") >&5
8472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8477 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8473 ac_status=$? 8478 ac_status=$?
8474 egrep -v '^ *\+' conftest.er1 >conftest.err 8479 egrep -v '^ *\+' conftest.er1 >conftest.err
8475 rm -f conftest.er1 8480 rm -f conftest.er1
8476 cat conftest.err >&5 8481 cat conftest.err >&5
8477 echo "$as_me:8477: \$? = $ac_status" >&5 8482 echo "$as_me:8482: \$? = $ac_status" >&5
8478 (exit $ac_status); } >/dev/null; then 8483 (exit $ac_status); } >/dev/null; then
8479 if test -s conftest.err; then 8484 if test -s conftest.err; then
8480 ac_cpp_err=$ac_c_preproc_warn_flag 8485 ac_cpp_err=$ac_c_preproc_warn_flag
8481 else 8486 else
8482 ac_cpp_err= 8487 ac_cpp_err=
8491 cat conftest.$ac_ext >&5 8496 cat conftest.$ac_ext >&5
8492 eval "$as_ac_Header=no" 8497 eval "$as_ac_Header=no"
8493 fi 8498 fi
8494 rm -f conftest.err conftest.$ac_ext 8499 rm -f conftest.err conftest.$ac_ext
8495 fi 8500 fi
8496 echo "$as_me:8496: result: `eval echo '${'$as_ac_Header'}'`" >&5 8501 echo "$as_me:8501: result: `eval echo '${'$as_ac_Header'}'`" >&5
8497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8498 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8499 cat >>confdefs.h <<EOF 8504 cat >>confdefs.h <<EOF
8500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8501 EOF 8506 EOF
8511 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 8516 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
8512 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 8517 sendto recvfrom getsockopt setsockopt getsockname getpeername \
8513 gai_strerror mkstemp getline getdelim 8518 gai_strerror mkstemp getline getdelim
8514 do 8519 do
8515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8516 echo "$as_me:8516: checking for $ac_func" >&5 8521 echo "$as_me:8521: checking for $ac_func" >&5
8517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8518 if eval "test \"\${$as_ac_var+set}\" = set"; then 8523 if eval "test \"\${$as_ac_var+set}\" = set"; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6 8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 else 8525 else
8521 cat >conftest.$ac_ext <<_ACEOF 8526 cat >conftest.$ac_ext <<_ACEOF
8548 ; 8553 ;
8549 return 0; 8554 return 0;
8550 } 8555 }
8551 _ACEOF 8556 _ACEOF
8552 rm -f conftest.$ac_objext conftest$ac_exeext 8557 rm -f conftest.$ac_objext conftest$ac_exeext
8553 if { (eval echo "$as_me:8553: \"$ac_link\"") >&5 8558 if { (eval echo "$as_me:8558: \"$ac_link\"") >&5
8554 (eval $ac_link) 2>&5 8559 (eval $ac_link) 2>&5
8555 ac_status=$? 8560 ac_status=$?
8556 echo "$as_me:8556: \$? = $ac_status" >&5 8561 echo "$as_me:8561: \$? = $ac_status" >&5
8557 (exit $ac_status); } && 8562 (exit $ac_status); } &&
8558 { ac_try='test -s conftest$ac_exeext' 8563 { ac_try='test -s conftest$ac_exeext'
8559 { (eval echo "$as_me:8559: \"$ac_try\"") >&5 8564 { (eval echo "$as_me:8564: \"$ac_try\"") >&5
8560 (eval $ac_try) 2>&5 8565 (eval $ac_try) 2>&5
8561 ac_status=$? 8566 ac_status=$?
8562 echo "$as_me:8562: \$? = $ac_status" >&5 8567 echo "$as_me:8567: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then 8568 (exit $ac_status); }; }; then
8564 eval "$as_ac_var=yes" 8569 eval "$as_ac_var=yes"
8565 else 8570 else
8566 echo "$as_me: failed program was:" >&5 8571 echo "$as_me: failed program was:" >&5
8567 cat conftest.$ac_ext >&5 8572 cat conftest.$ac_ext >&5
8568 eval "$as_ac_var=no" 8573 eval "$as_ac_var=no"
8569 fi 8574 fi
8570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8571 fi 8576 fi
8572 echo "$as_me:8572: result: `eval echo '${'$as_ac_var'}'`" >&5 8577 echo "$as_me:8577: result: `eval echo '${'$as_ac_var'}'`" >&5
8573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8574 if test `eval echo '${'$as_ac_var'}'` = yes; then 8579 if test `eval echo '${'$as_ac_var'}'` = yes; then
8575 cat >>confdefs.h <<EOF 8580 cat >>confdefs.h <<EOF
8576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8577 EOF 8582 EOF
8580 done 8585 done
8581 8586
8582 for ac_header in sys/un.h 8587 for ac_header in sys/un.h
8583 do 8588 do
8584 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8585 echo "$as_me:8585: checking for $ac_header" >&5 8590 echo "$as_me:8590: checking for $ac_header" >&5
8586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8587 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6 8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 else 8594 else
8590 cat >conftest.$ac_ext <<_ACEOF 8595 cat >conftest.$ac_ext <<_ACEOF
8591 #line 8591 "configure" 8596 #line 8591 "configure"
8592 #include "confdefs.h" 8597 #include "confdefs.h"
8593 #include <$ac_header> 8598 #include <$ac_header>
8594 _ACEOF 8599 _ACEOF
8595 if { (eval echo "$as_me:8595: \"$ac_cpp conftest.$ac_ext\"") >&5 8600 if { (eval echo "$as_me:8600: \"$ac_cpp conftest.$ac_ext\"") >&5
8596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8597 ac_status=$? 8602 ac_status=$?
8598 egrep -v '^ *\+' conftest.er1 >conftest.err 8603 egrep -v '^ *\+' conftest.er1 >conftest.err
8599 rm -f conftest.er1 8604 rm -f conftest.er1
8600 cat conftest.err >&5 8605 cat conftest.err >&5
8601 echo "$as_me:8601: \$? = $ac_status" >&5 8606 echo "$as_me:8606: \$? = $ac_status" >&5
8602 (exit $ac_status); } >/dev/null; then 8607 (exit $ac_status); } >/dev/null; then
8603 if test -s conftest.err; then 8608 if test -s conftest.err; then
8604 ac_cpp_err=$ac_c_preproc_warn_flag 8609 ac_cpp_err=$ac_c_preproc_warn_flag
8605 else 8610 else
8606 ac_cpp_err= 8611 ac_cpp_err=
8615 cat conftest.$ac_ext >&5 8620 cat conftest.$ac_ext >&5
8616 eval "$as_ac_Header=no" 8621 eval "$as_ac_Header=no"
8617 fi 8622 fi
8618 rm -f conftest.err conftest.$ac_ext 8623 rm -f conftest.err conftest.$ac_ext
8619 fi 8624 fi
8620 echo "$as_me:8620: result: `eval echo '${'$as_ac_Header'}'`" >&5 8625 echo "$as_me:8625: result: `eval echo '${'$as_ac_Header'}'`" >&5
8621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8622 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8623 cat >>confdefs.h <<EOF 8628 cat >>confdefs.h <<EOF
8624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8625 EOF 8630 EOF
8628 done 8633 done
8629 8634
8630 for ac_header in sys/time.h unistd.h 8635 for ac_header in sys/time.h unistd.h
8631 do 8636 do
8632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8633 echo "$as_me:8633: checking for $ac_header" >&5 8638 echo "$as_me:8638: checking for $ac_header" >&5
8634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8635 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8636 echo $ECHO_N "(cached) $ECHO_C" >&6 8641 echo $ECHO_N "(cached) $ECHO_C" >&6
8637 else 8642 else
8638 cat >conftest.$ac_ext <<_ACEOF 8643 cat >conftest.$ac_ext <<_ACEOF
8639 #line 8639 "configure" 8644 #line 8639 "configure"
8640 #include "confdefs.h" 8645 #include "confdefs.h"
8641 #include <$ac_header> 8646 #include <$ac_header>
8642 _ACEOF 8647 _ACEOF
8643 if { (eval echo "$as_me:8643: \"$ac_cpp conftest.$ac_ext\"") >&5 8648 if { (eval echo "$as_me:8648: \"$ac_cpp conftest.$ac_ext\"") >&5
8644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8645 ac_status=$? 8650 ac_status=$?
8646 egrep -v '^ *\+' conftest.er1 >conftest.err 8651 egrep -v '^ *\+' conftest.er1 >conftest.err
8647 rm -f conftest.er1 8652 rm -f conftest.er1
8648 cat conftest.err >&5 8653 cat conftest.err >&5
8649 echo "$as_me:8649: \$? = $ac_status" >&5 8654 echo "$as_me:8654: \$? = $ac_status" >&5
8650 (exit $ac_status); } >/dev/null; then 8655 (exit $ac_status); } >/dev/null; then
8651 if test -s conftest.err; then 8656 if test -s conftest.err; then
8652 ac_cpp_err=$ac_c_preproc_warn_flag 8657 ac_cpp_err=$ac_c_preproc_warn_flag
8653 else 8658 else
8654 ac_cpp_err= 8659 ac_cpp_err=
8663 cat conftest.$ac_ext >&5 8668 cat conftest.$ac_ext >&5
8664 eval "$as_ac_Header=no" 8669 eval "$as_ac_Header=no"
8665 fi 8670 fi
8666 rm -f conftest.err conftest.$ac_ext 8671 rm -f conftest.err conftest.$ac_ext
8667 fi 8672 fi
8668 echo "$as_me:8668: result: `eval echo '${'$as_ac_Header'}'`" >&5 8673 echo "$as_me:8673: result: `eval echo '${'$as_ac_Header'}'`" >&5
8669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8670 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8671 cat >>confdefs.h <<EOF 8676 cat >>confdefs.h <<EOF
8672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8673 EOF 8678 EOF
8676 done 8681 done
8677 8682
8678 for ac_func in alarm 8683 for ac_func in alarm
8679 do 8684 do
8680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8681 echo "$as_me:8681: checking for $ac_func" >&5 8686 echo "$as_me:8686: checking for $ac_func" >&5
8682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8683 if eval "test \"\${$as_ac_var+set}\" = set"; then 8688 if eval "test \"\${$as_ac_var+set}\" = set"; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6 8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 else 8690 else
8686 cat >conftest.$ac_ext <<_ACEOF 8691 cat >conftest.$ac_ext <<_ACEOF
8713 ; 8718 ;
8714 return 0; 8719 return 0;
8715 } 8720 }
8716 _ACEOF 8721 _ACEOF
8717 rm -f conftest.$ac_objext conftest$ac_exeext 8722 rm -f conftest.$ac_objext conftest$ac_exeext
8718 if { (eval echo "$as_me:8718: \"$ac_link\"") >&5 8723 if { (eval echo "$as_me:8723: \"$ac_link\"") >&5
8719 (eval $ac_link) 2>&5 8724 (eval $ac_link) 2>&5
8720 ac_status=$? 8725 ac_status=$?
8721 echo "$as_me:8721: \$? = $ac_status" >&5 8726 echo "$as_me:8726: \$? = $ac_status" >&5
8722 (exit $ac_status); } && 8727 (exit $ac_status); } &&
8723 { ac_try='test -s conftest$ac_exeext' 8728 { ac_try='test -s conftest$ac_exeext'
8724 { (eval echo "$as_me:8724: \"$ac_try\"") >&5 8729 { (eval echo "$as_me:8729: \"$ac_try\"") >&5
8725 (eval $ac_try) 2>&5 8730 (eval $ac_try) 2>&5
8726 ac_status=$? 8731 ac_status=$?
8727 echo "$as_me:8727: \$? = $ac_status" >&5 8732 echo "$as_me:8732: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then 8733 (exit $ac_status); }; }; then
8729 eval "$as_ac_var=yes" 8734 eval "$as_ac_var=yes"
8730 else 8735 else
8731 echo "$as_me: failed program was:" >&5 8736 echo "$as_me: failed program was:" >&5
8732 cat conftest.$ac_ext >&5 8737 cat conftest.$ac_ext >&5
8733 eval "$as_ac_var=no" 8738 eval "$as_ac_var=no"
8734 fi 8739 fi
8735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8736 fi 8741 fi
8737 echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5 8742 echo "$as_me:8742: result: `eval echo '${'$as_ac_var'}'`" >&5
8738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8739 if test `eval echo '${'$as_ac_var'}'` = yes; then 8744 if test `eval echo '${'$as_ac_var'}'` = yes; then
8740 cat >>confdefs.h <<EOF 8745 cat >>confdefs.h <<EOF
8741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8742 EOF 8747 EOF
8743 8748
8744 fi 8749 fi
8745 done 8750 done
8746 8751
8747 echo "$as_me:8747: checking for working mktime" >&5 8752 echo "$as_me:8752: checking for working mktime" >&5
8748 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8753 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8749 if test "${ac_cv_func_working_mktime+set}" = set; then 8754 if test "${ac_cv_func_working_mktime+set}" = set; then
8750 echo $ECHO_N "(cached) $ECHO_C" >&6 8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8751 else 8756 else
8752 if test "$cross_compiling" = yes; then 8757 if test "$cross_compiling" = yes; then
8900 spring_forward_gap (); 8905 spring_forward_gap ();
8901 exit (0); 8906 exit (0);
8902 } 8907 }
8903 _ACEOF 8908 _ACEOF
8904 rm -f conftest$ac_exeext 8909 rm -f conftest$ac_exeext
8905 if { (eval echo "$as_me:8905: \"$ac_link\"") >&5 8910 if { (eval echo "$as_me:8910: \"$ac_link\"") >&5
8906 (eval $ac_link) 2>&5 8911 (eval $ac_link) 2>&5
8907 ac_status=$? 8912 ac_status=$?
8908 echo "$as_me:8908: \$? = $ac_status" >&5 8913 echo "$as_me:8913: \$? = $ac_status" >&5
8909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8910 { (eval echo "$as_me:8910: \"$ac_try\"") >&5 8915 { (eval echo "$as_me:8915: \"$ac_try\"") >&5
8911 (eval $ac_try) 2>&5 8916 (eval $ac_try) 2>&5
8912 ac_status=$? 8917 ac_status=$?
8913 echo "$as_me:8913: \$? = $ac_status" >&5 8918 echo "$as_me:8918: \$? = $ac_status" >&5
8914 (exit $ac_status); }; }; then 8919 (exit $ac_status); }; }; then
8915 ac_cv_func_working_mktime=yes 8920 ac_cv_func_working_mktime=yes
8916 else 8921 else
8917 echo "$as_me: program exited with status $ac_status" >&5 8922 echo "$as_me: program exited with status $ac_status" >&5
8918 echo "$as_me: failed program was:" >&5 8923 echo "$as_me: failed program was:" >&5
8920 ac_cv_func_working_mktime=no 8925 ac_cv_func_working_mktime=no
8921 fi 8926 fi
8922 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8927 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8923 fi 8928 fi
8924 fi 8929 fi
8925 echo "$as_me:8925: result: $ac_cv_func_working_mktime" >&5 8930 echo "$as_me:8930: result: $ac_cv_func_working_mktime" >&5
8926 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8931 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8927 if test $ac_cv_func_working_mktime = no; then 8932 if test $ac_cv_func_working_mktime = no; then
8928 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8933 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8929 fi 8934 fi
8930 8935
8939 ac_have_func=no # yes means we've found a way to get the load average. 8944 ac_have_func=no # yes means we've found a way to get the load average.
8940 8945
8941 ac_save_LIBS=$LIBS 8946 ac_save_LIBS=$LIBS
8942 8947
8943 # Check for getloadavg, but be sure not to touch the cache variable. 8948 # Check for getloadavg, but be sure not to touch the cache variable.
8944 (echo "$as_me:8944: checking for getloadavg" >&5 8949 (echo "$as_me:8949: checking for getloadavg" >&5
8945 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8950 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8946 if test "${ac_cv_func_getloadavg+set}" = set; then 8951 if test "${ac_cv_func_getloadavg+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6 8952 echo $ECHO_N "(cached) $ECHO_C" >&6
8948 else 8953 else
8949 cat >conftest.$ac_ext <<_ACEOF 8954 cat >conftest.$ac_ext <<_ACEOF
8976 ; 8981 ;
8977 return 0; 8982 return 0;
8978 } 8983 }
8979 _ACEOF 8984 _ACEOF
8980 rm -f conftest.$ac_objext conftest$ac_exeext 8985 rm -f conftest.$ac_objext conftest$ac_exeext
8981 if { (eval echo "$as_me:8981: \"$ac_link\"") >&5 8986 if { (eval echo "$as_me:8986: \"$ac_link\"") >&5
8982 (eval $ac_link) 2>&5 8987 (eval $ac_link) 2>&5
8983 ac_status=$? 8988 ac_status=$?
8984 echo "$as_me:8984: \$? = $ac_status" >&5 8989 echo "$as_me:8989: \$? = $ac_status" >&5
8985 (exit $ac_status); } && 8990 (exit $ac_status); } &&
8986 { ac_try='test -s conftest$ac_exeext' 8991 { ac_try='test -s conftest$ac_exeext'
8987 { (eval echo "$as_me:8987: \"$ac_try\"") >&5 8992 { (eval echo "$as_me:8992: \"$ac_try\"") >&5
8988 (eval $ac_try) 2>&5 8993 (eval $ac_try) 2>&5
8989 ac_status=$? 8994 ac_status=$?
8990 echo "$as_me:8990: \$? = $ac_status" >&5 8995 echo "$as_me:8995: \$? = $ac_status" >&5
8991 (exit $ac_status); }; }; then 8996 (exit $ac_status); }; }; then
8992 ac_cv_func_getloadavg=yes 8997 ac_cv_func_getloadavg=yes
8993 else 8998 else
8994 echo "$as_me: failed program was:" >&5 8999 echo "$as_me: failed program was:" >&5
8995 cat conftest.$ac_ext >&5 9000 cat conftest.$ac_ext >&5
8996 ac_cv_func_getloadavg=no 9001 ac_cv_func_getloadavg=no
8997 fi 9002 fi
8998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8999 fi 9004 fi
9000 echo "$as_me:9000: result: $ac_cv_func_getloadavg" >&5 9005 echo "$as_me:9005: result: $ac_cv_func_getloadavg" >&5
9001 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 9006 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9002 if test $ac_cv_func_getloadavg = yes; then 9007 if test $ac_cv_func_getloadavg = yes; then
9003 exit 0 9008 exit 0
9004 else 9009 else
9005 exit 1 9010 exit 1
9009 # On HPUX9, an unprivileged user can get load averages through this function. 9014 # On HPUX9, an unprivileged user can get load averages through this function.
9010 9015
9011 for ac_func in pstat_getdynamic 9016 for ac_func in pstat_getdynamic
9012 do 9017 do
9013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9014 echo "$as_me:9014: checking for $ac_func" >&5 9019 echo "$as_me:9019: checking for $ac_func" >&5
9015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9016 if eval "test \"\${$as_ac_var+set}\" = set"; then 9021 if eval "test \"\${$as_ac_var+set}\" = set"; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6 9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9018 else 9023 else
9019 cat >conftest.$ac_ext <<_ACEOF 9024 cat >conftest.$ac_ext <<_ACEOF
9046 ; 9051 ;
9047 return 0; 9052 return 0;
9048 } 9053 }
9049 _ACEOF 9054 _ACEOF
9050 rm -f conftest.$ac_objext conftest$ac_exeext 9055 rm -f conftest.$ac_objext conftest$ac_exeext
9051 if { (eval echo "$as_me:9051: \"$ac_link\"") >&5 9056 if { (eval echo "$as_me:9056: \"$ac_link\"") >&5
9052 (eval $ac_link) 2>&5 9057 (eval $ac_link) 2>&5
9053 ac_status=$? 9058 ac_status=$?
9054 echo "$as_me:9054: \$? = $ac_status" >&5 9059 echo "$as_me:9059: \$? = $ac_status" >&5
9055 (exit $ac_status); } && 9060 (exit $ac_status); } &&
9056 { ac_try='test -s conftest$ac_exeext' 9061 { ac_try='test -s conftest$ac_exeext'
9057 { (eval echo "$as_me:9057: \"$ac_try\"") >&5 9062 { (eval echo "$as_me:9062: \"$ac_try\"") >&5
9058 (eval $ac_try) 2>&5 9063 (eval $ac_try) 2>&5
9059 ac_status=$? 9064 ac_status=$?
9060 echo "$as_me:9060: \$? = $ac_status" >&5 9065 echo "$as_me:9065: \$? = $ac_status" >&5
9061 (exit $ac_status); }; }; then 9066 (exit $ac_status); }; }; then
9062 eval "$as_ac_var=yes" 9067 eval "$as_ac_var=yes"
9063 else 9068 else
9064 echo "$as_me: failed program was:" >&5 9069 echo "$as_me: failed program was:" >&5
9065 cat conftest.$ac_ext >&5 9070 cat conftest.$ac_ext >&5
9066 eval "$as_ac_var=no" 9071 eval "$as_ac_var=no"
9067 fi 9072 fi
9068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9069 fi 9074 fi
9070 echo "$as_me:9070: result: `eval echo '${'$as_ac_var'}'`" >&5 9075 echo "$as_me:9075: result: `eval echo '${'$as_ac_var'}'`" >&5
9071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9072 if test `eval echo '${'$as_ac_var'}'` = yes; then 9077 if test `eval echo '${'$as_ac_var'}'` = yes; then
9073 cat >>confdefs.h <<EOF 9078 cat >>confdefs.h <<EOF
9074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9075 EOF 9080 EOF
9077 fi 9082 fi
9078 done 9083 done
9079 9084
9080 # Solaris has libkstat which does not require root. 9085 # Solaris has libkstat which does not require root.
9081 9086
9082 echo "$as_me:9082: checking for kstat_open in -lkstat" >&5 9087 echo "$as_me:9087: checking for kstat_open in -lkstat" >&5
9083 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 9088 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9084 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 9089 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6 9090 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 else 9091 else
9087 ac_check_lib_save_LIBS=$LIBS 9092 ac_check_lib_save_LIBS=$LIBS
9104 ; 9109 ;
9105 return 0; 9110 return 0;
9106 } 9111 }
9107 _ACEOF 9112 _ACEOF
9108 rm -f conftest.$ac_objext conftest$ac_exeext 9113 rm -f conftest.$ac_objext conftest$ac_exeext
9109 if { (eval echo "$as_me:9109: \"$ac_link\"") >&5 9114 if { (eval echo "$as_me:9114: \"$ac_link\"") >&5
9110 (eval $ac_link) 2>&5 9115 (eval $ac_link) 2>&5
9111 ac_status=$? 9116 ac_status=$?
9112 echo "$as_me:9112: \$? = $ac_status" >&5 9117 echo "$as_me:9117: \$? = $ac_status" >&5
9113 (exit $ac_status); } && 9118 (exit $ac_status); } &&
9114 { ac_try='test -s conftest$ac_exeext' 9119 { ac_try='test -s conftest$ac_exeext'
9115 { (eval echo "$as_me:9115: \"$ac_try\"") >&5 9120 { (eval echo "$as_me:9120: \"$ac_try\"") >&5
9116 (eval $ac_try) 2>&5 9121 (eval $ac_try) 2>&5
9117 ac_status=$? 9122 ac_status=$?
9118 echo "$as_me:9118: \$? = $ac_status" >&5 9123 echo "$as_me:9123: \$? = $ac_status" >&5
9119 (exit $ac_status); }; }; then 9124 (exit $ac_status); }; }; then
9120 ac_cv_lib_kstat_kstat_open=yes 9125 ac_cv_lib_kstat_kstat_open=yes
9121 else 9126 else
9122 echo "$as_me: failed program was:" >&5 9127 echo "$as_me: failed program was:" >&5
9123 cat conftest.$ac_ext >&5 9128 cat conftest.$ac_ext >&5
9124 ac_cv_lib_kstat_kstat_open=no 9129 ac_cv_lib_kstat_kstat_open=no
9125 fi 9130 fi
9126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9127 LIBS=$ac_check_lib_save_LIBS 9132 LIBS=$ac_check_lib_save_LIBS
9128 fi 9133 fi
9129 echo "$as_me:9129: result: $ac_cv_lib_kstat_kstat_open" >&5 9134 echo "$as_me:9134: result: $ac_cv_lib_kstat_kstat_open" >&5
9130 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 9135 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9131 if test $ac_cv_lib_kstat_kstat_open = yes; then 9136 if test $ac_cv_lib_kstat_kstat_open = yes; then
9132 cat >>confdefs.h <<EOF 9137 cat >>confdefs.h <<EOF
9133 #define HAVE_LIBKSTAT 1 9138 #define HAVE_LIBKSTAT 1
9134 EOF 9139 EOF
9142 # Some systems with -lutil have (and need) -lkvm as well, some do not. 9147 # Some systems with -lutil have (and need) -lkvm as well, some do not.
9143 # On Solaris, -lkvm requires nlist from -lelf, so check that first 9148 # On Solaris, -lkvm requires nlist from -lelf, so check that first
9144 # to get the right answer into the cache. 9149 # to get the right answer into the cache.
9145 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 9150 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9146 if test $ac_have_func = no; then 9151 if test $ac_have_func = no; then
9147 echo "$as_me:9147: checking for elf_begin in -lelf" >&5 9152 echo "$as_me:9152: checking for elf_begin in -lelf" >&5
9148 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 9153 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9149 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 9154 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6 9155 echo $ECHO_N "(cached) $ECHO_C" >&6
9151 else 9156 else
9152 ac_check_lib_save_LIBS=$LIBS 9157 ac_check_lib_save_LIBS=$LIBS
9169 ; 9174 ;
9170 return 0; 9175 return 0;
9171 } 9176 }
9172 _ACEOF 9177 _ACEOF
9173 rm -f conftest.$ac_objext conftest$ac_exeext 9178 rm -f conftest.$ac_objext conftest$ac_exeext
9174 if { (eval echo "$as_me:9174: \"$ac_link\"") >&5 9179 if { (eval echo "$as_me:9179: \"$ac_link\"") >&5
9175 (eval $ac_link) 2>&5 9180 (eval $ac_link) 2>&5
9176 ac_status=$? 9181 ac_status=$?
9177 echo "$as_me:9177: \$? = $ac_status" >&5 9182 echo "$as_me:9182: \$? = $ac_status" >&5
9178 (exit $ac_status); } && 9183 (exit $ac_status); } &&
9179 { ac_try='test -s conftest$ac_exeext' 9184 { ac_try='test -s conftest$ac_exeext'
9180 { (eval echo "$as_me:9180: \"$ac_try\"") >&5 9185 { (eval echo "$as_me:9185: \"$ac_try\"") >&5
9181 (eval $ac_try) 2>&5 9186 (eval $ac_try) 2>&5
9182 ac_status=$? 9187 ac_status=$?
9183 echo "$as_me:9183: \$? = $ac_status" >&5 9188 echo "$as_me:9188: \$? = $ac_status" >&5
9184 (exit $ac_status); }; }; then 9189 (exit $ac_status); }; }; then
9185 ac_cv_lib_elf_elf_begin=yes 9190 ac_cv_lib_elf_elf_begin=yes
9186 else 9191 else
9187 echo "$as_me: failed program was:" >&5 9192 echo "$as_me: failed program was:" >&5
9188 cat conftest.$ac_ext >&5 9193 cat conftest.$ac_ext >&5
9189 ac_cv_lib_elf_elf_begin=no 9194 ac_cv_lib_elf_elf_begin=no
9190 fi 9195 fi
9191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9192 LIBS=$ac_check_lib_save_LIBS 9197 LIBS=$ac_check_lib_save_LIBS
9193 fi 9198 fi
9194 echo "$as_me:9194: result: $ac_cv_lib_elf_elf_begin" >&5 9199 echo "$as_me:9199: result: $ac_cv_lib_elf_elf_begin" >&5
9195 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 9200 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9196 if test $ac_cv_lib_elf_elf_begin = yes; then 9201 if test $ac_cv_lib_elf_elf_begin = yes; then
9197 LIBS="-lelf $LIBS" 9202 LIBS="-lelf $LIBS"
9198 fi 9203 fi
9199 9204
9200 fi 9205 fi
9201 if test $ac_have_func = no; then 9206 if test $ac_have_func = no; then
9202 echo "$as_me:9202: checking for kvm_open in -lkvm" >&5 9207 echo "$as_me:9207: checking for kvm_open in -lkvm" >&5
9203 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 9208 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9204 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 9209 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9205 echo $ECHO_N "(cached) $ECHO_C" >&6 9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9206 else 9211 else
9207 ac_check_lib_save_LIBS=$LIBS 9212 ac_check_lib_save_LIBS=$LIBS
9224 ; 9229 ;
9225 return 0; 9230 return 0;
9226 } 9231 }
9227 _ACEOF 9232 _ACEOF
9228 rm -f conftest.$ac_objext conftest$ac_exeext 9233 rm -f conftest.$ac_objext conftest$ac_exeext
9229 if { (eval echo "$as_me:9229: \"$ac_link\"") >&5 9234 if { (eval echo "$as_me:9234: \"$ac_link\"") >&5
9230 (eval $ac_link) 2>&5 9235 (eval $ac_link) 2>&5
9231 ac_status=$? 9236 ac_status=$?
9232 echo "$as_me:9232: \$? = $ac_status" >&5 9237 echo "$as_me:9237: \$? = $ac_status" >&5
9233 (exit $ac_status); } && 9238 (exit $ac_status); } &&
9234 { ac_try='test -s conftest$ac_exeext' 9239 { ac_try='test -s conftest$ac_exeext'
9235 { (eval echo "$as_me:9235: \"$ac_try\"") >&5 9240 { (eval echo "$as_me:9240: \"$ac_try\"") >&5
9236 (eval $ac_try) 2>&5 9241 (eval $ac_try) 2>&5
9237 ac_status=$? 9242 ac_status=$?
9238 echo "$as_me:9238: \$? = $ac_status" >&5 9243 echo "$as_me:9243: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then 9244 (exit $ac_status); }; }; then
9240 ac_cv_lib_kvm_kvm_open=yes 9245 ac_cv_lib_kvm_kvm_open=yes
9241 else 9246 else
9242 echo "$as_me: failed program was:" >&5 9247 echo "$as_me: failed program was:" >&5
9243 cat conftest.$ac_ext >&5 9248 cat conftest.$ac_ext >&5
9244 ac_cv_lib_kvm_kvm_open=no 9249 ac_cv_lib_kvm_kvm_open=no
9245 fi 9250 fi
9246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9247 LIBS=$ac_check_lib_save_LIBS 9252 LIBS=$ac_check_lib_save_LIBS
9248 fi 9253 fi
9249 echo "$as_me:9249: result: $ac_cv_lib_kvm_kvm_open" >&5 9254 echo "$as_me:9254: result: $ac_cv_lib_kvm_kvm_open" >&5
9250 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 9255 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9251 if test $ac_cv_lib_kvm_kvm_open = yes; then 9256 if test $ac_cv_lib_kvm_kvm_open = yes; then
9252 LIBS="-lkvm $LIBS" 9257 LIBS="-lkvm $LIBS"
9253 fi 9258 fi
9254 9259
9255 # Check for the 4.4BSD definition of getloadavg. 9260 # Check for the 4.4BSD definition of getloadavg.
9256 echo "$as_me:9256: checking for getloadavg in -lutil" >&5 9261 echo "$as_me:9261: checking for getloadavg in -lutil" >&5
9257 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 9262 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9258 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 9263 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9259 echo $ECHO_N "(cached) $ECHO_C" >&6 9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9260 else 9265 else
9261 ac_check_lib_save_LIBS=$LIBS 9266 ac_check_lib_save_LIBS=$LIBS
9278 ; 9283 ;
9279 return 0; 9284 return 0;
9280 } 9285 }
9281 _ACEOF 9286 _ACEOF
9282 rm -f conftest.$ac_objext conftest$ac_exeext 9287 rm -f conftest.$ac_objext conftest$ac_exeext
9283 if { (eval echo "$as_me:9283: \"$ac_link\"") >&5 9288 if { (eval echo "$as_me:9288: \"$ac_link\"") >&5
9284 (eval $ac_link) 2>&5 9289 (eval $ac_link) 2>&5
9285 ac_status=$? 9290 ac_status=$?
9286 echo "$as_me:9286: \$? = $ac_status" >&5 9291 echo "$as_me:9291: \$? = $ac_status" >&5
9287 (exit $ac_status); } && 9292 (exit $ac_status); } &&
9288 { ac_try='test -s conftest$ac_exeext' 9293 { ac_try='test -s conftest$ac_exeext'
9289 { (eval echo "$as_me:9289: \"$ac_try\"") >&5 9294 { (eval echo "$as_me:9294: \"$ac_try\"") >&5
9290 (eval $ac_try) 2>&5 9295 (eval $ac_try) 2>&5
9291 ac_status=$? 9296 ac_status=$?
9292 echo "$as_me:9292: \$? = $ac_status" >&5 9297 echo "$as_me:9297: \$? = $ac_status" >&5
9293 (exit $ac_status); }; }; then 9298 (exit $ac_status); }; }; then
9294 ac_cv_lib_util_getloadavg=yes 9299 ac_cv_lib_util_getloadavg=yes
9295 else 9300 else
9296 echo "$as_me: failed program was:" >&5 9301 echo "$as_me: failed program was:" >&5
9297 cat conftest.$ac_ext >&5 9302 cat conftest.$ac_ext >&5
9298 ac_cv_lib_util_getloadavg=no 9303 ac_cv_lib_util_getloadavg=no
9299 fi 9304 fi
9300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9301 LIBS=$ac_check_lib_save_LIBS 9306 LIBS=$ac_check_lib_save_LIBS
9302 fi 9307 fi
9303 echo "$as_me:9303: result: $ac_cv_lib_util_getloadavg" >&5 9308 echo "$as_me:9308: result: $ac_cv_lib_util_getloadavg" >&5
9304 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 9309 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9305 if test $ac_cv_lib_util_getloadavg = yes; then 9310 if test $ac_cv_lib_util_getloadavg = yes; then
9306 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 9311 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
9307 fi 9312 fi
9308 9313
9311 if test $ac_have_func = no; then 9316 if test $ac_have_func = no; then
9312 # There is a commonly available library for RS/6000 AIX. 9317 # There is a commonly available library for RS/6000 AIX.
9313 # Since it is not a standard part of AIX, it might be installed locally. 9318 # Since it is not a standard part of AIX, it might be installed locally.
9314 ac_getloadavg_LIBS=$LIBS 9319 ac_getloadavg_LIBS=$LIBS
9315 LIBS="-L/usr/local/lib $LIBS" 9320 LIBS="-L/usr/local/lib $LIBS"
9316 echo "$as_me:9316: checking for getloadavg in -lgetloadavg" >&5 9321 echo "$as_me:9321: checking for getloadavg in -lgetloadavg" >&5
9317 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 9322 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9318 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 9323 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6 9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9320 else 9325 else
9321 ac_check_lib_save_LIBS=$LIBS 9326 ac_check_lib_save_LIBS=$LIBS
9338 ; 9343 ;
9339 return 0; 9344 return 0;
9340 } 9345 }
9341 _ACEOF 9346 _ACEOF
9342 rm -f conftest.$ac_objext conftest$ac_exeext 9347 rm -f conftest.$ac_objext conftest$ac_exeext
9343 if { (eval echo "$as_me:9343: \"$ac_link\"") >&5 9348 if { (eval echo "$as_me:9348: \"$ac_link\"") >&5
9344 (eval $ac_link) 2>&5 9349 (eval $ac_link) 2>&5
9345 ac_status=$? 9350 ac_status=$?
9346 echo "$as_me:9346: \$? = $ac_status" >&5 9351 echo "$as_me:9351: \$? = $ac_status" >&5
9347 (exit $ac_status); } && 9352 (exit $ac_status); } &&
9348 { ac_try='test -s conftest$ac_exeext' 9353 { ac_try='test -s conftest$ac_exeext'
9349 { (eval echo "$as_me:9349: \"$ac_try\"") >&5 9354 { (eval echo "$as_me:9354: \"$ac_try\"") >&5
9350 (eval $ac_try) 2>&5 9355 (eval $ac_try) 2>&5
9351 ac_status=$? 9356 ac_status=$?
9352 echo "$as_me:9352: \$? = $ac_status" >&5 9357 echo "$as_me:9357: \$? = $ac_status" >&5
9353 (exit $ac_status); }; }; then 9358 (exit $ac_status); }; }; then
9354 ac_cv_lib_getloadavg_getloadavg=yes 9359 ac_cv_lib_getloadavg_getloadavg=yes
9355 else 9360 else
9356 echo "$as_me: failed program was:" >&5 9361 echo "$as_me: failed program was:" >&5
9357 cat conftest.$ac_ext >&5 9362 cat conftest.$ac_ext >&5
9358 ac_cv_lib_getloadavg_getloadavg=no 9363 ac_cv_lib_getloadavg_getloadavg=no
9359 fi 9364 fi
9360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9361 LIBS=$ac_check_lib_save_LIBS 9366 LIBS=$ac_check_lib_save_LIBS
9362 fi 9367 fi
9363 echo "$as_me:9363: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9368 echo "$as_me:9368: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9364 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9369 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9365 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9370 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9366 LIBS="-lgetloadavg $LIBS" 9371 LIBS="-lgetloadavg $LIBS"
9367 else 9372 else
9368 LIBS=$ac_getloadavg_LIBS 9373 LIBS=$ac_getloadavg_LIBS
9374 # otherwise set up the replacement function. 9379 # otherwise set up the replacement function.
9375 9380
9376 for ac_func in getloadavg 9381 for ac_func in getloadavg
9377 do 9382 do
9378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9379 echo "$as_me:9379: checking for $ac_func" >&5 9384 echo "$as_me:9384: checking for $ac_func" >&5
9380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9381 if eval "test \"\${$as_ac_var+set}\" = set"; then 9386 if eval "test \"\${$as_ac_var+set}\" = set"; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6 9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9383 else 9388 else
9384 cat >conftest.$ac_ext <<_ACEOF 9389 cat >conftest.$ac_ext <<_ACEOF
9411 ; 9416 ;
9412 return 0; 9417 return 0;
9413 } 9418 }
9414 _ACEOF 9419 _ACEOF
9415 rm -f conftest.$ac_objext conftest$ac_exeext 9420 rm -f conftest.$ac_objext conftest$ac_exeext
9416 if { (eval echo "$as_me:9416: \"$ac_link\"") >&5 9421 if { (eval echo "$as_me:9421: \"$ac_link\"") >&5
9417 (eval $ac_link) 2>&5 9422 (eval $ac_link) 2>&5
9418 ac_status=$? 9423 ac_status=$?
9419 echo "$as_me:9419: \$? = $ac_status" >&5 9424 echo "$as_me:9424: \$? = $ac_status" >&5
9420 (exit $ac_status); } && 9425 (exit $ac_status); } &&
9421 { ac_try='test -s conftest$ac_exeext' 9426 { ac_try='test -s conftest$ac_exeext'
9422 { (eval echo "$as_me:9422: \"$ac_try\"") >&5 9427 { (eval echo "$as_me:9427: \"$ac_try\"") >&5
9423 (eval $ac_try) 2>&5 9428 (eval $ac_try) 2>&5
9424 ac_status=$? 9429 ac_status=$?
9425 echo "$as_me:9425: \$? = $ac_status" >&5 9430 echo "$as_me:9430: \$? = $ac_status" >&5
9426 (exit $ac_status); }; }; then 9431 (exit $ac_status); }; }; then
9427 eval "$as_ac_var=yes" 9432 eval "$as_ac_var=yes"
9428 else 9433 else
9429 echo "$as_me: failed program was:" >&5 9434 echo "$as_me: failed program was:" >&5
9430 cat conftest.$ac_ext >&5 9435 cat conftest.$ac_ext >&5
9431 eval "$as_ac_var=no" 9436 eval "$as_ac_var=no"
9432 fi 9437 fi
9433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9434 fi 9439 fi
9435 echo "$as_me:9435: result: `eval echo '${'$as_ac_var'}'`" >&5 9440 echo "$as_me:9440: result: `eval echo '${'$as_ac_var'}'`" >&5
9436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9437 if test `eval echo '${'$as_ac_var'}'` = yes; then 9442 if test `eval echo '${'$as_ac_var'}'` = yes; then
9438 cat >>confdefs.h <<EOF 9443 cat >>confdefs.h <<EOF
9439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9440 EOF 9445 EOF
9446 #define C_GETLOADAVG 1 9451 #define C_GETLOADAVG 1
9447 EOF 9452 EOF
9448 9453
9449 # Figure out what our getloadavg.c needs. 9454 # Figure out what our getloadavg.c needs.
9450 ac_have_func=no 9455 ac_have_func=no
9451 echo "$as_me:9451: checking for sys/dg_sys_info.h" >&5 9456 echo "$as_me:9456: checking for sys/dg_sys_info.h" >&5
9452 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9457 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9453 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9458 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9454 echo $ECHO_N "(cached) $ECHO_C" >&6 9459 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 else 9460 else
9456 cat >conftest.$ac_ext <<_ACEOF 9461 cat >conftest.$ac_ext <<_ACEOF
9457 #line 9457 "configure" 9462 #line 9457 "configure"
9458 #include "confdefs.h" 9463 #include "confdefs.h"
9459 #include <sys/dg_sys_info.h> 9464 #include <sys/dg_sys_info.h>
9460 _ACEOF 9465 _ACEOF
9461 if { (eval echo "$as_me:9461: \"$ac_cpp conftest.$ac_ext\"") >&5 9466 if { (eval echo "$as_me:9466: \"$ac_cpp conftest.$ac_ext\"") >&5
9462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9463 ac_status=$? 9468 ac_status=$?
9464 egrep -v '^ *\+' conftest.er1 >conftest.err 9469 egrep -v '^ *\+' conftest.er1 >conftest.err
9465 rm -f conftest.er1 9470 rm -f conftest.er1
9466 cat conftest.err >&5 9471 cat conftest.err >&5
9467 echo "$as_me:9467: \$? = $ac_status" >&5 9472 echo "$as_me:9472: \$? = $ac_status" >&5
9468 (exit $ac_status); } >/dev/null; then 9473 (exit $ac_status); } >/dev/null; then
9469 if test -s conftest.err; then 9474 if test -s conftest.err; then
9470 ac_cpp_err=$ac_c_preproc_warn_flag 9475 ac_cpp_err=$ac_c_preproc_warn_flag
9471 else 9476 else
9472 ac_cpp_err= 9477 ac_cpp_err=
9481 cat conftest.$ac_ext >&5 9486 cat conftest.$ac_ext >&5
9482 ac_cv_header_sys_dg_sys_info_h=no 9487 ac_cv_header_sys_dg_sys_info_h=no
9483 fi 9488 fi
9484 rm -f conftest.err conftest.$ac_ext 9489 rm -f conftest.err conftest.$ac_ext
9485 fi 9490 fi
9486 echo "$as_me:9486: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9491 echo "$as_me:9491: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9487 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9492 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9488 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9493 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9489 ac_have_func=yes 9494 ac_have_func=yes
9490 9495
9491 cat >>confdefs.h <<\EOF 9496 cat >>confdefs.h <<\EOF
9492 #define DGUX 1 9497 #define DGUX 1
9493 EOF 9498 EOF
9494 9499
9495 echo "$as_me:9495: checking for dg_sys_info in -ldgc" >&5 9500 echo "$as_me:9500: checking for dg_sys_info in -ldgc" >&5
9496 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9501 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9497 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9502 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6 9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 else 9504 else
9500 ac_check_lib_save_LIBS=$LIBS 9505 ac_check_lib_save_LIBS=$LIBS
9517 ; 9522 ;
9518 return 0; 9523 return 0;
9519 } 9524 }
9520 _ACEOF 9525 _ACEOF
9521 rm -f conftest.$ac_objext conftest$ac_exeext 9526 rm -f conftest.$ac_objext conftest$ac_exeext
9522 if { (eval echo "$as_me:9522: \"$ac_link\"") >&5 9527 if { (eval echo "$as_me:9527: \"$ac_link\"") >&5
9523 (eval $ac_link) 2>&5 9528 (eval $ac_link) 2>&5
9524 ac_status=$? 9529 ac_status=$?
9525 echo "$as_me:9525: \$? = $ac_status" >&5 9530 echo "$as_me:9530: \$? = $ac_status" >&5
9526 (exit $ac_status); } && 9531 (exit $ac_status); } &&
9527 { ac_try='test -s conftest$ac_exeext' 9532 { ac_try='test -s conftest$ac_exeext'
9528 { (eval echo "$as_me:9528: \"$ac_try\"") >&5 9533 { (eval echo "$as_me:9533: \"$ac_try\"") >&5
9529 (eval $ac_try) 2>&5 9534 (eval $ac_try) 2>&5
9530 ac_status=$? 9535 ac_status=$?
9531 echo "$as_me:9531: \$? = $ac_status" >&5 9536 echo "$as_me:9536: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then 9537 (exit $ac_status); }; }; then
9533 ac_cv_lib_dgc_dg_sys_info=yes 9538 ac_cv_lib_dgc_dg_sys_info=yes
9534 else 9539 else
9535 echo "$as_me: failed program was:" >&5 9540 echo "$as_me: failed program was:" >&5
9536 cat conftest.$ac_ext >&5 9541 cat conftest.$ac_ext >&5
9537 ac_cv_lib_dgc_dg_sys_info=no 9542 ac_cv_lib_dgc_dg_sys_info=no
9538 fi 9543 fi
9539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9540 LIBS=$ac_check_lib_save_LIBS 9545 LIBS=$ac_check_lib_save_LIBS
9541 fi 9546 fi
9542 echo "$as_me:9542: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9547 echo "$as_me:9547: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9543 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9548 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9544 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9549 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9545 cat >>confdefs.h <<EOF 9550 cat >>confdefs.h <<EOF
9546 #define HAVE_LIBDGC 1 9551 #define HAVE_LIBDGC 1
9547 EOF 9552 EOF
9550 9555
9551 fi 9556 fi
9552 9557
9553 fi 9558 fi
9554 9559
9555 echo "$as_me:9555: checking for locale.h" >&5 9560 echo "$as_me:9560: checking for locale.h" >&5
9556 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9561 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9557 if test "${ac_cv_header_locale_h+set}" = set; then 9562 if test "${ac_cv_header_locale_h+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6 9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 else 9564 else
9560 cat >conftest.$ac_ext <<_ACEOF 9565 cat >conftest.$ac_ext <<_ACEOF
9561 #line 9561 "configure" 9566 #line 9561 "configure"
9562 #include "confdefs.h" 9567 #include "confdefs.h"
9563 #include <locale.h> 9568 #include <locale.h>
9564 _ACEOF 9569 _ACEOF
9565 if { (eval echo "$as_me:9565: \"$ac_cpp conftest.$ac_ext\"") >&5 9570 if { (eval echo "$as_me:9570: \"$ac_cpp conftest.$ac_ext\"") >&5
9566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9567 ac_status=$? 9572 ac_status=$?
9568 egrep -v '^ *\+' conftest.er1 >conftest.err 9573 egrep -v '^ *\+' conftest.er1 >conftest.err
9569 rm -f conftest.er1 9574 rm -f conftest.er1
9570 cat conftest.err >&5 9575 cat conftest.err >&5
9571 echo "$as_me:9571: \$? = $ac_status" >&5 9576 echo "$as_me:9576: \$? = $ac_status" >&5
9572 (exit $ac_status); } >/dev/null; then 9577 (exit $ac_status); } >/dev/null; then
9573 if test -s conftest.err; then 9578 if test -s conftest.err; then
9574 ac_cpp_err=$ac_c_preproc_warn_flag 9579 ac_cpp_err=$ac_c_preproc_warn_flag
9575 else 9580 else
9576 ac_cpp_err= 9581 ac_cpp_err=
9585 cat conftest.$ac_ext >&5 9590 cat conftest.$ac_ext >&5
9586 ac_cv_header_locale_h=no 9591 ac_cv_header_locale_h=no
9587 fi 9592 fi
9588 rm -f conftest.err conftest.$ac_ext 9593 rm -f conftest.err conftest.$ac_ext
9589 fi 9594 fi
9590 echo "$as_me:9590: result: $ac_cv_header_locale_h" >&5 9595 echo "$as_me:9595: result: $ac_cv_header_locale_h" >&5
9591 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9596 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9592 9597
9593 for ac_func in setlocale 9598 for ac_func in setlocale
9594 do 9599 do
9595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9596 echo "$as_me:9596: checking for $ac_func" >&5 9601 echo "$as_me:9601: checking for $ac_func" >&5
9597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9598 if eval "test \"\${$as_ac_var+set}\" = set"; then 9603 if eval "test \"\${$as_ac_var+set}\" = set"; then
9599 echo $ECHO_N "(cached) $ECHO_C" >&6 9604 echo $ECHO_N "(cached) $ECHO_C" >&6
9600 else 9605 else
9601 cat >conftest.$ac_ext <<_ACEOF 9606 cat >conftest.$ac_ext <<_ACEOF
9628 ; 9633 ;
9629 return 0; 9634 return 0;
9630 } 9635 }
9631 _ACEOF 9636 _ACEOF
9632 rm -f conftest.$ac_objext conftest$ac_exeext 9637 rm -f conftest.$ac_objext conftest$ac_exeext
9633 if { (eval echo "$as_me:9633: \"$ac_link\"") >&5 9638 if { (eval echo "$as_me:9638: \"$ac_link\"") >&5
9634 (eval $ac_link) 2>&5 9639 (eval $ac_link) 2>&5
9635 ac_status=$? 9640 ac_status=$?
9636 echo "$as_me:9636: \$? = $ac_status" >&5 9641 echo "$as_me:9641: \$? = $ac_status" >&5
9637 (exit $ac_status); } && 9642 (exit $ac_status); } &&
9638 { ac_try='test -s conftest$ac_exeext' 9643 { ac_try='test -s conftest$ac_exeext'
9639 { (eval echo "$as_me:9639: \"$ac_try\"") >&5 9644 { (eval echo "$as_me:9644: \"$ac_try\"") >&5
9640 (eval $ac_try) 2>&5 9645 (eval $ac_try) 2>&5
9641 ac_status=$? 9646 ac_status=$?
9642 echo "$as_me:9642: \$? = $ac_status" >&5 9647 echo "$as_me:9647: \$? = $ac_status" >&5
9643 (exit $ac_status); }; }; then 9648 (exit $ac_status); }; }; then
9644 eval "$as_ac_var=yes" 9649 eval "$as_ac_var=yes"
9645 else 9650 else
9646 echo "$as_me: failed program was:" >&5 9651 echo "$as_me: failed program was:" >&5
9647 cat conftest.$ac_ext >&5 9652 cat conftest.$ac_ext >&5
9648 eval "$as_ac_var=no" 9653 eval "$as_ac_var=no"
9649 fi 9654 fi
9650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9651 fi 9656 fi
9652 echo "$as_me:9652: result: `eval echo '${'$as_ac_var'}'`" >&5 9657 echo "$as_me:9657: result: `eval echo '${'$as_ac_var'}'`" >&5
9653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9654 if test `eval echo '${'$as_ac_var'}'` = yes; then 9659 if test `eval echo '${'$as_ac_var'}'` = yes; then
9655 cat >>confdefs.h <<EOF 9660 cat >>confdefs.h <<EOF
9656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9657 EOF 9662 EOF
9670 EOF 9675 EOF
9671 9676
9672 fi 9677 fi
9673 9678
9674 if test $ac_have_func = no; then 9679 if test $ac_have_func = no; then
9675 echo "$as_me:9675: checking for inq_stats/cpustats.h" >&5 9680 echo "$as_me:9680: checking for inq_stats/cpustats.h" >&5
9676 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9681 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9677 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9682 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9678 echo $ECHO_N "(cached) $ECHO_C" >&6 9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9679 else 9684 else
9680 cat >conftest.$ac_ext <<_ACEOF 9685 cat >conftest.$ac_ext <<_ACEOF
9681 #line 9681 "configure" 9686 #line 9681 "configure"
9682 #include "confdefs.h" 9687 #include "confdefs.h"
9683 #include <inq_stats/cpustats.h> 9688 #include <inq_stats/cpustats.h>
9684 _ACEOF 9689 _ACEOF
9685 if { (eval echo "$as_me:9685: \"$ac_cpp conftest.$ac_ext\"") >&5 9690 if { (eval echo "$as_me:9690: \"$ac_cpp conftest.$ac_ext\"") >&5
9686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9687 ac_status=$? 9692 ac_status=$?
9688 egrep -v '^ *\+' conftest.er1 >conftest.err 9693 egrep -v '^ *\+' conftest.er1 >conftest.err
9689 rm -f conftest.er1 9694 rm -f conftest.er1
9690 cat conftest.err >&5 9695 cat conftest.err >&5
9691 echo "$as_me:9691: \$? = $ac_status" >&5 9696 echo "$as_me:9696: \$? = $ac_status" >&5
9692 (exit $ac_status); } >/dev/null; then 9697 (exit $ac_status); } >/dev/null; then
9693 if test -s conftest.err; then 9698 if test -s conftest.err; then
9694 ac_cpp_err=$ac_c_preproc_warn_flag 9699 ac_cpp_err=$ac_c_preproc_warn_flag
9695 else 9700 else
9696 ac_cpp_err= 9701 ac_cpp_err=
9705 cat conftest.$ac_ext >&5 9710 cat conftest.$ac_ext >&5
9706 ac_cv_header_inq_stats_cpustats_h=no 9711 ac_cv_header_inq_stats_cpustats_h=no
9707 fi 9712 fi
9708 rm -f conftest.err conftest.$ac_ext 9713 rm -f conftest.err conftest.$ac_ext
9709 fi 9714 fi
9710 echo "$as_me:9710: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9715 echo "$as_me:9715: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9711 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9716 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9712 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9717 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9713 ac_have_func=yes 9718 ac_have_func=yes
9714 9719
9715 cat >>confdefs.h <<\EOF 9720 cat >>confdefs.h <<\EOF
9723 fi 9728 fi
9724 9729
9725 fi 9730 fi
9726 9731
9727 if test $ac_have_func = no; then 9732 if test $ac_have_func = no; then
9728 echo "$as_me:9728: checking for sys/cpustats.h" >&5 9733 echo "$as_me:9733: checking for sys/cpustats.h" >&5
9729 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9734 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9730 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9735 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9731 echo $ECHO_N "(cached) $ECHO_C" >&6 9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 else 9737 else
9733 cat >conftest.$ac_ext <<_ACEOF 9738 cat >conftest.$ac_ext <<_ACEOF
9734 #line 9734 "configure" 9739 #line 9734 "configure"
9735 #include "confdefs.h" 9740 #include "confdefs.h"
9736 #include <sys/cpustats.h> 9741 #include <sys/cpustats.h>
9737 _ACEOF 9742 _ACEOF
9738 if { (eval echo "$as_me:9738: \"$ac_cpp conftest.$ac_ext\"") >&5 9743 if { (eval echo "$as_me:9743: \"$ac_cpp conftest.$ac_ext\"") >&5
9739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9740 ac_status=$? 9745 ac_status=$?
9741 egrep -v '^ *\+' conftest.er1 >conftest.err 9746 egrep -v '^ *\+' conftest.er1 >conftest.err
9742 rm -f conftest.er1 9747 rm -f conftest.er1
9743 cat conftest.err >&5 9748 cat conftest.err >&5
9744 echo "$as_me:9744: \$? = $ac_status" >&5 9749 echo "$as_me:9749: \$? = $ac_status" >&5
9745 (exit $ac_status); } >/dev/null; then 9750 (exit $ac_status); } >/dev/null; then
9746 if test -s conftest.err; then 9751 if test -s conftest.err; then
9747 ac_cpp_err=$ac_c_preproc_warn_flag 9752 ac_cpp_err=$ac_c_preproc_warn_flag
9748 else 9753 else
9749 ac_cpp_err= 9754 ac_cpp_err=
9758 cat conftest.$ac_ext >&5 9763 cat conftest.$ac_ext >&5
9759 ac_cv_header_sys_cpustats_h=no 9764 ac_cv_header_sys_cpustats_h=no
9760 fi 9765 fi
9761 rm -f conftest.err conftest.$ac_ext 9766 rm -f conftest.err conftest.$ac_ext
9762 fi 9767 fi
9763 echo "$as_me:9763: result: $ac_cv_header_sys_cpustats_h" >&5 9768 echo "$as_me:9768: result: $ac_cv_header_sys_cpustats_h" >&5
9764 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9769 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9765 if test $ac_cv_header_sys_cpustats_h = yes; then 9770 if test $ac_cv_header_sys_cpustats_h = yes; then
9766 ac_have_func=yes; cat >>confdefs.h <<\EOF 9771 ac_have_func=yes; cat >>confdefs.h <<\EOF
9767 #define UMAX 1 9772 #define UMAX 1
9768 EOF 9773 EOF
9774 if test $ac_have_func = no; then 9779 if test $ac_have_func = no; then
9775 9780
9776 for ac_header in mach/mach.h 9781 for ac_header in mach/mach.h
9777 do 9782 do
9778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9779 echo "$as_me:9779: checking for $ac_header" >&5 9784 echo "$as_me:9784: checking for $ac_header" >&5
9780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9781 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9782 echo $ECHO_N "(cached) $ECHO_C" >&6 9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 else 9788 else
9784 cat >conftest.$ac_ext <<_ACEOF 9789 cat >conftest.$ac_ext <<_ACEOF
9785 #line 9785 "configure" 9790 #line 9785 "configure"
9786 #include "confdefs.h" 9791 #include "confdefs.h"
9787 #include <$ac_header> 9792 #include <$ac_header>
9788 _ACEOF 9793 _ACEOF
9789 if { (eval echo "$as_me:9789: \"$ac_cpp conftest.$ac_ext\"") >&5 9794 if { (eval echo "$as_me:9794: \"$ac_cpp conftest.$ac_ext\"") >&5
9790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9791 ac_status=$? 9796 ac_status=$?
9792 egrep -v '^ *\+' conftest.er1 >conftest.err 9797 egrep -v '^ *\+' conftest.er1 >conftest.err
9793 rm -f conftest.er1 9798 rm -f conftest.er1
9794 cat conftest.err >&5 9799 cat conftest.err >&5
9795 echo "$as_me:9795: \$? = $ac_status" >&5 9800 echo "$as_me:9800: \$? = $ac_status" >&5
9796 (exit $ac_status); } >/dev/null; then 9801 (exit $ac_status); } >/dev/null; then
9797 if test -s conftest.err; then 9802 if test -s conftest.err; then
9798 ac_cpp_err=$ac_c_preproc_warn_flag 9803 ac_cpp_err=$ac_c_preproc_warn_flag
9799 else 9804 else
9800 ac_cpp_err= 9805 ac_cpp_err=
9809 cat conftest.$ac_ext >&5 9814 cat conftest.$ac_ext >&5
9810 eval "$as_ac_Header=no" 9815 eval "$as_ac_Header=no"
9811 fi 9816 fi
9812 rm -f conftest.err conftest.$ac_ext 9817 rm -f conftest.err conftest.$ac_ext
9813 fi 9818 fi
9814 echo "$as_me:9814: result: `eval echo '${'$as_ac_Header'}'`" >&5 9819 echo "$as_me:9819: result: `eval echo '${'$as_ac_Header'}'`" >&5
9815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9816 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9817 cat >>confdefs.h <<EOF 9822 cat >>confdefs.h <<EOF
9818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9819 EOF 9824 EOF
9824 fi 9829 fi
9825 9830
9826 for ac_header in nlist.h 9831 for ac_header in nlist.h
9827 do 9832 do
9828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9829 echo "$as_me:9829: checking for $ac_header" >&5 9834 echo "$as_me:9834: checking for $ac_header" >&5
9830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9831 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9832 echo $ECHO_N "(cached) $ECHO_C" >&6 9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9833 else 9838 else
9834 cat >conftest.$ac_ext <<_ACEOF 9839 cat >conftest.$ac_ext <<_ACEOF
9835 #line 9835 "configure" 9840 #line 9835 "configure"
9836 #include "confdefs.h" 9841 #include "confdefs.h"
9837 #include <$ac_header> 9842 #include <$ac_header>
9838 _ACEOF 9843 _ACEOF
9839 if { (eval echo "$as_me:9839: \"$ac_cpp conftest.$ac_ext\"") >&5 9844 if { (eval echo "$as_me:9844: \"$ac_cpp conftest.$ac_ext\"") >&5
9840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9841 ac_status=$? 9846 ac_status=$?
9842 egrep -v '^ *\+' conftest.er1 >conftest.err 9847 egrep -v '^ *\+' conftest.er1 >conftest.err
9843 rm -f conftest.er1 9848 rm -f conftest.er1
9844 cat conftest.err >&5 9849 cat conftest.err >&5
9845 echo "$as_me:9845: \$? = $ac_status" >&5 9850 echo "$as_me:9850: \$? = $ac_status" >&5
9846 (exit $ac_status); } >/dev/null; then 9851 (exit $ac_status); } >/dev/null; then
9847 if test -s conftest.err; then 9852 if test -s conftest.err; then
9848 ac_cpp_err=$ac_c_preproc_warn_flag 9853 ac_cpp_err=$ac_c_preproc_warn_flag
9849 else 9854 else
9850 ac_cpp_err= 9855 ac_cpp_err=
9859 cat conftest.$ac_ext >&5 9864 cat conftest.$ac_ext >&5
9860 eval "$as_ac_Header=no" 9865 eval "$as_ac_Header=no"
9861 fi 9866 fi
9862 rm -f conftest.err conftest.$ac_ext 9867 rm -f conftest.err conftest.$ac_ext
9863 fi 9868 fi
9864 echo "$as_me:9864: result: `eval echo '${'$as_ac_Header'}'`" >&5 9869 echo "$as_me:9869: result: `eval echo '${'$as_ac_Header'}'`" >&5
9865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9866 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9867 cat >>confdefs.h <<EOF 9872 cat >>confdefs.h <<EOF
9868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9869 EOF 9874 EOF
9870 echo "$as_me:9870: checking for struct nlist.n_un.n_name" >&5 9875 echo "$as_me:9875: checking for struct nlist.n_un.n_name" >&5
9871 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9876 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9872 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9877 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6 9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 else 9879 else
9875 cat >conftest.$ac_ext <<_ACEOF 9880 cat >conftest.$ac_ext <<_ACEOF
9886 ; 9891 ;
9887 return 0; 9892 return 0;
9888 } 9893 }
9889 _ACEOF 9894 _ACEOF
9890 rm -f conftest.$ac_objext 9895 rm -f conftest.$ac_objext
9891 if { (eval echo "$as_me:9891: \"$ac_compile\"") >&5 9896 if { (eval echo "$as_me:9896: \"$ac_compile\"") >&5
9892 (eval $ac_compile) 2>&5 9897 (eval $ac_compile) 2>&5
9893 ac_status=$? 9898 ac_status=$?
9894 echo "$as_me:9894: \$? = $ac_status" >&5 9899 echo "$as_me:9899: \$? = $ac_status" >&5
9895 (exit $ac_status); } && 9900 (exit $ac_status); } &&
9896 { ac_try='test -s conftest.$ac_objext' 9901 { ac_try='test -s conftest.$ac_objext'
9897 { (eval echo "$as_me:9897: \"$ac_try\"") >&5 9902 { (eval echo "$as_me:9902: \"$ac_try\"") >&5
9898 (eval $ac_try) 2>&5 9903 (eval $ac_try) 2>&5
9899 ac_status=$? 9904 ac_status=$?
9900 echo "$as_me:9900: \$? = $ac_status" >&5 9905 echo "$as_me:9905: \$? = $ac_status" >&5
9901 (exit $ac_status); }; }; then 9906 (exit $ac_status); }; }; then
9902 ac_cv_member_struct_nlist_n_un_n_name=yes 9907 ac_cv_member_struct_nlist_n_un_n_name=yes
9903 else 9908 else
9904 echo "$as_me: failed program was:" >&5 9909 echo "$as_me: failed program was:" >&5
9905 cat conftest.$ac_ext >&5 9910 cat conftest.$ac_ext >&5
9906 ac_cv_member_struct_nlist_n_un_n_name=no 9911 ac_cv_member_struct_nlist_n_un_n_name=no
9907 fi 9912 fi
9908 rm -f conftest.$ac_objext conftest.$ac_ext 9913 rm -f conftest.$ac_objext conftest.$ac_ext
9909 fi 9914 fi
9910 echo "$as_me:9910: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9915 echo "$as_me:9915: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9911 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9916 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9912 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9917 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9913 9918
9914 cat >>confdefs.h <<EOF 9919 cat >>confdefs.h <<EOF
9915 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9920 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9926 9931
9927 fi 9932 fi
9928 done 9933 done
9929 9934
9930 # Some definitions of getloadavg require that the program be installed setgid. 9935 # Some definitions of getloadavg require that the program be installed setgid.
9931 echo "$as_me:9931: checking whether getloadavg requires setgid" >&5 9936 echo "$as_me:9936: checking whether getloadavg requires setgid" >&5
9932 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9937 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9933 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9938 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6 9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9935 else 9940 else
9936 cat >conftest.$ac_ext <<_ACEOF 9941 cat >conftest.$ac_ext <<_ACEOF
9948 ac_cv_func_getloadavg_setgid=no 9953 ac_cv_func_getloadavg_setgid=no
9949 fi 9954 fi
9950 rm -f conftest* 9955 rm -f conftest*
9951 9956
9952 fi 9957 fi
9953 echo "$as_me:9953: result: $ac_cv_func_getloadavg_setgid" >&5 9958 echo "$as_me:9958: result: $ac_cv_func_getloadavg_setgid" >&5
9954 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9959 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9955 if test $ac_cv_func_getloadavg_setgid = yes; then 9960 if test $ac_cv_func_getloadavg_setgid = yes; then
9956 NEED_SETGID=true 9961 NEED_SETGID=true
9957 9962
9958 cat >>confdefs.h <<\EOF 9963 cat >>confdefs.h <<\EOF
9962 else 9967 else
9963 NEED_SETGID=false 9968 NEED_SETGID=false
9964 fi 9969 fi
9965 9970
9966 if test $ac_cv_func_getloadavg_setgid = yes; then 9971 if test $ac_cv_func_getloadavg_setgid = yes; then
9967 echo "$as_me:9967: checking group of /dev/kmem" >&5 9972 echo "$as_me:9972: checking group of /dev/kmem" >&5
9968 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9973 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9969 if test "${ac_cv_group_kmem+set}" = set; then 9974 if test "${ac_cv_group_kmem+set}" = set; then
9970 echo $ECHO_N "(cached) $ECHO_C" >&6 9975 echo $ECHO_N "(cached) $ECHO_C" >&6
9971 else 9976 else
9972 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9977 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9977 | sed -ne 's/[ ][ ]*/ /g; 9982 | sed -ne 's/[ ][ ]*/ /g;
9978 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9983 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9979 / /s/.* //;p;'` 9984 / /s/.* //;p;'`
9980 9985
9981 fi 9986 fi
9982 echo "$as_me:9982: result: $ac_cv_group_kmem" >&5 9987 echo "$as_me:9987: result: $ac_cv_group_kmem" >&5
9983 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9988 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9984 KMEM_GROUP=$ac_cv_group_kmem 9989 KMEM_GROUP=$ac_cv_group_kmem
9985 fi 9990 fi
9986 if test "x$ac_save_LIBS" = x; then 9991 if test "x$ac_save_LIBS" = x; then
9987 GETLOADAVG_LIBS=$LIBS 9992 GETLOADAVG_LIBS=$LIBS
9988 else 9993 else
9989 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9994 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9990 fi 9995 fi
9991 LIBS=$ac_save_LIBS 9996 LIBS=$ac_save_LIBS
9992 9997
9993 echo "$as_me:9993: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9998 echo "$as_me:9998: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9994 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9999 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9995 if test "${ac_cv_sys_largefile_source+set}" = set; then 10000 if test "${ac_cv_sys_largefile_source+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6 10001 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 else 10002 else
9998 while :; do 10003 while :; do
10008 ; 10013 ;
10009 return 0; 10014 return 0;
10010 } 10015 }
10011 _ACEOF 10016 _ACEOF
10012 rm -f conftest.$ac_objext 10017 rm -f conftest.$ac_objext
10013 if { (eval echo "$as_me:10013: \"$ac_compile\"") >&5 10018 if { (eval echo "$as_me:10018: \"$ac_compile\"") >&5
10014 (eval $ac_compile) 2>&5 10019 (eval $ac_compile) 2>&5
10015 ac_status=$? 10020 ac_status=$?
10016 echo "$as_me:10016: \$? = $ac_status" >&5 10021 echo "$as_me:10021: \$? = $ac_status" >&5
10017 (exit $ac_status); } && 10022 (exit $ac_status); } &&
10018 { ac_try='test -s conftest.$ac_objext' 10023 { ac_try='test -s conftest.$ac_objext'
10019 { (eval echo "$as_me:10019: \"$ac_try\"") >&5 10024 { (eval echo "$as_me:10024: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5 10025 (eval $ac_try) 2>&5
10021 ac_status=$? 10026 ac_status=$?
10022 echo "$as_me:10022: \$? = $ac_status" >&5 10027 echo "$as_me:10027: \$? = $ac_status" >&5
10023 (exit $ac_status); }; }; then 10028 (exit $ac_status); }; }; then
10024 break 10029 break
10025 else 10030 else
10026 echo "$as_me: failed program was:" >&5 10031 echo "$as_me: failed program was:" >&5
10027 cat conftest.$ac_ext >&5 10032 cat conftest.$ac_ext >&5
10039 ; 10044 ;
10040 return 0; 10045 return 0;
10041 } 10046 }
10042 _ACEOF 10047 _ACEOF
10043 rm -f conftest.$ac_objext 10048 rm -f conftest.$ac_objext
10044 if { (eval echo "$as_me:10044: \"$ac_compile\"") >&5 10049 if { (eval echo "$as_me:10049: \"$ac_compile\"") >&5
10045 (eval $ac_compile) 2>&5 10050 (eval $ac_compile) 2>&5
10046 ac_status=$? 10051 ac_status=$?
10047 echo "$as_me:10047: \$? = $ac_status" >&5 10052 echo "$as_me:10052: \$? = $ac_status" >&5
10048 (exit $ac_status); } && 10053 (exit $ac_status); } &&
10049 { ac_try='test -s conftest.$ac_objext' 10054 { ac_try='test -s conftest.$ac_objext'
10050 { (eval echo "$as_me:10050: \"$ac_try\"") >&5 10055 { (eval echo "$as_me:10055: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5 10056 (eval $ac_try) 2>&5
10052 ac_status=$? 10057 ac_status=$?
10053 echo "$as_me:10053: \$? = $ac_status" >&5 10058 echo "$as_me:10058: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then 10059 (exit $ac_status); }; }; then
10055 ac_cv_sys_largefile_source=1; break 10060 ac_cv_sys_largefile_source=1; break
10056 else 10061 else
10057 echo "$as_me: failed program was:" >&5 10062 echo "$as_me: failed program was:" >&5
10058 cat conftest.$ac_ext >&5 10063 cat conftest.$ac_ext >&5
10059 fi 10064 fi
10060 rm -f conftest.$ac_objext conftest.$ac_ext 10065 rm -f conftest.$ac_objext conftest.$ac_ext
10061 break 10066 break
10062 done 10067 done
10063 fi 10068 fi
10064 echo "$as_me:10064: result: $ac_cv_sys_largefile_source" >&5 10069 echo "$as_me:10069: result: $ac_cv_sys_largefile_source" >&5
10065 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 10070 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10066 if test "$ac_cv_sys_largefile_source" != no; then 10071 if test "$ac_cv_sys_largefile_source" != no; then
10067 10072
10068 cat >>confdefs.h <<EOF 10073 cat >>confdefs.h <<EOF
10069 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 10074 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10073 rm -f conftest* 10078 rm -f conftest*
10074 10079
10075 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 10080 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10076 # in glibc 2.1.3, but that breaks too many other things. 10081 # in glibc 2.1.3, but that breaks too many other things.
10077 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 10082 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10078 echo "$as_me:10078: checking for fseeko" >&5 10083 echo "$as_me:10083: checking for fseeko" >&5
10079 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 10084 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10080 if test "${ac_cv_func_fseeko+set}" = set; then 10085 if test "${ac_cv_func_fseeko+set}" = set; then
10081 echo $ECHO_N "(cached) $ECHO_C" >&6 10086 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 else 10087 else
10083 cat >conftest.$ac_ext <<_ACEOF 10088 cat >conftest.$ac_ext <<_ACEOF
10091 ; 10096 ;
10092 return 0; 10097 return 0;
10093 } 10098 }
10094 _ACEOF 10099 _ACEOF
10095 rm -f conftest.$ac_objext conftest$ac_exeext 10100 rm -f conftest.$ac_objext conftest$ac_exeext
10096 if { (eval echo "$as_me:10096: \"$ac_link\"") >&5 10101 if { (eval echo "$as_me:10101: \"$ac_link\"") >&5
10097 (eval $ac_link) 2>&5 10102 (eval $ac_link) 2>&5
10098 ac_status=$? 10103 ac_status=$?
10099 echo "$as_me:10099: \$? = $ac_status" >&5 10104 echo "$as_me:10104: \$? = $ac_status" >&5
10100 (exit $ac_status); } && 10105 (exit $ac_status); } &&
10101 { ac_try='test -s conftest$ac_exeext' 10106 { ac_try='test -s conftest$ac_exeext'
10102 { (eval echo "$as_me:10102: \"$ac_try\"") >&5 10107 { (eval echo "$as_me:10107: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5 10108 (eval $ac_try) 2>&5
10104 ac_status=$? 10109 ac_status=$?
10105 echo "$as_me:10105: \$? = $ac_status" >&5 10110 echo "$as_me:10110: \$? = $ac_status" >&5
10106 (exit $ac_status); }; }; then 10111 (exit $ac_status); }; }; then
10107 ac_cv_func_fseeko=yes 10112 ac_cv_func_fseeko=yes
10108 else 10113 else
10109 echo "$as_me: failed program was:" >&5 10114 echo "$as_me: failed program was:" >&5
10110 cat conftest.$ac_ext >&5 10115 cat conftest.$ac_ext >&5
10111 ac_cv_func_fseeko=no 10116 ac_cv_func_fseeko=no
10112 fi 10117 fi
10113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10114 fi 10119 fi
10115 echo "$as_me:10115: result: $ac_cv_func_fseeko" >&5 10120 echo "$as_me:10120: result: $ac_cv_func_fseeko" >&5
10116 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 10121 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10117 if test $ac_cv_func_fseeko = yes; then 10122 if test $ac_cv_func_fseeko = yes; then
10118 10123
10119 cat >>confdefs.h <<\EOF 10124 cat >>confdefs.h <<\EOF
10120 #define HAVE_FSEEKO 1 10125 #define HAVE_FSEEKO 1
10125 # UNIX98 PTYs. 10130 # UNIX98 PTYs.
10126 10131
10127 for ac_func in grantpt 10132 for ac_func in grantpt
10128 do 10133 do
10129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10130 echo "$as_me:10130: checking for $ac_func" >&5 10135 echo "$as_me:10135: checking for $ac_func" >&5
10131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10132 if eval "test \"\${$as_ac_var+set}\" = set"; then 10137 if eval "test \"\${$as_ac_var+set}\" = set"; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6 10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 else 10139 else
10135 cat >conftest.$ac_ext <<_ACEOF 10140 cat >conftest.$ac_ext <<_ACEOF
10162 ; 10167 ;
10163 return 0; 10168 return 0;
10164 } 10169 }
10165 _ACEOF 10170 _ACEOF
10166 rm -f conftest.$ac_objext conftest$ac_exeext 10171 rm -f conftest.$ac_objext conftest$ac_exeext
10167 if { (eval echo "$as_me:10167: \"$ac_link\"") >&5 10172 if { (eval echo "$as_me:10172: \"$ac_link\"") >&5
10168 (eval $ac_link) 2>&5 10173 (eval $ac_link) 2>&5
10169 ac_status=$? 10174 ac_status=$?
10170 echo "$as_me:10170: \$? = $ac_status" >&5 10175 echo "$as_me:10175: \$? = $ac_status" >&5
10171 (exit $ac_status); } && 10176 (exit $ac_status); } &&
10172 { ac_try='test -s conftest$ac_exeext' 10177 { ac_try='test -s conftest$ac_exeext'
10173 { (eval echo "$as_me:10173: \"$ac_try\"") >&5 10178 { (eval echo "$as_me:10178: \"$ac_try\"") >&5
10174 (eval $ac_try) 2>&5 10179 (eval $ac_try) 2>&5
10175 ac_status=$? 10180 ac_status=$?
10176 echo "$as_me:10176: \$? = $ac_status" >&5 10181 echo "$as_me:10181: \$? = $ac_status" >&5
10177 (exit $ac_status); }; }; then 10182 (exit $ac_status); }; }; then
10178 eval "$as_ac_var=yes" 10183 eval "$as_ac_var=yes"
10179 else 10184 else
10180 echo "$as_me: failed program was:" >&5 10185 echo "$as_me: failed program was:" >&5
10181 cat conftest.$ac_ext >&5 10186 cat conftest.$ac_ext >&5
10182 eval "$as_ac_var=no" 10187 eval "$as_ac_var=no"
10183 fi 10188 fi
10184 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10185 fi 10190 fi
10186 echo "$as_me:10186: result: `eval echo '${'$as_ac_var'}'`" >&5 10191 echo "$as_me:10191: result: `eval echo '${'$as_ac_var'}'`" >&5
10187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10188 if test `eval echo '${'$as_ac_var'}'` = yes; then 10193 if test `eval echo '${'$as_ac_var'}'` = yes; then
10189 cat >>confdefs.h <<EOF 10194 cat >>confdefs.h <<EOF
10190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10191 EOF 10196 EOF
10196 # PTY-related GNU extensions. 10201 # PTY-related GNU extensions.
10197 10202
10198 for ac_func in getpt 10203 for ac_func in getpt
10199 do 10204 do
10200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10201 echo "$as_me:10201: checking for $ac_func" >&5 10206 echo "$as_me:10206: checking for $ac_func" >&5
10202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10203 if eval "test \"\${$as_ac_var+set}\" = set"; then 10208 if eval "test \"\${$as_ac_var+set}\" = set"; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6 10209 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 else 10210 else
10206 cat >conftest.$ac_ext <<_ACEOF 10211 cat >conftest.$ac_ext <<_ACEOF
10233 ; 10238 ;
10234 return 0; 10239 return 0;
10235 } 10240 }
10236 _ACEOF 10241 _ACEOF
10237 rm -f conftest.$ac_objext conftest$ac_exeext 10242 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (eval echo "$as_me:10238: \"$ac_link\"") >&5 10243 if { (eval echo "$as_me:10243: \"$ac_link\"") >&5
10239 (eval $ac_link) 2>&5 10244 (eval $ac_link) 2>&5
10240 ac_status=$? 10245 ac_status=$?
10241 echo "$as_me:10241: \$? = $ac_status" >&5 10246 echo "$as_me:10246: \$? = $ac_status" >&5
10242 (exit $ac_status); } && 10247 (exit $ac_status); } &&
10243 { ac_try='test -s conftest$ac_exeext' 10248 { ac_try='test -s conftest$ac_exeext'
10244 { (eval echo "$as_me:10244: \"$ac_try\"") >&5 10249 { (eval echo "$as_me:10249: \"$ac_try\"") >&5
10245 (eval $ac_try) 2>&5 10250 (eval $ac_try) 2>&5
10246 ac_status=$? 10251 ac_status=$?
10247 echo "$as_me:10247: \$? = $ac_status" >&5 10252 echo "$as_me:10252: \$? = $ac_status" >&5
10248 (exit $ac_status); }; }; then 10253 (exit $ac_status); }; }; then
10249 eval "$as_ac_var=yes" 10254 eval "$as_ac_var=yes"
10250 else 10255 else
10251 echo "$as_me: failed program was:" >&5 10256 echo "$as_me: failed program was:" >&5
10252 cat conftest.$ac_ext >&5 10257 cat conftest.$ac_ext >&5
10253 eval "$as_ac_var=no" 10258 eval "$as_ac_var=no"
10254 fi 10259 fi
10255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10256 fi 10261 fi
10257 echo "$as_me:10257: result: `eval echo '${'$as_ac_var'}'`" >&5 10262 echo "$as_me:10262: result: `eval echo '${'$as_ac_var'}'`" >&5
10258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10259 if test `eval echo '${'$as_ac_var'}'` = yes; then 10264 if test `eval echo '${'$as_ac_var'}'` = yes; then
10260 cat >>confdefs.h <<EOF 10265 cat >>confdefs.h <<EOF
10261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10262 EOF 10267 EOF
10267 # Check this now, so that we will NOT find the above functions in ncurses. 10272 # Check this now, so that we will NOT find the above functions in ncurses.
10268 # That is because we have not set up to link ncurses in lib-src. 10273 # That is because we have not set up to link ncurses in lib-src.
10269 # It's better to believe a function is not available 10274 # It's better to believe a function is not available
10270 # than to expect to find it in ncurses. 10275 # than to expect to find it in ncurses.
10271 10276
10272 echo "$as_me:10272: checking for tparm in -lncurses" >&5 10277 echo "$as_me:10277: checking for tparm in -lncurses" >&5
10273 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 10278 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10274 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 10279 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6 10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 else 10281 else
10277 ac_check_lib_save_LIBS=$LIBS 10282 ac_check_lib_save_LIBS=$LIBS
10294 ; 10299 ;
10295 return 0; 10300 return 0;
10296 } 10301 }
10297 _ACEOF 10302 _ACEOF
10298 rm -f conftest.$ac_objext conftest$ac_exeext 10303 rm -f conftest.$ac_objext conftest$ac_exeext
10299 if { (eval echo "$as_me:10299: \"$ac_link\"") >&5 10304 if { (eval echo "$as_me:10304: \"$ac_link\"") >&5
10300 (eval $ac_link) 2>&5 10305 (eval $ac_link) 2>&5
10301 ac_status=$? 10306 ac_status=$?
10302 echo "$as_me:10302: \$? = $ac_status" >&5 10307 echo "$as_me:10307: \$? = $ac_status" >&5
10303 (exit $ac_status); } && 10308 (exit $ac_status); } &&
10304 { ac_try='test -s conftest$ac_exeext' 10309 { ac_try='test -s conftest$ac_exeext'
10305 { (eval echo "$as_me:10305: \"$ac_try\"") >&5 10310 { (eval echo "$as_me:10310: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5 10311 (eval $ac_try) 2>&5
10307 ac_status=$? 10312 ac_status=$?
10308 echo "$as_me:10308: \$? = $ac_status" >&5 10313 echo "$as_me:10313: \$? = $ac_status" >&5
10309 (exit $ac_status); }; }; then 10314 (exit $ac_status); }; }; then
10310 ac_cv_lib_ncurses_tparm=yes 10315 ac_cv_lib_ncurses_tparm=yes
10311 else 10316 else
10312 echo "$as_me: failed program was:" >&5 10317 echo "$as_me: failed program was:" >&5
10313 cat conftest.$ac_ext >&5 10318 cat conftest.$ac_ext >&5
10314 ac_cv_lib_ncurses_tparm=no 10319 ac_cv_lib_ncurses_tparm=no
10315 fi 10320 fi
10316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_lib_save_LIBS 10322 LIBS=$ac_check_lib_save_LIBS
10318 fi 10323 fi
10319 echo "$as_me:10319: result: $ac_cv_lib_ncurses_tparm" >&5 10324 echo "$as_me:10324: result: $ac_cv_lib_ncurses_tparm" >&5
10320 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 10325 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10321 if test $ac_cv_lib_ncurses_tparm = yes; then 10326 if test $ac_cv_lib_ncurses_tparm = yes; then
10322 cat >>confdefs.h <<EOF 10327 cat >>confdefs.h <<EOF
10323 #define HAVE_LIBNCURSES 1 10328 #define HAVE_LIBNCURSES 1
10324 EOF 10329 EOF
10329 10334
10330 # Do we need the Hesiod library to provide the support routines? 10335 # Do we need the Hesiod library to provide the support routines?
10331 if test "$with_hesiod" = yes ; then 10336 if test "$with_hesiod" = yes ; then
10332 # Don't set $LIBS here -- see comments above. 10337 # Don't set $LIBS here -- see comments above.
10333 resolv=no 10338 resolv=no
10334 echo "$as_me:10334: checking for res_send" >&5 10339 echo "$as_me:10339: checking for res_send" >&5
10335 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10340 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10336 if test "${ac_cv_func_res_send+set}" = set; then 10341 if test "${ac_cv_func_res_send+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6 10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 else 10343 else
10339 cat >conftest.$ac_ext <<_ACEOF 10344 cat >conftest.$ac_ext <<_ACEOF
10366 ; 10371 ;
10367 return 0; 10372 return 0;
10368 } 10373 }
10369 _ACEOF 10374 _ACEOF
10370 rm -f conftest.$ac_objext conftest$ac_exeext 10375 rm -f conftest.$ac_objext conftest$ac_exeext
10371 if { (eval echo "$as_me:10371: \"$ac_link\"") >&5 10376 if { (eval echo "$as_me:10376: \"$ac_link\"") >&5
10372 (eval $ac_link) 2>&5 10377 (eval $ac_link) 2>&5
10373 ac_status=$? 10378 ac_status=$?
10374 echo "$as_me:10374: \$? = $ac_status" >&5 10379 echo "$as_me:10379: \$? = $ac_status" >&5
10375 (exit $ac_status); } && 10380 (exit $ac_status); } &&
10376 { ac_try='test -s conftest$ac_exeext' 10381 { ac_try='test -s conftest$ac_exeext'
10377 { (eval echo "$as_me:10377: \"$ac_try\"") >&5 10382 { (eval echo "$as_me:10382: \"$ac_try\"") >&5
10378 (eval $ac_try) 2>&5 10383 (eval $ac_try) 2>&5
10379 ac_status=$? 10384 ac_status=$?
10380 echo "$as_me:10380: \$? = $ac_status" >&5 10385 echo "$as_me:10385: \$? = $ac_status" >&5
10381 (exit $ac_status); }; }; then 10386 (exit $ac_status); }; }; then
10382 ac_cv_func_res_send=yes 10387 ac_cv_func_res_send=yes
10383 else 10388 else
10384 echo "$as_me: failed program was:" >&5 10389 echo "$as_me: failed program was:" >&5
10385 cat conftest.$ac_ext >&5 10390 cat conftest.$ac_ext >&5
10386 ac_cv_func_res_send=no 10391 ac_cv_func_res_send=no
10387 fi 10392 fi
10388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10389 fi 10394 fi
10390 echo "$as_me:10390: result: $ac_cv_func_res_send" >&5 10395 echo "$as_me:10395: result: $ac_cv_func_res_send" >&5
10391 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10396 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10392 if test $ac_cv_func_res_send = yes; then 10397 if test $ac_cv_func_res_send = yes; then
10393 : 10398 :
10394 else 10399 else
10395 echo "$as_me:10395: checking for __res_send" >&5 10400 echo "$as_me:10400: checking for __res_send" >&5
10396 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10401 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10397 if test "${ac_cv_func___res_send+set}" = set; then 10402 if test "${ac_cv_func___res_send+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6 10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 else 10404 else
10400 cat >conftest.$ac_ext <<_ACEOF 10405 cat >conftest.$ac_ext <<_ACEOF
10427 ; 10432 ;
10428 return 0; 10433 return 0;
10429 } 10434 }
10430 _ACEOF 10435 _ACEOF
10431 rm -f conftest.$ac_objext conftest$ac_exeext 10436 rm -f conftest.$ac_objext conftest$ac_exeext
10432 if { (eval echo "$as_me:10432: \"$ac_link\"") >&5 10437 if { (eval echo "$as_me:10437: \"$ac_link\"") >&5
10433 (eval $ac_link) 2>&5 10438 (eval $ac_link) 2>&5
10434 ac_status=$? 10439 ac_status=$?
10435 echo "$as_me:10435: \$? = $ac_status" >&5 10440 echo "$as_me:10440: \$? = $ac_status" >&5
10436 (exit $ac_status); } && 10441 (exit $ac_status); } &&
10437 { ac_try='test -s conftest$ac_exeext' 10442 { ac_try='test -s conftest$ac_exeext'
10438 { (eval echo "$as_me:10438: \"$ac_try\"") >&5 10443 { (eval echo "$as_me:10443: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5 10444 (eval $ac_try) 2>&5
10440 ac_status=$? 10445 ac_status=$?
10441 echo "$as_me:10441: \$? = $ac_status" >&5 10446 echo "$as_me:10446: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then 10447 (exit $ac_status); }; }; then
10443 ac_cv_func___res_send=yes 10448 ac_cv_func___res_send=yes
10444 else 10449 else
10445 echo "$as_me: failed program was:" >&5 10450 echo "$as_me: failed program was:" >&5
10446 cat conftest.$ac_ext >&5 10451 cat conftest.$ac_ext >&5
10447 ac_cv_func___res_send=no 10452 ac_cv_func___res_send=no
10448 fi 10453 fi
10449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10450 fi 10455 fi
10451 echo "$as_me:10451: result: $ac_cv_func___res_send" >&5 10456 echo "$as_me:10456: result: $ac_cv_func___res_send" >&5
10452 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10457 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10453 if test $ac_cv_func___res_send = yes; then 10458 if test $ac_cv_func___res_send = yes; then
10454 : 10459 :
10455 else 10460 else
10456 echo "$as_me:10456: checking for res_send in -lresolv" >&5 10461 echo "$as_me:10461: checking for res_send in -lresolv" >&5
10457 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10462 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10458 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10463 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10459 echo $ECHO_N "(cached) $ECHO_C" >&6 10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 else 10465 else
10461 ac_check_lib_save_LIBS=$LIBS 10466 ac_check_lib_save_LIBS=$LIBS
10478 ; 10483 ;
10479 return 0; 10484 return 0;
10480 } 10485 }
10481 _ACEOF 10486 _ACEOF
10482 rm -f conftest.$ac_objext conftest$ac_exeext 10487 rm -f conftest.$ac_objext conftest$ac_exeext
10483 if { (eval echo "$as_me:10483: \"$ac_link\"") >&5 10488 if { (eval echo "$as_me:10488: \"$ac_link\"") >&5
10484 (eval $ac_link) 2>&5 10489 (eval $ac_link) 2>&5
10485 ac_status=$? 10490 ac_status=$?
10486 echo "$as_me:10486: \$? = $ac_status" >&5 10491 echo "$as_me:10491: \$? = $ac_status" >&5
10487 (exit $ac_status); } && 10492 (exit $ac_status); } &&
10488 { ac_try='test -s conftest$ac_exeext' 10493 { ac_try='test -s conftest$ac_exeext'
10489 { (eval echo "$as_me:10489: \"$ac_try\"") >&5 10494 { (eval echo "$as_me:10494: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5 10495 (eval $ac_try) 2>&5
10491 ac_status=$? 10496 ac_status=$?
10492 echo "$as_me:10492: \$? = $ac_status" >&5 10497 echo "$as_me:10497: \$? = $ac_status" >&5
10493 (exit $ac_status); }; }; then 10498 (exit $ac_status); }; }; then
10494 ac_cv_lib_resolv_res_send=yes 10499 ac_cv_lib_resolv_res_send=yes
10495 else 10500 else
10496 echo "$as_me: failed program was:" >&5 10501 echo "$as_me: failed program was:" >&5
10497 cat conftest.$ac_ext >&5 10502 cat conftest.$ac_ext >&5
10498 ac_cv_lib_resolv_res_send=no 10503 ac_cv_lib_resolv_res_send=no
10499 fi 10504 fi
10500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10501 LIBS=$ac_check_lib_save_LIBS 10506 LIBS=$ac_check_lib_save_LIBS
10502 fi 10507 fi
10503 echo "$as_me:10503: result: $ac_cv_lib_resolv_res_send" >&5 10508 echo "$as_me:10508: result: $ac_cv_lib_resolv_res_send" >&5
10504 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10509 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10505 if test $ac_cv_lib_resolv_res_send = yes; then 10510 if test $ac_cv_lib_resolv_res_send = yes; then
10506 resolv=yes 10511 resolv=yes
10507 else 10512 else
10508 echo "$as_me:10508: checking for __res_send in -lresolv" >&5 10513 echo "$as_me:10513: checking for __res_send in -lresolv" >&5
10509 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10514 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10510 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10515 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6 10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 else 10517 else
10513 ac_check_lib_save_LIBS=$LIBS 10518 ac_check_lib_save_LIBS=$LIBS
10530 ; 10535 ;
10531 return 0; 10536 return 0;
10532 } 10537 }
10533 _ACEOF 10538 _ACEOF
10534 rm -f conftest.$ac_objext conftest$ac_exeext 10539 rm -f conftest.$ac_objext conftest$ac_exeext
10535 if { (eval echo "$as_me:10535: \"$ac_link\"") >&5 10540 if { (eval echo "$as_me:10540: \"$ac_link\"") >&5
10536 (eval $ac_link) 2>&5 10541 (eval $ac_link) 2>&5
10537 ac_status=$? 10542 ac_status=$?
10538 echo "$as_me:10538: \$? = $ac_status" >&5 10543 echo "$as_me:10543: \$? = $ac_status" >&5
10539 (exit $ac_status); } && 10544 (exit $ac_status); } &&
10540 { ac_try='test -s conftest$ac_exeext' 10545 { ac_try='test -s conftest$ac_exeext'
10541 { (eval echo "$as_me:10541: \"$ac_try\"") >&5 10546 { (eval echo "$as_me:10546: \"$ac_try\"") >&5
10542 (eval $ac_try) 2>&5 10547 (eval $ac_try) 2>&5
10543 ac_status=$? 10548 ac_status=$?
10544 echo "$as_me:10544: \$? = $ac_status" >&5 10549 echo "$as_me:10549: \$? = $ac_status" >&5
10545 (exit $ac_status); }; }; then 10550 (exit $ac_status); }; }; then
10546 ac_cv_lib_resolv___res_send=yes 10551 ac_cv_lib_resolv___res_send=yes
10547 else 10552 else
10548 echo "$as_me: failed program was:" >&5 10553 echo "$as_me: failed program was:" >&5
10549 cat conftest.$ac_ext >&5 10554 cat conftest.$ac_ext >&5
10550 ac_cv_lib_resolv___res_send=no 10555 ac_cv_lib_resolv___res_send=no
10551 fi 10556 fi
10552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10553 LIBS=$ac_check_lib_save_LIBS 10558 LIBS=$ac_check_lib_save_LIBS
10554 fi 10559 fi
10555 echo "$as_me:10555: result: $ac_cv_lib_resolv___res_send" >&5 10560 echo "$as_me:10560: result: $ac_cv_lib_resolv___res_send" >&5
10556 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10561 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10557 if test $ac_cv_lib_resolv___res_send = yes; then 10562 if test $ac_cv_lib_resolv___res_send = yes; then
10558 resolv=yes 10563 resolv=yes
10559 fi 10564 fi
10560 10565
10572 EOF 10577 EOF
10573 10578
10574 else 10579 else
10575 RESOLVLIB= 10580 RESOLVLIB=
10576 fi 10581 fi
10577 echo "$as_me:10577: checking for hes_getmailhost" >&5 10582 echo "$as_me:10582: checking for hes_getmailhost" >&5
10578 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10583 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10579 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10584 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6 10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 else 10586 else
10582 cat >conftest.$ac_ext <<_ACEOF 10587 cat >conftest.$ac_ext <<_ACEOF
10609 ; 10614 ;
10610 return 0; 10615 return 0;
10611 } 10616 }
10612 _ACEOF 10617 _ACEOF
10613 rm -f conftest.$ac_objext conftest$ac_exeext 10618 rm -f conftest.$ac_objext conftest$ac_exeext
10614 if { (eval echo "$as_me:10614: \"$ac_link\"") >&5 10619 if { (eval echo "$as_me:10619: \"$ac_link\"") >&5
10615 (eval $ac_link) 2>&5 10620 (eval $ac_link) 2>&5
10616 ac_status=$? 10621 ac_status=$?
10617 echo "$as_me:10617: \$? = $ac_status" >&5 10622 echo "$as_me:10622: \$? = $ac_status" >&5
10618 (exit $ac_status); } && 10623 (exit $ac_status); } &&
10619 { ac_try='test -s conftest$ac_exeext' 10624 { ac_try='test -s conftest$ac_exeext'
10620 { (eval echo "$as_me:10620: \"$ac_try\"") >&5 10625 { (eval echo "$as_me:10625: \"$ac_try\"") >&5
10621 (eval $ac_try) 2>&5 10626 (eval $ac_try) 2>&5
10622 ac_status=$? 10627 ac_status=$?
10623 echo "$as_me:10623: \$? = $ac_status" >&5 10628 echo "$as_me:10628: \$? = $ac_status" >&5
10624 (exit $ac_status); }; }; then 10629 (exit $ac_status); }; }; then
10625 ac_cv_func_hes_getmailhost=yes 10630 ac_cv_func_hes_getmailhost=yes
10626 else 10631 else
10627 echo "$as_me: failed program was:" >&5 10632 echo "$as_me: failed program was:" >&5
10628 cat conftest.$ac_ext >&5 10633 cat conftest.$ac_ext >&5
10629 ac_cv_func_hes_getmailhost=no 10634 ac_cv_func_hes_getmailhost=no
10630 fi 10635 fi
10631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10632 fi 10637 fi
10633 echo "$as_me:10633: result: $ac_cv_func_hes_getmailhost" >&5 10638 echo "$as_me:10638: result: $ac_cv_func_hes_getmailhost" >&5
10634 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10639 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10635 if test $ac_cv_func_hes_getmailhost = yes; then 10640 if test $ac_cv_func_hes_getmailhost = yes; then
10636 : 10641 :
10637 else 10642 else
10638 echo "$as_me:10638: checking for hes_getmailhost in -lhesiod" >&5 10643 echo "$as_me:10643: checking for hes_getmailhost in -lhesiod" >&5
10639 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10644 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10640 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10645 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6 10646 echo $ECHO_N "(cached) $ECHO_C" >&6
10642 else 10647 else
10643 ac_check_lib_save_LIBS=$LIBS 10648 ac_check_lib_save_LIBS=$LIBS
10660 ; 10665 ;
10661 return 0; 10666 return 0;
10662 } 10667 }
10663 _ACEOF 10668 _ACEOF
10664 rm -f conftest.$ac_objext conftest$ac_exeext 10669 rm -f conftest.$ac_objext conftest$ac_exeext
10665 if { (eval echo "$as_me:10665: \"$ac_link\"") >&5 10670 if { (eval echo "$as_me:10670: \"$ac_link\"") >&5
10666 (eval $ac_link) 2>&5 10671 (eval $ac_link) 2>&5
10667 ac_status=$? 10672 ac_status=$?
10668 echo "$as_me:10668: \$? = $ac_status" >&5 10673 echo "$as_me:10673: \$? = $ac_status" >&5
10669 (exit $ac_status); } && 10674 (exit $ac_status); } &&
10670 { ac_try='test -s conftest$ac_exeext' 10675 { ac_try='test -s conftest$ac_exeext'
10671 { (eval echo "$as_me:10671: \"$ac_try\"") >&5 10676 { (eval echo "$as_me:10676: \"$ac_try\"") >&5
10672 (eval $ac_try) 2>&5 10677 (eval $ac_try) 2>&5
10673 ac_status=$? 10678 ac_status=$?
10674 echo "$as_me:10674: \$? = $ac_status" >&5 10679 echo "$as_me:10679: \$? = $ac_status" >&5
10675 (exit $ac_status); }; }; then 10680 (exit $ac_status); }; }; then
10676 ac_cv_lib_hesiod_hes_getmailhost=yes 10681 ac_cv_lib_hesiod_hes_getmailhost=yes
10677 else 10682 else
10678 echo "$as_me: failed program was:" >&5 10683 echo "$as_me: failed program was:" >&5
10679 cat conftest.$ac_ext >&5 10684 cat conftest.$ac_ext >&5
10680 ac_cv_lib_hesiod_hes_getmailhost=no 10685 ac_cv_lib_hesiod_hes_getmailhost=no
10681 fi 10686 fi
10682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10683 LIBS=$ac_check_lib_save_LIBS 10688 LIBS=$ac_check_lib_save_LIBS
10684 fi 10689 fi
10685 echo "$as_me:10685: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10690 echo "$as_me:10690: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10686 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10691 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10687 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10692 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10688 10693
10689 cat >>confdefs.h <<\EOF 10694 cat >>confdefs.h <<\EOF
10690 #define HAVE_LIBHESIOD 1 10695 #define HAVE_LIBHESIOD 1
10699 fi 10704 fi
10700 10705
10701 # These tell us which Kerberos-related libraries to use. 10706 # These tell us which Kerberos-related libraries to use.
10702 if test "${with_kerberos+set}" = set; then 10707 if test "${with_kerberos+set}" = set; then
10703 10708
10704 echo "$as_me:10704: checking for com_err in -lcom_err" >&5 10709 echo "$as_me:10709: checking for com_err in -lcom_err" >&5
10705 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10710 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10706 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10711 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6 10712 echo $ECHO_N "(cached) $ECHO_C" >&6
10708 else 10713 else
10709 ac_check_lib_save_LIBS=$LIBS 10714 ac_check_lib_save_LIBS=$LIBS
10726 ; 10731 ;
10727 return 0; 10732 return 0;
10728 } 10733 }
10729 _ACEOF 10734 _ACEOF
10730 rm -f conftest.$ac_objext conftest$ac_exeext 10735 rm -f conftest.$ac_objext conftest$ac_exeext
10731 if { (eval echo "$as_me:10731: \"$ac_link\"") >&5 10736 if { (eval echo "$as_me:10736: \"$ac_link\"") >&5
10732 (eval $ac_link) 2>&5 10737 (eval $ac_link) 2>&5
10733 ac_status=$? 10738 ac_status=$?
10734 echo "$as_me:10734: \$? = $ac_status" >&5 10739 echo "$as_me:10739: \$? = $ac_status" >&5
10735 (exit $ac_status); } && 10740 (exit $ac_status); } &&
10736 { ac_try='test -s conftest$ac_exeext' 10741 { ac_try='test -s conftest$ac_exeext'
10737 { (eval echo "$as_me:10737: \"$ac_try\"") >&5 10742 { (eval echo "$as_me:10742: \"$ac_try\"") >&5
10738 (eval $ac_try) 2>&5 10743 (eval $ac_try) 2>&5
10739 ac_status=$? 10744 ac_status=$?
10740 echo "$as_me:10740: \$? = $ac_status" >&5 10745 echo "$as_me:10745: \$? = $ac_status" >&5
10741 (exit $ac_status); }; }; then 10746 (exit $ac_status); }; }; then
10742 ac_cv_lib_com_err_com_err=yes 10747 ac_cv_lib_com_err_com_err=yes
10743 else 10748 else
10744 echo "$as_me: failed program was:" >&5 10749 echo "$as_me: failed program was:" >&5
10745 cat conftest.$ac_ext >&5 10750 cat conftest.$ac_ext >&5
10746 ac_cv_lib_com_err_com_err=no 10751 ac_cv_lib_com_err_com_err=no
10747 fi 10752 fi
10748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10753 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10749 LIBS=$ac_check_lib_save_LIBS 10754 LIBS=$ac_check_lib_save_LIBS
10750 fi 10755 fi
10751 echo "$as_me:10751: result: $ac_cv_lib_com_err_com_err" >&5 10756 echo "$as_me:10756: result: $ac_cv_lib_com_err_com_err" >&5
10752 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10757 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10753 if test $ac_cv_lib_com_err_com_err = yes; then 10758 if test $ac_cv_lib_com_err_com_err = yes; then
10754 cat >>confdefs.h <<EOF 10759 cat >>confdefs.h <<EOF
10755 #define HAVE_LIBCOM_ERR 1 10760 #define HAVE_LIBCOM_ERR 1
10756 EOF 10761 EOF
10757 10762
10758 LIBS="-lcom_err $LIBS" 10763 LIBS="-lcom_err $LIBS"
10759 10764
10760 fi 10765 fi
10761 10766
10762 echo "$as_me:10762: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10767 echo "$as_me:10767: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10763 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10768 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10764 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10769 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10765 echo $ECHO_N "(cached) $ECHO_C" >&6 10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10766 else 10771 else
10767 ac_check_lib_save_LIBS=$LIBS 10772 ac_check_lib_save_LIBS=$LIBS
10784 ; 10789 ;
10785 return 0; 10790 return 0;
10786 } 10791 }
10787 _ACEOF 10792 _ACEOF
10788 rm -f conftest.$ac_objext conftest$ac_exeext 10793 rm -f conftest.$ac_objext conftest$ac_exeext
10789 if { (eval echo "$as_me:10789: \"$ac_link\"") >&5 10794 if { (eval echo "$as_me:10794: \"$ac_link\"") >&5
10790 (eval $ac_link) 2>&5 10795 (eval $ac_link) 2>&5
10791 ac_status=$? 10796 ac_status=$?
10792 echo "$as_me:10792: \$? = $ac_status" >&5 10797 echo "$as_me:10797: \$? = $ac_status" >&5
10793 (exit $ac_status); } && 10798 (exit $ac_status); } &&
10794 { ac_try='test -s conftest$ac_exeext' 10799 { ac_try='test -s conftest$ac_exeext'
10795 { (eval echo "$as_me:10795: \"$ac_try\"") >&5 10800 { (eval echo "$as_me:10800: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5 10801 (eval $ac_try) 2>&5
10797 ac_status=$? 10802 ac_status=$?
10798 echo "$as_me:10798: \$? = $ac_status" >&5 10803 echo "$as_me:10803: \$? = $ac_status" >&5
10799 (exit $ac_status); }; }; then 10804 (exit $ac_status); }; }; then
10800 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10805 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10801 else 10806 else
10802 echo "$as_me: failed program was:" >&5 10807 echo "$as_me: failed program was:" >&5
10803 cat conftest.$ac_ext >&5 10808 cat conftest.$ac_ext >&5
10804 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10809 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10805 fi 10810 fi
10806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10807 LIBS=$ac_check_lib_save_LIBS 10812 LIBS=$ac_check_lib_save_LIBS
10808 fi 10813 fi
10809 echo "$as_me:10809: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10814 echo "$as_me:10814: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10810 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10815 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10811 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10816 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10812 cat >>confdefs.h <<EOF 10817 cat >>confdefs.h <<EOF
10813 #define HAVE_LIBK5CRYPTO 1 10818 #define HAVE_LIBK5CRYPTO 1
10814 EOF 10819 EOF
10815 10820
10816 LIBS="-lk5crypto $LIBS" 10821 LIBS="-lk5crypto $LIBS"
10817 10822
10818 fi 10823 fi
10819 10824
10820 echo "$as_me:10820: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10825 echo "$as_me:10825: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10821 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10826 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10822 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10827 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6 10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10824 else 10829 else
10825 ac_check_lib_save_LIBS=$LIBS 10830 ac_check_lib_save_LIBS=$LIBS
10842 ; 10847 ;
10843 return 0; 10848 return 0;
10844 } 10849 }
10845 _ACEOF 10850 _ACEOF
10846 rm -f conftest.$ac_objext conftest$ac_exeext 10851 rm -f conftest.$ac_objext conftest$ac_exeext
10847 if { (eval echo "$as_me:10847: \"$ac_link\"") >&5 10852 if { (eval echo "$as_me:10852: \"$ac_link\"") >&5
10848 (eval $ac_link) 2>&5 10853 (eval $ac_link) 2>&5
10849 ac_status=$? 10854 ac_status=$?
10850 echo "$as_me:10850: \$? = $ac_status" >&5 10855 echo "$as_me:10855: \$? = $ac_status" >&5
10851 (exit $ac_status); } && 10856 (exit $ac_status); } &&
10852 { ac_try='test -s conftest$ac_exeext' 10857 { ac_try='test -s conftest$ac_exeext'
10853 { (eval echo "$as_me:10853: \"$ac_try\"") >&5 10858 { (eval echo "$as_me:10858: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5 10859 (eval $ac_try) 2>&5
10855 ac_status=$? 10860 ac_status=$?
10856 echo "$as_me:10856: \$? = $ac_status" >&5 10861 echo "$as_me:10861: \$? = $ac_status" >&5
10857 (exit $ac_status); }; }; then 10862 (exit $ac_status); }; }; then
10858 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10863 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10859 else 10864 else
10860 echo "$as_me: failed program was:" >&5 10865 echo "$as_me: failed program was:" >&5
10861 cat conftest.$ac_ext >&5 10866 cat conftest.$ac_ext >&5
10862 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10867 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10863 fi 10868 fi
10864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_lib_save_LIBS 10870 LIBS=$ac_check_lib_save_LIBS
10866 fi 10871 fi
10867 echo "$as_me:10867: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10872 echo "$as_me:10872: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10868 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10873 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10869 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10874 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10870 cat >>confdefs.h <<EOF 10875 cat >>confdefs.h <<EOF
10871 #define HAVE_LIBCRYPTO 1 10876 #define HAVE_LIBCRYPTO 1
10872 EOF 10877 EOF
10873 10878
10874 LIBS="-lcrypto $LIBS" 10879 LIBS="-lcrypto $LIBS"
10875 10880
10876 fi 10881 fi
10877 10882
10878 echo "$as_me:10878: checking for krb5_init_context in -lkrb5" >&5 10883 echo "$as_me:10883: checking for krb5_init_context in -lkrb5" >&5
10879 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10884 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10880 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10885 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6 10886 echo $ECHO_N "(cached) $ECHO_C" >&6
10882 else 10887 else
10883 ac_check_lib_save_LIBS=$LIBS 10888 ac_check_lib_save_LIBS=$LIBS
10900 ; 10905 ;
10901 return 0; 10906 return 0;
10902 } 10907 }
10903 _ACEOF 10908 _ACEOF
10904 rm -f conftest.$ac_objext conftest$ac_exeext 10909 rm -f conftest.$ac_objext conftest$ac_exeext
10905 if { (eval echo "$as_me:10905: \"$ac_link\"") >&5 10910 if { (eval echo "$as_me:10910: \"$ac_link\"") >&5
10906 (eval $ac_link) 2>&5 10911 (eval $ac_link) 2>&5
10907 ac_status=$? 10912 ac_status=$?
10908 echo "$as_me:10908: \$? = $ac_status" >&5 10913 echo "$as_me:10913: \$? = $ac_status" >&5
10909 (exit $ac_status); } && 10914 (exit $ac_status); } &&
10910 { ac_try='test -s conftest$ac_exeext' 10915 { ac_try='test -s conftest$ac_exeext'
10911 { (eval echo "$as_me:10911: \"$ac_try\"") >&5 10916 { (eval echo "$as_me:10916: \"$ac_try\"") >&5
10912 (eval $ac_try) 2>&5 10917 (eval $ac_try) 2>&5
10913 ac_status=$? 10918 ac_status=$?
10914 echo "$as_me:10914: \$? = $ac_status" >&5 10919 echo "$as_me:10919: \$? = $ac_status" >&5
10915 (exit $ac_status); }; }; then 10920 (exit $ac_status); }; }; then
10916 ac_cv_lib_krb5_krb5_init_context=yes 10921 ac_cv_lib_krb5_krb5_init_context=yes
10917 else 10922 else
10918 echo "$as_me: failed program was:" >&5 10923 echo "$as_me: failed program was:" >&5
10919 cat conftest.$ac_ext >&5 10924 cat conftest.$ac_ext >&5
10920 ac_cv_lib_krb5_krb5_init_context=no 10925 ac_cv_lib_krb5_krb5_init_context=no
10921 fi 10926 fi
10922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10923 LIBS=$ac_check_lib_save_LIBS 10928 LIBS=$ac_check_lib_save_LIBS
10924 fi 10929 fi
10925 echo "$as_me:10925: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10930 echo "$as_me:10930: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10926 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10931 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10927 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10932 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10928 cat >>confdefs.h <<EOF 10933 cat >>confdefs.h <<EOF
10929 #define HAVE_LIBKRB5 1 10934 #define HAVE_LIBKRB5 1
10930 EOF 10935 EOF
10933 10938
10934 fi 10939 fi
10935 10940
10936 if test "${with_kerberos5+set}" != set; then 10941 if test "${with_kerberos5+set}" != set; then
10937 10942
10938 echo "$as_me:10938: checking for des_cbc_encrypt in -ldes425" >&5 10943 echo "$as_me:10943: checking for des_cbc_encrypt in -ldes425" >&5
10939 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10944 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10940 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10945 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6 10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 else 10947 else
10943 ac_check_lib_save_LIBS=$LIBS 10948 ac_check_lib_save_LIBS=$LIBS
10960 ; 10965 ;
10961 return 0; 10966 return 0;
10962 } 10967 }
10963 _ACEOF 10968 _ACEOF
10964 rm -f conftest.$ac_objext conftest$ac_exeext 10969 rm -f conftest.$ac_objext conftest$ac_exeext
10965 if { (eval echo "$as_me:10965: \"$ac_link\"") >&5 10970 if { (eval echo "$as_me:10970: \"$ac_link\"") >&5
10966 (eval $ac_link) 2>&5 10971 (eval $ac_link) 2>&5
10967 ac_status=$? 10972 ac_status=$?
10968 echo "$as_me:10968: \$? = $ac_status" >&5 10973 echo "$as_me:10973: \$? = $ac_status" >&5
10969 (exit $ac_status); } && 10974 (exit $ac_status); } &&
10970 { ac_try='test -s conftest$ac_exeext' 10975 { ac_try='test -s conftest$ac_exeext'
10971 { (eval echo "$as_me:10971: \"$ac_try\"") >&5 10976 { (eval echo "$as_me:10976: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5 10977 (eval $ac_try) 2>&5
10973 ac_status=$? 10978 ac_status=$?
10974 echo "$as_me:10974: \$? = $ac_status" >&5 10979 echo "$as_me:10979: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then 10980 (exit $ac_status); }; }; then
10976 ac_cv_lib_des425_des_cbc_encrypt=yes 10981 ac_cv_lib_des425_des_cbc_encrypt=yes
10977 else 10982 else
10978 echo "$as_me: failed program was:" >&5 10983 echo "$as_me: failed program was:" >&5
10979 cat conftest.$ac_ext >&5 10984 cat conftest.$ac_ext >&5
10980 ac_cv_lib_des425_des_cbc_encrypt=no 10985 ac_cv_lib_des425_des_cbc_encrypt=no
10981 fi 10986 fi
10982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10983 LIBS=$ac_check_lib_save_LIBS 10988 LIBS=$ac_check_lib_save_LIBS
10984 fi 10989 fi
10985 echo "$as_me:10985: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10990 echo "$as_me:10990: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10986 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10991 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10987 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10992 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10988 cat >>confdefs.h <<EOF 10993 cat >>confdefs.h <<EOF
10989 #define HAVE_LIBDES425 1 10994 #define HAVE_LIBDES425 1
10990 EOF 10995 EOF
10991 10996
10992 LIBS="-ldes425 $LIBS" 10997 LIBS="-ldes425 $LIBS"
10993 10998
10994 else 10999 else
10995 11000
10996 echo "$as_me:10996: checking for des_cbc_encrypt in -ldes" >&5 11001 echo "$as_me:11001: checking for des_cbc_encrypt in -ldes" >&5
10997 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 11002 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10998 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 11003 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6 11004 echo $ECHO_N "(cached) $ECHO_C" >&6
11000 else 11005 else
11001 ac_check_lib_save_LIBS=$LIBS 11006 ac_check_lib_save_LIBS=$LIBS
11018 ; 11023 ;
11019 return 0; 11024 return 0;
11020 } 11025 }
11021 _ACEOF 11026 _ACEOF
11022 rm -f conftest.$ac_objext conftest$ac_exeext 11027 rm -f conftest.$ac_objext conftest$ac_exeext
11023 if { (eval echo "$as_me:11023: \"$ac_link\"") >&5 11028 if { (eval echo "$as_me:11028: \"$ac_link\"") >&5
11024 (eval $ac_link) 2>&5 11029 (eval $ac_link) 2>&5
11025 ac_status=$? 11030 ac_status=$?
11026 echo "$as_me:11026: \$? = $ac_status" >&5 11031 echo "$as_me:11031: \$? = $ac_status" >&5
11027 (exit $ac_status); } && 11032 (exit $ac_status); } &&
11028 { ac_try='test -s conftest$ac_exeext' 11033 { ac_try='test -s conftest$ac_exeext'
11029 { (eval echo "$as_me:11029: \"$ac_try\"") >&5 11034 { (eval echo "$as_me:11034: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5 11035 (eval $ac_try) 2>&5
11031 ac_status=$? 11036 ac_status=$?
11032 echo "$as_me:11032: \$? = $ac_status" >&5 11037 echo "$as_me:11037: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then 11038 (exit $ac_status); }; }; then
11034 ac_cv_lib_des_des_cbc_encrypt=yes 11039 ac_cv_lib_des_des_cbc_encrypt=yes
11035 else 11040 else
11036 echo "$as_me: failed program was:" >&5 11041 echo "$as_me: failed program was:" >&5
11037 cat conftest.$ac_ext >&5 11042 cat conftest.$ac_ext >&5
11038 ac_cv_lib_des_des_cbc_encrypt=no 11043 ac_cv_lib_des_des_cbc_encrypt=no
11039 fi 11044 fi
11040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS 11046 LIBS=$ac_check_lib_save_LIBS
11042 fi 11047 fi
11043 echo "$as_me:11043: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 11048 echo "$as_me:11048: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11044 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 11049 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11045 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 11050 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11046 cat >>confdefs.h <<EOF 11051 cat >>confdefs.h <<EOF
11047 #define HAVE_LIBDES 1 11052 #define HAVE_LIBDES 1
11048 EOF 11053 EOF
11051 11056
11052 fi 11057 fi
11053 11058
11054 fi 11059 fi
11055 11060
11056 echo "$as_me:11056: checking for krb_get_cred in -lkrb4" >&5 11061 echo "$as_me:11061: checking for krb_get_cred in -lkrb4" >&5
11057 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 11062 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11058 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 11063 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6 11064 echo $ECHO_N "(cached) $ECHO_C" >&6
11060 else 11065 else
11061 ac_check_lib_save_LIBS=$LIBS 11066 ac_check_lib_save_LIBS=$LIBS
11078 ; 11083 ;
11079 return 0; 11084 return 0;
11080 } 11085 }
11081 _ACEOF 11086 _ACEOF
11082 rm -f conftest.$ac_objext conftest$ac_exeext 11087 rm -f conftest.$ac_objext conftest$ac_exeext
11083 if { (eval echo "$as_me:11083: \"$ac_link\"") >&5 11088 if { (eval echo "$as_me:11088: \"$ac_link\"") >&5
11084 (eval $ac_link) 2>&5 11089 (eval $ac_link) 2>&5
11085 ac_status=$? 11090 ac_status=$?
11086 echo "$as_me:11086: \$? = $ac_status" >&5 11091 echo "$as_me:11091: \$? = $ac_status" >&5
11087 (exit $ac_status); } && 11092 (exit $ac_status); } &&
11088 { ac_try='test -s conftest$ac_exeext' 11093 { ac_try='test -s conftest$ac_exeext'
11089 { (eval echo "$as_me:11089: \"$ac_try\"") >&5 11094 { (eval echo "$as_me:11094: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5 11095 (eval $ac_try) 2>&5
11091 ac_status=$? 11096 ac_status=$?
11092 echo "$as_me:11092: \$? = $ac_status" >&5 11097 echo "$as_me:11097: \$? = $ac_status" >&5
11093 (exit $ac_status); }; }; then 11098 (exit $ac_status); }; }; then
11094 ac_cv_lib_krb4_krb_get_cred=yes 11099 ac_cv_lib_krb4_krb_get_cred=yes
11095 else 11100 else
11096 echo "$as_me: failed program was:" >&5 11101 echo "$as_me: failed program was:" >&5
11097 cat conftest.$ac_ext >&5 11102 cat conftest.$ac_ext >&5
11098 ac_cv_lib_krb4_krb_get_cred=no 11103 ac_cv_lib_krb4_krb_get_cred=no
11099 fi 11104 fi
11100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS 11106 LIBS=$ac_check_lib_save_LIBS
11102 fi 11107 fi
11103 echo "$as_me:11103: result: $ac_cv_lib_krb4_krb_get_cred" >&5 11108 echo "$as_me:11108: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11104 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 11109 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11105 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 11110 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11106 cat >>confdefs.h <<EOF 11111 cat >>confdefs.h <<EOF
11107 #define HAVE_LIBKRB4 1 11112 #define HAVE_LIBKRB4 1
11108 EOF 11113 EOF
11109 11114
11110 LIBS="-lkrb4 $LIBS" 11115 LIBS="-lkrb4 $LIBS"
11111 11116
11112 else 11117 else
11113 11118
11114 echo "$as_me:11114: checking for krb_get_cred in -lkrb" >&5 11119 echo "$as_me:11119: checking for krb_get_cred in -lkrb" >&5
11115 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 11120 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11116 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 11121 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6 11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else 11123 else
11119 ac_check_lib_save_LIBS=$LIBS 11124 ac_check_lib_save_LIBS=$LIBS
11136 ; 11141 ;
11137 return 0; 11142 return 0;
11138 } 11143 }
11139 _ACEOF 11144 _ACEOF
11140 rm -f conftest.$ac_objext conftest$ac_exeext 11145 rm -f conftest.$ac_objext conftest$ac_exeext
11141 if { (eval echo "$as_me:11141: \"$ac_link\"") >&5 11146 if { (eval echo "$as_me:11146: \"$ac_link\"") >&5
11142 (eval $ac_link) 2>&5 11147 (eval $ac_link) 2>&5
11143 ac_status=$? 11148 ac_status=$?
11144 echo "$as_me:11144: \$? = $ac_status" >&5 11149 echo "$as_me:11149: \$? = $ac_status" >&5
11145 (exit $ac_status); } && 11150 (exit $ac_status); } &&
11146 { ac_try='test -s conftest$ac_exeext' 11151 { ac_try='test -s conftest$ac_exeext'
11147 { (eval echo "$as_me:11147: \"$ac_try\"") >&5 11152 { (eval echo "$as_me:11152: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5 11153 (eval $ac_try) 2>&5
11149 ac_status=$? 11154 ac_status=$?
11150 echo "$as_me:11150: \$? = $ac_status" >&5 11155 echo "$as_me:11155: \$? = $ac_status" >&5
11151 (exit $ac_status); }; }; then 11156 (exit $ac_status); }; }; then
11152 ac_cv_lib_krb_krb_get_cred=yes 11157 ac_cv_lib_krb_krb_get_cred=yes
11153 else 11158 else
11154 echo "$as_me: failed program was:" >&5 11159 echo "$as_me: failed program was:" >&5
11155 cat conftest.$ac_ext >&5 11160 cat conftest.$ac_ext >&5
11156 ac_cv_lib_krb_krb_get_cred=no 11161 ac_cv_lib_krb_krb_get_cred=no
11157 fi 11162 fi
11158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11159 LIBS=$ac_check_lib_save_LIBS 11164 LIBS=$ac_check_lib_save_LIBS
11160 fi 11165 fi
11161 echo "$as_me:11161: result: $ac_cv_lib_krb_krb_get_cred" >&5 11166 echo "$as_me:11166: result: $ac_cv_lib_krb_krb_get_cred" >&5
11162 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 11167 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11163 if test $ac_cv_lib_krb_krb_get_cred = yes; then 11168 if test $ac_cv_lib_krb_krb_get_cred = yes; then
11164 cat >>confdefs.h <<EOF 11169 cat >>confdefs.h <<EOF
11165 #define HAVE_LIBKRB 1 11170 #define HAVE_LIBKRB 1
11166 EOF 11171 EOF
11176 if test "${with_kerberos5+set}" = set; then 11181 if test "${with_kerberos5+set}" = set; then
11177 11182
11178 for ac_header in krb5.h 11183 for ac_header in krb5.h
11179 do 11184 do
11180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11181 echo "$as_me:11181: checking for $ac_header" >&5 11186 echo "$as_me:11186: checking for $ac_header" >&5
11182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11183 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6 11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11185 else 11190 else
11186 cat >conftest.$ac_ext <<_ACEOF 11191 cat >conftest.$ac_ext <<_ACEOF
11187 #line 11187 "configure" 11192 #line 11187 "configure"
11188 #include "confdefs.h" 11193 #include "confdefs.h"
11189 #include <$ac_header> 11194 #include <$ac_header>
11190 _ACEOF 11195 _ACEOF
11191 if { (eval echo "$as_me:11191: \"$ac_cpp conftest.$ac_ext\"") >&5 11196 if { (eval echo "$as_me:11196: \"$ac_cpp conftest.$ac_ext\"") >&5
11192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11193 ac_status=$? 11198 ac_status=$?
11194 egrep -v '^ *\+' conftest.er1 >conftest.err 11199 egrep -v '^ *\+' conftest.er1 >conftest.err
11195 rm -f conftest.er1 11200 rm -f conftest.er1
11196 cat conftest.err >&5 11201 cat conftest.err >&5
11197 echo "$as_me:11197: \$? = $ac_status" >&5 11202 echo "$as_me:11202: \$? = $ac_status" >&5
11198 (exit $ac_status); } >/dev/null; then 11203 (exit $ac_status); } >/dev/null; then
11199 if test -s conftest.err; then 11204 if test -s conftest.err; then
11200 ac_cpp_err=$ac_c_preproc_warn_flag 11205 ac_cpp_err=$ac_c_preproc_warn_flag
11201 else 11206 else
11202 ac_cpp_err= 11207 ac_cpp_err=
11211 cat conftest.$ac_ext >&5 11216 cat conftest.$ac_ext >&5
11212 eval "$as_ac_Header=no" 11217 eval "$as_ac_Header=no"
11213 fi 11218 fi
11214 rm -f conftest.err conftest.$ac_ext 11219 rm -f conftest.err conftest.$ac_ext
11215 fi 11220 fi
11216 echo "$as_me:11216: result: `eval echo '${'$as_ac_Header'}'`" >&5 11221 echo "$as_me:11221: result: `eval echo '${'$as_ac_Header'}'`" >&5
11217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11218 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11219 cat >>confdefs.h <<EOF 11224 cat >>confdefs.h <<EOF
11220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11221 EOF 11226 EOF
11226 else 11231 else
11227 11232
11228 for ac_header in des.h 11233 for ac_header in des.h
11229 do 11234 do
11230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11231 echo "$as_me:11231: checking for $ac_header" >&5 11236 echo "$as_me:11236: checking for $ac_header" >&5
11232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11233 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6 11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 else 11240 else
11236 cat >conftest.$ac_ext <<_ACEOF 11241 cat >conftest.$ac_ext <<_ACEOF
11237 #line 11237 "configure" 11242 #line 11237 "configure"
11238 #include "confdefs.h" 11243 #include "confdefs.h"
11239 #include <$ac_header> 11244 #include <$ac_header>
11240 _ACEOF 11245 _ACEOF
11241 if { (eval echo "$as_me:11241: \"$ac_cpp conftest.$ac_ext\"") >&5 11246 if { (eval echo "$as_me:11246: \"$ac_cpp conftest.$ac_ext\"") >&5
11242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11243 ac_status=$? 11248 ac_status=$?
11244 egrep -v '^ *\+' conftest.er1 >conftest.err 11249 egrep -v '^ *\+' conftest.er1 >conftest.err
11245 rm -f conftest.er1 11250 rm -f conftest.er1
11246 cat conftest.err >&5 11251 cat conftest.err >&5
11247 echo "$as_me:11247: \$? = $ac_status" >&5 11252 echo "$as_me:11252: \$? = $ac_status" >&5
11248 (exit $ac_status); } >/dev/null; then 11253 (exit $ac_status); } >/dev/null; then
11249 if test -s conftest.err; then 11254 if test -s conftest.err; then
11250 ac_cpp_err=$ac_c_preproc_warn_flag 11255 ac_cpp_err=$ac_c_preproc_warn_flag
11251 else 11256 else
11252 ac_cpp_err= 11257 ac_cpp_err=
11261 cat conftest.$ac_ext >&5 11266 cat conftest.$ac_ext >&5
11262 eval "$as_ac_Header=no" 11267 eval "$as_ac_Header=no"
11263 fi 11268 fi
11264 rm -f conftest.err conftest.$ac_ext 11269 rm -f conftest.err conftest.$ac_ext
11265 fi 11270 fi
11266 echo "$as_me:11266: result: `eval echo '${'$as_ac_Header'}'`" >&5 11271 echo "$as_me:11271: result: `eval echo '${'$as_ac_Header'}'`" >&5
11267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11268 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11269 cat >>confdefs.h <<EOF 11274 cat >>confdefs.h <<EOF
11270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11271 EOF 11276 EOF
11273 else 11278 else
11274 11279
11275 for ac_header in kerberosIV/des.h 11280 for ac_header in kerberosIV/des.h
11276 do 11281 do
11277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11282 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11278 echo "$as_me:11278: checking for $ac_header" >&5 11283 echo "$as_me:11283: checking for $ac_header" >&5
11279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11280 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11281 echo $ECHO_N "(cached) $ECHO_C" >&6 11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 else 11287 else
11283 cat >conftest.$ac_ext <<_ACEOF 11288 cat >conftest.$ac_ext <<_ACEOF
11284 #line 11284 "configure" 11289 #line 11284 "configure"
11285 #include "confdefs.h" 11290 #include "confdefs.h"
11286 #include <$ac_header> 11291 #include <$ac_header>
11287 _ACEOF 11292 _ACEOF
11288 if { (eval echo "$as_me:11288: \"$ac_cpp conftest.$ac_ext\"") >&5 11293 if { (eval echo "$as_me:11293: \"$ac_cpp conftest.$ac_ext\"") >&5
11289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11290 ac_status=$? 11295 ac_status=$?
11291 egrep -v '^ *\+' conftest.er1 >conftest.err 11296 egrep -v '^ *\+' conftest.er1 >conftest.err
11292 rm -f conftest.er1 11297 rm -f conftest.er1
11293 cat conftest.err >&5 11298 cat conftest.err >&5
11294 echo "$as_me:11294: \$? = $ac_status" >&5 11299 echo "$as_me:11299: \$? = $ac_status" >&5
11295 (exit $ac_status); } >/dev/null; then 11300 (exit $ac_status); } >/dev/null; then
11296 if test -s conftest.err; then 11301 if test -s conftest.err; then
11297 ac_cpp_err=$ac_c_preproc_warn_flag 11302 ac_cpp_err=$ac_c_preproc_warn_flag
11298 else 11303 else
11299 ac_cpp_err= 11304 ac_cpp_err=
11308 cat conftest.$ac_ext >&5 11313 cat conftest.$ac_ext >&5
11309 eval "$as_ac_Header=no" 11314 eval "$as_ac_Header=no"
11310 fi 11315 fi
11311 rm -f conftest.err conftest.$ac_ext 11316 rm -f conftest.err conftest.$ac_ext
11312 fi 11317 fi
11313 echo "$as_me:11313: result: `eval echo '${'$as_ac_Header'}'`" >&5 11318 echo "$as_me:11318: result: `eval echo '${'$as_ac_Header'}'`" >&5
11314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11315 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11316 cat >>confdefs.h <<EOF 11321 cat >>confdefs.h <<EOF
11317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11318 EOF 11323 EOF
11320 else 11325 else
11321 11326
11322 for ac_header in kerberos/des.h 11327 for ac_header in kerberos/des.h
11323 do 11328 do
11324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11325 echo "$as_me:11325: checking for $ac_header" >&5 11330 echo "$as_me:11330: checking for $ac_header" >&5
11326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11327 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6 11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11329 else 11334 else
11330 cat >conftest.$ac_ext <<_ACEOF 11335 cat >conftest.$ac_ext <<_ACEOF
11331 #line 11331 "configure" 11336 #line 11331 "configure"
11332 #include "confdefs.h" 11337 #include "confdefs.h"
11333 #include <$ac_header> 11338 #include <$ac_header>
11334 _ACEOF 11339 _ACEOF
11335 if { (eval echo "$as_me:11335: \"$ac_cpp conftest.$ac_ext\"") >&5 11340 if { (eval echo "$as_me:11340: \"$ac_cpp conftest.$ac_ext\"") >&5
11336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11337 ac_status=$? 11342 ac_status=$?
11338 egrep -v '^ *\+' conftest.er1 >conftest.err 11343 egrep -v '^ *\+' conftest.er1 >conftest.err
11339 rm -f conftest.er1 11344 rm -f conftest.er1
11340 cat conftest.err >&5 11345 cat conftest.err >&5
11341 echo "$as_me:11341: \$? = $ac_status" >&5 11346 echo "$as_me:11346: \$? = $ac_status" >&5
11342 (exit $ac_status); } >/dev/null; then 11347 (exit $ac_status); } >/dev/null; then
11343 if test -s conftest.err; then 11348 if test -s conftest.err; then
11344 ac_cpp_err=$ac_c_preproc_warn_flag 11349 ac_cpp_err=$ac_c_preproc_warn_flag
11345 else 11350 else
11346 ac_cpp_err= 11351 ac_cpp_err=
11355 cat conftest.$ac_ext >&5 11360 cat conftest.$ac_ext >&5
11356 eval "$as_ac_Header=no" 11361 eval "$as_ac_Header=no"
11357 fi 11362 fi
11358 rm -f conftest.err conftest.$ac_ext 11363 rm -f conftest.err conftest.$ac_ext
11359 fi 11364 fi
11360 echo "$as_me:11360: result: `eval echo '${'$as_ac_Header'}'`" >&5 11365 echo "$as_me:11365: result: `eval echo '${'$as_ac_Header'}'`" >&5
11361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11362 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11363 cat >>confdefs.h <<EOF 11368 cat >>confdefs.h <<EOF
11364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11365 EOF 11370 EOF
11374 done 11379 done
11375 11380
11376 for ac_header in krb.h 11381 for ac_header in krb.h
11377 do 11382 do
11378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11379 echo "$as_me:11379: checking for $ac_header" >&5 11384 echo "$as_me:11384: checking for $ac_header" >&5
11380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11381 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11382 echo $ECHO_N "(cached) $ECHO_C" >&6 11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11383 else 11388 else
11384 cat >conftest.$ac_ext <<_ACEOF 11389 cat >conftest.$ac_ext <<_ACEOF
11385 #line 11385 "configure" 11390 #line 11385 "configure"
11386 #include "confdefs.h" 11391 #include "confdefs.h"
11387 #include <$ac_header> 11392 #include <$ac_header>
11388 _ACEOF 11393 _ACEOF
11389 if { (eval echo "$as_me:11389: \"$ac_cpp conftest.$ac_ext\"") >&5 11394 if { (eval echo "$as_me:11394: \"$ac_cpp conftest.$ac_ext\"") >&5
11390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11391 ac_status=$? 11396 ac_status=$?
11392 egrep -v '^ *\+' conftest.er1 >conftest.err 11397 egrep -v '^ *\+' conftest.er1 >conftest.err
11393 rm -f conftest.er1 11398 rm -f conftest.er1
11394 cat conftest.err >&5 11399 cat conftest.err >&5
11395 echo "$as_me:11395: \$? = $ac_status" >&5 11400 echo "$as_me:11400: \$? = $ac_status" >&5
11396 (exit $ac_status); } >/dev/null; then 11401 (exit $ac_status); } >/dev/null; then
11397 if test -s conftest.err; then 11402 if test -s conftest.err; then
11398 ac_cpp_err=$ac_c_preproc_warn_flag 11403 ac_cpp_err=$ac_c_preproc_warn_flag
11399 else 11404 else
11400 ac_cpp_err= 11405 ac_cpp_err=
11409 cat conftest.$ac_ext >&5 11414 cat conftest.$ac_ext >&5
11410 eval "$as_ac_Header=no" 11415 eval "$as_ac_Header=no"
11411 fi 11416 fi
11412 rm -f conftest.err conftest.$ac_ext 11417 rm -f conftest.err conftest.$ac_ext
11413 fi 11418 fi
11414 echo "$as_me:11414: result: `eval echo '${'$as_ac_Header'}'`" >&5 11419 echo "$as_me:11419: result: `eval echo '${'$as_ac_Header'}'`" >&5
11415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11416 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11417 cat >>confdefs.h <<EOF 11422 cat >>confdefs.h <<EOF
11418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11419 EOF 11424 EOF
11421 else 11426 else
11422 11427
11423 for ac_header in kerberosIV/krb.h 11428 for ac_header in kerberosIV/krb.h
11424 do 11429 do
11425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11426 echo "$as_me:11426: checking for $ac_header" >&5 11431 echo "$as_me:11431: checking for $ac_header" >&5
11427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11428 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11429 echo $ECHO_N "(cached) $ECHO_C" >&6 11434 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 else 11435 else
11431 cat >conftest.$ac_ext <<_ACEOF 11436 cat >conftest.$ac_ext <<_ACEOF
11432 #line 11432 "configure" 11437 #line 11432 "configure"
11433 #include "confdefs.h" 11438 #include "confdefs.h"
11434 #include <$ac_header> 11439 #include <$ac_header>
11435 _ACEOF 11440 _ACEOF
11436 if { (eval echo "$as_me:11436: \"$ac_cpp conftest.$ac_ext\"") >&5 11441 if { (eval echo "$as_me:11441: \"$ac_cpp conftest.$ac_ext\"") >&5
11437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11438 ac_status=$? 11443 ac_status=$?
11439 egrep -v '^ *\+' conftest.er1 >conftest.err 11444 egrep -v '^ *\+' conftest.er1 >conftest.err
11440 rm -f conftest.er1 11445 rm -f conftest.er1
11441 cat conftest.err >&5 11446 cat conftest.err >&5
11442 echo "$as_me:11442: \$? = $ac_status" >&5 11447 echo "$as_me:11447: \$? = $ac_status" >&5
11443 (exit $ac_status); } >/dev/null; then 11448 (exit $ac_status); } >/dev/null; then
11444 if test -s conftest.err; then 11449 if test -s conftest.err; then
11445 ac_cpp_err=$ac_c_preproc_warn_flag 11450 ac_cpp_err=$ac_c_preproc_warn_flag
11446 else 11451 else
11447 ac_cpp_err= 11452 ac_cpp_err=
11456 cat conftest.$ac_ext >&5 11461 cat conftest.$ac_ext >&5
11457 eval "$as_ac_Header=no" 11462 eval "$as_ac_Header=no"
11458 fi 11463 fi
11459 rm -f conftest.err conftest.$ac_ext 11464 rm -f conftest.err conftest.$ac_ext
11460 fi 11465 fi
11461 echo "$as_me:11461: result: `eval echo '${'$as_ac_Header'}'`" >&5 11466 echo "$as_me:11466: result: `eval echo '${'$as_ac_Header'}'`" >&5
11462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11463 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11464 cat >>confdefs.h <<EOF 11469 cat >>confdefs.h <<EOF
11465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11466 EOF 11471 EOF
11468 else 11473 else
11469 11474
11470 for ac_header in kerberos/krb.h 11475 for ac_header in kerberos/krb.h
11471 do 11476 do
11472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11473 echo "$as_me:11473: checking for $ac_header" >&5 11478 echo "$as_me:11478: checking for $ac_header" >&5
11474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11475 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6 11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 else 11482 else
11478 cat >conftest.$ac_ext <<_ACEOF 11483 cat >conftest.$ac_ext <<_ACEOF
11479 #line 11479 "configure" 11484 #line 11479 "configure"
11480 #include "confdefs.h" 11485 #include "confdefs.h"
11481 #include <$ac_header> 11486 #include <$ac_header>
11482 _ACEOF 11487 _ACEOF
11483 if { (eval echo "$as_me:11483: \"$ac_cpp conftest.$ac_ext\"") >&5 11488 if { (eval echo "$as_me:11488: \"$ac_cpp conftest.$ac_ext\"") >&5
11484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11485 ac_status=$? 11490 ac_status=$?
11486 egrep -v '^ *\+' conftest.er1 >conftest.err 11491 egrep -v '^ *\+' conftest.er1 >conftest.err
11487 rm -f conftest.er1 11492 rm -f conftest.er1
11488 cat conftest.err >&5 11493 cat conftest.err >&5
11489 echo "$as_me:11489: \$? = $ac_status" >&5 11494 echo "$as_me:11494: \$? = $ac_status" >&5
11490 (exit $ac_status); } >/dev/null; then 11495 (exit $ac_status); } >/dev/null; then
11491 if test -s conftest.err; then 11496 if test -s conftest.err; then
11492 ac_cpp_err=$ac_c_preproc_warn_flag 11497 ac_cpp_err=$ac_c_preproc_warn_flag
11493 else 11498 else
11494 ac_cpp_err= 11499 ac_cpp_err=
11503 cat conftest.$ac_ext >&5 11508 cat conftest.$ac_ext >&5
11504 eval "$as_ac_Header=no" 11509 eval "$as_ac_Header=no"
11505 fi 11510 fi
11506 rm -f conftest.err conftest.$ac_ext 11511 rm -f conftest.err conftest.$ac_ext
11507 fi 11512 fi
11508 echo "$as_me:11508: result: `eval echo '${'$as_ac_Header'}'`" >&5 11513 echo "$as_me:11513: result: `eval echo '${'$as_ac_Header'}'`" >&5
11509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11510 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11511 cat >>confdefs.h <<EOF 11516 cat >>confdefs.h <<EOF
11512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11513 EOF 11518 EOF
11524 fi 11529 fi
11525 11530
11526 for ac_header in com_err.h 11531 for ac_header in com_err.h
11527 do 11532 do
11528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11529 echo "$as_me:11529: checking for $ac_header" >&5 11534 echo "$as_me:11534: checking for $ac_header" >&5
11530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11531 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6 11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 else 11538 else
11534 cat >conftest.$ac_ext <<_ACEOF 11539 cat >conftest.$ac_ext <<_ACEOF
11535 #line 11535 "configure" 11540 #line 11535 "configure"
11536 #include "confdefs.h" 11541 #include "confdefs.h"
11537 #include <$ac_header> 11542 #include <$ac_header>
11538 _ACEOF 11543 _ACEOF
11539 if { (eval echo "$as_me:11539: \"$ac_cpp conftest.$ac_ext\"") >&5 11544 if { (eval echo "$as_me:11544: \"$ac_cpp conftest.$ac_ext\"") >&5
11540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11541 ac_status=$? 11546 ac_status=$?
11542 egrep -v '^ *\+' conftest.er1 >conftest.err 11547 egrep -v '^ *\+' conftest.er1 >conftest.err
11543 rm -f conftest.er1 11548 rm -f conftest.er1
11544 cat conftest.err >&5 11549 cat conftest.err >&5
11545 echo "$as_me:11545: \$? = $ac_status" >&5 11550 echo "$as_me:11550: \$? = $ac_status" >&5
11546 (exit $ac_status); } >/dev/null; then 11551 (exit $ac_status); } >/dev/null; then
11547 if test -s conftest.err; then 11552 if test -s conftest.err; then
11548 ac_cpp_err=$ac_c_preproc_warn_flag 11553 ac_cpp_err=$ac_c_preproc_warn_flag
11549 else 11554 else
11550 ac_cpp_err= 11555 ac_cpp_err=
11559 cat conftest.$ac_ext >&5 11564 cat conftest.$ac_ext >&5
11560 eval "$as_ac_Header=no" 11565 eval "$as_ac_Header=no"
11561 fi 11566 fi
11562 rm -f conftest.err conftest.$ac_ext 11567 rm -f conftest.err conftest.$ac_ext
11563 fi 11568 fi
11564 echo "$as_me:11564: result: `eval echo '${'$as_ac_Header'}'`" >&5 11569 echo "$as_me:11569: result: `eval echo '${'$as_ac_Header'}'`" >&5
11565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11566 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11567 cat >>confdefs.h <<EOF 11572 cat >>confdefs.h <<EOF
11568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11569 EOF 11574 EOF
11574 fi 11579 fi
11575 11580
11576 # Solaris requires -lintl if you want strerror (which calls dgettext) 11581 # Solaris requires -lintl if you want strerror (which calls dgettext)
11577 # to return localized messages. 11582 # to return localized messages.
11578 11583
11579 echo "$as_me:11579: checking for dgettext in -lintl" >&5 11584 echo "$as_me:11584: checking for dgettext in -lintl" >&5
11580 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11585 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11581 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11586 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11582 echo $ECHO_N "(cached) $ECHO_C" >&6 11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11583 else 11588 else
11584 ac_check_lib_save_LIBS=$LIBS 11589 ac_check_lib_save_LIBS=$LIBS
11601 ; 11606 ;
11602 return 0; 11607 return 0;
11603 } 11608 }
11604 _ACEOF 11609 _ACEOF
11605 rm -f conftest.$ac_objext conftest$ac_exeext 11610 rm -f conftest.$ac_objext conftest$ac_exeext
11606 if { (eval echo "$as_me:11606: \"$ac_link\"") >&5 11611 if { (eval echo "$as_me:11611: \"$ac_link\"") >&5
11607 (eval $ac_link) 2>&5 11612 (eval $ac_link) 2>&5
11608 ac_status=$? 11613 ac_status=$?
11609 echo "$as_me:11609: \$? = $ac_status" >&5 11614 echo "$as_me:11614: \$? = $ac_status" >&5
11610 (exit $ac_status); } && 11615 (exit $ac_status); } &&
11611 { ac_try='test -s conftest$ac_exeext' 11616 { ac_try='test -s conftest$ac_exeext'
11612 { (eval echo "$as_me:11612: \"$ac_try\"") >&5 11617 { (eval echo "$as_me:11617: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5 11618 (eval $ac_try) 2>&5
11614 ac_status=$? 11619 ac_status=$?
11615 echo "$as_me:11615: \$? = $ac_status" >&5 11620 echo "$as_me:11620: \$? = $ac_status" >&5
11616 (exit $ac_status); }; }; then 11621 (exit $ac_status); }; }; then
11617 ac_cv_lib_intl_dgettext=yes 11622 ac_cv_lib_intl_dgettext=yes
11618 else 11623 else
11619 echo "$as_me: failed program was:" >&5 11624 echo "$as_me: failed program was:" >&5
11620 cat conftest.$ac_ext >&5 11625 cat conftest.$ac_ext >&5
11621 ac_cv_lib_intl_dgettext=no 11626 ac_cv_lib_intl_dgettext=no
11622 fi 11627 fi
11623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11624 LIBS=$ac_check_lib_save_LIBS 11629 LIBS=$ac_check_lib_save_LIBS
11625 fi 11630 fi
11626 echo "$as_me:11626: result: $ac_cv_lib_intl_dgettext" >&5 11631 echo "$as_me:11631: result: $ac_cv_lib_intl_dgettext" >&5
11627 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11632 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11628 if test $ac_cv_lib_intl_dgettext = yes; then 11633 if test $ac_cv_lib_intl_dgettext = yes; then
11629 cat >>confdefs.h <<EOF 11634 cat >>confdefs.h <<EOF
11630 #define HAVE_LIBINTL 1 11635 #define HAVE_LIBINTL 1
11631 EOF 11636 EOF
11632 11637
11633 LIBS="-lintl $LIBS" 11638 LIBS="-lintl $LIBS"
11634 11639
11635 fi 11640 fi
11636 11641
11637 echo "$as_me:11637: checking whether localtime caches TZ" >&5 11642 echo "$as_me:11642: checking whether localtime caches TZ" >&5
11638 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11643 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11639 if test "${emacs_cv_localtime_cache+set}" = set; then 11644 if test "${emacs_cv_localtime_cache+set}" = set; then
11640 echo $ECHO_N "(cached) $ECHO_C" >&6 11645 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 else 11646 else
11642 if test x$ac_cv_func_tzset = xyes; then 11647 if test x$ac_cv_func_tzset = xyes; then
11676 exit (1); 11681 exit (1);
11677 exit (0); 11682 exit (0);
11678 } 11683 }
11679 _ACEOF 11684 _ACEOF
11680 rm -f conftest$ac_exeext 11685 rm -f conftest$ac_exeext
11681 if { (eval echo "$as_me:11681: \"$ac_link\"") >&5 11686 if { (eval echo "$as_me:11686: \"$ac_link\"") >&5
11682 (eval $ac_link) 2>&5 11687 (eval $ac_link) 2>&5
11683 ac_status=$? 11688 ac_status=$?
11684 echo "$as_me:11684: \$? = $ac_status" >&5 11689 echo "$as_me:11689: \$? = $ac_status" >&5
11685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11686 { (eval echo "$as_me:11686: \"$ac_try\"") >&5 11691 { (eval echo "$as_me:11691: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5 11692 (eval $ac_try) 2>&5
11688 ac_status=$? 11693 ac_status=$?
11689 echo "$as_me:11689: \$? = $ac_status" >&5 11694 echo "$as_me:11694: \$? = $ac_status" >&5
11690 (exit $ac_status); }; }; then 11695 (exit $ac_status); }; }; then
11691 emacs_cv_localtime_cache=no 11696 emacs_cv_localtime_cache=no
11692 else 11697 else
11693 echo "$as_me: program exited with status $ac_status" >&5 11698 echo "$as_me: program exited with status $ac_status" >&5
11694 echo "$as_me: failed program was:" >&5 11699 echo "$as_me: failed program was:" >&5
11701 # If we lack tzset, report that localtime does not cache TZ, 11706 # If we lack tzset, report that localtime does not cache TZ,
11702 # since we can't invalidate the cache if we don't have tzset. 11707 # since we can't invalidate the cache if we don't have tzset.
11703 emacs_cv_localtime_cache=no 11708 emacs_cv_localtime_cache=no
11704 fi 11709 fi
11705 fi 11710 fi
11706 echo "$as_me:11706: result: $emacs_cv_localtime_cache" >&5 11711 echo "$as_me:11711: result: $emacs_cv_localtime_cache" >&5
11707 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11712 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11708 if test $emacs_cv_localtime_cache = yes; then 11713 if test $emacs_cv_localtime_cache = yes; then
11709 11714
11710 cat >>confdefs.h <<\EOF 11715 cat >>confdefs.h <<\EOF
11711 #define LOCALTIME_CACHE 1 11716 #define LOCALTIME_CACHE 1
11716 if test "x$HAVE_TIMEVAL" = xyes; then 11721 if test "x$HAVE_TIMEVAL" = xyes; then
11717 11722
11718 for ac_func in gettimeofday 11723 for ac_func in gettimeofday
11719 do 11724 do
11720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11721 echo "$as_me:11721: checking for $ac_func" >&5 11726 echo "$as_me:11726: checking for $ac_func" >&5
11722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11723 if eval "test \"\${$as_ac_var+set}\" = set"; then 11728 if eval "test \"\${$as_ac_var+set}\" = set"; then
11724 echo $ECHO_N "(cached) $ECHO_C" >&6 11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11725 else 11730 else
11726 cat >conftest.$ac_ext <<_ACEOF 11731 cat >conftest.$ac_ext <<_ACEOF
11753 ; 11758 ;
11754 return 0; 11759 return 0;
11755 } 11760 }
11756 _ACEOF 11761 _ACEOF
11757 rm -f conftest.$ac_objext conftest$ac_exeext 11762 rm -f conftest.$ac_objext conftest$ac_exeext
11758 if { (eval echo "$as_me:11758: \"$ac_link\"") >&5 11763 if { (eval echo "$as_me:11763: \"$ac_link\"") >&5
11759 (eval $ac_link) 2>&5 11764 (eval $ac_link) 2>&5
11760 ac_status=$? 11765 ac_status=$?
11761 echo "$as_me:11761: \$? = $ac_status" >&5 11766 echo "$as_me:11766: \$? = $ac_status" >&5
11762 (exit $ac_status); } && 11767 (exit $ac_status); } &&
11763 { ac_try='test -s conftest$ac_exeext' 11768 { ac_try='test -s conftest$ac_exeext'
11764 { (eval echo "$as_me:11764: \"$ac_try\"") >&5 11769 { (eval echo "$as_me:11769: \"$ac_try\"") >&5
11765 (eval $ac_try) 2>&5 11770 (eval $ac_try) 2>&5
11766 ac_status=$? 11771 ac_status=$?
11767 echo "$as_me:11767: \$? = $ac_status" >&5 11772 echo "$as_me:11772: \$? = $ac_status" >&5
11768 (exit $ac_status); }; }; then 11773 (exit $ac_status); }; }; then
11769 eval "$as_ac_var=yes" 11774 eval "$as_ac_var=yes"
11770 else 11775 else
11771 echo "$as_me: failed program was:" >&5 11776 echo "$as_me: failed program was:" >&5
11772 cat conftest.$ac_ext >&5 11777 cat conftest.$ac_ext >&5
11773 eval "$as_ac_var=no" 11778 eval "$as_ac_var=no"
11774 fi 11779 fi
11775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11776 fi 11781 fi
11777 echo "$as_me:11777: result: `eval echo '${'$as_ac_var'}'`" >&5 11782 echo "$as_me:11782: result: `eval echo '${'$as_ac_var'}'`" >&5
11778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11779 if test `eval echo '${'$as_ac_var'}'` = yes; then 11784 if test `eval echo '${'$as_ac_var'}'` = yes; then
11780 cat >>confdefs.h <<EOF 11785 cat >>confdefs.h <<EOF
11781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11782 EOF 11787 EOF
11783 11788
11784 fi 11789 fi
11785 done 11790 done
11786 11791
11787 if test $ac_cv_func_gettimeofday = yes; then 11792 if test $ac_cv_func_gettimeofday = yes; then
11788 echo "$as_me:11788: checking whether gettimeofday can accept two arguments" >&5 11793 echo "$as_me:11793: checking whether gettimeofday can accept two arguments" >&5
11789 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11794 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11790 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11795 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6 11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 else 11797 else
11793 cat >conftest.$ac_ext <<_ACEOF 11798 cat >conftest.$ac_ext <<_ACEOF
11812 ; 11817 ;
11813 return 0; 11818 return 0;
11814 } 11819 }
11815 _ACEOF 11820 _ACEOF
11816 rm -f conftest.$ac_objext 11821 rm -f conftest.$ac_objext
11817 if { (eval echo "$as_me:11817: \"$ac_compile\"") >&5 11822 if { (eval echo "$as_me:11822: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>&5 11823 (eval $ac_compile) 2>&5
11819 ac_status=$? 11824 ac_status=$?
11820 echo "$as_me:11820: \$? = $ac_status" >&5 11825 echo "$as_me:11825: \$? = $ac_status" >&5
11821 (exit $ac_status); } && 11826 (exit $ac_status); } &&
11822 { ac_try='test -s conftest.$ac_objext' 11827 { ac_try='test -s conftest.$ac_objext'
11823 { (eval echo "$as_me:11823: \"$ac_try\"") >&5 11828 { (eval echo "$as_me:11828: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5 11829 (eval $ac_try) 2>&5
11825 ac_status=$? 11830 ac_status=$?
11826 echo "$as_me:11826: \$? = $ac_status" >&5 11831 echo "$as_me:11831: \$? = $ac_status" >&5
11827 (exit $ac_status); }; }; then 11832 (exit $ac_status); }; }; then
11828 emacs_cv_gettimeofday_two_arguments=yes 11833 emacs_cv_gettimeofday_two_arguments=yes
11829 else 11834 else
11830 echo "$as_me: failed program was:" >&5 11835 echo "$as_me: failed program was:" >&5
11831 cat conftest.$ac_ext >&5 11836 cat conftest.$ac_ext >&5
11832 emacs_cv_gettimeofday_two_arguments=no 11837 emacs_cv_gettimeofday_two_arguments=no
11833 fi 11838 fi
11834 rm -f conftest.$ac_objext conftest.$ac_ext 11839 rm -f conftest.$ac_objext conftest.$ac_ext
11835 fi 11840 fi
11836 echo "$as_me:11836: result: $emacs_cv_gettimeofday_two_arguments" >&5 11841 echo "$as_me:11841: result: $emacs_cv_gettimeofday_two_arguments" >&5
11837 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11842 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11838 if test $emacs_cv_gettimeofday_two_arguments = no; then 11843 if test $emacs_cv_gettimeofday_two_arguments = no; then
11839 11844
11840 cat >>confdefs.h <<\EOF 11845 cat >>confdefs.h <<\EOF
11841 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11846 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11844 fi 11849 fi
11845 fi 11850 fi
11846 fi 11851 fi
11847 11852
11848 if test "$ac_cv_func_gettimeofday" = yes; then 11853 if test "$ac_cv_func_gettimeofday" = yes; then
11849 echo "$as_me:11849: checking for struct timezone" >&5 11854 echo "$as_me:11854: checking for struct timezone" >&5
11850 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11855 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11851 if test "${emacs_cv_struct_timezone+set}" = set; then 11856 if test "${emacs_cv_struct_timezone+set}" = set; then
11852 echo $ECHO_N "(cached) $ECHO_C" >&6 11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 else 11858 else
11854 cat >conftest.$ac_ext <<_ACEOF 11859 cat >conftest.$ac_ext <<_ACEOF
11862 ; 11867 ;
11863 return 0; 11868 return 0;
11864 } 11869 }
11865 _ACEOF 11870 _ACEOF
11866 rm -f conftest.$ac_objext 11871 rm -f conftest.$ac_objext
11867 if { (eval echo "$as_me:11867: \"$ac_compile\"") >&5 11872 if { (eval echo "$as_me:11872: \"$ac_compile\"") >&5
11868 (eval $ac_compile) 2>&5 11873 (eval $ac_compile) 2>&5
11869 ac_status=$? 11874 ac_status=$?
11870 echo "$as_me:11870: \$? = $ac_status" >&5 11875 echo "$as_me:11875: \$? = $ac_status" >&5
11871 (exit $ac_status); } && 11876 (exit $ac_status); } &&
11872 { ac_try='test -s conftest.$ac_objext' 11877 { ac_try='test -s conftest.$ac_objext'
11873 { (eval echo "$as_me:11873: \"$ac_try\"") >&5 11878 { (eval echo "$as_me:11878: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5 11879 (eval $ac_try) 2>&5
11875 ac_status=$? 11880 ac_status=$?
11876 echo "$as_me:11876: \$? = $ac_status" >&5 11881 echo "$as_me:11881: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then 11882 (exit $ac_status); }; }; then
11878 if test "$cross_compiling" = yes; then 11883 if test "$cross_compiling" = yes; then
11879 emacs_cv_struct_timezone=yes 11884 emacs_cv_struct_timezone=yes
11880 else 11885 else
11881 cat >conftest.$ac_ext <<_ACEOF 11886 cat >conftest.$ac_ext <<_ACEOF
11897 struct timezone dummy; 11902 struct timezone dummy;
11898 exit (gettimeofday (&time, &dummy)); 11903 exit (gettimeofday (&time, &dummy));
11899 } 11904 }
11900 _ACEOF 11905 _ACEOF
11901 rm -f conftest$ac_exeext 11906 rm -f conftest$ac_exeext
11902 if { (eval echo "$as_me:11902: \"$ac_link\"") >&5 11907 if { (eval echo "$as_me:11907: \"$ac_link\"") >&5
11903 (eval $ac_link) 2>&5 11908 (eval $ac_link) 2>&5
11904 ac_status=$? 11909 ac_status=$?
11905 echo "$as_me:11905: \$? = $ac_status" >&5 11910 echo "$as_me:11910: \$? = $ac_status" >&5
11906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11907 { (eval echo "$as_me:11907: \"$ac_try\"") >&5 11912 { (eval echo "$as_me:11912: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5 11913 (eval $ac_try) 2>&5
11909 ac_status=$? 11914 ac_status=$?
11910 echo "$as_me:11910: \$? = $ac_status" >&5 11915 echo "$as_me:11915: \$? = $ac_status" >&5
11911 (exit $ac_status); }; }; then 11916 (exit $ac_status); }; }; then
11912 emacs_cv_struct_timezone=yes 11917 emacs_cv_struct_timezone=yes
11913 else 11918 else
11914 echo "$as_me: program exited with status $ac_status" >&5 11919 echo "$as_me: program exited with status $ac_status" >&5
11915 echo "$as_me: failed program was:" >&5 11920 echo "$as_me: failed program was:" >&5
11923 cat conftest.$ac_ext >&5 11928 cat conftest.$ac_ext >&5
11924 emacs_cv_struct_timezone=no 11929 emacs_cv_struct_timezone=no
11925 fi 11930 fi
11926 rm -f conftest.$ac_objext conftest.$ac_ext 11931 rm -f conftest.$ac_objext conftest.$ac_ext
11927 fi 11932 fi
11928 echo "$as_me:11928: result: $emacs_cv_struct_timezone" >&5 11933 echo "$as_me:11933: result: $emacs_cv_struct_timezone" >&5
11929 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11934 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11930 fi 11935 fi
11931 11936
11932 ok_so_far=yes 11937 ok_so_far=yes
11933 echo "$as_me:11933: checking for socket" >&5 11938 echo "$as_me:11938: checking for socket" >&5
11934 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11939 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11935 if test "${ac_cv_func_socket+set}" = set; then 11940 if test "${ac_cv_func_socket+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6 11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 else 11942 else
11938 cat >conftest.$ac_ext <<_ACEOF 11943 cat >conftest.$ac_ext <<_ACEOF
11965 ; 11970 ;
11966 return 0; 11971 return 0;
11967 } 11972 }
11968 _ACEOF 11973 _ACEOF
11969 rm -f conftest.$ac_objext conftest$ac_exeext 11974 rm -f conftest.$ac_objext conftest$ac_exeext
11970 if { (eval echo "$as_me:11970: \"$ac_link\"") >&5 11975 if { (eval echo "$as_me:11975: \"$ac_link\"") >&5
11971 (eval $ac_link) 2>&5 11976 (eval $ac_link) 2>&5
11972 ac_status=$? 11977 ac_status=$?
11973 echo "$as_me:11973: \$? = $ac_status" >&5 11978 echo "$as_me:11978: \$? = $ac_status" >&5
11974 (exit $ac_status); } && 11979 (exit $ac_status); } &&
11975 { ac_try='test -s conftest$ac_exeext' 11980 { ac_try='test -s conftest$ac_exeext'
11976 { (eval echo "$as_me:11976: \"$ac_try\"") >&5 11981 { (eval echo "$as_me:11981: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5 11982 (eval $ac_try) 2>&5
11978 ac_status=$? 11983 ac_status=$?
11979 echo "$as_me:11979: \$? = $ac_status" >&5 11984 echo "$as_me:11984: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then 11985 (exit $ac_status); }; }; then
11981 ac_cv_func_socket=yes 11986 ac_cv_func_socket=yes
11982 else 11987 else
11983 echo "$as_me: failed program was:" >&5 11988 echo "$as_me: failed program was:" >&5
11984 cat conftest.$ac_ext >&5 11989 cat conftest.$ac_ext >&5
11985 ac_cv_func_socket=no 11990 ac_cv_func_socket=no
11986 fi 11991 fi
11987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11988 fi 11993 fi
11989 echo "$as_me:11989: result: $ac_cv_func_socket" >&5 11994 echo "$as_me:11994: result: $ac_cv_func_socket" >&5
11990 echo "${ECHO_T}$ac_cv_func_socket" >&6 11995 echo "${ECHO_T}$ac_cv_func_socket" >&6
11991 if test $ac_cv_func_socket = yes; then 11996 if test $ac_cv_func_socket = yes; then
11992 : 11997 :
11993 else 11998 else
11994 ok_so_far=no 11999 ok_so_far=no
11995 fi 12000 fi
11996 12001
11997 if test $ok_so_far = yes; then 12002 if test $ok_so_far = yes; then
11998 echo "$as_me:11998: checking for netinet/in.h" >&5 12003 echo "$as_me:12003: checking for netinet/in.h" >&5
11999 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 12004 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
12000 if test "${ac_cv_header_netinet_in_h+set}" = set; then 12005 if test "${ac_cv_header_netinet_in_h+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6 12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12002 else 12007 else
12003 cat >conftest.$ac_ext <<_ACEOF 12008 cat >conftest.$ac_ext <<_ACEOF
12004 #line 12004 "configure" 12009 #line 12004 "configure"
12005 #include "confdefs.h" 12010 #include "confdefs.h"
12006 #include <netinet/in.h> 12011 #include <netinet/in.h>
12007 _ACEOF 12012 _ACEOF
12008 if { (eval echo "$as_me:12008: \"$ac_cpp conftest.$ac_ext\"") >&5 12013 if { (eval echo "$as_me:12013: \"$ac_cpp conftest.$ac_ext\"") >&5
12009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12010 ac_status=$? 12015 ac_status=$?
12011 egrep -v '^ *\+' conftest.er1 >conftest.err 12016 egrep -v '^ *\+' conftest.er1 >conftest.err
12012 rm -f conftest.er1 12017 rm -f conftest.er1
12013 cat conftest.err >&5 12018 cat conftest.err >&5
12014 echo "$as_me:12014: \$? = $ac_status" >&5 12019 echo "$as_me:12019: \$? = $ac_status" >&5
12015 (exit $ac_status); } >/dev/null; then 12020 (exit $ac_status); } >/dev/null; then
12016 if test -s conftest.err; then 12021 if test -s conftest.err; then
12017 ac_cpp_err=$ac_c_preproc_warn_flag 12022 ac_cpp_err=$ac_c_preproc_warn_flag
12018 else 12023 else
12019 ac_cpp_err= 12024 ac_cpp_err=
12028 cat conftest.$ac_ext >&5 12033 cat conftest.$ac_ext >&5
12029 ac_cv_header_netinet_in_h=no 12034 ac_cv_header_netinet_in_h=no
12030 fi 12035 fi
12031 rm -f conftest.err conftest.$ac_ext 12036 rm -f conftest.err conftest.$ac_ext
12032 fi 12037 fi
12033 echo "$as_me:12033: result: $ac_cv_header_netinet_in_h" >&5 12038 echo "$as_me:12038: result: $ac_cv_header_netinet_in_h" >&5
12034 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 12039 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12035 if test $ac_cv_header_netinet_in_h = yes; then 12040 if test $ac_cv_header_netinet_in_h = yes; then
12036 : 12041 :
12037 else 12042 else
12038 ok_so_far=no 12043 ok_so_far=no
12039 fi 12044 fi
12040 12045
12041 fi 12046 fi
12042 if test $ok_so_far = yes; then 12047 if test $ok_so_far = yes; then
12043 echo "$as_me:12043: checking for arpa/inet.h" >&5 12048 echo "$as_me:12048: checking for arpa/inet.h" >&5
12044 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 12049 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12045 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 12050 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12046 echo $ECHO_N "(cached) $ECHO_C" >&6 12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 else 12052 else
12048 cat >conftest.$ac_ext <<_ACEOF 12053 cat >conftest.$ac_ext <<_ACEOF
12049 #line 12049 "configure" 12054 #line 12049 "configure"
12050 #include "confdefs.h" 12055 #include "confdefs.h"
12051 #include <arpa/inet.h> 12056 #include <arpa/inet.h>
12052 _ACEOF 12057 _ACEOF
12053 if { (eval echo "$as_me:12053: \"$ac_cpp conftest.$ac_ext\"") >&5 12058 if { (eval echo "$as_me:12058: \"$ac_cpp conftest.$ac_ext\"") >&5
12054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12055 ac_status=$? 12060 ac_status=$?
12056 egrep -v '^ *\+' conftest.er1 >conftest.err 12061 egrep -v '^ *\+' conftest.er1 >conftest.err
12057 rm -f conftest.er1 12062 rm -f conftest.er1
12058 cat conftest.err >&5 12063 cat conftest.err >&5
12059 echo "$as_me:12059: \$? = $ac_status" >&5 12064 echo "$as_me:12064: \$? = $ac_status" >&5
12060 (exit $ac_status); } >/dev/null; then 12065 (exit $ac_status); } >/dev/null; then
12061 if test -s conftest.err; then 12066 if test -s conftest.err; then
12062 ac_cpp_err=$ac_c_preproc_warn_flag 12067 ac_cpp_err=$ac_c_preproc_warn_flag
12063 else 12068 else
12064 ac_cpp_err= 12069 ac_cpp_err=
12073 cat conftest.$ac_ext >&5 12078 cat conftest.$ac_ext >&5
12074 ac_cv_header_arpa_inet_h=no 12079 ac_cv_header_arpa_inet_h=no
12075 fi 12080 fi
12076 rm -f conftest.err conftest.$ac_ext 12081 rm -f conftest.err conftest.$ac_ext
12077 fi 12082 fi
12078 echo "$as_me:12078: result: $ac_cv_header_arpa_inet_h" >&5 12083 echo "$as_me:12083: result: $ac_cv_header_arpa_inet_h" >&5
12079 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 12084 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12080 if test $ac_cv_header_arpa_inet_h = yes; then 12085 if test $ac_cv_header_arpa_inet_h = yes; then
12081 : 12086 :
12082 else 12087 else
12083 ok_so_far=no 12088 ok_so_far=no
12098 #define HAVE_AIX_SMT_EXP 1 12103 #define HAVE_AIX_SMT_EXP 1
12099 EOF 12104 EOF
12100 12105
12101 fi 12106 fi
12102 12107
12103 echo "$as_me:12103: checking whether system supports dynamic ptys" >&5 12108 echo "$as_me:12108: checking whether system supports dynamic ptys" >&5
12104 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 12109 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12105 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 12110 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12106 echo "$as_me:12106: result: yes" >&5 12111 echo "$as_me:12111: result: yes" >&5
12107 echo "${ECHO_T}yes" >&6 12112 echo "${ECHO_T}yes" >&6
12108 12113
12109 cat >>confdefs.h <<\EOF 12114 cat >>confdefs.h <<\EOF
12110 #define HAVE_DEV_PTMX 1 12115 #define HAVE_DEV_PTMX 1
12111 EOF 12116 EOF
12112 12117
12113 else 12118 else
12114 echo "$as_me:12114: result: no" >&5 12119 echo "$as_me:12119: result: no" >&5
12115 echo "${ECHO_T}no" >&6 12120 echo "${ECHO_T}no" >&6
12116 fi 12121 fi
12117 12122
12118 echo "$as_me:12118: checking for pid_t" >&5 12123 echo "$as_me:12123: checking for pid_t" >&5
12119 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 12124 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12120 if test "${ac_cv_type_pid_t+set}" = set; then 12125 if test "${ac_cv_type_pid_t+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6 12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 else 12127 else
12123 cat >conftest.$ac_ext <<_ACEOF 12128 cat >conftest.$ac_ext <<_ACEOF
12134 ; 12139 ;
12135 return 0; 12140 return 0;
12136 } 12141 }
12137 _ACEOF 12142 _ACEOF
12138 rm -f conftest.$ac_objext 12143 rm -f conftest.$ac_objext
12139 if { (eval echo "$as_me:12139: \"$ac_compile\"") >&5 12144 if { (eval echo "$as_me:12144: \"$ac_compile\"") >&5
12140 (eval $ac_compile) 2>&5 12145 (eval $ac_compile) 2>&5
12141 ac_status=$? 12146 ac_status=$?
12142 echo "$as_me:12142: \$? = $ac_status" >&5 12147 echo "$as_me:12147: \$? = $ac_status" >&5
12143 (exit $ac_status); } && 12148 (exit $ac_status); } &&
12144 { ac_try='test -s conftest.$ac_objext' 12149 { ac_try='test -s conftest.$ac_objext'
12145 { (eval echo "$as_me:12145: \"$ac_try\"") >&5 12150 { (eval echo "$as_me:12150: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5 12151 (eval $ac_try) 2>&5
12147 ac_status=$? 12152 ac_status=$?
12148 echo "$as_me:12148: \$? = $ac_status" >&5 12153 echo "$as_me:12153: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then 12154 (exit $ac_status); }; }; then
12150 ac_cv_type_pid_t=yes 12155 ac_cv_type_pid_t=yes
12151 else 12156 else
12152 echo "$as_me: failed program was:" >&5 12157 echo "$as_me: failed program was:" >&5
12153 cat conftest.$ac_ext >&5 12158 cat conftest.$ac_ext >&5
12154 ac_cv_type_pid_t=no 12159 ac_cv_type_pid_t=no
12155 fi 12160 fi
12156 rm -f conftest.$ac_objext conftest.$ac_ext 12161 rm -f conftest.$ac_objext conftest.$ac_ext
12157 fi 12162 fi
12158 echo "$as_me:12158: result: $ac_cv_type_pid_t" >&5 12163 echo "$as_me:12163: result: $ac_cv_type_pid_t" >&5
12159 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 12164 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12160 if test $ac_cv_type_pid_t = yes; then 12165 if test $ac_cv_type_pid_t = yes; then
12161 : 12166 :
12162 else 12167 else
12163 12168
12168 fi 12173 fi
12169 12174
12170 for ac_header in unistd.h vfork.h 12175 for ac_header in unistd.h vfork.h
12171 do 12176 do
12172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12173 echo "$as_me:12173: checking for $ac_header" >&5 12178 echo "$as_me:12178: checking for $ac_header" >&5
12174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12175 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12176 echo $ECHO_N "(cached) $ECHO_C" >&6 12181 echo $ECHO_N "(cached) $ECHO_C" >&6
12177 else 12182 else
12178 cat >conftest.$ac_ext <<_ACEOF 12183 cat >conftest.$ac_ext <<_ACEOF
12179 #line 12179 "configure" 12184 #line 12179 "configure"
12180 #include "confdefs.h" 12185 #include "confdefs.h"
12181 #include <$ac_header> 12186 #include <$ac_header>
12182 _ACEOF 12187 _ACEOF
12183 if { (eval echo "$as_me:12183: \"$ac_cpp conftest.$ac_ext\"") >&5 12188 if { (eval echo "$as_me:12188: \"$ac_cpp conftest.$ac_ext\"") >&5
12184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12185 ac_status=$? 12190 ac_status=$?
12186 egrep -v '^ *\+' conftest.er1 >conftest.err 12191 egrep -v '^ *\+' conftest.er1 >conftest.err
12187 rm -f conftest.er1 12192 rm -f conftest.er1
12188 cat conftest.err >&5 12193 cat conftest.err >&5
12189 echo "$as_me:12189: \$? = $ac_status" >&5 12194 echo "$as_me:12194: \$? = $ac_status" >&5
12190 (exit $ac_status); } >/dev/null; then 12195 (exit $ac_status); } >/dev/null; then
12191 if test -s conftest.err; then 12196 if test -s conftest.err; then
12192 ac_cpp_err=$ac_c_preproc_warn_flag 12197 ac_cpp_err=$ac_c_preproc_warn_flag
12193 else 12198 else
12194 ac_cpp_err= 12199 ac_cpp_err=
12203 cat conftest.$ac_ext >&5 12208 cat conftest.$ac_ext >&5
12204 eval "$as_ac_Header=no" 12209 eval "$as_ac_Header=no"
12205 fi 12210 fi
12206 rm -f conftest.err conftest.$ac_ext 12211 rm -f conftest.err conftest.$ac_ext
12207 fi 12212 fi
12208 echo "$as_me:12208: result: `eval echo '${'$as_ac_Header'}'`" >&5 12213 echo "$as_me:12213: result: `eval echo '${'$as_ac_Header'}'`" >&5
12209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12210 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12211 cat >>confdefs.h <<EOF 12216 cat >>confdefs.h <<EOF
12212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12213 EOF 12218 EOF
12216 done 12221 done
12217 12222
12218 for ac_func in fork vfork 12223 for ac_func in fork vfork
12219 do 12224 do
12220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12221 echo "$as_me:12221: checking for $ac_func" >&5 12226 echo "$as_me:12226: checking for $ac_func" >&5
12222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12223 if eval "test \"\${$as_ac_var+set}\" = set"; then 12228 if eval "test \"\${$as_ac_var+set}\" = set"; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6 12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 else 12230 else
12226 cat >conftest.$ac_ext <<_ACEOF 12231 cat >conftest.$ac_ext <<_ACEOF
12253 ; 12258 ;
12254 return 0; 12259 return 0;
12255 } 12260 }
12256 _ACEOF 12261 _ACEOF
12257 rm -f conftest.$ac_objext conftest$ac_exeext 12262 rm -f conftest.$ac_objext conftest$ac_exeext
12258 if { (eval echo "$as_me:12258: \"$ac_link\"") >&5 12263 if { (eval echo "$as_me:12263: \"$ac_link\"") >&5
12259 (eval $ac_link) 2>&5 12264 (eval $ac_link) 2>&5
12260 ac_status=$? 12265 ac_status=$?
12261 echo "$as_me:12261: \$? = $ac_status" >&5 12266 echo "$as_me:12266: \$? = $ac_status" >&5
12262 (exit $ac_status); } && 12267 (exit $ac_status); } &&
12263 { ac_try='test -s conftest$ac_exeext' 12268 { ac_try='test -s conftest$ac_exeext'
12264 { (eval echo "$as_me:12264: \"$ac_try\"") >&5 12269 { (eval echo "$as_me:12269: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5 12270 (eval $ac_try) 2>&5
12266 ac_status=$? 12271 ac_status=$?
12267 echo "$as_me:12267: \$? = $ac_status" >&5 12272 echo "$as_me:12272: \$? = $ac_status" >&5
12268 (exit $ac_status); }; }; then 12273 (exit $ac_status); }; }; then
12269 eval "$as_ac_var=yes" 12274 eval "$as_ac_var=yes"
12270 else 12275 else
12271 echo "$as_me: failed program was:" >&5 12276 echo "$as_me: failed program was:" >&5
12272 cat conftest.$ac_ext >&5 12277 cat conftest.$ac_ext >&5
12273 eval "$as_ac_var=no" 12278 eval "$as_ac_var=no"
12274 fi 12279 fi
12275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12276 fi 12281 fi
12277 echo "$as_me:12277: result: `eval echo '${'$as_ac_var'}'`" >&5 12282 echo "$as_me:12282: result: `eval echo '${'$as_ac_var'}'`" >&5
12278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12279 if test `eval echo '${'$as_ac_var'}'` = yes; then 12284 if test `eval echo '${'$as_ac_var'}'` = yes; then
12280 cat >>confdefs.h <<EOF 12285 cat >>confdefs.h <<EOF
12281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12282 EOF 12287 EOF
12284 fi 12289 fi
12285 done 12290 done
12286 12291
12287 ac_cv_func_fork_works=$ac_cv_func_fork 12292 ac_cv_func_fork_works=$ac_cv_func_fork
12288 if test "x$ac_cv_func_fork" = xyes; then 12293 if test "x$ac_cv_func_fork" = xyes; then
12289 echo "$as_me:12289: checking for working fork" >&5 12294 echo "$as_me:12294: checking for working fork" >&5
12290 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 12295 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12291 if test "${ac_cv_func_fork_works+set}" = set; then 12296 if test "${ac_cv_func_fork_works+set}" = set; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6 12297 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else 12298 else
12294 if test "$cross_compiling" = yes; then 12299 if test "$cross_compiling" = yes; then
12307 exit (1); 12312 exit (1);
12308 exit (0); 12313 exit (0);
12309 } 12314 }
12310 _ACEOF 12315 _ACEOF
12311 rm -f conftest$ac_exeext 12316 rm -f conftest$ac_exeext
12312 if { (eval echo "$as_me:12312: \"$ac_link\"") >&5 12317 if { (eval echo "$as_me:12317: \"$ac_link\"") >&5
12313 (eval $ac_link) 2>&5 12318 (eval $ac_link) 2>&5
12314 ac_status=$? 12319 ac_status=$?
12315 echo "$as_me:12315: \$? = $ac_status" >&5 12320 echo "$as_me:12320: \$? = $ac_status" >&5
12316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12317 { (eval echo "$as_me:12317: \"$ac_try\"") >&5 12322 { (eval echo "$as_me:12322: \"$ac_try\"") >&5
12318 (eval $ac_try) 2>&5 12323 (eval $ac_try) 2>&5
12319 ac_status=$? 12324 ac_status=$?
12320 echo "$as_me:12320: \$? = $ac_status" >&5 12325 echo "$as_me:12325: \$? = $ac_status" >&5
12321 (exit $ac_status); }; }; then 12326 (exit $ac_status); }; }; then
12322 ac_cv_func_fork_works=yes 12327 ac_cv_func_fork_works=yes
12323 else 12328 else
12324 echo "$as_me: program exited with status $ac_status" >&5 12329 echo "$as_me: program exited with status $ac_status" >&5
12325 echo "$as_me: failed program was:" >&5 12330 echo "$as_me: failed program was:" >&5
12327 ac_cv_func_fork_works=no 12332 ac_cv_func_fork_works=no
12328 fi 12333 fi
12329 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12334 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12330 fi 12335 fi
12331 fi 12336 fi
12332 echo "$as_me:12332: result: $ac_cv_func_fork_works" >&5 12337 echo "$as_me:12337: result: $ac_cv_func_fork_works" >&5
12333 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 12338 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12334 12339
12335 fi 12340 fi
12336 if test "x$ac_cv_func_fork_works" = xcross; then 12341 if test "x$ac_cv_func_fork_works" = xcross; then
12337 case $host in 12342 case $host in
12341 ;; 12346 ;;
12342 *) 12347 *)
12343 ac_cv_func_fork_works=yes 12348 ac_cv_func_fork_works=yes
12344 ;; 12349 ;;
12345 esac 12350 esac
12346 { echo "$as_me:12346: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12351 { echo "$as_me:12351: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12347 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12352 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12348 fi 12353 fi
12349 ac_cv_func_vfork_works=$ac_cv_func_vfork 12354 ac_cv_func_vfork_works=$ac_cv_func_vfork
12350 if test "x$ac_cv_func_vfork" = xyes; then 12355 if test "x$ac_cv_func_vfork" = xyes; then
12351 echo "$as_me:12351: checking for working vfork" >&5 12356 echo "$as_me:12356: checking for working vfork" >&5
12352 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12357 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12353 if test "${ac_cv_func_vfork_works+set}" = set; then 12358 if test "${ac_cv_func_vfork_works+set}" = set; then
12354 echo $ECHO_N "(cached) $ECHO_C" >&6 12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 else 12360 else
12356 if test "$cross_compiling" = yes; then 12361 if test "$cross_compiling" = yes; then
12452 ); 12457 );
12453 } 12458 }
12454 } 12459 }
12455 _ACEOF 12460 _ACEOF
12456 rm -f conftest$ac_exeext 12461 rm -f conftest$ac_exeext
12457 if { (eval echo "$as_me:12457: \"$ac_link\"") >&5 12462 if { (eval echo "$as_me:12462: \"$ac_link\"") >&5
12458 (eval $ac_link) 2>&5 12463 (eval $ac_link) 2>&5
12459 ac_status=$? 12464 ac_status=$?
12460 echo "$as_me:12460: \$? = $ac_status" >&5 12465 echo "$as_me:12465: \$? = $ac_status" >&5
12461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12462 { (eval echo "$as_me:12462: \"$ac_try\"") >&5 12467 { (eval echo "$as_me:12467: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5 12468 (eval $ac_try) 2>&5
12464 ac_status=$? 12469 ac_status=$?
12465 echo "$as_me:12465: \$? = $ac_status" >&5 12470 echo "$as_me:12470: \$? = $ac_status" >&5
12466 (exit $ac_status); }; }; then 12471 (exit $ac_status); }; }; then
12467 ac_cv_func_vfork_works=yes 12472 ac_cv_func_vfork_works=yes
12468 else 12473 else
12469 echo "$as_me: program exited with status $ac_status" >&5 12474 echo "$as_me: program exited with status $ac_status" >&5
12470 echo "$as_me: failed program was:" >&5 12475 echo "$as_me: failed program was:" >&5
12472 ac_cv_func_vfork_works=no 12477 ac_cv_func_vfork_works=no
12473 fi 12478 fi
12474 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12479 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12475 fi 12480 fi
12476 fi 12481 fi
12477 echo "$as_me:12477: result: $ac_cv_func_vfork_works" >&5 12482 echo "$as_me:12482: result: $ac_cv_func_vfork_works" >&5
12478 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12483 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12479 12484
12480 fi; 12485 fi;
12481 if test "x$ac_cv_func_fork_works" = xcross; then 12486 if test "x$ac_cv_func_fork_works" = xcross; then
12482 ac_cv_func_vfork_works=ac_cv_func_vfork 12487 ac_cv_func_vfork_works=ac_cv_func_vfork
12483 { echo "$as_me:12483: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12488 { echo "$as_me:12488: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12484 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12489 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12485 fi 12490 fi
12486 12491
12487 if test "x$ac_cv_func_vfork_works" = xyes; then 12492 if test "x$ac_cv_func_vfork_works" = xyes; then
12488 12493
12504 EOF 12509 EOF
12505 12510
12506 fi 12511 fi
12507 12512
12508 # Fixme: This should be replaced when we have autoconf 2.14. 12513 # Fixme: This should be replaced when we have autoconf 2.14.
12509 echo "$as_me:12509: checking for size_t" >&5 12514 echo "$as_me:12514: checking for size_t" >&5
12510 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12515 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12511 if test "${ac_cv_type_size_t+set}" = set; then 12516 if test "${ac_cv_type_size_t+set}" = set; then
12512 echo $ECHO_N "(cached) $ECHO_C" >&6 12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12513 else 12518 else
12514 cat >conftest.$ac_ext <<_ACEOF 12519 cat >conftest.$ac_ext <<_ACEOF
12525 ; 12530 ;
12526 return 0; 12531 return 0;
12527 } 12532 }
12528 _ACEOF 12533 _ACEOF
12529 rm -f conftest.$ac_objext 12534 rm -f conftest.$ac_objext
12530 if { (eval echo "$as_me:12530: \"$ac_compile\"") >&5 12535 if { (eval echo "$as_me:12535: \"$ac_compile\"") >&5
12531 (eval $ac_compile) 2>&5 12536 (eval $ac_compile) 2>&5
12532 ac_status=$? 12537 ac_status=$?
12533 echo "$as_me:12533: \$? = $ac_status" >&5 12538 echo "$as_me:12538: \$? = $ac_status" >&5
12534 (exit $ac_status); } && 12539 (exit $ac_status); } &&
12535 { ac_try='test -s conftest.$ac_objext' 12540 { ac_try='test -s conftest.$ac_objext'
12536 { (eval echo "$as_me:12536: \"$ac_try\"") >&5 12541 { (eval echo "$as_me:12541: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5 12542 (eval $ac_try) 2>&5
12538 ac_status=$? 12543 ac_status=$?
12539 echo "$as_me:12539: \$? = $ac_status" >&5 12544 echo "$as_me:12544: \$? = $ac_status" >&5
12540 (exit $ac_status); }; }; then 12545 (exit $ac_status); }; }; then
12541 ac_cv_type_size_t=yes 12546 ac_cv_type_size_t=yes
12542 else 12547 else
12543 echo "$as_me: failed program was:" >&5 12548 echo "$as_me: failed program was:" >&5
12544 cat conftest.$ac_ext >&5 12549 cat conftest.$ac_ext >&5
12545 ac_cv_type_size_t=no 12550 ac_cv_type_size_t=no
12546 fi 12551 fi
12547 rm -f conftest.$ac_objext conftest.$ac_ext 12552 rm -f conftest.$ac_objext conftest.$ac_ext
12548 fi 12553 fi
12549 echo "$as_me:12549: result: $ac_cv_type_size_t" >&5 12554 echo "$as_me:12554: result: $ac_cv_type_size_t" >&5
12550 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12555 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12551 if test $ac_cv_type_size_t = yes; then 12556 if test $ac_cv_type_size_t = yes; then
12552 : 12557 :
12553 else 12558 else
12554 12559
12564 12569
12565 #### Find out which version of Emacs this is. 12570 #### Find out which version of Emacs this is.
12566 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12571 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12567 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12572 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12568 if test x"${version}" = x; then 12573 if test x"${version}" = x; then
12569 { { echo "$as_me:12569: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12574 { { echo "$as_me:12574: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12570 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12575 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12571 { (exit 1); exit 1; }; } 12576 { (exit 1); exit 1; }; }
12572 fi 12577 fi
12573 12578
12574 ### Specify what sort of things we'll be editing into Makefile and config.h. 12579 ### Specify what sort of things we'll be editing into Makefile and config.h.
12657 fi 12662 fi
12658 12663
12659 for ac_header in nlist.h 12664 for ac_header in nlist.h
12660 do 12665 do
12661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12662 echo "$as_me:12662: checking for $ac_header" >&5 12667 echo "$as_me:12667: checking for $ac_header" >&5
12663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12664 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6 12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12666 else 12671 else
12667 cat >conftest.$ac_ext <<_ACEOF 12672 cat >conftest.$ac_ext <<_ACEOF
12668 #line 12668 "configure" 12673 #line 12668 "configure"
12669 #include "confdefs.h" 12674 #include "confdefs.h"
12670 #include <$ac_header> 12675 #include <$ac_header>
12671 _ACEOF 12676 _ACEOF
12672 if { (eval echo "$as_me:12672: \"$ac_cpp conftest.$ac_ext\"") >&5 12677 if { (eval echo "$as_me:12677: \"$ac_cpp conftest.$ac_ext\"") >&5
12673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12674 ac_status=$? 12679 ac_status=$?
12675 egrep -v '^ *\+' conftest.er1 >conftest.err 12680 egrep -v '^ *\+' conftest.er1 >conftest.err
12676 rm -f conftest.er1 12681 rm -f conftest.er1
12677 cat conftest.err >&5 12682 cat conftest.err >&5
12678 echo "$as_me:12678: \$? = $ac_status" >&5 12683 echo "$as_me:12683: \$? = $ac_status" >&5
12679 (exit $ac_status); } >/dev/null; then 12684 (exit $ac_status); } >/dev/null; then
12680 if test -s conftest.err; then 12685 if test -s conftest.err; then
12681 ac_cpp_err=$ac_c_preproc_warn_flag 12686 ac_cpp_err=$ac_c_preproc_warn_flag
12682 else 12687 else
12683 ac_cpp_err= 12688 ac_cpp_err=
12692 cat conftest.$ac_ext >&5 12697 cat conftest.$ac_ext >&5
12693 eval "$as_ac_Header=no" 12698 eval "$as_ac_Header=no"
12694 fi 12699 fi
12695 rm -f conftest.err conftest.$ac_ext 12700 rm -f conftest.err conftest.$ac_ext
12696 fi 12701 fi
12697 echo "$as_me:12697: result: `eval echo '${'$as_ac_Header'}'`" >&5 12702 echo "$as_me:12702: result: `eval echo '${'$as_ac_Header'}'`" >&5
12698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12699 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12700 cat >>confdefs.h <<EOF 12705 cat >>confdefs.h <<EOF
12701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12702 EOF 12707 EOF
12846 DEFS=-DHAVE_CONFIG_H 12851 DEFS=-DHAVE_CONFIG_H
12847 12852
12848 : ${CONFIG_STATUS=./config.status} 12853 : ${CONFIG_STATUS=./config.status}
12849 ac_clean_files_save=$ac_clean_files 12854 ac_clean_files_save=$ac_clean_files
12850 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12855 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12851 { echo "$as_me:12851: creating $CONFIG_STATUS" >&5 12856 { echo "$as_me:12856: creating $CONFIG_STATUS" >&5
12852 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12857 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12853 cat >$CONFIG_STATUS <<_ACEOF 12858 cat >$CONFIG_STATUS <<_ACEOF
12854 #! $SHELL 12859 #! $SHELL
12855 # Generated automatically by configure. 12860 # Generated automatically by configure.
12856 # Run this file to recreate the current configuration. 12861 # Run this file to recreate the current configuration.
13022 cat >>$CONFIG_STATUS <<\EOF 13027 cat >>$CONFIG_STATUS <<\EOF
13023 --version | --vers* | -V ) 13028 --version | --vers* | -V )
13024 echo "$ac_cs_version"; exit 0 ;; 13029 echo "$ac_cs_version"; exit 0 ;;
13025 --he | --h) 13030 --he | --h)
13026 # Conflict between --help and --header 13031 # Conflict between --help and --header
13027 { { echo "$as_me:13027: error: ambiguous option: $1 13032 { { echo "$as_me:13032: error: ambiguous option: $1
13028 Try \`$0 --help' for more information." >&5 13033 Try \`$0 --help' for more information." >&5
13029 echo "$as_me: error: ambiguous option: $1 13034 echo "$as_me: error: ambiguous option: $1
13030 Try \`$0 --help' for more information." >&2;} 13035 Try \`$0 --help' for more information." >&2;}
13031 { (exit 1); exit 1; }; };; 13036 { (exit 1); exit 1; }; };;
13032 --help | --hel | -h ) 13037 --help | --hel | -h )
13041 shift 13046 shift
13042 CONFIG_HEADERS="$CONFIG_HEADERS $1" 13047 CONFIG_HEADERS="$CONFIG_HEADERS $1"
13043 ac_need_defaults=false;; 13048 ac_need_defaults=false;;
13044 13049
13045 # This is an error. 13050 # This is an error.
13046 -*) { { echo "$as_me:13046: error: unrecognized option: $1 13051 -*) { { echo "$as_me:13051: error: unrecognized option: $1
13047 Try \`$0 --help' for more information." >&5 13052 Try \`$0 --help' for more information." >&5
13048 echo "$as_me: error: unrecognized option: $1 13053 echo "$as_me: error: unrecognized option: $1
13049 Try \`$0 --help' for more information." >&2;} 13054 Try \`$0 --help' for more information." >&2;}
13050 { (exit 1); exit 1; }; } ;; 13055 { (exit 1); exit 1; }; } ;;
13051 13056
13097 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 13102 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
13098 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 13103 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
13099 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 13104 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13100 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 13105 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13101 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 13106 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13102 *) { { echo "$as_me:13102: error: invalid argument: $ac_config_target" >&5 13107 *) { { echo "$as_me:13107: error: invalid argument: $ac_config_target" >&5
13103 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13108 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13104 { (exit 1); exit 1; }; };; 13109 { (exit 1); exit 1; }; };;
13105 esac 13110 esac
13106 done 13111 done
13107 13112
13346 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13351 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13347 *) ac_INSTALL=$ac_dots$INSTALL ;; 13352 *) ac_INSTALL=$ac_dots$INSTALL ;;
13348 esac 13353 esac
13349 13354
13350 if test x"$ac_file" != x-; then 13355 if test x"$ac_file" != x-; then
13351 { echo "$as_me:13351: creating $ac_file" >&5 13356 { echo "$as_me:13356: creating $ac_file" >&5
13352 echo "$as_me: creating $ac_file" >&6;} 13357 echo "$as_me: creating $ac_file" >&6;}
13353 rm -f "$ac_file" 13358 rm -f "$ac_file"
13354 fi 13359 fi
13355 # Let's still pretend it is `configure' which instantiates (i.e., don't 13360 # Let's still pretend it is `configure' which instantiates (i.e., don't
13356 # use $as_me), people would be surprised to read: 13361 # use $as_me), people would be surprised to read:
13364 for f in $ac_file_in; do 13369 for f in $ac_file_in; do
13365 case $f in 13370 case $f in
13366 -) echo $tmp/stdin ;; 13371 -) echo $tmp/stdin ;;
13367 [\\/$]*) 13372 [\\/$]*)
13368 # Absolute (can't be DOS-style, as IFS=:) 13373 # Absolute (can't be DOS-style, as IFS=:)
13369 test -f "$f" || { { echo "$as_me:13369: error: cannot find input file: $f" >&5 13374 test -f "$f" || { { echo "$as_me:13374: error: cannot find input file: $f" >&5
13370 echo "$as_me: error: cannot find input file: $f" >&2;} 13375 echo "$as_me: error: cannot find input file: $f" >&2;}
13371 { (exit 1); exit 1; }; } 13376 { (exit 1); exit 1; }; }
13372 echo $f;; 13377 echo $f;;
13373 *) # Relative 13378 *) # Relative
13374 if test -f "$f"; then 13379 if test -f "$f"; then
13377 elif test -f "$srcdir/$f"; then 13382 elif test -f "$srcdir/$f"; then
13378 # Source tree 13383 # Source tree
13379 echo $srcdir/$f 13384 echo $srcdir/$f
13380 else 13385 else
13381 # /dev/null tree 13386 # /dev/null tree
13382 { { echo "$as_me:13382: error: cannot find input file: $f" >&5 13387 { { echo "$as_me:13387: error: cannot find input file: $f" >&5
13383 echo "$as_me: error: cannot find input file: $f" >&2;} 13388 echo "$as_me: error: cannot find input file: $f" >&2;}
13384 { (exit 1); exit 1; }; } 13389 { (exit 1); exit 1; }; }
13385 fi;; 13390 fi;;
13386 esac 13391 esac
13387 done` || { (exit 1); exit 1; } 13392 done` || { (exit 1); exit 1; }
13438 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13443 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13439 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13444 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13440 * ) ac_file_in=$ac_file.in ;; 13445 * ) ac_file_in=$ac_file.in ;;
13441 esac 13446 esac
13442 13447
13443 test x"$ac_file" != x- && { echo "$as_me:13443: creating $ac_file" >&5 13448 test x"$ac_file" != x- && { echo "$as_me:13448: creating $ac_file" >&5
13444 echo "$as_me: creating $ac_file" >&6;} 13449 echo "$as_me: creating $ac_file" >&6;}
13445 13450
13446 # First look for the input files in the build tree, otherwise in the 13451 # First look for the input files in the build tree, otherwise in the
13447 # src tree. 13452 # src tree.
13448 ac_file_inputs=`IFS=: 13453 ac_file_inputs=`IFS=:
13449 for f in $ac_file_in; do 13454 for f in $ac_file_in; do
13450 case $f in 13455 case $f in
13451 -) echo $tmp/stdin ;; 13456 -) echo $tmp/stdin ;;
13452 [\\/$]*) 13457 [\\/$]*)
13453 # Absolute (can't be DOS-style, as IFS=:) 13458 # Absolute (can't be DOS-style, as IFS=:)
13454 test -f "$f" || { { echo "$as_me:13454: error: cannot find input file: $f" >&5 13459 test -f "$f" || { { echo "$as_me:13459: error: cannot find input file: $f" >&5
13455 echo "$as_me: error: cannot find input file: $f" >&2;} 13460 echo "$as_me: error: cannot find input file: $f" >&2;}
13456 { (exit 1); exit 1; }; } 13461 { (exit 1); exit 1; }; }
13457 echo $f;; 13462 echo $f;;
13458 *) # Relative 13463 *) # Relative
13459 if test -f "$f"; then 13464 if test -f "$f"; then
13462 elif test -f "$srcdir/$f"; then 13467 elif test -f "$srcdir/$f"; then
13463 # Source tree 13468 # Source tree
13464 echo $srcdir/$f 13469 echo $srcdir/$f
13465 else 13470 else
13466 # /dev/null tree 13471 # /dev/null tree
13467 { { echo "$as_me:13467: error: cannot find input file: $f" >&5 13472 { { echo "$as_me:13472: error: cannot find input file: $f" >&5
13468 echo "$as_me: error: cannot find input file: $f" >&2;} 13473 echo "$as_me: error: cannot find input file: $f" >&2;}
13469 { (exit 1); exit 1; }; } 13474 { (exit 1); exit 1; }; }
13470 fi;; 13475 fi;;
13471 esac 13476 esac
13472 done` || { (exit 1); exit 1; } 13477 done` || { (exit 1); exit 1; }
13579 fi 13584 fi
13580 cat $tmp/in >>$tmp/config.h 13585 cat $tmp/in >>$tmp/config.h
13581 rm -f $tmp/in 13586 rm -f $tmp/in
13582 if test x"$ac_file" != x-; then 13587 if test x"$ac_file" != x-; then
13583 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13588 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13584 { echo "$as_me:13584: $ac_file is unchanged" >&5 13589 { echo "$as_me:13589: $ac_file is unchanged" >&5
13585 echo "$as_me: $ac_file is unchanged" >&6;} 13590 echo "$as_me: $ac_file is unchanged" >&6;}
13586 else 13591 else
13587 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13592 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13588 X"$ac_file" : 'X\(//\)[^/]' \| \ 13593 X"$ac_file" : 'X\(//\)[^/]' \| \
13589 X"$ac_file" : 'X\(//\)$' \| \ 13594 X"$ac_file" : 'X\(//\)$' \| \