Mercurial > emacs
comparison configure @ 29254:d700ca6acc99
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 26 May 2000 15:56:42 +0000 |
parents | 91115e6a0f53 |
children | 315367ef0316 |
comparison
equal
deleted
inserted
replaced
29253:809933264ea6 | 29254:d700ca6acc99 |
---|---|
2582 #define RETSIGTYPE $ac_cv_type_signal | 2582 #define RETSIGTYPE $ac_cv_type_signal |
2583 EOF | 2583 EOF |
2584 | 2584 |
2585 | 2585 |
2586 | 2586 |
2587 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2587 echo $ac_n "checking for speed_t""... $ac_c" 1>&6 |
2588 echo "configure:2589: checking for struct timeval" >&5 | 2588 echo "configure:2589: checking for speed_t" >&5 |
2589 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 2589 if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then |
2590 echo $ac_n "(cached) $ac_c" 1>&6 | 2590 echo $ac_n "(cached) $ac_c" 1>&6 |
2591 else | 2591 else |
2592 cat > conftest.$ac_ext <<EOF | 2592 cat > conftest.$ac_ext <<EOF |
2593 #line 2594 "configure" | 2593 #line 2594 "configure" |
2594 #include "confdefs.h" | |
2595 #include <termios.h> | |
2596 int main() { | |
2597 speed_t x = 1; | |
2598 ; return 0; } | |
2599 EOF | |
2600 if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2601 rm -rf conftest* | |
2602 emacs_cv_speed_t=yes | |
2603 else | |
2604 echo "configure: failed program was:" >&5 | |
2605 cat conftest.$ac_ext >&5 | |
2606 fi | |
2607 rm -f conftest* | |
2608 fi | |
2609 | |
2610 echo "$ac_t""$emacs_cv_speed_t" 1>&6 | |
2611 if test $emacs_cv_speed_t = yes; then | |
2612 cat >> confdefs.h <<\EOF | |
2613 #define HAVE_SPEED_T 1 | |
2614 EOF | |
2615 | |
2616 fi | |
2617 | |
2618 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | |
2619 echo "configure:2620: checking for struct timeval" >&5 | |
2620 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | |
2621 echo $ac_n "(cached) $ac_c" 1>&6 | |
2622 else | |
2623 cat > conftest.$ac_ext <<EOF | |
2624 #line 2625 "configure" | |
2594 #include "confdefs.h" | 2625 #include "confdefs.h" |
2595 #ifdef TIME_WITH_SYS_TIME | 2626 #ifdef TIME_WITH_SYS_TIME |
2596 #include <sys/time.h> | 2627 #include <sys/time.h> |
2597 #include <time.h> | 2628 #include <time.h> |
2598 #else | 2629 #else |
2604 #endif | 2635 #endif |
2605 int main() { | 2636 int main() { |
2606 static struct timeval x; x.tv_sec = x.tv_usec; | 2637 static struct timeval x; x.tv_sec = x.tv_usec; |
2607 ; return 0; } | 2638 ; return 0; } |
2608 EOF | 2639 EOF |
2609 if { (eval echo configure:2610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2640 if { (eval echo configure:2641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2610 rm -rf conftest* | 2641 rm -rf conftest* |
2611 emacs_cv_struct_timeval=yes | 2642 emacs_cv_struct_timeval=yes |
2612 else | 2643 else |
2613 echo "configure: failed program was:" >&5 | 2644 echo "configure: failed program was:" >&5 |
2614 cat conftest.$ac_ext >&5 | 2645 cat conftest.$ac_ext >&5 |
2626 EOF | 2657 EOF |
2627 | 2658 |
2628 fi | 2659 fi |
2629 | 2660 |
2630 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2661 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
2631 echo "configure:2632: checking whether struct tm is in sys/time.h or time.h" >&5 | 2662 echo "configure:2663: checking whether struct tm is in sys/time.h or time.h" >&5 |
2632 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2663 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
2633 echo $ac_n "(cached) $ac_c" 1>&6 | 2664 echo $ac_n "(cached) $ac_c" 1>&6 |
2634 else | 2665 else |
2635 cat > conftest.$ac_ext <<EOF | 2666 cat > conftest.$ac_ext <<EOF |
2636 #line 2637 "configure" | 2667 #line 2668 "configure" |
2637 #include "confdefs.h" | 2668 #include "confdefs.h" |
2638 #include <sys/types.h> | 2669 #include <sys/types.h> |
2639 #include <time.h> | 2670 #include <time.h> |
2640 int main() { | 2671 int main() { |
2641 struct tm *tp; tp->tm_sec; | 2672 struct tm *tp; tp->tm_sec; |
2642 ; return 0; } | 2673 ; return 0; } |
2643 EOF | 2674 EOF |
2644 if { (eval echo configure:2645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2675 if { (eval echo configure:2676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2645 rm -rf conftest* | 2676 rm -rf conftest* |
2646 ac_cv_struct_tm=time.h | 2677 ac_cv_struct_tm=time.h |
2647 else | 2678 else |
2648 echo "configure: failed program was:" >&5 | 2679 echo "configure: failed program was:" >&5 |
2649 cat conftest.$ac_ext >&5 | 2680 cat conftest.$ac_ext >&5 |
2660 EOF | 2691 EOF |
2661 | 2692 |
2662 fi | 2693 fi |
2663 | 2694 |
2664 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2695 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
2665 echo "configure:2666: checking for tm_zone in struct tm" >&5 | 2696 echo "configure:2697: checking for tm_zone in struct tm" >&5 |
2666 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 2697 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
2667 echo $ac_n "(cached) $ac_c" 1>&6 | 2698 echo $ac_n "(cached) $ac_c" 1>&6 |
2668 else | 2699 else |
2669 cat > conftest.$ac_ext <<EOF | 2700 cat > conftest.$ac_ext <<EOF |
2670 #line 2671 "configure" | 2701 #line 2702 "configure" |
2671 #include "confdefs.h" | 2702 #include "confdefs.h" |
2672 #include <sys/types.h> | 2703 #include <sys/types.h> |
2673 #include <$ac_cv_struct_tm> | 2704 #include <$ac_cv_struct_tm> |
2674 int main() { | 2705 int main() { |
2675 struct tm tm; tm.tm_zone; | 2706 struct tm tm; tm.tm_zone; |
2676 ; return 0; } | 2707 ; return 0; } |
2677 EOF | 2708 EOF |
2678 if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2709 if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2679 rm -rf conftest* | 2710 rm -rf conftest* |
2680 ac_cv_struct_tm_zone=yes | 2711 ac_cv_struct_tm_zone=yes |
2681 else | 2712 else |
2682 echo "configure: failed program was:" >&5 | 2713 echo "configure: failed program was:" >&5 |
2683 cat conftest.$ac_ext >&5 | 2714 cat conftest.$ac_ext >&5 |
2693 #define HAVE_TM_ZONE 1 | 2724 #define HAVE_TM_ZONE 1 |
2694 EOF | 2725 EOF |
2695 | 2726 |
2696 else | 2727 else |
2697 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 2728 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
2698 echo "configure:2699: checking for tzname" >&5 | 2729 echo "configure:2730: checking for tzname" >&5 |
2699 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 2730 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
2700 echo $ac_n "(cached) $ac_c" 1>&6 | 2731 echo $ac_n "(cached) $ac_c" 1>&6 |
2701 else | 2732 else |
2702 cat > conftest.$ac_ext <<EOF | 2733 cat > conftest.$ac_ext <<EOF |
2703 #line 2704 "configure" | 2734 #line 2735 "configure" |
2704 #include "confdefs.h" | 2735 #include "confdefs.h" |
2705 #include <time.h> | 2736 #include <time.h> |
2706 #ifndef tzname /* For SGI. */ | 2737 #ifndef tzname /* For SGI. */ |
2707 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 2738 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
2708 #endif | 2739 #endif |
2709 int main() { | 2740 int main() { |
2710 atoi(*tzname); | 2741 atoi(*tzname); |
2711 ; return 0; } | 2742 ; return 0; } |
2712 EOF | 2743 EOF |
2713 if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2714 rm -rf conftest* | 2745 rm -rf conftest* |
2715 ac_cv_var_tzname=yes | 2746 ac_cv_var_tzname=yes |
2716 else | 2747 else |
2717 echo "configure: failed program was:" >&5 | 2748 echo "configure: failed program was:" >&5 |
2718 cat conftest.$ac_ext >&5 | 2749 cat conftest.$ac_ext >&5 |
2730 | 2761 |
2731 fi | 2762 fi |
2732 fi | 2763 fi |
2733 | 2764 |
2734 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 2765 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
2735 echo "configure:2736: checking for tm_gmtoff in struct tm" >&5 | 2766 echo "configure:2767: checking for tm_gmtoff in struct tm" >&5 |
2736 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 2767 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
2737 echo $ac_n "(cached) $ac_c" 1>&6 | 2768 echo $ac_n "(cached) $ac_c" 1>&6 |
2738 else | 2769 else |
2739 cat > conftest.$ac_ext <<EOF | 2770 cat > conftest.$ac_ext <<EOF |
2740 #line 2741 "configure" | 2771 #line 2772 "configure" |
2741 #include "confdefs.h" | 2772 #include "confdefs.h" |
2742 #include <time.h> | 2773 #include <time.h> |
2743 int main() { | 2774 int main() { |
2744 struct tm t; t.tm_gmtoff = 0 | 2775 struct tm t; t.tm_gmtoff = 0 |
2745 ; return 0; } | 2776 ; return 0; } |
2746 EOF | 2777 EOF |
2747 if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2778 if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2748 rm -rf conftest* | 2779 rm -rf conftest* |
2749 emacs_cv_tm_gmtoff=yes | 2780 emacs_cv_tm_gmtoff=yes |
2750 else | 2781 else |
2751 echo "configure: failed program was:" >&5 | 2782 echo "configure: failed program was:" >&5 |
2752 cat conftest.$ac_ext >&5 | 2783 cat conftest.$ac_ext >&5 |
2764 | 2795 |
2765 fi | 2796 fi |
2766 | 2797 |
2767 | 2798 |
2768 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 | 2799 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 |
2769 echo "configure:2770: checking for ${CC-cc} option to accept ANSI C" >&5 | 2800 echo "configure:2801: checking for ${CC-cc} option to accept ANSI C" >&5 |
2770 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then | 2801 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then |
2771 echo $ac_n "(cached) $ac_c" 1>&6 | 2802 echo $ac_n "(cached) $ac_c" 1>&6 |
2772 else | 2803 else |
2773 ac_cv_prog_cc_stdc=no | 2804 ac_cv_prog_cc_stdc=no |
2774 ac_save_CC="$CC" | 2805 ac_save_CC="$CC" |
2781 # SVR4 -Xc -D__EXTENSIONS__ | 2812 # SVR4 -Xc -D__EXTENSIONS__ |
2782 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2813 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2783 do | 2814 do |
2784 CC="$ac_save_CC $ac_arg" | 2815 CC="$ac_save_CC $ac_arg" |
2785 cat > conftest.$ac_ext <<EOF | 2816 cat > conftest.$ac_ext <<EOF |
2786 #line 2787 "configure" | 2817 #line 2818 "configure" |
2787 #include "confdefs.h" | 2818 #include "confdefs.h" |
2788 #include <stdarg.h> | 2819 #include <stdarg.h> |
2789 #include <stdio.h> | 2820 #include <stdio.h> |
2790 #include <sys/types.h> | 2821 #include <sys/types.h> |
2791 #include <sys/stat.h> | 2822 #include <sys/stat.h> |
2815 char **argv; | 2846 char **argv; |
2816 int main() { | 2847 int main() { |
2817 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 2848 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2818 ; return 0; } | 2849 ; return 0; } |
2819 EOF | 2850 EOF |
2820 if { (eval echo configure:2821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2851 if { (eval echo configure:2852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2821 rm -rf conftest* | 2852 rm -rf conftest* |
2822 ac_cv_prog_cc_stdc="$ac_arg"; break | 2853 ac_cv_prog_cc_stdc="$ac_arg"; break |
2823 else | 2854 else |
2824 echo "configure: failed program was:" >&5 | 2855 echo "configure: failed program was:" >&5 |
2825 cat conftest.$ac_ext >&5 | 2856 cat conftest.$ac_ext >&5 |
2837 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 | 2868 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 |
2838 CC="$CC $ac_cv_prog_cc_stdc" ;; | 2869 CC="$CC $ac_cv_prog_cc_stdc" ;; |
2839 esac | 2870 esac |
2840 | 2871 |
2841 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 | 2872 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 |
2842 echo "configure:2843: checking for function prototypes" >&5 | 2873 echo "configure:2874: checking for function prototypes" >&5 |
2843 if test "$ac_cv_prog_cc_stdc" != no; then | 2874 if test "$ac_cv_prog_cc_stdc" != no; then |
2844 echo "$ac_t""yes" 1>&6 | 2875 echo "$ac_t""yes" 1>&6 |
2845 cat >> confdefs.h <<\EOF | 2876 cat >> confdefs.h <<\EOF |
2846 #define PROTOTYPES 1 | 2877 #define PROTOTYPES 1 |
2847 EOF | 2878 EOF |
2849 else | 2880 else |
2850 echo "$ac_t""no" 1>&6 | 2881 echo "$ac_t""no" 1>&6 |
2851 fi | 2882 fi |
2852 | 2883 |
2853 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 | 2884 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 |
2854 echo "configure:2855: checking for working volatile" >&5 | 2885 echo "configure:2886: checking for working volatile" >&5 |
2855 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then | 2886 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then |
2856 echo $ac_n "(cached) $ac_c" 1>&6 | 2887 echo $ac_n "(cached) $ac_c" 1>&6 |
2857 else | 2888 else |
2858 cat > conftest.$ac_ext <<EOF | 2889 cat > conftest.$ac_ext <<EOF |
2859 #line 2860 "configure" | 2890 #line 2891 "configure" |
2860 #include "confdefs.h" | 2891 #include "confdefs.h" |
2861 | 2892 |
2862 int main() { | 2893 int main() { |
2863 | 2894 |
2864 volatile int x; | 2895 volatile int x; |
2865 int * volatile y; | 2896 int * volatile y; |
2866 ; return 0; } | 2897 ; return 0; } |
2867 EOF | 2898 EOF |
2868 if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2899 if { (eval echo configure:2900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2869 rm -rf conftest* | 2900 rm -rf conftest* |
2870 ac_cv_c_volatile=yes | 2901 ac_cv_c_volatile=yes |
2871 else | 2902 else |
2872 echo "configure: failed program was:" >&5 | 2903 echo "configure: failed program was:" >&5 |
2873 cat conftest.$ac_ext >&5 | 2904 cat conftest.$ac_ext >&5 |
2884 EOF | 2915 EOF |
2885 | 2916 |
2886 fi | 2917 fi |
2887 | 2918 |
2888 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2919 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2889 echo "configure:2890: checking for working const" >&5 | 2920 echo "configure:2921: checking for working const" >&5 |
2890 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2921 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
2891 echo $ac_n "(cached) $ac_c" 1>&6 | 2922 echo $ac_n "(cached) $ac_c" 1>&6 |
2892 else | 2923 else |
2893 cat > conftest.$ac_ext <<EOF | 2924 cat > conftest.$ac_ext <<EOF |
2894 #line 2895 "configure" | 2925 #line 2926 "configure" |
2895 #include "confdefs.h" | 2926 #include "confdefs.h" |
2896 | 2927 |
2897 int main() { | 2928 int main() { |
2898 | 2929 |
2899 /* Ultrix mips cc rejects this. */ | 2930 /* Ultrix mips cc rejects this. */ |
2938 const int foo = 10; | 2969 const int foo = 10; |
2939 } | 2970 } |
2940 | 2971 |
2941 ; return 0; } | 2972 ; return 0; } |
2942 EOF | 2973 EOF |
2943 if { (eval echo configure:2944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2974 if { (eval echo configure:2975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2944 rm -rf conftest* | 2975 rm -rf conftest* |
2945 ac_cv_c_const=yes | 2976 ac_cv_c_const=yes |
2946 else | 2977 else |
2947 echo "configure: failed program was:" >&5 | 2978 echo "configure: failed program was:" >&5 |
2948 cat conftest.$ac_ext >&5 | 2979 cat conftest.$ac_ext >&5 |
2959 EOF | 2990 EOF |
2960 | 2991 |
2961 fi | 2992 fi |
2962 | 2993 |
2963 echo $ac_n "checking for void * support""... $ac_c" 1>&6 | 2994 echo $ac_n "checking for void * support""... $ac_c" 1>&6 |
2964 echo "configure:2965: checking for void * support" >&5 | 2995 echo "configure:2996: checking for void * support" >&5 |
2965 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then | 2996 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then |
2966 echo $ac_n "(cached) $ac_c" 1>&6 | 2997 echo $ac_n "(cached) $ac_c" 1>&6 |
2967 else | 2998 else |
2968 cat > conftest.$ac_ext <<EOF | 2999 cat > conftest.$ac_ext <<EOF |
2969 #line 2970 "configure" | 3000 #line 3001 "configure" |
2970 #include "confdefs.h" | 3001 #include "confdefs.h" |
2971 | 3002 |
2972 int main() { | 3003 int main() { |
2973 void * foo; | 3004 void * foo; |
2974 ; return 0; } | 3005 ; return 0; } |
2975 EOF | 3006 EOF |
2976 if { (eval echo configure:2977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3007 if { (eval echo configure:3008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2977 rm -rf conftest* | 3008 rm -rf conftest* |
2978 emacs_cv_void_star=yes | 3009 emacs_cv_void_star=yes |
2979 else | 3010 else |
2980 echo "configure: failed program was:" >&5 | 3011 echo "configure: failed program was:" >&5 |
2981 cat conftest.$ac_ext >&5 | 3012 cat conftest.$ac_ext >&5 |
2997 EOF | 3028 EOF |
2998 | 3029 |
2999 fi | 3030 fi |
3000 | 3031 |
3001 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3032 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3002 echo "configure:3003: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3033 echo "configure:3034: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3003 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3034 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3004 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 3035 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
3005 echo $ac_n "(cached) $ac_c" 1>&6 | 3036 echo $ac_n "(cached) $ac_c" 1>&6 |
3006 else | 3037 else |
3007 cat > conftestmake <<\EOF | 3038 cat > conftestmake <<\EOF |
3025 SET_MAKE="MAKE=${MAKE-make}" | 3056 SET_MAKE="MAKE=${MAKE-make}" |
3026 fi | 3057 fi |
3027 | 3058 |
3028 | 3059 |
3029 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3060 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3030 echo "configure:3031: checking for long file names" >&5 | 3061 echo "configure:3062: checking for long file names" >&5 |
3031 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 3062 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
3032 echo $ac_n "(cached) $ac_c" 1>&6 | 3063 echo $ac_n "(cached) $ac_c" 1>&6 |
3033 else | 3064 else |
3034 ac_cv_sys_long_file_names=yes | 3065 ac_cv_sys_long_file_names=yes |
3035 # Test for long file names in all the places we know might matter: | 3066 # Test for long file names in all the places we know might matter: |
3076 # If we find X, set shell vars x_includes and x_libraries to the | 3107 # If we find X, set shell vars x_includes and x_libraries to the |
3077 # paths, otherwise set no_x=yes. | 3108 # paths, otherwise set no_x=yes. |
3078 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3109 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3079 # --without-x overrides everything else, but does not touch the cache. | 3110 # --without-x overrides everything else, but does not touch the cache. |
3080 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3111 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3081 echo "configure:3082: checking for X" >&5 | 3112 echo "configure:3113: checking for X" >&5 |
3082 | 3113 |
3083 # Check whether --with-x or --without-x was given. | 3114 # Check whether --with-x or --without-x was given. |
3084 if test "${with_x+set}" = set; then | 3115 if test "${with_x+set}" = set; then |
3085 withval="$with_x" | 3116 withval="$with_x" |
3086 : | 3117 : |
3138 # Guess where to find include files, by looking for this one X11 .h file. | 3169 # Guess where to find include files, by looking for this one X11 .h file. |
3139 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3170 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3140 | 3171 |
3141 # First, try using that file with no special directory specified. | 3172 # First, try using that file with no special directory specified. |
3142 cat > conftest.$ac_ext <<EOF | 3173 cat > conftest.$ac_ext <<EOF |
3143 #line 3144 "configure" | 3174 #line 3175 "configure" |
3144 #include "confdefs.h" | 3175 #include "confdefs.h" |
3145 #include <$x_direct_test_include> | 3176 #include <$x_direct_test_include> |
3146 EOF | 3177 EOF |
3147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3148 { (eval echo configure:3149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3179 { (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3150 if test -z "$ac_err"; then | 3181 if test -z "$ac_err"; then |
3151 rm -rf conftest* | 3182 rm -rf conftest* |
3152 # We can compile using X headers with no special include directory. | 3183 # We can compile using X headers with no special include directory. |
3153 ac_x_includes= | 3184 ac_x_includes= |
3212 # See if we find them without any special options. | 3243 # See if we find them without any special options. |
3213 # Don't add to $LIBS permanently. | 3244 # Don't add to $LIBS permanently. |
3214 ac_save_LIBS="$LIBS" | 3245 ac_save_LIBS="$LIBS" |
3215 LIBS="-l$x_direct_test_library $LIBS" | 3246 LIBS="-l$x_direct_test_library $LIBS" |
3216 cat > conftest.$ac_ext <<EOF | 3247 cat > conftest.$ac_ext <<EOF |
3217 #line 3218 "configure" | 3248 #line 3249 "configure" |
3218 #include "confdefs.h" | 3249 #include "confdefs.h" |
3219 | 3250 |
3220 int main() { | 3251 int main() { |
3221 ${x_direct_test_function}() | 3252 ${x_direct_test_function}() |
3222 ; return 0; } | 3253 ; return 0; } |
3223 EOF | 3254 EOF |
3224 if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3255 if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3225 rm -rf conftest* | 3256 rm -rf conftest* |
3226 LIBS="$ac_save_LIBS" | 3257 LIBS="$ac_save_LIBS" |
3227 # We can link X programs with no special library path. | 3258 # We can link X programs with no special library path. |
3228 ac_x_libraries= | 3259 ac_x_libraries= |
3229 else | 3260 else |
3394 #### Extract some information from the operating system and machine files. | 3425 #### Extract some information from the operating system and machine files. |
3395 | 3426 |
3396 echo "checking the machine- and system-dependent files to find out | 3427 echo "checking the machine- and system-dependent files to find out |
3397 - which libraries the lib-src programs will want, and | 3428 - which libraries the lib-src programs will want, and |
3398 - whether the GNU malloc routines are usable" 1>&6 | 3429 - whether the GNU malloc routines are usable" 1>&6 |
3399 echo "configure:3400: checking the machine- and system-dependent files to find out | 3430 echo "configure:3431: checking the machine- and system-dependent files to find out |
3400 - which libraries the lib-src programs will want, and | 3431 - which libraries the lib-src programs will want, and |
3401 - whether the GNU malloc routines are usable" >&5 | 3432 - whether the GNU malloc routines are usable" >&5 |
3402 | 3433 |
3403 ### First figure out CFLAGS (which we use for running the compiler here) | 3434 ### First figure out CFLAGS (which we use for running the compiler here) |
3404 ### and REAL_CFLAGS (which we use for real compilation). | 3435 ### and REAL_CFLAGS (which we use for real compilation). |
3528 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 3559 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
3529 # Assume not, until told otherwise. | 3560 # Assume not, until told otherwise. |
3530 GNU_MALLOC=yes | 3561 GNU_MALLOC=yes |
3531 doug_lea_malloc=yes | 3562 doug_lea_malloc=yes |
3532 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3563 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
3533 echo "configure:3534: checking for malloc_get_state" >&5 | 3564 echo "configure:3565: checking for malloc_get_state" >&5 |
3534 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3565 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
3535 echo $ac_n "(cached) $ac_c" 1>&6 | 3566 echo $ac_n "(cached) $ac_c" 1>&6 |
3536 else | 3567 else |
3537 cat > conftest.$ac_ext <<EOF | 3568 cat > conftest.$ac_ext <<EOF |
3538 #line 3539 "configure" | 3569 #line 3570 "configure" |
3539 #include "confdefs.h" | 3570 #include "confdefs.h" |
3540 /* System header to define __stub macros and hopefully few prototypes, | 3571 /* System header to define __stub macros and hopefully few prototypes, |
3541 which can conflict with char malloc_get_state(); below. */ | 3572 which can conflict with char malloc_get_state(); below. */ |
3542 #include <assert.h> | 3573 #include <assert.h> |
3543 /* Override any gcc2 internal prototype to avoid an error. */ | 3574 /* Override any gcc2 internal prototype to avoid an error. */ |
3556 malloc_get_state(); | 3587 malloc_get_state(); |
3557 #endif | 3588 #endif |
3558 | 3589 |
3559 ; return 0; } | 3590 ; return 0; } |
3560 EOF | 3591 EOF |
3561 if { (eval echo configure:3562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3592 if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3562 rm -rf conftest* | 3593 rm -rf conftest* |
3563 eval "ac_cv_func_malloc_get_state=yes" | 3594 eval "ac_cv_func_malloc_get_state=yes" |
3564 else | 3595 else |
3565 echo "configure: failed program was:" >&5 | 3596 echo "configure: failed program was:" >&5 |
3566 cat conftest.$ac_ext >&5 | 3597 cat conftest.$ac_ext >&5 |
3577 echo "$ac_t""no" 1>&6 | 3608 echo "$ac_t""no" 1>&6 |
3578 doug_lea_malloc=no | 3609 doug_lea_malloc=no |
3579 fi | 3610 fi |
3580 | 3611 |
3581 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3612 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3582 echo "configure:3583: checking for malloc_set_state" >&5 | 3613 echo "configure:3614: checking for malloc_set_state" >&5 |
3583 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3614 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
3584 echo $ac_n "(cached) $ac_c" 1>&6 | 3615 echo $ac_n "(cached) $ac_c" 1>&6 |
3585 else | 3616 else |
3586 cat > conftest.$ac_ext <<EOF | 3617 cat > conftest.$ac_ext <<EOF |
3587 #line 3588 "configure" | 3618 #line 3619 "configure" |
3588 #include "confdefs.h" | 3619 #include "confdefs.h" |
3589 /* System header to define __stub macros and hopefully few prototypes, | 3620 /* System header to define __stub macros and hopefully few prototypes, |
3590 which can conflict with char malloc_set_state(); below. */ | 3621 which can conflict with char malloc_set_state(); below. */ |
3591 #include <assert.h> | 3622 #include <assert.h> |
3592 /* Override any gcc2 internal prototype to avoid an error. */ | 3623 /* Override any gcc2 internal prototype to avoid an error. */ |
3605 malloc_set_state(); | 3636 malloc_set_state(); |
3606 #endif | 3637 #endif |
3607 | 3638 |
3608 ; return 0; } | 3639 ; return 0; } |
3609 EOF | 3640 EOF |
3610 if { (eval echo configure:3611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3611 rm -rf conftest* | 3642 rm -rf conftest* |
3612 eval "ac_cv_func_malloc_set_state=yes" | 3643 eval "ac_cv_func_malloc_set_state=yes" |
3613 else | 3644 else |
3614 echo "configure: failed program was:" >&5 | 3645 echo "configure: failed program was:" >&5 |
3615 cat conftest.$ac_ext >&5 | 3646 cat conftest.$ac_ext >&5 |
3626 echo "$ac_t""no" 1>&6 | 3657 echo "$ac_t""no" 1>&6 |
3627 doug_lea_malloc=no | 3658 doug_lea_malloc=no |
3628 fi | 3659 fi |
3629 | 3660 |
3630 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3661 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3631 echo "configure:3632: checking whether __after_morecore_hook exists" >&5 | 3662 echo "configure:3663: checking whether __after_morecore_hook exists" >&5 |
3632 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3663 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
3633 echo $ac_n "(cached) $ac_c" 1>&6 | 3664 echo $ac_n "(cached) $ac_c" 1>&6 |
3634 else | 3665 else |
3635 cat > conftest.$ac_ext <<EOF | 3666 cat > conftest.$ac_ext <<EOF |
3636 #line 3637 "configure" | 3667 #line 3668 "configure" |
3637 #include "confdefs.h" | 3668 #include "confdefs.h" |
3638 extern void (* __after_morecore_hook)(); | 3669 extern void (* __after_morecore_hook)(); |
3639 int main() { | 3670 int main() { |
3640 __after_morecore_hook = 0 | 3671 __after_morecore_hook = 0 |
3641 ; return 0; } | 3672 ; return 0; } |
3642 EOF | 3673 EOF |
3643 if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3674 if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3644 rm -rf conftest* | 3675 rm -rf conftest* |
3645 emacs_cv_var___after_morecore_hook=yes | 3676 emacs_cv_var___after_morecore_hook=yes |
3646 else | 3677 else |
3647 echo "configure: failed program was:" >&5 | 3678 echo "configure: failed program was:" >&5 |
3648 cat conftest.$ac_ext >&5 | 3679 cat conftest.$ac_ext >&5 |
3685 fi | 3716 fi |
3686 | 3717 |
3687 LIBS="$libsrc_libs $LIBS" | 3718 LIBS="$libsrc_libs $LIBS" |
3688 | 3719 |
3689 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3720 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3690 echo "configure:3691: checking for dnet_ntoa in -ldnet" >&5 | 3721 echo "configure:3722: checking for dnet_ntoa in -ldnet" >&5 |
3691 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3722 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3692 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3693 echo $ac_n "(cached) $ac_c" 1>&6 | 3724 echo $ac_n "(cached) $ac_c" 1>&6 |
3694 else | 3725 else |
3695 ac_save_LIBS="$LIBS" | 3726 ac_save_LIBS="$LIBS" |
3696 LIBS="-ldnet $LIBS" | 3727 LIBS="-ldnet $LIBS" |
3697 cat > conftest.$ac_ext <<EOF | 3728 cat > conftest.$ac_ext <<EOF |
3698 #line 3699 "configure" | 3729 #line 3730 "configure" |
3699 #include "confdefs.h" | 3730 #include "confdefs.h" |
3700 /* Override any gcc2 internal prototype to avoid an error. */ | 3731 /* Override any gcc2 internal prototype to avoid an error. */ |
3701 /* We use char because int might match the return type of a gcc2 | 3732 /* We use char because int might match the return type of a gcc2 |
3702 builtin and then its argument prototype would still apply. */ | 3733 builtin and then its argument prototype would still apply. */ |
3703 char dnet_ntoa(); | 3734 char dnet_ntoa(); |
3704 | 3735 |
3705 int main() { | 3736 int main() { |
3706 dnet_ntoa() | 3737 dnet_ntoa() |
3707 ; return 0; } | 3738 ; return 0; } |
3708 EOF | 3739 EOF |
3709 if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3740 if { (eval echo configure:3741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3710 rm -rf conftest* | 3741 rm -rf conftest* |
3711 eval "ac_cv_lib_$ac_lib_var=yes" | 3742 eval "ac_cv_lib_$ac_lib_var=yes" |
3712 else | 3743 else |
3713 echo "configure: failed program was:" >&5 | 3744 echo "configure: failed program was:" >&5 |
3714 cat conftest.$ac_ext >&5 | 3745 cat conftest.$ac_ext >&5 |
3733 echo "$ac_t""no" 1>&6 | 3764 echo "$ac_t""no" 1>&6 |
3734 fi | 3765 fi |
3735 | 3766 |
3736 | 3767 |
3737 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3768 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
3738 echo "configure:3739: checking for main in -lXbsd" >&5 | 3769 echo "configure:3770: checking for main in -lXbsd" >&5 |
3739 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3770 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
3740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3741 echo $ac_n "(cached) $ac_c" 1>&6 | 3772 echo $ac_n "(cached) $ac_c" 1>&6 |
3742 else | 3773 else |
3743 ac_save_LIBS="$LIBS" | 3774 ac_save_LIBS="$LIBS" |
3744 LIBS="-lXbsd $LIBS" | 3775 LIBS="-lXbsd $LIBS" |
3745 cat > conftest.$ac_ext <<EOF | 3776 cat > conftest.$ac_ext <<EOF |
3746 #line 3747 "configure" | 3777 #line 3778 "configure" |
3747 #include "confdefs.h" | 3778 #include "confdefs.h" |
3748 | 3779 |
3749 int main() { | 3780 int main() { |
3750 main() | 3781 main() |
3751 ; return 0; } | 3782 ; return 0; } |
3752 EOF | 3783 EOF |
3753 if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3784 if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3754 rm -rf conftest* | 3785 rm -rf conftest* |
3755 eval "ac_cv_lib_$ac_lib_var=yes" | 3786 eval "ac_cv_lib_$ac_lib_var=yes" |
3756 else | 3787 else |
3757 echo "configure: failed program was:" >&5 | 3788 echo "configure: failed program was:" >&5 |
3758 cat conftest.$ac_ext >&5 | 3789 cat conftest.$ac_ext >&5 |
3770 echo "$ac_t""no" 1>&6 | 3801 echo "$ac_t""no" 1>&6 |
3771 fi | 3802 fi |
3772 | 3803 |
3773 | 3804 |
3774 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3805 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3775 echo "configure:3776: checking for cma_open in -lpthreads" >&5 | 3806 echo "configure:3807: checking for cma_open in -lpthreads" >&5 |
3776 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3807 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3777 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3808 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3778 echo $ac_n "(cached) $ac_c" 1>&6 | 3809 echo $ac_n "(cached) $ac_c" 1>&6 |
3779 else | 3810 else |
3780 ac_save_LIBS="$LIBS" | 3811 ac_save_LIBS="$LIBS" |
3781 LIBS="-lpthreads $LIBS" | 3812 LIBS="-lpthreads $LIBS" |
3782 cat > conftest.$ac_ext <<EOF | 3813 cat > conftest.$ac_ext <<EOF |
3783 #line 3784 "configure" | 3814 #line 3815 "configure" |
3784 #include "confdefs.h" | 3815 #include "confdefs.h" |
3785 /* Override any gcc2 internal prototype to avoid an error. */ | 3816 /* Override any gcc2 internal prototype to avoid an error. */ |
3786 /* We use char because int might match the return type of a gcc2 | 3817 /* We use char because int might match the return type of a gcc2 |
3787 builtin and then its argument prototype would still apply. */ | 3818 builtin and then its argument prototype would still apply. */ |
3788 char cma_open(); | 3819 char cma_open(); |
3789 | 3820 |
3790 int main() { | 3821 int main() { |
3791 cma_open() | 3822 cma_open() |
3792 ; return 0; } | 3823 ; return 0; } |
3793 EOF | 3824 EOF |
3794 if { (eval echo configure:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3825 if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3795 rm -rf conftest* | 3826 rm -rf conftest* |
3796 eval "ac_cv_lib_$ac_lib_var=yes" | 3827 eval "ac_cv_lib_$ac_lib_var=yes" |
3797 else | 3828 else |
3798 echo "configure: failed program was:" >&5 | 3829 echo "configure: failed program was:" >&5 |
3799 cat conftest.$ac_ext >&5 | 3830 cat conftest.$ac_ext >&5 |
3818 echo "$ac_t""no" 1>&6 | 3849 echo "$ac_t""no" 1>&6 |
3819 fi | 3850 fi |
3820 | 3851 |
3821 | 3852 |
3822 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3853 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
3823 echo "configure:3824: checking for XFree86 in /usr/X386" >&5 | 3854 echo "configure:3855: checking for XFree86 in /usr/X386" >&5 |
3824 if test -d /usr/X386/include; then | 3855 if test -d /usr/X386/include; then |
3825 HAVE_XFREE386=yes | 3856 HAVE_XFREE386=yes |
3826 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3857 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
3827 else | 3858 else |
3828 HAVE_XFREE386=no | 3859 HAVE_XFREE386=no |
3847 export LD_RUN_PATH | 3878 export LD_RUN_PATH |
3848 fi | 3879 fi |
3849 | 3880 |
3850 if test "${opsys}" = "gnu-linux"; then | 3881 if test "${opsys}" = "gnu-linux"; then |
3851 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3882 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
3852 echo "configure:3853: checking whether X on GNU/Linux needs -b to link" >&5 | 3883 echo "configure:3884: checking whether X on GNU/Linux needs -b to link" >&5 |
3853 cat > conftest.$ac_ext <<EOF | 3884 cat > conftest.$ac_ext <<EOF |
3854 #line 3855 "configure" | 3885 #line 3886 "configure" |
3855 #include "confdefs.h" | 3886 #include "confdefs.h" |
3856 | 3887 |
3857 int main() { | 3888 int main() { |
3858 XOpenDisplay ("foo"); | 3889 XOpenDisplay ("foo"); |
3859 ; return 0; } | 3890 ; return 0; } |
3860 EOF | 3891 EOF |
3861 if { (eval echo configure:3862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3892 if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3862 rm -rf conftest* | 3893 rm -rf conftest* |
3863 xlinux_first_failure=no | 3894 xlinux_first_failure=no |
3864 else | 3895 else |
3865 echo "configure: failed program was:" >&5 | 3896 echo "configure: failed program was:" >&5 |
3866 cat conftest.$ac_ext >&5 | 3897 cat conftest.$ac_ext >&5 |
3876 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 3907 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
3877 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 3908 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
3878 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3909 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
3879 LIBS="$LIBS -b i486-linuxaout" | 3910 LIBS="$LIBS -b i486-linuxaout" |
3880 cat > conftest.$ac_ext <<EOF | 3911 cat > conftest.$ac_ext <<EOF |
3881 #line 3882 "configure" | 3912 #line 3913 "configure" |
3882 #include "confdefs.h" | 3913 #include "confdefs.h" |
3883 | 3914 |
3884 int main() { | 3915 int main() { |
3885 XOpenDisplay ("foo"); | 3916 XOpenDisplay ("foo"); |
3886 ; return 0; } | 3917 ; return 0; } |
3887 EOF | 3918 EOF |
3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3919 if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3889 rm -rf conftest* | 3920 rm -rf conftest* |
3890 xlinux_second_failure=no | 3921 xlinux_second_failure=no |
3891 else | 3922 else |
3892 echo "configure: failed program was:" >&5 | 3923 echo "configure: failed program was:" >&5 |
3893 cat conftest.$ac_ext >&5 | 3924 cat conftest.$ac_ext >&5 |
3913 | 3944 |
3914 for ac_func in XrmSetDatabase XScreenResourceString \ | 3945 for ac_func in XrmSetDatabase XScreenResourceString \ |
3915 XScreenNumberOfScreen XSetWMProtocols | 3946 XScreenNumberOfScreen XSetWMProtocols |
3916 do | 3947 do |
3917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3918 echo "configure:3919: checking for $ac_func" >&5 | 3949 echo "configure:3950: checking for $ac_func" >&5 |
3919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3920 echo $ac_n "(cached) $ac_c" 1>&6 | 3951 echo $ac_n "(cached) $ac_c" 1>&6 |
3921 else | 3952 else |
3922 cat > conftest.$ac_ext <<EOF | 3953 cat > conftest.$ac_ext <<EOF |
3923 #line 3924 "configure" | 3954 #line 3955 "configure" |
3924 #include "confdefs.h" | 3955 #include "confdefs.h" |
3925 /* System header to define __stub macros and hopefully few prototypes, | 3956 /* System header to define __stub macros and hopefully few prototypes, |
3926 which can conflict with char $ac_func(); below. */ | 3957 which can conflict with char $ac_func(); below. */ |
3927 #include <assert.h> | 3958 #include <assert.h> |
3928 /* Override any gcc2 internal prototype to avoid an error. */ | 3959 /* Override any gcc2 internal prototype to avoid an error. */ |
3941 $ac_func(); | 3972 $ac_func(); |
3942 #endif | 3973 #endif |
3943 | 3974 |
3944 ; return 0; } | 3975 ; return 0; } |
3945 EOF | 3976 EOF |
3946 if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3977 if { (eval echo configure:3978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3947 rm -rf conftest* | 3978 rm -rf conftest* |
3948 eval "ac_cv_func_$ac_func=yes" | 3979 eval "ac_cv_func_$ac_func=yes" |
3949 else | 3980 else |
3950 echo "configure: failed program was:" >&5 | 3981 echo "configure: failed program was:" >&5 |
3951 cat conftest.$ac_ext >&5 | 3982 cat conftest.$ac_ext >&5 |
3969 | 4000 |
3970 fi | 4001 fi |
3971 | 4002 |
3972 if test "${window_system}" = "x11"; then | 4003 if test "${window_system}" = "x11"; then |
3973 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 4004 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
3974 echo "configure:3975: checking X11 version 6" >&5 | 4005 echo "configure:4006: checking X11 version 6" >&5 |
3975 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 4006 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
3976 echo $ac_n "(cached) $ac_c" 1>&6 | 4007 echo $ac_n "(cached) $ac_c" 1>&6 |
3977 else | 4008 else |
3978 cat > conftest.$ac_ext <<EOF | 4009 cat > conftest.$ac_ext <<EOF |
3979 #line 3980 "configure" | 4010 #line 4011 "configure" |
3980 #include "confdefs.h" | 4011 #include "confdefs.h" |
3981 #include <X11/Xlib.h> | 4012 #include <X11/Xlib.h> |
3982 int main() { | 4013 int main() { |
3983 #if XlibSpecificationRelease < 6 | 4014 #if XlibSpecificationRelease < 6 |
3984 fail; | 4015 fail; |
3985 #endif | 4016 #endif |
3986 | 4017 |
3987 ; return 0; } | 4018 ; return 0; } |
3988 EOF | 4019 EOF |
3989 if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4020 if { (eval echo configure:4021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3990 rm -rf conftest* | 4021 rm -rf conftest* |
3991 emacs_cv_x11_version_6=yes | 4022 emacs_cv_x11_version_6=yes |
3992 else | 4023 else |
3993 echo "configure: failed program was:" >&5 | 4024 echo "configure: failed program was:" >&5 |
3994 cat conftest.$ac_ext >&5 | 4025 cat conftest.$ac_ext >&5 |
4009 fi | 4040 fi |
4010 fi | 4041 fi |
4011 | 4042 |
4012 if test "${window_system}" = "x11"; then | 4043 if test "${window_system}" = "x11"; then |
4013 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 4044 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
4014 echo "configure:4015: checking X11 version 5" >&5 | 4045 echo "configure:4046: checking X11 version 5" >&5 |
4015 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 4046 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
4016 echo $ac_n "(cached) $ac_c" 1>&6 | 4047 echo $ac_n "(cached) $ac_c" 1>&6 |
4017 else | 4048 else |
4018 cat > conftest.$ac_ext <<EOF | 4049 cat > conftest.$ac_ext <<EOF |
4019 #line 4020 "configure" | 4050 #line 4051 "configure" |
4020 #include "confdefs.h" | 4051 #include "confdefs.h" |
4021 #include <X11/Xlib.h> | 4052 #include <X11/Xlib.h> |
4022 int main() { | 4053 int main() { |
4023 #if XlibSpecificationRelease < 5 | 4054 #if XlibSpecificationRelease < 5 |
4024 fail; | 4055 fail; |
4025 #endif | 4056 #endif |
4026 | 4057 |
4027 ; return 0; } | 4058 ; return 0; } |
4028 EOF | 4059 EOF |
4029 if { (eval echo configure:4030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4060 if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4030 rm -rf conftest* | 4061 rm -rf conftest* |
4031 emacs_cv_x11_version_5=yes | 4062 emacs_cv_x11_version_5=yes |
4032 else | 4063 else |
4033 echo "configure: failed program was:" >&5 | 4064 echo "configure: failed program was:" >&5 |
4034 cat conftest.$ac_ext >&5 | 4065 cat conftest.$ac_ext >&5 |
4052 fi | 4083 fi |
4053 | 4084 |
4054 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 4085 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
4055 if test x"${HAVE_X11R5}" = xyes; then | 4086 if test x"${HAVE_X11R5}" = xyes; then |
4056 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 4087 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
4057 echo "configure:4058: checking X11 version 5 with Xaw" >&5 | 4088 echo "configure:4089: checking X11 version 5 with Xaw" >&5 |
4058 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 4089 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
4059 echo $ac_n "(cached) $ac_c" 1>&6 | 4090 echo $ac_n "(cached) $ac_c" 1>&6 |
4060 else | 4091 else |
4061 cat > conftest.$ac_ext <<EOF | 4092 cat > conftest.$ac_ext <<EOF |
4062 #line 4063 "configure" | 4093 #line 4094 "configure" |
4063 #include "confdefs.h" | 4094 #include "confdefs.h" |
4064 | 4095 |
4065 #include <X11/Intrinsic.h> | 4096 #include <X11/Intrinsic.h> |
4066 #include <X11/Xaw/Simple.h> | 4097 #include <X11/Xaw/Simple.h> |
4067 int main() { | 4098 int main() { |
4068 | 4099 |
4069 ; return 0; } | 4100 ; return 0; } |
4070 EOF | 4101 EOF |
4071 if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4102 if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4072 rm -rf conftest* | 4103 rm -rf conftest* |
4073 emacs_cv_x11_version_5_with_xaw=yes | 4104 emacs_cv_x11_version_5_with_xaw=yes |
4074 else | 4105 else |
4075 echo "configure: failed program was:" >&5 | 4106 echo "configure: failed program was:" >&5 |
4076 cat conftest.$ac_ext >&5 | 4107 cat conftest.$ac_ext >&5 |
4094 | 4125 |
4095 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 4126 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
4096 | 4127 |
4097 if test "${USE_X_TOOLKIT}" != "none"; then | 4128 if test "${USE_X_TOOLKIT}" != "none"; then |
4098 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 4129 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
4099 echo "configure:4100: checking X11 toolkit version" >&5 | 4130 echo "configure:4131: checking X11 toolkit version" >&5 |
4100 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 4131 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
4101 echo $ac_n "(cached) $ac_c" 1>&6 | 4132 echo $ac_n "(cached) $ac_c" 1>&6 |
4102 else | 4133 else |
4103 cat > conftest.$ac_ext <<EOF | 4134 cat > conftest.$ac_ext <<EOF |
4104 #line 4105 "configure" | 4135 #line 4136 "configure" |
4105 #include "confdefs.h" | 4136 #include "confdefs.h" |
4106 #include <X11/Intrinsic.h> | 4137 #include <X11/Intrinsic.h> |
4107 int main() { | 4138 int main() { |
4108 #if XtSpecificationRelease < 6 | 4139 #if XtSpecificationRelease < 6 |
4109 fail; | 4140 fail; |
4110 #endif | 4141 #endif |
4111 | 4142 |
4112 ; return 0; } | 4143 ; return 0; } |
4113 EOF | 4144 EOF |
4114 if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4145 if { (eval echo configure:4146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4115 rm -rf conftest* | 4146 rm -rf conftest* |
4116 emacs_cv_x11_toolkit_version_6=yes | 4147 emacs_cv_x11_toolkit_version_6=yes |
4117 else | 4148 else |
4118 echo "configure: failed program was:" >&5 | 4149 echo "configure: failed program was:" >&5 |
4119 cat conftest.$ac_ext >&5 | 4150 cat conftest.$ac_ext >&5 |
4139 LIBS="-lXt -lSM -lICE $LIBS" | 4170 LIBS="-lXt -lSM -lICE $LIBS" |
4140 else | 4171 else |
4141 LIBS="-lXt $LIBS" | 4172 LIBS="-lXt $LIBS" |
4142 fi | 4173 fi |
4143 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4174 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
4144 echo "configure:4145: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4175 echo "configure:4176: checking for XmuConvertStandardSelection in -lXmu" >&5 |
4145 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4176 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
4146 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4147 echo $ac_n "(cached) $ac_c" 1>&6 | 4178 echo $ac_n "(cached) $ac_c" 1>&6 |
4148 else | 4179 else |
4149 ac_save_LIBS="$LIBS" | 4180 ac_save_LIBS="$LIBS" |
4150 LIBS="-lXmu $LIBS" | 4181 LIBS="-lXmu $LIBS" |
4151 cat > conftest.$ac_ext <<EOF | 4182 cat > conftest.$ac_ext <<EOF |
4152 #line 4153 "configure" | 4183 #line 4184 "configure" |
4153 #include "confdefs.h" | 4184 #include "confdefs.h" |
4154 /* Override any gcc2 internal prototype to avoid an error. */ | 4185 /* Override any gcc2 internal prototype to avoid an error. */ |
4155 /* We use char because int might match the return type of a gcc2 | 4186 /* We use char because int might match the return type of a gcc2 |
4156 builtin and then its argument prototype would still apply. */ | 4187 builtin and then its argument prototype would still apply. */ |
4157 char XmuConvertStandardSelection(); | 4188 char XmuConvertStandardSelection(); |
4158 | 4189 |
4159 int main() { | 4190 int main() { |
4160 XmuConvertStandardSelection() | 4191 XmuConvertStandardSelection() |
4161 ; return 0; } | 4192 ; return 0; } |
4162 EOF | 4193 EOF |
4163 if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4194 if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4164 rm -rf conftest* | 4195 rm -rf conftest* |
4165 eval "ac_cv_lib_$ac_lib_var=yes" | 4196 eval "ac_cv_lib_$ac_lib_var=yes" |
4166 else | 4197 else |
4167 echo "configure: failed program was:" >&5 | 4198 echo "configure: failed program was:" >&5 |
4168 cat conftest.$ac_ext >&5 | 4199 cat conftest.$ac_ext >&5 |
4190 LIBS="$OLDLIBS" | 4221 LIBS="$OLDLIBS" |
4191 fi | 4222 fi |
4192 | 4223 |
4193 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 4224 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
4194 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 4225 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
4195 echo "configure:4196: checking for Motif version 2.1" >&5 | 4226 echo "configure:4227: checking for Motif version 2.1" >&5 |
4196 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4227 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
4197 echo $ac_n "(cached) $ac_c" 1>&6 | 4228 echo $ac_n "(cached) $ac_c" 1>&6 |
4198 else | 4229 else |
4199 cat > conftest.$ac_ext <<EOF | 4230 cat > conftest.$ac_ext <<EOF |
4200 #line 4201 "configure" | 4231 #line 4232 "configure" |
4201 #include "confdefs.h" | 4232 #include "confdefs.h" |
4202 #include <Xm/Xm.h> | 4233 #include <Xm/Xm.h> |
4203 int main() { | 4234 int main() { |
4204 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 4235 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
4205 int x = 5; | 4236 int x = 5; |
4206 #else | 4237 #else |
4207 Motif version prior to 2.1. | 4238 Motif version prior to 2.1. |
4208 #endif | 4239 #endif |
4209 ; return 0; } | 4240 ; return 0; } |
4210 EOF | 4241 EOF |
4211 if { (eval echo configure:4212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4242 if { (eval echo configure:4243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4212 rm -rf conftest* | 4243 rm -rf conftest* |
4213 emacs_cv_motif_version_2_1=yes | 4244 emacs_cv_motif_version_2_1=yes |
4214 else | 4245 else |
4215 echo "configure: failed program was:" >&5 | 4246 echo "configure: failed program was:" >&5 |
4216 cat conftest.$ac_ext >&5 | 4247 cat conftest.$ac_ext >&5 |
4226 cat >> confdefs.h <<\EOF | 4257 cat >> confdefs.h <<\EOF |
4227 #define HAVE_MOTIF_2_1 1 | 4258 #define HAVE_MOTIF_2_1 1 |
4228 EOF | 4259 EOF |
4229 | 4260 |
4230 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4261 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
4231 echo "configure:4232: checking for XpCreateContext in -lXp" >&5 | 4262 echo "configure:4263: checking for XpCreateContext in -lXp" >&5 |
4232 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4263 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
4233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4264 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4234 echo $ac_n "(cached) $ac_c" 1>&6 | 4265 echo $ac_n "(cached) $ac_c" 1>&6 |
4235 else | 4266 else |
4236 ac_save_LIBS="$LIBS" | 4267 ac_save_LIBS="$LIBS" |
4237 LIBS="-lXp $LIBS" | 4268 LIBS="-lXp $LIBS" |
4238 cat > conftest.$ac_ext <<EOF | 4269 cat > conftest.$ac_ext <<EOF |
4239 #line 4240 "configure" | 4270 #line 4271 "configure" |
4240 #include "confdefs.h" | 4271 #include "confdefs.h" |
4241 /* Override any gcc2 internal prototype to avoid an error. */ | 4272 /* Override any gcc2 internal prototype to avoid an error. */ |
4242 /* We use char because int might match the return type of a gcc2 | 4273 /* We use char because int might match the return type of a gcc2 |
4243 builtin and then its argument prototype would still apply. */ | 4274 builtin and then its argument prototype would still apply. */ |
4244 char XpCreateContext(); | 4275 char XpCreateContext(); |
4245 | 4276 |
4246 int main() { | 4277 int main() { |
4247 XpCreateContext() | 4278 XpCreateContext() |
4248 ; return 0; } | 4279 ; return 0; } |
4249 EOF | 4280 EOF |
4250 if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4251 rm -rf conftest* | 4282 rm -rf conftest* |
4252 eval "ac_cv_lib_$ac_lib_var=yes" | 4283 eval "ac_cv_lib_$ac_lib_var=yes" |
4253 else | 4284 else |
4254 echo "configure: failed program was:" >&5 | 4285 echo "configure: failed program was:" >&5 |
4255 cat conftest.$ac_ext >&5 | 4286 cat conftest.$ac_ext >&5 |
4283 if test "${USE_X_TOOLKIT}" != "none"; then | 4314 if test "${USE_X_TOOLKIT}" != "none"; then |
4284 old_c_flags="${CFLAGS}" | 4315 old_c_flags="${CFLAGS}" |
4285 CFLAGS="${LD_SWITCH_X_SITE}" | 4316 CFLAGS="${LD_SWITCH_X_SITE}" |
4286 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4317 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
4287 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4318 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
4288 echo "configure:4289: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4319 echo "configure:4320: checking for X11/Xaw3d/Scrollbar.h" >&5 |
4289 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4320 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4290 echo $ac_n "(cached) $ac_c" 1>&6 | 4321 echo $ac_n "(cached) $ac_c" 1>&6 |
4291 else | 4322 else |
4292 cat > conftest.$ac_ext <<EOF | 4323 cat > conftest.$ac_ext <<EOF |
4293 #line 4294 "configure" | 4324 #line 4325 "configure" |
4294 #include "confdefs.h" | 4325 #include "confdefs.h" |
4295 #include <X11/Xaw3d/Scrollbar.h> | 4326 #include <X11/Xaw3d/Scrollbar.h> |
4296 EOF | 4327 EOF |
4297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4298 { (eval echo configure:4299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4329 { (eval echo configure:4330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4300 if test -z "$ac_err"; then | 4331 if test -z "$ac_err"; then |
4301 rm -rf conftest* | 4332 rm -rf conftest* |
4302 eval "ac_cv_header_$ac_safe=yes" | 4333 eval "ac_cv_header_$ac_safe=yes" |
4303 else | 4334 else |
4310 rm -f conftest* | 4341 rm -f conftest* |
4311 fi | 4342 fi |
4312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4313 echo "$ac_t""yes" 1>&6 | 4344 echo "$ac_t""yes" 1>&6 |
4314 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4345 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
4315 echo "configure:4316: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4346 echo "configure:4347: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
4316 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4347 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4348 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4318 echo $ac_n "(cached) $ac_c" 1>&6 | 4349 echo $ac_n "(cached) $ac_c" 1>&6 |
4319 else | 4350 else |
4320 ac_save_LIBS="$LIBS" | 4351 ac_save_LIBS="$LIBS" |
4321 LIBS="-lXaw3d -lX11 $LIBS" | 4352 LIBS="-lXaw3d -lX11 $LIBS" |
4322 cat > conftest.$ac_ext <<EOF | 4353 cat > conftest.$ac_ext <<EOF |
4323 #line 4324 "configure" | 4354 #line 4355 "configure" |
4324 #include "confdefs.h" | 4355 #include "confdefs.h" |
4325 /* Override any gcc2 internal prototype to avoid an error. */ | 4356 /* Override any gcc2 internal prototype to avoid an error. */ |
4326 /* We use char because int might match the return type of a gcc2 | 4357 /* We use char because int might match the return type of a gcc2 |
4327 builtin and then its argument prototype would still apply. */ | 4358 builtin and then its argument prototype would still apply. */ |
4328 char XawScrollbarSetThumb(); | 4359 char XawScrollbarSetThumb(); |
4329 | 4360 |
4330 int main() { | 4361 int main() { |
4331 XawScrollbarSetThumb() | 4362 XawScrollbarSetThumb() |
4332 ; return 0; } | 4363 ; return 0; } |
4333 EOF | 4364 EOF |
4334 if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4335 rm -rf conftest* | 4366 rm -rf conftest* |
4336 eval "ac_cv_lib_$ac_lib_var=yes" | 4367 eval "ac_cv_lib_$ac_lib_var=yes" |
4337 else | 4368 else |
4338 echo "configure: failed program was:" >&5 | 4369 echo "configure: failed program was:" >&5 |
4339 cat conftest.$ac_ext >&5 | 4370 cat conftest.$ac_ext >&5 |
4393 if test "${with_xpm}" != "no"; then | 4424 if test "${with_xpm}" != "no"; then |
4394 old_c_flags="${CFLAGS}" | 4425 old_c_flags="${CFLAGS}" |
4395 CFLAGS="${LD_SWITCH_X_SITE}" | 4426 CFLAGS="${LD_SWITCH_X_SITE}" |
4396 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4427 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
4397 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4428 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
4398 echo "configure:4399: checking for X11/xpm.h" >&5 | 4429 echo "configure:4430: checking for X11/xpm.h" >&5 |
4399 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4430 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4400 echo $ac_n "(cached) $ac_c" 1>&6 | 4431 echo $ac_n "(cached) $ac_c" 1>&6 |
4401 else | 4432 else |
4402 cat > conftest.$ac_ext <<EOF | 4433 cat > conftest.$ac_ext <<EOF |
4403 #line 4404 "configure" | 4434 #line 4435 "configure" |
4404 #include "confdefs.h" | 4435 #include "confdefs.h" |
4405 #include <X11/xpm.h> | 4436 #include <X11/xpm.h> |
4406 EOF | 4437 EOF |
4407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4408 { (eval echo configure:4409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4439 { (eval echo configure:4440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4410 if test -z "$ac_err"; then | 4441 if test -z "$ac_err"; then |
4411 rm -rf conftest* | 4442 rm -rf conftest* |
4412 eval "ac_cv_header_$ac_safe=yes" | 4443 eval "ac_cv_header_$ac_safe=yes" |
4413 else | 4444 else |
4420 rm -f conftest* | 4451 rm -f conftest* |
4421 fi | 4452 fi |
4422 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4453 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4423 echo "$ac_t""yes" 1>&6 | 4454 echo "$ac_t""yes" 1>&6 |
4424 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4455 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4425 echo "configure:4426: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4456 echo "configure:4457: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4426 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4457 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4427 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4428 echo $ac_n "(cached) $ac_c" 1>&6 | 4459 echo $ac_n "(cached) $ac_c" 1>&6 |
4429 else | 4460 else |
4430 ac_save_LIBS="$LIBS" | 4461 ac_save_LIBS="$LIBS" |
4431 LIBS="-lXpm -lX11 $LIBS" | 4462 LIBS="-lXpm -lX11 $LIBS" |
4432 cat > conftest.$ac_ext <<EOF | 4463 cat > conftest.$ac_ext <<EOF |
4433 #line 4434 "configure" | 4464 #line 4465 "configure" |
4434 #include "confdefs.h" | 4465 #include "confdefs.h" |
4435 /* Override any gcc2 internal prototype to avoid an error. */ | 4466 /* Override any gcc2 internal prototype to avoid an error. */ |
4436 /* We use char because int might match the return type of a gcc2 | 4467 /* We use char because int might match the return type of a gcc2 |
4437 builtin and then its argument prototype would still apply. */ | 4468 builtin and then its argument prototype would still apply. */ |
4438 char XpmReadFileToPixmap(); | 4469 char XpmReadFileToPixmap(); |
4439 | 4470 |
4440 int main() { | 4471 int main() { |
4441 XpmReadFileToPixmap() | 4472 XpmReadFileToPixmap() |
4442 ; return 0; } | 4473 ; return 0; } |
4443 EOF | 4474 EOF |
4444 if { (eval echo configure:4445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4475 if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4445 rm -rf conftest* | 4476 rm -rf conftest* |
4446 eval "ac_cv_lib_$ac_lib_var=yes" | 4477 eval "ac_cv_lib_$ac_lib_var=yes" |
4447 else | 4478 else |
4448 echo "configure: failed program was:" >&5 | 4479 echo "configure: failed program was:" >&5 |
4449 cat conftest.$ac_ext >&5 | 4480 cat conftest.$ac_ext >&5 |
4482 if test "${with_jpeg}" != "no"; then | 4513 if test "${with_jpeg}" != "no"; then |
4483 old_c_flags="${CFLAGS}" | 4514 old_c_flags="${CFLAGS}" |
4484 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4515 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4485 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4516 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4486 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4517 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4487 echo "configure:4488: checking for jerror.h" >&5 | 4518 echo "configure:4519: checking for jerror.h" >&5 |
4488 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4489 echo $ac_n "(cached) $ac_c" 1>&6 | 4520 echo $ac_n "(cached) $ac_c" 1>&6 |
4490 else | 4521 else |
4491 cat > conftest.$ac_ext <<EOF | 4522 cat > conftest.$ac_ext <<EOF |
4492 #line 4493 "configure" | 4523 #line 4524 "configure" |
4493 #include "confdefs.h" | 4524 #include "confdefs.h" |
4494 #include <jerror.h> | 4525 #include <jerror.h> |
4495 EOF | 4526 EOF |
4496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4497 { (eval echo configure:4498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4528 { (eval echo configure:4529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4499 if test -z "$ac_err"; then | 4530 if test -z "$ac_err"; then |
4500 rm -rf conftest* | 4531 rm -rf conftest* |
4501 eval "ac_cv_header_$ac_safe=yes" | 4532 eval "ac_cv_header_$ac_safe=yes" |
4502 else | 4533 else |
4509 rm -f conftest* | 4540 rm -f conftest* |
4510 fi | 4541 fi |
4511 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4512 echo "$ac_t""yes" 1>&6 | 4543 echo "$ac_t""yes" 1>&6 |
4513 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4544 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
4514 echo "configure:4515: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4545 echo "configure:4546: checking for jpeg_destroy_compress in -ljpeg" >&5 |
4515 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4546 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
4516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4517 echo $ac_n "(cached) $ac_c" 1>&6 | 4548 echo $ac_n "(cached) $ac_c" 1>&6 |
4518 else | 4549 else |
4519 ac_save_LIBS="$LIBS" | 4550 ac_save_LIBS="$LIBS" |
4520 LIBS="-ljpeg -lX11 $LIBS" | 4551 LIBS="-ljpeg -lX11 $LIBS" |
4521 cat > conftest.$ac_ext <<EOF | 4552 cat > conftest.$ac_ext <<EOF |
4522 #line 4523 "configure" | 4553 #line 4554 "configure" |
4523 #include "confdefs.h" | 4554 #include "confdefs.h" |
4524 /* Override any gcc2 internal prototype to avoid an error. */ | 4555 /* Override any gcc2 internal prototype to avoid an error. */ |
4525 /* We use char because int might match the return type of a gcc2 | 4556 /* We use char because int might match the return type of a gcc2 |
4526 builtin and then its argument prototype would still apply. */ | 4557 builtin and then its argument prototype would still apply. */ |
4527 char jpeg_destroy_compress(); | 4558 char jpeg_destroy_compress(); |
4528 | 4559 |
4529 int main() { | 4560 int main() { |
4530 jpeg_destroy_compress() | 4561 jpeg_destroy_compress() |
4531 ; return 0; } | 4562 ; return 0; } |
4532 EOF | 4563 EOF |
4533 if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4534 rm -rf conftest* | 4565 rm -rf conftest* |
4535 eval "ac_cv_lib_$ac_lib_var=yes" | 4566 eval "ac_cv_lib_$ac_lib_var=yes" |
4536 else | 4567 else |
4537 echo "configure: failed program was:" >&5 | 4568 echo "configure: failed program was:" >&5 |
4538 cat conftest.$ac_ext >&5 | 4569 cat conftest.$ac_ext >&5 |
4571 if test "${with_png}" != "no"; then | 4602 if test "${with_png}" != "no"; then |
4572 old_c_flags="${CFLAGS}" | 4603 old_c_flags="${CFLAGS}" |
4573 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4604 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4574 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4605 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
4575 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4606 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
4576 echo "configure:4577: checking for png.h" >&5 | 4607 echo "configure:4608: checking for png.h" >&5 |
4577 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4578 echo $ac_n "(cached) $ac_c" 1>&6 | 4609 echo $ac_n "(cached) $ac_c" 1>&6 |
4579 else | 4610 else |
4580 cat > conftest.$ac_ext <<EOF | 4611 cat > conftest.$ac_ext <<EOF |
4581 #line 4582 "configure" | 4612 #line 4613 "configure" |
4582 #include "confdefs.h" | 4613 #include "confdefs.h" |
4583 #include <png.h> | 4614 #include <png.h> |
4584 EOF | 4615 EOF |
4585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4586 { (eval echo configure:4587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4617 { (eval echo configure:4618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4588 if test -z "$ac_err"; then | 4619 if test -z "$ac_err"; then |
4589 rm -rf conftest* | 4620 rm -rf conftest* |
4590 eval "ac_cv_header_$ac_safe=yes" | 4621 eval "ac_cv_header_$ac_safe=yes" |
4591 else | 4622 else |
4598 rm -f conftest* | 4629 rm -f conftest* |
4599 fi | 4630 fi |
4600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4631 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4601 echo "$ac_t""yes" 1>&6 | 4632 echo "$ac_t""yes" 1>&6 |
4602 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4633 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
4603 echo "configure:4604: checking for png_set_expand in -lpng" >&5 | 4634 echo "configure:4635: checking for png_set_expand in -lpng" >&5 |
4604 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4635 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
4605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4606 echo $ac_n "(cached) $ac_c" 1>&6 | 4637 echo $ac_n "(cached) $ac_c" 1>&6 |
4607 else | 4638 else |
4608 ac_save_LIBS="$LIBS" | 4639 ac_save_LIBS="$LIBS" |
4609 LIBS="-lpng -lX11 -lz -lm $LIBS" | 4640 LIBS="-lpng -lX11 -lz -lm $LIBS" |
4610 cat > conftest.$ac_ext <<EOF | 4641 cat > conftest.$ac_ext <<EOF |
4611 #line 4612 "configure" | 4642 #line 4643 "configure" |
4612 #include "confdefs.h" | 4643 #include "confdefs.h" |
4613 /* Override any gcc2 internal prototype to avoid an error. */ | 4644 /* Override any gcc2 internal prototype to avoid an error. */ |
4614 /* We use char because int might match the return type of a gcc2 | 4645 /* We use char because int might match the return type of a gcc2 |
4615 builtin and then its argument prototype would still apply. */ | 4646 builtin and then its argument prototype would still apply. */ |
4616 char png_set_expand(); | 4647 char png_set_expand(); |
4617 | 4648 |
4618 int main() { | 4649 int main() { |
4619 png_set_expand() | 4650 png_set_expand() |
4620 ; return 0; } | 4651 ; return 0; } |
4621 EOF | 4652 EOF |
4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4653 if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4623 rm -rf conftest* | 4654 rm -rf conftest* |
4624 eval "ac_cv_lib_$ac_lib_var=yes" | 4655 eval "ac_cv_lib_$ac_lib_var=yes" |
4625 else | 4656 else |
4626 echo "configure: failed program was:" >&5 | 4657 echo "configure: failed program was:" >&5 |
4627 cat conftest.$ac_ext >&5 | 4658 cat conftest.$ac_ext >&5 |
4660 if test "${with_tiff}" != "no"; then | 4691 if test "${with_tiff}" != "no"; then |
4661 old_c_flags="${CFLAGS}" | 4692 old_c_flags="${CFLAGS}" |
4662 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4693 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4663 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4694 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
4664 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4695 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
4665 echo "configure:4666: checking for tiffio.h" >&5 | 4696 echo "configure:4697: checking for tiffio.h" >&5 |
4666 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4667 echo $ac_n "(cached) $ac_c" 1>&6 | 4698 echo $ac_n "(cached) $ac_c" 1>&6 |
4668 else | 4699 else |
4669 cat > conftest.$ac_ext <<EOF | 4700 cat > conftest.$ac_ext <<EOF |
4670 #line 4671 "configure" | 4701 #line 4702 "configure" |
4671 #include "confdefs.h" | 4702 #include "confdefs.h" |
4672 #include <tiffio.h> | 4703 #include <tiffio.h> |
4673 EOF | 4704 EOF |
4674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4675 { (eval echo configure:4676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4706 { (eval echo configure:4707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4677 if test -z "$ac_err"; then | 4708 if test -z "$ac_err"; then |
4678 rm -rf conftest* | 4709 rm -rf conftest* |
4679 eval "ac_cv_header_$ac_safe=yes" | 4710 eval "ac_cv_header_$ac_safe=yes" |
4680 else | 4711 else |
4690 echo "$ac_t""yes" 1>&6 | 4721 echo "$ac_t""yes" 1>&6 |
4691 tifflibs="-lX11 -lz -lm" | 4722 tifflibs="-lX11 -lz -lm" |
4692 # At least one tiff package requires the jpeg library. | 4723 # At least one tiff package requires the jpeg library. |
4693 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 4724 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
4694 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4725 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
4695 echo "configure:4696: checking for TIFFGetVersion in -ltiff" >&5 | 4726 echo "configure:4727: checking for TIFFGetVersion in -ltiff" >&5 |
4696 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4727 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
4697 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4728 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4698 echo $ac_n "(cached) $ac_c" 1>&6 | 4729 echo $ac_n "(cached) $ac_c" 1>&6 |
4699 else | 4730 else |
4700 ac_save_LIBS="$LIBS" | 4731 ac_save_LIBS="$LIBS" |
4701 LIBS="-ltiff $tifflibs $LIBS" | 4732 LIBS="-ltiff $tifflibs $LIBS" |
4702 cat > conftest.$ac_ext <<EOF | 4733 cat > conftest.$ac_ext <<EOF |
4703 #line 4704 "configure" | 4734 #line 4735 "configure" |
4704 #include "confdefs.h" | 4735 #include "confdefs.h" |
4705 /* Override any gcc2 internal prototype to avoid an error. */ | 4736 /* Override any gcc2 internal prototype to avoid an error. */ |
4706 /* We use char because int might match the return type of a gcc2 | 4737 /* We use char because int might match the return type of a gcc2 |
4707 builtin and then its argument prototype would still apply. */ | 4738 builtin and then its argument prototype would still apply. */ |
4708 char TIFFGetVersion(); | 4739 char TIFFGetVersion(); |
4709 | 4740 |
4710 int main() { | 4741 int main() { |
4711 TIFFGetVersion() | 4742 TIFFGetVersion() |
4712 ; return 0; } | 4743 ; return 0; } |
4713 EOF | 4744 EOF |
4714 if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4745 if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4715 rm -rf conftest* | 4746 rm -rf conftest* |
4716 eval "ac_cv_lib_$ac_lib_var=yes" | 4747 eval "ac_cv_lib_$ac_lib_var=yes" |
4717 else | 4748 else |
4718 echo "configure: failed program was:" >&5 | 4749 echo "configure: failed program was:" >&5 |
4719 cat conftest.$ac_ext >&5 | 4750 cat conftest.$ac_ext >&5 |
4752 if test "${with_gif}" != "no"; then | 4783 if test "${with_gif}" != "no"; then |
4753 old_c_flags="${CFLAGS}" | 4784 old_c_flags="${CFLAGS}" |
4754 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4785 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4755 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4786 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
4756 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4787 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
4757 echo "configure:4758: checking for gif_lib.h" >&5 | 4788 echo "configure:4789: checking for gif_lib.h" >&5 |
4758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4789 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4759 echo $ac_n "(cached) $ac_c" 1>&6 | 4790 echo $ac_n "(cached) $ac_c" 1>&6 |
4760 else | 4791 else |
4761 cat > conftest.$ac_ext <<EOF | 4792 cat > conftest.$ac_ext <<EOF |
4762 #line 4763 "configure" | 4793 #line 4794 "configure" |
4763 #include "confdefs.h" | 4794 #include "confdefs.h" |
4764 #include <gif_lib.h> | 4795 #include <gif_lib.h> |
4765 EOF | 4796 EOF |
4766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4767 { (eval echo configure:4768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4798 { (eval echo configure:4799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4769 if test -z "$ac_err"; then | 4800 if test -z "$ac_err"; then |
4770 rm -rf conftest* | 4801 rm -rf conftest* |
4771 eval "ac_cv_header_$ac_safe=yes" | 4802 eval "ac_cv_header_$ac_safe=yes" |
4772 else | 4803 else |
4779 rm -f conftest* | 4810 rm -f conftest* |
4780 fi | 4811 fi |
4781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4782 echo "$ac_t""yes" 1>&6 | 4813 echo "$ac_t""yes" 1>&6 |
4783 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 4814 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
4784 echo "configure:4785: checking for DGifOpen in -lungif" >&5 | 4815 echo "configure:4816: checking for DGifOpen in -lungif" >&5 |
4785 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 4816 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
4786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4787 echo $ac_n "(cached) $ac_c" 1>&6 | 4818 echo $ac_n "(cached) $ac_c" 1>&6 |
4788 else | 4819 else |
4789 ac_save_LIBS="$LIBS" | 4820 ac_save_LIBS="$LIBS" |
4790 LIBS="-lungif -lX11 $LIBS" | 4821 LIBS="-lungif -lX11 $LIBS" |
4791 cat > conftest.$ac_ext <<EOF | 4822 cat > conftest.$ac_ext <<EOF |
4792 #line 4793 "configure" | 4823 #line 4824 "configure" |
4793 #include "confdefs.h" | 4824 #include "confdefs.h" |
4794 /* Override any gcc2 internal prototype to avoid an error. */ | 4825 /* Override any gcc2 internal prototype to avoid an error. */ |
4795 /* We use char because int might match the return type of a gcc2 | 4826 /* We use char because int might match the return type of a gcc2 |
4796 builtin and then its argument prototype would still apply. */ | 4827 builtin and then its argument prototype would still apply. */ |
4797 char DGifOpen(); | 4828 char DGifOpen(); |
4798 | 4829 |
4799 int main() { | 4830 int main() { |
4800 DGifOpen() | 4831 DGifOpen() |
4801 ; return 0; } | 4832 ; return 0; } |
4802 EOF | 4833 EOF |
4803 if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4804 rm -rf conftest* | 4835 rm -rf conftest* |
4805 eval "ac_cv_lib_$ac_lib_var=yes" | 4836 eval "ac_cv_lib_$ac_lib_var=yes" |
4806 else | 4837 else |
4807 echo "configure: failed program was:" >&5 | 4838 echo "configure: failed program was:" >&5 |
4808 cat conftest.$ac_ext >&5 | 4839 cat conftest.$ac_ext >&5 |
4835 fi | 4866 fi |
4836 fi | 4867 fi |
4837 | 4868 |
4838 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4869 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
4839 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4870 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
4840 echo "configure:4841: checking whether netdb declares h_errno" >&5 | 4871 echo "configure:4872: checking whether netdb declares h_errno" >&5 |
4841 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4872 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
4842 echo $ac_n "(cached) $ac_c" 1>&6 | 4873 echo $ac_n "(cached) $ac_c" 1>&6 |
4843 else | 4874 else |
4844 cat > conftest.$ac_ext <<EOF | 4875 cat > conftest.$ac_ext <<EOF |
4845 #line 4846 "configure" | 4876 #line 4877 "configure" |
4846 #include "confdefs.h" | 4877 #include "confdefs.h" |
4847 #include <netdb.h> | 4878 #include <netdb.h> |
4848 int main() { | 4879 int main() { |
4849 return h_errno; | 4880 return h_errno; |
4850 ; return 0; } | 4881 ; return 0; } |
4851 EOF | 4882 EOF |
4852 if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4853 rm -rf conftest* | 4884 rm -rf conftest* |
4854 emacs_cv_netdb_declares_h_errno=yes | 4885 emacs_cv_netdb_declares_h_errno=yes |
4855 else | 4886 else |
4856 echo "configure: failed program was:" >&5 | 4887 echo "configure: failed program was:" >&5 |
4857 cat conftest.$ac_ext >&5 | 4888 cat conftest.$ac_ext >&5 |
4870 fi | 4901 fi |
4871 | 4902 |
4872 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4903 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
4873 # for constant arguments. Useless! | 4904 # for constant arguments. Useless! |
4874 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4905 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
4875 echo "configure:4876: checking for working alloca.h" >&5 | 4906 echo "configure:4907: checking for working alloca.h" >&5 |
4876 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4907 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
4877 echo $ac_n "(cached) $ac_c" 1>&6 | 4908 echo $ac_n "(cached) $ac_c" 1>&6 |
4878 else | 4909 else |
4879 cat > conftest.$ac_ext <<EOF | 4910 cat > conftest.$ac_ext <<EOF |
4880 #line 4881 "configure" | 4911 #line 4912 "configure" |
4881 #include "confdefs.h" | 4912 #include "confdefs.h" |
4882 #include <alloca.h> | 4913 #include <alloca.h> |
4883 int main() { | 4914 int main() { |
4884 char *p = alloca(2 * sizeof(int)); | 4915 char *p = alloca(2 * sizeof(int)); |
4885 ; return 0; } | 4916 ; return 0; } |
4886 EOF | 4917 EOF |
4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4888 rm -rf conftest* | 4919 rm -rf conftest* |
4889 ac_cv_header_alloca_h=yes | 4920 ac_cv_header_alloca_h=yes |
4890 else | 4921 else |
4891 echo "configure: failed program was:" >&5 | 4922 echo "configure: failed program was:" >&5 |
4892 cat conftest.$ac_ext >&5 | 4923 cat conftest.$ac_ext >&5 |
4903 EOF | 4934 EOF |
4904 | 4935 |
4905 fi | 4936 fi |
4906 | 4937 |
4907 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4938 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
4908 echo "configure:4909: checking for alloca" >&5 | 4939 echo "configure:4940: checking for alloca" >&5 |
4909 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4940 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
4910 echo $ac_n "(cached) $ac_c" 1>&6 | 4941 echo $ac_n "(cached) $ac_c" 1>&6 |
4911 else | 4942 else |
4912 cat > conftest.$ac_ext <<EOF | 4943 cat > conftest.$ac_ext <<EOF |
4913 #line 4914 "configure" | 4944 #line 4945 "configure" |
4914 #include "confdefs.h" | 4945 #include "confdefs.h" |
4915 | 4946 |
4916 #ifdef __GNUC__ | 4947 #ifdef __GNUC__ |
4917 # define alloca __builtin_alloca | 4948 # define alloca __builtin_alloca |
4918 #else | 4949 #else |
4936 | 4967 |
4937 int main() { | 4968 int main() { |
4938 char *p = (char *) alloca(1); | 4969 char *p = (char *) alloca(1); |
4939 ; return 0; } | 4970 ; return 0; } |
4940 EOF | 4971 EOF |
4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4972 if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4942 rm -rf conftest* | 4973 rm -rf conftest* |
4943 ac_cv_func_alloca_works=yes | 4974 ac_cv_func_alloca_works=yes |
4944 else | 4975 else |
4945 echo "configure: failed program was:" >&5 | 4976 echo "configure: failed program was:" >&5 |
4946 cat conftest.$ac_ext >&5 | 4977 cat conftest.$ac_ext >&5 |
4968 #define C_ALLOCA 1 | 4999 #define C_ALLOCA 1 |
4969 EOF | 5000 EOF |
4970 | 5001 |
4971 | 5002 |
4972 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5003 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
4973 echo "configure:4974: checking whether alloca needs Cray hooks" >&5 | 5004 echo "configure:5005: checking whether alloca needs Cray hooks" >&5 |
4974 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5005 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
4975 echo $ac_n "(cached) $ac_c" 1>&6 | 5006 echo $ac_n "(cached) $ac_c" 1>&6 |
4976 else | 5007 else |
4977 cat > conftest.$ac_ext <<EOF | 5008 cat > conftest.$ac_ext <<EOF |
4978 #line 4979 "configure" | 5009 #line 5010 "configure" |
4979 #include "confdefs.h" | 5010 #include "confdefs.h" |
4980 #if defined(CRAY) && ! defined(CRAY2) | 5011 #if defined(CRAY) && ! defined(CRAY2) |
4981 webecray | 5012 webecray |
4982 #else | 5013 #else |
4983 wenotbecray | 5014 wenotbecray |
4998 | 5029 |
4999 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 5030 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
5000 if test $ac_cv_os_cray = yes; then | 5031 if test $ac_cv_os_cray = yes; then |
5001 for ac_func in _getb67 GETB67 getb67; do | 5032 for ac_func in _getb67 GETB67 getb67; do |
5002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5003 echo "configure:5004: checking for $ac_func" >&5 | 5034 echo "configure:5035: checking for $ac_func" >&5 |
5004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5005 echo $ac_n "(cached) $ac_c" 1>&6 | 5036 echo $ac_n "(cached) $ac_c" 1>&6 |
5006 else | 5037 else |
5007 cat > conftest.$ac_ext <<EOF | 5038 cat > conftest.$ac_ext <<EOF |
5008 #line 5009 "configure" | 5039 #line 5040 "configure" |
5009 #include "confdefs.h" | 5040 #include "confdefs.h" |
5010 /* System header to define __stub macros and hopefully few prototypes, | 5041 /* System header to define __stub macros and hopefully few prototypes, |
5011 which can conflict with char $ac_func(); below. */ | 5042 which can conflict with char $ac_func(); below. */ |
5012 #include <assert.h> | 5043 #include <assert.h> |
5013 /* Override any gcc2 internal prototype to avoid an error. */ | 5044 /* Override any gcc2 internal prototype to avoid an error. */ |
5026 $ac_func(); | 5057 $ac_func(); |
5027 #endif | 5058 #endif |
5028 | 5059 |
5029 ; return 0; } | 5060 ; return 0; } |
5030 EOF | 5061 EOF |
5031 if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5062 if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5032 rm -rf conftest* | 5063 rm -rf conftest* |
5033 eval "ac_cv_func_$ac_func=yes" | 5064 eval "ac_cv_func_$ac_func=yes" |
5034 else | 5065 else |
5035 echo "configure: failed program was:" >&5 | 5066 echo "configure: failed program was:" >&5 |
5036 cat conftest.$ac_ext >&5 | 5067 cat conftest.$ac_ext >&5 |
5053 | 5084 |
5054 done | 5085 done |
5055 fi | 5086 fi |
5056 | 5087 |
5057 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5088 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5058 echo "configure:5059: checking stack direction for C alloca" >&5 | 5089 echo "configure:5090: checking stack direction for C alloca" >&5 |
5059 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5090 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5060 echo $ac_n "(cached) $ac_c" 1>&6 | 5091 echo $ac_n "(cached) $ac_c" 1>&6 |
5061 else | 5092 else |
5062 if test "$cross_compiling" = yes; then | 5093 if test "$cross_compiling" = yes; then |
5063 ac_cv_c_stack_direction=0 | 5094 ac_cv_c_stack_direction=0 |
5064 else | 5095 else |
5065 cat > conftest.$ac_ext <<EOF | 5096 cat > conftest.$ac_ext <<EOF |
5066 #line 5067 "configure" | 5097 #line 5098 "configure" |
5067 #include "confdefs.h" | 5098 #include "confdefs.h" |
5068 find_stack_direction () | 5099 find_stack_direction () |
5069 { | 5100 { |
5070 static char *addr = 0; | 5101 static char *addr = 0; |
5071 auto char dummy; | 5102 auto char dummy; |
5080 main () | 5111 main () |
5081 { | 5112 { |
5082 exit (find_stack_direction() < 0); | 5113 exit (find_stack_direction() < 0); |
5083 } | 5114 } |
5084 EOF | 5115 EOF |
5085 if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5086 then | 5117 then |
5087 ac_cv_c_stack_direction=1 | 5118 ac_cv_c_stack_direction=1 |
5088 else | 5119 else |
5089 echo "configure: failed program was:" >&5 | 5120 echo "configure: failed program was:" >&5 |
5090 cat conftest.$ac_ext >&5 | 5121 cat conftest.$ac_ext >&5 |
5105 | 5136 |
5106 | 5137 |
5107 # fmod, logb, and frexp are found in -lm on most systems. | 5138 # fmod, logb, and frexp are found in -lm on most systems. |
5108 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5139 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5109 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5140 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5110 echo "configure:5111: checking for sqrt in -lm" >&5 | 5141 echo "configure:5142: checking for sqrt in -lm" >&5 |
5111 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5142 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5112 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5143 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5113 echo $ac_n "(cached) $ac_c" 1>&6 | 5144 echo $ac_n "(cached) $ac_c" 1>&6 |
5114 else | 5145 else |
5115 ac_save_LIBS="$LIBS" | 5146 ac_save_LIBS="$LIBS" |
5116 LIBS="-lm $LIBS" | 5147 LIBS="-lm $LIBS" |
5117 cat > conftest.$ac_ext <<EOF | 5148 cat > conftest.$ac_ext <<EOF |
5118 #line 5119 "configure" | 5149 #line 5150 "configure" |
5119 #include "confdefs.h" | 5150 #include "confdefs.h" |
5120 /* Override any gcc2 internal prototype to avoid an error. */ | 5151 /* Override any gcc2 internal prototype to avoid an error. */ |
5121 /* We use char because int might match the return type of a gcc2 | 5152 /* We use char because int might match the return type of a gcc2 |
5122 builtin and then its argument prototype would still apply. */ | 5153 builtin and then its argument prototype would still apply. */ |
5123 char sqrt(); | 5154 char sqrt(); |
5124 | 5155 |
5125 int main() { | 5156 int main() { |
5126 sqrt() | 5157 sqrt() |
5127 ; return 0; } | 5158 ; return 0; } |
5128 EOF | 5159 EOF |
5129 if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5160 if { (eval echo configure:5161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5130 rm -rf conftest* | 5161 rm -rf conftest* |
5131 eval "ac_cv_lib_$ac_lib_var=yes" | 5162 eval "ac_cv_lib_$ac_lib_var=yes" |
5132 else | 5163 else |
5133 echo "configure: failed program was:" >&5 | 5164 echo "configure: failed program was:" >&5 |
5134 cat conftest.$ac_ext >&5 | 5165 cat conftest.$ac_ext >&5 |
5154 fi | 5185 fi |
5155 | 5186 |
5156 | 5187 |
5157 # Check for mail-locking functions in a "mail" library | 5188 # Check for mail-locking functions in a "mail" library |
5158 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5189 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5159 echo "configure:5160: checking for maillock in -lmail" >&5 | 5190 echo "configure:5191: checking for maillock in -lmail" >&5 |
5160 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5191 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5161 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5162 echo $ac_n "(cached) $ac_c" 1>&6 | 5193 echo $ac_n "(cached) $ac_c" 1>&6 |
5163 else | 5194 else |
5164 ac_save_LIBS="$LIBS" | 5195 ac_save_LIBS="$LIBS" |
5165 LIBS="-lmail $LIBS" | 5196 LIBS="-lmail $LIBS" |
5166 cat > conftest.$ac_ext <<EOF | 5197 cat > conftest.$ac_ext <<EOF |
5167 #line 5168 "configure" | 5198 #line 5199 "configure" |
5168 #include "confdefs.h" | 5199 #include "confdefs.h" |
5169 /* Override any gcc2 internal prototype to avoid an error. */ | 5200 /* Override any gcc2 internal prototype to avoid an error. */ |
5170 /* We use char because int might match the return type of a gcc2 | 5201 /* We use char because int might match the return type of a gcc2 |
5171 builtin and then its argument prototype would still apply. */ | 5202 builtin and then its argument prototype would still apply. */ |
5172 char maillock(); | 5203 char maillock(); |
5173 | 5204 |
5174 int main() { | 5205 int main() { |
5175 maillock() | 5206 maillock() |
5176 ; return 0; } | 5207 ; return 0; } |
5177 EOF | 5208 EOF |
5178 if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5209 if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5179 rm -rf conftest* | 5210 rm -rf conftest* |
5180 eval "ac_cv_lib_$ac_lib_var=yes" | 5211 eval "ac_cv_lib_$ac_lib_var=yes" |
5181 else | 5212 else |
5182 echo "configure: failed program was:" >&5 | 5213 echo "configure: failed program was:" >&5 |
5183 cat conftest.$ac_ext >&5 | 5214 cat conftest.$ac_ext >&5 |
5201 else | 5232 else |
5202 echo "$ac_t""no" 1>&6 | 5233 echo "$ac_t""no" 1>&6 |
5203 fi | 5234 fi |
5204 | 5235 |
5205 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5236 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5206 echo "configure:5207: checking for maillock in -llockfile" >&5 | 5237 echo "configure:5238: checking for maillock in -llockfile" >&5 |
5207 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5238 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5209 echo $ac_n "(cached) $ac_c" 1>&6 | 5240 echo $ac_n "(cached) $ac_c" 1>&6 |
5210 else | 5241 else |
5211 ac_save_LIBS="$LIBS" | 5242 ac_save_LIBS="$LIBS" |
5212 LIBS="-llockfile $LIBS" | 5243 LIBS="-llockfile $LIBS" |
5213 cat > conftest.$ac_ext <<EOF | 5244 cat > conftest.$ac_ext <<EOF |
5214 #line 5215 "configure" | 5245 #line 5246 "configure" |
5215 #include "confdefs.h" | 5246 #include "confdefs.h" |
5216 /* Override any gcc2 internal prototype to avoid an error. */ | 5247 /* Override any gcc2 internal prototype to avoid an error. */ |
5217 /* We use char because int might match the return type of a gcc2 | 5248 /* We use char because int might match the return type of a gcc2 |
5218 builtin and then its argument prototype would still apply. */ | 5249 builtin and then its argument prototype would still apply. */ |
5219 char maillock(); | 5250 char maillock(); |
5220 | 5251 |
5221 int main() { | 5252 int main() { |
5222 maillock() | 5253 maillock() |
5223 ; return 0; } | 5254 ; return 0; } |
5224 EOF | 5255 EOF |
5225 if { (eval echo configure:5226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5256 if { (eval echo configure:5257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5226 rm -rf conftest* | 5257 rm -rf conftest* |
5227 eval "ac_cv_lib_$ac_lib_var=yes" | 5258 eval "ac_cv_lib_$ac_lib_var=yes" |
5228 else | 5259 else |
5229 echo "configure: failed program was:" >&5 | 5260 echo "configure: failed program was:" >&5 |
5230 cat conftest.$ac_ext >&5 | 5261 cat conftest.$ac_ext >&5 |
5254 # (no liblockfile.a installed), ensure that we don't need to. | 5285 # (no liblockfile.a installed), ensure that we don't need to. |
5255 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5286 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5256 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5287 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5257 set dummy liblockfile.so; ac_word=$2 | 5288 set dummy liblockfile.so; ac_word=$2 |
5258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5259 echo "configure:5260: checking for $ac_word" >&5 | 5290 echo "configure:5291: checking for $ac_word" >&5 |
5260 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5291 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5261 echo $ac_n "(cached) $ac_c" 1>&6 | 5292 echo $ac_n "(cached) $ac_c" 1>&6 |
5262 else | 5293 else |
5263 if test -n "$liblockfile"; then | 5294 if test -n "$liblockfile"; then |
5264 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5295 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5295 else : | 5326 else : |
5296 fi | 5327 fi |
5297 for ac_func in touchlock | 5328 for ac_func in touchlock |
5298 do | 5329 do |
5299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5300 echo "configure:5301: checking for $ac_func" >&5 | 5331 echo "configure:5332: checking for $ac_func" >&5 |
5301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5302 echo $ac_n "(cached) $ac_c" 1>&6 | 5333 echo $ac_n "(cached) $ac_c" 1>&6 |
5303 else | 5334 else |
5304 cat > conftest.$ac_ext <<EOF | 5335 cat > conftest.$ac_ext <<EOF |
5305 #line 5306 "configure" | 5336 #line 5337 "configure" |
5306 #include "confdefs.h" | 5337 #include "confdefs.h" |
5307 /* System header to define __stub macros and hopefully few prototypes, | 5338 /* System header to define __stub macros and hopefully few prototypes, |
5308 which can conflict with char $ac_func(); below. */ | 5339 which can conflict with char $ac_func(); below. */ |
5309 #include <assert.h> | 5340 #include <assert.h> |
5310 /* Override any gcc2 internal prototype to avoid an error. */ | 5341 /* Override any gcc2 internal prototype to avoid an error. */ |
5323 $ac_func(); | 5354 $ac_func(); |
5324 #endif | 5355 #endif |
5325 | 5356 |
5326 ; return 0; } | 5357 ; return 0; } |
5327 EOF | 5358 EOF |
5328 if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5359 if { (eval echo configure:5360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5329 rm -rf conftest* | 5360 rm -rf conftest* |
5330 eval "ac_cv_func_$ac_func=yes" | 5361 eval "ac_cv_func_$ac_func=yes" |
5331 else | 5362 else |
5332 echo "configure: failed program was:" >&5 | 5363 echo "configure: failed program was:" >&5 |
5333 cat conftest.$ac_ext >&5 | 5364 cat conftest.$ac_ext >&5 |
5351 | 5382 |
5352 for ac_hdr in maillock.h | 5383 for ac_hdr in maillock.h |
5353 do | 5384 do |
5354 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5385 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5355 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5386 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5356 echo "configure:5357: checking for $ac_hdr" >&5 | 5387 echo "configure:5388: checking for $ac_hdr" >&5 |
5357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5388 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5358 echo $ac_n "(cached) $ac_c" 1>&6 | 5389 echo $ac_n "(cached) $ac_c" 1>&6 |
5359 else | 5390 else |
5360 cat > conftest.$ac_ext <<EOF | 5391 cat > conftest.$ac_ext <<EOF |
5361 #line 5362 "configure" | 5392 #line 5393 "configure" |
5362 #include "confdefs.h" | 5393 #include "confdefs.h" |
5363 #include <$ac_hdr> | 5394 #include <$ac_hdr> |
5364 EOF | 5395 EOF |
5365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5366 { (eval echo configure:5367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5397 { (eval echo configure:5398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5368 if test -z "$ac_err"; then | 5399 if test -z "$ac_err"; then |
5369 rm -rf conftest* | 5400 rm -rf conftest* |
5370 eval "ac_cv_header_$ac_safe=yes" | 5401 eval "ac_cv_header_$ac_safe=yes" |
5371 else | 5402 else |
5396 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5427 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5397 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5428 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ |
5398 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm | 5429 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm |
5399 do | 5430 do |
5400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5401 echo "configure:5402: checking for $ac_func" >&5 | 5432 echo "configure:5433: checking for $ac_func" >&5 |
5402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5403 echo $ac_n "(cached) $ac_c" 1>&6 | 5434 echo $ac_n "(cached) $ac_c" 1>&6 |
5404 else | 5435 else |
5405 cat > conftest.$ac_ext <<EOF | 5436 cat > conftest.$ac_ext <<EOF |
5406 #line 5407 "configure" | 5437 #line 5438 "configure" |
5407 #include "confdefs.h" | 5438 #include "confdefs.h" |
5408 /* System header to define __stub macros and hopefully few prototypes, | 5439 /* System header to define __stub macros and hopefully few prototypes, |
5409 which can conflict with char $ac_func(); below. */ | 5440 which can conflict with char $ac_func(); below. */ |
5410 #include <assert.h> | 5441 #include <assert.h> |
5411 /* Override any gcc2 internal prototype to avoid an error. */ | 5442 /* Override any gcc2 internal prototype to avoid an error. */ |
5424 $ac_func(); | 5455 $ac_func(); |
5425 #endif | 5456 #endif |
5426 | 5457 |
5427 ; return 0; } | 5458 ; return 0; } |
5428 EOF | 5459 EOF |
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5460 if { (eval echo configure:5461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5430 rm -rf conftest* | 5461 rm -rf conftest* |
5431 eval "ac_cv_func_$ac_func=yes" | 5462 eval "ac_cv_func_$ac_func=yes" |
5432 else | 5463 else |
5433 echo "configure: failed program was:" >&5 | 5464 echo "configure: failed program was:" >&5 |
5434 cat conftest.$ac_ext >&5 | 5465 cat conftest.$ac_ext >&5 |
5453 | 5484 |
5454 for ac_hdr in sys/time.h unistd.h | 5485 for ac_hdr in sys/time.h unistd.h |
5455 do | 5486 do |
5456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5487 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5488 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5458 echo "configure:5459: checking for $ac_hdr" >&5 | 5489 echo "configure:5490: checking for $ac_hdr" >&5 |
5459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5490 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5460 echo $ac_n "(cached) $ac_c" 1>&6 | 5491 echo $ac_n "(cached) $ac_c" 1>&6 |
5461 else | 5492 else |
5462 cat > conftest.$ac_ext <<EOF | 5493 cat > conftest.$ac_ext <<EOF |
5463 #line 5464 "configure" | 5494 #line 5495 "configure" |
5464 #include "confdefs.h" | 5495 #include "confdefs.h" |
5465 #include <$ac_hdr> | 5496 #include <$ac_hdr> |
5466 EOF | 5497 EOF |
5467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5468 { (eval echo configure:5469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5499 { (eval echo configure:5500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5470 if test -z "$ac_err"; then | 5501 if test -z "$ac_err"; then |
5471 rm -rf conftest* | 5502 rm -rf conftest* |
5472 eval "ac_cv_header_$ac_safe=yes" | 5503 eval "ac_cv_header_$ac_safe=yes" |
5473 else | 5504 else |
5492 done | 5523 done |
5493 | 5524 |
5494 for ac_func in alarm | 5525 for ac_func in alarm |
5495 do | 5526 do |
5496 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5497 echo "configure:5498: checking for $ac_func" >&5 | 5528 echo "configure:5529: checking for $ac_func" >&5 |
5498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5499 echo $ac_n "(cached) $ac_c" 1>&6 | 5530 echo $ac_n "(cached) $ac_c" 1>&6 |
5500 else | 5531 else |
5501 cat > conftest.$ac_ext <<EOF | 5532 cat > conftest.$ac_ext <<EOF |
5502 #line 5503 "configure" | 5533 #line 5534 "configure" |
5503 #include "confdefs.h" | 5534 #include "confdefs.h" |
5504 /* System header to define __stub macros and hopefully few prototypes, | 5535 /* System header to define __stub macros and hopefully few prototypes, |
5505 which can conflict with char $ac_func(); below. */ | 5536 which can conflict with char $ac_func(); below. */ |
5506 #include <assert.h> | 5537 #include <assert.h> |
5507 /* Override any gcc2 internal prototype to avoid an error. */ | 5538 /* Override any gcc2 internal prototype to avoid an error. */ |
5520 $ac_func(); | 5551 $ac_func(); |
5521 #endif | 5552 #endif |
5522 | 5553 |
5523 ; return 0; } | 5554 ; return 0; } |
5524 EOF | 5555 EOF |
5525 if { (eval echo configure:5526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5556 if { (eval echo configure:5557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5526 rm -rf conftest* | 5557 rm -rf conftest* |
5527 eval "ac_cv_func_$ac_func=yes" | 5558 eval "ac_cv_func_$ac_func=yes" |
5528 else | 5559 else |
5529 echo "configure: failed program was:" >&5 | 5560 echo "configure: failed program was:" >&5 |
5530 cat conftest.$ac_ext >&5 | 5561 cat conftest.$ac_ext >&5 |
5545 echo "$ac_t""no" 1>&6 | 5576 echo "$ac_t""no" 1>&6 |
5546 fi | 5577 fi |
5547 done | 5578 done |
5548 | 5579 |
5549 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 5580 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
5550 echo "configure:5551: checking for working mktime" >&5 | 5581 echo "configure:5582: checking for working mktime" >&5 |
5551 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 5582 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
5552 echo $ac_n "(cached) $ac_c" 1>&6 | 5583 echo $ac_n "(cached) $ac_c" 1>&6 |
5553 else | 5584 else |
5554 if test "$cross_compiling" = yes; then | 5585 if test "$cross_compiling" = yes; then |
5555 ac_cv_func_working_mktime=no | 5586 ac_cv_func_working_mktime=no |
5556 else | 5587 else |
5557 cat > conftest.$ac_ext <<EOF | 5588 cat > conftest.$ac_ext <<EOF |
5558 #line 5559 "configure" | 5589 #line 5590 "configure" |
5559 #include "confdefs.h" | 5590 #include "confdefs.h" |
5560 /* Test program from Paul Eggert (eggert@twinsun.com) | 5591 /* Test program from Paul Eggert (eggert@twinsun.com) |
5561 and Tony Leneis (tony@plaza.ds.adp.com). */ | 5592 and Tony Leneis (tony@plaza.ds.adp.com). */ |
5562 #if TIME_WITH_SYS_TIME | 5593 #if TIME_WITH_SYS_TIME |
5563 # include <sys/time.h> | 5594 # include <sys/time.h> |
5702 irix_6_4_bug (); | 5733 irix_6_4_bug (); |
5703 spring_forward_gap (); | 5734 spring_forward_gap (); |
5704 exit (0); | 5735 exit (0); |
5705 } | 5736 } |
5706 EOF | 5737 EOF |
5707 if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5738 if { (eval echo configure:5739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5708 then | 5739 then |
5709 ac_cv_func_working_mktime=yes | 5740 ac_cv_func_working_mktime=yes |
5710 else | 5741 else |
5711 echo "configure: failed program was:" >&5 | 5742 echo "configure: failed program was:" >&5 |
5712 cat conftest.$ac_ext >&5 | 5743 cat conftest.$ac_ext >&5 |
5732 | 5763 |
5733 # UNIX98 PTYs. | 5764 # UNIX98 PTYs. |
5734 for ac_func in grantpt | 5765 for ac_func in grantpt |
5735 do | 5766 do |
5736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5737 echo "configure:5738: checking for $ac_func" >&5 | 5768 echo "configure:5769: checking for $ac_func" >&5 |
5738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5739 echo $ac_n "(cached) $ac_c" 1>&6 | 5770 echo $ac_n "(cached) $ac_c" 1>&6 |
5740 else | 5771 else |
5741 cat > conftest.$ac_ext <<EOF | 5772 cat > conftest.$ac_ext <<EOF |
5742 #line 5743 "configure" | 5773 #line 5774 "configure" |
5743 #include "confdefs.h" | 5774 #include "confdefs.h" |
5744 /* System header to define __stub macros and hopefully few prototypes, | 5775 /* System header to define __stub macros and hopefully few prototypes, |
5745 which can conflict with char $ac_func(); below. */ | 5776 which can conflict with char $ac_func(); below. */ |
5746 #include <assert.h> | 5777 #include <assert.h> |
5747 /* Override any gcc2 internal prototype to avoid an error. */ | 5778 /* Override any gcc2 internal prototype to avoid an error. */ |
5760 $ac_func(); | 5791 $ac_func(); |
5761 #endif | 5792 #endif |
5762 | 5793 |
5763 ; return 0; } | 5794 ; return 0; } |
5764 EOF | 5795 EOF |
5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5796 if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5766 rm -rf conftest* | 5797 rm -rf conftest* |
5767 eval "ac_cv_func_$ac_func=yes" | 5798 eval "ac_cv_func_$ac_func=yes" |
5768 else | 5799 else |
5769 echo "configure: failed program was:" >&5 | 5800 echo "configure: failed program was:" >&5 |
5770 cat conftest.$ac_ext >&5 | 5801 cat conftest.$ac_ext >&5 |
5789 | 5820 |
5790 # PTY-related GNU extensions. | 5821 # PTY-related GNU extensions. |
5791 for ac_func in getpt | 5822 for ac_func in getpt |
5792 do | 5823 do |
5793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5794 echo "configure:5795: checking for $ac_func" >&5 | 5825 echo "configure:5826: checking for $ac_func" >&5 |
5795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5796 echo $ac_n "(cached) $ac_c" 1>&6 | 5827 echo $ac_n "(cached) $ac_c" 1>&6 |
5797 else | 5828 else |
5798 cat > conftest.$ac_ext <<EOF | 5829 cat > conftest.$ac_ext <<EOF |
5799 #line 5800 "configure" | 5830 #line 5831 "configure" |
5800 #include "confdefs.h" | 5831 #include "confdefs.h" |
5801 /* System header to define __stub macros and hopefully few prototypes, | 5832 /* System header to define __stub macros and hopefully few prototypes, |
5802 which can conflict with char $ac_func(); below. */ | 5833 which can conflict with char $ac_func(); below. */ |
5803 #include <assert.h> | 5834 #include <assert.h> |
5804 /* Override any gcc2 internal prototype to avoid an error. */ | 5835 /* Override any gcc2 internal prototype to avoid an error. */ |
5817 $ac_func(); | 5848 $ac_func(); |
5818 #endif | 5849 #endif |
5819 | 5850 |
5820 ; return 0; } | 5851 ; return 0; } |
5821 EOF | 5852 EOF |
5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5853 if { (eval echo configure:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5823 rm -rf conftest* | 5854 rm -rf conftest* |
5824 eval "ac_cv_func_$ac_func=yes" | 5855 eval "ac_cv_func_$ac_func=yes" |
5825 else | 5856 else |
5826 echo "configure: failed program was:" >&5 | 5857 echo "configure: failed program was:" >&5 |
5827 cat conftest.$ac_ext >&5 | 5858 cat conftest.$ac_ext >&5 |
5847 # Check this now, so that we will NOT find the above functions in ncurses. | 5878 # Check this now, so that we will NOT find the above functions in ncurses. |
5848 # That is because we have not set up to link ncurses in lib-src. | 5879 # That is because we have not set up to link ncurses in lib-src. |
5849 # It's better to believe a function is not available | 5880 # It's better to believe a function is not available |
5850 # than to expect to find it in ncurses. | 5881 # than to expect to find it in ncurses. |
5851 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 5882 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
5852 echo "configure:5853: checking for tparm in -lncurses" >&5 | 5883 echo "configure:5884: checking for tparm in -lncurses" >&5 |
5853 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 5884 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
5854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5855 echo $ac_n "(cached) $ac_c" 1>&6 | 5886 echo $ac_n "(cached) $ac_c" 1>&6 |
5856 else | 5887 else |
5857 ac_save_LIBS="$LIBS" | 5888 ac_save_LIBS="$LIBS" |
5858 LIBS="-lncurses $LIBS" | 5889 LIBS="-lncurses $LIBS" |
5859 cat > conftest.$ac_ext <<EOF | 5890 cat > conftest.$ac_ext <<EOF |
5860 #line 5861 "configure" | 5891 #line 5892 "configure" |
5861 #include "confdefs.h" | 5892 #include "confdefs.h" |
5862 /* Override any gcc2 internal prototype to avoid an error. */ | 5893 /* Override any gcc2 internal prototype to avoid an error. */ |
5863 /* We use char because int might match the return type of a gcc2 | 5894 /* We use char because int might match the return type of a gcc2 |
5864 builtin and then its argument prototype would still apply. */ | 5895 builtin and then its argument prototype would still apply. */ |
5865 char tparm(); | 5896 char tparm(); |
5866 | 5897 |
5867 int main() { | 5898 int main() { |
5868 tparm() | 5899 tparm() |
5869 ; return 0; } | 5900 ; return 0; } |
5870 EOF | 5901 EOF |
5871 if { (eval echo configure:5872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5872 rm -rf conftest* | 5903 rm -rf conftest* |
5873 eval "ac_cv_lib_$ac_lib_var=yes" | 5904 eval "ac_cv_lib_$ac_lib_var=yes" |
5874 else | 5905 else |
5875 echo "configure: failed program was:" >&5 | 5906 echo "configure: failed program was:" >&5 |
5876 cat conftest.$ac_ext >&5 | 5907 cat conftest.$ac_ext >&5 |
5897 | 5928 |
5898 | 5929 |
5899 # These tell us which Kerberos-related libraries to use. | 5930 # These tell us which Kerberos-related libraries to use. |
5900 if test "${with_kerberos+set}" = set; then | 5931 if test "${with_kerberos+set}" = set; then |
5901 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 5932 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
5902 echo "configure:5903: checking for com_err in -lcom_err" >&5 | 5933 echo "configure:5934: checking for com_err in -lcom_err" >&5 |
5903 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 5934 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
5904 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5935 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5905 echo $ac_n "(cached) $ac_c" 1>&6 | 5936 echo $ac_n "(cached) $ac_c" 1>&6 |
5906 else | 5937 else |
5907 ac_save_LIBS="$LIBS" | 5938 ac_save_LIBS="$LIBS" |
5908 LIBS="-lcom_err $LIBS" | 5939 LIBS="-lcom_err $LIBS" |
5909 cat > conftest.$ac_ext <<EOF | 5940 cat > conftest.$ac_ext <<EOF |
5910 #line 5911 "configure" | 5941 #line 5942 "configure" |
5911 #include "confdefs.h" | 5942 #include "confdefs.h" |
5912 /* Override any gcc2 internal prototype to avoid an error. */ | 5943 /* Override any gcc2 internal prototype to avoid an error. */ |
5913 /* We use char because int might match the return type of a gcc2 | 5944 /* We use char because int might match the return type of a gcc2 |
5914 builtin and then its argument prototype would still apply. */ | 5945 builtin and then its argument prototype would still apply. */ |
5915 char com_err(); | 5946 char com_err(); |
5916 | 5947 |
5917 int main() { | 5948 int main() { |
5918 com_err() | 5949 com_err() |
5919 ; return 0; } | 5950 ; return 0; } |
5920 EOF | 5951 EOF |
5921 if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5922 rm -rf conftest* | 5953 rm -rf conftest* |
5923 eval "ac_cv_lib_$ac_lib_var=yes" | 5954 eval "ac_cv_lib_$ac_lib_var=yes" |
5924 else | 5955 else |
5925 echo "configure: failed program was:" >&5 | 5956 echo "configure: failed program was:" >&5 |
5926 cat conftest.$ac_ext >&5 | 5957 cat conftest.$ac_ext >&5 |
5944 else | 5975 else |
5945 echo "$ac_t""no" 1>&6 | 5976 echo "$ac_t""no" 1>&6 |
5946 fi | 5977 fi |
5947 | 5978 |
5948 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 5979 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
5949 echo "configure:5950: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 5980 echo "configure:5981: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
5950 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5981 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5951 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5952 echo $ac_n "(cached) $ac_c" 1>&6 | 5983 echo $ac_n "(cached) $ac_c" 1>&6 |
5953 else | 5984 else |
5954 ac_save_LIBS="$LIBS" | 5985 ac_save_LIBS="$LIBS" |
5955 LIBS="-lk5crypto $LIBS" | 5986 LIBS="-lk5crypto $LIBS" |
5956 cat > conftest.$ac_ext <<EOF | 5987 cat > conftest.$ac_ext <<EOF |
5957 #line 5958 "configure" | 5988 #line 5989 "configure" |
5958 #include "confdefs.h" | 5989 #include "confdefs.h" |
5959 /* Override any gcc2 internal prototype to avoid an error. */ | 5990 /* Override any gcc2 internal prototype to avoid an error. */ |
5960 /* We use char because int might match the return type of a gcc2 | 5991 /* We use char because int might match the return type of a gcc2 |
5961 builtin and then its argument prototype would still apply. */ | 5992 builtin and then its argument prototype would still apply. */ |
5962 char mit_des_cbc_encrypt(); | 5993 char mit_des_cbc_encrypt(); |
5963 | 5994 |
5964 int main() { | 5995 int main() { |
5965 mit_des_cbc_encrypt() | 5996 mit_des_cbc_encrypt() |
5966 ; return 0; } | 5997 ; return 0; } |
5967 EOF | 5998 EOF |
5968 if { (eval echo configure:5969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5999 if { (eval echo configure:6000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5969 rm -rf conftest* | 6000 rm -rf conftest* |
5970 eval "ac_cv_lib_$ac_lib_var=yes" | 6001 eval "ac_cv_lib_$ac_lib_var=yes" |
5971 else | 6002 else |
5972 echo "configure: failed program was:" >&5 | 6003 echo "configure: failed program was:" >&5 |
5973 cat conftest.$ac_ext >&5 | 6004 cat conftest.$ac_ext >&5 |
5991 else | 6022 else |
5992 echo "$ac_t""no" 1>&6 | 6023 echo "$ac_t""no" 1>&6 |
5993 fi | 6024 fi |
5994 | 6025 |
5995 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 6026 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
5996 echo "configure:5997: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 6027 echo "configure:6028: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
5997 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6028 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6029 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5999 echo $ac_n "(cached) $ac_c" 1>&6 | 6030 echo $ac_n "(cached) $ac_c" 1>&6 |
6000 else | 6031 else |
6001 ac_save_LIBS="$LIBS" | 6032 ac_save_LIBS="$LIBS" |
6002 LIBS="-lcrypto $LIBS" | 6033 LIBS="-lcrypto $LIBS" |
6003 cat > conftest.$ac_ext <<EOF | 6034 cat > conftest.$ac_ext <<EOF |
6004 #line 6005 "configure" | 6035 #line 6036 "configure" |
6005 #include "confdefs.h" | 6036 #include "confdefs.h" |
6006 /* Override any gcc2 internal prototype to avoid an error. */ | 6037 /* Override any gcc2 internal prototype to avoid an error. */ |
6007 /* We use char because int might match the return type of a gcc2 | 6038 /* We use char because int might match the return type of a gcc2 |
6008 builtin and then its argument prototype would still apply. */ | 6039 builtin and then its argument prototype would still apply. */ |
6009 char mit_des_cbc_encrypt(); | 6040 char mit_des_cbc_encrypt(); |
6010 | 6041 |
6011 int main() { | 6042 int main() { |
6012 mit_des_cbc_encrypt() | 6043 mit_des_cbc_encrypt() |
6013 ; return 0; } | 6044 ; return 0; } |
6014 EOF | 6045 EOF |
6015 if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6046 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6016 rm -rf conftest* | 6047 rm -rf conftest* |
6017 eval "ac_cv_lib_$ac_lib_var=yes" | 6048 eval "ac_cv_lib_$ac_lib_var=yes" |
6018 else | 6049 else |
6019 echo "configure: failed program was:" >&5 | 6050 echo "configure: failed program was:" >&5 |
6020 cat conftest.$ac_ext >&5 | 6051 cat conftest.$ac_ext >&5 |
6038 else | 6069 else |
6039 echo "$ac_t""no" 1>&6 | 6070 echo "$ac_t""no" 1>&6 |
6040 fi | 6071 fi |
6041 | 6072 |
6042 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 6073 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
6043 echo "configure:6044: checking for krb5_init_context in -lkrb5" >&5 | 6074 echo "configure:6075: checking for krb5_init_context in -lkrb5" >&5 |
6044 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 6075 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
6045 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6046 echo $ac_n "(cached) $ac_c" 1>&6 | 6077 echo $ac_n "(cached) $ac_c" 1>&6 |
6047 else | 6078 else |
6048 ac_save_LIBS="$LIBS" | 6079 ac_save_LIBS="$LIBS" |
6049 LIBS="-lkrb5 $LIBS" | 6080 LIBS="-lkrb5 $LIBS" |
6050 cat > conftest.$ac_ext <<EOF | 6081 cat > conftest.$ac_ext <<EOF |
6051 #line 6052 "configure" | 6082 #line 6083 "configure" |
6052 #include "confdefs.h" | 6083 #include "confdefs.h" |
6053 /* Override any gcc2 internal prototype to avoid an error. */ | 6084 /* Override any gcc2 internal prototype to avoid an error. */ |
6054 /* We use char because int might match the return type of a gcc2 | 6085 /* We use char because int might match the return type of a gcc2 |
6055 builtin and then its argument prototype would still apply. */ | 6086 builtin and then its argument prototype would still apply. */ |
6056 char krb5_init_context(); | 6087 char krb5_init_context(); |
6057 | 6088 |
6058 int main() { | 6089 int main() { |
6059 krb5_init_context() | 6090 krb5_init_context() |
6060 ; return 0; } | 6091 ; return 0; } |
6061 EOF | 6092 EOF |
6062 if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6063 rm -rf conftest* | 6094 rm -rf conftest* |
6064 eval "ac_cv_lib_$ac_lib_var=yes" | 6095 eval "ac_cv_lib_$ac_lib_var=yes" |
6065 else | 6096 else |
6066 echo "configure: failed program was:" >&5 | 6097 echo "configure: failed program was:" >&5 |
6067 cat conftest.$ac_ext >&5 | 6098 cat conftest.$ac_ext >&5 |
6086 echo "$ac_t""no" 1>&6 | 6117 echo "$ac_t""no" 1>&6 |
6087 fi | 6118 fi |
6088 | 6119 |
6089 if test "${with_kerberos5+set}" != set; then | 6120 if test "${with_kerberos5+set}" != set; then |
6090 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 6121 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
6091 echo "configure:6092: checking for des_cbc_encrypt in -ldes425" >&5 | 6122 echo "configure:6123: checking for des_cbc_encrypt in -ldes425" >&5 |
6092 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6123 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
6093 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6094 echo $ac_n "(cached) $ac_c" 1>&6 | 6125 echo $ac_n "(cached) $ac_c" 1>&6 |
6095 else | 6126 else |
6096 ac_save_LIBS="$LIBS" | 6127 ac_save_LIBS="$LIBS" |
6097 LIBS="-ldes425 $LIBS" | 6128 LIBS="-ldes425 $LIBS" |
6098 cat > conftest.$ac_ext <<EOF | 6129 cat > conftest.$ac_ext <<EOF |
6099 #line 6100 "configure" | 6130 #line 6131 "configure" |
6100 #include "confdefs.h" | 6131 #include "confdefs.h" |
6101 /* Override any gcc2 internal prototype to avoid an error. */ | 6132 /* Override any gcc2 internal prototype to avoid an error. */ |
6102 /* We use char because int might match the return type of a gcc2 | 6133 /* We use char because int might match the return type of a gcc2 |
6103 builtin and then its argument prototype would still apply. */ | 6134 builtin and then its argument prototype would still apply. */ |
6104 char des_cbc_encrypt(); | 6135 char des_cbc_encrypt(); |
6105 | 6136 |
6106 int main() { | 6137 int main() { |
6107 des_cbc_encrypt() | 6138 des_cbc_encrypt() |
6108 ; return 0; } | 6139 ; return 0; } |
6109 EOF | 6140 EOF |
6110 if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6141 if { (eval echo configure:6142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6111 rm -rf conftest* | 6142 rm -rf conftest* |
6112 eval "ac_cv_lib_$ac_lib_var=yes" | 6143 eval "ac_cv_lib_$ac_lib_var=yes" |
6113 else | 6144 else |
6114 echo "configure: failed program was:" >&5 | 6145 echo "configure: failed program was:" >&5 |
6115 cat conftest.$ac_ext >&5 | 6146 cat conftest.$ac_ext >&5 |
6131 LIBS="-ldes425 $LIBS" | 6162 LIBS="-ldes425 $LIBS" |
6132 | 6163 |
6133 else | 6164 else |
6134 echo "$ac_t""no" 1>&6 | 6165 echo "$ac_t""no" 1>&6 |
6135 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 6166 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
6136 echo "configure:6137: checking for des_cbc_encrypt in -ldes" >&5 | 6167 echo "configure:6168: checking for des_cbc_encrypt in -ldes" >&5 |
6137 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6168 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
6138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6139 echo $ac_n "(cached) $ac_c" 1>&6 | 6170 echo $ac_n "(cached) $ac_c" 1>&6 |
6140 else | 6171 else |
6141 ac_save_LIBS="$LIBS" | 6172 ac_save_LIBS="$LIBS" |
6142 LIBS="-ldes $LIBS" | 6173 LIBS="-ldes $LIBS" |
6143 cat > conftest.$ac_ext <<EOF | 6174 cat > conftest.$ac_ext <<EOF |
6144 #line 6145 "configure" | 6175 #line 6176 "configure" |
6145 #include "confdefs.h" | 6176 #include "confdefs.h" |
6146 /* Override any gcc2 internal prototype to avoid an error. */ | 6177 /* Override any gcc2 internal prototype to avoid an error. */ |
6147 /* We use char because int might match the return type of a gcc2 | 6178 /* We use char because int might match the return type of a gcc2 |
6148 builtin and then its argument prototype would still apply. */ | 6179 builtin and then its argument prototype would still apply. */ |
6149 char des_cbc_encrypt(); | 6180 char des_cbc_encrypt(); |
6150 | 6181 |
6151 int main() { | 6182 int main() { |
6152 des_cbc_encrypt() | 6183 des_cbc_encrypt() |
6153 ; return 0; } | 6184 ; return 0; } |
6154 EOF | 6185 EOF |
6155 if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6186 if { (eval echo configure:6187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6156 rm -rf conftest* | 6187 rm -rf conftest* |
6157 eval "ac_cv_lib_$ac_lib_var=yes" | 6188 eval "ac_cv_lib_$ac_lib_var=yes" |
6158 else | 6189 else |
6159 echo "configure: failed program was:" >&5 | 6190 echo "configure: failed program was:" >&5 |
6160 cat conftest.$ac_ext >&5 | 6191 cat conftest.$ac_ext >&5 |
6180 fi | 6211 fi |
6181 | 6212 |
6182 fi | 6213 fi |
6183 | 6214 |
6184 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 6215 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
6185 echo "configure:6186: checking for krb_get_cred in -lkrb4" >&5 | 6216 echo "configure:6217: checking for krb_get_cred in -lkrb4" >&5 |
6186 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6217 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
6187 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6218 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6188 echo $ac_n "(cached) $ac_c" 1>&6 | 6219 echo $ac_n "(cached) $ac_c" 1>&6 |
6189 else | 6220 else |
6190 ac_save_LIBS="$LIBS" | 6221 ac_save_LIBS="$LIBS" |
6191 LIBS="-lkrb4 $LIBS" | 6222 LIBS="-lkrb4 $LIBS" |
6192 cat > conftest.$ac_ext <<EOF | 6223 cat > conftest.$ac_ext <<EOF |
6193 #line 6194 "configure" | 6224 #line 6225 "configure" |
6194 #include "confdefs.h" | 6225 #include "confdefs.h" |
6195 /* Override any gcc2 internal prototype to avoid an error. */ | 6226 /* Override any gcc2 internal prototype to avoid an error. */ |
6196 /* We use char because int might match the return type of a gcc2 | 6227 /* We use char because int might match the return type of a gcc2 |
6197 builtin and then its argument prototype would still apply. */ | 6228 builtin and then its argument prototype would still apply. */ |
6198 char krb_get_cred(); | 6229 char krb_get_cred(); |
6199 | 6230 |
6200 int main() { | 6231 int main() { |
6201 krb_get_cred() | 6232 krb_get_cred() |
6202 ; return 0; } | 6233 ; return 0; } |
6203 EOF | 6234 EOF |
6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6235 if { (eval echo configure:6236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6205 rm -rf conftest* | 6236 rm -rf conftest* |
6206 eval "ac_cv_lib_$ac_lib_var=yes" | 6237 eval "ac_cv_lib_$ac_lib_var=yes" |
6207 else | 6238 else |
6208 echo "configure: failed program was:" >&5 | 6239 echo "configure: failed program was:" >&5 |
6209 cat conftest.$ac_ext >&5 | 6240 cat conftest.$ac_ext >&5 |
6225 LIBS="-lkrb4 $LIBS" | 6256 LIBS="-lkrb4 $LIBS" |
6226 | 6257 |
6227 else | 6258 else |
6228 echo "$ac_t""no" 1>&6 | 6259 echo "$ac_t""no" 1>&6 |
6229 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 6260 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
6230 echo "configure:6231: checking for krb_get_cred in -lkrb" >&5 | 6261 echo "configure:6262: checking for krb_get_cred in -lkrb" >&5 |
6231 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6262 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
6232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6233 echo $ac_n "(cached) $ac_c" 1>&6 | 6264 echo $ac_n "(cached) $ac_c" 1>&6 |
6234 else | 6265 else |
6235 ac_save_LIBS="$LIBS" | 6266 ac_save_LIBS="$LIBS" |
6236 LIBS="-lkrb $LIBS" | 6267 LIBS="-lkrb $LIBS" |
6237 cat > conftest.$ac_ext <<EOF | 6268 cat > conftest.$ac_ext <<EOF |
6238 #line 6239 "configure" | 6269 #line 6270 "configure" |
6239 #include "confdefs.h" | 6270 #include "confdefs.h" |
6240 /* Override any gcc2 internal prototype to avoid an error. */ | 6271 /* Override any gcc2 internal prototype to avoid an error. */ |
6241 /* We use char because int might match the return type of a gcc2 | 6272 /* We use char because int might match the return type of a gcc2 |
6242 builtin and then its argument prototype would still apply. */ | 6273 builtin and then its argument prototype would still apply. */ |
6243 char krb_get_cred(); | 6274 char krb_get_cred(); |
6244 | 6275 |
6245 int main() { | 6276 int main() { |
6246 krb_get_cred() | 6277 krb_get_cred() |
6247 ; return 0; } | 6278 ; return 0; } |
6248 EOF | 6279 EOF |
6249 if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6250 rm -rf conftest* | 6281 rm -rf conftest* |
6251 eval "ac_cv_lib_$ac_lib_var=yes" | 6282 eval "ac_cv_lib_$ac_lib_var=yes" |
6252 else | 6283 else |
6253 echo "configure: failed program was:" >&5 | 6284 echo "configure: failed program was:" >&5 |
6254 cat conftest.$ac_ext >&5 | 6285 cat conftest.$ac_ext >&5 |
6280 if test "${with_kerberos5+set}" = set; then | 6311 if test "${with_kerberos5+set}" = set; then |
6281 for ac_hdr in krb5.h | 6312 for ac_hdr in krb5.h |
6282 do | 6313 do |
6283 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6314 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6284 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6285 echo "configure:6286: checking for $ac_hdr" >&5 | 6316 echo "configure:6317: checking for $ac_hdr" >&5 |
6286 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6317 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6287 echo $ac_n "(cached) $ac_c" 1>&6 | 6318 echo $ac_n "(cached) $ac_c" 1>&6 |
6288 else | 6319 else |
6289 cat > conftest.$ac_ext <<EOF | 6320 cat > conftest.$ac_ext <<EOF |
6290 #line 6291 "configure" | 6321 #line 6322 "configure" |
6291 #include "confdefs.h" | 6322 #include "confdefs.h" |
6292 #include <$ac_hdr> | 6323 #include <$ac_hdr> |
6293 EOF | 6324 EOF |
6294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6295 { (eval echo configure:6296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6326 { (eval echo configure:6327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6297 if test -z "$ac_err"; then | 6328 if test -z "$ac_err"; then |
6298 rm -rf conftest* | 6329 rm -rf conftest* |
6299 eval "ac_cv_header_$ac_safe=yes" | 6330 eval "ac_cv_header_$ac_safe=yes" |
6300 else | 6331 else |
6321 else | 6352 else |
6322 for ac_hdr in des.h | 6353 for ac_hdr in des.h |
6323 do | 6354 do |
6324 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6355 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6325 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6356 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6326 echo "configure:6327: checking for $ac_hdr" >&5 | 6357 echo "configure:6358: checking for $ac_hdr" >&5 |
6327 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6358 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6328 echo $ac_n "(cached) $ac_c" 1>&6 | 6359 echo $ac_n "(cached) $ac_c" 1>&6 |
6329 else | 6360 else |
6330 cat > conftest.$ac_ext <<EOF | 6361 cat > conftest.$ac_ext <<EOF |
6331 #line 6332 "configure" | 6362 #line 6363 "configure" |
6332 #include "confdefs.h" | 6363 #include "confdefs.h" |
6333 #include <$ac_hdr> | 6364 #include <$ac_hdr> |
6334 EOF | 6365 EOF |
6335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6336 { (eval echo configure:6337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6367 { (eval echo configure:6368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6338 if test -z "$ac_err"; then | 6369 if test -z "$ac_err"; then |
6339 rm -rf conftest* | 6370 rm -rf conftest* |
6340 eval "ac_cv_header_$ac_safe=yes" | 6371 eval "ac_cv_header_$ac_safe=yes" |
6341 else | 6372 else |
6358 echo "$ac_t""no" 1>&6 | 6389 echo "$ac_t""no" 1>&6 |
6359 for ac_hdr in kerberosIV/des.h | 6390 for ac_hdr in kerberosIV/des.h |
6360 do | 6391 do |
6361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6392 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6393 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6363 echo "configure:6364: checking for $ac_hdr" >&5 | 6394 echo "configure:6395: checking for $ac_hdr" >&5 |
6364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6365 echo $ac_n "(cached) $ac_c" 1>&6 | 6396 echo $ac_n "(cached) $ac_c" 1>&6 |
6366 else | 6397 else |
6367 cat > conftest.$ac_ext <<EOF | 6398 cat > conftest.$ac_ext <<EOF |
6368 #line 6369 "configure" | 6399 #line 6400 "configure" |
6369 #include "confdefs.h" | 6400 #include "confdefs.h" |
6370 #include <$ac_hdr> | 6401 #include <$ac_hdr> |
6371 EOF | 6402 EOF |
6372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6373 { (eval echo configure:6374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6404 { (eval echo configure:6405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6375 if test -z "$ac_err"; then | 6406 if test -z "$ac_err"; then |
6376 rm -rf conftest* | 6407 rm -rf conftest* |
6377 eval "ac_cv_header_$ac_safe=yes" | 6408 eval "ac_cv_header_$ac_safe=yes" |
6378 else | 6409 else |
6395 echo "$ac_t""no" 1>&6 | 6426 echo "$ac_t""no" 1>&6 |
6396 for ac_hdr in kerberos/des.h | 6427 for ac_hdr in kerberos/des.h |
6397 do | 6428 do |
6398 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6429 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6399 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6430 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6400 echo "configure:6401: checking for $ac_hdr" >&5 | 6431 echo "configure:6432: checking for $ac_hdr" >&5 |
6401 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6402 echo $ac_n "(cached) $ac_c" 1>&6 | 6433 echo $ac_n "(cached) $ac_c" 1>&6 |
6403 else | 6434 else |
6404 cat > conftest.$ac_ext <<EOF | 6435 cat > conftest.$ac_ext <<EOF |
6405 #line 6406 "configure" | 6436 #line 6437 "configure" |
6406 #include "confdefs.h" | 6437 #include "confdefs.h" |
6407 #include <$ac_hdr> | 6438 #include <$ac_hdr> |
6408 EOF | 6439 EOF |
6409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6410 { (eval echo configure:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6441 { (eval echo configure:6442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6412 if test -z "$ac_err"; then | 6443 if test -z "$ac_err"; then |
6413 rm -rf conftest* | 6444 rm -rf conftest* |
6414 eval "ac_cv_header_$ac_safe=yes" | 6445 eval "ac_cv_header_$ac_safe=yes" |
6415 else | 6446 else |
6441 | 6472 |
6442 for ac_hdr in krb.h | 6473 for ac_hdr in krb.h |
6443 do | 6474 do |
6444 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6446 echo "configure:6447: checking for $ac_hdr" >&5 | 6477 echo "configure:6478: checking for $ac_hdr" >&5 |
6447 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6448 echo $ac_n "(cached) $ac_c" 1>&6 | 6479 echo $ac_n "(cached) $ac_c" 1>&6 |
6449 else | 6480 else |
6450 cat > conftest.$ac_ext <<EOF | 6481 cat > conftest.$ac_ext <<EOF |
6451 #line 6452 "configure" | 6482 #line 6483 "configure" |
6452 #include "confdefs.h" | 6483 #include "confdefs.h" |
6453 #include <$ac_hdr> | 6484 #include <$ac_hdr> |
6454 EOF | 6485 EOF |
6455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6456 { (eval echo configure:6457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6487 { (eval echo configure:6488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6458 if test -z "$ac_err"; then | 6489 if test -z "$ac_err"; then |
6459 rm -rf conftest* | 6490 rm -rf conftest* |
6460 eval "ac_cv_header_$ac_safe=yes" | 6491 eval "ac_cv_header_$ac_safe=yes" |
6461 else | 6492 else |
6478 echo "$ac_t""no" 1>&6 | 6509 echo "$ac_t""no" 1>&6 |
6479 for ac_hdr in kerberosIV/krb.h | 6510 for ac_hdr in kerberosIV/krb.h |
6480 do | 6511 do |
6481 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6482 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6483 echo "configure:6484: checking for $ac_hdr" >&5 | 6514 echo "configure:6515: checking for $ac_hdr" >&5 |
6484 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6485 echo $ac_n "(cached) $ac_c" 1>&6 | 6516 echo $ac_n "(cached) $ac_c" 1>&6 |
6486 else | 6517 else |
6487 cat > conftest.$ac_ext <<EOF | 6518 cat > conftest.$ac_ext <<EOF |
6488 #line 6489 "configure" | 6519 #line 6520 "configure" |
6489 #include "confdefs.h" | 6520 #include "confdefs.h" |
6490 #include <$ac_hdr> | 6521 #include <$ac_hdr> |
6491 EOF | 6522 EOF |
6492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6493 { (eval echo configure:6494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6524 { (eval echo configure:6525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6495 if test -z "$ac_err"; then | 6526 if test -z "$ac_err"; then |
6496 rm -rf conftest* | 6527 rm -rf conftest* |
6497 eval "ac_cv_header_$ac_safe=yes" | 6528 eval "ac_cv_header_$ac_safe=yes" |
6498 else | 6529 else |
6515 echo "$ac_t""no" 1>&6 | 6546 echo "$ac_t""no" 1>&6 |
6516 for ac_hdr in kerberos/krb.h | 6547 for ac_hdr in kerberos/krb.h |
6517 do | 6548 do |
6518 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6519 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6520 echo "configure:6521: checking for $ac_hdr" >&5 | 6551 echo "configure:6552: checking for $ac_hdr" >&5 |
6521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6522 echo $ac_n "(cached) $ac_c" 1>&6 | 6553 echo $ac_n "(cached) $ac_c" 1>&6 |
6523 else | 6554 else |
6524 cat > conftest.$ac_ext <<EOF | 6555 cat > conftest.$ac_ext <<EOF |
6525 #line 6526 "configure" | 6556 #line 6557 "configure" |
6526 #include "confdefs.h" | 6557 #include "confdefs.h" |
6527 #include <$ac_hdr> | 6558 #include <$ac_hdr> |
6528 EOF | 6559 EOF |
6529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6530 { (eval echo configure:6531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6561 { (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6532 if test -z "$ac_err"; then | 6563 if test -z "$ac_err"; then |
6533 rm -rf conftest* | 6564 rm -rf conftest* |
6534 eval "ac_cv_header_$ac_safe=yes" | 6565 eval "ac_cv_header_$ac_safe=yes" |
6535 else | 6566 else |
6562 fi | 6593 fi |
6563 for ac_hdr in com_err.h | 6594 for ac_hdr in com_err.h |
6564 do | 6595 do |
6565 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6596 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6566 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6597 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6567 echo "configure:6568: checking for $ac_hdr" >&5 | 6598 echo "configure:6599: checking for $ac_hdr" >&5 |
6568 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6599 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6569 echo $ac_n "(cached) $ac_c" 1>&6 | 6600 echo $ac_n "(cached) $ac_c" 1>&6 |
6570 else | 6601 else |
6571 cat > conftest.$ac_ext <<EOF | 6602 cat > conftest.$ac_ext <<EOF |
6572 #line 6573 "configure" | 6603 #line 6604 "configure" |
6573 #include "confdefs.h" | 6604 #include "confdefs.h" |
6574 #include <$ac_hdr> | 6605 #include <$ac_hdr> |
6575 EOF | 6606 EOF |
6576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6577 { (eval echo configure:6578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6608 { (eval echo configure:6609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6579 if test -z "$ac_err"; then | 6610 if test -z "$ac_err"; then |
6580 rm -rf conftest* | 6611 rm -rf conftest* |
6581 eval "ac_cv_header_$ac_safe=yes" | 6612 eval "ac_cv_header_$ac_safe=yes" |
6582 else | 6613 else |
6603 fi | 6634 fi |
6604 | 6635 |
6605 # Solaris requires -lintl if you want strerror (which calls dgettext) | 6636 # Solaris requires -lintl if you want strerror (which calls dgettext) |
6606 # to return localized messages. | 6637 # to return localized messages. |
6607 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 6638 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
6608 echo "configure:6609: checking for dgettext in -lintl" >&5 | 6639 echo "configure:6640: checking for dgettext in -lintl" >&5 |
6609 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 6640 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
6610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6611 echo $ac_n "(cached) $ac_c" 1>&6 | 6642 echo $ac_n "(cached) $ac_c" 1>&6 |
6612 else | 6643 else |
6613 ac_save_LIBS="$LIBS" | 6644 ac_save_LIBS="$LIBS" |
6614 LIBS="-lintl $LIBS" | 6645 LIBS="-lintl $LIBS" |
6615 cat > conftest.$ac_ext <<EOF | 6646 cat > conftest.$ac_ext <<EOF |
6616 #line 6617 "configure" | 6647 #line 6648 "configure" |
6617 #include "confdefs.h" | 6648 #include "confdefs.h" |
6618 /* Override any gcc2 internal prototype to avoid an error. */ | 6649 /* Override any gcc2 internal prototype to avoid an error. */ |
6619 /* We use char because int might match the return type of a gcc2 | 6650 /* We use char because int might match the return type of a gcc2 |
6620 builtin and then its argument prototype would still apply. */ | 6651 builtin and then its argument prototype would still apply. */ |
6621 char dgettext(); | 6652 char dgettext(); |
6622 | 6653 |
6623 int main() { | 6654 int main() { |
6624 dgettext() | 6655 dgettext() |
6625 ; return 0; } | 6656 ; return 0; } |
6626 EOF | 6657 EOF |
6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6658 if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6628 rm -rf conftest* | 6659 rm -rf conftest* |
6629 eval "ac_cv_lib_$ac_lib_var=yes" | 6660 eval "ac_cv_lib_$ac_lib_var=yes" |
6630 else | 6661 else |
6631 echo "configure: failed program was:" >&5 | 6662 echo "configure: failed program was:" >&5 |
6632 cat conftest.$ac_ext >&5 | 6663 cat conftest.$ac_ext >&5 |
6651 echo "$ac_t""no" 1>&6 | 6682 echo "$ac_t""no" 1>&6 |
6652 fi | 6683 fi |
6653 | 6684 |
6654 | 6685 |
6655 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 6686 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
6656 echo "configure:6657: checking whether localtime caches TZ" >&5 | 6687 echo "configure:6688: checking whether localtime caches TZ" >&5 |
6657 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 6688 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
6658 echo $ac_n "(cached) $ac_c" 1>&6 | 6689 echo $ac_n "(cached) $ac_c" 1>&6 |
6659 else | 6690 else |
6660 if test x$ac_cv_func_tzset = xyes; then | 6691 if test x$ac_cv_func_tzset = xyes; then |
6661 if test "$cross_compiling" = yes; then | 6692 if test "$cross_compiling" = yes; then |
6662 # If we have tzset, assume the worst when cross-compiling. | 6693 # If we have tzset, assume the worst when cross-compiling. |
6663 emacs_cv_localtime_cache=yes | 6694 emacs_cv_localtime_cache=yes |
6664 else | 6695 else |
6665 cat > conftest.$ac_ext <<EOF | 6696 cat > conftest.$ac_ext <<EOF |
6666 #line 6667 "configure" | 6697 #line 6698 "configure" |
6667 #include "confdefs.h" | 6698 #include "confdefs.h" |
6668 #include <time.h> | 6699 #include <time.h> |
6669 extern char **environ; | 6700 extern char **environ; |
6670 unset_TZ () | 6701 unset_TZ () |
6671 { | 6702 { |
6693 if (localtime (&now)->tm_hour != hour_unset) | 6724 if (localtime (&now)->tm_hour != hour_unset) |
6694 exit (1); | 6725 exit (1); |
6695 exit (0); | 6726 exit (0); |
6696 } | 6727 } |
6697 EOF | 6728 EOF |
6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6729 if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6699 then | 6730 then |
6700 emacs_cv_localtime_cache=no | 6731 emacs_cv_localtime_cache=no |
6701 else | 6732 else |
6702 echo "configure: failed program was:" >&5 | 6733 echo "configure: failed program was:" >&5 |
6703 cat conftest.$ac_ext >&5 | 6734 cat conftest.$ac_ext >&5 |
6721 | 6752 |
6722 fi | 6753 fi |
6723 | 6754 |
6724 if test "x$HAVE_TIMEVAL" = xyes; then | 6755 if test "x$HAVE_TIMEVAL" = xyes; then |
6725 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 6756 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
6726 echo "configure:6727: checking whether gettimeofday can accept two arguments" >&5 | 6757 echo "configure:6758: checking whether gettimeofday can accept two arguments" >&5 |
6727 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 6758 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
6728 echo $ac_n "(cached) $ac_c" 1>&6 | 6759 echo $ac_n "(cached) $ac_c" 1>&6 |
6729 else | 6760 else |
6730 cat > conftest.$ac_ext <<EOF | 6761 cat > conftest.$ac_ext <<EOF |
6731 #line 6732 "configure" | 6762 #line 6763 "configure" |
6732 #include "confdefs.h" | 6763 #include "confdefs.h" |
6733 | 6764 |
6734 #ifdef TIME_WITH_SYS_TIME | 6765 #ifdef TIME_WITH_SYS_TIME |
6735 #include <sys/time.h> | 6766 #include <sys/time.h> |
6736 #include <time.h> | 6767 #include <time.h> |
6748 struct timezone dummy; | 6779 struct timezone dummy; |
6749 gettimeofday (&time, &dummy); | 6780 gettimeofday (&time, &dummy); |
6750 | 6781 |
6751 ; return 0; } | 6782 ; return 0; } |
6752 EOF | 6783 EOF |
6753 if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6784 if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6754 rm -rf conftest* | 6785 rm -rf conftest* |
6755 emacs_cv_gettimeofday_two_arguments=yes | 6786 emacs_cv_gettimeofday_two_arguments=yes |
6756 else | 6787 else |
6757 echo "configure: failed program was:" >&5 | 6788 echo "configure: failed program was:" >&5 |
6758 cat conftest.$ac_ext >&5 | 6789 cat conftest.$ac_ext >&5 |
6771 fi | 6802 fi |
6772 fi | 6803 fi |
6773 | 6804 |
6774 ok_so_far=yes | 6805 ok_so_far=yes |
6775 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 6806 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
6776 echo "configure:6777: checking for socket" >&5 | 6807 echo "configure:6808: checking for socket" >&5 |
6777 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 6808 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
6778 echo $ac_n "(cached) $ac_c" 1>&6 | 6809 echo $ac_n "(cached) $ac_c" 1>&6 |
6779 else | 6810 else |
6780 cat > conftest.$ac_ext <<EOF | 6811 cat > conftest.$ac_ext <<EOF |
6781 #line 6782 "configure" | 6812 #line 6813 "configure" |
6782 #include "confdefs.h" | 6813 #include "confdefs.h" |
6783 /* System header to define __stub macros and hopefully few prototypes, | 6814 /* System header to define __stub macros and hopefully few prototypes, |
6784 which can conflict with char socket(); below. */ | 6815 which can conflict with char socket(); below. */ |
6785 #include <assert.h> | 6816 #include <assert.h> |
6786 /* Override any gcc2 internal prototype to avoid an error. */ | 6817 /* Override any gcc2 internal prototype to avoid an error. */ |
6799 socket(); | 6830 socket(); |
6800 #endif | 6831 #endif |
6801 | 6832 |
6802 ; return 0; } | 6833 ; return 0; } |
6803 EOF | 6834 EOF |
6804 if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6835 if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6805 rm -rf conftest* | 6836 rm -rf conftest* |
6806 eval "ac_cv_func_socket=yes" | 6837 eval "ac_cv_func_socket=yes" |
6807 else | 6838 else |
6808 echo "configure: failed program was:" >&5 | 6839 echo "configure: failed program was:" >&5 |
6809 cat conftest.$ac_ext >&5 | 6840 cat conftest.$ac_ext >&5 |
6822 fi | 6853 fi |
6823 | 6854 |
6824 if test $ok_so_far = yes; then | 6855 if test $ok_so_far = yes; then |
6825 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 6856 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
6826 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 6857 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
6827 echo "configure:6828: checking for netinet/in.h" >&5 | 6858 echo "configure:6859: checking for netinet/in.h" >&5 |
6828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6859 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6829 echo $ac_n "(cached) $ac_c" 1>&6 | 6860 echo $ac_n "(cached) $ac_c" 1>&6 |
6830 else | 6861 else |
6831 cat > conftest.$ac_ext <<EOF | 6862 cat > conftest.$ac_ext <<EOF |
6832 #line 6833 "configure" | 6863 #line 6864 "configure" |
6833 #include "confdefs.h" | 6864 #include "confdefs.h" |
6834 #include <netinet/in.h> | 6865 #include <netinet/in.h> |
6835 EOF | 6866 EOF |
6836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6837 { (eval echo configure:6838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6868 { (eval echo configure:6869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6839 if test -z "$ac_err"; then | 6870 if test -z "$ac_err"; then |
6840 rm -rf conftest* | 6871 rm -rf conftest* |
6841 eval "ac_cv_header_$ac_safe=yes" | 6872 eval "ac_cv_header_$ac_safe=yes" |
6842 else | 6873 else |
6858 | 6889 |
6859 fi | 6890 fi |
6860 if test $ok_so_far = yes; then | 6891 if test $ok_so_far = yes; then |
6861 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 6892 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
6862 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 6893 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
6863 echo "configure:6864: checking for arpa/inet.h" >&5 | 6894 echo "configure:6895: checking for arpa/inet.h" >&5 |
6864 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6895 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6865 echo $ac_n "(cached) $ac_c" 1>&6 | 6896 echo $ac_n "(cached) $ac_c" 1>&6 |
6866 else | 6897 else |
6867 cat > conftest.$ac_ext <<EOF | 6898 cat > conftest.$ac_ext <<EOF |
6868 #line 6869 "configure" | 6899 #line 6900 "configure" |
6869 #include "confdefs.h" | 6900 #include "confdefs.h" |
6870 #include <arpa/inet.h> | 6901 #include <arpa/inet.h> |
6871 EOF | 6902 EOF |
6872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6873 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6904 { (eval echo configure:6905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6874 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6875 if test -z "$ac_err"; then | 6906 if test -z "$ac_err"; then |
6876 rm -rf conftest* | 6907 rm -rf conftest* |
6877 eval "ac_cv_header_$ac_safe=yes" | 6908 eval "ac_cv_header_$ac_safe=yes" |
6878 else | 6909 else |
6906 EOF | 6937 EOF |
6907 | 6938 |
6908 fi | 6939 fi |
6909 | 6940 |
6910 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 6941 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
6911 echo "configure:6912: checking whether system supports dynamic ptys" >&5 | 6942 echo "configure:6943: checking whether system supports dynamic ptys" >&5 |
6912 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 6943 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
6913 echo "$ac_t""yes" 1>&6 | 6944 echo "$ac_t""yes" 1>&6 |
6914 cat >> confdefs.h <<\EOF | 6945 cat >> confdefs.h <<\EOF |
6915 #define HAVE_DEV_PTMX 1 | 6946 #define HAVE_DEV_PTMX 1 |
6916 EOF | 6947 EOF |
6918 else | 6949 else |
6919 echo "$ac_t""no" 1>&6 | 6950 echo "$ac_t""no" 1>&6 |
6920 fi | 6951 fi |
6921 | 6952 |
6922 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6953 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6923 echo "configure:6924: checking for pid_t" >&5 | 6954 echo "configure:6955: checking for pid_t" >&5 |
6924 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6955 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6925 echo $ac_n "(cached) $ac_c" 1>&6 | 6956 echo $ac_n "(cached) $ac_c" 1>&6 |
6926 else | 6957 else |
6927 cat > conftest.$ac_ext <<EOF | 6958 cat > conftest.$ac_ext <<EOF |
6928 #line 6929 "configure" | 6959 #line 6960 "configure" |
6929 #include "confdefs.h" | 6960 #include "confdefs.h" |
6930 #include <sys/types.h> | 6961 #include <sys/types.h> |
6931 #if STDC_HEADERS | 6962 #if STDC_HEADERS |
6932 #include <stdlib.h> | 6963 #include <stdlib.h> |
6933 #include <stddef.h> | 6964 #include <stddef.h> |
6952 | 6983 |
6953 fi | 6984 fi |
6954 | 6985 |
6955 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 6986 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
6956 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 6987 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
6957 echo "configure:6958: checking for vfork.h" >&5 | 6988 echo "configure:6989: checking for vfork.h" >&5 |
6958 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6989 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6959 echo $ac_n "(cached) $ac_c" 1>&6 | 6990 echo $ac_n "(cached) $ac_c" 1>&6 |
6960 else | 6991 else |
6961 cat > conftest.$ac_ext <<EOF | 6992 cat > conftest.$ac_ext <<EOF |
6962 #line 6963 "configure" | 6993 #line 6994 "configure" |
6963 #include "confdefs.h" | 6994 #include "confdefs.h" |
6964 #include <vfork.h> | 6995 #include <vfork.h> |
6965 EOF | 6996 EOF |
6966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6967 { (eval echo configure:6968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6998 { (eval echo configure:6999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6999 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6969 if test -z "$ac_err"; then | 7000 if test -z "$ac_err"; then |
6970 rm -rf conftest* | 7001 rm -rf conftest* |
6971 eval "ac_cv_header_$ac_safe=yes" | 7002 eval "ac_cv_header_$ac_safe=yes" |
6972 else | 7003 else |
6987 else | 7018 else |
6988 echo "$ac_t""no" 1>&6 | 7019 echo "$ac_t""no" 1>&6 |
6989 fi | 7020 fi |
6990 | 7021 |
6991 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7022 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
6992 echo "configure:6993: checking for working vfork" >&5 | 7023 echo "configure:7024: checking for working vfork" >&5 |
6993 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 7024 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
6994 echo $ac_n "(cached) $ac_c" 1>&6 | 7025 echo $ac_n "(cached) $ac_c" 1>&6 |
6995 else | 7026 else |
6996 if test "$cross_compiling" = yes; then | 7027 if test "$cross_compiling" = yes; then |
6997 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 7028 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
6998 echo "configure:6999: checking for vfork" >&5 | 7029 echo "configure:7030: checking for vfork" >&5 |
6999 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 7030 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
7000 echo $ac_n "(cached) $ac_c" 1>&6 | 7031 echo $ac_n "(cached) $ac_c" 1>&6 |
7001 else | 7032 else |
7002 cat > conftest.$ac_ext <<EOF | 7033 cat > conftest.$ac_ext <<EOF |
7003 #line 7004 "configure" | 7034 #line 7035 "configure" |
7004 #include "confdefs.h" | 7035 #include "confdefs.h" |
7005 /* System header to define __stub macros and hopefully few prototypes, | 7036 /* System header to define __stub macros and hopefully few prototypes, |
7006 which can conflict with char vfork(); below. */ | 7037 which can conflict with char vfork(); below. */ |
7007 #include <assert.h> | 7038 #include <assert.h> |
7008 /* Override any gcc2 internal prototype to avoid an error. */ | 7039 /* Override any gcc2 internal prototype to avoid an error. */ |
7021 vfork(); | 7052 vfork(); |
7022 #endif | 7053 #endif |
7023 | 7054 |
7024 ; return 0; } | 7055 ; return 0; } |
7025 EOF | 7056 EOF |
7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7057 if { (eval echo configure:7058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7027 rm -rf conftest* | 7058 rm -rf conftest* |
7028 eval "ac_cv_func_vfork=yes" | 7059 eval "ac_cv_func_vfork=yes" |
7029 else | 7060 else |
7030 echo "configure: failed program was:" >&5 | 7061 echo "configure: failed program was:" >&5 |
7031 cat conftest.$ac_ext >&5 | 7062 cat conftest.$ac_ext >&5 |
7043 fi | 7074 fi |
7044 | 7075 |
7045 ac_cv_func_vfork_works=$ac_cv_func_vfork | 7076 ac_cv_func_vfork_works=$ac_cv_func_vfork |
7046 else | 7077 else |
7047 cat > conftest.$ac_ext <<EOF | 7078 cat > conftest.$ac_ext <<EOF |
7048 #line 7049 "configure" | 7079 #line 7080 "configure" |
7049 #include "confdefs.h" | 7080 #include "confdefs.h" |
7050 /* Thanks to Paul Eggert for this test. */ | 7081 /* Thanks to Paul Eggert for this test. */ |
7051 #include <stdio.h> | 7082 #include <stdio.h> |
7052 #include <sys/types.h> | 7083 #include <sys/types.h> |
7053 #include <sys/stat.h> | 7084 #include <sys/stat.h> |
7138 || fstat(fileno(stdout), &st) != 0 | 7169 || fstat(fileno(stdout), &st) != 0 |
7139 ); | 7170 ); |
7140 } | 7171 } |
7141 } | 7172 } |
7142 EOF | 7173 EOF |
7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7174 if { (eval echo configure:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7144 then | 7175 then |
7145 ac_cv_func_vfork_works=yes | 7176 ac_cv_func_vfork_works=yes |
7146 else | 7177 else |
7147 echo "configure: failed program was:" >&5 | 7178 echo "configure: failed program was:" >&5 |
7148 cat conftest.$ac_ext >&5 | 7179 cat conftest.$ac_ext >&5 |