diff options
| author | Gerd Moellmann | 2000-09-06 21:42:35 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-06 21:42:35 +0000 |
| commit | 73b77ee53a3199ae5eb468c0fce25e9c8101fc5e (patch) | |
| tree | 42b1e5a133fe240107d6b29f538de94e87266e7c | |
| parent | 684b01ee39da9caf6b70afd28f461dfcd0b3adca (diff) | |
| download | emacs-73b77ee53a3199ae5eb468c0fce25e9c8101fc5e.tar.gz emacs-73b77ee53a3199ae5eb468c0fce25e9c8101fc5e.zip | |
*** empty log message ***
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rwxr-xr-x | configure | 1280 | ||||
| -rw-r--r-- | src/ChangeLog | 3 |
3 files changed, 652 insertions, 634 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2000-09-06 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-09-06 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.in (REL_ALLOC_MMAP): Recognize in system configuration | ||
| 4 | file and print informational message. | ||
| 5 | |||
| 3 | * configure.in (AC_FUNC_MMAP): Add. | 6 | * configure.in (AC_FUNC_MMAP): Add. |
| 4 | 7 | ||
| 5 | 2000-09-01 Gerd Moellmann <gerd@gnu.org> | 8 | 2000-09-01 Gerd Moellmann <gerd@gnu.org> |
| @@ -2324,6 +2324,12 @@ configure___ system_malloc=yes | |||
| 2324 | configure___ system_malloc=no | 2324 | configure___ system_malloc=no |
| 2325 | #endif | 2325 | #endif |
| 2326 | 2326 | ||
| 2327 | #ifdef REL_ALLOC_MMAP | ||
| 2328 | configure___ rel_alloc_mmap=yes | ||
| 2329 | #else | ||
| 2330 | configure___ rel_alloc_mmap=no | ||
| 2331 | #endif | ||
| 2332 | |||
| 2327 | #ifndef C_DEBUG_SWITCH | 2333 | #ifndef C_DEBUG_SWITCH |
| 2328 | #define C_DEBUG_SWITCH -g | 2334 | #define C_DEBUG_SWITCH -g |
| 2329 | #endif | 2335 | #endif |
| @@ -2404,7 +2410,7 @@ fi | |||
| 2404 | if test "$enable_largefile" != no; then | 2410 | if test "$enable_largefile" != no; then |
| 2405 | 2411 | ||
| 2406 | echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 | 2412 | echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 |
| 2407 | echo "configure:2408: checking for special C compiler options needed for large files" >&5 | 2413 | echo "configure:2414: checking for special C compiler options needed for large files" >&5 |
| 2408 | if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then | 2414 | if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then |
| 2409 | echo $ac_n "(cached) $ac_c" 1>&6 | 2415 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2410 | else | 2416 | else |
| @@ -2413,7 +2419,7 @@ else | |||
| 2413 | # IRIX 6.2 and later do not support large files by default, | 2419 | # IRIX 6.2 and later do not support large files by default, |
| 2414 | # so use the C compiler's -n32 option if that helps. | 2420 | # so use the C compiler's -n32 option if that helps. |
| 2415 | cat > conftest.$ac_ext <<EOF | 2421 | cat > conftest.$ac_ext <<EOF |
| 2416 | #line 2417 "configure" | 2422 | #line 2423 "configure" |
| 2417 | #include "confdefs.h" | 2423 | #include "confdefs.h" |
| 2418 | #include <sys/types.h> | 2424 | #include <sys/types.h> |
| 2419 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2425 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
| @@ -2422,7 +2428,7 @@ int main() { | |||
| 2422 | 2428 | ||
| 2423 | ; return 0; } | 2429 | ; return 0; } |
| 2424 | EOF | 2430 | EOF |
| 2425 | if { (eval echo configure:2426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2431 | if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2426 | : | 2432 | : |
| 2427 | else | 2433 | else |
| 2428 | echo "configure: failed program was:" >&5 | 2434 | echo "configure: failed program was:" >&5 |
| @@ -2431,7 +2437,7 @@ else | |||
| 2431 | ac_save_CC="$CC" | 2437 | ac_save_CC="$CC" |
| 2432 | CC="$CC -n32" | 2438 | CC="$CC -n32" |
| 2433 | cat > conftest.$ac_ext <<EOF | 2439 | cat > conftest.$ac_ext <<EOF |
| 2434 | #line 2435 "configure" | 2440 | #line 2441 "configure" |
| 2435 | #include "confdefs.h" | 2441 | #include "confdefs.h" |
| 2436 | #include <sys/types.h> | 2442 | #include <sys/types.h> |
| 2437 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2443 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
| @@ -2440,7 +2446,7 @@ int main() { | |||
| 2440 | 2446 | ||
| 2441 | ; return 0; } | 2447 | ; return 0; } |
| 2442 | EOF | 2448 | EOF |
| 2443 | if { (eval echo configure:2444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2449 | if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2444 | rm -rf conftest* | 2450 | rm -rf conftest* |
| 2445 | ac_cv_sys_largefile_CC=' -n32' | 2451 | ac_cv_sys_largefile_CC=' -n32' |
| 2446 | else | 2452 | else |
| @@ -2460,13 +2466,13 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6 | |||
| 2460 | fi | 2466 | fi |
| 2461 | 2467 | ||
| 2462 | echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 | 2468 | echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 |
| 2463 | echo "configure:2464: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 2469 | echo "configure:2470: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 2464 | if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then | 2470 | if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then |
| 2465 | echo $ac_n "(cached) $ac_c" 1>&6 | 2471 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2466 | else | 2472 | else |
| 2467 | ac_cv_sys_file_offset_bits=no | 2473 | ac_cv_sys_file_offset_bits=no |
| 2468 | cat > conftest.$ac_ext <<EOF | 2474 | cat > conftest.$ac_ext <<EOF |
| 2469 | #line 2470 "configure" | 2475 | #line 2476 "configure" |
| 2470 | #include "confdefs.h" | 2476 | #include "confdefs.h" |
| 2471 | #include <sys/types.h> | 2477 | #include <sys/types.h> |
| 2472 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2478 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
| @@ -2477,14 +2483,14 @@ int main() { | |||
| 2477 | 2483 | ||
| 2478 | ; return 0; } | 2484 | ; return 0; } |
| 2479 | EOF | 2485 | EOF |
| 2480 | if { (eval echo configure:2481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2486 | if { (eval echo configure:2487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2481 | : | 2487 | : |
| 2482 | else | 2488 | else |
| 2483 | echo "configure: failed program was:" >&5 | 2489 | echo "configure: failed program was:" >&5 |
| 2484 | cat conftest.$ac_ext >&5 | 2490 | cat conftest.$ac_ext >&5 |
| 2485 | rm -rf conftest* | 2491 | rm -rf conftest* |
| 2486 | cat > conftest.$ac_ext <<EOF | 2492 | cat > conftest.$ac_ext <<EOF |
| 2487 | #line 2488 "configure" | 2493 | #line 2494 "configure" |
| 2488 | #include "confdefs.h" | 2494 | #include "confdefs.h" |
| 2489 | #define _FILE_OFFSET_BITS 64 | 2495 | #define _FILE_OFFSET_BITS 64 |
| 2490 | #include <sys/types.h> | 2496 | #include <sys/types.h> |
| @@ -2496,7 +2502,7 @@ int main() { | |||
| 2496 | 2502 | ||
| 2497 | ; return 0; } | 2503 | ; return 0; } |
| 2498 | EOF | 2504 | EOF |
| 2499 | if { (eval echo configure:2500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2505 | if { (eval echo configure:2506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2500 | rm -rf conftest* | 2506 | rm -rf conftest* |
| 2501 | ac_cv_sys_file_offset_bits=64 | 2507 | ac_cv_sys_file_offset_bits=64 |
| 2502 | else | 2508 | else |
| @@ -2516,13 +2522,13 @@ EOF | |||
| 2516 | 2522 | ||
| 2517 | fi | 2523 | fi |
| 2518 | echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 | 2524 | echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 |
| 2519 | echo "configure:2520: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 2525 | echo "configure:2526: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
| 2520 | if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then | 2526 | if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then |
| 2521 | echo $ac_n "(cached) $ac_c" 1>&6 | 2527 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2522 | else | 2528 | else |
| 2523 | ac_cv_sys_largefile_source=no | 2529 | ac_cv_sys_largefile_source=no |
| 2524 | cat > conftest.$ac_ext <<EOF | 2530 | cat > conftest.$ac_ext <<EOF |
| 2525 | #line 2526 "configure" | 2531 | #line 2532 "configure" |
| 2526 | #include "confdefs.h" | 2532 | #include "confdefs.h" |
| 2527 | #include <sys/types.h> | 2533 | #include <sys/types.h> |
| 2528 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2534 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
| @@ -2533,14 +2539,14 @@ int main() { | |||
| 2533 | return !ftello; | 2539 | return !ftello; |
| 2534 | ; return 0; } | 2540 | ; return 0; } |
| 2535 | EOF | 2541 | EOF |
| 2536 | if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2542 | if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2537 | : | 2543 | : |
| 2538 | else | 2544 | else |
| 2539 | echo "configure: failed program was:" >&5 | 2545 | echo "configure: failed program was:" >&5 |
| 2540 | cat conftest.$ac_ext >&5 | 2546 | cat conftest.$ac_ext >&5 |
| 2541 | rm -rf conftest* | 2547 | rm -rf conftest* |
| 2542 | cat > conftest.$ac_ext <<EOF | 2548 | cat > conftest.$ac_ext <<EOF |
| 2543 | #line 2544 "configure" | 2549 | #line 2550 "configure" |
| 2544 | #include "confdefs.h" | 2550 | #include "confdefs.h" |
| 2545 | #define _LARGEFILE_SOURCE 1 | 2551 | #define _LARGEFILE_SOURCE 1 |
| 2546 | #include <sys/types.h> | 2552 | #include <sys/types.h> |
| @@ -2552,7 +2558,7 @@ int main() { | |||
| 2552 | return !ftello; | 2558 | return !ftello; |
| 2553 | ; return 0; } | 2559 | ; return 0; } |
| 2554 | EOF | 2560 | EOF |
| 2555 | if { (eval echo configure:2556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2561 | if { (eval echo configure:2562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2556 | rm -rf conftest* | 2562 | rm -rf conftest* |
| 2557 | ac_cv_sys_largefile_source=1 | 2563 | ac_cv_sys_largefile_source=1 |
| 2558 | else | 2564 | else |
| @@ -2572,13 +2578,13 @@ EOF | |||
| 2572 | 2578 | ||
| 2573 | fi | 2579 | fi |
| 2574 | echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 | 2580 | echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 |
| 2575 | echo "configure:2576: checking for _LARGE_FILES value needed for large files" >&5 | 2581 | echo "configure:2582: checking for _LARGE_FILES value needed for large files" >&5 |
| 2576 | if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then | 2582 | if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then |
| 2577 | echo $ac_n "(cached) $ac_c" 1>&6 | 2583 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2578 | else | 2584 | else |
| 2579 | ac_cv_sys_large_files=no | 2585 | ac_cv_sys_large_files=no |
| 2580 | cat > conftest.$ac_ext <<EOF | 2586 | cat > conftest.$ac_ext <<EOF |
| 2581 | #line 2582 "configure" | 2587 | #line 2588 "configure" |
| 2582 | #include "confdefs.h" | 2588 | #include "confdefs.h" |
| 2583 | #include <sys/types.h> | 2589 | #include <sys/types.h> |
| 2584 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2590 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
| @@ -2589,14 +2595,14 @@ int main() { | |||
| 2589 | 2595 | ||
| 2590 | ; return 0; } | 2596 | ; return 0; } |
| 2591 | EOF | 2597 | EOF |
| 2592 | if { (eval echo configure:2593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2598 | if { (eval echo configure:2599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2593 | : | 2599 | : |
| 2594 | else | 2600 | else |
| 2595 | echo "configure: failed program was:" >&5 | 2601 | echo "configure: failed program was:" >&5 |
| 2596 | cat conftest.$ac_ext >&5 | 2602 | cat conftest.$ac_ext >&5 |
| 2597 | rm -rf conftest* | 2603 | rm -rf conftest* |
| 2598 | cat > conftest.$ac_ext <<EOF | 2604 | cat > conftest.$ac_ext <<EOF |
| 2599 | #line 2600 "configure" | 2605 | #line 2606 "configure" |
| 2600 | #include "confdefs.h" | 2606 | #include "confdefs.h" |
| 2601 | #define _LARGE_FILES 1 | 2607 | #define _LARGE_FILES 1 |
| 2602 | #include <sys/types.h> | 2608 | #include <sys/types.h> |
| @@ -2608,7 +2614,7 @@ int main() { | |||
| 2608 | 2614 | ||
| 2609 | ; return 0; } | 2615 | ; return 0; } |
| 2610 | EOF | 2616 | EOF |
| 2611 | if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2617 | if { (eval echo configure:2618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2612 | rm -rf conftest* | 2618 | rm -rf conftest* |
| 2613 | ac_cv_sys_large_files=1 | 2619 | ac_cv_sys_large_files=1 |
| 2614 | else | 2620 | else |
| @@ -2628,13 +2634,13 @@ EOF | |||
| 2628 | 2634 | ||
| 2629 | fi | 2635 | fi |
| 2630 | echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 | 2636 | echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 |
| 2631 | echo "configure:2632: checking for _XOPEN_SOURCE value needed for large files" >&5 | 2637 | echo "configure:2638: checking for _XOPEN_SOURCE value needed for large files" >&5 |
| 2632 | if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then | 2638 | if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then |
| 2633 | echo $ac_n "(cached) $ac_c" 1>&6 | 2639 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2634 | else | 2640 | else |
| 2635 | ac_cv_sys_xopen_source=no | 2641 | ac_cv_sys_xopen_source=no |
| 2636 | cat > conftest.$ac_ext <<EOF | 2642 | cat > conftest.$ac_ext <<EOF |
| 2637 | #line 2638 "configure" | 2643 | #line 2644 "configure" |
| 2638 | #include "confdefs.h" | 2644 | #include "confdefs.h" |
| 2639 | #include <sys/types.h> | 2645 | #include <sys/types.h> |
| 2640 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2646 | int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
| @@ -2645,14 +2651,14 @@ int main() { | |||
| 2645 | return !ftello; | 2651 | return !ftello; |
| 2646 | ; return 0; } | 2652 | ; return 0; } |
| 2647 | EOF | 2653 | EOF |
| 2648 | if { (eval echo configure:2649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2654 | if { (eval echo configure:2655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2649 | : | 2655 | : |
| 2650 | else | 2656 | else |
| 2651 | echo "configure: failed program was:" >&5 | 2657 | echo "configure: failed program was:" >&5 |
| 2652 | cat conftest.$ac_ext >&5 | 2658 | cat conftest.$ac_ext >&5 |
| 2653 | rm -rf conftest* | 2659 | rm -rf conftest* |
| 2654 | cat > conftest.$ac_ext <<EOF | 2660 | cat > conftest.$ac_ext <<EOF |
| 2655 | #line 2656 "configure" | 2661 | #line 2662 "configure" |
| 2656 | #include "confdefs.h" | 2662 | #include "confdefs.h" |
| 2657 | #define _XOPEN_SOURCE 500 | 2663 | #define _XOPEN_SOURCE 500 |
| 2658 | #include <sys/types.h> | 2664 | #include <sys/types.h> |
| @@ -2664,7 +2670,7 @@ int main() { | |||
| 2664 | return !ftello; | 2670 | return !ftello; |
| 2665 | ; return 0; } | 2671 | ; return 0; } |
| 2666 | EOF | 2672 | EOF |
| 2667 | if { (eval echo configure:2668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2673 | if { (eval echo configure:2674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2668 | rm -rf conftest* | 2674 | rm -rf conftest* |
| 2669 | ac_cv_sys_xopen_source=500 | 2675 | ac_cv_sys_xopen_source=500 |
| 2670 | else | 2676 | else |
| @@ -2691,17 +2697,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h | |||
| 2691 | do | 2697 | do |
| 2692 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2698 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2693 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2699 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2694 | echo "configure:2695: checking for $ac_hdr" >&5 | 2700 | echo "configure:2701: checking for $ac_hdr" >&5 |
| 2695 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2701 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2696 | echo $ac_n "(cached) $ac_c" 1>&6 | 2702 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2697 | else | 2703 | else |
| 2698 | cat > conftest.$ac_ext <<EOF | 2704 | cat > conftest.$ac_ext <<EOF |
| 2699 | #line 2700 "configure" | 2705 | #line 2706 "configure" |
| 2700 | #include "confdefs.h" | 2706 | #include "confdefs.h" |
| 2701 | #include <$ac_hdr> | 2707 | #include <$ac_hdr> |
| 2702 | EOF | 2708 | EOF |
| 2703 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2709 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2704 | { (eval echo configure:2705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2710 | { (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2705 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2711 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2706 | if test -z "$ac_err"; then | 2712 | if test -z "$ac_err"; then |
| 2707 | rm -rf conftest* | 2713 | rm -rf conftest* |
| @@ -2729,7 +2735,7 @@ done | |||
| 2729 | 2735 | ||
| 2730 | # Emulation library used on NetBSD. | 2736 | # Emulation library used on NetBSD. |
| 2731 | echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 | 2737 | echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 |
| 2732 | echo "configure:2733: checking for _oss_ioctl in -lossaudio" >&5 | 2738 | echo "configure:2739: checking for _oss_ioctl in -lossaudio" >&5 |
| 2733 | ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` | 2739 | ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` |
| 2734 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2740 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2735 | echo $ac_n "(cached) $ac_c" 1>&6 | 2741 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -2737,7 +2743,7 @@ else | |||
| 2737 | ac_save_LIBS="$LIBS" | 2743 | ac_save_LIBS="$LIBS" |
| 2738 | LIBS="-lossaudio $LIBS" | 2744 | LIBS="-lossaudio $LIBS" |
| 2739 | cat > conftest.$ac_ext <<EOF | 2745 | cat > conftest.$ac_ext <<EOF |
| 2740 | #line 2741 "configure" | 2746 | #line 2747 "configure" |
| 2741 | #include "confdefs.h" | 2747 | #include "confdefs.h" |
| 2742 | /* Override any gcc2 internal prototype to avoid an error. */ | 2748 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 2743 | /* We use char because int might match the return type of a gcc2 | 2749 | /* We use char because int might match the return type of a gcc2 |
| @@ -2748,7 +2754,7 @@ int main() { | |||
| 2748 | _oss_ioctl() | 2754 | _oss_ioctl() |
| 2749 | ; return 0; } | 2755 | ; return 0; } |
| 2750 | EOF | 2756 | EOF |
| 2751 | if { (eval echo configure:2752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2757 | if { (eval echo configure:2758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2752 | rm -rf conftest* | 2758 | rm -rf conftest* |
| 2753 | eval "ac_cv_lib_$ac_lib_var=yes" | 2759 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 2754 | else | 2760 | else |
| @@ -2777,17 +2783,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | |||
| 2777 | do | 2783 | do |
| 2778 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2784 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2779 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2785 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2780 | echo "configure:2781: checking for $ac_hdr" >&5 | 2786 | echo "configure:2787: checking for $ac_hdr" >&5 |
| 2781 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2787 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2782 | echo $ac_n "(cached) $ac_c" 1>&6 | 2788 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2783 | else | 2789 | else |
| 2784 | cat > conftest.$ac_ext <<EOF | 2790 | cat > conftest.$ac_ext <<EOF |
| 2785 | #line 2786 "configure" | 2791 | #line 2792 "configure" |
| 2786 | #include "confdefs.h" | 2792 | #include "confdefs.h" |
| 2787 | #include <$ac_hdr> | 2793 | #include <$ac_hdr> |
| 2788 | EOF | 2794 | EOF |
| 2789 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2795 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2790 | { (eval echo configure:2791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2796 | { (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2791 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2797 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2792 | if test -z "$ac_err"; then | 2798 | if test -z "$ac_err"; then |
| 2793 | rm -rf conftest* | 2799 | rm -rf conftest* |
| @@ -2814,12 +2820,12 @@ fi | |||
| 2814 | done | 2820 | done |
| 2815 | 2821 | ||
| 2816 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2822 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2817 | echo "configure:2818: checking for ANSI C header files" >&5 | 2823 | echo "configure:2824: checking for ANSI C header files" >&5 |
| 2818 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2824 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 2819 | echo $ac_n "(cached) $ac_c" 1>&6 | 2825 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2820 | else | 2826 | else |
| 2821 | cat > conftest.$ac_ext <<EOF | 2827 | cat > conftest.$ac_ext <<EOF |
| 2822 | #line 2823 "configure" | 2828 | #line 2829 "configure" |
| 2823 | #include "confdefs.h" | 2829 | #include "confdefs.h" |
| 2824 | #include <stdlib.h> | 2830 | #include <stdlib.h> |
| 2825 | #include <stdarg.h> | 2831 | #include <stdarg.h> |
| @@ -2827,7 +2833,7 @@ else | |||
| 2827 | #include <float.h> | 2833 | #include <float.h> |
| 2828 | EOF | 2834 | EOF |
| 2829 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2835 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2830 | { (eval echo configure:2831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2836 | { (eval echo configure:2837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2831 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2837 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2832 | if test -z "$ac_err"; then | 2838 | if test -z "$ac_err"; then |
| 2833 | rm -rf conftest* | 2839 | rm -rf conftest* |
| @@ -2844,7 +2850,7 @@ rm -f conftest* | |||
| 2844 | if test $ac_cv_header_stdc = yes; then | 2850 | if test $ac_cv_header_stdc = yes; then |
| 2845 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2851 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2846 | cat > conftest.$ac_ext <<EOF | 2852 | cat > conftest.$ac_ext <<EOF |
| 2847 | #line 2848 "configure" | 2853 | #line 2854 "configure" |
| 2848 | #include "confdefs.h" | 2854 | #include "confdefs.h" |
| 2849 | #include <string.h> | 2855 | #include <string.h> |
| 2850 | EOF | 2856 | EOF |
| @@ -2862,7 +2868,7 @@ fi | |||
| 2862 | if test $ac_cv_header_stdc = yes; then | 2868 | if test $ac_cv_header_stdc = yes; then |
| 2863 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2869 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2864 | cat > conftest.$ac_ext <<EOF | 2870 | cat > conftest.$ac_ext <<EOF |
| 2865 | #line 2866 "configure" | 2871 | #line 2872 "configure" |
| 2866 | #include "confdefs.h" | 2872 | #include "confdefs.h" |
| 2867 | #include <stdlib.h> | 2873 | #include <stdlib.h> |
| 2868 | EOF | 2874 | EOF |
| @@ -2883,7 +2889,7 @@ if test "$cross_compiling" = yes; then | |||
| 2883 | : | 2889 | : |
| 2884 | else | 2890 | else |
| 2885 | cat > conftest.$ac_ext <<EOF | 2891 | cat > conftest.$ac_ext <<EOF |
| 2886 | #line 2887 "configure" | 2892 | #line 2893 "configure" |
| 2887 | #include "confdefs.h" | 2893 | #include "confdefs.h" |
| 2888 | #include <ctype.h> | 2894 | #include <ctype.h> |
| 2889 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2895 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| @@ -2894,7 +2900,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | |||
| 2894 | exit (0); } | 2900 | exit (0); } |
| 2895 | 2901 | ||
| 2896 | EOF | 2902 | EOF |
| 2897 | if { (eval echo configure:2898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2903 | if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2898 | then | 2904 | then |
| 2899 | : | 2905 | : |
| 2900 | else | 2906 | else |
| @@ -2918,12 +2924,12 @@ EOF | |||
| 2918 | fi | 2924 | fi |
| 2919 | 2925 | ||
| 2920 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2926 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2921 | echo "configure:2922: checking whether time.h and sys/time.h may both be included" >&5 | 2927 | echo "configure:2928: checking whether time.h and sys/time.h may both be included" >&5 |
| 2922 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2928 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 2923 | echo $ac_n "(cached) $ac_c" 1>&6 | 2929 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2924 | else | 2930 | else |
| 2925 | cat > conftest.$ac_ext <<EOF | 2931 | cat > conftest.$ac_ext <<EOF |
| 2926 | #line 2927 "configure" | 2932 | #line 2933 "configure" |
| 2927 | #include "confdefs.h" | 2933 | #include "confdefs.h" |
| 2928 | #include <sys/types.h> | 2934 | #include <sys/types.h> |
| 2929 | #include <sys/time.h> | 2935 | #include <sys/time.h> |
| @@ -2932,7 +2938,7 @@ int main() { | |||
| 2932 | struct tm *tp; | 2938 | struct tm *tp; |
| 2933 | ; return 0; } | 2939 | ; return 0; } |
| 2934 | EOF | 2940 | EOF |
| 2935 | if { (eval echo configure:2936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2941 | if { (eval echo configure:2942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2936 | rm -rf conftest* | 2942 | rm -rf conftest* |
| 2937 | ac_cv_header_time=yes | 2943 | ac_cv_header_time=yes |
| 2938 | else | 2944 | else |
| @@ -2953,12 +2959,12 @@ EOF | |||
| 2953 | fi | 2959 | fi |
| 2954 | 2960 | ||
| 2955 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2961 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2956 | echo "configure:2957: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2962 | echo "configure:2963: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2957 | if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2963 | if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then |
| 2958 | echo $ac_n "(cached) $ac_c" 1>&6 | 2964 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2959 | else | 2965 | else |
| 2960 | cat > conftest.$ac_ext <<EOF | 2966 | cat > conftest.$ac_ext <<EOF |
| 2961 | #line 2962 "configure" | 2967 | #line 2968 "configure" |
| 2962 | #include "confdefs.h" | 2968 | #include "confdefs.h" |
| 2963 | #include <sys/types.h> | 2969 | #include <sys/types.h> |
| 2964 | #include <signal.h> | 2970 | #include <signal.h> |
| @@ -2970,7 +2976,7 @@ int main() { | |||
| 2970 | char *msg = *(sys_siglist + 1); | 2976 | char *msg = *(sys_siglist + 1); |
| 2971 | ; return 0; } | 2977 | ; return 0; } |
| 2972 | EOF | 2978 | EOF |
| 2973 | if { (eval echo configure:2974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2979 | if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2974 | rm -rf conftest* | 2980 | rm -rf conftest* |
| 2975 | ac_cv_decl_sys_siglist=yes | 2981 | ac_cv_decl_sys_siglist=yes |
| 2976 | else | 2982 | else |
| @@ -2991,12 +2997,12 @@ EOF | |||
| 2991 | fi | 2997 | fi |
| 2992 | 2998 | ||
| 2993 | echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2999 | echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2994 | echo "configure:2995: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3000 | echo "configure:3001: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2995 | if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then | 3001 | if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
| 2996 | echo $ac_n "(cached) $ac_c" 1>&6 | 3002 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2997 | else | 3003 | else |
| 2998 | cat > conftest.$ac_ext <<EOF | 3004 | cat > conftest.$ac_ext <<EOF |
| 2999 | #line 3000 "configure" | 3005 | #line 3006 "configure" |
| 3000 | #include "confdefs.h" | 3006 | #include "confdefs.h" |
| 3001 | #include <sys/types.h> | 3007 | #include <sys/types.h> |
| 3002 | #include <sys/wait.h> | 3008 | #include <sys/wait.h> |
| @@ -3012,7 +3018,7 @@ wait (&s); | |||
| 3012 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3018 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3013 | ; return 0; } | 3019 | ; return 0; } |
| 3014 | EOF | 3020 | EOF |
| 3015 | if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3021 | if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3016 | rm -rf conftest* | 3022 | rm -rf conftest* |
| 3017 | ac_cv_header_sys_wait_h=yes | 3023 | ac_cv_header_sys_wait_h=yes |
| 3018 | else | 3024 | else |
| @@ -3034,12 +3040,12 @@ fi | |||
| 3034 | 3040 | ||
| 3035 | 3041 | ||
| 3036 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3042 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3037 | echo "configure:3038: checking for struct utimbuf" >&5 | 3043 | echo "configure:3044: checking for struct utimbuf" >&5 |
| 3038 | if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 3044 | if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then |
| 3039 | echo $ac_n "(cached) $ac_c" 1>&6 | 3045 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3040 | else | 3046 | else |
| 3041 | cat > conftest.$ac_ext <<EOF | 3047 | cat > conftest.$ac_ext <<EOF |
| 3042 | #line 3043 "configure" | 3048 | #line 3049 "configure" |
| 3043 | #include "confdefs.h" | 3049 | #include "confdefs.h" |
| 3044 | #ifdef TIME_WITH_SYS_TIME | 3050 | #ifdef TIME_WITH_SYS_TIME |
| 3045 | #include <sys/time.h> | 3051 | #include <sys/time.h> |
| @@ -3058,7 +3064,7 @@ int main() { | |||
| 3058 | static struct utimbuf x; x.actime = x.modtime; | 3064 | static struct utimbuf x; x.actime = x.modtime; |
| 3059 | ; return 0; } | 3065 | ; return 0; } |
| 3060 | EOF | 3066 | EOF |
| 3061 | if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3067 | if { (eval echo configure:3068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3062 | rm -rf conftest* | 3068 | rm -rf conftest* |
| 3063 | emacs_cv_struct_utimbuf=yes | 3069 | emacs_cv_struct_utimbuf=yes |
| 3064 | else | 3070 | else |
| @@ -3079,12 +3085,12 @@ EOF | |||
| 3079 | fi | 3085 | fi |
| 3080 | 3086 | ||
| 3081 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3087 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3082 | echo "configure:3083: checking return type of signal handlers" >&5 | 3088 | echo "configure:3089: checking return type of signal handlers" >&5 |
| 3083 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 3089 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 3084 | echo $ac_n "(cached) $ac_c" 1>&6 | 3090 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3085 | else | 3091 | else |
| 3086 | cat > conftest.$ac_ext <<EOF | 3092 | cat > conftest.$ac_ext <<EOF |
| 3087 | #line 3088 "configure" | 3093 | #line 3094 "configure" |
| 3088 | #include "confdefs.h" | 3094 | #include "confdefs.h" |
| 3089 | #include <sys/types.h> | 3095 | #include <sys/types.h> |
| 3090 | #include <signal.h> | 3096 | #include <signal.h> |
| @@ -3101,7 +3107,7 @@ int main() { | |||
| 3101 | int i; | 3107 | int i; |
| 3102 | ; return 0; } | 3108 | ; return 0; } |
| 3103 | EOF | 3109 | EOF |
| 3104 | if { (eval echo configure:3105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3110 | if { (eval echo configure:3111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3105 | rm -rf conftest* | 3111 | rm -rf conftest* |
| 3106 | ac_cv_type_signal=void | 3112 | ac_cv_type_signal=void |
| 3107 | else | 3113 | else |
| @@ -3121,19 +3127,19 @@ EOF | |||
| 3121 | 3127 | ||
| 3122 | 3128 | ||
| 3123 | echo $ac_n "checking for speed_t""... $ac_c" 1>&6 | 3129 | echo $ac_n "checking for speed_t""... $ac_c" 1>&6 |
| 3124 | echo "configure:3125: checking for speed_t" >&5 | 3130 | echo "configure:3131: checking for speed_t" >&5 |
| 3125 | if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then | 3131 | if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then |
| 3126 | echo $ac_n "(cached) $ac_c" 1>&6 | 3132 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3127 | else | 3133 | else |
| 3128 | cat > conftest.$ac_ext <<EOF | 3134 | cat > conftest.$ac_ext <<EOF |
| 3129 | #line 3130 "configure" | 3135 | #line 3136 "configure" |
| 3130 | #include "confdefs.h" | 3136 | #include "confdefs.h" |
| 3131 | #include <termios.h> | 3137 | #include <termios.h> |
| 3132 | int main() { | 3138 | int main() { |
| 3133 | speed_t x = 1; | 3139 | speed_t x = 1; |
| 3134 | ; return 0; } | 3140 | ; return 0; } |
| 3135 | EOF | 3141 | EOF |
| 3136 | if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3142 | if { (eval echo configure:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3137 | rm -rf conftest* | 3143 | rm -rf conftest* |
| 3138 | emacs_cv_speed_t=yes | 3144 | emacs_cv_speed_t=yes |
| 3139 | else | 3145 | else |
| @@ -3152,12 +3158,12 @@ EOF | |||
| 3152 | fi | 3158 | fi |
| 3153 | 3159 | ||
| 3154 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3160 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3155 | echo "configure:3156: checking for struct timeval" >&5 | 3161 | echo "configure:3162: checking for struct timeval" >&5 |
| 3156 | if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 3162 | if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then |
| 3157 | echo $ac_n "(cached) $ac_c" 1>&6 | 3163 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3158 | else | 3164 | else |
| 3159 | cat > conftest.$ac_ext <<EOF | 3165 | cat > conftest.$ac_ext <<EOF |
| 3160 | #line 3161 "configure" | 3166 | #line 3167 "configure" |
| 3161 | #include "confdefs.h" | 3167 | #include "confdefs.h" |
| 3162 | #ifdef TIME_WITH_SYS_TIME | 3168 | #ifdef TIME_WITH_SYS_TIME |
| 3163 | #include <sys/time.h> | 3169 | #include <sys/time.h> |
| @@ -3173,7 +3179,7 @@ int main() { | |||
| 3173 | static struct timeval x; x.tv_sec = x.tv_usec; | 3179 | static struct timeval x; x.tv_sec = x.tv_usec; |
| 3174 | ; return 0; } | 3180 | ; return 0; } |
| 3175 | EOF | 3181 | EOF |
| 3176 | if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3182 | if { (eval echo configure:3183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3177 | rm -rf conftest* | 3183 | rm -rf conftest* |
| 3178 | emacs_cv_struct_timeval=yes | 3184 | emacs_cv_struct_timeval=yes |
| 3179 | else | 3185 | else |
| @@ -3195,19 +3201,19 @@ EOF | |||
| 3195 | fi | 3201 | fi |
| 3196 | 3202 | ||
| 3197 | echo $ac_n "checking for struct exception""... $ac_c" 1>&6 | 3203 | echo $ac_n "checking for struct exception""... $ac_c" 1>&6 |
| 3198 | echo "configure:3199: checking for struct exception" >&5 | 3204 | echo "configure:3205: checking for struct exception" >&5 |
| 3199 | if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then | 3205 | if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then |
| 3200 | echo $ac_n "(cached) $ac_c" 1>&6 | 3206 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3201 | else | 3207 | else |
| 3202 | cat > conftest.$ac_ext <<EOF | 3208 | cat > conftest.$ac_ext <<EOF |
| 3203 | #line 3204 "configure" | 3209 | #line 3210 "configure" |
| 3204 | #include "confdefs.h" | 3210 | #include "confdefs.h" |
| 3205 | #include <math.h> | 3211 | #include <math.h> |
| 3206 | int main() { | 3212 | int main() { |
| 3207 | static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | 3213 | static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; |
| 3208 | ; return 0; } | 3214 | ; return 0; } |
| 3209 | EOF | 3215 | EOF |
| 3210 | if { (eval echo configure:3211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3216 | if { (eval echo configure:3217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3211 | rm -rf conftest* | 3217 | rm -rf conftest* |
| 3212 | emacs_cv_struct_exception=yes | 3218 | emacs_cv_struct_exception=yes |
| 3213 | else | 3219 | else |
| @@ -3229,12 +3235,12 @@ EOF | |||
| 3229 | fi | 3235 | fi |
| 3230 | 3236 | ||
| 3231 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3237 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3232 | echo "configure:3233: checking whether struct tm is in sys/time.h or time.h" >&5 | 3238 | echo "configure:3239: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3233 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 3239 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
| 3234 | echo $ac_n "(cached) $ac_c" 1>&6 | 3240 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3235 | else | 3241 | else |
| 3236 | cat > conftest.$ac_ext <<EOF | 3242 | cat > conftest.$ac_ext <<EOF |
| 3237 | #line 3238 "configure" | 3243 | #line 3244 "configure" |
| 3238 | #include "confdefs.h" | 3244 | #include "confdefs.h" |
| 3239 | #include <sys/types.h> | 3245 | #include <sys/types.h> |
| 3240 | #include <time.h> | 3246 | #include <time.h> |
| @@ -3242,7 +3248,7 @@ int main() { | |||
| 3242 | struct tm *tp; tp->tm_sec; | 3248 | struct tm *tp; tp->tm_sec; |
| 3243 | ; return 0; } | 3249 | ; return 0; } |
| 3244 | EOF | 3250 | EOF |
| 3245 | if { (eval echo configure:3246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3251 | if { (eval echo configure:3252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3246 | rm -rf conftest* | 3252 | rm -rf conftest* |
| 3247 | ac_cv_struct_tm=time.h | 3253 | ac_cv_struct_tm=time.h |
| 3248 | else | 3254 | else |
| @@ -3263,12 +3269,12 @@ EOF | |||
| 3263 | fi | 3269 | fi |
| 3264 | 3270 | ||
| 3265 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3271 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3266 | echo "configure:3267: checking for tm_zone in struct tm" >&5 | 3272 | echo "configure:3273: checking for tm_zone in struct tm" >&5 |
| 3267 | if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 3273 | if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
| 3268 | echo $ac_n "(cached) $ac_c" 1>&6 | 3274 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3269 | else | 3275 | else |
| 3270 | cat > conftest.$ac_ext <<EOF | 3276 | cat > conftest.$ac_ext <<EOF |
| 3271 | #line 3272 "configure" | 3277 | #line 3278 "configure" |
| 3272 | #include "confdefs.h" | 3278 | #include "confdefs.h" |
| 3273 | #include <sys/types.h> | 3279 | #include <sys/types.h> |
| 3274 | #include <$ac_cv_struct_tm> | 3280 | #include <$ac_cv_struct_tm> |
| @@ -3276,7 +3282,7 @@ int main() { | |||
| 3276 | struct tm tm; tm.tm_zone; | 3282 | struct tm tm; tm.tm_zone; |
| 3277 | ; return 0; } | 3283 | ; return 0; } |
| 3278 | EOF | 3284 | EOF |
| 3279 | if { (eval echo configure:3280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3285 | if { (eval echo configure:3286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3280 | rm -rf conftest* | 3286 | rm -rf conftest* |
| 3281 | ac_cv_struct_tm_zone=yes | 3287 | ac_cv_struct_tm_zone=yes |
| 3282 | else | 3288 | else |
| @@ -3296,12 +3302,12 @@ EOF | |||
| 3296 | 3302 | ||
| 3297 | else | 3303 | else |
| 3298 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3304 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3299 | echo "configure:3300: checking for tzname" >&5 | 3305 | echo "configure:3306: checking for tzname" >&5 |
| 3300 | if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 3306 | if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
| 3301 | echo $ac_n "(cached) $ac_c" 1>&6 | 3307 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3302 | else | 3308 | else |
| 3303 | cat > conftest.$ac_ext <<EOF | 3309 | cat > conftest.$ac_ext <<EOF |
| 3304 | #line 3305 "configure" | 3310 | #line 3311 "configure" |
| 3305 | #include "confdefs.h" | 3311 | #include "confdefs.h" |
| 3306 | #include <time.h> | 3312 | #include <time.h> |
| 3307 | #ifndef tzname /* For SGI. */ | 3313 | #ifndef tzname /* For SGI. */ |
| @@ -3311,7 +3317,7 @@ int main() { | |||
| 3311 | atoi(*tzname); | 3317 | atoi(*tzname); |
| 3312 | ; return 0; } | 3318 | ; return 0; } |
| 3313 | EOF | 3319 | EOF |
| 3314 | if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3320 | if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3315 | rm -rf conftest* | 3321 | rm -rf conftest* |
| 3316 | ac_cv_var_tzname=yes | 3322 | ac_cv_var_tzname=yes |
| 3317 | else | 3323 | else |
| @@ -3333,19 +3339,19 @@ EOF | |||
| 3333 | fi | 3339 | fi |
| 3334 | 3340 | ||
| 3335 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 3341 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
| 3336 | echo "configure:3337: checking for tm_gmtoff in struct tm" >&5 | 3342 | echo "configure:3343: checking for tm_gmtoff in struct tm" >&5 |
| 3337 | if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 3343 | if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
| 3338 | echo $ac_n "(cached) $ac_c" 1>&6 | 3344 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3339 | else | 3345 | else |
| 3340 | cat > conftest.$ac_ext <<EOF | 3346 | cat > conftest.$ac_ext <<EOF |
| 3341 | #line 3342 "configure" | 3347 | #line 3348 "configure" |
| 3342 | #include "confdefs.h" | 3348 | #include "confdefs.h" |
| 3343 | #include <time.h> | 3349 | #include <time.h> |
| 3344 | int main() { | 3350 | int main() { |
| 3345 | struct tm t; t.tm_gmtoff = 0 | 3351 | struct tm t; t.tm_gmtoff = 0 |
| 3346 | ; return 0; } | 3352 | ; return 0; } |
| 3347 | EOF | 3353 | EOF |
| 3348 | if { (eval echo configure:3349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3354 | if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3349 | rm -rf conftest* | 3355 | rm -rf conftest* |
| 3350 | emacs_cv_tm_gmtoff=yes | 3356 | emacs_cv_tm_gmtoff=yes |
| 3351 | else | 3357 | else |
| @@ -3367,7 +3373,7 @@ fi | |||
| 3367 | 3373 | ||
| 3368 | 3374 | ||
| 3369 | echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 | 3375 | echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 |
| 3370 | echo "configure:3371: checking for ${CC-cc} option to accept ANSI C" >&5 | 3376 | echo "configure:3377: checking for ${CC-cc} option to accept ANSI C" >&5 |
| 3371 | if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then | 3377 | if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then |
| 3372 | echo $ac_n "(cached) $ac_c" 1>&6 | 3378 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3373 | else | 3379 | else |
| @@ -3384,7 +3390,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO | |||
| 3384 | do | 3390 | do |
| 3385 | CC="$ac_save_CC $ac_arg" | 3391 | CC="$ac_save_CC $ac_arg" |
| 3386 | cat > conftest.$ac_ext <<EOF | 3392 | cat > conftest.$ac_ext <<EOF |
| 3387 | #line 3388 "configure" | 3393 | #line 3394 "configure" |
| 3388 | #include "confdefs.h" | 3394 | #include "confdefs.h" |
| 3389 | #include <stdarg.h> | 3395 | #include <stdarg.h> |
| 3390 | #include <stdio.h> | 3396 | #include <stdio.h> |
| @@ -3418,7 +3424,7 @@ int main() { | |||
| 3418 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3424 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3419 | ; return 0; } | 3425 | ; return 0; } |
| 3420 | EOF | 3426 | EOF |
| 3421 | if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3427 | if { (eval echo configure:3428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3422 | rm -rf conftest* | 3428 | rm -rf conftest* |
| 3423 | ac_cv_prog_cc_stdc="$ac_arg"; break | 3429 | ac_cv_prog_cc_stdc="$ac_arg"; break |
| 3424 | else | 3430 | else |
| @@ -3440,7 +3446,7 @@ case "x$ac_cv_prog_cc_stdc" in | |||
| 3440 | esac | 3446 | esac |
| 3441 | 3447 | ||
| 3442 | echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 | 3448 | echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 |
| 3443 | echo "configure:3444: checking for function prototypes" >&5 | 3449 | echo "configure:3450: checking for function prototypes" >&5 |
| 3444 | if test "$ac_cv_prog_cc_stdc" != no; then | 3450 | if test "$ac_cv_prog_cc_stdc" != no; then |
| 3445 | echo "$ac_t""yes" 1>&6 | 3451 | echo "$ac_t""yes" 1>&6 |
| 3446 | cat >> confdefs.h <<\EOF | 3452 | cat >> confdefs.h <<\EOF |
| @@ -3452,12 +3458,12 @@ else | |||
| 3452 | fi | 3458 | fi |
| 3453 | 3459 | ||
| 3454 | echo $ac_n "checking for working volatile""... $ac_c" 1>&6 | 3460 | echo $ac_n "checking for working volatile""... $ac_c" 1>&6 |
| 3455 | echo "configure:3456: checking for working volatile" >&5 | 3461 | echo "configure:3462: checking for working volatile" >&5 |
| 3456 | if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then | 3462 | if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then |
| 3457 | echo $ac_n "(cached) $ac_c" 1>&6 | 3463 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3458 | else | 3464 | else |
| 3459 | cat > conftest.$ac_ext <<EOF | 3465 | cat > conftest.$ac_ext <<EOF |
| 3460 | #line 3461 "configure" | 3466 | #line 3467 "configure" |
| 3461 | #include "confdefs.h" | 3467 | #include "confdefs.h" |
| 3462 | 3468 | ||
| 3463 | int main() { | 3469 | int main() { |
| @@ -3466,7 +3472,7 @@ volatile int x; | |||
| 3466 | int * volatile y; | 3472 | int * volatile y; |
| 3467 | ; return 0; } | 3473 | ; return 0; } |
| 3468 | EOF | 3474 | EOF |
| 3469 | if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3475 | if { (eval echo configure:3476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3470 | rm -rf conftest* | 3476 | rm -rf conftest* |
| 3471 | ac_cv_c_volatile=yes | 3477 | ac_cv_c_volatile=yes |
| 3472 | else | 3478 | else |
| @@ -3487,12 +3493,12 @@ EOF | |||
| 3487 | fi | 3493 | fi |
| 3488 | 3494 | ||
| 3489 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3495 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3490 | echo "configure:3491: checking for working const" >&5 | 3496 | echo "configure:3497: checking for working const" >&5 |
| 3491 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 3497 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
| 3492 | echo $ac_n "(cached) $ac_c" 1>&6 | 3498 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3493 | else | 3499 | else |
| 3494 | cat > conftest.$ac_ext <<EOF | 3500 | cat > conftest.$ac_ext <<EOF |
| 3495 | #line 3496 "configure" | 3501 | #line 3502 "configure" |
| 3496 | #include "confdefs.h" | 3502 | #include "confdefs.h" |
| 3497 | 3503 | ||
| 3498 | int main() { | 3504 | int main() { |
| @@ -3541,7 +3547,7 @@ ccp = (char const *const *) p; | |||
| 3541 | 3547 | ||
| 3542 | ; return 0; } | 3548 | ; return 0; } |
| 3543 | EOF | 3549 | EOF |
| 3544 | if { (eval echo configure:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3550 | if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3545 | rm -rf conftest* | 3551 | rm -rf conftest* |
| 3546 | ac_cv_c_const=yes | 3552 | ac_cv_c_const=yes |
| 3547 | else | 3553 | else |
| @@ -3562,19 +3568,19 @@ EOF | |||
| 3562 | fi | 3568 | fi |
| 3563 | 3569 | ||
| 3564 | echo $ac_n "checking for void * support""... $ac_c" 1>&6 | 3570 | echo $ac_n "checking for void * support""... $ac_c" 1>&6 |
| 3565 | echo "configure:3566: checking for void * support" >&5 | 3571 | echo "configure:3572: checking for void * support" >&5 |
| 3566 | if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then | 3572 | if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then |
| 3567 | echo $ac_n "(cached) $ac_c" 1>&6 | 3573 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3568 | else | 3574 | else |
| 3569 | cat > conftest.$ac_ext <<EOF | 3575 | cat > conftest.$ac_ext <<EOF |
| 3570 | #line 3571 "configure" | 3576 | #line 3577 "configure" |
| 3571 | #include "confdefs.h" | 3577 | #include "confdefs.h" |
| 3572 | 3578 | ||
| 3573 | int main() { | 3579 | int main() { |
| 3574 | void * foo; | 3580 | void * foo; |
| 3575 | ; return 0; } | 3581 | ; return 0; } |
| 3576 | EOF | 3582 | EOF |
| 3577 | if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3583 | if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3578 | rm -rf conftest* | 3584 | rm -rf conftest* |
| 3579 | emacs_cv_void_star=yes | 3585 | emacs_cv_void_star=yes |
| 3580 | else | 3586 | else |
| @@ -3600,7 +3606,7 @@ EOF | |||
| 3600 | fi | 3606 | fi |
| 3601 | 3607 | ||
| 3602 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3608 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3603 | echo "configure:3604: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3609 | echo "configure:3610: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3604 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3610 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3605 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 3611 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 3606 | echo $ac_n "(cached) $ac_c" 1>&6 | 3612 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3628,7 +3634,7 @@ fi | |||
| 3628 | 3634 | ||
| 3629 | 3635 | ||
| 3630 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3636 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3631 | echo "configure:3632: checking for long file names" >&5 | 3637 | echo "configure:3638: checking for long file names" >&5 |
| 3632 | if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 3638 | if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
| 3633 | echo $ac_n "(cached) $ac_c" 1>&6 | 3639 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3634 | else | 3640 | else |
| @@ -3679,7 +3685,7 @@ fi | |||
| 3679 | # Uses ac_ vars as temps to allow command line to override cache and checks. | 3685 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 3680 | # --without-x overrides everything else, but does not touch the cache. | 3686 | # --without-x overrides everything else, but does not touch the cache. |
| 3681 | echo $ac_n "checking for X""... $ac_c" 1>&6 | 3687 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 3682 | echo "configure:3683: checking for X" >&5 | 3688 | echo "configure:3689: checking for X" >&5 |
| 3683 | 3689 | ||
| 3684 | # Check whether --with-x or --without-x was given. | 3690 | # Check whether --with-x or --without-x was given. |
| 3685 | if test "${with_x+set}" = set; then | 3691 | if test "${with_x+set}" = set; then |
| @@ -3741,12 +3747,12 @@ if test "$ac_x_includes" = NO; then | |||
| 3741 | 3747 | ||
| 3742 | # First, try using that file with no special directory specified. | 3748 | # First, try using that file with no special directory specified. |
| 3743 | cat > conftest.$ac_ext <<EOF | 3749 | cat > conftest.$ac_ext <<EOF |
| 3744 | #line 3745 "configure" | 3750 | #line 3751 "configure" |
| 3745 | #include "confdefs.h" | 3751 | #include "confdefs.h" |
| 3746 | #include <$x_direct_test_include> | 3752 | #include <$x_direct_test_include> |
| 3747 | EOF | 3753 | EOF |
| 3748 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3754 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3749 | { (eval echo configure:3750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3755 | { (eval echo configure:3756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3750 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3756 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3751 | if test -z "$ac_err"; then | 3757 | if test -z "$ac_err"; then |
| 3752 | rm -rf conftest* | 3758 | rm -rf conftest* |
| @@ -3815,14 +3821,14 @@ if test "$ac_x_libraries" = NO; then | |||
| 3815 | ac_save_LIBS="$LIBS" | 3821 | ac_save_LIBS="$LIBS" |
| 3816 | LIBS="-l$x_direct_test_library $LIBS" | 3822 | LIBS="-l$x_direct_test_library $LIBS" |
| 3817 | cat > conftest.$ac_ext <<EOF | 3823 | cat > conftest.$ac_ext <<EOF |
| 3818 | #line 3819 "configure" | 3824 | #line 3825 "configure" |
| 3819 | #include "confdefs.h" | 3825 | #include "confdefs.h" |
| 3820 | 3826 | ||
| 3821 | int main() { | 3827 | int main() { |
| 3822 | ${x_direct_test_function}() | 3828 | ${x_direct_test_function}() |
| 3823 | ; return 0; } | 3829 | ; return 0; } |
| 3824 | EOF | 3830 | EOF |
| 3825 | if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3831 | if { (eval echo configure:3832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3826 | rm -rf conftest* | 3832 | rm -rf conftest* |
| 3827 | LIBS="$ac_save_LIBS" | 3833 | LIBS="$ac_save_LIBS" |
| 3828 | # We can link X programs with no special library path. | 3834 | # We can link X programs with no special library path. |
| @@ -4000,12 +4006,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | |||
| 4000 | GNU_MALLOC=yes | 4006 | GNU_MALLOC=yes |
| 4001 | doug_lea_malloc=yes | 4007 | doug_lea_malloc=yes |
| 4002 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 4008 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 4003 | echo "configure:4004: checking for malloc_get_state" >&5 | 4009 | echo "configure:4010: checking for malloc_get_state" >&5 |
| 4004 | if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 4010 | if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
| 4005 | echo $ac_n "(cached) $ac_c" 1>&6 | 4011 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4006 | else | 4012 | else |
| 4007 | cat > conftest.$ac_ext <<EOF | 4013 | cat > conftest.$ac_ext <<EOF |
| 4008 | #line 4009 "configure" | 4014 | #line 4015 "configure" |
| 4009 | #include "confdefs.h" | 4015 | #include "confdefs.h" |
| 4010 | /* System header to define __stub macros and hopefully few prototypes, | 4016 | /* System header to define __stub macros and hopefully few prototypes, |
| 4011 | which can conflict with char malloc_get_state(); below. */ | 4017 | which can conflict with char malloc_get_state(); below. */ |
| @@ -4028,7 +4034,7 @@ malloc_get_state(); | |||
| 4028 | 4034 | ||
| 4029 | ; return 0; } | 4035 | ; return 0; } |
| 4030 | EOF | 4036 | EOF |
| 4031 | if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4037 | if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4032 | rm -rf conftest* | 4038 | rm -rf conftest* |
| 4033 | eval "ac_cv_func_malloc_get_state=yes" | 4039 | eval "ac_cv_func_malloc_get_state=yes" |
| 4034 | else | 4040 | else |
| @@ -4049,12 +4055,12 @@ doug_lea_malloc=no | |||
| 4049 | fi | 4055 | fi |
| 4050 | 4056 | ||
| 4051 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 4057 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 4052 | echo "configure:4053: checking for malloc_set_state" >&5 | 4058 | echo "configure:4059: checking for malloc_set_state" >&5 |
| 4053 | if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 4059 | if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
| 4054 | echo $ac_n "(cached) $ac_c" 1>&6 | 4060 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4055 | else | 4061 | else |
| 4056 | cat > conftest.$ac_ext <<EOF | 4062 | cat > conftest.$ac_ext <<EOF |
| 4057 | #line 4058 "configure" | 4063 | #line 4064 "configure" |
| 4058 | #include "confdefs.h" | 4064 | #include "confdefs.h" |
| 4059 | /* System header to define __stub macros and hopefully few prototypes, | 4065 | /* System header to define __stub macros and hopefully few prototypes, |
| 4060 | which can conflict with char malloc_set_state(); below. */ | 4066 | which can conflict with char malloc_set_state(); below. */ |
| @@ -4077,7 +4083,7 @@ malloc_set_state(); | |||
| 4077 | 4083 | ||
| 4078 | ; return 0; } | 4084 | ; return 0; } |
| 4079 | EOF | 4085 | EOF |
| 4080 | if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4086 | if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4081 | rm -rf conftest* | 4087 | rm -rf conftest* |
| 4082 | eval "ac_cv_func_malloc_set_state=yes" | 4088 | eval "ac_cv_func_malloc_set_state=yes" |
| 4083 | else | 4089 | else |
| @@ -4098,19 +4104,19 @@ doug_lea_malloc=no | |||
| 4098 | fi | 4104 | fi |
| 4099 | 4105 | ||
| 4100 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 4106 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 4101 | echo "configure:4102: checking whether __after_morecore_hook exists" >&5 | 4107 | echo "configure:4108: checking whether __after_morecore_hook exists" >&5 |
| 4102 | if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 4108 | if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
| 4103 | echo $ac_n "(cached) $ac_c" 1>&6 | 4109 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4104 | else | 4110 | else |
| 4105 | cat > conftest.$ac_ext <<EOF | 4111 | cat > conftest.$ac_ext <<EOF |
| 4106 | #line 4107 "configure" | 4112 | #line 4113 "configure" |
| 4107 | #include "confdefs.h" | 4113 | #include "confdefs.h" |
| 4108 | extern void (* __after_morecore_hook)(); | 4114 | extern void (* __after_morecore_hook)(); |
| 4109 | int main() { | 4115 | int main() { |
| 4110 | __after_morecore_hook = 0 | 4116 | __after_morecore_hook = 0 |
| 4111 | ; return 0; } | 4117 | ; return 0; } |
| 4112 | EOF | 4118 | EOF |
| 4113 | if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4119 | if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4114 | rm -rf conftest* | 4120 | rm -rf conftest* |
| 4115 | emacs_cv_var___after_morecore_hook=yes | 4121 | emacs_cv_var___after_morecore_hook=yes |
| 4116 | else | 4122 | else |
| @@ -4146,10 +4152,281 @@ if test x"${REL_ALLOC}" = x; then | |||
| 4146 | REL_ALLOC=${GNU_MALLOC} | 4152 | REL_ALLOC=${GNU_MALLOC} |
| 4147 | fi | 4153 | fi |
| 4148 | 4154 | ||
| 4155 | @@@ | ||
| 4156 | for ac_hdr in unistd.h | ||
| 4157 | do | ||
| 4158 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 4159 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 4160 | echo "configure:4161: checking for $ac_hdr" >&5 | ||
| 4161 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 4162 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 4163 | else | ||
| 4164 | cat > conftest.$ac_ext <<EOF | ||
| 4165 | #line 4166 "configure" | ||
| 4166 | #include "confdefs.h" | ||
| 4167 | #include <$ac_hdr> | ||
| 4168 | EOF | ||
| 4169 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 4170 | { (eval echo configure:4171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 4171 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 4172 | if test -z "$ac_err"; then | ||
| 4173 | rm -rf conftest* | ||
| 4174 | eval "ac_cv_header_$ac_safe=yes" | ||
| 4175 | else | ||
| 4176 | echo "$ac_err" >&5 | ||
| 4177 | echo "configure: failed program was:" >&5 | ||
| 4178 | cat conftest.$ac_ext >&5 | ||
| 4179 | rm -rf conftest* | ||
| 4180 | eval "ac_cv_header_$ac_safe=no" | ||
| 4181 | fi | ||
| 4182 | rm -f conftest* | ||
| 4183 | fi | ||
| 4184 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 4185 | echo "$ac_t""yes" 1>&6 | ||
| 4186 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 4187 | cat >> confdefs.h <<EOF | ||
| 4188 | #define $ac_tr_hdr 1 | ||
| 4189 | EOF | ||
| 4190 | |||
| 4191 | else | ||
| 4192 | echo "$ac_t""no" 1>&6 | ||
| 4193 | fi | ||
| 4194 | done | ||
| 4195 | |||
| 4196 | for ac_func in getpagesize | ||
| 4197 | do | ||
| 4198 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | ||
| 4199 | echo "configure:4200: checking for $ac_func" >&5 | ||
| 4200 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | ||
| 4201 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 4202 | else | ||
| 4203 | cat > conftest.$ac_ext <<EOF | ||
| 4204 | #line 4205 "configure" | ||
| 4205 | #include "confdefs.h" | ||
| 4206 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 4207 | which can conflict with char $ac_func(); below. */ | ||
| 4208 | #include <assert.h> | ||
| 4209 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 4210 | /* We use char because int might match the return type of a gcc2 | ||
| 4211 | builtin and then its argument prototype would still apply. */ | ||
| 4212 | char $ac_func(); | ||
| 4213 | |||
| 4214 | int main() { | ||
| 4215 | |||
| 4216 | /* The GNU C library defines this for functions which it implements | ||
| 4217 | to always fail with ENOSYS. Some functions are actually named | ||
| 4218 | something starting with __ and the normal name is an alias. */ | ||
| 4219 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
| 4220 | choke me | ||
| 4221 | #else | ||
| 4222 | $ac_func(); | ||
| 4223 | #endif | ||
| 4224 | |||
| 4225 | ; return 0; } | ||
| 4226 | EOF | ||
| 4227 | if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 4228 | rm -rf conftest* | ||
| 4229 | eval "ac_cv_func_$ac_func=yes" | ||
| 4230 | else | ||
| 4231 | echo "configure: failed program was:" >&5 | ||
| 4232 | cat conftest.$ac_ext >&5 | ||
| 4233 | rm -rf conftest* | ||
| 4234 | eval "ac_cv_func_$ac_func=no" | ||
| 4235 | fi | ||
| 4236 | rm -f conftest* | ||
| 4237 | fi | ||
| 4238 | |||
| 4239 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | ||
| 4240 | echo "$ac_t""yes" 1>&6 | ||
| 4241 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | ||
| 4242 | cat >> confdefs.h <<EOF | ||
| 4243 | #define $ac_tr_func 1 | ||
| 4244 | EOF | ||
| 4245 | |||
| 4246 | else | ||
| 4247 | echo "$ac_t""no" 1>&6 | ||
| 4248 | fi | ||
| 4249 | done | ||
| 4250 | |||
| 4251 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | ||
| 4252 | echo "configure:4253: checking for working mmap" >&5 | ||
| 4253 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then | ||
| 4254 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 4255 | else | ||
| 4256 | if test "$cross_compiling" = yes; then | ||
| 4257 | ac_cv_func_mmap_fixed_mapped=no | ||
| 4258 | else | ||
| 4259 | cat > conftest.$ac_ext <<EOF | ||
| 4260 | #line 4261 "configure" | ||
| 4261 | #include "confdefs.h" | ||
| 4262 | |||
| 4263 | /* Thanks to Mike Haertel and Jim Avera for this test. | ||
| 4264 | Here is a matrix of mmap possibilities: | ||
| 4265 | mmap private not fixed | ||
| 4266 | mmap private fixed at somewhere currently unmapped | ||
| 4267 | mmap private fixed at somewhere already mapped | ||
| 4268 | mmap shared not fixed | ||
| 4269 | mmap shared fixed at somewhere currently unmapped | ||
| 4270 | mmap shared fixed at somewhere already mapped | ||
| 4271 | For private mappings, we should verify that changes cannot be read() | ||
| 4272 | back from the file, nor mmap's back from the file at a different | ||
| 4273 | address. (There have been systems where private was not correctly | ||
| 4274 | implemented like the infamous i386 svr4.0, and systems where the | ||
| 4275 | VM page cache was not coherent with the filesystem buffer cache | ||
| 4276 | like early versions of FreeBSD and possibly contemporary NetBSD.) | ||
| 4277 | For shared mappings, we should conversely verify that changes get | ||
| 4278 | propogated back to all the places they're supposed to be. | ||
| 4279 | |||
| 4280 | Grep wants private fixed already mapped. | ||
| 4281 | The main things grep needs to know about mmap are: | ||
| 4282 | * does it exist and is it safe to write into the mmap'd area | ||
| 4283 | * how to use it (BSD variants) */ | ||
| 4284 | #include <sys/types.h> | ||
| 4285 | #include <fcntl.h> | ||
| 4286 | #include <sys/mman.h> | ||
| 4287 | |||
| 4288 | /* This mess was copied from the GNU getpagesize.h. */ | ||
| 4289 | #ifndef HAVE_GETPAGESIZE | ||
| 4290 | # ifdef HAVE_UNISTD_H | ||
| 4291 | # include <unistd.h> | ||
| 4292 | # endif | ||
| 4293 | |||
| 4294 | /* Assume that all systems that can run configure have sys/param.h. */ | ||
| 4295 | # ifndef HAVE_SYS_PARAM_H | ||
| 4296 | # define HAVE_SYS_PARAM_H 1 | ||
| 4297 | # endif | ||
| 4298 | |||
| 4299 | # ifdef _SC_PAGESIZE | ||
| 4300 | # define getpagesize() sysconf(_SC_PAGESIZE) | ||
| 4301 | # else /* no _SC_PAGESIZE */ | ||
| 4302 | # ifdef HAVE_SYS_PARAM_H | ||
| 4303 | # include <sys/param.h> | ||
| 4304 | # ifdef EXEC_PAGESIZE | ||
| 4305 | # define getpagesize() EXEC_PAGESIZE | ||
| 4306 | # else /* no EXEC_PAGESIZE */ | ||
| 4307 | # ifdef NBPG | ||
| 4308 | # define getpagesize() NBPG * CLSIZE | ||
| 4309 | # ifndef CLSIZE | ||
| 4310 | # define CLSIZE 1 | ||
| 4311 | # endif /* no CLSIZE */ | ||
| 4312 | # else /* no NBPG */ | ||
| 4313 | # ifdef NBPC | ||
| 4314 | # define getpagesize() NBPC | ||
| 4315 | # else /* no NBPC */ | ||
| 4316 | # ifdef PAGESIZE | ||
| 4317 | # define getpagesize() PAGESIZE | ||
| 4318 | # endif /* PAGESIZE */ | ||
| 4319 | # endif /* no NBPC */ | ||
| 4320 | # endif /* no NBPG */ | ||
| 4321 | # endif /* no EXEC_PAGESIZE */ | ||
| 4322 | # else /* no HAVE_SYS_PARAM_H */ | ||
| 4323 | # define getpagesize() 8192 /* punt totally */ | ||
| 4324 | # endif /* no HAVE_SYS_PARAM_H */ | ||
| 4325 | # endif /* no _SC_PAGESIZE */ | ||
| 4326 | |||
| 4327 | #endif /* no HAVE_GETPAGESIZE */ | ||
| 4328 | |||
| 4329 | #ifdef __cplusplus | ||
| 4330 | extern "C" { void *malloc(unsigned); } | ||
| 4331 | #else | ||
| 4332 | char *malloc(); | ||
| 4333 | #endif | ||
| 4334 | |||
| 4335 | int | ||
| 4336 | main() | ||
| 4337 | { | ||
| 4338 | char *data, *data2, *data3; | ||
| 4339 | int i, pagesize; | ||
| 4340 | int fd; | ||
| 4341 | |||
| 4342 | pagesize = getpagesize(); | ||
| 4343 | |||
| 4344 | /* | ||
| 4345 | * First, make a file with some known garbage in it. | ||
| 4346 | */ | ||
| 4347 | data = malloc(pagesize); | ||
| 4348 | if (!data) | ||
| 4349 | exit(1); | ||
| 4350 | for (i = 0; i < pagesize; ++i) | ||
| 4351 | *(data + i) = rand(); | ||
| 4352 | umask(0); | ||
| 4353 | fd = creat("conftestmmap", 0600); | ||
| 4354 | if (fd < 0) | ||
| 4355 | exit(1); | ||
| 4356 | if (write(fd, data, pagesize) != pagesize) | ||
| 4357 | exit(1); | ||
| 4358 | close(fd); | ||
| 4359 | |||
| 4360 | /* | ||
| 4361 | * Next, try to mmap the file at a fixed address which | ||
| 4362 | * already has something else allocated at it. If we can, | ||
| 4363 | * also make sure that we see the same garbage. | ||
| 4364 | */ | ||
| 4365 | fd = open("conftestmmap", O_RDWR); | ||
| 4366 | if (fd < 0) | ||
| 4367 | exit(1); | ||
| 4368 | data2 = malloc(2 * pagesize); | ||
| 4369 | if (!data2) | ||
| 4370 | exit(1); | ||
| 4371 | data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | ||
| 4372 | if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, | ||
| 4373 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | ||
| 4374 | exit(1); | ||
| 4375 | for (i = 0; i < pagesize; ++i) | ||
| 4376 | if (*(data + i) != *(data2 + i)) | ||
| 4377 | exit(1); | ||
| 4378 | |||
| 4379 | /* | ||
| 4380 | * Finally, make sure that changes to the mapped area | ||
| 4381 | * do not percolate back to the file as seen by read(). | ||
| 4382 | * (This is a bug on some variants of i386 svr4.0.) | ||
| 4383 | */ | ||
| 4384 | for (i = 0; i < pagesize; ++i) | ||
| 4385 | *(data2 + i) = *(data2 + i) + 1; | ||
| 4386 | data3 = malloc(pagesize); | ||
| 4387 | if (!data3) | ||
| 4388 | exit(1); | ||
| 4389 | if (read(fd, data3, pagesize) != pagesize) | ||
| 4390 | exit(1); | ||
| 4391 | for (i = 0; i < pagesize; ++i) | ||
| 4392 | if (*(data + i) != *(data3 + i)) | ||
| 4393 | exit(1); | ||
| 4394 | close(fd); | ||
| 4395 | unlink("conftestmmap"); | ||
| 4396 | exit(0); | ||
| 4397 | } | ||
| 4398 | |||
| 4399 | EOF | ||
| 4400 | if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | ||
| 4401 | then | ||
| 4402 | ac_cv_func_mmap_fixed_mapped=yes | ||
| 4403 | else | ||
| 4404 | echo "configure: failed program was:" >&5 | ||
| 4405 | cat conftest.$ac_ext >&5 | ||
| 4406 | rm -fr conftest* | ||
| 4407 | ac_cv_func_mmap_fixed_mapped=no | ||
| 4408 | fi | ||
| 4409 | rm -fr conftest* | ||
| 4410 | fi | ||
| 4411 | |||
| 4412 | fi | ||
| 4413 | |||
| 4414 | echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 | ||
| 4415 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | ||
| 4416 | cat >> confdefs.h <<\EOF | ||
| 4417 | #define HAVE_MMAP 1 | ||
| 4418 | EOF | ||
| 4419 | |||
| 4420 | fi | ||
| 4421 | |||
| 4422 | if test $rel_alloc_mmap = yes; then | ||
| 4423 | REL_ALLOC=yes | ||
| 4424 | fi | ||
| 4425 | |||
| 4149 | LIBS="$libsrc_libs $LIBS" | 4426 | LIBS="$libsrc_libs $LIBS" |
| 4150 | 4427 | ||
| 4151 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4428 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4152 | echo "configure:4153: checking for dnet_ntoa in -ldnet" >&5 | 4429 | echo "configure:4430: checking for dnet_ntoa in -ldnet" >&5 |
| 4153 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4430 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4154 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4431 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4155 | echo $ac_n "(cached) $ac_c" 1>&6 | 4432 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4157,7 +4434,7 @@ else | |||
| 4157 | ac_save_LIBS="$LIBS" | 4434 | ac_save_LIBS="$LIBS" |
| 4158 | LIBS="-ldnet $LIBS" | 4435 | LIBS="-ldnet $LIBS" |
| 4159 | cat > conftest.$ac_ext <<EOF | 4436 | cat > conftest.$ac_ext <<EOF |
| 4160 | #line 4161 "configure" | 4437 | #line 4438 "configure" |
| 4161 | #include "confdefs.h" | 4438 | #include "confdefs.h" |
| 4162 | /* Override any gcc2 internal prototype to avoid an error. */ | 4439 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4163 | /* We use char because int might match the return type of a gcc2 | 4440 | /* We use char because int might match the return type of a gcc2 |
| @@ -4168,7 +4445,7 @@ int main() { | |||
| 4168 | dnet_ntoa() | 4445 | dnet_ntoa() |
| 4169 | ; return 0; } | 4446 | ; return 0; } |
| 4170 | EOF | 4447 | EOF |
| 4171 | if { (eval echo configure:4172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4448 | if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4172 | rm -rf conftest* | 4449 | rm -rf conftest* |
| 4173 | eval "ac_cv_lib_$ac_lib_var=yes" | 4450 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4174 | else | 4451 | else |
| @@ -4197,7 +4474,7 @@ fi | |||
| 4197 | 4474 | ||
| 4198 | 4475 | ||
| 4199 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 4476 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 4200 | echo "configure:4201: checking for main in -lXbsd" >&5 | 4477 | echo "configure:4478: checking for main in -lXbsd" >&5 |
| 4201 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 4478 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 4202 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4479 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4203 | echo $ac_n "(cached) $ac_c" 1>&6 | 4480 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4205,14 +4482,14 @@ else | |||
| 4205 | ac_save_LIBS="$LIBS" | 4482 | ac_save_LIBS="$LIBS" |
| 4206 | LIBS="-lXbsd $LIBS" | 4483 | LIBS="-lXbsd $LIBS" |
| 4207 | cat > conftest.$ac_ext <<EOF | 4484 | cat > conftest.$ac_ext <<EOF |
| 4208 | #line 4209 "configure" | 4485 | #line 4486 "configure" |
| 4209 | #include "confdefs.h" | 4486 | #include "confdefs.h" |
| 4210 | 4487 | ||
| 4211 | int main() { | 4488 | int main() { |
| 4212 | main() | 4489 | main() |
| 4213 | ; return 0; } | 4490 | ; return 0; } |
| 4214 | EOF | 4491 | EOF |
| 4215 | if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4492 | if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4216 | rm -rf conftest* | 4493 | rm -rf conftest* |
| 4217 | eval "ac_cv_lib_$ac_lib_var=yes" | 4494 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4218 | else | 4495 | else |
| @@ -4234,7 +4511,7 @@ fi | |||
| 4234 | 4511 | ||
| 4235 | 4512 | ||
| 4236 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4513 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4237 | echo "configure:4238: checking for cma_open in -lpthreads" >&5 | 4514 | echo "configure:4515: checking for cma_open in -lpthreads" >&5 |
| 4238 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4515 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4239 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4516 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4240 | echo $ac_n "(cached) $ac_c" 1>&6 | 4517 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4242,7 +4519,7 @@ else | |||
| 4242 | ac_save_LIBS="$LIBS" | 4519 | ac_save_LIBS="$LIBS" |
| 4243 | LIBS="-lpthreads $LIBS" | 4520 | LIBS="-lpthreads $LIBS" |
| 4244 | cat > conftest.$ac_ext <<EOF | 4521 | cat > conftest.$ac_ext <<EOF |
| 4245 | #line 4246 "configure" | 4522 | #line 4523 "configure" |
| 4246 | #include "confdefs.h" | 4523 | #include "confdefs.h" |
| 4247 | /* Override any gcc2 internal prototype to avoid an error. */ | 4524 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4248 | /* We use char because int might match the return type of a gcc2 | 4525 | /* We use char because int might match the return type of a gcc2 |
| @@ -4253,7 +4530,7 @@ int main() { | |||
| 4253 | cma_open() | 4530 | cma_open() |
| 4254 | ; return 0; } | 4531 | ; return 0; } |
| 4255 | EOF | 4532 | EOF |
| 4256 | if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4533 | if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4257 | rm -rf conftest* | 4534 | rm -rf conftest* |
| 4258 | eval "ac_cv_lib_$ac_lib_var=yes" | 4535 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4259 | else | 4536 | else |
| @@ -4282,7 +4559,7 @@ fi | |||
| 4282 | 4559 | ||
| 4283 | 4560 | ||
| 4284 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 4561 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
| 4285 | echo "configure:4286: checking for XFree86 in /usr/X386" >&5 | 4562 | echo "configure:4563: checking for XFree86 in /usr/X386" >&5 |
| 4286 | if test -d /usr/X386/include; then | 4563 | if test -d /usr/X386/include; then |
| 4287 | HAVE_XFREE386=yes | 4564 | HAVE_XFREE386=yes |
| 4288 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 4565 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
| @@ -4314,16 +4591,16 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4314 | 4591 | ||
| 4315 | if test "${opsys}" = "gnu-linux"; then | 4592 | if test "${opsys}" = "gnu-linux"; then |
| 4316 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 4593 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
| 4317 | echo "configure:4318: checking whether X on GNU/Linux needs -b to link" >&5 | 4594 | echo "configure:4595: checking whether X on GNU/Linux needs -b to link" >&5 |
| 4318 | cat > conftest.$ac_ext <<EOF | 4595 | cat > conftest.$ac_ext <<EOF |
| 4319 | #line 4320 "configure" | 4596 | #line 4597 "configure" |
| 4320 | #include "confdefs.h" | 4597 | #include "confdefs.h" |
| 4321 | 4598 | ||
| 4322 | int main() { | 4599 | int main() { |
| 4323 | XOpenDisplay ("foo"); | 4600 | XOpenDisplay ("foo"); |
| 4324 | ; return 0; } | 4601 | ; return 0; } |
| 4325 | EOF | 4602 | EOF |
| 4326 | if { (eval echo configure:4327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4603 | if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4327 | rm -rf conftest* | 4604 | rm -rf conftest* |
| 4328 | xlinux_first_failure=no | 4605 | xlinux_first_failure=no |
| 4329 | else | 4606 | else |
| @@ -4343,14 +4620,14 @@ rm -f conftest* | |||
| 4343 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 4620 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 4344 | LIBS="$LIBS -b i486-linuxaout" | 4621 | LIBS="$LIBS -b i486-linuxaout" |
| 4345 | cat > conftest.$ac_ext <<EOF | 4622 | cat > conftest.$ac_ext <<EOF |
| 4346 | #line 4347 "configure" | 4623 | #line 4624 "configure" |
| 4347 | #include "confdefs.h" | 4624 | #include "confdefs.h" |
| 4348 | 4625 | ||
| 4349 | int main() { | 4626 | int main() { |
| 4350 | XOpenDisplay ("foo"); | 4627 | XOpenDisplay ("foo"); |
| 4351 | ; return 0; } | 4628 | ; return 0; } |
| 4352 | EOF | 4629 | EOF |
| 4353 | if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4630 | if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4354 | rm -rf conftest* | 4631 | rm -rf conftest* |
| 4355 | xlinux_second_failure=no | 4632 | xlinux_second_failure=no |
| 4356 | else | 4633 | else |
| @@ -4380,12 +4657,12 @@ rm -f conftest* | |||
| 4380 | XScreenNumberOfScreen XSetWMProtocols | 4657 | XScreenNumberOfScreen XSetWMProtocols |
| 4381 | do | 4658 | do |
| 4382 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4659 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4383 | echo "configure:4384: checking for $ac_func" >&5 | 4660 | echo "configure:4661: checking for $ac_func" >&5 |
| 4384 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4661 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 4385 | echo $ac_n "(cached) $ac_c" 1>&6 | 4662 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4386 | else | 4663 | else |
| 4387 | cat > conftest.$ac_ext <<EOF | 4664 | cat > conftest.$ac_ext <<EOF |
| 4388 | #line 4389 "configure" | 4665 | #line 4666 "configure" |
| 4389 | #include "confdefs.h" | 4666 | #include "confdefs.h" |
| 4390 | /* System header to define __stub macros and hopefully few prototypes, | 4667 | /* System header to define __stub macros and hopefully few prototypes, |
| 4391 | which can conflict with char $ac_func(); below. */ | 4668 | which can conflict with char $ac_func(); below. */ |
| @@ -4408,7 +4685,7 @@ $ac_func(); | |||
| 4408 | 4685 | ||
| 4409 | ; return 0; } | 4686 | ; return 0; } |
| 4410 | EOF | 4687 | EOF |
| 4411 | if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4688 | if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4412 | rm -rf conftest* | 4689 | rm -rf conftest* |
| 4413 | eval "ac_cv_func_$ac_func=yes" | 4690 | eval "ac_cv_func_$ac_func=yes" |
| 4414 | else | 4691 | else |
| @@ -4436,12 +4713,12 @@ fi | |||
| 4436 | 4713 | ||
| 4437 | if test "${window_system}" = "x11"; then | 4714 | if test "${window_system}" = "x11"; then |
| 4438 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 4715 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
| 4439 | echo "configure:4440: checking X11 version 6" >&5 | 4716 | echo "configure:4717: checking X11 version 6" >&5 |
| 4440 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 4717 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
| 4441 | echo $ac_n "(cached) $ac_c" 1>&6 | 4718 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4442 | else | 4719 | else |
| 4443 | cat > conftest.$ac_ext <<EOF | 4720 | cat > conftest.$ac_ext <<EOF |
| 4444 | #line 4445 "configure" | 4721 | #line 4722 "configure" |
| 4445 | #include "confdefs.h" | 4722 | #include "confdefs.h" |
| 4446 | #include <X11/Xlib.h> | 4723 | #include <X11/Xlib.h> |
| 4447 | int main() { | 4724 | int main() { |
| @@ -4451,7 +4728,7 @@ fail; | |||
| 4451 | 4728 | ||
| 4452 | ; return 0; } | 4729 | ; return 0; } |
| 4453 | EOF | 4730 | EOF |
| 4454 | if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4731 | if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4455 | rm -rf conftest* | 4732 | rm -rf conftest* |
| 4456 | emacs_cv_x11_version_6=yes | 4733 | emacs_cv_x11_version_6=yes |
| 4457 | else | 4734 | else |
| @@ -4476,12 +4753,12 @@ fi | |||
| 4476 | 4753 | ||
| 4477 | if test "${window_system}" = "x11"; then | 4754 | if test "${window_system}" = "x11"; then |
| 4478 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 4755 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
| 4479 | echo "configure:4480: checking X11 version 5" >&5 | 4756 | echo "configure:4757: checking X11 version 5" >&5 |
| 4480 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 4757 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
| 4481 | echo $ac_n "(cached) $ac_c" 1>&6 | 4758 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4482 | else | 4759 | else |
| 4483 | cat > conftest.$ac_ext <<EOF | 4760 | cat > conftest.$ac_ext <<EOF |
| 4484 | #line 4485 "configure" | 4761 | #line 4762 "configure" |
| 4485 | #include "confdefs.h" | 4762 | #include "confdefs.h" |
| 4486 | #include <X11/Xlib.h> | 4763 | #include <X11/Xlib.h> |
| 4487 | int main() { | 4764 | int main() { |
| @@ -4491,7 +4768,7 @@ fail; | |||
| 4491 | 4768 | ||
| 4492 | ; return 0; } | 4769 | ; return 0; } |
| 4493 | EOF | 4770 | EOF |
| 4494 | if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4771 | if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4495 | rm -rf conftest* | 4772 | rm -rf conftest* |
| 4496 | emacs_cv_x11_version_5=yes | 4773 | emacs_cv_x11_version_5=yes |
| 4497 | else | 4774 | else |
| @@ -4519,12 +4796,12 @@ fi | |||
| 4519 | if test x"${USE_X_TOOLKIT}" = xmaybe; then | 4796 | if test x"${USE_X_TOOLKIT}" = xmaybe; then |
| 4520 | if test x"${HAVE_X11R5}" = xyes; then | 4797 | if test x"${HAVE_X11R5}" = xyes; then |
| 4521 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 4798 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
| 4522 | echo "configure:4523: checking X11 version 5 with Xaw" >&5 | 4799 | echo "configure:4800: checking X11 version 5 with Xaw" >&5 |
| 4523 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 4800 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
| 4524 | echo $ac_n "(cached) $ac_c" 1>&6 | 4801 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4525 | else | 4802 | else |
| 4526 | cat > conftest.$ac_ext <<EOF | 4803 | cat > conftest.$ac_ext <<EOF |
| 4527 | #line 4528 "configure" | 4804 | #line 4805 "configure" |
| 4528 | #include "confdefs.h" | 4805 | #include "confdefs.h" |
| 4529 | 4806 | ||
| 4530 | #include <X11/Intrinsic.h> | 4807 | #include <X11/Intrinsic.h> |
| @@ -4533,7 +4810,7 @@ int main() { | |||
| 4533 | 4810 | ||
| 4534 | ; return 0; } | 4811 | ; return 0; } |
| 4535 | EOF | 4812 | EOF |
| 4536 | if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4813 | if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4537 | rm -rf conftest* | 4814 | rm -rf conftest* |
| 4538 | emacs_cv_x11_version_5_with_xaw=yes | 4815 | emacs_cv_x11_version_5_with_xaw=yes |
| 4539 | else | 4816 | else |
| @@ -4561,12 +4838,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT | |||
| 4561 | 4838 | ||
| 4562 | if test "${USE_X_TOOLKIT}" != "none"; then | 4839 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 4563 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 4840 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
| 4564 | echo "configure:4565: checking X11 toolkit version" >&5 | 4841 | echo "configure:4842: checking X11 toolkit version" >&5 |
| 4565 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 4842 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
| 4566 | echo $ac_n "(cached) $ac_c" 1>&6 | 4843 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4567 | else | 4844 | else |
| 4568 | cat > conftest.$ac_ext <<EOF | 4845 | cat > conftest.$ac_ext <<EOF |
| 4569 | #line 4570 "configure" | 4846 | #line 4847 "configure" |
| 4570 | #include "confdefs.h" | 4847 | #include "confdefs.h" |
| 4571 | #include <X11/Intrinsic.h> | 4848 | #include <X11/Intrinsic.h> |
| 4572 | int main() { | 4849 | int main() { |
| @@ -4576,7 +4853,7 @@ fail; | |||
| 4576 | 4853 | ||
| 4577 | ; return 0; } | 4854 | ; return 0; } |
| 4578 | EOF | 4855 | EOF |
| 4579 | if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4856 | if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4580 | rm -rf conftest* | 4857 | rm -rf conftest* |
| 4581 | emacs_cv_x11_toolkit_version_6=yes | 4858 | emacs_cv_x11_toolkit_version_6=yes |
| 4582 | else | 4859 | else |
| @@ -4606,7 +4883,7 @@ EOF | |||
| 4606 | LIBS="-lXt $LIBS" | 4883 | LIBS="-lXt $LIBS" |
| 4607 | fi | 4884 | fi |
| 4608 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4885 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
| 4609 | echo "configure:4610: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4886 | echo "configure:4887: checking for XmuConvertStandardSelection in -lXmu" >&5 |
| 4610 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4887 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
| 4611 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4888 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4612 | echo $ac_n "(cached) $ac_c" 1>&6 | 4889 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4614,7 +4891,7 @@ else | |||
| 4614 | ac_save_LIBS="$LIBS" | 4891 | ac_save_LIBS="$LIBS" |
| 4615 | LIBS="-lXmu $LIBS" | 4892 | LIBS="-lXmu $LIBS" |
| 4616 | cat > conftest.$ac_ext <<EOF | 4893 | cat > conftest.$ac_ext <<EOF |
| 4617 | #line 4618 "configure" | 4894 | #line 4895 "configure" |
| 4618 | #include "confdefs.h" | 4895 | #include "confdefs.h" |
| 4619 | /* Override any gcc2 internal prototype to avoid an error. */ | 4896 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4620 | /* We use char because int might match the return type of a gcc2 | 4897 | /* We use char because int might match the return type of a gcc2 |
| @@ -4625,7 +4902,7 @@ int main() { | |||
| 4625 | XmuConvertStandardSelection() | 4902 | XmuConvertStandardSelection() |
| 4626 | ; return 0; } | 4903 | ; return 0; } |
| 4627 | EOF | 4904 | EOF |
| 4628 | if { (eval echo configure:4629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4905 | if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4629 | rm -rf conftest* | 4906 | rm -rf conftest* |
| 4630 | eval "ac_cv_lib_$ac_lib_var=yes" | 4907 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4631 | else | 4908 | else |
| @@ -4657,12 +4934,12 @@ fi | |||
| 4657 | 4934 | ||
| 4658 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 4935 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 4659 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 4936 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
| 4660 | echo "configure:4661: checking for Motif version 2.1" >&5 | 4937 | echo "configure:4938: checking for Motif version 2.1" >&5 |
| 4661 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4938 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
| 4662 | echo $ac_n "(cached) $ac_c" 1>&6 | 4939 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4663 | else | 4940 | else |
| 4664 | cat > conftest.$ac_ext <<EOF | 4941 | cat > conftest.$ac_ext <<EOF |
| 4665 | #line 4666 "configure" | 4942 | #line 4943 "configure" |
| 4666 | #include "confdefs.h" | 4943 | #include "confdefs.h" |
| 4667 | #include <Xm/Xm.h> | 4944 | #include <Xm/Xm.h> |
| 4668 | int main() { | 4945 | int main() { |
| @@ -4673,7 +4950,7 @@ Motif version prior to 2.1. | |||
| 4673 | #endif | 4950 | #endif |
| 4674 | ; return 0; } | 4951 | ; return 0; } |
| 4675 | EOF | 4952 | EOF |
| 4676 | if { (eval echo configure:4677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4953 | if { (eval echo configure:4954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4677 | rm -rf conftest* | 4954 | rm -rf conftest* |
| 4678 | emacs_cv_motif_version_2_1=yes | 4955 | emacs_cv_motif_version_2_1=yes |
| 4679 | else | 4956 | else |
| @@ -4693,7 +4970,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6 | |||
| 4693 | EOF | 4970 | EOF |
| 4694 | 4971 | ||
| 4695 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4972 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
| 4696 | echo "configure:4697: checking for XpCreateContext in -lXp" >&5 | 4973 | echo "configure:4974: checking for XpCreateContext in -lXp" >&5 |
| 4697 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4974 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
| 4698 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4975 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4699 | echo $ac_n "(cached) $ac_c" 1>&6 | 4976 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4701,7 +4978,7 @@ else | |||
| 4701 | ac_save_LIBS="$LIBS" | 4978 | ac_save_LIBS="$LIBS" |
| 4702 | LIBS="-lXp -lXext $LIBS" | 4979 | LIBS="-lXp -lXext $LIBS" |
| 4703 | cat > conftest.$ac_ext <<EOF | 4980 | cat > conftest.$ac_ext <<EOF |
| 4704 | #line 4705 "configure" | 4981 | #line 4982 "configure" |
| 4705 | #include "confdefs.h" | 4982 | #include "confdefs.h" |
| 4706 | /* Override any gcc2 internal prototype to avoid an error. */ | 4983 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4707 | /* We use char because int might match the return type of a gcc2 | 4984 | /* We use char because int might match the return type of a gcc2 |
| @@ -4712,7 +4989,7 @@ int main() { | |||
| 4712 | XpCreateContext() | 4989 | XpCreateContext() |
| 4713 | ; return 0; } | 4990 | ; return 0; } |
| 4714 | EOF | 4991 | EOF |
| 4715 | if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4992 | if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4716 | rm -rf conftest* | 4993 | rm -rf conftest* |
| 4717 | eval "ac_cv_lib_$ac_lib_var=yes" | 4994 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4718 | else | 4995 | else |
| @@ -4749,17 +5026,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4749 | CFLAGS="${LD_SWITCH_X_SITE}" | 5026 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 4750 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 5027 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
| 4751 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 5028 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
| 4752 | echo "configure:4753: checking for X11/Xaw3d/Scrollbar.h" >&5 | 5029 | echo "configure:5030: checking for X11/Xaw3d/Scrollbar.h" >&5 |
| 4753 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5030 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4754 | echo $ac_n "(cached) $ac_c" 1>&6 | 5031 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4755 | else | 5032 | else |
| 4756 | cat > conftest.$ac_ext <<EOF | 5033 | cat > conftest.$ac_ext <<EOF |
| 4757 | #line 4758 "configure" | 5034 | #line 5035 "configure" |
| 4758 | #include "confdefs.h" | 5035 | #include "confdefs.h" |
| 4759 | #include <X11/Xaw3d/Scrollbar.h> | 5036 | #include <X11/Xaw3d/Scrollbar.h> |
| 4760 | EOF | 5037 | EOF |
| 4761 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5038 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4762 | { (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5039 | { (eval echo configure:5040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4763 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5040 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4764 | if test -z "$ac_err"; then | 5041 | if test -z "$ac_err"; then |
| 4765 | rm -rf conftest* | 5042 | rm -rf conftest* |
| @@ -4776,7 +5053,7 @@ fi | |||
| 4776 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5053 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4777 | echo "$ac_t""yes" 1>&6 | 5054 | echo "$ac_t""yes" 1>&6 |
| 4778 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 5055 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
| 4779 | echo "configure:4780: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 5056 | echo "configure:5057: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
| 4780 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5057 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 4781 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5058 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4782 | echo $ac_n "(cached) $ac_c" 1>&6 | 5059 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4784,7 +5061,7 @@ else | |||
| 4784 | ac_save_LIBS="$LIBS" | 5061 | ac_save_LIBS="$LIBS" |
| 4785 | LIBS="-lXaw3d -lX11 $LIBS" | 5062 | LIBS="-lXaw3d -lX11 $LIBS" |
| 4786 | cat > conftest.$ac_ext <<EOF | 5063 | cat > conftest.$ac_ext <<EOF |
| 4787 | #line 4788 "configure" | 5064 | #line 5065 "configure" |
| 4788 | #include "confdefs.h" | 5065 | #include "confdefs.h" |
| 4789 | /* Override any gcc2 internal prototype to avoid an error. */ | 5066 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4790 | /* We use char because int might match the return type of a gcc2 | 5067 | /* We use char because int might match the return type of a gcc2 |
| @@ -4795,7 +5072,7 @@ int main() { | |||
| 4795 | XawScrollbarSetThumb() | 5072 | XawScrollbarSetThumb() |
| 4796 | ; return 0; } | 5073 | ; return 0; } |
| 4797 | EOF | 5074 | EOF |
| 4798 | if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5075 | if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4799 | rm -rf conftest* | 5076 | rm -rf conftest* |
| 4800 | eval "ac_cv_lib_$ac_lib_var=yes" | 5077 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4801 | else | 5078 | else |
| @@ -4867,17 +5144,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4867 | CFLAGS="${LD_SWITCH_X_SITE}" | 5144 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 4868 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 5145 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
| 4869 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 5146 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
| 4870 | echo "configure:4871: checking for X11/xpm.h" >&5 | 5147 | echo "configure:5148: checking for X11/xpm.h" >&5 |
| 4871 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5148 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4872 | echo $ac_n "(cached) $ac_c" 1>&6 | 5149 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4873 | else | 5150 | else |
| 4874 | cat > conftest.$ac_ext <<EOF | 5151 | cat > conftest.$ac_ext <<EOF |
| 4875 | #line 4876 "configure" | 5152 | #line 5153 "configure" |
| 4876 | #include "confdefs.h" | 5153 | #include "confdefs.h" |
| 4877 | #include <X11/xpm.h> | 5154 | #include <X11/xpm.h> |
| 4878 | EOF | 5155 | EOF |
| 4879 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5156 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4880 | { (eval echo configure:4881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5157 | { (eval echo configure:5158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4881 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5158 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4882 | if test -z "$ac_err"; then | 5159 | if test -z "$ac_err"; then |
| 4883 | rm -rf conftest* | 5160 | rm -rf conftest* |
| @@ -4894,7 +5171,7 @@ fi | |||
| 4894 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5171 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4895 | echo "$ac_t""yes" 1>&6 | 5172 | echo "$ac_t""yes" 1>&6 |
| 4896 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 5173 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
| 4897 | echo "configure:4898: checking for XpmReadFileToPixmap in -lXpm" >&5 | 5174 | echo "configure:5175: checking for XpmReadFileToPixmap in -lXpm" >&5 |
| 4898 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 5175 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
| 4899 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5176 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4900 | echo $ac_n "(cached) $ac_c" 1>&6 | 5177 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4902,7 +5179,7 @@ else | |||
| 4902 | ac_save_LIBS="$LIBS" | 5179 | ac_save_LIBS="$LIBS" |
| 4903 | LIBS="-lXpm -lX11 $LIBS" | 5180 | LIBS="-lXpm -lX11 $LIBS" |
| 4904 | cat > conftest.$ac_ext <<EOF | 5181 | cat > conftest.$ac_ext <<EOF |
| 4905 | #line 4906 "configure" | 5182 | #line 5183 "configure" |
| 4906 | #include "confdefs.h" | 5183 | #include "confdefs.h" |
| 4907 | /* Override any gcc2 internal prototype to avoid an error. */ | 5184 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4908 | /* We use char because int might match the return type of a gcc2 | 5185 | /* We use char because int might match the return type of a gcc2 |
| @@ -4913,7 +5190,7 @@ int main() { | |||
| 4913 | XpmReadFileToPixmap() | 5190 | XpmReadFileToPixmap() |
| 4914 | ; return 0; } | 5191 | ; return 0; } |
| 4915 | EOF | 5192 | EOF |
| 4916 | if { (eval echo configure:4917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5193 | if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4917 | rm -rf conftest* | 5194 | rm -rf conftest* |
| 4918 | eval "ac_cv_lib_$ac_lib_var=yes" | 5195 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4919 | else | 5196 | else |
| @@ -4939,9 +5216,9 @@ fi | |||
| 4939 | 5216 | ||
| 4940 | if test "${HAVE_XPM}" = "yes"; then | 5217 | if test "${HAVE_XPM}" = "yes"; then |
| 4941 | echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 | 5218 | echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 |
| 4942 | echo "configure:4943: checking for XpmReturnAllocPixels preprocessor define" >&5 | 5219 | echo "configure:5220: checking for XpmReturnAllocPixels preprocessor define" >&5 |
| 4943 | cat > conftest.$ac_ext <<EOF | 5220 | cat > conftest.$ac_ext <<EOF |
| 4944 | #line 4945 "configure" | 5221 | #line 5222 "configure" |
| 4945 | #include "confdefs.h" | 5222 | #include "confdefs.h" |
| 4946 | #include "X11/xpm.h" | 5223 | #include "X11/xpm.h" |
| 4947 | #ifndef XpmReturnAllocPixels | 5224 | #ifndef XpmReturnAllocPixels |
| @@ -4984,17 +5261,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4984 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5261 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4985 | ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 5262 | ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
| 4986 | echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 5263 | echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
| 4987 | echo "configure:4988: checking for jerror.h" >&5 | 5264 | echo "configure:5265: checking for jerror.h" >&5 |
| 4988 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5265 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4989 | echo $ac_n "(cached) $ac_c" 1>&6 | 5266 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4990 | else | 5267 | else |
| 4991 | cat > conftest.$ac_ext <<EOF | 5268 | cat > conftest.$ac_ext <<EOF |
| 4992 | #line 4993 "configure" | 5269 | #line 5270 "configure" |
| 4993 | #include "confdefs.h" | 5270 | #include "confdefs.h" |
| 4994 | #include <jerror.h> | 5271 | #include <jerror.h> |
| 4995 | EOF | 5272 | EOF |
| 4996 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5273 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4997 | { (eval echo configure:4998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5274 | { (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4998 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5275 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4999 | if test -z "$ac_err"; then | 5276 | if test -z "$ac_err"; then |
| 5000 | rm -rf conftest* | 5277 | rm -rf conftest* |
| @@ -5011,7 +5288,7 @@ fi | |||
| 5011 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5288 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5012 | echo "$ac_t""yes" 1>&6 | 5289 | echo "$ac_t""yes" 1>&6 |
| 5013 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 5290 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
| 5014 | echo "configure:5015: checking for jpeg_destroy_compress in -ljpeg" >&5 | 5291 | echo "configure:5292: checking for jpeg_destroy_compress in -ljpeg" >&5 |
| 5015 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 5292 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
| 5016 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5293 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5017 | echo $ac_n "(cached) $ac_c" 1>&6 | 5294 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5019,7 +5296,7 @@ else | |||
| 5019 | ac_save_LIBS="$LIBS" | 5296 | ac_save_LIBS="$LIBS" |
| 5020 | LIBS="-ljpeg -lX11 $LIBS" | 5297 | LIBS="-ljpeg -lX11 $LIBS" |
| 5021 | cat > conftest.$ac_ext <<EOF | 5298 | cat > conftest.$ac_ext <<EOF |
| 5022 | #line 5023 "configure" | 5299 | #line 5300 "configure" |
| 5023 | #include "confdefs.h" | 5300 | #include "confdefs.h" |
| 5024 | /* Override any gcc2 internal prototype to avoid an error. */ | 5301 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5025 | /* We use char because int might match the return type of a gcc2 | 5302 | /* We use char because int might match the return type of a gcc2 |
| @@ -5030,7 +5307,7 @@ int main() { | |||
| 5030 | jpeg_destroy_compress() | 5307 | jpeg_destroy_compress() |
| 5031 | ; return 0; } | 5308 | ; return 0; } |
| 5032 | EOF | 5309 | EOF |
| 5033 | if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5310 | if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5034 | rm -rf conftest* | 5311 | rm -rf conftest* |
| 5035 | eval "ac_cv_lib_$ac_lib_var=yes" | 5312 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5036 | else | 5313 | else |
| @@ -5073,17 +5350,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5073 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5350 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 5074 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 5351 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 5075 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 5352 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 5076 | echo "configure:5077: checking for png.h" >&5 | 5353 | echo "configure:5354: checking for png.h" >&5 |
| 5077 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5354 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5078 | echo $ac_n "(cached) $ac_c" 1>&6 | 5355 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5079 | else | 5356 | else |
| 5080 | cat > conftest.$ac_ext <<EOF | 5357 | cat > conftest.$ac_ext <<EOF |
| 5081 | #line 5082 "configure" | 5358 | #line 5359 "configure" |
| 5082 | #include "confdefs.h" | 5359 | #include "confdefs.h" |
| 5083 | #include <png.h> | 5360 | #include <png.h> |
| 5084 | EOF | 5361 | EOF |
| 5085 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5362 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5086 | { (eval echo configure:5087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5363 | { (eval echo configure:5364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5087 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5364 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5088 | if test -z "$ac_err"; then | 5365 | if test -z "$ac_err"; then |
| 5089 | rm -rf conftest* | 5366 | rm -rf conftest* |
| @@ -5100,7 +5377,7 @@ fi | |||
| 5100 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5377 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5101 | echo "$ac_t""yes" 1>&6 | 5378 | echo "$ac_t""yes" 1>&6 |
| 5102 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 5379 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
| 5103 | echo "configure:5104: checking for png_set_expand in -lpng" >&5 | 5380 | echo "configure:5381: checking for png_set_expand in -lpng" >&5 |
| 5104 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 5381 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
| 5105 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5382 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5106 | echo $ac_n "(cached) $ac_c" 1>&6 | 5383 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5108,7 +5385,7 @@ else | |||
| 5108 | ac_save_LIBS="$LIBS" | 5385 | ac_save_LIBS="$LIBS" |
| 5109 | LIBS="-lpng -lX11 -lz -lm $LIBS" | 5386 | LIBS="-lpng -lX11 -lz -lm $LIBS" |
| 5110 | cat > conftest.$ac_ext <<EOF | 5387 | cat > conftest.$ac_ext <<EOF |
| 5111 | #line 5112 "configure" | 5388 | #line 5389 "configure" |
| 5112 | #include "confdefs.h" | 5389 | #include "confdefs.h" |
| 5113 | /* Override any gcc2 internal prototype to avoid an error. */ | 5390 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5114 | /* We use char because int might match the return type of a gcc2 | 5391 | /* We use char because int might match the return type of a gcc2 |
| @@ -5119,7 +5396,7 @@ int main() { | |||
| 5119 | png_set_expand() | 5396 | png_set_expand() |
| 5120 | ; return 0; } | 5397 | ; return 0; } |
| 5121 | EOF | 5398 | EOF |
| 5122 | if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5399 | if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5123 | rm -rf conftest* | 5400 | rm -rf conftest* |
| 5124 | eval "ac_cv_lib_$ac_lib_var=yes" | 5401 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5125 | else | 5402 | else |
| @@ -5162,17 +5439,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5162 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5439 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 5163 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 5440 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 5164 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 5441 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 5165 | echo "configure:5166: checking for tiffio.h" >&5 | 5442 | echo "configure:5443: checking for tiffio.h" >&5 |
| 5166 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5443 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5167 | echo $ac_n "(cached) $ac_c" 1>&6 | 5444 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5168 | else | 5445 | else |
| 5169 | cat > conftest.$ac_ext <<EOF | 5446 | cat > conftest.$ac_ext <<EOF |
| 5170 | #line 5171 "configure" | 5447 | #line 5448 "configure" |
| 5171 | #include "confdefs.h" | 5448 | #include "confdefs.h" |
| 5172 | #include <tiffio.h> | 5449 | #include <tiffio.h> |
| 5173 | EOF | 5450 | EOF |
| 5174 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5451 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5175 | { (eval echo configure:5176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5452 | { (eval echo configure:5453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5176 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5453 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5177 | if test -z "$ac_err"; then | 5454 | if test -z "$ac_err"; then |
| 5178 | rm -rf conftest* | 5455 | rm -rf conftest* |
| @@ -5192,7 +5469,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |||
| 5192 | # At least one tiff package requires the jpeg library. | 5469 | # At least one tiff package requires the jpeg library. |
| 5193 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 5470 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 5194 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 5471 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
| 5195 | echo "configure:5196: checking for TIFFGetVersion in -ltiff" >&5 | 5472 | echo "configure:5473: checking for TIFFGetVersion in -ltiff" >&5 |
| 5196 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 5473 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
| 5197 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5474 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5198 | echo $ac_n "(cached) $ac_c" 1>&6 | 5475 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5200,7 +5477,7 @@ else | |||
| 5200 | ac_save_LIBS="$LIBS" | 5477 | ac_save_LIBS="$LIBS" |
| 5201 | LIBS="-ltiff $tifflibs $LIBS" | 5478 | LIBS="-ltiff $tifflibs $LIBS" |
| 5202 | cat > conftest.$ac_ext <<EOF | 5479 | cat > conftest.$ac_ext <<EOF |
| 5203 | #line 5204 "configure" | 5480 | #line 5481 "configure" |
| 5204 | #include "confdefs.h" | 5481 | #include "confdefs.h" |
| 5205 | /* Override any gcc2 internal prototype to avoid an error. */ | 5482 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5206 | /* We use char because int might match the return type of a gcc2 | 5483 | /* We use char because int might match the return type of a gcc2 |
| @@ -5211,7 +5488,7 @@ int main() { | |||
| 5211 | TIFFGetVersion() | 5488 | TIFFGetVersion() |
| 5212 | ; return 0; } | 5489 | ; return 0; } |
| 5213 | EOF | 5490 | EOF |
| 5214 | if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5491 | if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5215 | rm -rf conftest* | 5492 | rm -rf conftest* |
| 5216 | eval "ac_cv_lib_$ac_lib_var=yes" | 5493 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5217 | else | 5494 | else |
| @@ -5254,17 +5531,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5254 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5531 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 5255 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 5532 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
| 5256 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 5533 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
| 5257 | echo "configure:5258: checking for gif_lib.h" >&5 | 5534 | echo "configure:5535: checking for gif_lib.h" >&5 |
| 5258 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5535 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5259 | echo $ac_n "(cached) $ac_c" 1>&6 | 5536 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5260 | else | 5537 | else |
| 5261 | cat > conftest.$ac_ext <<EOF | 5538 | cat > conftest.$ac_ext <<EOF |
| 5262 | #line 5263 "configure" | 5539 | #line 5540 "configure" |
| 5263 | #include "confdefs.h" | 5540 | #include "confdefs.h" |
| 5264 | #include <gif_lib.h> | 5541 | #include <gif_lib.h> |
| 5265 | EOF | 5542 | EOF |
| 5266 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5543 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5267 | { (eval echo configure:5268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5544 | { (eval echo configure:5545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5268 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5545 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5269 | if test -z "$ac_err"; then | 5546 | if test -z "$ac_err"; then |
| 5270 | rm -rf conftest* | 5547 | rm -rf conftest* |
| @@ -5281,7 +5558,7 @@ fi | |||
| 5281 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5558 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5282 | echo "$ac_t""yes" 1>&6 | 5559 | echo "$ac_t""yes" 1>&6 |
| 5283 | echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 5560 | echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
| 5284 | echo "configure:5285: checking for DGifOpen in -lungif" >&5 | 5561 | echo "configure:5562: checking for DGifOpen in -lungif" >&5 |
| 5285 | ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 5562 | ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
| 5286 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5563 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5287 | echo $ac_n "(cached) $ac_c" 1>&6 | 5564 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5289,7 +5566,7 @@ else | |||
| 5289 | ac_save_LIBS="$LIBS" | 5566 | ac_save_LIBS="$LIBS" |
| 5290 | LIBS="-lungif -lX11 $LIBS" | 5567 | LIBS="-lungif -lX11 $LIBS" |
| 5291 | cat > conftest.$ac_ext <<EOF | 5568 | cat > conftest.$ac_ext <<EOF |
| 5292 | #line 5293 "configure" | 5569 | #line 5570 "configure" |
| 5293 | #include "confdefs.h" | 5570 | #include "confdefs.h" |
| 5294 | /* Override any gcc2 internal prototype to avoid an error. */ | 5571 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5295 | /* We use char because int might match the return type of a gcc2 | 5572 | /* We use char because int might match the return type of a gcc2 |
| @@ -5300,7 +5577,7 @@ int main() { | |||
| 5300 | DGifOpen() | 5577 | DGifOpen() |
| 5301 | ; return 0; } | 5578 | ; return 0; } |
| 5302 | EOF | 5579 | EOF |
| 5303 | if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5580 | if { (eval echo configure:5581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5304 | rm -rf conftest* | 5581 | rm -rf conftest* |
| 5305 | eval "ac_cv_lib_$ac_lib_var=yes" | 5582 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5306 | else | 5583 | else |
| @@ -5337,19 +5614,19 @@ fi | |||
| 5337 | 5614 | ||
| 5338 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 5615 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 5339 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 5616 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 5340 | echo "configure:5341: checking whether netdb declares h_errno" >&5 | 5617 | echo "configure:5618: checking whether netdb declares h_errno" >&5 |
| 5341 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 5618 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
| 5342 | echo $ac_n "(cached) $ac_c" 1>&6 | 5619 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5343 | else | 5620 | else |
| 5344 | cat > conftest.$ac_ext <<EOF | 5621 | cat > conftest.$ac_ext <<EOF |
| 5345 | #line 5346 "configure" | 5622 | #line 5623 "configure" |
| 5346 | #include "confdefs.h" | 5623 | #include "confdefs.h" |
| 5347 | #include <netdb.h> | 5624 | #include <netdb.h> |
| 5348 | int main() { | 5625 | int main() { |
| 5349 | return h_errno; | 5626 | return h_errno; |
| 5350 | ; return 0; } | 5627 | ; return 0; } |
| 5351 | EOF | 5628 | EOF |
| 5352 | if { (eval echo configure:5353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5629 | if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5353 | rm -rf conftest* | 5630 | rm -rf conftest* |
| 5354 | emacs_cv_netdb_declares_h_errno=yes | 5631 | emacs_cv_netdb_declares_h_errno=yes |
| 5355 | else | 5632 | else |
| @@ -5372,19 +5649,19 @@ fi | |||
| 5372 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 5649 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 5373 | # for constant arguments. Useless! | 5650 | # for constant arguments. Useless! |
| 5374 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 5651 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 5375 | echo "configure:5376: checking for working alloca.h" >&5 | 5652 | echo "configure:5653: checking for working alloca.h" >&5 |
| 5376 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 5653 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
| 5377 | echo $ac_n "(cached) $ac_c" 1>&6 | 5654 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5378 | else | 5655 | else |
| 5379 | cat > conftest.$ac_ext <<EOF | 5656 | cat > conftest.$ac_ext <<EOF |
| 5380 | #line 5381 "configure" | 5657 | #line 5658 "configure" |
| 5381 | #include "confdefs.h" | 5658 | #include "confdefs.h" |
| 5382 | #include <alloca.h> | 5659 | #include <alloca.h> |
| 5383 | int main() { | 5660 | int main() { |
| 5384 | char *p = alloca(2 * sizeof(int)); | 5661 | char *p = alloca(2 * sizeof(int)); |
| 5385 | ; return 0; } | 5662 | ; return 0; } |
| 5386 | EOF | 5663 | EOF |
| 5387 | if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5664 | if { (eval echo configure:5665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5388 | rm -rf conftest* | 5665 | rm -rf conftest* |
| 5389 | ac_cv_header_alloca_h=yes | 5666 | ac_cv_header_alloca_h=yes |
| 5390 | else | 5667 | else |
| @@ -5405,12 +5682,12 @@ EOF | |||
| 5405 | fi | 5682 | fi |
| 5406 | 5683 | ||
| 5407 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 5684 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 5408 | echo "configure:5409: checking for alloca" >&5 | 5685 | echo "configure:5686: checking for alloca" >&5 |
| 5409 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 5686 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
| 5410 | echo $ac_n "(cached) $ac_c" 1>&6 | 5687 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5411 | else | 5688 | else |
| 5412 | cat > conftest.$ac_ext <<EOF | 5689 | cat > conftest.$ac_ext <<EOF |
| 5413 | #line 5414 "configure" | 5690 | #line 5691 "configure" |
| 5414 | #include "confdefs.h" | 5691 | #include "confdefs.h" |
| 5415 | 5692 | ||
| 5416 | #ifdef __GNUC__ | 5693 | #ifdef __GNUC__ |
| @@ -5438,7 +5715,7 @@ int main() { | |||
| 5438 | char *p = (char *) alloca(1); | 5715 | char *p = (char *) alloca(1); |
| 5439 | ; return 0; } | 5716 | ; return 0; } |
| 5440 | EOF | 5717 | EOF |
| 5441 | if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5718 | if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5442 | rm -rf conftest* | 5719 | rm -rf conftest* |
| 5443 | ac_cv_func_alloca_works=yes | 5720 | ac_cv_func_alloca_works=yes |
| 5444 | else | 5721 | else |
| @@ -5470,12 +5747,12 @@ EOF | |||
| 5470 | 5747 | ||
| 5471 | 5748 | ||
| 5472 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5749 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 5473 | echo "configure:5474: checking whether alloca needs Cray hooks" >&5 | 5750 | echo "configure:5751: checking whether alloca needs Cray hooks" >&5 |
| 5474 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5751 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
| 5475 | echo $ac_n "(cached) $ac_c" 1>&6 | 5752 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5476 | else | 5753 | else |
| 5477 | cat > conftest.$ac_ext <<EOF | 5754 | cat > conftest.$ac_ext <<EOF |
| 5478 | #line 5479 "configure" | 5755 | #line 5756 "configure" |
| 5479 | #include "confdefs.h" | 5756 | #include "confdefs.h" |
| 5480 | #if defined(CRAY) && ! defined(CRAY2) | 5757 | #if defined(CRAY) && ! defined(CRAY2) |
| 5481 | webecray | 5758 | webecray |
| @@ -5500,12 +5777,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6 | |||
| 5500 | if test $ac_cv_os_cray = yes; then | 5777 | if test $ac_cv_os_cray = yes; then |
| 5501 | for ac_func in _getb67 GETB67 getb67; do | 5778 | for ac_func in _getb67 GETB67 getb67; do |
| 5502 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5779 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5503 | echo "configure:5504: checking for $ac_func" >&5 | 5780 | echo "configure:5781: checking for $ac_func" >&5 |
| 5504 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5781 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5505 | echo $ac_n "(cached) $ac_c" 1>&6 | 5782 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5506 | else | 5783 | else |
| 5507 | cat > conftest.$ac_ext <<EOF | 5784 | cat > conftest.$ac_ext <<EOF |
| 5508 | #line 5509 "configure" | 5785 | #line 5786 "configure" |
| 5509 | #include "confdefs.h" | 5786 | #include "confdefs.h" |
| 5510 | /* System header to define __stub macros and hopefully few prototypes, | 5787 | /* System header to define __stub macros and hopefully few prototypes, |
| 5511 | which can conflict with char $ac_func(); below. */ | 5788 | which can conflict with char $ac_func(); below. */ |
| @@ -5528,7 +5805,7 @@ $ac_func(); | |||
| 5528 | 5805 | ||
| 5529 | ; return 0; } | 5806 | ; return 0; } |
| 5530 | EOF | 5807 | EOF |
| 5531 | if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5808 | if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5532 | rm -rf conftest* | 5809 | rm -rf conftest* |
| 5533 | eval "ac_cv_func_$ac_func=yes" | 5810 | eval "ac_cv_func_$ac_func=yes" |
| 5534 | else | 5811 | else |
| @@ -5555,7 +5832,7 @@ done | |||
| 5555 | fi | 5832 | fi |
| 5556 | 5833 | ||
| 5557 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5834 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 5558 | echo "configure:5559: checking stack direction for C alloca" >&5 | 5835 | echo "configure:5836: checking stack direction for C alloca" >&5 |
| 5559 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5836 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
| 5560 | echo $ac_n "(cached) $ac_c" 1>&6 | 5837 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5561 | else | 5838 | else |
| @@ -5563,7 +5840,7 @@ else | |||
| 5563 | ac_cv_c_stack_direction=0 | 5840 | ac_cv_c_stack_direction=0 |
| 5564 | else | 5841 | else |
| 5565 | cat > conftest.$ac_ext <<EOF | 5842 | cat > conftest.$ac_ext <<EOF |
| 5566 | #line 5567 "configure" | 5843 | #line 5844 "configure" |
| 5567 | #include "confdefs.h" | 5844 | #include "confdefs.h" |
| 5568 | find_stack_direction () | 5845 | find_stack_direction () |
| 5569 | { | 5846 | { |
| @@ -5582,7 +5859,7 @@ main () | |||
| 5582 | exit (find_stack_direction() < 0); | 5859 | exit (find_stack_direction() < 0); |
| 5583 | } | 5860 | } |
| 5584 | EOF | 5861 | EOF |
| 5585 | if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5862 | if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 5586 | then | 5863 | then |
| 5587 | ac_cv_c_stack_direction=1 | 5864 | ac_cv_c_stack_direction=1 |
| 5588 | else | 5865 | else |
| @@ -5607,7 +5884,7 @@ fi | |||
| 5607 | # fmod, logb, and frexp are found in -lm on most systems. | 5884 | # fmod, logb, and frexp are found in -lm on most systems. |
| 5608 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5885 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 5609 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5886 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 5610 | echo "configure:5611: checking for sqrt in -lm" >&5 | 5887 | echo "configure:5888: checking for sqrt in -lm" >&5 |
| 5611 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5888 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 5612 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5889 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5613 | echo $ac_n "(cached) $ac_c" 1>&6 | 5890 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5615,7 +5892,7 @@ else | |||
| 5615 | ac_save_LIBS="$LIBS" | 5892 | ac_save_LIBS="$LIBS" |
| 5616 | LIBS="-lm $LIBS" | 5893 | LIBS="-lm $LIBS" |
| 5617 | cat > conftest.$ac_ext <<EOF | 5894 | cat > conftest.$ac_ext <<EOF |
| 5618 | #line 5619 "configure" | 5895 | #line 5896 "configure" |
| 5619 | #include "confdefs.h" | 5896 | #include "confdefs.h" |
| 5620 | /* Override any gcc2 internal prototype to avoid an error. */ | 5897 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5621 | /* We use char because int might match the return type of a gcc2 | 5898 | /* We use char because int might match the return type of a gcc2 |
| @@ -5626,7 +5903,7 @@ int main() { | |||
| 5626 | sqrt() | 5903 | sqrt() |
| 5627 | ; return 0; } | 5904 | ; return 0; } |
| 5628 | EOF | 5905 | EOF |
| 5629 | if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5906 | if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5630 | rm -rf conftest* | 5907 | rm -rf conftest* |
| 5631 | eval "ac_cv_lib_$ac_lib_var=yes" | 5908 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5632 | else | 5909 | else |
| @@ -5656,7 +5933,7 @@ fi | |||
| 5656 | 5933 | ||
| 5657 | # Check for mail-locking functions in a "mail" library | 5934 | # Check for mail-locking functions in a "mail" library |
| 5658 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5935 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
| 5659 | echo "configure:5660: checking for maillock in -lmail" >&5 | 5936 | echo "configure:5937: checking for maillock in -lmail" >&5 |
| 5660 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5937 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
| 5661 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5938 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5662 | echo $ac_n "(cached) $ac_c" 1>&6 | 5939 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5664,7 +5941,7 @@ else | |||
| 5664 | ac_save_LIBS="$LIBS" | 5941 | ac_save_LIBS="$LIBS" |
| 5665 | LIBS="-lmail $LIBS" | 5942 | LIBS="-lmail $LIBS" |
| 5666 | cat > conftest.$ac_ext <<EOF | 5943 | cat > conftest.$ac_ext <<EOF |
| 5667 | #line 5668 "configure" | 5944 | #line 5945 "configure" |
| 5668 | #include "confdefs.h" | 5945 | #include "confdefs.h" |
| 5669 | /* Override any gcc2 internal prototype to avoid an error. */ | 5946 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5670 | /* We use char because int might match the return type of a gcc2 | 5947 | /* We use char because int might match the return type of a gcc2 |
| @@ -5675,7 +5952,7 @@ int main() { | |||
| 5675 | maillock() | 5952 | maillock() |
| 5676 | ; return 0; } | 5953 | ; return 0; } |
| 5677 | EOF | 5954 | EOF |
| 5678 | if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5955 | if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5679 | rm -rf conftest* | 5956 | rm -rf conftest* |
| 5680 | eval "ac_cv_lib_$ac_lib_var=yes" | 5957 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5681 | else | 5958 | else |
| @@ -5703,7 +5980,7 @@ else | |||
| 5703 | fi | 5980 | fi |
| 5704 | 5981 | ||
| 5705 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5982 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
| 5706 | echo "configure:5707: checking for maillock in -llockfile" >&5 | 5983 | echo "configure:5984: checking for maillock in -llockfile" >&5 |
| 5707 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5984 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
| 5708 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5985 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5709 | echo $ac_n "(cached) $ac_c" 1>&6 | 5986 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5711,7 +5988,7 @@ else | |||
| 5711 | ac_save_LIBS="$LIBS" | 5988 | ac_save_LIBS="$LIBS" |
| 5712 | LIBS="-llockfile $LIBS" | 5989 | LIBS="-llockfile $LIBS" |
| 5713 | cat > conftest.$ac_ext <<EOF | 5990 | cat > conftest.$ac_ext <<EOF |
| 5714 | #line 5715 "configure" | 5991 | #line 5992 "configure" |
| 5715 | #include "confdefs.h" | 5992 | #include "confdefs.h" |
| 5716 | /* Override any gcc2 internal prototype to avoid an error. */ | 5993 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5717 | /* We use char because int might match the return type of a gcc2 | 5994 | /* We use char because int might match the return type of a gcc2 |
| @@ -5722,7 +5999,7 @@ int main() { | |||
| 5722 | maillock() | 5999 | maillock() |
| 5723 | ; return 0; } | 6000 | ; return 0; } |
| 5724 | EOF | 6001 | EOF |
| 5725 | if { (eval echo configure:5726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6002 | if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5726 | rm -rf conftest* | 6003 | rm -rf conftest* |
| 5727 | eval "ac_cv_lib_$ac_lib_var=yes" | 6004 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5728 | else | 6005 | else |
| @@ -5756,7 +6033,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then | |||
| 5756 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 6033 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 5757 | set dummy liblockfile.so; ac_word=$2 | 6034 | set dummy liblockfile.so; ac_word=$2 |
| 5758 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 6035 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 5759 | echo "configure:5760: checking for $ac_word" >&5 | 6036 | echo "configure:6037: checking for $ac_word" >&5 |
| 5760 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 6037 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
| 5761 | echo $ac_n "(cached) $ac_c" 1>&6 | 6038 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5762 | else | 6039 | else |
| @@ -5797,12 +6074,12 @@ fi | |||
| 5797 | for ac_func in touchlock | 6074 | for ac_func in touchlock |
| 5798 | do | 6075 | do |
| 5799 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6076 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5800 | echo "configure:5801: checking for $ac_func" >&5 | 6077 | echo "configure:6078: checking for $ac_func" >&5 |
| 5801 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6078 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5802 | echo $ac_n "(cached) $ac_c" 1>&6 | 6079 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5803 | else | 6080 | else |
| 5804 | cat > conftest.$ac_ext <<EOF | 6081 | cat > conftest.$ac_ext <<EOF |
| 5805 | #line 5806 "configure" | 6082 | #line 6083 "configure" |
| 5806 | #include "confdefs.h" | 6083 | #include "confdefs.h" |
| 5807 | /* System header to define __stub macros and hopefully few prototypes, | 6084 | /* System header to define __stub macros and hopefully few prototypes, |
| 5808 | which can conflict with char $ac_func(); below. */ | 6085 | which can conflict with char $ac_func(); below. */ |
| @@ -5825,7 +6102,7 @@ $ac_func(); | |||
| 5825 | 6102 | ||
| 5826 | ; return 0; } | 6103 | ; return 0; } |
| 5827 | EOF | 6104 | EOF |
| 5828 | if { (eval echo configure:5829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6105 | if { (eval echo configure:6106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5829 | rm -rf conftest* | 6106 | rm -rf conftest* |
| 5830 | eval "ac_cv_func_$ac_func=yes" | 6107 | eval "ac_cv_func_$ac_func=yes" |
| 5831 | else | 6108 | else |
| @@ -5853,17 +6130,17 @@ for ac_hdr in maillock.h | |||
| 5853 | do | 6130 | do |
| 5854 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6131 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5855 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6132 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5856 | echo "configure:5857: checking for $ac_hdr" >&5 | 6133 | echo "configure:6134: checking for $ac_hdr" >&5 |
| 5857 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6134 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5858 | echo $ac_n "(cached) $ac_c" 1>&6 | 6135 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5859 | else | 6136 | else |
| 5860 | cat > conftest.$ac_ext <<EOF | 6137 | cat > conftest.$ac_ext <<EOF |
| 5861 | #line 5862 "configure" | 6138 | #line 6139 "configure" |
| 5862 | #include "confdefs.h" | 6139 | #include "confdefs.h" |
| 5863 | #include <$ac_hdr> | 6140 | #include <$ac_hdr> |
| 5864 | EOF | 6141 | EOF |
| 5865 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6142 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5866 | { (eval echo configure:5867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6143 | { (eval echo configure:6144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5867 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6144 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5868 | if test -z "$ac_err"; then | 6145 | if test -z "$ac_err"; then |
| 5869 | rm -rf conftest* | 6146 | rm -rf conftest* |
| @@ -5898,12 +6175,12 @@ utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | |||
| 5898 | __fpending mblen mbrlen strsignal setitimer ualarm index rindex | 6175 | __fpending mblen mbrlen strsignal setitimer ualarm index rindex |
| 5899 | do | 6176 | do |
| 5900 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6177 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5901 | echo "configure:5902: checking for $ac_func" >&5 | 6178 | echo "configure:6179: checking for $ac_func" >&5 |
| 5902 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6179 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5903 | echo $ac_n "(cached) $ac_c" 1>&6 | 6180 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5904 | else | 6181 | else |
| 5905 | cat > conftest.$ac_ext <<EOF | 6182 | cat > conftest.$ac_ext <<EOF |
| 5906 | #line 5907 "configure" | 6183 | #line 6184 "configure" |
| 5907 | #include "confdefs.h" | 6184 | #include "confdefs.h" |
| 5908 | /* System header to define __stub macros and hopefully few prototypes, | 6185 | /* System header to define __stub macros and hopefully few prototypes, |
| 5909 | which can conflict with char $ac_func(); below. */ | 6186 | which can conflict with char $ac_func(); below. */ |
| @@ -5926,7 +6203,7 @@ $ac_func(); | |||
| 5926 | 6203 | ||
| 5927 | ; return 0; } | 6204 | ; return 0; } |
| 5928 | EOF | 6205 | EOF |
| 5929 | if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6206 | if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5930 | rm -rf conftest* | 6207 | rm -rf conftest* |
| 5931 | eval "ac_cv_func_$ac_func=yes" | 6208 | eval "ac_cv_func_$ac_func=yes" |
| 5932 | else | 6209 | else |
| @@ -5955,17 +6232,17 @@ for ac_hdr in sys/time.h unistd.h | |||
| 5955 | do | 6232 | do |
| 5956 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6233 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5957 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6234 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5958 | echo "configure:5959: checking for $ac_hdr" >&5 | 6235 | echo "configure:6236: checking for $ac_hdr" >&5 |
| 5959 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6236 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5960 | echo $ac_n "(cached) $ac_c" 1>&6 | 6237 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5961 | else | 6238 | else |
| 5962 | cat > conftest.$ac_ext <<EOF | 6239 | cat > conftest.$ac_ext <<EOF |
| 5963 | #line 5964 "configure" | 6240 | #line 6241 "configure" |
| 5964 | #include "confdefs.h" | 6241 | #include "confdefs.h" |
| 5965 | #include <$ac_hdr> | 6242 | #include <$ac_hdr> |
| 5966 | EOF | 6243 | EOF |
| 5967 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6244 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5968 | { (eval echo configure:5969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6245 | { (eval echo configure:6246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5969 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6246 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5970 | if test -z "$ac_err"; then | 6247 | if test -z "$ac_err"; then |
| 5971 | rm -rf conftest* | 6248 | rm -rf conftest* |
| @@ -5994,12 +6271,12 @@ done | |||
| 5994 | for ac_func in alarm | 6271 | for ac_func in alarm |
| 5995 | do | 6272 | do |
| 5996 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6273 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5997 | echo "configure:5998: checking for $ac_func" >&5 | 6274 | echo "configure:6275: checking for $ac_func" >&5 |
| 5998 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6275 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5999 | echo $ac_n "(cached) $ac_c" 1>&6 | 6276 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6000 | else | 6277 | else |
| 6001 | cat > conftest.$ac_ext <<EOF | 6278 | cat > conftest.$ac_ext <<EOF |
| 6002 | #line 6003 "configure" | 6279 | #line 6280 "configure" |
| 6003 | #include "confdefs.h" | 6280 | #include "confdefs.h" |
| 6004 | /* System header to define __stub macros and hopefully few prototypes, | 6281 | /* System header to define __stub macros and hopefully few prototypes, |
| 6005 | which can conflict with char $ac_func(); below. */ | 6282 | which can conflict with char $ac_func(); below. */ |
| @@ -6022,7 +6299,7 @@ $ac_func(); | |||
| 6022 | 6299 | ||
| 6023 | ; return 0; } | 6300 | ; return 0; } |
| 6024 | EOF | 6301 | EOF |
| 6025 | if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6302 | if { (eval echo configure:6303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6026 | rm -rf conftest* | 6303 | rm -rf conftest* |
| 6027 | eval "ac_cv_func_$ac_func=yes" | 6304 | eval "ac_cv_func_$ac_func=yes" |
| 6028 | else | 6305 | else |
| @@ -6047,7 +6324,7 @@ fi | |||
| 6047 | done | 6324 | done |
| 6048 | 6325 | ||
| 6049 | echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 6326 | echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
| 6050 | echo "configure:6051: checking for working mktime" >&5 | 6327 | echo "configure:6328: checking for working mktime" >&5 |
| 6051 | if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 6328 | if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
| 6052 | echo $ac_n "(cached) $ac_c" 1>&6 | 6329 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6053 | else | 6330 | else |
| @@ -6055,7 +6332,7 @@ else | |||
| 6055 | ac_cv_func_working_mktime=no | 6332 | ac_cv_func_working_mktime=no |
| 6056 | else | 6333 | else |
| 6057 | cat > conftest.$ac_ext <<EOF | 6334 | cat > conftest.$ac_ext <<EOF |
| 6058 | #line 6059 "configure" | 6335 | #line 6336 "configure" |
| 6059 | #include "confdefs.h" | 6336 | #include "confdefs.h" |
| 6060 | /* Test program from Paul Eggert (eggert@twinsun.com) | 6337 | /* Test program from Paul Eggert (eggert@twinsun.com) |
| 6061 | and Tony Leneis (tony@plaza.ds.adp.com). */ | 6338 | and Tony Leneis (tony@plaza.ds.adp.com). */ |
| @@ -6204,7 +6481,7 @@ main () | |||
| 6204 | exit (0); | 6481 | exit (0); |
| 6205 | } | 6482 | } |
| 6206 | EOF | 6483 | EOF |
| 6207 | if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6484 | if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 6208 | then | 6485 | then |
| 6209 | ac_cv_func_working_mktime=yes | 6486 | ac_cv_func_working_mktime=yes |
| 6210 | else | 6487 | else |
| @@ -6236,7 +6513,7 @@ ac_have_func=no # yes means we've found a way to get the load average. | |||
| 6236 | # On Solaris, -lkvm requires nlist from -lelf, so check that first | 6513 | # On Solaris, -lkvm requires nlist from -lelf, so check that first |
| 6237 | # to get the right answer into the cache. | 6514 | # to get the right answer into the cache. |
| 6238 | echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 | 6515 | echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 |
| 6239 | echo "configure:6240: checking for elf_begin in -lelf" >&5 | 6516 | echo "configure:6517: checking for elf_begin in -lelf" >&5 |
| 6240 | ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` | 6517 | ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` |
| 6241 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6518 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6242 | echo $ac_n "(cached) $ac_c" 1>&6 | 6519 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6244,7 +6521,7 @@ else | |||
| 6244 | ac_save_LIBS="$LIBS" | 6521 | ac_save_LIBS="$LIBS" |
| 6245 | LIBS="-lelf $LIBS" | 6522 | LIBS="-lelf $LIBS" |
| 6246 | cat > conftest.$ac_ext <<EOF | 6523 | cat > conftest.$ac_ext <<EOF |
| 6247 | #line 6248 "configure" | 6524 | #line 6525 "configure" |
| 6248 | #include "confdefs.h" | 6525 | #include "confdefs.h" |
| 6249 | /* Override any gcc2 internal prototype to avoid an error. */ | 6526 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6250 | /* We use char because int might match the return type of a gcc2 | 6527 | /* We use char because int might match the return type of a gcc2 |
| @@ -6255,7 +6532,7 @@ int main() { | |||
| 6255 | elf_begin() | 6532 | elf_begin() |
| 6256 | ; return 0; } | 6533 | ; return 0; } |
| 6257 | EOF | 6534 | EOF |
| 6258 | if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6535 | if { (eval echo configure:6536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6259 | rm -rf conftest* | 6536 | rm -rf conftest* |
| 6260 | eval "ac_cv_lib_$ac_lib_var=yes" | 6537 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6261 | else | 6538 | else |
| @@ -6276,7 +6553,7 @@ else | |||
| 6276 | fi | 6553 | fi |
| 6277 | 6554 | ||
| 6278 | echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 | 6555 | echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 |
| 6279 | echo "configure:6280: checking for kvm_open in -lkvm" >&5 | 6556 | echo "configure:6557: checking for kvm_open in -lkvm" >&5 |
| 6280 | ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` | 6557 | ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` |
| 6281 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6558 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6282 | echo $ac_n "(cached) $ac_c" 1>&6 | 6559 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6284,7 +6561,7 @@ else | |||
| 6284 | ac_save_LIBS="$LIBS" | 6561 | ac_save_LIBS="$LIBS" |
| 6285 | LIBS="-lkvm $LIBS" | 6562 | LIBS="-lkvm $LIBS" |
| 6286 | cat > conftest.$ac_ext <<EOF | 6563 | cat > conftest.$ac_ext <<EOF |
| 6287 | #line 6288 "configure" | 6564 | #line 6565 "configure" |
| 6288 | #include "confdefs.h" | 6565 | #include "confdefs.h" |
| 6289 | /* Override any gcc2 internal prototype to avoid an error. */ | 6566 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6290 | /* We use char because int might match the return type of a gcc2 | 6567 | /* We use char because int might match the return type of a gcc2 |
| @@ -6295,7 +6572,7 @@ int main() { | |||
| 6295 | kvm_open() | 6572 | kvm_open() |
| 6296 | ; return 0; } | 6573 | ; return 0; } |
| 6297 | EOF | 6574 | EOF |
| 6298 | if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6575 | if { (eval echo configure:6576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6299 | rm -rf conftest* | 6576 | rm -rf conftest* |
| 6300 | eval "ac_cv_lib_$ac_lib_var=yes" | 6577 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6301 | else | 6578 | else |
| @@ -6317,7 +6594,7 @@ fi | |||
| 6317 | 6594 | ||
| 6318 | # Check for the 4.4BSD definition of getloadavg. | 6595 | # Check for the 4.4BSD definition of getloadavg. |
| 6319 | echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 | 6596 | echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 |
| 6320 | echo "configure:6321: checking for getloadavg in -lutil" >&5 | 6597 | echo "configure:6598: checking for getloadavg in -lutil" >&5 |
| 6321 | ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` | 6598 | ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` |
| 6322 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6599 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6323 | echo $ac_n "(cached) $ac_c" 1>&6 | 6600 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6325,7 +6602,7 @@ else | |||
| 6325 | ac_save_LIBS="$LIBS" | 6602 | ac_save_LIBS="$LIBS" |
| 6326 | LIBS="-lutil $LIBS" | 6603 | LIBS="-lutil $LIBS" |
| 6327 | cat > conftest.$ac_ext <<EOF | 6604 | cat > conftest.$ac_ext <<EOF |
| 6328 | #line 6329 "configure" | 6605 | #line 6606 "configure" |
| 6329 | #include "confdefs.h" | 6606 | #include "confdefs.h" |
| 6330 | /* Override any gcc2 internal prototype to avoid an error. */ | 6607 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6331 | /* We use char because int might match the return type of a gcc2 | 6608 | /* We use char because int might match the return type of a gcc2 |
| @@ -6336,7 +6613,7 @@ int main() { | |||
| 6336 | getloadavg() | 6613 | getloadavg() |
| 6337 | ; return 0; } | 6614 | ; return 0; } |
| 6338 | EOF | 6615 | EOF |
| 6339 | if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6616 | if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6340 | rm -rf conftest* | 6617 | rm -rf conftest* |
| 6341 | eval "ac_cv_lib_$ac_lib_var=yes" | 6618 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6342 | else | 6619 | else |
| @@ -6362,7 +6639,7 @@ if test $ac_have_func = no; then | |||
| 6362 | # Since it is not a standard part of AIX, it might be installed locally. | 6639 | # Since it is not a standard part of AIX, it might be installed locally. |
| 6363 | ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" | 6640 | ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" |
| 6364 | echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 | 6641 | echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 |
| 6365 | echo "configure:6366: checking for getloadavg in -lgetloadavg" >&5 | 6642 | echo "configure:6643: checking for getloadavg in -lgetloadavg" >&5 |
| 6366 | ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` | 6643 | ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` |
| 6367 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6644 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6368 | echo $ac_n "(cached) $ac_c" 1>&6 | 6645 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6370,7 +6647,7 @@ else | |||
| 6370 | ac_save_LIBS="$LIBS" | 6647 | ac_save_LIBS="$LIBS" |
| 6371 | LIBS="-lgetloadavg $LIBS" | 6648 | LIBS="-lgetloadavg $LIBS" |
| 6372 | cat > conftest.$ac_ext <<EOF | 6649 | cat > conftest.$ac_ext <<EOF |
| 6373 | #line 6374 "configure" | 6650 | #line 6651 "configure" |
| 6374 | #include "confdefs.h" | 6651 | #include "confdefs.h" |
| 6375 | /* Override any gcc2 internal prototype to avoid an error. */ | 6652 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6376 | /* We use char because int might match the return type of a gcc2 | 6653 | /* We use char because int might match the return type of a gcc2 |
| @@ -6381,7 +6658,7 @@ int main() { | |||
| 6381 | getloadavg() | 6658 | getloadavg() |
| 6382 | ; return 0; } | 6659 | ; return 0; } |
| 6383 | EOF | 6660 | EOF |
| 6384 | if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6661 | if { (eval echo configure:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6385 | rm -rf conftest* | 6662 | rm -rf conftest* |
| 6386 | eval "ac_cv_lib_$ac_lib_var=yes" | 6663 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6387 | else | 6664 | else |
| @@ -6408,12 +6685,12 @@ fi | |||
| 6408 | for ac_func in getloadavg | 6685 | for ac_func in getloadavg |
| 6409 | do | 6686 | do |
| 6410 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6687 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6411 | echo "configure:6412: checking for $ac_func" >&5 | 6688 | echo "configure:6689: checking for $ac_func" >&5 |
| 6412 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6689 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6413 | echo $ac_n "(cached) $ac_c" 1>&6 | 6690 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6414 | else | 6691 | else |
| 6415 | cat > conftest.$ac_ext <<EOF | 6692 | cat > conftest.$ac_ext <<EOF |
| 6416 | #line 6417 "configure" | 6693 | #line 6694 "configure" |
| 6417 | #include "confdefs.h" | 6694 | #include "confdefs.h" |
| 6418 | /* System header to define __stub macros and hopefully few prototypes, | 6695 | /* System header to define __stub macros and hopefully few prototypes, |
| 6419 | which can conflict with char $ac_func(); below. */ | 6696 | which can conflict with char $ac_func(); below. */ |
| @@ -6436,7 +6713,7 @@ $ac_func(); | |||
| 6436 | 6713 | ||
| 6437 | ; return 0; } | 6714 | ; return 0; } |
| 6438 | EOF | 6715 | EOF |
| 6439 | if { (eval echo configure:6440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6716 | if { (eval echo configure:6717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6440 | rm -rf conftest* | 6717 | rm -rf conftest* |
| 6441 | eval "ac_cv_func_$ac_func=yes" | 6718 | eval "ac_cv_func_$ac_func=yes" |
| 6442 | else | 6719 | else |
| @@ -6474,17 +6751,17 @@ else | |||
| 6474 | ac_have_func=no | 6751 | ac_have_func=no |
| 6475 | ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` | 6752 | ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` |
| 6476 | echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 | 6753 | echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 |
| 6477 | echo "configure:6478: checking for sys/dg_sys_info.h" >&5 | 6754 | echo "configure:6755: checking for sys/dg_sys_info.h" >&5 |
| 6478 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6755 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6479 | echo $ac_n "(cached) $ac_c" 1>&6 | 6756 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6480 | else | 6757 | else |
| 6481 | cat > conftest.$ac_ext <<EOF | 6758 | cat > conftest.$ac_ext <<EOF |
| 6482 | #line 6483 "configure" | 6759 | #line 6760 "configure" |
| 6483 | #include "confdefs.h" | 6760 | #include "confdefs.h" |
| 6484 | #include <sys/dg_sys_info.h> | 6761 | #include <sys/dg_sys_info.h> |
| 6485 | EOF | 6762 | EOF |
| 6486 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6763 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6487 | { (eval echo configure:6488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6764 | { (eval echo configure:6765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6488 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6765 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6489 | if test -z "$ac_err"; then | 6766 | if test -z "$ac_err"; then |
| 6490 | rm -rf conftest* | 6767 | rm -rf conftest* |
| @@ -6505,7 +6782,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |||
| 6505 | EOF | 6782 | EOF |
| 6506 | 6783 | ||
| 6507 | echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 | 6784 | echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 |
| 6508 | echo "configure:6509: checking for dg_sys_info in -ldgc" >&5 | 6785 | echo "configure:6786: checking for dg_sys_info in -ldgc" >&5 |
| 6509 | ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` | 6786 | ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` |
| 6510 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6787 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6511 | echo $ac_n "(cached) $ac_c" 1>&6 | 6788 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6513,7 +6790,7 @@ else | |||
| 6513 | ac_save_LIBS="$LIBS" | 6790 | ac_save_LIBS="$LIBS" |
| 6514 | LIBS="-ldgc $LIBS" | 6791 | LIBS="-ldgc $LIBS" |
| 6515 | cat > conftest.$ac_ext <<EOF | 6792 | cat > conftest.$ac_ext <<EOF |
| 6516 | #line 6517 "configure" | 6793 | #line 6794 "configure" |
| 6517 | #include "confdefs.h" | 6794 | #include "confdefs.h" |
| 6518 | /* Override any gcc2 internal prototype to avoid an error. */ | 6795 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6519 | /* We use char because int might match the return type of a gcc2 | 6796 | /* We use char because int might match the return type of a gcc2 |
| @@ -6524,7 +6801,7 @@ int main() { | |||
| 6524 | dg_sys_info() | 6801 | dg_sys_info() |
| 6525 | ; return 0; } | 6802 | ; return 0; } |
| 6526 | EOF | 6803 | EOF |
| 6527 | if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6804 | if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6528 | rm -rf conftest* | 6805 | rm -rf conftest* |
| 6529 | eval "ac_cv_lib_$ac_lib_var=yes" | 6806 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6530 | else | 6807 | else |
| @@ -6569,17 +6846,17 @@ EOF | |||
| 6569 | if test $ac_have_func = no; then | 6846 | if test $ac_have_func = no; then |
| 6570 | ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` | 6847 | ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` |
| 6571 | echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 | 6848 | echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 |
| 6572 | echo "configure:6573: checking for inq_stats/cpustats.h" >&5 | 6849 | echo "configure:6850: checking for inq_stats/cpustats.h" >&5 |
| 6573 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6850 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6574 | echo $ac_n "(cached) $ac_c" 1>&6 | 6851 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6575 | else | 6852 | else |
| 6576 | cat > conftest.$ac_ext <<EOF | 6853 | cat > conftest.$ac_ext <<EOF |
| 6577 | #line 6578 "configure" | 6854 | #line 6855 "configure" |
| 6578 | #include "confdefs.h" | 6855 | #include "confdefs.h" |
| 6579 | #include <inq_stats/cpustats.h> | 6856 | #include <inq_stats/cpustats.h> |
| 6580 | EOF | 6857 | EOF |
| 6581 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6858 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6582 | { (eval echo configure:6583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6859 | { (eval echo configure:6860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6583 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6860 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6584 | if test -z "$ac_err"; then | 6861 | if test -z "$ac_err"; then |
| 6585 | rm -rf conftest* | 6862 | rm -rf conftest* |
| @@ -6612,17 +6889,17 @@ fi | |||
| 6612 | if test $ac_have_func = no; then | 6889 | if test $ac_have_func = no; then |
| 6613 | ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` | 6890 | ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` |
| 6614 | echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 | 6891 | echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 |
| 6615 | echo "configure:6616: checking for sys/cpustats.h" >&5 | 6892 | echo "configure:6893: checking for sys/cpustats.h" >&5 |
| 6616 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6893 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6617 | echo $ac_n "(cached) $ac_c" 1>&6 | 6894 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6618 | else | 6895 | else |
| 6619 | cat > conftest.$ac_ext <<EOF | 6896 | cat > conftest.$ac_ext <<EOF |
| 6620 | #line 6621 "configure" | 6897 | #line 6898 "configure" |
| 6621 | #include "confdefs.h" | 6898 | #include "confdefs.h" |
| 6622 | #include <sys/cpustats.h> | 6899 | #include <sys/cpustats.h> |
| 6623 | EOF | 6900 | EOF |
| 6624 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6901 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6625 | { (eval echo configure:6626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6902 | { (eval echo configure:6903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6626 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6903 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6627 | if test -z "$ac_err"; then | 6904 | if test -z "$ac_err"; then |
| 6628 | rm -rf conftest* | 6905 | rm -rf conftest* |
| @@ -6653,17 +6930,17 @@ fi | |||
| 6653 | do | 6930 | do |
| 6654 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6931 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6655 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6932 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6656 | echo "configure:6657: checking for $ac_hdr" >&5 | 6933 | echo "configure:6934: checking for $ac_hdr" >&5 |
| 6657 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6934 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6658 | echo $ac_n "(cached) $ac_c" 1>&6 | 6935 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6659 | else | 6936 | else |
| 6660 | cat > conftest.$ac_ext <<EOF | 6937 | cat > conftest.$ac_ext <<EOF |
| 6661 | #line 6662 "configure" | 6938 | #line 6939 "configure" |
| 6662 | #include "confdefs.h" | 6939 | #include "confdefs.h" |
| 6663 | #include <$ac_hdr> | 6940 | #include <$ac_hdr> |
| 6664 | EOF | 6941 | EOF |
| 6665 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6942 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6666 | { (eval echo configure:6667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6943 | { (eval echo configure:6944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6667 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6944 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6668 | if test -z "$ac_err"; then | 6945 | if test -z "$ac_err"; then |
| 6669 | rm -rf conftest* | 6946 | rm -rf conftest* |
| @@ -6693,17 +6970,17 @@ done | |||
| 6693 | 6970 | ||
| 6694 | ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 6971 | ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 6695 | echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 6972 | echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 6696 | echo "configure:6697: checking for nlist.h" >&5 | 6973 | echo "configure:6974: checking for nlist.h" >&5 |
| 6697 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6974 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6698 | echo $ac_n "(cached) $ac_c" 1>&6 | 6975 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6699 | else | 6976 | else |
| 6700 | cat > conftest.$ac_ext <<EOF | 6977 | cat > conftest.$ac_ext <<EOF |
| 6701 | #line 6702 "configure" | 6978 | #line 6979 "configure" |
| 6702 | #include "confdefs.h" | 6979 | #include "confdefs.h" |
| 6703 | #include <nlist.h> | 6980 | #include <nlist.h> |
| 6704 | EOF | 6981 | EOF |
| 6705 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6982 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6706 | { (eval echo configure:6707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6983 | { (eval echo configure:6984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6707 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6984 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6708 | if test -z "$ac_err"; then | 6985 | if test -z "$ac_err"; then |
| 6709 | rm -rf conftest* | 6986 | rm -rf conftest* |
| @@ -6724,19 +7001,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |||
| 6724 | EOF | 7001 | EOF |
| 6725 | 7002 | ||
| 6726 | echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 | 7003 | echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 |
| 6727 | echo "configure:6728: checking for n_un in struct nlist" >&5 | 7004 | echo "configure:7005: checking for n_un in struct nlist" >&5 |
| 6728 | if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then | 7005 | if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then |
| 6729 | echo $ac_n "(cached) $ac_c" 1>&6 | 7006 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6730 | else | 7007 | else |
| 6731 | cat > conftest.$ac_ext <<EOF | 7008 | cat > conftest.$ac_ext <<EOF |
| 6732 | #line 6733 "configure" | 7009 | #line 7010 "configure" |
| 6733 | #include "confdefs.h" | 7010 | #include "confdefs.h" |
| 6734 | #include <nlist.h> | 7011 | #include <nlist.h> |
| 6735 | int main() { | 7012 | int main() { |
| 6736 | struct nlist n; n.n_un.n_name = 0; | 7013 | struct nlist n; n.n_un.n_name = 0; |
| 6737 | ; return 0; } | 7014 | ; return 0; } |
| 6738 | EOF | 7015 | EOF |
| 6739 | if { (eval echo configure:6740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7016 | if { (eval echo configure:7017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 6740 | rm -rf conftest* | 7017 | rm -rf conftest* |
| 6741 | ac_cv_struct_nlist_n_un=yes | 7018 | ac_cv_struct_nlist_n_un=yes |
| 6742 | else | 7019 | else |
| @@ -6763,12 +7040,12 @@ fi # Do not have getloadavg in system libraries. | |||
| 6763 | 7040 | ||
| 6764 | # Some definitions of getloadavg require that the program be installed setgid. | 7041 | # Some definitions of getloadavg require that the program be installed setgid. |
| 6765 | echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 | 7042 | echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 |
| 6766 | echo "configure:6767: checking whether getloadavg requires setgid" >&5 | 7043 | echo "configure:7044: checking whether getloadavg requires setgid" >&5 |
| 6767 | if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then | 7044 | if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then |
| 6768 | echo $ac_n "(cached) $ac_c" 1>&6 | 7045 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6769 | else | 7046 | else |
| 6770 | cat > conftest.$ac_ext <<EOF | 7047 | cat > conftest.$ac_ext <<EOF |
| 6771 | #line 6772 "configure" | 7048 | #line 7049 "configure" |
| 6772 | #include "confdefs.h" | 7049 | #include "confdefs.h" |
| 6773 | #include "$srcdir/getloadavg.c" | 7050 | #include "$srcdir/getloadavg.c" |
| 6774 | #ifdef LDAV_PRIVILEGED | 7051 | #ifdef LDAV_PRIVILEGED |
| @@ -6799,7 +7076,7 @@ fi | |||
| 6799 | 7076 | ||
| 6800 | if test $ac_cv_func_getloadavg_setgid = yes; then | 7077 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 6801 | echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 | 7078 | echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 |
| 6802 | echo "configure:6803: checking group of /dev/kmem" >&5 | 7079 | echo "configure:7080: checking group of /dev/kmem" >&5 |
| 6803 | if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then | 7080 | if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then |
| 6804 | echo $ac_n "(cached) $ac_c" 1>&6 | 7081 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6805 | else | 7082 | else |
| @@ -6822,12 +7099,12 @@ fi | |||
| 6822 | for ac_func in ftello | 7099 | for ac_func in ftello |
| 6823 | do | 7100 | do |
| 6824 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7101 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6825 | echo "configure:6826: checking for $ac_func" >&5 | 7102 | echo "configure:7103: checking for $ac_func" >&5 |
| 6826 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7103 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6827 | echo $ac_n "(cached) $ac_c" 1>&6 | 7104 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6828 | else | 7105 | else |
| 6829 | cat > conftest.$ac_ext <<EOF | 7106 | cat > conftest.$ac_ext <<EOF |
| 6830 | #line 6831 "configure" | 7107 | #line 7108 "configure" |
| 6831 | #include "confdefs.h" | 7108 | #include "confdefs.h" |
| 6832 | /* System header to define __stub macros and hopefully few prototypes, | 7109 | /* System header to define __stub macros and hopefully few prototypes, |
| 6833 | which can conflict with char $ac_func(); below. */ | 7110 | which can conflict with char $ac_func(); below. */ |
| @@ -6850,7 +7127,7 @@ $ac_func(); | |||
| 6850 | 7127 | ||
| 6851 | ; return 0; } | 7128 | ; return 0; } |
| 6852 | EOF | 7129 | EOF |
| 6853 | if { (eval echo configure:6854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7130 | if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6854 | rm -rf conftest* | 7131 | rm -rf conftest* |
| 6855 | eval "ac_cv_func_$ac_func=yes" | 7132 | eval "ac_cv_func_$ac_func=yes" |
| 6856 | else | 7133 | else |
| @@ -6880,12 +7157,12 @@ done | |||
| 6880 | for ac_func in grantpt | 7157 | for ac_func in grantpt |
| 6881 | do | 7158 | do |
| 6882 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7159 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6883 | echo "configure:6884: checking for $ac_func" >&5 | 7160 | echo "configure:7161: checking for $ac_func" >&5 |
| 6884 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7161 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6885 | echo $ac_n "(cached) $ac_c" 1>&6 | 7162 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6886 | else | 7163 | else |
| 6887 | cat > conftest.$ac_ext <<EOF | 7164 | cat > conftest.$ac_ext <<EOF |
| 6888 | #line 6889 "configure" | 7165 | #line 7166 "configure" |
| 6889 | #include "confdefs.h" | 7166 | #include "confdefs.h" |
| 6890 | /* System header to define __stub macros and hopefully few prototypes, | 7167 | /* System header to define __stub macros and hopefully few prototypes, |
| 6891 | which can conflict with char $ac_func(); below. */ | 7168 | which can conflict with char $ac_func(); below. */ |
| @@ -6908,7 +7185,7 @@ $ac_func(); | |||
| 6908 | 7185 | ||
| 6909 | ; return 0; } | 7186 | ; return 0; } |
| 6910 | EOF | 7187 | EOF |
| 6911 | if { (eval echo configure:6912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7188 | if { (eval echo configure:7189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6912 | rm -rf conftest* | 7189 | rm -rf conftest* |
| 6913 | eval "ac_cv_func_$ac_func=yes" | 7190 | eval "ac_cv_func_$ac_func=yes" |
| 6914 | else | 7191 | else |
| @@ -6937,12 +7214,12 @@ done | |||
| 6937 | for ac_func in getpt | 7214 | for ac_func in getpt |
| 6938 | do | 7215 | do |
| 6939 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7216 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6940 | echo "configure:6941: checking for $ac_func" >&5 | 7217 | echo "configure:7218: checking for $ac_func" >&5 |
| 6941 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7218 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6942 | echo $ac_n "(cached) $ac_c" 1>&6 | 7219 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6943 | else | 7220 | else |
| 6944 | cat > conftest.$ac_ext <<EOF | 7221 | cat > conftest.$ac_ext <<EOF |
| 6945 | #line 6946 "configure" | 7222 | #line 7223 "configure" |
| 6946 | #include "confdefs.h" | 7223 | #include "confdefs.h" |
| 6947 | /* System header to define __stub macros and hopefully few prototypes, | 7224 | /* System header to define __stub macros and hopefully few prototypes, |
| 6948 | which can conflict with char $ac_func(); below. */ | 7225 | which can conflict with char $ac_func(); below. */ |
| @@ -6965,7 +7242,7 @@ $ac_func(); | |||
| 6965 | 7242 | ||
| 6966 | ; return 0; } | 7243 | ; return 0; } |
| 6967 | EOF | 7244 | EOF |
| 6968 | if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7245 | if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6969 | rm -rf conftest* | 7246 | rm -rf conftest* |
| 6970 | eval "ac_cv_func_$ac_func=yes" | 7247 | eval "ac_cv_func_$ac_func=yes" |
| 6971 | else | 7248 | else |
| @@ -6995,7 +7272,7 @@ done | |||
| 6995 | # It's better to believe a function is not available | 7272 | # It's better to believe a function is not available |
| 6996 | # than to expect to find it in ncurses. | 7273 | # than to expect to find it in ncurses. |
| 6997 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 7274 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
| 6998 | echo "configure:6999: checking for tparm in -lncurses" >&5 | 7275 | echo "configure:7276: checking for tparm in -lncurses" >&5 |
| 6999 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 7276 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
| 7000 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7277 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7001 | echo $ac_n "(cached) $ac_c" 1>&6 | 7278 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7003,7 +7280,7 @@ else | |||
| 7003 | ac_save_LIBS="$LIBS" | 7280 | ac_save_LIBS="$LIBS" |
| 7004 | LIBS="-lncurses $LIBS" | 7281 | LIBS="-lncurses $LIBS" |
| 7005 | cat > conftest.$ac_ext <<EOF | 7282 | cat > conftest.$ac_ext <<EOF |
| 7006 | #line 7007 "configure" | 7283 | #line 7284 "configure" |
| 7007 | #include "confdefs.h" | 7284 | #include "confdefs.h" |
| 7008 | /* Override any gcc2 internal prototype to avoid an error. */ | 7285 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7009 | /* We use char because int might match the return type of a gcc2 | 7286 | /* We use char because int might match the return type of a gcc2 |
| @@ -7014,7 +7291,7 @@ int main() { | |||
| 7014 | tparm() | 7291 | tparm() |
| 7015 | ; return 0; } | 7292 | ; return 0; } |
| 7016 | EOF | 7293 | EOF |
| 7017 | if { (eval echo configure:7018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7294 | if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7018 | rm -rf conftest* | 7295 | rm -rf conftest* |
| 7019 | eval "ac_cv_lib_$ac_lib_var=yes" | 7296 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7020 | else | 7297 | else |
| @@ -7045,7 +7322,7 @@ fi | |||
| 7045 | # These tell us which Kerberos-related libraries to use. | 7322 | # These tell us which Kerberos-related libraries to use. |
| 7046 | if test "${with_kerberos+set}" = set; then | 7323 | if test "${with_kerberos+set}" = set; then |
| 7047 | echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 7324 | echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
| 7048 | echo "configure:7049: checking for com_err in -lcom_err" >&5 | 7325 | echo "configure:7326: checking for com_err in -lcom_err" >&5 |
| 7049 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 7326 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
| 7050 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7327 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7051 | echo $ac_n "(cached) $ac_c" 1>&6 | 7328 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7053,7 +7330,7 @@ else | |||
| 7053 | ac_save_LIBS="$LIBS" | 7330 | ac_save_LIBS="$LIBS" |
| 7054 | LIBS="-lcom_err $LIBS" | 7331 | LIBS="-lcom_err $LIBS" |
| 7055 | cat > conftest.$ac_ext <<EOF | 7332 | cat > conftest.$ac_ext <<EOF |
| 7056 | #line 7057 "configure" | 7333 | #line 7334 "configure" |
| 7057 | #include "confdefs.h" | 7334 | #include "confdefs.h" |
| 7058 | /* Override any gcc2 internal prototype to avoid an error. */ | 7335 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7059 | /* We use char because int might match the return type of a gcc2 | 7336 | /* We use char because int might match the return type of a gcc2 |
| @@ -7064,7 +7341,7 @@ int main() { | |||
| 7064 | com_err() | 7341 | com_err() |
| 7065 | ; return 0; } | 7342 | ; return 0; } |
| 7066 | EOF | 7343 | EOF |
| 7067 | if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7344 | if { (eval echo configure:7345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7068 | rm -rf conftest* | 7345 | rm -rf conftest* |
| 7069 | eval "ac_cv_lib_$ac_lib_var=yes" | 7346 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7070 | else | 7347 | else |
| @@ -7092,7 +7369,7 @@ else | |||
| 7092 | fi | 7369 | fi |
| 7093 | 7370 | ||
| 7094 | echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 7371 | echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
| 7095 | echo "configure:7096: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 7372 | echo "configure:7373: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
| 7096 | ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7373 | ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7097 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7374 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7098 | echo $ac_n "(cached) $ac_c" 1>&6 | 7375 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7100,7 +7377,7 @@ else | |||
| 7100 | ac_save_LIBS="$LIBS" | 7377 | ac_save_LIBS="$LIBS" |
| 7101 | LIBS="-lk5crypto $LIBS" | 7378 | LIBS="-lk5crypto $LIBS" |
| 7102 | cat > conftest.$ac_ext <<EOF | 7379 | cat > conftest.$ac_ext <<EOF |
| 7103 | #line 7104 "configure" | 7380 | #line 7381 "configure" |
| 7104 | #include "confdefs.h" | 7381 | #include "confdefs.h" |
| 7105 | /* Override any gcc2 internal prototype to avoid an error. */ | 7382 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7106 | /* We use char because int might match the return type of a gcc2 | 7383 | /* We use char because int might match the return type of a gcc2 |
| @@ -7111,7 +7388,7 @@ int main() { | |||
| 7111 | mit_des_cbc_encrypt() | 7388 | mit_des_cbc_encrypt() |
| 7112 | ; return 0; } | 7389 | ; return 0; } |
| 7113 | EOF | 7390 | EOF |
| 7114 | if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7391 | if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7115 | rm -rf conftest* | 7392 | rm -rf conftest* |
| 7116 | eval "ac_cv_lib_$ac_lib_var=yes" | 7393 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7117 | else | 7394 | else |
| @@ -7139,7 +7416,7 @@ else | |||
| 7139 | fi | 7416 | fi |
| 7140 | 7417 | ||
| 7141 | echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 7418 | echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
| 7142 | echo "configure:7143: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 7419 | echo "configure:7420: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
| 7143 | ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7420 | ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7144 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7421 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7145 | echo $ac_n "(cached) $ac_c" 1>&6 | 7422 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7147,7 +7424,7 @@ else | |||
| 7147 | ac_save_LIBS="$LIBS" | 7424 | ac_save_LIBS="$LIBS" |
| 7148 | LIBS="-lcrypto $LIBS" | 7425 | LIBS="-lcrypto $LIBS" |
| 7149 | cat > conftest.$ac_ext <<EOF | 7426 | cat > conftest.$ac_ext <<EOF |
| 7150 | #line 7151 "configure" | 7427 | #line 7428 "configure" |
| 7151 | #include "confdefs.h" | 7428 | #include "confdefs.h" |
| 7152 | /* Override any gcc2 internal prototype to avoid an error. */ | 7429 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7153 | /* We use char because int might match the return type of a gcc2 | 7430 | /* We use char because int might match the return type of a gcc2 |
| @@ -7158,7 +7435,7 @@ int main() { | |||
| 7158 | mit_des_cbc_encrypt() | 7435 | mit_des_cbc_encrypt() |
| 7159 | ; return 0; } | 7436 | ; return 0; } |
| 7160 | EOF | 7437 | EOF |
| 7161 | if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7438 | if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7162 | rm -rf conftest* | 7439 | rm -rf conftest* |
| 7163 | eval "ac_cv_lib_$ac_lib_var=yes" | 7440 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7164 | else | 7441 | else |
| @@ -7186,7 +7463,7 @@ else | |||
| 7186 | fi | 7463 | fi |
| 7187 | 7464 | ||
| 7188 | echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 7465 | echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
| 7189 | echo "configure:7190: checking for krb5_init_context in -lkrb5" >&5 | 7466 | echo "configure:7467: checking for krb5_init_context in -lkrb5" >&5 |
| 7190 | ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 7467 | ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
| 7191 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7468 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7192 | echo $ac_n "(cached) $ac_c" 1>&6 | 7469 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7194,7 +7471,7 @@ else | |||
| 7194 | ac_save_LIBS="$LIBS" | 7471 | ac_save_LIBS="$LIBS" |
| 7195 | LIBS="-lkrb5 $LIBS" | 7472 | LIBS="-lkrb5 $LIBS" |
| 7196 | cat > conftest.$ac_ext <<EOF | 7473 | cat > conftest.$ac_ext <<EOF |
| 7197 | #line 7198 "configure" | 7474 | #line 7475 "configure" |
| 7198 | #include "confdefs.h" | 7475 | #include "confdefs.h" |
| 7199 | /* Override any gcc2 internal prototype to avoid an error. */ | 7476 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7200 | /* We use char because int might match the return type of a gcc2 | 7477 | /* We use char because int might match the return type of a gcc2 |
| @@ -7205,7 +7482,7 @@ int main() { | |||
| 7205 | krb5_init_context() | 7482 | krb5_init_context() |
| 7206 | ; return 0; } | 7483 | ; return 0; } |
| 7207 | EOF | 7484 | EOF |
| 7208 | if { (eval echo configure:7209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7485 | if { (eval echo configure:7486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7209 | rm -rf conftest* | 7486 | rm -rf conftest* |
| 7210 | eval "ac_cv_lib_$ac_lib_var=yes" | 7487 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7211 | else | 7488 | else |
| @@ -7234,7 +7511,7 @@ fi | |||
| 7234 | 7511 | ||
| 7235 | if test "${with_kerberos5+set}" != set; then | 7512 | if test "${with_kerberos5+set}" != set; then |
| 7236 | echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 7513 | echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
| 7237 | echo "configure:7238: checking for des_cbc_encrypt in -ldes425" >&5 | 7514 | echo "configure:7515: checking for des_cbc_encrypt in -ldes425" >&5 |
| 7238 | ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7515 | ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7239 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7516 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7240 | echo $ac_n "(cached) $ac_c" 1>&6 | 7517 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7242,7 +7519,7 @@ else | |||
| 7242 | ac_save_LIBS="$LIBS" | 7519 | ac_save_LIBS="$LIBS" |
| 7243 | LIBS="-ldes425 $LIBS" | 7520 | LIBS="-ldes425 $LIBS" |
| 7244 | cat > conftest.$ac_ext <<EOF | 7521 | cat > conftest.$ac_ext <<EOF |
| 7245 | #line 7246 "configure" | 7522 | #line 7523 "configure" |
| 7246 | #include "confdefs.h" | 7523 | #include "confdefs.h" |
| 7247 | /* Override any gcc2 internal prototype to avoid an error. */ | 7524 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7248 | /* We use char because int might match the return type of a gcc2 | 7525 | /* We use char because int might match the return type of a gcc2 |
| @@ -7253,7 +7530,7 @@ int main() { | |||
| 7253 | des_cbc_encrypt() | 7530 | des_cbc_encrypt() |
| 7254 | ; return 0; } | 7531 | ; return 0; } |
| 7255 | EOF | 7532 | EOF |
| 7256 | if { (eval echo configure:7257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7533 | if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7257 | rm -rf conftest* | 7534 | rm -rf conftest* |
| 7258 | eval "ac_cv_lib_$ac_lib_var=yes" | 7535 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7259 | else | 7536 | else |
| @@ -7279,7 +7556,7 @@ EOF | |||
| 7279 | else | 7556 | else |
| 7280 | echo "$ac_t""no" 1>&6 | 7557 | echo "$ac_t""no" 1>&6 |
| 7281 | echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 7558 | echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
| 7282 | echo "configure:7283: checking for des_cbc_encrypt in -ldes" >&5 | 7559 | echo "configure:7560: checking for des_cbc_encrypt in -ldes" >&5 |
| 7283 | ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7560 | ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7284 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7561 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7285 | echo $ac_n "(cached) $ac_c" 1>&6 | 7562 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7287,7 +7564,7 @@ else | |||
| 7287 | ac_save_LIBS="$LIBS" | 7564 | ac_save_LIBS="$LIBS" |
| 7288 | LIBS="-ldes $LIBS" | 7565 | LIBS="-ldes $LIBS" |
| 7289 | cat > conftest.$ac_ext <<EOF | 7566 | cat > conftest.$ac_ext <<EOF |
| 7290 | #line 7291 "configure" | 7567 | #line 7568 "configure" |
| 7291 | #include "confdefs.h" | 7568 | #include "confdefs.h" |
| 7292 | /* Override any gcc2 internal prototype to avoid an error. */ | 7569 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7293 | /* We use char because int might match the return type of a gcc2 | 7570 | /* We use char because int might match the return type of a gcc2 |
| @@ -7298,7 +7575,7 @@ int main() { | |||
| 7298 | des_cbc_encrypt() | 7575 | des_cbc_encrypt() |
| 7299 | ; return 0; } | 7576 | ; return 0; } |
| 7300 | EOF | 7577 | EOF |
| 7301 | if { (eval echo configure:7302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7578 | if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7302 | rm -rf conftest* | 7579 | rm -rf conftest* |
| 7303 | eval "ac_cv_lib_$ac_lib_var=yes" | 7580 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7304 | else | 7581 | else |
| @@ -7328,7 +7605,7 @@ fi | |||
| 7328 | fi | 7605 | fi |
| 7329 | 7606 | ||
| 7330 | echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 7607 | echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
| 7331 | echo "configure:7332: checking for krb_get_cred in -lkrb4" >&5 | 7608 | echo "configure:7609: checking for krb_get_cred in -lkrb4" >&5 |
| 7332 | ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7609 | ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
| 7333 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7610 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7334 | echo $ac_n "(cached) $ac_c" 1>&6 | 7611 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7336,7 +7613,7 @@ else | |||
| 7336 | ac_save_LIBS="$LIBS" | 7613 | ac_save_LIBS="$LIBS" |
| 7337 | LIBS="-lkrb4 $LIBS" | 7614 | LIBS="-lkrb4 $LIBS" |
| 7338 | cat > conftest.$ac_ext <<EOF | 7615 | cat > conftest.$ac_ext <<EOF |
| 7339 | #line 7340 "configure" | 7616 | #line 7617 "configure" |
| 7340 | #include "confdefs.h" | 7617 | #include "confdefs.h" |
| 7341 | /* Override any gcc2 internal prototype to avoid an error. */ | 7618 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7342 | /* We use char because int might match the return type of a gcc2 | 7619 | /* We use char because int might match the return type of a gcc2 |
| @@ -7347,7 +7624,7 @@ int main() { | |||
| 7347 | krb_get_cred() | 7624 | krb_get_cred() |
| 7348 | ; return 0; } | 7625 | ; return 0; } |
| 7349 | EOF | 7626 | EOF |
| 7350 | if { (eval echo configure:7351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7627 | if { (eval echo configure:7628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7351 | rm -rf conftest* | 7628 | rm -rf conftest* |
| 7352 | eval "ac_cv_lib_$ac_lib_var=yes" | 7629 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7353 | else | 7630 | else |
| @@ -7373,7 +7650,7 @@ EOF | |||
| 7373 | else | 7650 | else |
| 7374 | echo "$ac_t""no" 1>&6 | 7651 | echo "$ac_t""no" 1>&6 |
| 7375 | echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 7652 | echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
| 7376 | echo "configure:7377: checking for krb_get_cred in -lkrb" >&5 | 7653 | echo "configure:7654: checking for krb_get_cred in -lkrb" >&5 |
| 7377 | ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7654 | ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
| 7378 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7655 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7379 | echo $ac_n "(cached) $ac_c" 1>&6 | 7656 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7381,7 +7658,7 @@ else | |||
| 7381 | ac_save_LIBS="$LIBS" | 7658 | ac_save_LIBS="$LIBS" |
| 7382 | LIBS="-lkrb $LIBS" | 7659 | LIBS="-lkrb $LIBS" |
| 7383 | cat > conftest.$ac_ext <<EOF | 7660 | cat > conftest.$ac_ext <<EOF |
| 7384 | #line 7385 "configure" | 7661 | #line 7662 "configure" |
| 7385 | #include "confdefs.h" | 7662 | #include "confdefs.h" |
| 7386 | /* Override any gcc2 internal prototype to avoid an error. */ | 7663 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7387 | /* We use char because int might match the return type of a gcc2 | 7664 | /* We use char because int might match the return type of a gcc2 |
| @@ -7392,7 +7669,7 @@ int main() { | |||
| 7392 | krb_get_cred() | 7669 | krb_get_cred() |
| 7393 | ; return 0; } | 7670 | ; return 0; } |
| 7394 | EOF | 7671 | EOF |
| 7395 | if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7672 | if { (eval echo configure:7673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7396 | rm -rf conftest* | 7673 | rm -rf conftest* |
| 7397 | eval "ac_cv_lib_$ac_lib_var=yes" | 7674 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7398 | else | 7675 | else |
| @@ -7428,17 +7705,17 @@ fi | |||
| 7428 | do | 7705 | do |
| 7429 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7706 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7430 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7707 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7431 | echo "configure:7432: checking for $ac_hdr" >&5 | 7708 | echo "configure:7709: checking for $ac_hdr" >&5 |
| 7432 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7709 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7433 | echo $ac_n "(cached) $ac_c" 1>&6 | 7710 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7434 | else | 7711 | else |
| 7435 | cat > conftest.$ac_ext <<EOF | 7712 | cat > conftest.$ac_ext <<EOF |
| 7436 | #line 7437 "configure" | 7713 | #line 7714 "configure" |
| 7437 | #include "confdefs.h" | 7714 | #include "confdefs.h" |
| 7438 | #include <$ac_hdr> | 7715 | #include <$ac_hdr> |
| 7439 | EOF | 7716 | EOF |
| 7440 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7717 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7441 | { (eval echo configure:7442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7718 | { (eval echo configure:7719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7442 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7719 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7443 | if test -z "$ac_err"; then | 7720 | if test -z "$ac_err"; then |
| 7444 | rm -rf conftest* | 7721 | rm -rf conftest* |
| @@ -7469,17 +7746,17 @@ done | |||
| 7469 | do | 7746 | do |
| 7470 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7747 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7471 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7748 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7472 | echo "configure:7473: checking for $ac_hdr" >&5 | 7749 | echo "configure:7750: checking for $ac_hdr" >&5 |
| 7473 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7750 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7474 | echo $ac_n "(cached) $ac_c" 1>&6 | 7751 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7475 | else | 7752 | else |
| 7476 | cat > conftest.$ac_ext <<EOF | 7753 | cat > conftest.$ac_ext <<EOF |
| 7477 | #line 7478 "configure" | 7754 | #line 7755 "configure" |
| 7478 | #include "confdefs.h" | 7755 | #include "confdefs.h" |
| 7479 | #include <$ac_hdr> | 7756 | #include <$ac_hdr> |
| 7480 | EOF | 7757 | EOF |
| 7481 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7758 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7482 | { (eval echo configure:7483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7759 | { (eval echo configure:7760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7483 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7760 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7484 | if test -z "$ac_err"; then | 7761 | if test -z "$ac_err"; then |
| 7485 | rm -rf conftest* | 7762 | rm -rf conftest* |
| @@ -7506,17 +7783,17 @@ for ac_hdr in kerberosIV/des.h | |||
| 7506 | do | 7783 | do |
| 7507 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7784 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7508 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7785 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7509 | echo "configure:7510: checking for $ac_hdr" >&5 | 7786 | echo "configure:7787: checking for $ac_hdr" >&5 |
| 7510 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7787 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7511 | echo $ac_n "(cached) $ac_c" 1>&6 | 7788 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7512 | else | 7789 | else |
| 7513 | cat > conftest.$ac_ext <<EOF | 7790 | cat > conftest.$ac_ext <<EOF |
| 7514 | #line 7515 "configure" | 7791 | #line 7792 "configure" |
| 7515 | #include "confdefs.h" | 7792 | #include "confdefs.h" |
| 7516 | #include <$ac_hdr> | 7793 | #include <$ac_hdr> |
| 7517 | EOF | 7794 | EOF |
| 7518 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7795 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7519 | { (eval echo configure:7520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7796 | { (eval echo configure:7797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7520 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7797 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7521 | if test -z "$ac_err"; then | 7798 | if test -z "$ac_err"; then |
| 7522 | rm -rf conftest* | 7799 | rm -rf conftest* |
| @@ -7543,17 +7820,17 @@ for ac_hdr in kerberos/des.h | |||
| 7543 | do | 7820 | do |
| 7544 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7821 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7545 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7822 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7546 | echo "configure:7547: checking for $ac_hdr" >&5 | 7823 | echo "configure:7824: checking for $ac_hdr" >&5 |
| 7547 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7824 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7548 | echo $ac_n "(cached) $ac_c" 1>&6 | 7825 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7549 | else | 7826 | else |
| 7550 | cat > conftest.$ac_ext <<EOF | 7827 | cat > conftest.$ac_ext <<EOF |
| 7551 | #line 7552 "configure" | 7828 | #line 7829 "configure" |
| 7552 | #include "confdefs.h" | 7829 | #include "confdefs.h" |
| 7553 | #include <$ac_hdr> | 7830 | #include <$ac_hdr> |
| 7554 | EOF | 7831 | EOF |
| 7555 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7832 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7556 | { (eval echo configure:7557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7833 | { (eval echo configure:7834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7557 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7834 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7558 | if test -z "$ac_err"; then | 7835 | if test -z "$ac_err"; then |
| 7559 | rm -rf conftest* | 7836 | rm -rf conftest* |
| @@ -7589,17 +7866,17 @@ done | |||
| 7589 | do | 7866 | do |
| 7590 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7867 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7591 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7868 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7592 | echo "configure:7593: checking for $ac_hdr" >&5 | 7869 | echo "configure:7870: checking for $ac_hdr" >&5 |
| 7593 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7870 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7594 | echo $ac_n "(cached) $ac_c" 1>&6 | 7871 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7595 | else | 7872 | else |
| 7596 | cat > conftest.$ac_ext <<EOF | 7873 | cat > conftest.$ac_ext <<EOF |
| 7597 | #line 7598 "configure" | 7874 | #line 7875 "configure" |
| 7598 | #include "confdefs.h" | 7875 | #include "confdefs.h" |
| 7599 | #include <$ac_hdr> | 7876 | #include <$ac_hdr> |
| 7600 | EOF | 7877 | EOF |
| 7601 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7878 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7602 | { (eval echo configure:7603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7879 | { (eval echo configure:7880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7603 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7880 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7604 | if test -z "$ac_err"; then | 7881 | if test -z "$ac_err"; then |
| 7605 | rm -rf conftest* | 7882 | rm -rf conftest* |
| @@ -7626,17 +7903,17 @@ for ac_hdr in kerberosIV/krb.h | |||
| 7626 | do | 7903 | do |
| 7627 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7904 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7628 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7905 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7629 | echo "configure:7630: checking for $ac_hdr" >&5 | 7906 | echo "configure:7907: checking for $ac_hdr" >&5 |
| 7630 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7907 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7631 | echo $ac_n "(cached) $ac_c" 1>&6 | 7908 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7632 | else | 7909 | else |
| 7633 | cat > conftest.$ac_ext <<EOF | 7910 | cat > conftest.$ac_ext <<EOF |
| 7634 | #line 7635 "configure" | 7911 | #line 7912 "configure" |
| 7635 | #include "confdefs.h" | 7912 | #include "confdefs.h" |
| 7636 | #include <$ac_hdr> | 7913 | #include <$ac_hdr> |
| 7637 | EOF | 7914 | EOF |
| 7638 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7915 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7639 | { (eval echo configure:7640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7916 | { (eval echo configure:7917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7640 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7917 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7641 | if test -z "$ac_err"; then | 7918 | if test -z "$ac_err"; then |
| 7642 | rm -rf conftest* | 7919 | rm -rf conftest* |
| @@ -7663,17 +7940,17 @@ for ac_hdr in kerberos/krb.h | |||
| 7663 | do | 7940 | do |
| 7664 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7941 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7665 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7942 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7666 | echo "configure:7667: checking for $ac_hdr" >&5 | 7943 | echo "configure:7944: checking for $ac_hdr" >&5 |
| 7667 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7944 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7668 | echo $ac_n "(cached) $ac_c" 1>&6 | 7945 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7669 | else | 7946 | else |
| 7670 | cat > conftest.$ac_ext <<EOF | 7947 | cat > conftest.$ac_ext <<EOF |
| 7671 | #line 7672 "configure" | 7948 | #line 7949 "configure" |
| 7672 | #include "confdefs.h" | 7949 | #include "confdefs.h" |
| 7673 | #include <$ac_hdr> | 7950 | #include <$ac_hdr> |
| 7674 | EOF | 7951 | EOF |
| 7675 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7952 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7676 | { (eval echo configure:7677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7953 | { (eval echo configure:7954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7677 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7954 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7678 | if test -z "$ac_err"; then | 7955 | if test -z "$ac_err"; then |
| 7679 | rm -rf conftest* | 7956 | rm -rf conftest* |
| @@ -7710,17 +7987,17 @@ done | |||
| 7710 | do | 7987 | do |
| 7711 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7988 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7712 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7989 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7713 | echo "configure:7714: checking for $ac_hdr" >&5 | 7990 | echo "configure:7991: checking for $ac_hdr" >&5 |
| 7714 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7991 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7715 | echo $ac_n "(cached) $ac_c" 1>&6 | 7992 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7716 | else | 7993 | else |
| 7717 | cat > conftest.$ac_ext <<EOF | 7994 | cat > conftest.$ac_ext <<EOF |
| 7718 | #line 7719 "configure" | 7995 | #line 7996 "configure" |
| 7719 | #include "confdefs.h" | 7996 | #include "confdefs.h" |
| 7720 | #include <$ac_hdr> | 7997 | #include <$ac_hdr> |
| 7721 | EOF | 7998 | EOF |
| 7722 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7999 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7723 | { (eval echo configure:7724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8000 | { (eval echo configure:8001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7724 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8001 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7725 | if test -z "$ac_err"; then | 8002 | if test -z "$ac_err"; then |
| 7726 | rm -rf conftest* | 8003 | rm -rf conftest* |
| @@ -7751,7 +8028,7 @@ fi | |||
| 7751 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 8028 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 7752 | # to return localized messages. | 8029 | # to return localized messages. |
| 7753 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 8030 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
| 7754 | echo "configure:7755: checking for dgettext in -lintl" >&5 | 8031 | echo "configure:8032: checking for dgettext in -lintl" >&5 |
| 7755 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 8032 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
| 7756 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 8033 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7757 | echo $ac_n "(cached) $ac_c" 1>&6 | 8034 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7759,7 +8036,7 @@ else | |||
| 7759 | ac_save_LIBS="$LIBS" | 8036 | ac_save_LIBS="$LIBS" |
| 7760 | LIBS="-lintl $LIBS" | 8037 | LIBS="-lintl $LIBS" |
| 7761 | cat > conftest.$ac_ext <<EOF | 8038 | cat > conftest.$ac_ext <<EOF |
| 7762 | #line 7763 "configure" | 8039 | #line 8040 "configure" |
| 7763 | #include "confdefs.h" | 8040 | #include "confdefs.h" |
| 7764 | /* Override any gcc2 internal prototype to avoid an error. */ | 8041 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7765 | /* We use char because int might match the return type of a gcc2 | 8042 | /* We use char because int might match the return type of a gcc2 |
| @@ -7770,7 +8047,7 @@ int main() { | |||
| 7770 | dgettext() | 8047 | dgettext() |
| 7771 | ; return 0; } | 8048 | ; return 0; } |
| 7772 | EOF | 8049 | EOF |
| 7773 | if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8050 | if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7774 | rm -rf conftest* | 8051 | rm -rf conftest* |
| 7775 | eval "ac_cv_lib_$ac_lib_var=yes" | 8052 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7776 | else | 8053 | else |
| @@ -7799,7 +8076,7 @@ fi | |||
| 7799 | 8076 | ||
| 7800 | 8077 | ||
| 7801 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8078 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7802 | echo "configure:7803: checking whether localtime caches TZ" >&5 | 8079 | echo "configure:8080: checking whether localtime caches TZ" >&5 |
| 7803 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 8080 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
| 7804 | echo $ac_n "(cached) $ac_c" 1>&6 | 8081 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7805 | else | 8082 | else |
| @@ -7809,7 +8086,7 @@ if test "$cross_compiling" = yes; then | |||
| 7809 | emacs_cv_localtime_cache=yes | 8086 | emacs_cv_localtime_cache=yes |
| 7810 | else | 8087 | else |
| 7811 | cat > conftest.$ac_ext <<EOF | 8088 | cat > conftest.$ac_ext <<EOF |
| 7812 | #line 7813 "configure" | 8089 | #line 8090 "configure" |
| 7813 | #include "confdefs.h" | 8090 | #include "confdefs.h" |
| 7814 | #include <time.h> | 8091 | #include <time.h> |
| 7815 | extern char **environ; | 8092 | extern char **environ; |
| @@ -7841,7 +8118,7 @@ main() | |||
| 7841 | exit (0); | 8118 | exit (0); |
| 7842 | } | 8119 | } |
| 7843 | EOF | 8120 | EOF |
| 7844 | if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8121 | if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 7845 | then | 8122 | then |
| 7846 | emacs_cv_localtime_cache=no | 8123 | emacs_cv_localtime_cache=no |
| 7847 | else | 8124 | else |
| @@ -7871,12 +8148,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then | |||
| 7871 | for ac_func in gettimeofday | 8148 | for ac_func in gettimeofday |
| 7872 | do | 8149 | do |
| 7873 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8150 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7874 | echo "configure:7875: checking for $ac_func" >&5 | 8151 | echo "configure:8152: checking for $ac_func" >&5 |
| 7875 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 8152 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 7876 | echo $ac_n "(cached) $ac_c" 1>&6 | 8153 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7877 | else | 8154 | else |
| 7878 | cat > conftest.$ac_ext <<EOF | 8155 | cat > conftest.$ac_ext <<EOF |
| 7879 | #line 7880 "configure" | 8156 | #line 8157 "configure" |
| 7880 | #include "confdefs.h" | 8157 | #include "confdefs.h" |
| 7881 | /* System header to define __stub macros and hopefully few prototypes, | 8158 | /* System header to define __stub macros and hopefully few prototypes, |
| 7882 | which can conflict with char $ac_func(); below. */ | 8159 | which can conflict with char $ac_func(); below. */ |
| @@ -7899,7 +8176,7 @@ $ac_func(); | |||
| 7899 | 8176 | ||
| 7900 | ; return 0; } | 8177 | ; return 0; } |
| 7901 | EOF | 8178 | EOF |
| 7902 | if { (eval echo configure:7903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8179 | if { (eval echo configure:8180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7903 | rm -rf conftest* | 8180 | rm -rf conftest* |
| 7904 | eval "ac_cv_func_$ac_func=yes" | 8181 | eval "ac_cv_func_$ac_func=yes" |
| 7905 | else | 8182 | else |
| @@ -7924,12 +8201,12 @@ fi | |||
| 7924 | done | 8201 | done |
| 7925 | 8202 | ||
| 7926 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 8203 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
| 7927 | echo "configure:7928: checking whether gettimeofday can accept two arguments" >&5 | 8204 | echo "configure:8205: checking whether gettimeofday can accept two arguments" >&5 |
| 7928 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 8205 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
| 7929 | echo $ac_n "(cached) $ac_c" 1>&6 | 8206 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7930 | else | 8207 | else |
| 7931 | cat > conftest.$ac_ext <<EOF | 8208 | cat > conftest.$ac_ext <<EOF |
| 7932 | #line 7933 "configure" | 8209 | #line 8210 "configure" |
| 7933 | #include "confdefs.h" | 8210 | #include "confdefs.h" |
| 7934 | 8211 | ||
| 7935 | #ifdef TIME_WITH_SYS_TIME | 8212 | #ifdef TIME_WITH_SYS_TIME |
| @@ -7947,7 +8224,7 @@ struct timeval time; | |||
| 7947 | gettimeofday (&time, 0); | 8224 | gettimeofday (&time, 0); |
| 7948 | ; return 0; } | 8225 | ; return 0; } |
| 7949 | EOF | 8226 | EOF |
| 7950 | if { (eval echo configure:7951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8227 | if { (eval echo configure:8228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7951 | rm -rf conftest* | 8228 | rm -rf conftest* |
| 7952 | emacs_cv_gettimeofday_two_arguments=yes | 8229 | emacs_cv_gettimeofday_two_arguments=yes |
| 7953 | else | 8230 | else |
| @@ -7970,25 +8247,25 @@ fi | |||
| 7970 | 8247 | ||
| 7971 | if test "$ac_cv_func_gettimeofday" = yes; then | 8248 | if test "$ac_cv_func_gettimeofday" = yes; then |
| 7972 | echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 | 8249 | echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 |
| 7973 | echo "configure:7974: checking for struct timezone" >&5 | 8250 | echo "configure:8251: checking for struct timezone" >&5 |
| 7974 | if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then | 8251 | if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then |
| 7975 | echo $ac_n "(cached) $ac_c" 1>&6 | 8252 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7976 | else | 8253 | else |
| 7977 | cat > conftest.$ac_ext <<EOF | 8254 | cat > conftest.$ac_ext <<EOF |
| 7978 | #line 7979 "configure" | 8255 | #line 8256 "configure" |
| 7979 | #include "confdefs.h" | 8256 | #include "confdefs.h" |
| 7980 | #include <sys/time.h> | 8257 | #include <sys/time.h> |
| 7981 | int main() { | 8258 | int main() { |
| 7982 | struct timezone tz; | 8259 | struct timezone tz; |
| 7983 | ; return 0; } | 8260 | ; return 0; } |
| 7984 | EOF | 8261 | EOF |
| 7985 | if { (eval echo configure:7986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8262 | if { (eval echo configure:8263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7986 | rm -rf conftest* | 8263 | rm -rf conftest* |
| 7987 | if test "$cross_compiling" = yes; then | 8264 | if test "$cross_compiling" = yes; then |
| 7988 | emacs_cv_struct_timezone=yes | 8265 | emacs_cv_struct_timezone=yes |
| 7989 | else | 8266 | else |
| 7990 | cat > conftest.$ac_ext <<EOF | 8267 | cat > conftest.$ac_ext <<EOF |
| 7991 | #line 7992 "configure" | 8268 | #line 8269 "configure" |
| 7992 | #include "confdefs.h" | 8269 | #include "confdefs.h" |
| 7993 | 8270 | ||
| 7994 | #ifdef TIME_WITH_SYS_TIME | 8271 | #ifdef TIME_WITH_SYS_TIME |
| @@ -8007,7 +8284,7 @@ main () { | |||
| 8007 | exit (gettimeofday (&time, &dummy)); | 8284 | exit (gettimeofday (&time, &dummy)); |
| 8008 | } | 8285 | } |
| 8009 | EOF | 8286 | EOF |
| 8010 | if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8287 | if { (eval echo configure:8288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 8011 | then | 8288 | then |
| 8012 | emacs_cv_struct_timezone=yes | 8289 | emacs_cv_struct_timezone=yes |
| 8013 | else | 8290 | else |
| @@ -8033,12 +8310,12 @@ fi | |||
| 8033 | 8310 | ||
| 8034 | ok_so_far=yes | 8311 | ok_so_far=yes |
| 8035 | echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8312 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8036 | echo "configure:8037: checking for socket" >&5 | 8313 | echo "configure:8314: checking for socket" >&5 |
| 8037 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 8314 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
| 8038 | echo $ac_n "(cached) $ac_c" 1>&6 | 8315 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8039 | else | 8316 | else |
| 8040 | cat > conftest.$ac_ext <<EOF | 8317 | cat > conftest.$ac_ext <<EOF |
| 8041 | #line 8042 "configure" | 8318 | #line 8319 "configure" |
| 8042 | #include "confdefs.h" | 8319 | #include "confdefs.h" |
| 8043 | /* System header to define __stub macros and hopefully few prototypes, | 8320 | /* System header to define __stub macros and hopefully few prototypes, |
| 8044 | which can conflict with char socket(); below. */ | 8321 | which can conflict with char socket(); below. */ |
| @@ -8061,7 +8338,7 @@ socket(); | |||
| 8061 | 8338 | ||
| 8062 | ; return 0; } | 8339 | ; return 0; } |
| 8063 | EOF | 8340 | EOF |
| 8064 | if { (eval echo configure:8065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8341 | if { (eval echo configure:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8065 | rm -rf conftest* | 8342 | rm -rf conftest* |
| 8066 | eval "ac_cv_func_socket=yes" | 8343 | eval "ac_cv_func_socket=yes" |
| 8067 | else | 8344 | else |
| @@ -8084,17 +8361,17 @@ fi | |||
| 8084 | if test $ok_so_far = yes; then | 8361 | if test $ok_so_far = yes; then |
| 8085 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8362 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8086 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8363 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8087 | echo "configure:8088: checking for netinet/in.h" >&5 | 8364 | echo "configure:8365: checking for netinet/in.h" >&5 |
| 8088 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8365 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 8089 | echo $ac_n "(cached) $ac_c" 1>&6 | 8366 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8090 | else | 8367 | else |
| 8091 | cat > conftest.$ac_ext <<EOF | 8368 | cat > conftest.$ac_ext <<EOF |
| 8092 | #line 8093 "configure" | 8369 | #line 8370 "configure" |
| 8093 | #include "confdefs.h" | 8370 | #include "confdefs.h" |
| 8094 | #include <netinet/in.h> | 8371 | #include <netinet/in.h> |
| 8095 | EOF | 8372 | EOF |
| 8096 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8373 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8097 | { (eval echo configure:8098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8374 | { (eval echo configure:8375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8098 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8375 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8099 | if test -z "$ac_err"; then | 8376 | if test -z "$ac_err"; then |
| 8100 | rm -rf conftest* | 8377 | rm -rf conftest* |
| @@ -8120,17 +8397,17 @@ fi | |||
| 8120 | if test $ok_so_far = yes; then | 8397 | if test $ok_so_far = yes; then |
| 8121 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8398 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8122 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8399 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8123 | echo "configure:8124: checking for arpa/inet.h" >&5 | 8400 | echo "configure:8401: checking for arpa/inet.h" >&5 |
| 8124 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8401 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 8125 | echo $ac_n "(cached) $ac_c" 1>&6 | 8402 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8126 | else | 8403 | else |
| 8127 | cat > conftest.$ac_ext <<EOF | 8404 | cat > conftest.$ac_ext <<EOF |
| 8128 | #line 8129 "configure" | 8405 | #line 8406 "configure" |
| 8129 | #include "confdefs.h" | 8406 | #include "confdefs.h" |
| 8130 | #include <arpa/inet.h> | 8407 | #include <arpa/inet.h> |
| 8131 | EOF | 8408 | EOF |
| 8132 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8409 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8133 | { (eval echo configure:8134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8410 | { (eval echo configure:8411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8134 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8411 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8135 | if test -z "$ac_err"; then | 8412 | if test -z "$ac_err"; then |
| 8136 | rm -rf conftest* | 8413 | rm -rf conftest* |
| @@ -8168,7 +8445,7 @@ EOF | |||
| 8168 | fi | 8445 | fi |
| 8169 | 8446 | ||
| 8170 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 8447 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
| 8171 | echo "configure:8172: checking whether system supports dynamic ptys" >&5 | 8448 | echo "configure:8449: checking whether system supports dynamic ptys" >&5 |
| 8172 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 8449 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 8173 | echo "$ac_t""yes" 1>&6 | 8450 | echo "$ac_t""yes" 1>&6 |
| 8174 | cat >> confdefs.h <<\EOF | 8451 | cat >> confdefs.h <<\EOF |
| @@ -8180,12 +8457,12 @@ else | |||
| 8180 | fi | 8457 | fi |
| 8181 | 8458 | ||
| 8182 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 8459 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 8183 | echo "configure:8184: checking for pid_t" >&5 | 8460 | echo "configure:8461: checking for pid_t" >&5 |
| 8184 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 8461 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
| 8185 | echo $ac_n "(cached) $ac_c" 1>&6 | 8462 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8186 | else | 8463 | else |
| 8187 | cat > conftest.$ac_ext <<EOF | 8464 | cat > conftest.$ac_ext <<EOF |
| 8188 | #line 8189 "configure" | 8465 | #line 8466 "configure" |
| 8189 | #include "confdefs.h" | 8466 | #include "confdefs.h" |
| 8190 | #include <sys/types.h> | 8467 | #include <sys/types.h> |
| 8191 | #if STDC_HEADERS | 8468 | #if STDC_HEADERS |
| @@ -8214,17 +8491,17 @@ fi | |||
| 8214 | 8491 | ||
| 8215 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8492 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8216 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8493 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8217 | echo "configure:8218: checking for vfork.h" >&5 | 8494 | echo "configure:8495: checking for vfork.h" >&5 |
| 8218 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8495 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 8219 | echo $ac_n "(cached) $ac_c" 1>&6 | 8496 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8220 | else | 8497 | else |
| 8221 | cat > conftest.$ac_ext <<EOF | 8498 | cat > conftest.$ac_ext <<EOF |
| 8222 | #line 8223 "configure" | 8499 | #line 8500 "configure" |
| 8223 | #include "confdefs.h" | 8500 | #include "confdefs.h" |
| 8224 | #include <vfork.h> | 8501 | #include <vfork.h> |
| 8225 | EOF | 8502 | EOF |
| 8226 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8503 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8227 | { (eval echo configure:8228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8504 | { (eval echo configure:8505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8228 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8505 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8229 | if test -z "$ac_err"; then | 8506 | if test -z "$ac_err"; then |
| 8230 | rm -rf conftest* | 8507 | rm -rf conftest* |
| @@ -8249,18 +8526,18 @@ else | |||
| 8249 | fi | 8526 | fi |
| 8250 | 8527 | ||
| 8251 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8528 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8252 | echo "configure:8253: checking for working vfork" >&5 | 8529 | echo "configure:8530: checking for working vfork" >&5 |
| 8253 | if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 8530 | if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
| 8254 | echo $ac_n "(cached) $ac_c" 1>&6 | 8531 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8255 | else | 8532 | else |
| 8256 | if test "$cross_compiling" = yes; then | 8533 | if test "$cross_compiling" = yes; then |
| 8257 | echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 8534 | echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
| 8258 | echo "configure:8259: checking for vfork" >&5 | 8535 | echo "configure:8536: checking for vfork" >&5 |
| 8259 | if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 8536 | if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
| 8260 | echo $ac_n "(cached) $ac_c" 1>&6 | 8537 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8261 | else | 8538 | else |
| 8262 | cat > conftest.$ac_ext <<EOF | 8539 | cat > conftest.$ac_ext <<EOF |
| 8263 | #line 8264 "configure" | 8540 | #line 8541 "configure" |
| 8264 | #include "confdefs.h" | 8541 | #include "confdefs.h" |
| 8265 | /* System header to define __stub macros and hopefully few prototypes, | 8542 | /* System header to define __stub macros and hopefully few prototypes, |
| 8266 | which can conflict with char vfork(); below. */ | 8543 | which can conflict with char vfork(); below. */ |
| @@ -8283,7 +8560,7 @@ vfork(); | |||
| 8283 | 8560 | ||
| 8284 | ; return 0; } | 8561 | ; return 0; } |
| 8285 | EOF | 8562 | EOF |
| 8286 | if { (eval echo configure:8287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8563 | if { (eval echo configure:8564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8287 | rm -rf conftest* | 8564 | rm -rf conftest* |
| 8288 | eval "ac_cv_func_vfork=yes" | 8565 | eval "ac_cv_func_vfork=yes" |
| 8289 | else | 8566 | else |
| @@ -8305,7 +8582,7 @@ fi | |||
| 8305 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 8582 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 8306 | else | 8583 | else |
| 8307 | cat > conftest.$ac_ext <<EOF | 8584 | cat > conftest.$ac_ext <<EOF |
| 8308 | #line 8309 "configure" | 8585 | #line 8586 "configure" |
| 8309 | #include "confdefs.h" | 8586 | #include "confdefs.h" |
| 8310 | /* Thanks to Paul Eggert for this test. */ | 8587 | /* Thanks to Paul Eggert for this test. */ |
| 8311 | #include <stdio.h> | 8588 | #include <stdio.h> |
| @@ -8400,7 +8677,7 @@ main() { | |||
| 8400 | } | 8677 | } |
| 8401 | } | 8678 | } |
| 8402 | EOF | 8679 | EOF |
| 8403 | if { (eval echo configure:8404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8680 | if { (eval echo configure:8681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 8404 | then | 8681 | then |
| 8405 | ac_cv_func_vfork_works=yes | 8682 | ac_cv_func_vfork_works=yes |
| 8406 | else | 8683 | else |
| @@ -8422,281 +8699,15 @@ EOF | |||
| 8422 | 8699 | ||
| 8423 | fi | 8700 | fi |
| 8424 | 8701 | ||
| 8425 | for ac_hdr in unistd.h | ||
| 8426 | do | ||
| 8427 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 8428 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 8429 | echo "configure:8430: checking for $ac_hdr" >&5 | ||
| 8430 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 8431 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 8432 | else | ||
| 8433 | cat > conftest.$ac_ext <<EOF | ||
| 8434 | #line 8435 "configure" | ||
| 8435 | #include "confdefs.h" | ||
| 8436 | #include <$ac_hdr> | ||
| 8437 | EOF | ||
| 8438 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 8439 | { (eval echo configure:8440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 8440 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 8441 | if test -z "$ac_err"; then | ||
| 8442 | rm -rf conftest* | ||
| 8443 | eval "ac_cv_header_$ac_safe=yes" | ||
| 8444 | else | ||
| 8445 | echo "$ac_err" >&5 | ||
| 8446 | echo "configure: failed program was:" >&5 | ||
| 8447 | cat conftest.$ac_ext >&5 | ||
| 8448 | rm -rf conftest* | ||
| 8449 | eval "ac_cv_header_$ac_safe=no" | ||
| 8450 | fi | ||
| 8451 | rm -f conftest* | ||
| 8452 | fi | ||
| 8453 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 8454 | echo "$ac_t""yes" 1>&6 | ||
| 8455 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 8456 | cat >> confdefs.h <<EOF | ||
| 8457 | #define $ac_tr_hdr 1 | ||
| 8458 | EOF | ||
| 8459 | |||
| 8460 | else | ||
| 8461 | echo "$ac_t""no" 1>&6 | ||
| 8462 | fi | ||
| 8463 | done | ||
| 8464 | |||
| 8465 | for ac_func in getpagesize | ||
| 8466 | do | ||
| 8467 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | ||
| 8468 | echo "configure:8469: checking for $ac_func" >&5 | ||
| 8469 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | ||
| 8470 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 8471 | else | ||
| 8472 | cat > conftest.$ac_ext <<EOF | ||
| 8473 | #line 8474 "configure" | ||
| 8474 | #include "confdefs.h" | ||
| 8475 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 8476 | which can conflict with char $ac_func(); below. */ | ||
| 8477 | #include <assert.h> | ||
| 8478 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 8479 | /* We use char because int might match the return type of a gcc2 | ||
| 8480 | builtin and then its argument prototype would still apply. */ | ||
| 8481 | char $ac_func(); | ||
| 8482 | |||
| 8483 | int main() { | ||
| 8484 | |||
| 8485 | /* The GNU C library defines this for functions which it implements | ||
| 8486 | to always fail with ENOSYS. Some functions are actually named | ||
| 8487 | something starting with __ and the normal name is an alias. */ | ||
| 8488 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
| 8489 | choke me | ||
| 8490 | #else | ||
| 8491 | $ac_func(); | ||
| 8492 | #endif | ||
| 8493 | |||
| 8494 | ; return 0; } | ||
| 8495 | EOF | ||
| 8496 | if { (eval echo configure:8497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 8497 | rm -rf conftest* | ||
| 8498 | eval "ac_cv_func_$ac_func=yes" | ||
| 8499 | else | ||
| 8500 | echo "configure: failed program was:" >&5 | ||
| 8501 | cat conftest.$ac_ext >&5 | ||
| 8502 | rm -rf conftest* | ||
| 8503 | eval "ac_cv_func_$ac_func=no" | ||
| 8504 | fi | ||
| 8505 | rm -f conftest* | ||
| 8506 | fi | ||
| 8507 | |||
| 8508 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | ||
| 8509 | echo "$ac_t""yes" 1>&6 | ||
| 8510 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | ||
| 8511 | cat >> confdefs.h <<EOF | ||
| 8512 | #define $ac_tr_func 1 | ||
| 8513 | EOF | ||
| 8514 | |||
| 8515 | else | ||
| 8516 | echo "$ac_t""no" 1>&6 | ||
| 8517 | fi | ||
| 8518 | done | ||
| 8519 | |||
| 8520 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | ||
| 8521 | echo "configure:8522: checking for working mmap" >&5 | ||
| 8522 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then | ||
| 8523 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 8524 | else | ||
| 8525 | if test "$cross_compiling" = yes; then | ||
| 8526 | ac_cv_func_mmap_fixed_mapped=no | ||
| 8527 | else | ||
| 8528 | cat > conftest.$ac_ext <<EOF | ||
| 8529 | #line 8530 "configure" | ||
| 8530 | #include "confdefs.h" | ||
| 8531 | |||
| 8532 | /* Thanks to Mike Haertel and Jim Avera for this test. | ||
| 8533 | Here is a matrix of mmap possibilities: | ||
| 8534 | mmap private not fixed | ||
| 8535 | mmap private fixed at somewhere currently unmapped | ||
| 8536 | mmap private fixed at somewhere already mapped | ||
| 8537 | mmap shared not fixed | ||
| 8538 | mmap shared fixed at somewhere currently unmapped | ||
| 8539 | mmap shared fixed at somewhere already mapped | ||
| 8540 | For private mappings, we should verify that changes cannot be read() | ||
| 8541 | back from the file, nor mmap's back from the file at a different | ||
| 8542 | address. (There have been systems where private was not correctly | ||
| 8543 | implemented like the infamous i386 svr4.0, and systems where the | ||
| 8544 | VM page cache was not coherent with the filesystem buffer cache | ||
| 8545 | like early versions of FreeBSD and possibly contemporary NetBSD.) | ||
| 8546 | For shared mappings, we should conversely verify that changes get | ||
| 8547 | propogated back to all the places they're supposed to be. | ||
| 8548 | |||
| 8549 | Grep wants private fixed already mapped. | ||
| 8550 | The main things grep needs to know about mmap are: | ||
| 8551 | * does it exist and is it safe to write into the mmap'd area | ||
| 8552 | * how to use it (BSD variants) */ | ||
| 8553 | #include <sys/types.h> | ||
| 8554 | #include <fcntl.h> | ||
| 8555 | #include <sys/mman.h> | ||
| 8556 | |||
| 8557 | /* This mess was copied from the GNU getpagesize.h. */ | ||
| 8558 | #ifndef HAVE_GETPAGESIZE | ||
| 8559 | # ifdef HAVE_UNISTD_H | ||
| 8560 | # include <unistd.h> | ||
| 8561 | # endif | ||
| 8562 | |||
| 8563 | /* Assume that all systems that can run configure have sys/param.h. */ | ||
| 8564 | # ifndef HAVE_SYS_PARAM_H | ||
| 8565 | # define HAVE_SYS_PARAM_H 1 | ||
| 8566 | # endif | ||
| 8567 | |||
| 8568 | # ifdef _SC_PAGESIZE | ||
| 8569 | # define getpagesize() sysconf(_SC_PAGESIZE) | ||
| 8570 | # else /* no _SC_PAGESIZE */ | ||
| 8571 | # ifdef HAVE_SYS_PARAM_H | ||
| 8572 | # include <sys/param.h> | ||
| 8573 | # ifdef EXEC_PAGESIZE | ||
| 8574 | # define getpagesize() EXEC_PAGESIZE | ||
| 8575 | # else /* no EXEC_PAGESIZE */ | ||
| 8576 | # ifdef NBPG | ||
| 8577 | # define getpagesize() NBPG * CLSIZE | ||
| 8578 | # ifndef CLSIZE | ||
| 8579 | # define CLSIZE 1 | ||
| 8580 | # endif /* no CLSIZE */ | ||
| 8581 | # else /* no NBPG */ | ||
| 8582 | # ifdef NBPC | ||
| 8583 | # define getpagesize() NBPC | ||
| 8584 | # else /* no NBPC */ | ||
| 8585 | # ifdef PAGESIZE | ||
| 8586 | # define getpagesize() PAGESIZE | ||
| 8587 | # endif /* PAGESIZE */ | ||
| 8588 | # endif /* no NBPC */ | ||
| 8589 | # endif /* no NBPG */ | ||
| 8590 | # endif /* no EXEC_PAGESIZE */ | ||
| 8591 | # else /* no HAVE_SYS_PARAM_H */ | ||
| 8592 | # define getpagesize() 8192 /* punt totally */ | ||
| 8593 | # endif /* no HAVE_SYS_PARAM_H */ | ||
| 8594 | # endif /* no _SC_PAGESIZE */ | ||
| 8595 | |||
| 8596 | #endif /* no HAVE_GETPAGESIZE */ | ||
| 8597 | |||
| 8598 | #ifdef __cplusplus | ||
| 8599 | extern "C" { void *malloc(unsigned); } | ||
| 8600 | #else | ||
| 8601 | char *malloc(); | ||
| 8602 | #endif | ||
| 8603 | |||
| 8604 | int | ||
| 8605 | main() | ||
| 8606 | { | ||
| 8607 | char *data, *data2, *data3; | ||
| 8608 | int i, pagesize; | ||
| 8609 | int fd; | ||
| 8610 | |||
| 8611 | pagesize = getpagesize(); | ||
| 8612 | |||
| 8613 | /* | ||
| 8614 | * First, make a file with some known garbage in it. | ||
| 8615 | */ | ||
| 8616 | data = malloc(pagesize); | ||
| 8617 | if (!data) | ||
| 8618 | exit(1); | ||
| 8619 | for (i = 0; i < pagesize; ++i) | ||
| 8620 | *(data + i) = rand(); | ||
| 8621 | umask(0); | ||
| 8622 | fd = creat("conftestmmap", 0600); | ||
| 8623 | if (fd < 0) | ||
| 8624 | exit(1); | ||
| 8625 | if (write(fd, data, pagesize) != pagesize) | ||
| 8626 | exit(1); | ||
| 8627 | close(fd); | ||
| 8628 | |||
| 8629 | /* | ||
| 8630 | * Next, try to mmap the file at a fixed address which | ||
| 8631 | * already has something else allocated at it. If we can, | ||
| 8632 | * also make sure that we see the same garbage. | ||
| 8633 | */ | ||
| 8634 | fd = open("conftestmmap", O_RDWR); | ||
| 8635 | if (fd < 0) | ||
| 8636 | exit(1); | ||
| 8637 | data2 = malloc(2 * pagesize); | ||
| 8638 | if (!data2) | ||
| 8639 | exit(1); | ||
| 8640 | data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | ||
| 8641 | if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, | ||
| 8642 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | ||
| 8643 | exit(1); | ||
| 8644 | for (i = 0; i < pagesize; ++i) | ||
| 8645 | if (*(data + i) != *(data2 + i)) | ||
| 8646 | exit(1); | ||
| 8647 | |||
| 8648 | /* | ||
| 8649 | * Finally, make sure that changes to the mapped area | ||
| 8650 | * do not percolate back to the file as seen by read(). | ||
| 8651 | * (This is a bug on some variants of i386 svr4.0.) | ||
| 8652 | */ | ||
| 8653 | for (i = 0; i < pagesize; ++i) | ||
| 8654 | *(data2 + i) = *(data2 + i) + 1; | ||
| 8655 | data3 = malloc(pagesize); | ||
| 8656 | if (!data3) | ||
| 8657 | exit(1); | ||
| 8658 | if (read(fd, data3, pagesize) != pagesize) | ||
| 8659 | exit(1); | ||
| 8660 | for (i = 0; i < pagesize; ++i) | ||
| 8661 | if (*(data + i) != *(data3 + i)) | ||
| 8662 | exit(1); | ||
| 8663 | close(fd); | ||
| 8664 | unlink("conftestmmap"); | ||
| 8665 | exit(0); | ||
| 8666 | } | ||
| 8667 | |||
| 8668 | EOF | ||
| 8669 | if { (eval echo configure:8670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | ||
| 8670 | then | ||
| 8671 | ac_cv_func_mmap_fixed_mapped=yes | ||
| 8672 | else | ||
| 8673 | echo "configure: failed program was:" >&5 | ||
| 8674 | cat conftest.$ac_ext >&5 | ||
| 8675 | rm -fr conftest* | ||
| 8676 | ac_cv_func_mmap_fixed_mapped=no | ||
| 8677 | fi | ||
| 8678 | rm -fr conftest* | ||
| 8679 | fi | ||
| 8680 | |||
| 8681 | fi | ||
| 8682 | |||
| 8683 | echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 | ||
| 8684 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | ||
| 8685 | cat >> confdefs.h <<\EOF | ||
| 8686 | #define HAVE_MMAP 1 | ||
| 8687 | EOF | ||
| 8688 | |||
| 8689 | fi | ||
| 8690 | |||
| 8691 | 8702 | ||
| 8692 | # Fixme: This should be replaced when we have autoconf 2.14. | 8703 | # Fixme: This should be replaced when we have autoconf 2.14. |
| 8693 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 8704 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 8694 | echo "configure:8695: checking for size_t" >&5 | 8705 | echo "configure:8706: checking for size_t" >&5 |
| 8695 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 8706 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| 8696 | echo $ac_n "(cached) $ac_c" 1>&6 | 8707 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8697 | else | 8708 | else |
| 8698 | cat > conftest.$ac_ext <<EOF | 8709 | cat > conftest.$ac_ext <<EOF |
| 8699 | #line 8700 "configure" | 8710 | #line 8711 "configure" |
| 8700 | #include "confdefs.h" | 8711 | #include "confdefs.h" |
| 8701 | #include <sys/types.h> | 8712 | #include <sys/types.h> |
| 8702 | #if STDC_HEADERS | 8713 | #if STDC_HEADERS |
| @@ -8853,7 +8864,8 @@ Configured for \`${canonical}'. | |||
| 8853 | \`${opsysfile}' and \`${machfile}' | 8864 | \`${opsysfile}' and \`${machfile}' |
| 8854 | What compiler should emacs be built with? ${CC} ${CFLAGS} | 8865 | What compiler should emacs be built with? ${CC} ${CFLAGS} |
| 8855 | Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 8866 | Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} |
| 8856 | Should Emacs use the relocating allocator for buffers? ${REL_ALLOC} | 8867 | Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} |
| 8868 | Should Emacs use mmap for the relocating allocator? $rel_alloc_mmap | ||
| 8857 | What window system should Emacs use? ${window_system} | 8869 | What window system should Emacs use? ${window_system} |
| 8858 | What toolkit should Emacs use? ${USE_X_TOOLKIT}" | 8870 | What toolkit should Emacs use? ${USE_X_TOOLKIT}" |
| 8859 | 8871 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index fbe13c0a37f..c13c862a620 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2000-09-06 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-09-06 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If | ||
| 4 | buffer's text buffer is null, map new memory. | ||
| 5 | |||
| 3 | * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of | 6 | * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of |
| 4 | POINTER_TYPE and size_t. | 7 | POINTER_TYPE and size_t. |
| 5 | (struct mmap_region) [REL_ALLOC_MMAP]: New structure. | 8 | (struct mmap_region) [REL_ALLOC_MMAP]: New structure. |