- Timestamp:
- Sep 19, 2001, 12:55:45 PM (23 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 2338c8aaeaa29f0c2a9dac1c4ddfd8ffa8da42af
- Parents:
- d2f3863412c790930f365b65b4ca2a568584cd7a
- Location:
- MP
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MP/configure
rd2f3863 r3824e90 2715 2715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2716 2716 echo "$ac_t""yes" 1>&6 2717 freebsd_problem=no 2717 freebsd_problem=no 2718 no_values_h=no 2718 2719 else 2719 2720 echo "$ac_t""no" 1>&6 … … 2721 2722 ac_safe=`echo "/usr/include/values.h" | sed 'y%./+-%__p_%'` 2722 2723 echo $ac_n "checking for /usr/include/values.h""... $ac_c" 1>&6 2723 echo "configure:272 4: checking for /usr/include/values.h" >&52724 echo "configure:2725: checking for /usr/include/values.h" >&5 2724 2725 if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then 2725 2726 echo $ac_n "(cached) $ac_c" 1>&6 … … 2737 2738 if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then 2738 2739 echo "$ac_t""yes" 1>&6 2739 freebsd_problem=yes 2740 else 2741 echo "$ac_t""no" 1>&6 2742 echo "*** no values.h";exit 2740 freebsd_problem=yes 2741 no_values_h=no 2742 else 2743 echo "$ac_t""no" 1>&6 2744 no_values_h=yes 2745 freebsd_problem=no 2743 2746 fi 2744 2747 2745 2748 fi 2746 2749 2747 if test "$ freebsd_problem" != no; then2750 if test "${freebsd_problem}" != no; then 2748 2751 grep -v "#warning" /usr/include/values.h > ./values.h 2749 cat > conftest.$ac_ext <<EOF 2750 #line 2751 "configure" 2752 elif test "${no_values_h}" != no; then 2753 cp ./values.h.subst ./values.h 2754 cat > conftest.$ac_ext <<EOF 2755 #line 2756 "configure" 2751 2756 #include "confdefs.h" 2752 2757 #include "values.h" , … … 2754 2759 EOF 2755 2760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2756 { (eval echo configure:27 57: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2761 { (eval echo configure:2762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2757 2762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2758 2763 if test -z "$ac_err"; then … … 2769 2774 ac_safe=`echo "fcntl.h" | sed 'y%./+-%__p_%'` 2770 2775 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6 2771 echo "configure:277 2: checking for fcntl.h" >&52776 echo "configure:2777: checking for fcntl.h" >&5 2772 2777 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2773 2778 echo $ac_n "(cached) $ac_c" 1>&6 2774 2779 else 2775 2780 cat > conftest.$ac_ext <<EOF 2776 #line 27 77"configure"2781 #line 2782 "configure" 2777 2782 #include "confdefs.h" 2778 2783 #include <fcntl.h> 2779 2784 EOF 2780 2785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2781 { (eval echo configure:278 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2786 { (eval echo configure:2787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2782 2787 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2783 2788 if test -z "$ac_err"; then … … 2803 2808 ac_safe=`echo "sys/ioctl.h" | sed 'y%./+-%__p_%'` 2804 2809 echo $ac_n "checking for sys/ioctl.h""... $ac_c" 1>&6 2805 echo "configure:28 06: checking for sys/ioctl.h" >&52810 echo "configure:2811: checking for sys/ioctl.h" >&5 2806 2811 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2807 2812 echo $ac_n "(cached) $ac_c" 1>&6 2808 2813 else 2809 2814 cat > conftest.$ac_ext <<EOF 2810 #line 281 1"configure"2815 #line 2816 "configure" 2811 2816 #include "confdefs.h" 2812 2817 #include <sys/ioctl.h> 2813 2818 EOF 2814 2819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2815 { (eval echo configure:28 16: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2820 { (eval echo configure:2821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2816 2821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2817 2822 if test -z "$ac_err"; then … … 2837 2842 ac_safe=`echo "sys/param.h" | sed 'y%./+-%__p_%'` 2838 2843 echo $ac_n "checking for sys/param.h""... $ac_c" 1>&6 2839 echo "configure:284 0: checking for sys/param.h" >&52844 echo "configure:2845: checking for sys/param.h" >&5 2840 2845 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2841 2846 echo $ac_n "(cached) $ac_c" 1>&6 2842 2847 else 2843 2848 cat > conftest.$ac_ext <<EOF 2844 #line 28 45"configure"2849 #line 2850 "configure" 2845 2850 #include "confdefs.h" 2846 2851 #include <sys/param.h> 2847 2852 EOF 2848 2853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2849 { (eval echo configure:285 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2854 { (eval echo configure:2855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2850 2855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2851 2856 if test -z "$ac_err"; then … … 2871 2876 ac_safe=`echo "sys/socket.h" | sed 'y%./+-%__p_%'` 2872 2877 echo $ac_n "checking for sys/socket.h""... $ac_c" 1>&6 2873 echo "configure:287 4: checking for sys/socket.h" >&52878 echo "configure:2879: checking for sys/socket.h" >&5 2874 2879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2875 2880 echo $ac_n "(cached) $ac_c" 1>&6 2876 2881 else 2877 2882 cat > conftest.$ac_ext <<EOF 2878 #line 28 79"configure"2883 #line 2884 "configure" 2879 2884 #include "confdefs.h" 2880 2885 #include <sys/socket.h> 2881 2886 EOF 2882 2887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2883 { (eval echo configure:288 4: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2888 { (eval echo configure:2889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2884 2889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2885 2890 if test -z "$ac_err"; then … … 2905 2910 ac_safe=`echo "sys/stat.h" | sed 'y%./+-%__p_%'` 2906 2911 echo $ac_n "checking for sys/stat.h""... $ac_c" 1>&6 2907 echo "configure:29 08: checking for sys/stat.h" >&52912 echo "configure:2913: checking for sys/stat.h" >&5 2908 2913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2909 2914 echo $ac_n "(cached) $ac_c" 1>&6 2910 2915 else 2911 2916 cat > conftest.$ac_ext <<EOF 2912 #line 291 3"configure"2917 #line 2918 "configure" 2913 2918 #include "confdefs.h" 2914 2919 #include <sys/stat.h> 2915 2920 EOF 2916 2921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2917 { (eval echo configure:29 18: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2922 { (eval echo configure:2923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2918 2923 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2919 2924 if test -z "$ac_err"; then … … 2939 2944 ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'` 2940 2945 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6 2941 echo "configure:294 2: checking for sys/time.h" >&52946 echo "configure:2947: checking for sys/time.h" >&5 2942 2947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2943 2948 echo $ac_n "(cached) $ac_c" 1>&6 2944 2949 else 2945 2950 cat > conftest.$ac_ext <<EOF 2946 #line 29 47"configure"2951 #line 2952 "configure" 2947 2952 #include "confdefs.h" 2948 2953 #include <sys/time.h> 2949 2954 EOF 2950 2955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2951 { (eval echo configure:295 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2956 { (eval echo configure:2957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2952 2957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2953 2958 if test -z "$ac_err"; then … … 2973 2978 ac_safe=`echo "sys/types.h" | sed 'y%./+-%__p_%'` 2974 2979 echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6 2975 echo "configure:29 76: checking for sys/types.h" >&52980 echo "configure:2981: checking for sys/types.h" >&5 2976 2981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2977 2982 echo $ac_n "(cached) $ac_c" 1>&6 2978 2983 else 2979 2984 cat > conftest.$ac_ext <<EOF 2980 #line 298 1"configure"2985 #line 2986 "configure" 2981 2986 #include "confdefs.h" 2982 2987 #include <sys/types.h> 2983 2988 EOF 2984 2989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2985 { (eval echo configure:29 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2990 { (eval echo configure:2991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2986 2991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2987 2992 if test -z "$ac_err"; then … … 3007 3012 ac_safe=`echo "sys/uio.h" | sed 'y%./+-%__p_%'` 3008 3013 echo $ac_n "checking for sys/uio.h""... $ac_c" 1>&6 3009 echo "configure:301 0: checking for sys/uio.h" >&53014 echo "configure:3015: checking for sys/uio.h" >&5 3010 3015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3011 3016 echo $ac_n "(cached) $ac_c" 1>&6 3012 3017 else 3013 3018 cat > conftest.$ac_ext <<EOF 3014 #line 30 15"configure"3019 #line 3020 "configure" 3015 3020 #include "confdefs.h" 3016 3021 #include <sys/uio.h> 3017 3022 EOF 3018 3023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3019 { (eval echo configure:302 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3024 { (eval echo configure:3025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3020 3025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3021 3026 if test -z "$ac_err"; then … … 3041 3046 ac_safe=`echo "sys/un.h" | sed 'y%./+-%__p_%'` 3042 3047 echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6 3043 echo "configure:304 4: checking for sys/un.h" >&53048 echo "configure:3049: checking for sys/un.h" >&5 3044 3049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3045 3050 echo $ac_n "(cached) $ac_c" 1>&6 3046 3051 else 3047 3052 cat > conftest.$ac_ext <<EOF 3048 #line 30 49"configure"3053 #line 3054 "configure" 3049 3054 #include "confdefs.h" 3050 3055 #include <sys/un.h> 3051 3056 EOF 3052 3057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3053 { (eval echo configure:305 4: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3058 { (eval echo configure:3059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3054 3059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3055 3060 if test -z "$ac_err"; then … … 3075 3080 ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'` 3076 3081 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6 3077 echo "configure:30 78: checking for unistd.h" >&53082 echo "configure:3083: checking for unistd.h" >&5 3078 3083 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3079 3084 echo $ac_n "(cached) $ac_c" 1>&6 3080 3085 else 3081 3086 cat > conftest.$ac_ext <<EOF 3082 #line 308 3"configure"3087 #line 3088 "configure" 3083 3088 #include "confdefs.h" 3084 3089 #include <unistd.h> 3085 3090 EOF 3086 3091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3087 { (eval echo configure:30 88: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3092 { (eval echo configure:3093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3088 3093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3089 3094 if test -z "$ac_err"; then … … 3109 3114 ac_safe=`echo "math.h" | sed 'y%./+-%__p_%'` 3110 3115 echo $ac_n "checking for math.h""... $ac_c" 1>&6 3111 echo "configure:311 2: checking for math.h" >&53116 echo "configure:3117: checking for math.h" >&5 3112 3117 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3113 3118 echo $ac_n "(cached) $ac_c" 1>&6 3114 3119 else 3115 3120 cat > conftest.$ac_ext <<EOF 3116 #line 31 17"configure"3121 #line 3122 "configure" 3117 3122 #include "confdefs.h" 3118 3123 #include <math.h> 3119 3124 EOF 3120 3125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3121 { (eval echo configure:312 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3126 { (eval echo configure:3127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3122 3127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3123 3128 if test -z "$ac_err"; then … … 3147 3152 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3148 3153 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3149 echo "configure:315 0: checking for $ac_hdr" >&53154 echo "configure:3155: checking for $ac_hdr" >&5 3150 3155 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3151 3156 echo $ac_n "(cached) $ac_c" 1>&6 3152 3157 else 3153 3158 cat > conftest.$ac_ext <<EOF 3154 #line 31 55"configure"3159 #line 3160 "configure" 3155 3160 #include "confdefs.h" 3156 3161 #include <$ac_hdr> 3157 3162 EOF 3158 3163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3159 { (eval echo configure:316 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3164 { (eval echo configure:3165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3160 3165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3161 3166 if test -z "$ac_err"; then … … 3186 3191 if test "$ac_cv_header_gmp_h" = yes; then 3187 3192 cat > conftest.$ac_ext <<EOF 3188 #line 31 89"configure"3193 #line 3194 "configure" 3189 3194 #include "confdefs.h" 3190 3195 #include <gmp.h> … … 3199 3204 if test ! "$MPZ_PTR" = mpz_ptr; then 3200 3205 cat > conftest.$ac_ext <<EOF 3201 #line 320 2"configure"3206 #line 3207 "configure" 3202 3207 #include "confdefs.h" 3203 3208 #include <gmp.h> … … 3228 3233 fi 3229 3234 cat > conftest.$ac_ext <<EOF 3230 #line 323 1"configure"3235 #line 3236 "configure" 3231 3236 #include "confdefs.h" 3232 3237 #include <gmp.h> … … 3473 3478 3474 3479 echo $ac_n "checking for ulong""... $ac_c" 1>&6 3475 echo "configure:34 76: checking for ulong" >&53480 echo "configure:3481: checking for ulong" >&5 3476 3481 if eval "test \"`echo '$''{'ac_cv_type_ulong'+set}'`\" = set"; then 3477 3482 echo $ac_n "(cached) $ac_c" 1>&6 3478 3483 else 3479 3484 cat > conftest.$ac_ext <<EOF 3480 #line 348 1"configure"3485 #line 3486 "configure" 3481 3486 #include "confdefs.h" 3482 3487 #include <sys/types.h> … … 3519 3524 ac_safe=`echo "TB.h" | sed 'y%./+-%__p_%'` 3520 3525 echo $ac_n "checking for TB.h""... $ac_c" 1>&6 3521 echo "configure:352 2: checking for TB.h" >&53526 echo "configure:3527: checking for TB.h" >&5 3522 3527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3523 3528 echo $ac_n "(cached) $ac_c" 1>&6 3524 3529 else 3525 3530 cat > conftest.$ac_ext <<EOF 3526 #line 35 27"configure"3531 #line 3532 "configure" 3527 3532 #include "confdefs.h" 3528 3533 #include <TB.h> 3529 3534 EOF 3530 3535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3531 { (eval echo configure:353 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3536 { (eval echo configure:3537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3532 3537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3533 3538 if test -z "$ac_err"; then … … 3563 3568 ac_safe=`echo "pvm3.h" | sed 'y%./+-%__p_%'` 3564 3569 echo $ac_n "checking for pvm3.h""... $ac_c" 1>&6 3565 echo "configure:35 66: checking for pvm3.h" >&53570 echo "configure:3571: checking for pvm3.h" >&5 3566 3571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3567 3572 echo $ac_n "(cached) $ac_c" 1>&6 3568 3573 else 3569 3574 cat > conftest.$ac_ext <<EOF 3570 #line 357 1"configure"3575 #line 3576 "configure" 3571 3576 #include "confdefs.h" 3572 3577 #include <pvm3.h> 3573 3578 EOF 3574 3579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3575 { (eval echo configure:35 76: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3580 { (eval echo configure:3581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3576 3581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3577 3582 if test -z "$ac_err"; then … … 3612 3617 set dummy ${with_rsh}; ac_word=$2 3613 3618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3614 echo "configure:36 15: checking for $ac_word" >&53619 echo "configure:3620: checking for $ac_word" >&5 3615 3620 if eval "test \"`echo '$''{'ac_cv_prog_with_rsh'+set}'`\" = set"; then 3616 3621 echo $ac_n "(cached) $ac_c" 1>&6 … … 3639 3644 3640 3645 if test "$ac_cv_prog_with_rsh" = $with_rsh; then 3641 ac_rsh_programs=${with_rsh}3646 mp_rsh_cmdline=${with_rsh} 3642 3647 else 3643 ac_rsh_programs=3648 mp_rsh_cmdline=no 3644 3649 fi 3645 fi 3646 3647 3648 3649 # Extract the first word of "rsh", so it can be a program name with args. 3650 else 3651 mp_rsh_cmdline=no 3652 fi 3653 3654 if test "$mp_rsh_cmdline" = no; then 3655 # Extract the first word of "ssh", so it can be a program name with args. 3656 set dummy ssh; ac_word=$2 3657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3658 echo "configure:3659: checking for $ac_word" >&5 3659 if eval "test \"`echo '$''{'ac_cv_prog_mp_ssh'+set}'`\" = set"; then 3660 echo $ac_n "(cached) $ac_c" 1>&6 3661 else 3662 if test -n "$mp_ssh"; then 3663 ac_cv_prog_mp_ssh="$mp_ssh" # Let the user override the test. 3664 else 3665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3666 ac_dummy="$PATH" 3667 for ac_dir in $ac_dummy; do 3668 test -z "$ac_dir" && ac_dir=. 3669 if test -f $ac_dir/$ac_word; then 3670 ac_cv_prog_mp_ssh="ssh" 3671 break 3672 fi 3673 done 3674 IFS="$ac_save_ifs" 3675 test -z "$ac_cv_prog_mp_ssh" && ac_cv_prog_mp_ssh="no" 3676 fi 3677 fi 3678 mp_ssh="$ac_cv_prog_mp_ssh" 3679 if test -n "$mp_ssh"; then 3680 echo "$ac_t""$mp_ssh" 1>&6 3681 else 3682 echo "$ac_t""no" 1>&6 3683 fi 3684 3685 # Extract the first word of "remsh", so it can be a program name with args. 3686 set dummy remsh; ac_word=$2 3687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3688 echo "configure:3689: checking for $ac_word" >&5 3689 if eval "test \"`echo '$''{'ac_cv_prog_mp_remsh'+set}'`\" = set"; then 3690 echo $ac_n "(cached) $ac_c" 1>&6 3691 else 3692 if test -n "$mp_remsh"; then 3693 ac_cv_prog_mp_remsh="$mp_remsh" # Let the user override the test. 3694 else 3695 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3696 ac_dummy="$PATH" 3697 for ac_dir in $ac_dummy; do 3698 test -z "$ac_dir" && ac_dir=. 3699 if test -f $ac_dir/$ac_word; then 3700 ac_cv_prog_mp_remsh="remsh" 3701 break 3702 fi 3703 done 3704 IFS="$ac_save_ifs" 3705 test -z "$ac_cv_prog_mp_remsh" && ac_cv_prog_mp_remsh="no" 3706 fi 3707 fi 3708 mp_remsh="$ac_cv_prog_mp_remsh" 3709 if test -n "$mp_remsh"; then 3710 echo "$ac_t""$mp_remsh" 1>&6 3711 else 3712 echo "$ac_t""no" 1>&6 3713 fi 3714 3715 # Extract the first word of "rsh", so it can be a program name with args. 3650 3716 set dummy rsh; ac_word=$2 3651 3717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3652 echo "configure:3 653: checking for $ac_word" >&53718 echo "configure:3719: checking for $ac_word" >&5 3653 3719 if eval "test \"`echo '$''{'ac_cv_prog_mp_rsh'+set}'`\" = set"; then 3654 3720 echo $ac_n "(cached) $ac_c" 1>&6 … … 3677 3743 fi 3678 3744 3679 if test "$ac_cv_prog_mp_rsh" = rsh; then 3680 ac_rsh_programs="$ac_rsh_programs rsh" 3681 fi 3682 3683 # Extract the first word of "remsh", so it can be a program name with args. 3684 set dummy remsh; ac_word=$2 3685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3686 echo "configure:3687: checking for $ac_word" >&5 3687 if eval "test \"`echo '$''{'ac_cv_prog_mp_remsh'+set}'`\" = set"; then 3688 echo $ac_n "(cached) $ac_c" 1>&6 3689 else 3690 if test -n "$mp_remsh"; then 3691 ac_cv_prog_mp_remsh="$mp_remsh" # Let the user override the test. 3692 else 3693 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3694 ac_dummy="$PATH" 3695 for ac_dir in $ac_dummy; do 3696 test -z "$ac_dir" && ac_dir=. 3697 if test -f $ac_dir/$ac_word; then 3698 ac_cv_prog_mp_remsh="remsh" 3699 break 3700 fi 3701 done 3702 IFS="$ac_save_ifs" 3703 test -z "$ac_cv_prog_mp_remsh" && ac_cv_prog_mp_remsh="no" 3704 fi 3705 fi 3706 mp_remsh="$ac_cv_prog_mp_remsh" 3707 if test -n "$mp_remsh"; then 3708 echo "$ac_t""$mp_remsh" 1>&6 3709 else 3710 echo "$ac_t""no" 1>&6 3711 fi 3712 3713 if test "$ac_cv_prog_mp_remsh" = remsh; then 3714 ac_rsh_programs="$ac_rsh_programs remsh" 3715 fi 3716 3717 # Extract the first word of "ssh", so it can be a program name with args. 3718 set dummy ssh; ac_word=$2 3719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3720 echo "configure:3721: checking for $ac_word" >&5 3721 if eval "test \"`echo '$''{'ac_cv_prog_mp_ssh'+set}'`\" = set"; then 3722 echo $ac_n "(cached) $ac_c" 1>&6 3723 else 3724 if test -n "$mp_ssh"; then 3725 ac_cv_prog_mp_ssh="$mp_ssh" # Let the user override the test. 3726 else 3727 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3728 ac_dummy="$PATH" 3729 for ac_dir in $ac_dummy; do 3730 test -z "$ac_dir" && ac_dir=. 3731 if test -f $ac_dir/$ac_word; then 3732 ac_cv_prog_mp_ssh="ssh" 3733 break 3734 fi 3735 done 3736 IFS="$ac_save_ifs" 3737 test -z "$ac_cv_prog_mp_ssh" && ac_cv_prog_mp_ssh="no" 3738 fi 3739 fi 3740 mp_ssh="$ac_cv_prog_mp_ssh" 3741 if test -n "$mp_ssh"; then 3742 echo "$ac_t""$mp_ssh" 1>&6 3743 else 3744 echo "$ac_t""no" 1>&6 3745 fi 3746 3747 if test "$ac_cv_prog_mp_ssh" = ssh; then 3748 ac_rsh_programs="$ac_rsh_programs ssh" 3749 fi 3750 3751 for mp_rsh in $ac_rsh_programs; do 3752 echo $ac_n "checking whether $mp_rsh works""... $ac_c" 1>&6 3753 echo "configure:3754: checking whether $mp_rsh works" >&5 3754 if $mp_rsh `hostname` -n uname > /dev/null 2>&1; then 3755 mp_rsh_found=$mp_rsh 3756 echo "$ac_t""yes" 1>&6 3757 break; 3758 elif $mp_rsh localhost -n uname > /dev/null 2>&1; then 3759 mp_rsh_found=$mp_rsh 3760 echo "$ac_t""yes" 1>&6 3761 break; 3762 else 3763 mp_rsh_found=none 3764 echo "$ac_t""no" 1>&6 3765 fi 3766 done 3767 if test "${mp_rsh_found}" = none; then 3768 echo "configure: warning: "No working remote shell command found"" 1>&2 3745 if test "$ac_cv_prog_mp_ssh" = ssh; then 3746 mp_rsh_found=ssh 3747 elif test "$ac_cv_prog_mp_remsh" = remsh; then 3748 mp_rsh_found=remsh 3749 elif test "$ac_cv_prog_mp_rsh" = rsh; then 3750 mp_rsh_found=rsh 3751 else 3752 mp_rsh_found=no 3753 fi 3754 else 3755 mp_rsh_found=${mp_rsh_cmdline} 3756 fi 3757 3758 echo $ac_n "checking which remote shell command to use""... $ac_c" 1>&6 3759 echo "configure:3760: checking which remote shell command to use" >&5 3760 echo "$ac_t""${mp_rsh_found}" 1>&6 3761 3762 if test "$mp_rsh_found" = no; then 3763 echo "configure: warning: "No remote shell command found"" 1>&2 3769 3764 else 3770 3765 cat >> confdefs.h <<EOF … … 3772 3767 EOF 3773 3768 3774 # check whether it alsow works with localhost, instead of hostname 3775 if $mp_rsh localhost -n uname > /dev/null 2>&1; then 3776 cat >> confdefs.h <<\EOF 3777 #define RSH_CAN_LOCALHOST 1 3778 EOF 3779 3780 fi 3769 # check whether it also works with localhost, instead of hostname 3770 #if $mp_rsh localhost -n uname > /dev/null 2>&1; then 3771 # AC_DEFINE(RSH_CAN_LOCALHOST) 3772 #fi 3781 3773 fi 3782 3774 … … 3793 3785 ac_safe=`echo "${with_malloc}" | sed 'y%./+-%__p_%'` 3794 3786 echo $ac_n "checking for ${with_malloc}""... $ac_c" 1>&6 3795 echo "configure:37 96: checking for ${with_malloc}" >&53787 echo "configure:3788: checking for ${with_malloc}" >&5 3796 3788 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3797 3789 echo $ac_n "(cached) $ac_c" 1>&6 3798 3790 else 3799 3791 cat > conftest.$ac_ext <<EOF 3800 #line 3 801"configure"3792 #line 3793 "configure" 3801 3793 #include "confdefs.h" 3802 3794 #include <${with_malloc}> 3803 3795 EOF 3804 3796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3805 { (eval echo configure:3 806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3797 { (eval echo configure:3798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3806 3798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3807 3799 if test -z "$ac_err"; then … … 3827 3819 fi 3828 3820 echo $ac_n "checking where malloc rotuines come from""... $ac_c" 1>&6 3829 echo "configure:38 30: checking where malloc rotuines come from" >&53821 echo "configure:3822: checking where malloc rotuines come from" >&5 3830 3822 if test "${with_malloc+set}" = set; then 3831 3823 echo "$ac_t""${with_malloc}" 1>&6 … … 3844 3836 3845 3837 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3846 echo "configure:38 47: checking whether byte ordering is bigendian" >&53838 echo "configure:3839: checking whether byte ordering is bigendian" >&5 3847 3839 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3848 3840 echo $ac_n "(cached) $ac_c" 1>&6 … … 3851 3843 # See if sys/param.h defines the BYTE_ORDER macro. 3852 3844 cat > conftest.$ac_ext <<EOF 3853 #line 38 54"configure"3845 #line 3846 "configure" 3854 3846 #include "confdefs.h" 3855 3847 #include <sys/types.h> … … 3862 3854 ; return 0; } 3863 3855 EOF 3864 if { (eval echo configure:38 65: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3856 if { (eval echo configure:3857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3865 3857 rm -rf conftest* 3866 3858 # It does; now see whether it defined to BIG_ENDIAN or not. 3867 3859 cat > conftest.$ac_ext <<EOF 3868 #line 386 9"configure"3860 #line 3861 "configure" 3869 3861 #include "confdefs.h" 3870 3862 #include <sys/types.h> … … 3877 3869 ; return 0; } 3878 3870 EOF 3879 if { (eval echo configure:38 80: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3871 if { (eval echo configure:3872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3880 3872 rm -rf conftest* 3881 3873 ac_cv_c_bigendian=yes … … 3897 3889 else 3898 3890 cat > conftest.$ac_ext <<EOF 3899 #line 3 900"configure"3891 #line 3892 "configure" 3900 3892 #include "confdefs.h" 3901 3893 main () { … … 3910 3902 } 3911 3903 EOF 3912 if { (eval echo configure:39 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3904 if { (eval echo configure:3905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3913 3905 then 3914 3906 ac_cv_c_bigendian=no … … 3934 3926 3935 3927 echo $ac_n "checking for working const""... $ac_c" 1>&6 3936 echo "configure:39 37: checking for working const" >&53928 echo "configure:3929: checking for working const" >&5 3937 3929 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3938 3930 echo $ac_n "(cached) $ac_c" 1>&6 3939 3931 else 3940 3932 cat > conftest.$ac_ext <<EOF 3941 #line 39 42"configure"3933 #line 3934 "configure" 3942 3934 #include "confdefs.h" 3943 3935 … … 3988 3980 ; return 0; } 3989 3981 EOF 3990 if { (eval echo configure:39 91: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3982 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3991 3983 rm -rf conftest* 3992 3984 ac_cv_c_const=yes … … 4009 4001 4010 4002 echo $ac_n "checking for size_t""... $ac_c" 1>&6 4011 echo "configure:40 12: checking for size_t" >&54003 echo "configure:4004: checking for size_t" >&5 4012 4004 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 4013 4005 echo $ac_n "(cached) $ac_c" 1>&6 4014 4006 else 4015 4007 cat > conftest.$ac_ext <<EOF 4016 #line 40 17"configure"4008 #line 4009 "configure" 4017 4009 #include "confdefs.h" 4018 4010 #include <sys/types.h> … … 4042 4034 4043 4035 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 4044 echo "configure:40 45: checking whether time.h and sys/time.h may both be included" >&54036 echo "configure:4037: checking whether time.h and sys/time.h may both be included" >&5 4045 4037 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 4046 4038 echo $ac_n "(cached) $ac_c" 1>&6 4047 4039 else 4048 4040 cat > conftest.$ac_ext <<EOF 4049 #line 40 50"configure"4041 #line 4042 "configure" 4050 4042 #include "confdefs.h" 4051 4043 #include <sys/types.h> … … 4056 4048 ; return 0; } 4057 4049 EOF 4058 if { (eval echo configure:405 9: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4050 if { (eval echo configure:4051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4059 4051 rm -rf conftest* 4060 4052 ac_cv_header_time=yes … … 4078 4070 4079 4071 echo $ac_n "checking size of long""... $ac_c" 1>&6 4080 echo "configure:40 81: checking size of long" >&54072 echo "configure:4073: checking size of long" >&5 4081 4073 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 4082 4074 echo $ac_n "(cached) $ac_c" 1>&6 … … 4086 4078 else 4087 4079 cat > conftest.$ac_ext <<EOF 4088 #line 408 9"configure"4080 #line 4081 "configure" 4089 4081 #include "confdefs.h" 4090 4082 #include <stdio.h> … … 4097 4089 } 4098 4090 EOF 4099 if { (eval echo configure:4 100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4091 if { (eval echo configure:4092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4100 4092 then 4101 4093 ac_cv_sizeof_long=`cat conftestval` … … 4299 4291 s%@NEED_LIBS@%$NEED_LIBS%g 4300 4292 s%@with_rsh@%$with_rsh%g 4293 s%@mp_ssh@%$mp_ssh%g 4294 s%@mp_remsh@%$mp_remsh%g 4301 4295 s%@mp_rsh@%$mp_rsh%g 4302 s%@mp_remsh@%$mp_remsh%g4303 s%@mp_ssh@%$mp_ssh%g4304 4296 s%@CLEAN@%$CLEAN%g 4305 4297 s%@subdirs@%$subdirs%g -
MP/configure.in
rd2f3863 r3824e90 1 dnl1 onl 2 2 dnl Written by Olaf Bachmann (obachman@mathematik.uni-kl.de) 3 3 dnl … … 231 231 dnl Wrong preprocessor statement in /usr/include/values.h causes 232 232 dnl problems on FreeBSD 233 AC_HEADER_CHECK(values.h, freebsd_problem=no, 234 AC_CHECK_FILE(/usr/include/values.h,freebsd_problem=yes, 235 echo "*** no values.h";exit)) 236 if test "$freebsd_problem" != no; then 233 AC_HEADER_CHECK(values.h, freebsd_problem=no 234 no_values_h=no, 235 AC_CHECK_FILE(/usr/include/values.h, 236 freebsd_problem=yes 237 no_values_h=no, 238 no_values_h=yes 239 freebsd_problem=no)) 240 if test "${freebsd_problem}" != no; then 237 241 grep -v "#warning" /usr/include/values.h > ./values.h 242 elif test "${no_values_h}" != no; then 243 cp ./values.h.subst ./values.h 238 244 AC_TRY_CPP( #include "values.h" , 239 245 CPPFLAGS="-I. ${CPPFLAGS}", … … 430 436 AC_CHECK_PROG(with_rsh, ${with_rsh}, ${with_rsh}) 431 437 if test "$ac_cv_prog_with_rsh" = $with_rsh; then 432 ac_rsh_programs=${with_rsh} 433 else 434 ac_rsh_programs= 435 fi 436 fi 437 438 439 440 AC_CHECK_PROG(mp_rsh, rsh, rsh, no) 441 if test "$ac_cv_prog_mp_rsh" = rsh; then 442 ac_rsh_programs="$ac_rsh_programs rsh" 443 fi 444 445 AC_CHECK_PROG(mp_remsh, remsh, remsh, no) 446 if test "$ac_cv_prog_mp_remsh" = remsh; then 447 ac_rsh_programs="$ac_rsh_programs remsh" 448 fi 449 450 AC_CHECK_PROG(mp_ssh, ssh, ssh, no) 451 if test "$ac_cv_prog_mp_ssh" = ssh; then 452 ac_rsh_programs="$ac_rsh_programs ssh" 453 fi 454 455 for mp_rsh in $ac_rsh_programs; do 456 AC_MSG_CHECKING(whether $mp_rsh works) 457 if $mp_rsh `hostname` -n uname > /dev/null 2>&1; then 458 mp_rsh_found=$mp_rsh 459 AC_MSG_RESULT(yes, with hostname) 460 break; 461 elif $mp_rsh localhost -n uname > /dev/null 2>&1; then 462 mp_rsh_found=$mp_rsh 463 AC_MSG_RESULT(yes, with localhost) 464 break; 465 else 466 mp_rsh_found=none 467 AC_MSG_RESULT(no) 468 fi 469 done 470 if test "${mp_rsh_found}" = none; then 471 AC_MSG_WARN("No working remote shell command found") 438 mp_rsh_cmdline=${with_rsh} 439 else 440 mp_rsh_cmdline=no 441 fi 442 else 443 mp_rsh_cmdline=no 444 fi 445 446 if test "$mp_rsh_cmdline" = no; then 447 AC_CHECK_PROG(mp_ssh, ssh, ssh, no) 448 AC_CHECK_PROG(mp_remsh, remsh, remsh, no) 449 AC_CHECK_PROG(mp_rsh, rsh, rsh, no) 450 if test "$ac_cv_prog_mp_ssh" = ssh; then 451 mp_rsh_found=ssh 452 elif test "$ac_cv_prog_mp_remsh" = remsh; then 453 mp_rsh_found=remsh 454 elif test "$ac_cv_prog_mp_rsh" = rsh; then 455 mp_rsh_found=rsh 456 else 457 mp_rsh_found=no 458 fi 459 else 460 mp_rsh_found=${mp_rsh_cmdline} 461 fi 462 463 AC_MSG_CHECKING(which remote shell command to use) 464 AC_MSG_RESULT(${mp_rsh_found}) 465 466 if test "$mp_rsh_found" = no; then 467 AC_MSG_WARN("No remote shell command found") 472 468 else 473 469 AC_DEFINE_UNQUOTED(MP_RSH_COMMAND, "$mp_rsh_found") 474 # check whether it also wworks with localhost, instead of hostname475 if $mp_rsh localhost -n uname > /dev/null 2>&1; then476 AC_DEFINE(RSH_CAN_LOCALHOST)477 fi470 # check whether it also works with localhost, instead of hostname 471 #if $mp_rsh localhost -n uname > /dev/null 2>&1; then 472 # AC_DEFINE(RSH_CAN_LOCALHOST) 473 #fi 478 474 fi 479 475
Note: See TracChangeset
for help on using the changeset viewer.