Mercurial > hg > xemacs-beta
comparison configure @ 416:ebe98a74bd68 r21-2-16
Import from CVS: tag r21-2-16
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:22:23 +0200 |
parents | da8ed4261e83 |
children | e804706bfb8c |
comparison
equal
deleted
inserted
replaced
415:a27f76b40c83 | 416:ebe98a74bd68 |
---|---|
2698 | 2698 |
2699 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 2699 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
2700 if test -n "$site_prefixes"; then | 2700 if test -n "$site_prefixes"; then |
2701 for dir in $site_prefixes; do | 2701 for dir in $site_prefixes; do |
2702 lib_dir="${dir}/lib" | 2702 lib_dir="${dir}/lib" |
2703 inc_dir="${dir}/include" | |
2703 if test ! -d "$dir"; then | 2704 if test ! -d "$dir"; then |
2704 { echo "Error:" "Invalid site prefix \`$dir': no such directory" >&2; exit 1; } | 2705 { echo "Error:" "Invalid site prefix \`$dir': no such directory" >&2; exit 1; } |
2705 elif test ! -d "$lib_dir"; then | 2706 elif test ! -d "$lib_dir"; then |
2706 { echo "Error:" "Invalid site prefix \`$dir': no such directory \`$lib_dir'" >&2; exit 1; } | 2707 { echo "Error:" "Invalid site prefix \`$dir': no such directory \`$lib_dir'" >&2; exit 1; } |
2707 else | 2708 else |
2733 esac | 2734 esac |
2734 fi | 2735 fi |
2735 | 2736 |
2736 if test "$add_runtime_path" = "yes"; then | 2737 if test "$add_runtime_path" = "yes"; then |
2737 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2738 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2738 echo "configure:2739: checking "for runtime libraries flag"" >&5 | 2739 echo "configure:2740: checking "for runtime libraries flag"" >&5 |
2739 case "$opsys" in | 2740 case "$opsys" in |
2740 sol2 ) dash_r="-R" ;; | 2741 sol2 ) dash_r="-R" ;; |
2741 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2742 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2742 *) | 2743 *) |
2743 dash_r="" | 2744 dash_r="" |
2755 esac | 2756 esac |
2756 shift | 2757 shift |
2757 done | 2758 done |
2758 fi | 2759 fi |
2759 cat > conftest.$ac_ext <<EOF | 2760 cat > conftest.$ac_ext <<EOF |
2760 #line 2761 "configure" | 2761 #line 2762 "configure" |
2761 #include "confdefs.h" | 2762 #include "confdefs.h" |
2762 | 2763 |
2763 int main() { | 2764 int main() { |
2764 | 2765 |
2765 ; return 0; } | 2766 ; return 0; } |
2766 EOF | 2767 EOF |
2767 if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2768 if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2768 rm -rf conftest* | 2769 rm -rf conftest* |
2769 dash_r="$try_dash_r" | 2770 dash_r="$try_dash_r" |
2770 else | 2771 else |
2771 echo "configure: failed program was:" >&5 | 2772 echo "configure: failed program was:" >&5 |
2772 cat conftest.$ac_ext >&5 | 2773 cat conftest.$ac_ext >&5 |
2864 else | 2865 else |
2865 doug_lea_malloc=no | 2866 doug_lea_malloc=no |
2866 fi | 2867 fi |
2867 after_morecore_hook_exists=yes | 2868 after_morecore_hook_exists=yes |
2868 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2869 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2869 echo "configure:2870: checking for malloc_get_state" >&5 | 2870 echo "configure:2871: checking for malloc_get_state" >&5 |
2870 | 2871 |
2871 cat > conftest.$ac_ext <<EOF | 2872 cat > conftest.$ac_ext <<EOF |
2872 #line 2873 "configure" | 2873 #line 2874 "configure" |
2873 #include "confdefs.h" | 2874 #include "confdefs.h" |
2874 /* System header to define __stub macros and hopefully few prototypes, | 2875 /* System header to define __stub macros and hopefully few prototypes, |
2875 which can conflict with char malloc_get_state(); below. */ | 2876 which can conflict with char malloc_get_state(); below. */ |
2876 #include <assert.h> | 2877 #include <assert.h> |
2877 /* Override any gcc2 internal prototype to avoid an error. */ | 2878 /* Override any gcc2 internal prototype to avoid an error. */ |
2890 malloc_get_state(); | 2891 malloc_get_state(); |
2891 #endif | 2892 #endif |
2892 | 2893 |
2893 ; return 0; } | 2894 ; return 0; } |
2894 EOF | 2895 EOF |
2895 if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2896 if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2896 rm -rf conftest* | 2897 rm -rf conftest* |
2897 eval "ac_cv_func_malloc_get_state=yes" | 2898 eval "ac_cv_func_malloc_get_state=yes" |
2898 else | 2899 else |
2899 echo "configure: failed program was:" >&5 | 2900 echo "configure: failed program was:" >&5 |
2900 cat conftest.$ac_ext >&5 | 2901 cat conftest.$ac_ext >&5 |
2910 echo "$ac_t""no" 1>&6 | 2911 echo "$ac_t""no" 1>&6 |
2911 doug_lea_malloc=no | 2912 doug_lea_malloc=no |
2912 fi | 2913 fi |
2913 | 2914 |
2914 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2915 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2915 echo "configure:2916: checking for malloc_set_state" >&5 | 2916 echo "configure:2917: checking for malloc_set_state" >&5 |
2916 | 2917 |
2917 cat > conftest.$ac_ext <<EOF | 2918 cat > conftest.$ac_ext <<EOF |
2918 #line 2919 "configure" | 2919 #line 2920 "configure" |
2919 #include "confdefs.h" | 2920 #include "confdefs.h" |
2920 /* System header to define __stub macros and hopefully few prototypes, | 2921 /* System header to define __stub macros and hopefully few prototypes, |
2921 which can conflict with char malloc_set_state(); below. */ | 2922 which can conflict with char malloc_set_state(); below. */ |
2922 #include <assert.h> | 2923 #include <assert.h> |
2923 /* Override any gcc2 internal prototype to avoid an error. */ | 2924 /* Override any gcc2 internal prototype to avoid an error. */ |
2936 malloc_set_state(); | 2937 malloc_set_state(); |
2937 #endif | 2938 #endif |
2938 | 2939 |
2939 ; return 0; } | 2940 ; return 0; } |
2940 EOF | 2941 EOF |
2941 if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2942 if { (eval echo configure:2943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2942 rm -rf conftest* | 2943 rm -rf conftest* |
2943 eval "ac_cv_func_malloc_set_state=yes" | 2944 eval "ac_cv_func_malloc_set_state=yes" |
2944 else | 2945 else |
2945 echo "configure: failed program was:" >&5 | 2946 echo "configure: failed program was:" >&5 |
2946 cat conftest.$ac_ext >&5 | 2947 cat conftest.$ac_ext >&5 |
2956 echo "$ac_t""no" 1>&6 | 2957 echo "$ac_t""no" 1>&6 |
2957 doug_lea_malloc=no | 2958 doug_lea_malloc=no |
2958 fi | 2959 fi |
2959 | 2960 |
2960 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2961 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2961 echo "configure:2962: checking whether __after_morecore_hook exists" >&5 | 2962 echo "configure:2963: checking whether __after_morecore_hook exists" >&5 |
2962 cat > conftest.$ac_ext <<EOF | 2963 cat > conftest.$ac_ext <<EOF |
2963 #line 2964 "configure" | 2964 #line 2965 "configure" |
2964 #include "confdefs.h" | 2965 #include "confdefs.h" |
2965 extern void (* __after_morecore_hook)(); | 2966 extern void (* __after_morecore_hook)(); |
2966 int main() { | 2967 int main() { |
2967 __after_morecore_hook = 0 | 2968 __after_morecore_hook = 0 |
2968 ; return 0; } | 2969 ; return 0; } |
2969 EOF | 2970 EOF |
2970 if { (eval echo configure:2971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2971 if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2971 rm -rf conftest* | 2972 rm -rf conftest* |
2972 echo "$ac_t""yes" 1>&6 | 2973 echo "$ac_t""yes" 1>&6 |
2973 else | 2974 else |
2974 echo "configure: failed program was:" >&5 | 2975 echo "configure: failed program was:" >&5 |
2975 cat conftest.$ac_ext >&5 | 2976 cat conftest.$ac_ext >&5 |
3024 | 3025 |
3025 | 3026 |
3026 # Extract the first word of "ranlib", so it can be a program name with args. | 3027 # Extract the first word of "ranlib", so it can be a program name with args. |
3027 set dummy ranlib; ac_word=$2 | 3028 set dummy ranlib; ac_word=$2 |
3028 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3029 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3029 echo "configure:3030: checking for $ac_word" >&5 | 3030 echo "configure:3031: checking for $ac_word" >&5 |
3030 | 3031 |
3031 if test -n "$RANLIB"; then | 3032 if test -n "$RANLIB"; then |
3032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3033 else | 3034 else |
3034 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3035 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3082 # ./install, which can be erroneously created by make from ./install.sh. | 3083 # ./install, which can be erroneously created by make from ./install.sh. |
3083 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3084 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3084 echo "configure:3085: checking for a BSD compatible install" >&5 | 3085 echo "configure:3086: checking for a BSD compatible install" >&5 |
3085 if test -z "$INSTALL"; then | 3086 if test -z "$INSTALL"; then |
3086 | 3087 |
3087 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3088 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3088 for ac_dir in $PATH; do | 3089 for ac_dir in $PATH; do |
3089 # Account for people who put trailing slashes in PATH elements. | 3090 # Account for people who put trailing slashes in PATH elements. |
3133 for ac_prog in 'bison -y' byacc | 3134 for ac_prog in 'bison -y' byacc |
3134 do | 3135 do |
3135 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3136 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3136 set dummy $ac_prog; ac_word=$2 | 3137 set dummy $ac_prog; ac_word=$2 |
3137 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3138 echo "configure:3139: checking for $ac_word" >&5 | 3139 echo "configure:3140: checking for $ac_word" >&5 |
3139 | 3140 |
3140 if test -n "$YACC"; then | 3141 if test -n "$YACC"; then |
3141 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3142 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3142 else | 3143 else |
3143 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3165 | 3166 |
3166 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3167 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
3167 do | 3168 do |
3168 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3169 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3170 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3170 echo "configure:3171: checking for $ac_hdr" >&5 | 3171 echo "configure:3172: checking for $ac_hdr" >&5 |
3171 | 3172 |
3172 cat > conftest.$ac_ext <<EOF | 3173 cat > conftest.$ac_ext <<EOF |
3173 #line 3174 "configure" | 3174 #line 3175 "configure" |
3174 #include "confdefs.h" | 3175 #include "confdefs.h" |
3175 #include <$ac_hdr> | 3176 #include <$ac_hdr> |
3176 EOF | 3177 EOF |
3177 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" |
3178 { (eval echo configure:3179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3179 { (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3180 if test -z "$ac_err"; then | 3181 if test -z "$ac_err"; then |
3181 rm -rf conftest* | 3182 rm -rf conftest* |
3182 eval "ac_cv_header_$ac_safe=yes" | 3183 eval "ac_cv_header_$ac_safe=yes" |
3183 else | 3184 else |
3206 | 3207 |
3207 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3208 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
3208 do | 3209 do |
3209 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3210 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3210 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3211 echo "configure:3212: checking for $ac_hdr" >&5 | 3212 echo "configure:3213: checking for $ac_hdr" >&5 |
3212 | 3213 |
3213 cat > conftest.$ac_ext <<EOF | 3214 cat > conftest.$ac_ext <<EOF |
3214 #line 3215 "configure" | 3215 #line 3216 "configure" |
3215 #include "confdefs.h" | 3216 #include "confdefs.h" |
3216 #include <$ac_hdr> | 3217 #include <$ac_hdr> |
3217 EOF | 3218 EOF |
3218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3219 { (eval echo configure:3220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3220 { (eval echo configure:3221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3221 if test -z "$ac_err"; then | 3222 if test -z "$ac_err"; then |
3222 rm -rf conftest* | 3223 rm -rf conftest* |
3223 eval "ac_cv_header_$ac_safe=yes" | 3224 eval "ac_cv_header_$ac_safe=yes" |
3224 else | 3225 else |
3247 | 3248 |
3248 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3249 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3249 do | 3250 do |
3250 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3251 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3251 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3252 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3252 echo "configure:3253: checking for $ac_hdr" >&5 | 3253 echo "configure:3254: checking for $ac_hdr" >&5 |
3253 | 3254 |
3254 cat > conftest.$ac_ext <<EOF | 3255 cat > conftest.$ac_ext <<EOF |
3255 #line 3256 "configure" | 3256 #line 3257 "configure" |
3256 #include "confdefs.h" | 3257 #include "confdefs.h" |
3257 #include <$ac_hdr> | 3258 #include <$ac_hdr> |
3258 EOF | 3259 EOF |
3259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3260 { (eval echo configure:3261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3261 { (eval echo configure:3262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3262 if test -z "$ac_err"; then | 3263 if test -z "$ac_err"; then |
3263 rm -rf conftest* | 3264 rm -rf conftest* |
3264 eval "ac_cv_header_$ac_safe=yes" | 3265 eval "ac_cv_header_$ac_safe=yes" |
3265 else | 3266 else |
3285 echo "$ac_t""no" 1>&6 | 3286 echo "$ac_t""no" 1>&6 |
3286 fi | 3287 fi |
3287 done | 3288 done |
3288 | 3289 |
3289 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3290 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3290 echo "configure:3291: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3291 echo "configure:3292: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3291 | 3292 |
3292 cat > conftest.$ac_ext <<EOF | 3293 cat > conftest.$ac_ext <<EOF |
3293 #line 3294 "configure" | 3294 #line 3295 "configure" |
3294 #include "confdefs.h" | 3295 #include "confdefs.h" |
3295 #include <sys/types.h> | 3296 #include <sys/types.h> |
3296 #include <sys/wait.h> | 3297 #include <sys/wait.h> |
3297 #ifndef WEXITSTATUS | 3298 #ifndef WEXITSTATUS |
3298 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3299 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3304 int s; | 3305 int s; |
3305 wait (&s); | 3306 wait (&s); |
3306 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3307 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3307 ; return 0; } | 3308 ; return 0; } |
3308 EOF | 3309 EOF |
3309 if { (eval echo configure:3310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3310 rm -rf conftest* | 3311 rm -rf conftest* |
3311 ac_cv_header_sys_wait_h=yes | 3312 ac_cv_header_sys_wait_h=yes |
3312 else | 3313 else |
3313 echo "configure: failed program was:" >&5 | 3314 echo "configure: failed program was:" >&5 |
3314 cat conftest.$ac_ext >&5 | 3315 cat conftest.$ac_ext >&5 |
3328 } | 3329 } |
3329 | 3330 |
3330 fi | 3331 fi |
3331 | 3332 |
3332 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3333 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3333 echo "configure:3334: checking for ANSI C header files" >&5 | 3334 echo "configure:3335: checking for ANSI C header files" >&5 |
3334 | 3335 |
3335 cat > conftest.$ac_ext <<EOF | 3336 cat > conftest.$ac_ext <<EOF |
3336 #line 3337 "configure" | 3337 #line 3338 "configure" |
3337 #include "confdefs.h" | 3338 #include "confdefs.h" |
3338 #include <stdlib.h> | 3339 #include <stdlib.h> |
3339 #include <stdarg.h> | 3340 #include <stdarg.h> |
3340 #include <string.h> | 3341 #include <string.h> |
3341 #include <float.h> | 3342 #include <float.h> |
3342 EOF | 3343 EOF |
3343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3344 { (eval echo configure:3345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3345 { (eval echo configure:3346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3346 if test -z "$ac_err"; then | 3347 if test -z "$ac_err"; then |
3347 rm -rf conftest* | 3348 rm -rf conftest* |
3348 ac_cv_header_stdc=yes | 3349 ac_cv_header_stdc=yes |
3349 else | 3350 else |
3356 rm -f conftest* | 3357 rm -f conftest* |
3357 | 3358 |
3358 if test $ac_cv_header_stdc = yes; then | 3359 if test $ac_cv_header_stdc = yes; then |
3359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3360 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3360 cat > conftest.$ac_ext <<EOF | 3361 cat > conftest.$ac_ext <<EOF |
3361 #line 3362 "configure" | 3362 #line 3363 "configure" |
3362 #include "confdefs.h" | 3363 #include "confdefs.h" |
3363 #include <string.h> | 3364 #include <string.h> |
3364 EOF | 3365 EOF |
3365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3366 egrep "memchr" >/dev/null 2>&1; then | 3367 egrep "memchr" >/dev/null 2>&1; then |
3374 fi | 3375 fi |
3375 | 3376 |
3376 if test $ac_cv_header_stdc = yes; then | 3377 if test $ac_cv_header_stdc = yes; then |
3377 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3378 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3378 cat > conftest.$ac_ext <<EOF | 3379 cat > conftest.$ac_ext <<EOF |
3379 #line 3380 "configure" | 3380 #line 3381 "configure" |
3380 #include "confdefs.h" | 3381 #include "confdefs.h" |
3381 #include <stdlib.h> | 3382 #include <stdlib.h> |
3382 EOF | 3383 EOF |
3383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3384 egrep "free" >/dev/null 2>&1; then | 3385 egrep "free" >/dev/null 2>&1; then |
3392 fi | 3393 fi |
3393 | 3394 |
3394 if test $ac_cv_header_stdc = yes; then | 3395 if test $ac_cv_header_stdc = yes; then |
3395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3396 cat > conftest.$ac_ext <<EOF | 3397 cat > conftest.$ac_ext <<EOF |
3397 #line 3398 "configure" | 3398 #line 3399 "configure" |
3398 #include "confdefs.h" | 3399 #include "confdefs.h" |
3399 #include <ctype.h> | 3400 #include <ctype.h> |
3400 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3401 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3401 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3402 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3402 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3403 int main () { int i; for (i = 0; i < 256; i++) | 3404 int main () { int i; for (i = 0; i < 256; i++) |
3404 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3405 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3405 exit (0); } | 3406 exit (0); } |
3406 | 3407 |
3407 EOF | 3408 EOF |
3408 if { (eval echo configure:3409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3409 if { (eval echo configure:3410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3409 then | 3410 then |
3410 : | 3411 : |
3411 else | 3412 else |
3412 conftest_rc="$?" | 3413 conftest_rc="$?" |
3413 echo "configure: failed program was:" >&5 | 3414 echo "configure: failed program was:" >&5 |
3429 } | 3430 } |
3430 | 3431 |
3431 fi | 3432 fi |
3432 | 3433 |
3433 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3434 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3434 echo "configure:3435: checking whether time.h and sys/time.h may both be included" >&5 | 3435 echo "configure:3436: checking whether time.h and sys/time.h may both be included" >&5 |
3435 | 3436 |
3436 cat > conftest.$ac_ext <<EOF | 3437 cat > conftest.$ac_ext <<EOF |
3437 #line 3438 "configure" | 3438 #line 3439 "configure" |
3438 #include "confdefs.h" | 3439 #include "confdefs.h" |
3439 #include <sys/types.h> | 3440 #include <sys/types.h> |
3440 #include <sys/time.h> | 3441 #include <sys/time.h> |
3441 #include <time.h> | 3442 #include <time.h> |
3442 int main() { | 3443 int main() { |
3443 struct tm *tp; | 3444 struct tm *tp; |
3444 ; return 0; } | 3445 ; return 0; } |
3445 EOF | 3446 EOF |
3446 if { (eval echo configure:3447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3447 if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3447 rm -rf conftest* | 3448 rm -rf conftest* |
3448 ac_cv_header_time=yes | 3449 ac_cv_header_time=yes |
3449 else | 3450 else |
3450 echo "configure: failed program was:" >&5 | 3451 echo "configure: failed program was:" >&5 |
3451 cat conftest.$ac_ext >&5 | 3452 cat conftest.$ac_ext >&5 |
3465 } | 3466 } |
3466 | 3467 |
3467 fi | 3468 fi |
3468 | 3469 |
3469 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3470 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3470 echo "configure:3471: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3471 echo "configure:3472: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3471 | 3472 |
3472 cat > conftest.$ac_ext <<EOF | 3473 cat > conftest.$ac_ext <<EOF |
3473 #line 3474 "configure" | 3474 #line 3475 "configure" |
3474 #include "confdefs.h" | 3475 #include "confdefs.h" |
3475 #include <sys/types.h> | 3476 #include <sys/types.h> |
3476 #include <signal.h> | 3477 #include <signal.h> |
3477 /* NetBSD declares sys_siglist in unistd.h. */ | 3478 /* NetBSD declares sys_siglist in unistd.h. */ |
3478 #ifdef HAVE_UNISTD_H | 3479 #ifdef HAVE_UNISTD_H |
3480 #endif | 3481 #endif |
3481 int main() { | 3482 int main() { |
3482 char *msg = *(sys_siglist + 1); | 3483 char *msg = *(sys_siglist + 1); |
3483 ; return 0; } | 3484 ; return 0; } |
3484 EOF | 3485 EOF |
3485 if { (eval echo configure:3486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3486 if { (eval echo configure:3487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3486 rm -rf conftest* | 3487 rm -rf conftest* |
3487 ac_cv_decl_sys_siglist=yes | 3488 ac_cv_decl_sys_siglist=yes |
3488 else | 3489 else |
3489 echo "configure: failed program was:" >&5 | 3490 echo "configure: failed program was:" >&5 |
3490 cat conftest.$ac_ext >&5 | 3491 cat conftest.$ac_ext >&5 |
3505 | 3506 |
3506 fi | 3507 fi |
3507 | 3508 |
3508 | 3509 |
3509 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3510 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3510 echo "configure:3511: checking for struct utimbuf" >&5 | 3511 echo "configure:3512: checking for struct utimbuf" >&5 |
3511 cat > conftest.$ac_ext <<EOF | 3512 cat > conftest.$ac_ext <<EOF |
3512 #line 3513 "configure" | 3513 #line 3514 "configure" |
3513 #include "confdefs.h" | 3514 #include "confdefs.h" |
3514 #ifdef TIME_WITH_SYS_TIME | 3515 #ifdef TIME_WITH_SYS_TIME |
3515 #include <sys/time.h> | 3516 #include <sys/time.h> |
3516 #include <time.h> | 3517 #include <time.h> |
3517 #else | 3518 #else |
3526 #endif | 3527 #endif |
3527 int main() { | 3528 int main() { |
3528 static struct utimbuf x; x.actime = x.modtime; | 3529 static struct utimbuf x; x.actime = x.modtime; |
3529 ; return 0; } | 3530 ; return 0; } |
3530 EOF | 3531 EOF |
3531 if { (eval echo configure:3532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3532 if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3532 rm -rf conftest* | 3533 rm -rf conftest* |
3533 echo "$ac_t""yes" 1>&6 | 3534 echo "$ac_t""yes" 1>&6 |
3534 { test "$extra_verbose" = "yes" && cat << \EOF | 3535 { test "$extra_verbose" = "yes" && cat << \EOF |
3535 Defining HAVE_STRUCT_UTIMBUF | 3536 Defining HAVE_STRUCT_UTIMBUF |
3536 EOF | 3537 EOF |
3546 echo "$ac_t""no" 1>&6 | 3547 echo "$ac_t""no" 1>&6 |
3547 fi | 3548 fi |
3548 rm -f conftest* | 3549 rm -f conftest* |
3549 | 3550 |
3550 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3551 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3551 echo "configure:3552: checking return type of signal handlers" >&5 | 3552 echo "configure:3553: checking return type of signal handlers" >&5 |
3552 | 3553 |
3553 cat > conftest.$ac_ext <<EOF | 3554 cat > conftest.$ac_ext <<EOF |
3554 #line 3555 "configure" | 3555 #line 3556 "configure" |
3555 #include "confdefs.h" | 3556 #include "confdefs.h" |
3556 #include <sys/types.h> | 3557 #include <sys/types.h> |
3557 #include <signal.h> | 3558 #include <signal.h> |
3558 #ifdef signal | 3559 #ifdef signal |
3559 #undef signal | 3560 #undef signal |
3566 | 3567 |
3567 int main() { | 3568 int main() { |
3568 int i; | 3569 int i; |
3569 ; return 0; } | 3570 ; return 0; } |
3570 EOF | 3571 EOF |
3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3572 rm -rf conftest* | 3573 rm -rf conftest* |
3573 ac_cv_type_signal=void | 3574 ac_cv_type_signal=void |
3574 else | 3575 else |
3575 echo "configure: failed program was:" >&5 | 3576 echo "configure: failed program was:" >&5 |
3576 cat conftest.$ac_ext >&5 | 3577 cat conftest.$ac_ext >&5 |
3588 EOF | 3589 EOF |
3589 } | 3590 } |
3590 | 3591 |
3591 | 3592 |
3592 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3593 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3593 echo "configure:3594: checking for size_t" >&5 | 3594 echo "configure:3595: checking for size_t" >&5 |
3594 | 3595 |
3595 cat > conftest.$ac_ext <<EOF | 3596 cat > conftest.$ac_ext <<EOF |
3596 #line 3597 "configure" | 3597 #line 3598 "configure" |
3597 #include "confdefs.h" | 3598 #include "confdefs.h" |
3598 #include <sys/types.h> | 3599 #include <sys/types.h> |
3599 #if STDC_HEADERS | 3600 #if STDC_HEADERS |
3600 #include <stdlib.h> | 3601 #include <stdlib.h> |
3601 #include <stddef.h> | 3602 #include <stddef.h> |
3622 } | 3623 } |
3623 | 3624 |
3624 fi | 3625 fi |
3625 | 3626 |
3626 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3627 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3627 echo "configure:3628: checking for pid_t" >&5 | 3628 echo "configure:3629: checking for pid_t" >&5 |
3628 | 3629 |
3629 cat > conftest.$ac_ext <<EOF | 3630 cat > conftest.$ac_ext <<EOF |
3630 #line 3631 "configure" | 3631 #line 3632 "configure" |
3631 #include "confdefs.h" | 3632 #include "confdefs.h" |
3632 #include <sys/types.h> | 3633 #include <sys/types.h> |
3633 #if STDC_HEADERS | 3634 #if STDC_HEADERS |
3634 #include <stdlib.h> | 3635 #include <stdlib.h> |
3635 #include <stddef.h> | 3636 #include <stddef.h> |
3656 } | 3657 } |
3657 | 3658 |
3658 fi | 3659 fi |
3659 | 3660 |
3660 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3661 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3661 echo "configure:3662: checking for uid_t in sys/types.h" >&5 | 3662 echo "configure:3663: checking for uid_t in sys/types.h" >&5 |
3662 | 3663 |
3663 cat > conftest.$ac_ext <<EOF | 3664 cat > conftest.$ac_ext <<EOF |
3664 #line 3665 "configure" | 3665 #line 3666 "configure" |
3665 #include "confdefs.h" | 3666 #include "confdefs.h" |
3666 #include <sys/types.h> | 3667 #include <sys/types.h> |
3667 EOF | 3668 EOF |
3668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3669 egrep "uid_t" >/dev/null 2>&1; then | 3670 egrep "uid_t" >/dev/null 2>&1; then |
3695 } | 3696 } |
3696 | 3697 |
3697 fi | 3698 fi |
3698 | 3699 |
3699 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3700 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3700 echo "configure:3701: checking for mode_t" >&5 | 3701 echo "configure:3702: checking for mode_t" >&5 |
3701 | 3702 |
3702 cat > conftest.$ac_ext <<EOF | 3703 cat > conftest.$ac_ext <<EOF |
3703 #line 3704 "configure" | 3704 #line 3705 "configure" |
3704 #include "confdefs.h" | 3705 #include "confdefs.h" |
3705 #include <sys/types.h> | 3706 #include <sys/types.h> |
3706 #if STDC_HEADERS | 3707 #if STDC_HEADERS |
3707 #include <stdlib.h> | 3708 #include <stdlib.h> |
3708 #include <stddef.h> | 3709 #include <stddef.h> |
3729 } | 3730 } |
3730 | 3731 |
3731 fi | 3732 fi |
3732 | 3733 |
3733 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3734 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3734 echo "configure:3735: checking for off_t" >&5 | 3735 echo "configure:3736: checking for off_t" >&5 |
3735 | 3736 |
3736 cat > conftest.$ac_ext <<EOF | 3737 cat > conftest.$ac_ext <<EOF |
3737 #line 3738 "configure" | 3738 #line 3739 "configure" |
3738 #include "confdefs.h" | 3739 #include "confdefs.h" |
3739 #include <sys/types.h> | 3740 #include <sys/types.h> |
3740 #if STDC_HEADERS | 3741 #if STDC_HEADERS |
3741 #include <stdlib.h> | 3742 #include <stdlib.h> |
3742 #include <stddef.h> | 3743 #include <stddef.h> |
3764 | 3765 |
3765 fi | 3766 fi |
3766 | 3767 |
3767 | 3768 |
3768 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3769 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3769 echo "configure:3770: checking for struct timeval" >&5 | 3770 echo "configure:3771: checking for struct timeval" >&5 |
3770 cat > conftest.$ac_ext <<EOF | 3771 cat > conftest.$ac_ext <<EOF |
3771 #line 3772 "configure" | 3772 #line 3773 "configure" |
3772 #include "confdefs.h" | 3773 #include "confdefs.h" |
3773 #ifdef TIME_WITH_SYS_TIME | 3774 #ifdef TIME_WITH_SYS_TIME |
3774 #include <sys/time.h> | 3775 #include <sys/time.h> |
3775 #include <time.h> | 3776 #include <time.h> |
3776 #else | 3777 #else |
3782 #endif | 3783 #endif |
3783 int main() { | 3784 int main() { |
3784 static struct timeval x; x.tv_sec = x.tv_usec; | 3785 static struct timeval x; x.tv_sec = x.tv_usec; |
3785 ; return 0; } | 3786 ; return 0; } |
3786 EOF | 3787 EOF |
3787 if { (eval echo configure:3788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3788 if { (eval echo configure:3789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3788 rm -rf conftest* | 3789 rm -rf conftest* |
3789 echo "$ac_t""yes" 1>&6 | 3790 echo "$ac_t""yes" 1>&6 |
3790 HAVE_TIMEVAL=yes | 3791 HAVE_TIMEVAL=yes |
3791 { test "$extra_verbose" = "yes" && cat << \EOF | 3792 { test "$extra_verbose" = "yes" && cat << \EOF |
3792 Defining HAVE_TIMEVAL | 3793 Defining HAVE_TIMEVAL |
3804 HAVE_TIMEVAL=no | 3805 HAVE_TIMEVAL=no |
3805 fi | 3806 fi |
3806 rm -f conftest* | 3807 rm -f conftest* |
3807 | 3808 |
3808 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3809 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3809 echo "configure:3810: checking whether struct tm is in sys/time.h or time.h" >&5 | 3810 echo "configure:3811: checking whether struct tm is in sys/time.h or time.h" >&5 |
3810 | 3811 |
3811 cat > conftest.$ac_ext <<EOF | 3812 cat > conftest.$ac_ext <<EOF |
3812 #line 3813 "configure" | 3813 #line 3814 "configure" |
3813 #include "confdefs.h" | 3814 #include "confdefs.h" |
3814 #include <sys/types.h> | 3815 #include <sys/types.h> |
3815 #include <time.h> | 3816 #include <time.h> |
3816 int main() { | 3817 int main() { |
3817 struct tm *tp; tp->tm_sec; | 3818 struct tm *tp; tp->tm_sec; |
3818 ; return 0; } | 3819 ; return 0; } |
3819 EOF | 3820 EOF |
3820 if { (eval echo configure:3821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3821 if { (eval echo configure:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3821 rm -rf conftest* | 3822 rm -rf conftest* |
3822 ac_cv_struct_tm=time.h | 3823 ac_cv_struct_tm=time.h |
3823 else | 3824 else |
3824 echo "configure: failed program was:" >&5 | 3825 echo "configure: failed program was:" >&5 |
3825 cat conftest.$ac_ext >&5 | 3826 cat conftest.$ac_ext >&5 |
3839 } | 3840 } |
3840 | 3841 |
3841 fi | 3842 fi |
3842 | 3843 |
3843 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3844 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3844 echo "configure:3845: checking for tm_zone in struct tm" >&5 | 3845 echo "configure:3846: checking for tm_zone in struct tm" >&5 |
3845 | 3846 |
3846 cat > conftest.$ac_ext <<EOF | 3847 cat > conftest.$ac_ext <<EOF |
3847 #line 3848 "configure" | 3848 #line 3849 "configure" |
3848 #include "confdefs.h" | 3849 #include "confdefs.h" |
3849 #include <sys/types.h> | 3850 #include <sys/types.h> |
3850 #include <$ac_cv_struct_tm> | 3851 #include <$ac_cv_struct_tm> |
3851 int main() { | 3852 int main() { |
3852 struct tm tm; tm.tm_zone; | 3853 struct tm tm; tm.tm_zone; |
3853 ; return 0; } | 3854 ; return 0; } |
3854 EOF | 3855 EOF |
3855 if { (eval echo configure:3856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3856 if { (eval echo configure:3857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3856 rm -rf conftest* | 3857 rm -rf conftest* |
3857 ac_cv_struct_tm_zone=yes | 3858 ac_cv_struct_tm_zone=yes |
3858 else | 3859 else |
3859 echo "configure: failed program was:" >&5 | 3860 echo "configure: failed program was:" >&5 |
3860 cat conftest.$ac_ext >&5 | 3861 cat conftest.$ac_ext >&5 |
3873 EOF | 3874 EOF |
3874 } | 3875 } |
3875 | 3876 |
3876 else | 3877 else |
3877 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3878 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3878 echo "configure:3879: checking for tzname" >&5 | 3879 echo "configure:3880: checking for tzname" >&5 |
3879 | 3880 |
3880 cat > conftest.$ac_ext <<EOF | 3881 cat > conftest.$ac_ext <<EOF |
3881 #line 3882 "configure" | 3882 #line 3883 "configure" |
3882 #include "confdefs.h" | 3883 #include "confdefs.h" |
3883 #include <time.h> | 3884 #include <time.h> |
3884 #ifndef tzname /* For SGI. */ | 3885 #ifndef tzname /* For SGI. */ |
3885 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3886 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3886 #endif | 3887 #endif |
3887 int main() { | 3888 int main() { |
3888 atoi(*tzname); | 3889 atoi(*tzname); |
3889 ; return 0; } | 3890 ; return 0; } |
3890 EOF | 3891 EOF |
3891 if { (eval echo configure:3892: \"$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 |
3892 rm -rf conftest* | 3893 rm -rf conftest* |
3893 ac_cv_var_tzname=yes | 3894 ac_cv_var_tzname=yes |
3894 else | 3895 else |
3895 echo "configure: failed program was:" >&5 | 3896 echo "configure: failed program was:" >&5 |
3896 cat conftest.$ac_ext >&5 | 3897 cat conftest.$ac_ext >&5 |
3912 fi | 3913 fi |
3913 fi | 3914 fi |
3914 | 3915 |
3915 | 3916 |
3916 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3917 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3917 echo "configure:3918: checking for working const" >&5 | 3918 echo "configure:3919: checking for working const" >&5 |
3918 | 3919 |
3919 cat > conftest.$ac_ext <<EOF | 3920 cat > conftest.$ac_ext <<EOF |
3920 #line 3921 "configure" | 3921 #line 3922 "configure" |
3921 #include "confdefs.h" | 3922 #include "confdefs.h" |
3922 | 3923 |
3923 int main() { | 3924 int main() { |
3924 | 3925 |
3925 /* Ultrix mips cc rejects this. */ | 3926 /* Ultrix mips cc rejects this. */ |
3964 const int foo = 10; | 3965 const int foo = 10; |
3965 } | 3966 } |
3966 | 3967 |
3967 ; return 0; } | 3968 ; return 0; } |
3968 EOF | 3969 EOF |
3969 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3970 if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3970 rm -rf conftest* | 3971 rm -rf conftest* |
3971 ac_cv_c_const=yes | 3972 ac_cv_c_const=yes |
3972 else | 3973 else |
3973 echo "configure: failed program was:" >&5 | 3974 echo "configure: failed program was:" >&5 |
3974 cat conftest.$ac_ext >&5 | 3975 cat conftest.$ac_ext >&5 |
3989 | 3990 |
3990 fi | 3991 fi |
3991 | 3992 |
3992 | 3993 |
3993 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3994 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3994 echo "configure:3995: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3995 echo "configure:3996: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3995 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3996 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3996 | 3997 |
3997 cat > conftestmake <<\EOF | 3998 cat > conftestmake <<\EOF |
3998 all: | 3999 all: |
3999 @echo 'ac_maketemp="${MAKE}"' | 4000 @echo 'ac_maketemp="${MAKE}"' |
4014 SET_MAKE="MAKE=${MAKE-make}" | 4015 SET_MAKE="MAKE=${MAKE-make}" |
4015 fi | 4016 fi |
4016 | 4017 |
4017 | 4018 |
4018 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4019 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4019 echo "configure:4020: checking whether byte ordering is bigendian" >&5 | 4020 echo "configure:4021: checking whether byte ordering is bigendian" >&5 |
4020 | 4021 |
4021 ac_cv_c_bigendian=unknown | 4022 ac_cv_c_bigendian=unknown |
4022 # See if sys/param.h defines the BYTE_ORDER macro. | 4023 # See if sys/param.h defines the BYTE_ORDER macro. |
4023 cat > conftest.$ac_ext <<EOF | 4024 cat > conftest.$ac_ext <<EOF |
4024 #line 4025 "configure" | 4025 #line 4026 "configure" |
4025 #include "confdefs.h" | 4026 #include "confdefs.h" |
4026 #include <sys/types.h> | 4027 #include <sys/types.h> |
4027 #include <sys/param.h> | 4028 #include <sys/param.h> |
4028 int main() { | 4029 int main() { |
4029 | 4030 |
4030 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4031 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4031 bogus endian macros | 4032 bogus endian macros |
4032 #endif | 4033 #endif |
4033 ; return 0; } | 4034 ; return 0; } |
4034 EOF | 4035 EOF |
4035 if { (eval echo configure:4036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4036 if { (eval echo configure:4037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4036 rm -rf conftest* | 4037 rm -rf conftest* |
4037 # It does; now see whether it defined to BIG_ENDIAN or not. | 4038 # It does; now see whether it defined to BIG_ENDIAN or not. |
4038 cat > conftest.$ac_ext <<EOF | 4039 cat > conftest.$ac_ext <<EOF |
4039 #line 4040 "configure" | 4040 #line 4041 "configure" |
4040 #include "confdefs.h" | 4041 #include "confdefs.h" |
4041 #include <sys/types.h> | 4042 #include <sys/types.h> |
4042 #include <sys/param.h> | 4043 #include <sys/param.h> |
4043 int main() { | 4044 int main() { |
4044 | 4045 |
4045 #if BYTE_ORDER != BIG_ENDIAN | 4046 #if BYTE_ORDER != BIG_ENDIAN |
4046 not big endian | 4047 not big endian |
4047 #endif | 4048 #endif |
4048 ; return 0; } | 4049 ; return 0; } |
4049 EOF | 4050 EOF |
4050 if { (eval echo configure:4051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4051 if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4051 rm -rf conftest* | 4052 rm -rf conftest* |
4052 ac_cv_c_bigendian=yes | 4053 ac_cv_c_bigendian=yes |
4053 else | 4054 else |
4054 echo "configure: failed program was:" >&5 | 4055 echo "configure: failed program was:" >&5 |
4055 cat conftest.$ac_ext >&5 | 4056 cat conftest.$ac_ext >&5 |
4062 cat conftest.$ac_ext >&5 | 4063 cat conftest.$ac_ext >&5 |
4063 fi | 4064 fi |
4064 rm -f conftest* | 4065 rm -f conftest* |
4065 if test $ac_cv_c_bigendian = unknown; then | 4066 if test $ac_cv_c_bigendian = unknown; then |
4066 cat > conftest.$ac_ext <<EOF | 4067 cat > conftest.$ac_ext <<EOF |
4067 #line 4068 "configure" | 4068 #line 4069 "configure" |
4068 #include "confdefs.h" | 4069 #include "confdefs.h" |
4069 main () { | 4070 main () { |
4070 /* Are we little or big endian? From Harbison&Steele. */ | 4071 /* Are we little or big endian? From Harbison&Steele. */ |
4071 union | 4072 union |
4072 { | 4073 { |
4075 } u; | 4076 } u; |
4076 u.l = 1; | 4077 u.l = 1; |
4077 exit (u.c[sizeof (long) - 1] == 1); | 4078 exit (u.c[sizeof (long) - 1] == 1); |
4078 } | 4079 } |
4079 EOF | 4080 EOF |
4080 if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4081 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4081 then | 4082 then |
4082 ac_cv_c_bigendian=no | 4083 ac_cv_c_bigendian=no |
4083 else | 4084 else |
4084 conftest_rc="$?" | 4085 conftest_rc="$?" |
4085 echo "configure: failed program was:" >&5 | 4086 echo "configure: failed program was:" >&5 |
4102 | 4103 |
4103 fi | 4104 fi |
4104 | 4105 |
4105 | 4106 |
4106 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4107 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4107 echo "configure:4108: checking size of short" >&5 | 4108 echo "configure:4109: checking size of short" >&5 |
4108 | 4109 |
4109 cat > conftest.$ac_ext <<EOF | 4110 cat > conftest.$ac_ext <<EOF |
4110 #line 4111 "configure" | 4111 #line 4112 "configure" |
4111 #include "confdefs.h" | 4112 #include "confdefs.h" |
4112 #include <stdio.h> | 4113 #include <stdio.h> |
4113 main() | 4114 main() |
4114 { | 4115 { |
4115 FILE *f=fopen("conftestval", "w"); | 4116 FILE *f=fopen("conftestval", "w"); |
4116 if (!f) exit(1); | 4117 if (!f) exit(1); |
4117 fprintf(f, "%d\n", sizeof(short)); | 4118 fprintf(f, "%d\n", sizeof(short)); |
4118 exit(0); | 4119 exit(0); |
4119 } | 4120 } |
4120 EOF | 4121 EOF |
4121 if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4122 if { (eval echo configure:4123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4122 then | 4123 then |
4123 ac_cv_sizeof_short=`cat conftestval` | 4124 ac_cv_sizeof_short=`cat conftestval` |
4124 else | 4125 else |
4125 conftest_rc="$?" | 4126 conftest_rc="$?" |
4126 echo "configure: failed program was:" >&5 | 4127 echo "configure: failed program was:" >&5 |
4144 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4145 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4145 echo "*** PANIC *** Please examine config.log for compilation errors." | 4146 echo "*** PANIC *** Please examine config.log for compilation errors." |
4146 exit 1 | 4147 exit 1 |
4147 fi | 4148 fi |
4148 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4149 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4149 echo "configure:4150: checking size of int" >&5 | 4150 echo "configure:4151: checking size of int" >&5 |
4150 | 4151 |
4151 cat > conftest.$ac_ext <<EOF | 4152 cat > conftest.$ac_ext <<EOF |
4152 #line 4153 "configure" | 4153 #line 4154 "configure" |
4153 #include "confdefs.h" | 4154 #include "confdefs.h" |
4154 #include <stdio.h> | 4155 #include <stdio.h> |
4155 main() | 4156 main() |
4156 { | 4157 { |
4157 FILE *f=fopen("conftestval", "w"); | 4158 FILE *f=fopen("conftestval", "w"); |
4158 if (!f) exit(1); | 4159 if (!f) exit(1); |
4159 fprintf(f, "%d\n", sizeof(int)); | 4160 fprintf(f, "%d\n", sizeof(int)); |
4160 exit(0); | 4161 exit(0); |
4161 } | 4162 } |
4162 EOF | 4163 EOF |
4163 if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4164 then | 4165 then |
4165 ac_cv_sizeof_int=`cat conftestval` | 4166 ac_cv_sizeof_int=`cat conftestval` |
4166 else | 4167 else |
4167 conftest_rc="$?" | 4168 conftest_rc="$?" |
4168 echo "configure: failed program was:" >&5 | 4169 echo "configure: failed program was:" >&5 |
4180 EOF | 4181 EOF |
4181 } | 4182 } |
4182 | 4183 |
4183 | 4184 |
4184 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4185 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4185 echo "configure:4186: checking size of long" >&5 | 4186 echo "configure:4187: checking size of long" >&5 |
4186 | 4187 |
4187 cat > conftest.$ac_ext <<EOF | 4188 cat > conftest.$ac_ext <<EOF |
4188 #line 4189 "configure" | 4189 #line 4190 "configure" |
4189 #include "confdefs.h" | 4190 #include "confdefs.h" |
4190 #include <stdio.h> | 4191 #include <stdio.h> |
4191 main() | 4192 main() |
4192 { | 4193 { |
4193 FILE *f=fopen("conftestval", "w"); | 4194 FILE *f=fopen("conftestval", "w"); |
4194 if (!f) exit(1); | 4195 if (!f) exit(1); |
4195 fprintf(f, "%d\n", sizeof(long)); | 4196 fprintf(f, "%d\n", sizeof(long)); |
4196 exit(0); | 4197 exit(0); |
4197 } | 4198 } |
4198 EOF | 4199 EOF |
4199 if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4200 if { (eval echo configure:4201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4200 then | 4201 then |
4201 ac_cv_sizeof_long=`cat conftestval` | 4202 ac_cv_sizeof_long=`cat conftestval` |
4202 else | 4203 else |
4203 conftest_rc="$?" | 4204 conftest_rc="$?" |
4204 echo "configure: failed program was:" >&5 | 4205 echo "configure: failed program was:" >&5 |
4216 EOF | 4217 EOF |
4217 } | 4218 } |
4218 | 4219 |
4219 | 4220 |
4220 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4221 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4221 echo "configure:4222: checking size of long long" >&5 | 4222 echo "configure:4223: checking size of long long" >&5 |
4222 | 4223 |
4223 cat > conftest.$ac_ext <<EOF | 4224 cat > conftest.$ac_ext <<EOF |
4224 #line 4225 "configure" | 4225 #line 4226 "configure" |
4225 #include "confdefs.h" | 4226 #include "confdefs.h" |
4226 #include <stdio.h> | 4227 #include <stdio.h> |
4227 main() | 4228 main() |
4228 { | 4229 { |
4229 FILE *f=fopen("conftestval", "w"); | 4230 FILE *f=fopen("conftestval", "w"); |
4230 if (!f) exit(1); | 4231 if (!f) exit(1); |
4231 fprintf(f, "%d\n", sizeof(long long)); | 4232 fprintf(f, "%d\n", sizeof(long long)); |
4232 exit(0); | 4233 exit(0); |
4233 } | 4234 } |
4234 EOF | 4235 EOF |
4235 if { (eval echo configure:4236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4236 if { (eval echo configure:4237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4236 then | 4237 then |
4237 ac_cv_sizeof_long_long=`cat conftestval` | 4238 ac_cv_sizeof_long_long=`cat conftestval` |
4238 else | 4239 else |
4239 conftest_rc="$?" | 4240 conftest_rc="$?" |
4240 echo "configure: failed program was:" >&5 | 4241 echo "configure: failed program was:" >&5 |
4252 EOF | 4253 EOF |
4253 } | 4254 } |
4254 | 4255 |
4255 | 4256 |
4256 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4257 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4257 echo "configure:4258: checking size of void *" >&5 | 4258 echo "configure:4259: checking size of void *" >&5 |
4258 | 4259 |
4259 cat > conftest.$ac_ext <<EOF | 4260 cat > conftest.$ac_ext <<EOF |
4260 #line 4261 "configure" | 4261 #line 4262 "configure" |
4261 #include "confdefs.h" | 4262 #include "confdefs.h" |
4262 #include <stdio.h> | 4263 #include <stdio.h> |
4263 main() | 4264 main() |
4264 { | 4265 { |
4265 FILE *f=fopen("conftestval", "w"); | 4266 FILE *f=fopen("conftestval", "w"); |
4266 if (!f) exit(1); | 4267 if (!f) exit(1); |
4267 fprintf(f, "%d\n", sizeof(void *)); | 4268 fprintf(f, "%d\n", sizeof(void *)); |
4268 exit(0); | 4269 exit(0); |
4269 } | 4270 } |
4270 EOF | 4271 EOF |
4271 if { (eval echo configure:4272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4272 then | 4273 then |
4273 ac_cv_sizeof_void_p=`cat conftestval` | 4274 ac_cv_sizeof_void_p=`cat conftestval` |
4274 else | 4275 else |
4275 conftest_rc="$?" | 4276 conftest_rc="$?" |
4276 echo "configure: failed program was:" >&5 | 4277 echo "configure: failed program was:" >&5 |
4289 } | 4290 } |
4290 | 4291 |
4291 | 4292 |
4292 | 4293 |
4293 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4294 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4294 echo "configure:4295: checking for long file names" >&5 | 4295 echo "configure:4296: checking for long file names" >&5 |
4295 | 4296 |
4296 ac_cv_sys_long_file_names=yes | 4297 ac_cv_sys_long_file_names=yes |
4297 # Test for long file names in all the places we know might matter: | 4298 # Test for long file names in all the places we know might matter: |
4298 # . the current directory, where building will happen | 4299 # . the current directory, where building will happen |
4299 # $prefix/lib where we will be installing things | 4300 # $prefix/lib where we will be installing things |
4335 | 4336 |
4336 fi | 4337 fi |
4337 | 4338 |
4338 | 4339 |
4339 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4340 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4340 echo "configure:4341: checking for sin" >&5 | 4341 echo "configure:4342: checking for sin" >&5 |
4341 | 4342 |
4342 cat > conftest.$ac_ext <<EOF | 4343 cat > conftest.$ac_ext <<EOF |
4343 #line 4344 "configure" | 4344 #line 4345 "configure" |
4344 #include "confdefs.h" | 4345 #include "confdefs.h" |
4345 /* System header to define __stub macros and hopefully few prototypes, | 4346 /* System header to define __stub macros and hopefully few prototypes, |
4346 which can conflict with char sin(); below. */ | 4347 which can conflict with char sin(); below. */ |
4347 #include <assert.h> | 4348 #include <assert.h> |
4348 /* Override any gcc2 internal prototype to avoid an error. */ | 4349 /* Override any gcc2 internal prototype to avoid an error. */ |
4361 sin(); | 4362 sin(); |
4362 #endif | 4363 #endif |
4363 | 4364 |
4364 ; return 0; } | 4365 ; return 0; } |
4365 EOF | 4366 EOF |
4366 if { (eval echo configure:4367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4367 if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4367 rm -rf conftest* | 4368 rm -rf conftest* |
4368 eval "ac_cv_func_sin=yes" | 4369 eval "ac_cv_func_sin=yes" |
4369 else | 4370 else |
4370 echo "configure: failed program was:" >&5 | 4371 echo "configure: failed program was:" >&5 |
4371 cat conftest.$ac_ext >&5 | 4372 cat conftest.$ac_ext >&5 |
4379 : | 4380 : |
4380 else | 4381 else |
4381 echo "$ac_t""no" 1>&6 | 4382 echo "$ac_t""no" 1>&6 |
4382 | 4383 |
4383 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4384 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4384 echo "configure:4385: checking for sin in -lm" >&5 | 4385 echo "configure:4386: checking for sin in -lm" >&5 |
4385 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4386 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4386 | 4387 |
4387 xe_check_libs=" -lm " | 4388 xe_check_libs=" -lm " |
4388 cat > conftest.$ac_ext <<EOF | 4389 cat > conftest.$ac_ext <<EOF |
4389 #line 4390 "configure" | 4390 #line 4391 "configure" |
4390 #include "confdefs.h" | 4391 #include "confdefs.h" |
4391 /* Override any gcc2 internal prototype to avoid an error. */ | 4392 /* Override any gcc2 internal prototype to avoid an error. */ |
4392 /* We use char because int might match the return type of a gcc2 | 4393 /* We use char because int might match the return type of a gcc2 |
4393 builtin and then its argument prototype would still apply. */ | 4394 builtin and then its argument prototype would still apply. */ |
4394 char sin(); | 4395 char sin(); |
4395 | 4396 |
4396 int main() { | 4397 int main() { |
4397 sin() | 4398 sin() |
4398 ; return 0; } | 4399 ; return 0; } |
4399 EOF | 4400 EOF |
4400 if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4401 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4401 rm -rf conftest* | 4402 rm -rf conftest* |
4402 eval "ac_cv_lib_$ac_lib_var=yes" | 4403 eval "ac_cv_lib_$ac_lib_var=yes" |
4403 else | 4404 else |
4404 echo "configure: failed program was:" >&5 | 4405 echo "configure: failed program was:" >&5 |
4405 cat conftest.$ac_ext >&5 | 4406 cat conftest.$ac_ext >&5 |
4439 EOF | 4440 EOF |
4440 } | 4441 } |
4441 | 4442 |
4442 | 4443 |
4443 cat > conftest.$ac_ext <<EOF | 4444 cat > conftest.$ac_ext <<EOF |
4444 #line 4445 "configure" | 4445 #line 4446 "configure" |
4445 #include "confdefs.h" | 4446 #include "confdefs.h" |
4446 #include <math.h> | 4447 #include <math.h> |
4447 int main() { | 4448 int main() { |
4448 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4449 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4449 ; return 0; } | 4450 ; return 0; } |
4450 EOF | 4451 EOF |
4451 if { (eval echo configure:4452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4452 if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4452 rm -rf conftest* | 4453 rm -rf conftest* |
4453 { test "$extra_verbose" = "yes" && cat << \EOF | 4454 { test "$extra_verbose" = "yes" && cat << \EOF |
4454 Defining HAVE_INVERSE_HYPERBOLIC | 4455 Defining HAVE_INVERSE_HYPERBOLIC |
4455 EOF | 4456 EOF |
4456 cat >> confdefs.h <<\EOF | 4457 cat >> confdefs.h <<\EOF |
4463 cat conftest.$ac_ext >&5 | 4464 cat conftest.$ac_ext >&5 |
4464 fi | 4465 fi |
4465 rm -f conftest* | 4466 rm -f conftest* |
4466 | 4467 |
4467 echo "checking type of mail spool file locking" 1>&6 | 4468 echo "checking type of mail spool file locking" 1>&6 |
4468 echo "configure:4469: checking type of mail spool file locking" >&5 | 4469 echo "configure:4470: checking type of mail spool file locking" >&5 |
4469 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4470 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4470 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4471 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4471 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4472 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4472 Defining REAL_MAIL_USE_LOCKF | 4473 Defining REAL_MAIL_USE_LOCKF |
4473 EOF | 4474 EOF |
4488 fi | 4489 fi |
4489 | 4490 |
4490 case "$opsys" in decosf*) | 4491 case "$opsys" in decosf*) |
4491 | 4492 |
4492 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4493 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4493 echo "configure:4494: checking for cma_open in -lpthreads" >&5 | 4494 echo "configure:4495: checking for cma_open in -lpthreads" >&5 |
4494 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4495 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4495 | 4496 |
4496 xe_check_libs=" -lpthreads " | 4497 xe_check_libs=" -lpthreads " |
4497 cat > conftest.$ac_ext <<EOF | 4498 cat > conftest.$ac_ext <<EOF |
4498 #line 4499 "configure" | 4499 #line 4500 "configure" |
4499 #include "confdefs.h" | 4500 #include "confdefs.h" |
4500 /* Override any gcc2 internal prototype to avoid an error. */ | 4501 /* Override any gcc2 internal prototype to avoid an error. */ |
4501 /* We use char because int might match the return type of a gcc2 | 4502 /* We use char because int might match the return type of a gcc2 |
4502 builtin and then its argument prototype would still apply. */ | 4503 builtin and then its argument prototype would still apply. */ |
4503 char cma_open(); | 4504 char cma_open(); |
4504 | 4505 |
4505 int main() { | 4506 int main() { |
4506 cma_open() | 4507 cma_open() |
4507 ; return 0; } | 4508 ; return 0; } |
4508 EOF | 4509 EOF |
4509 if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4510 if { (eval echo configure:4511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4510 rm -rf conftest* | 4511 rm -rf conftest* |
4511 eval "ac_cv_lib_$ac_lib_var=yes" | 4512 eval "ac_cv_lib_$ac_lib_var=yes" |
4512 else | 4513 else |
4513 echo "configure: failed program was:" >&5 | 4514 echo "configure: failed program was:" >&5 |
4514 cat conftest.$ac_ext >&5 | 4515 cat conftest.$ac_ext >&5 |
4540 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4541 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4541 c_switch_site="$c_switch_site -threads" ;; | 4542 c_switch_site="$c_switch_site -threads" ;; |
4542 esac | 4543 esac |
4543 | 4544 |
4544 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4545 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4545 echo "configure:4546: checking whether the -xildoff compiler flag is required" >&5 | 4546 echo "configure:4547: checking whether the -xildoff compiler flag is required" >&5 |
4546 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4547 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4547 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4548 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4548 then echo "$ac_t""no" 1>&6; | 4549 then echo "$ac_t""no" 1>&6; |
4549 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 4550 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
4550 fi | 4551 fi |
4551 else echo "$ac_t""no" 1>&6 | 4552 else echo "$ac_t""no" 1>&6 |
4552 fi | 4553 fi |
4553 | 4554 |
4554 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4555 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4555 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4556 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4556 echo "configure:4557: checking for \"-z ignore\" linker flag" >&5 | 4557 echo "configure:4558: checking for \"-z ignore\" linker flag" >&5 |
4557 case "`ld -h 2>&1`" in | 4558 case "`ld -h 2>&1`" in |
4558 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4559 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4559 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4560 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4560 *) echo "$ac_t""no" 1>&6 ;; | 4561 *) echo "$ac_t""no" 1>&6 ;; |
4561 esac | 4562 esac |
4562 fi | 4563 fi |
4563 | 4564 |
4564 | 4565 |
4565 echo "checking "for specified window system"" 1>&6 | 4566 echo "checking "for specified window system"" 1>&6 |
4566 echo "configure:4567: checking "for specified window system"" >&5 | 4567 echo "configure:4568: checking "for specified window system"" >&5 |
4567 | 4568 |
4568 if test "$with_x11" != "no"; then | 4569 if test "$with_x11" != "no"; then |
4569 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4570 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4570 window_system=x11 with_x11=yes | 4571 window_system=x11 with_x11=yes |
4571 | 4572 |
4594 # If we find X, set shell vars x_includes and x_libraries to the | 4595 # If we find X, set shell vars x_includes and x_libraries to the |
4595 # paths, otherwise set no_x=yes. | 4596 # paths, otherwise set no_x=yes. |
4596 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4597 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4597 # --without-x overrides everything else, but does not touch the cache. | 4598 # --without-x overrides everything else, but does not touch the cache. |
4598 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4599 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4599 echo "configure:4600: checking for X" >&5 | 4600 echo "configure:4601: checking for X" >&5 |
4600 | 4601 |
4601 # Check whether --with-x or --without-x was given. | 4602 # Check whether --with-x or --without-x was given. |
4602 if test "${with_x+set}" = set; then | 4603 if test "${with_x+set}" = set; then |
4603 withval="$with_x" | 4604 withval="$with_x" |
4604 : | 4605 : |
4654 # Guess where to find include files, by looking for this one X11 .h file. | 4655 # Guess where to find include files, by looking for this one X11 .h file. |
4655 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4656 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4656 | 4657 |
4657 # First, try using that file with no special directory specified. | 4658 # First, try using that file with no special directory specified. |
4658 cat > conftest.$ac_ext <<EOF | 4659 cat > conftest.$ac_ext <<EOF |
4659 #line 4660 "configure" | 4660 #line 4661 "configure" |
4660 #include "confdefs.h" | 4661 #include "confdefs.h" |
4661 #include <$x_direct_test_include> | 4662 #include <$x_direct_test_include> |
4662 EOF | 4663 EOF |
4663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4664 { (eval echo configure:4665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4665 { (eval echo configure:4666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4666 if test -z "$ac_err"; then | 4667 if test -z "$ac_err"; then |
4667 rm -rf conftest* | 4668 rm -rf conftest* |
4668 # We can compile using X headers with no special include directory. | 4669 # We can compile using X headers with no special include directory. |
4669 ac_x_includes= | 4670 ac_x_includes= |
4728 # See if we find them without any special options. | 4729 # See if we find them without any special options. |
4729 # Don't add to $LIBS permanently. | 4730 # Don't add to $LIBS permanently. |
4730 ac_save_LIBS="$LIBS" | 4731 ac_save_LIBS="$LIBS" |
4731 LIBS="-l$x_direct_test_library $LIBS" | 4732 LIBS="-l$x_direct_test_library $LIBS" |
4732 cat > conftest.$ac_ext <<EOF | 4733 cat > conftest.$ac_ext <<EOF |
4733 #line 4734 "configure" | 4734 #line 4735 "configure" |
4734 #include "confdefs.h" | 4735 #include "confdefs.h" |
4735 | 4736 |
4736 int main() { | 4737 int main() { |
4737 ${x_direct_test_function}() | 4738 ${x_direct_test_function}() |
4738 ; return 0; } | 4739 ; return 0; } |
4739 EOF | 4740 EOF |
4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4741 rm -rf conftest* | 4742 rm -rf conftest* |
4742 LIBS="$ac_save_LIBS" | 4743 LIBS="$ac_save_LIBS" |
4743 # We can link X programs with no special library path. | 4744 # We can link X programs with no special library path. |
4744 ac_x_libraries= | 4745 ac_x_libraries= |
4745 else | 4746 else |
4844 # For Solaris; some versions of Sun CC require a space after -R and | 4845 # For Solaris; some versions of Sun CC require a space after -R and |
4845 # others require no space. Words are not sufficient . . . . | 4846 # others require no space. Words are not sufficient . . . . |
4846 case "`(uname -sr) 2>/dev/null`" in | 4847 case "`(uname -sr) 2>/dev/null`" in |
4847 "SunOS 5"*) | 4848 "SunOS 5"*) |
4848 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4849 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4849 echo "configure:4850: checking whether -R must be followed by a space" >&5 | 4850 echo "configure:4851: checking whether -R must be followed by a space" >&5 |
4850 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4851 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4851 cat > conftest.$ac_ext <<EOF | 4852 cat > conftest.$ac_ext <<EOF |
4852 #line 4853 "configure" | 4853 #line 4854 "configure" |
4853 #include "confdefs.h" | 4854 #include "confdefs.h" |
4854 | 4855 |
4855 int main() { | 4856 int main() { |
4856 | 4857 |
4857 ; return 0; } | 4858 ; return 0; } |
4858 EOF | 4859 EOF |
4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4860 if { (eval echo configure:4861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4860 rm -rf conftest* | 4861 rm -rf conftest* |
4861 ac_R_nospace=yes | 4862 ac_R_nospace=yes |
4862 else | 4863 else |
4863 echo "configure: failed program was:" >&5 | 4864 echo "configure: failed program was:" >&5 |
4864 cat conftest.$ac_ext >&5 | 4865 cat conftest.$ac_ext >&5 |
4870 echo "$ac_t""no" 1>&6 | 4871 echo "$ac_t""no" 1>&6 |
4871 X_LIBS="$X_LIBS -R$x_libraries" | 4872 X_LIBS="$X_LIBS -R$x_libraries" |
4872 else | 4873 else |
4873 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4874 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4874 cat > conftest.$ac_ext <<EOF | 4875 cat > conftest.$ac_ext <<EOF |
4875 #line 4876 "configure" | 4876 #line 4877 "configure" |
4876 #include "confdefs.h" | 4877 #include "confdefs.h" |
4877 | 4878 |
4878 int main() { | 4879 int main() { |
4879 | 4880 |
4880 ; return 0; } | 4881 ; return 0; } |
4881 EOF | 4882 EOF |
4882 if { (eval echo configure:4883: \"$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 |
4883 rm -rf conftest* | 4884 rm -rf conftest* |
4884 ac_R_space=yes | 4885 ac_R_space=yes |
4885 else | 4886 else |
4886 echo "configure: failed program was:" >&5 | 4887 echo "configure: failed program was:" >&5 |
4887 cat conftest.$ac_ext >&5 | 4888 cat conftest.$ac_ext >&5 |
4913 if test "$with_dnet" = "no" ; then | 4914 if test "$with_dnet" = "no" ; then |
4914 ac_cv_lib_dnet_dnet_ntoa=no | 4915 ac_cv_lib_dnet_dnet_ntoa=no |
4915 else | 4916 else |
4916 | 4917 |
4917 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4918 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4918 echo "configure:4919: checking for dnet_ntoa in -ldnet" >&5 | 4919 echo "configure:4920: checking for dnet_ntoa in -ldnet" >&5 |
4919 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4920 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4920 | 4921 |
4921 xe_check_libs=" -ldnet " | 4922 xe_check_libs=" -ldnet " |
4922 cat > conftest.$ac_ext <<EOF | 4923 cat > conftest.$ac_ext <<EOF |
4923 #line 4924 "configure" | 4924 #line 4925 "configure" |
4924 #include "confdefs.h" | 4925 #include "confdefs.h" |
4925 /* Override any gcc2 internal prototype to avoid an error. */ | 4926 /* Override any gcc2 internal prototype to avoid an error. */ |
4926 /* We use char because int might match the return type of a gcc2 | 4927 /* We use char because int might match the return type of a gcc2 |
4927 builtin and then its argument prototype would still apply. */ | 4928 builtin and then its argument prototype would still apply. */ |
4928 char dnet_ntoa(); | 4929 char dnet_ntoa(); |
4929 | 4930 |
4930 int main() { | 4931 int main() { |
4931 dnet_ntoa() | 4932 dnet_ntoa() |
4932 ; return 0; } | 4933 ; return 0; } |
4933 EOF | 4934 EOF |
4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4935 if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4935 rm -rf conftest* | 4936 rm -rf conftest* |
4936 eval "ac_cv_lib_$ac_lib_var=yes" | 4937 eval "ac_cv_lib_$ac_lib_var=yes" |
4937 else | 4938 else |
4938 echo "configure: failed program was:" >&5 | 4939 echo "configure: failed program was:" >&5 |
4939 cat conftest.$ac_ext >&5 | 4940 cat conftest.$ac_ext >&5 |
4953 fi | 4954 fi |
4954 | 4955 |
4955 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4956 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4956 | 4957 |
4957 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4958 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4958 echo "configure:4959: checking for dnet_ntoa in -ldnet_stub" >&5 | 4959 echo "configure:4960: checking for dnet_ntoa in -ldnet_stub" >&5 |
4959 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4960 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4960 | 4961 |
4961 xe_check_libs=" -ldnet_stub " | 4962 xe_check_libs=" -ldnet_stub " |
4962 cat > conftest.$ac_ext <<EOF | 4963 cat > conftest.$ac_ext <<EOF |
4963 #line 4964 "configure" | 4964 #line 4965 "configure" |
4964 #include "confdefs.h" | 4965 #include "confdefs.h" |
4965 /* Override any gcc2 internal prototype to avoid an error. */ | 4966 /* Override any gcc2 internal prototype to avoid an error. */ |
4966 /* We use char because int might match the return type of a gcc2 | 4967 /* We use char because int might match the return type of a gcc2 |
4967 builtin and then its argument prototype would still apply. */ | 4968 builtin and then its argument prototype would still apply. */ |
4968 char dnet_ntoa(); | 4969 char dnet_ntoa(); |
4969 | 4970 |
4970 int main() { | 4971 int main() { |
4971 dnet_ntoa() | 4972 dnet_ntoa() |
4972 ; return 0; } | 4973 ; return 0; } |
4973 EOF | 4974 EOF |
4974 if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4975 if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4975 rm -rf conftest* | 4976 rm -rf conftest* |
4976 eval "ac_cv_lib_$ac_lib_var=yes" | 4977 eval "ac_cv_lib_$ac_lib_var=yes" |
4977 else | 4978 else |
4978 echo "configure: failed program was:" >&5 | 4979 echo "configure: failed program was:" >&5 |
4979 cat conftest.$ac_ext >&5 | 4980 cat conftest.$ac_ext >&5 |
4998 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4999 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4999 # needs -lnsl. | 5000 # needs -lnsl. |
5000 # The nsl library prevents programs from opening the X display | 5001 # The nsl library prevents programs from opening the X display |
5001 # on Irix 5.2, according to dickey@clark.net. | 5002 # on Irix 5.2, according to dickey@clark.net. |
5002 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5003 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5003 echo "configure:5004: checking for gethostbyname" >&5 | 5004 echo "configure:5005: checking for gethostbyname" >&5 |
5004 | 5005 |
5005 cat > conftest.$ac_ext <<EOF | 5006 cat > conftest.$ac_ext <<EOF |
5006 #line 5007 "configure" | 5007 #line 5008 "configure" |
5007 #include "confdefs.h" | 5008 #include "confdefs.h" |
5008 /* System header to define __stub macros and hopefully few prototypes, | 5009 /* System header to define __stub macros and hopefully few prototypes, |
5009 which can conflict with char gethostbyname(); below. */ | 5010 which can conflict with char gethostbyname(); below. */ |
5010 #include <assert.h> | 5011 #include <assert.h> |
5011 /* Override any gcc2 internal prototype to avoid an error. */ | 5012 /* Override any gcc2 internal prototype to avoid an error. */ |
5024 gethostbyname(); | 5025 gethostbyname(); |
5025 #endif | 5026 #endif |
5026 | 5027 |
5027 ; return 0; } | 5028 ; return 0; } |
5028 EOF | 5029 EOF |
5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5030 if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5030 rm -rf conftest* | 5031 rm -rf conftest* |
5031 eval "ac_cv_func_gethostbyname=yes" | 5032 eval "ac_cv_func_gethostbyname=yes" |
5032 else | 5033 else |
5033 echo "configure: failed program was:" >&5 | 5034 echo "configure: failed program was:" >&5 |
5034 cat conftest.$ac_ext >&5 | 5035 cat conftest.$ac_ext >&5 |
5045 fi | 5046 fi |
5046 | 5047 |
5047 if test $ac_cv_func_gethostbyname = no; then | 5048 if test $ac_cv_func_gethostbyname = no; then |
5048 | 5049 |
5049 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5050 echo "configure:5051: checking for gethostbyname in -lnsl" >&5 | 5051 echo "configure:5052: checking for gethostbyname in -lnsl" >&5 |
5051 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5052 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5052 | 5053 |
5053 xe_check_libs=" -lnsl " | 5054 xe_check_libs=" -lnsl " |
5054 cat > conftest.$ac_ext <<EOF | 5055 cat > conftest.$ac_ext <<EOF |
5055 #line 5056 "configure" | 5056 #line 5057 "configure" |
5056 #include "confdefs.h" | 5057 #include "confdefs.h" |
5057 /* Override any gcc2 internal prototype to avoid an error. */ | 5058 /* Override any gcc2 internal prototype to avoid an error. */ |
5058 /* We use char because int might match the return type of a gcc2 | 5059 /* We use char because int might match the return type of a gcc2 |
5059 builtin and then its argument prototype would still apply. */ | 5060 builtin and then its argument prototype would still apply. */ |
5060 char gethostbyname(); | 5061 char gethostbyname(); |
5061 | 5062 |
5062 int main() { | 5063 int main() { |
5063 gethostbyname() | 5064 gethostbyname() |
5064 ; return 0; } | 5065 ; return 0; } |
5065 EOF | 5066 EOF |
5066 if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5067 rm -rf conftest* | 5068 rm -rf conftest* |
5068 eval "ac_cv_lib_$ac_lib_var=yes" | 5069 eval "ac_cv_lib_$ac_lib_var=yes" |
5069 else | 5070 else |
5070 echo "configure: failed program was:" >&5 | 5071 echo "configure: failed program was:" >&5 |
5071 cat conftest.$ac_ext >&5 | 5072 cat conftest.$ac_ext >&5 |
5091 # on later versions), says simon@lia.di.epfl.ch: it contains | 5092 # on later versions), says simon@lia.di.epfl.ch: it contains |
5092 # gethostby* variants that don't use the nameserver (or something). | 5093 # gethostby* variants that don't use the nameserver (or something). |
5093 # -lsocket must be given before -lnsl if both are needed. | 5094 # -lsocket must be given before -lnsl if both are needed. |
5094 # We assume that if connect needs -lnsl, so does gethostbyname. | 5095 # We assume that if connect needs -lnsl, so does gethostbyname. |
5095 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5096 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5096 echo "configure:5097: checking for connect" >&5 | 5097 echo "configure:5098: checking for connect" >&5 |
5097 | 5098 |
5098 cat > conftest.$ac_ext <<EOF | 5099 cat > conftest.$ac_ext <<EOF |
5099 #line 5100 "configure" | 5100 #line 5101 "configure" |
5100 #include "confdefs.h" | 5101 #include "confdefs.h" |
5101 /* System header to define __stub macros and hopefully few prototypes, | 5102 /* System header to define __stub macros and hopefully few prototypes, |
5102 which can conflict with char connect(); below. */ | 5103 which can conflict with char connect(); below. */ |
5103 #include <assert.h> | 5104 #include <assert.h> |
5104 /* Override any gcc2 internal prototype to avoid an error. */ | 5105 /* Override any gcc2 internal prototype to avoid an error. */ |
5117 connect(); | 5118 connect(); |
5118 #endif | 5119 #endif |
5119 | 5120 |
5120 ; return 0; } | 5121 ; return 0; } |
5121 EOF | 5122 EOF |
5122 if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5123 if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5123 rm -rf conftest* | 5124 rm -rf conftest* |
5124 eval "ac_cv_func_connect=yes" | 5125 eval "ac_cv_func_connect=yes" |
5125 else | 5126 else |
5126 echo "configure: failed program was:" >&5 | 5127 echo "configure: failed program was:" >&5 |
5127 cat conftest.$ac_ext >&5 | 5128 cat conftest.$ac_ext >&5 |
5140 if test $ac_cv_func_connect = no; then | 5141 if test $ac_cv_func_connect = no; then |
5141 | 5142 |
5142 xe_msg_checking="for connect in -lsocket" | 5143 xe_msg_checking="for connect in -lsocket" |
5143 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5144 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5144 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5145 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5145 echo "configure:5146: checking "$xe_msg_checking"" >&5 | 5146 echo "configure:5147: checking "$xe_msg_checking"" >&5 |
5146 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5147 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5147 | 5148 |
5148 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5149 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5149 cat > conftest.$ac_ext <<EOF | 5150 cat > conftest.$ac_ext <<EOF |
5150 #line 5151 "configure" | 5151 #line 5152 "configure" |
5151 #include "confdefs.h" | 5152 #include "confdefs.h" |
5152 /* Override any gcc2 internal prototype to avoid an error. */ | 5153 /* Override any gcc2 internal prototype to avoid an error. */ |
5153 /* We use char because int might match the return type of a gcc2 | 5154 /* We use char because int might match the return type of a gcc2 |
5154 builtin and then its argument prototype would still apply. */ | 5155 builtin and then its argument prototype would still apply. */ |
5155 char connect(); | 5156 char connect(); |
5156 | 5157 |
5157 int main() { | 5158 int main() { |
5158 connect() | 5159 connect() |
5159 ; return 0; } | 5160 ; return 0; } |
5160 EOF | 5161 EOF |
5161 if { (eval echo configure:5162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5162 if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5162 rm -rf conftest* | 5163 rm -rf conftest* |
5163 eval "ac_cv_lib_$ac_lib_var=yes" | 5164 eval "ac_cv_lib_$ac_lib_var=yes" |
5164 else | 5165 else |
5165 echo "configure: failed program was:" >&5 | 5166 echo "configure: failed program was:" >&5 |
5166 cat conftest.$ac_ext >&5 | 5167 cat conftest.$ac_ext >&5 |
5180 | 5181 |
5181 fi | 5182 fi |
5182 | 5183 |
5183 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5184 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5184 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5185 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5185 echo "configure:5186: checking for remove" >&5 | 5186 echo "configure:5187: checking for remove" >&5 |
5186 | 5187 |
5187 cat > conftest.$ac_ext <<EOF | 5188 cat > conftest.$ac_ext <<EOF |
5188 #line 5189 "configure" | 5189 #line 5190 "configure" |
5189 #include "confdefs.h" | 5190 #include "confdefs.h" |
5190 /* System header to define __stub macros and hopefully few prototypes, | 5191 /* System header to define __stub macros and hopefully few prototypes, |
5191 which can conflict with char remove(); below. */ | 5192 which can conflict with char remove(); below. */ |
5192 #include <assert.h> | 5193 #include <assert.h> |
5193 /* Override any gcc2 internal prototype to avoid an error. */ | 5194 /* Override any gcc2 internal prototype to avoid an error. */ |
5206 remove(); | 5207 remove(); |
5207 #endif | 5208 #endif |
5208 | 5209 |
5209 ; return 0; } | 5210 ; return 0; } |
5210 EOF | 5211 EOF |
5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5212 if { (eval echo configure:5213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5212 rm -rf conftest* | 5213 rm -rf conftest* |
5213 eval "ac_cv_func_remove=yes" | 5214 eval "ac_cv_func_remove=yes" |
5214 else | 5215 else |
5215 echo "configure: failed program was:" >&5 | 5216 echo "configure: failed program was:" >&5 |
5216 cat conftest.$ac_ext >&5 | 5217 cat conftest.$ac_ext >&5 |
5227 fi | 5228 fi |
5228 | 5229 |
5229 if test $ac_cv_func_remove = no; then | 5230 if test $ac_cv_func_remove = no; then |
5230 | 5231 |
5231 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5232 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5232 echo "configure:5233: checking for remove in -lposix" >&5 | 5233 echo "configure:5234: checking for remove in -lposix" >&5 |
5233 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5234 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5234 | 5235 |
5235 xe_check_libs=" -lposix " | 5236 xe_check_libs=" -lposix " |
5236 cat > conftest.$ac_ext <<EOF | 5237 cat > conftest.$ac_ext <<EOF |
5237 #line 5238 "configure" | 5238 #line 5239 "configure" |
5238 #include "confdefs.h" | 5239 #include "confdefs.h" |
5239 /* Override any gcc2 internal prototype to avoid an error. */ | 5240 /* Override any gcc2 internal prototype to avoid an error. */ |
5240 /* We use char because int might match the return type of a gcc2 | 5241 /* We use char because int might match the return type of a gcc2 |
5241 builtin and then its argument prototype would still apply. */ | 5242 builtin and then its argument prototype would still apply. */ |
5242 char remove(); | 5243 char remove(); |
5243 | 5244 |
5244 int main() { | 5245 int main() { |
5245 remove() | 5246 remove() |
5246 ; return 0; } | 5247 ; return 0; } |
5247 EOF | 5248 EOF |
5248 if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5249 rm -rf conftest* | 5250 rm -rf conftest* |
5250 eval "ac_cv_lib_$ac_lib_var=yes" | 5251 eval "ac_cv_lib_$ac_lib_var=yes" |
5251 else | 5252 else |
5252 echo "configure: failed program was:" >&5 | 5253 echo "configure: failed program was:" >&5 |
5253 cat conftest.$ac_ext >&5 | 5254 cat conftest.$ac_ext >&5 |
5267 | 5268 |
5268 fi | 5269 fi |
5269 | 5270 |
5270 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5271 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5271 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5272 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5272 echo "configure:5273: checking for shmat" >&5 | 5273 echo "configure:5274: checking for shmat" >&5 |
5273 | 5274 |
5274 cat > conftest.$ac_ext <<EOF | 5275 cat > conftest.$ac_ext <<EOF |
5275 #line 5276 "configure" | 5276 #line 5277 "configure" |
5276 #include "confdefs.h" | 5277 #include "confdefs.h" |
5277 /* System header to define __stub macros and hopefully few prototypes, | 5278 /* System header to define __stub macros and hopefully few prototypes, |
5278 which can conflict with char shmat(); below. */ | 5279 which can conflict with char shmat(); below. */ |
5279 #include <assert.h> | 5280 #include <assert.h> |
5280 /* Override any gcc2 internal prototype to avoid an error. */ | 5281 /* Override any gcc2 internal prototype to avoid an error. */ |
5293 shmat(); | 5294 shmat(); |
5294 #endif | 5295 #endif |
5295 | 5296 |
5296 ; return 0; } | 5297 ; return 0; } |
5297 EOF | 5298 EOF |
5298 if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5299 if { (eval echo configure:5300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5299 rm -rf conftest* | 5300 rm -rf conftest* |
5300 eval "ac_cv_func_shmat=yes" | 5301 eval "ac_cv_func_shmat=yes" |
5301 else | 5302 else |
5302 echo "configure: failed program was:" >&5 | 5303 echo "configure: failed program was:" >&5 |
5303 cat conftest.$ac_ext >&5 | 5304 cat conftest.$ac_ext >&5 |
5314 fi | 5315 fi |
5315 | 5316 |
5316 if test $ac_cv_func_shmat = no; then | 5317 if test $ac_cv_func_shmat = no; then |
5317 | 5318 |
5318 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5319 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5319 echo "configure:5320: checking for shmat in -lipc" >&5 | 5320 echo "configure:5321: checking for shmat in -lipc" >&5 |
5320 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5321 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5321 | 5322 |
5322 xe_check_libs=" -lipc " | 5323 xe_check_libs=" -lipc " |
5323 cat > conftest.$ac_ext <<EOF | 5324 cat > conftest.$ac_ext <<EOF |
5324 #line 5325 "configure" | 5325 #line 5326 "configure" |
5325 #include "confdefs.h" | 5326 #include "confdefs.h" |
5326 /* Override any gcc2 internal prototype to avoid an error. */ | 5327 /* Override any gcc2 internal prototype to avoid an error. */ |
5327 /* We use char because int might match the return type of a gcc2 | 5328 /* We use char because int might match the return type of a gcc2 |
5328 builtin and then its argument prototype would still apply. */ | 5329 builtin and then its argument prototype would still apply. */ |
5329 char shmat(); | 5330 char shmat(); |
5330 | 5331 |
5331 int main() { | 5332 int main() { |
5332 shmat() | 5333 shmat() |
5333 ; return 0; } | 5334 ; return 0; } |
5334 EOF | 5335 EOF |
5335 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5336 if { (eval echo configure:5337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5336 rm -rf conftest* | 5337 rm -rf conftest* |
5337 eval "ac_cv_lib_$ac_lib_var=yes" | 5338 eval "ac_cv_lib_$ac_lib_var=yes" |
5338 else | 5339 else |
5339 echo "configure: failed program was:" >&5 | 5340 echo "configure: failed program was:" >&5 |
5340 cat conftest.$ac_ext >&5 | 5341 cat conftest.$ac_ext >&5 |
5366 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5367 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5367 | 5368 |
5368 xe_msg_checking="for IceConnectionNumber in -lICE" | 5369 xe_msg_checking="for IceConnectionNumber in -lICE" |
5369 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5370 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5370 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5371 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5371 echo "configure:5372: checking "$xe_msg_checking"" >&5 | 5372 echo "configure:5373: checking "$xe_msg_checking"" >&5 |
5372 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5373 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5373 | 5374 |
5374 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5375 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5375 cat > conftest.$ac_ext <<EOF | 5376 cat > conftest.$ac_ext <<EOF |
5376 #line 5377 "configure" | 5377 #line 5378 "configure" |
5377 #include "confdefs.h" | 5378 #include "confdefs.h" |
5378 /* Override any gcc2 internal prototype to avoid an error. */ | 5379 /* Override any gcc2 internal prototype to avoid an error. */ |
5379 /* We use char because int might match the return type of a gcc2 | 5380 /* We use char because int might match the return type of a gcc2 |
5380 builtin and then its argument prototype would still apply. */ | 5381 builtin and then its argument prototype would still apply. */ |
5381 char IceConnectionNumber(); | 5382 char IceConnectionNumber(); |
5382 | 5383 |
5383 int main() { | 5384 int main() { |
5384 IceConnectionNumber() | 5385 IceConnectionNumber() |
5385 ; return 0; } | 5386 ; return 0; } |
5386 EOF | 5387 EOF |
5387 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5388 if { (eval echo configure:5389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5388 rm -rf conftest* | 5389 rm -rf conftest* |
5389 eval "ac_cv_lib_$ac_lib_var=yes" | 5390 eval "ac_cv_lib_$ac_lib_var=yes" |
5390 else | 5391 else |
5391 echo "configure: failed program was:" >&5 | 5392 echo "configure: failed program was:" >&5 |
5392 cat conftest.$ac_ext >&5 | 5393 cat conftest.$ac_ext >&5 |
5551 EOF | 5552 EOF |
5552 } | 5553 } |
5553 | 5554 |
5554 | 5555 |
5555 echo "checking for X defines extracted by xmkmf" 1>&6 | 5556 echo "checking for X defines extracted by xmkmf" 1>&6 |
5556 echo "configure:5557: checking for X defines extracted by xmkmf" >&5 | 5557 echo "configure:5558: checking for X defines extracted by xmkmf" >&5 |
5557 rm -fr conftestdir | 5558 rm -fr conftestdir |
5558 if mkdir conftestdir; then | 5559 if mkdir conftestdir; then |
5559 cd conftestdir | 5560 cd conftestdir |
5560 cat > Imakefile <<'EOF' | 5561 cat > Imakefile <<'EOF' |
5561 xetest: | 5562 xetest: |
5583 done | 5584 done |
5584 fi | 5585 fi |
5585 | 5586 |
5586 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5587 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5587 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5588 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5588 echo "configure:5589: checking for X11/Intrinsic.h" >&5 | 5589 echo "configure:5590: checking for X11/Intrinsic.h" >&5 |
5589 | 5590 |
5590 cat > conftest.$ac_ext <<EOF | 5591 cat > conftest.$ac_ext <<EOF |
5591 #line 5592 "configure" | 5592 #line 5593 "configure" |
5592 #include "confdefs.h" | 5593 #include "confdefs.h" |
5593 #include <X11/Intrinsic.h> | 5594 #include <X11/Intrinsic.h> |
5594 EOF | 5595 EOF |
5595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5596 { (eval echo configure:5597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5597 { (eval echo configure:5598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5598 if test -z "$ac_err"; then | 5599 if test -z "$ac_err"; then |
5599 rm -rf conftest* | 5600 rm -rf conftest* |
5600 eval "ac_cv_header_$ac_safe=yes" | 5601 eval "ac_cv_header_$ac_safe=yes" |
5601 else | 5602 else |
5615 fi | 5616 fi |
5616 | 5617 |
5617 | 5618 |
5618 | 5619 |
5619 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5620 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5620 echo "configure:5621: checking for XOpenDisplay in -lX11" >&5 | 5621 echo "configure:5622: checking for XOpenDisplay in -lX11" >&5 |
5621 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5622 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5622 | 5623 |
5623 xe_check_libs=" -lX11 " | 5624 xe_check_libs=" -lX11 " |
5624 cat > conftest.$ac_ext <<EOF | 5625 cat > conftest.$ac_ext <<EOF |
5625 #line 5626 "configure" | 5626 #line 5627 "configure" |
5626 #include "confdefs.h" | 5627 #include "confdefs.h" |
5627 /* Override any gcc2 internal prototype to avoid an error. */ | 5628 /* Override any gcc2 internal prototype to avoid an error. */ |
5628 /* We use char because int might match the return type of a gcc2 | 5629 /* We use char because int might match the return type of a gcc2 |
5629 builtin and then its argument prototype would still apply. */ | 5630 builtin and then its argument prototype would still apply. */ |
5630 char XOpenDisplay(); | 5631 char XOpenDisplay(); |
5631 | 5632 |
5632 int main() { | 5633 int main() { |
5633 XOpenDisplay() | 5634 XOpenDisplay() |
5634 ; return 0; } | 5635 ; return 0; } |
5635 EOF | 5636 EOF |
5636 if { (eval echo configure:5637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5637 if { (eval echo configure:5638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5637 rm -rf conftest* | 5638 rm -rf conftest* |
5638 eval "ac_cv_lib_$ac_lib_var=yes" | 5639 eval "ac_cv_lib_$ac_lib_var=yes" |
5639 else | 5640 else |
5640 echo "configure: failed program was:" >&5 | 5641 echo "configure: failed program was:" >&5 |
5641 cat conftest.$ac_ext >&5 | 5642 cat conftest.$ac_ext >&5 |
5656 if test "$have_lib_x11" != "yes"; then | 5657 if test "$have_lib_x11" != "yes"; then |
5657 | 5658 |
5658 xe_msg_checking="for XGetFontProperty in -lX11" | 5659 xe_msg_checking="for XGetFontProperty in -lX11" |
5659 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5660 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5660 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5661 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5661 echo "configure:5662: checking "$xe_msg_checking"" >&5 | 5662 echo "configure:5663: checking "$xe_msg_checking"" >&5 |
5662 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5663 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5663 | 5664 |
5664 xe_check_libs=" -lX11 -b i486-linuxaout" | 5665 xe_check_libs=" -lX11 -b i486-linuxaout" |
5665 cat > conftest.$ac_ext <<EOF | 5666 cat > conftest.$ac_ext <<EOF |
5666 #line 5667 "configure" | 5667 #line 5668 "configure" |
5667 #include "confdefs.h" | 5668 #include "confdefs.h" |
5668 /* Override any gcc2 internal prototype to avoid an error. */ | 5669 /* Override any gcc2 internal prototype to avoid an error. */ |
5669 /* We use char because int might match the return type of a gcc2 | 5670 /* We use char because int might match the return type of a gcc2 |
5670 builtin and then its argument prototype would still apply. */ | 5671 builtin and then its argument prototype would still apply. */ |
5671 char XGetFontProperty(); | 5672 char XGetFontProperty(); |
5672 | 5673 |
5673 int main() { | 5674 int main() { |
5674 XGetFontProperty() | 5675 XGetFontProperty() |
5675 ; return 0; } | 5676 ; return 0; } |
5676 EOF | 5677 EOF |
5677 if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5678 rm -rf conftest* | 5679 rm -rf conftest* |
5679 eval "ac_cv_lib_$ac_lib_var=yes" | 5680 eval "ac_cv_lib_$ac_lib_var=yes" |
5680 else | 5681 else |
5681 echo "configure: failed program was:" >&5 | 5682 echo "configure: failed program was:" >&5 |
5682 cat conftest.$ac_ext >&5 | 5683 cat conftest.$ac_ext >&5 |
5699 libs_x="-lX11" | 5700 libs_x="-lX11" |
5700 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5701 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5701 | 5702 |
5702 | 5703 |
5703 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5704 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5704 echo "configure:5705: checking for XShapeSelectInput in -lXext" >&5 | 5705 echo "configure:5706: checking for XShapeSelectInput in -lXext" >&5 |
5705 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5706 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5706 | 5707 |
5707 xe_check_libs=" -lXext " | 5708 xe_check_libs=" -lXext " |
5708 cat > conftest.$ac_ext <<EOF | 5709 cat > conftest.$ac_ext <<EOF |
5709 #line 5710 "configure" | 5710 #line 5711 "configure" |
5710 #include "confdefs.h" | 5711 #include "confdefs.h" |
5711 /* Override any gcc2 internal prototype to avoid an error. */ | 5712 /* Override any gcc2 internal prototype to avoid an error. */ |
5712 /* We use char because int might match the return type of a gcc2 | 5713 /* We use char because int might match the return type of a gcc2 |
5713 builtin and then its argument prototype would still apply. */ | 5714 builtin and then its argument prototype would still apply. */ |
5714 char XShapeSelectInput(); | 5715 char XShapeSelectInput(); |
5715 | 5716 |
5716 int main() { | 5717 int main() { |
5717 XShapeSelectInput() | 5718 XShapeSelectInput() |
5718 ; return 0; } | 5719 ; return 0; } |
5719 EOF | 5720 EOF |
5720 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5721 if { (eval echo configure:5722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5721 rm -rf conftest* | 5722 rm -rf conftest* |
5722 eval "ac_cv_lib_$ac_lib_var=yes" | 5723 eval "ac_cv_lib_$ac_lib_var=yes" |
5723 else | 5724 else |
5724 echo "configure: failed program was:" >&5 | 5725 echo "configure: failed program was:" >&5 |
5725 cat conftest.$ac_ext >&5 | 5726 cat conftest.$ac_ext >&5 |
5738 | 5739 |
5739 | 5740 |
5740 | 5741 |
5741 | 5742 |
5742 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5743 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5743 echo "configure:5744: checking for XtOpenDisplay in -lXt" >&5 | 5744 echo "configure:5745: checking for XtOpenDisplay in -lXt" >&5 |
5744 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5745 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5745 | 5746 |
5746 xe_check_libs=" -lXt " | 5747 xe_check_libs=" -lXt " |
5747 cat > conftest.$ac_ext <<EOF | 5748 cat > conftest.$ac_ext <<EOF |
5748 #line 5749 "configure" | 5749 #line 5750 "configure" |
5749 #include "confdefs.h" | 5750 #include "confdefs.h" |
5750 /* Override any gcc2 internal prototype to avoid an error. */ | 5751 /* Override any gcc2 internal prototype to avoid an error. */ |
5751 /* We use char because int might match the return type of a gcc2 | 5752 /* We use char because int might match the return type of a gcc2 |
5752 builtin and then its argument prototype would still apply. */ | 5753 builtin and then its argument prototype would still apply. */ |
5753 char XtOpenDisplay(); | 5754 char XtOpenDisplay(); |
5754 | 5755 |
5755 int main() { | 5756 int main() { |
5756 XtOpenDisplay() | 5757 XtOpenDisplay() |
5757 ; return 0; } | 5758 ; return 0; } |
5758 EOF | 5759 EOF |
5759 if { (eval echo configure:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5760 rm -rf conftest* | 5761 rm -rf conftest* |
5761 eval "ac_cv_lib_$ac_lib_var=yes" | 5762 eval "ac_cv_lib_$ac_lib_var=yes" |
5762 else | 5763 else |
5763 echo "configure: failed program was:" >&5 | 5764 echo "configure: failed program was:" >&5 |
5764 cat conftest.$ac_ext >&5 | 5765 cat conftest.$ac_ext >&5 |
5777 fi | 5778 fi |
5778 | 5779 |
5779 | 5780 |
5780 | 5781 |
5781 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5782 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5782 echo "configure:5783: checking the version of X11 being used" >&5 | 5783 echo "configure:5784: checking the version of X11 being used" >&5 |
5783 cat > conftest.$ac_ext <<EOF | 5784 cat > conftest.$ac_ext <<EOF |
5784 #line 5785 "configure" | 5785 #line 5786 "configure" |
5785 #include "confdefs.h" | 5786 #include "confdefs.h" |
5786 #include <X11/Intrinsic.h> | 5787 #include <X11/Intrinsic.h> |
5787 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5788 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5788 EOF | 5789 EOF |
5789 if { (eval echo configure:5790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5790 if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5790 then | 5791 then |
5791 ./conftest foobar; x11_release=$? | 5792 ./conftest foobar; x11_release=$? |
5792 else | 5793 else |
5793 conftest_rc="$?" | 5794 conftest_rc="$?" |
5794 echo "configure: failed program was:" >&5 | 5795 echo "configure: failed program was:" >&5 |
5809 | 5810 |
5810 for ac_hdr in X11/Xlocale.h | 5811 for ac_hdr in X11/Xlocale.h |
5811 do | 5812 do |
5812 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5813 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5813 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5814 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5814 echo "configure:5815: checking for $ac_hdr" >&5 | 5815 echo "configure:5816: checking for $ac_hdr" >&5 |
5815 | 5816 |
5816 cat > conftest.$ac_ext <<EOF | 5817 cat > conftest.$ac_ext <<EOF |
5817 #line 5818 "configure" | 5818 #line 5819 "configure" |
5818 #include "confdefs.h" | 5819 #include "confdefs.h" |
5819 #include <$ac_hdr> | 5820 #include <$ac_hdr> |
5820 EOF | 5821 EOF |
5821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5822 { (eval echo configure:5823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5823 { (eval echo configure:5824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5824 if test -z "$ac_err"; then | 5825 if test -z "$ac_err"; then |
5825 rm -rf conftest* | 5826 rm -rf conftest* |
5826 eval "ac_cv_header_$ac_safe=yes" | 5827 eval "ac_cv_header_$ac_safe=yes" |
5827 else | 5828 else |
5848 fi | 5849 fi |
5849 done | 5850 done |
5850 | 5851 |
5851 | 5852 |
5852 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5853 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5853 echo "configure:5854: checking for XFree86" >&5 | 5854 echo "configure:5855: checking for XFree86" >&5 |
5854 if test -d "/usr/X386/include" -o \ | 5855 if test -d "/usr/X386/include" -o \ |
5855 -f "/etc/XF86Config" -o \ | 5856 -f "/etc/XF86Config" -o \ |
5856 -f "/etc/X11/XF86Config" -o \ | 5857 -f "/etc/X11/XF86Config" -o \ |
5857 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5858 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5858 echo "$ac_t""yes" 1>&6 | 5859 echo "$ac_t""yes" 1>&6 |
5868 echo "$ac_t""no" 1>&6 | 5869 echo "$ac_t""no" 1>&6 |
5869 fi | 5870 fi |
5870 | 5871 |
5871 test -z "$with_xmu" && { | 5872 test -z "$with_xmu" && { |
5872 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5873 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5873 echo "configure:5874: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5874 echo "configure:5875: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5874 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5875 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5875 | 5876 |
5876 xe_check_libs=" -lXmu " | 5877 xe_check_libs=" -lXmu " |
5877 cat > conftest.$ac_ext <<EOF | 5878 cat > conftest.$ac_ext <<EOF |
5878 #line 5879 "configure" | 5879 #line 5880 "configure" |
5879 #include "confdefs.h" | 5880 #include "confdefs.h" |
5880 /* Override any gcc2 internal prototype to avoid an error. */ | 5881 /* Override any gcc2 internal prototype to avoid an error. */ |
5881 /* We use char because int might match the return type of a gcc2 | 5882 /* We use char because int might match the return type of a gcc2 |
5882 builtin and then its argument prototype would still apply. */ | 5883 builtin and then its argument prototype would still apply. */ |
5883 char XmuReadBitmapDataFromFile(); | 5884 char XmuReadBitmapDataFromFile(); |
5884 | 5885 |
5885 int main() { | 5886 int main() { |
5886 XmuReadBitmapDataFromFile() | 5887 XmuReadBitmapDataFromFile() |
5887 ; return 0; } | 5888 ; return 0; } |
5888 EOF | 5889 EOF |
5889 if { (eval echo configure:5890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5890 if { (eval echo configure:5891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5890 rm -rf conftest* | 5891 rm -rf conftest* |
5891 eval "ac_cv_lib_$ac_lib_var=yes" | 5892 eval "ac_cv_lib_$ac_lib_var=yes" |
5892 else | 5893 else |
5893 echo "configure: failed program was:" >&5 | 5894 echo "configure: failed program was:" >&5 |
5894 cat conftest.$ac_ext >&5 | 5895 cat conftest.$ac_ext >&5 |
5923 | 5924 |
5924 fi | 5925 fi |
5925 | 5926 |
5926 | 5927 |
5927 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5928 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5928 echo "configure:5929: checking for main in -lXbsd" >&5 | 5929 echo "configure:5930: checking for main in -lXbsd" >&5 |
5929 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5930 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5930 | 5931 |
5931 xe_check_libs=" -lXbsd " | 5932 xe_check_libs=" -lXbsd " |
5932 cat > conftest.$ac_ext <<EOF | 5933 cat > conftest.$ac_ext <<EOF |
5933 #line 5934 "configure" | 5934 #line 5935 "configure" |
5934 #include "confdefs.h" | 5935 #include "confdefs.h" |
5935 | 5936 |
5936 int main() { | 5937 int main() { |
5937 main() | 5938 main() |
5938 ; return 0; } | 5939 ; return 0; } |
5939 EOF | 5940 EOF |
5940 if { (eval echo configure:5941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5941 if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5941 rm -rf conftest* | 5942 rm -rf conftest* |
5942 eval "ac_cv_lib_$ac_lib_var=yes" | 5943 eval "ac_cv_lib_$ac_lib_var=yes" |
5943 else | 5944 else |
5944 echo "configure: failed program was:" >&5 | 5945 echo "configure: failed program was:" >&5 |
5945 cat conftest.$ac_ext >&5 | 5946 cat conftest.$ac_ext >&5 |
5972 fi | 5973 fi |
5973 | 5974 |
5974 fi | 5975 fi |
5975 if test "$with_msw" != "no"; then | 5976 if test "$with_msw" != "no"; then |
5976 echo "checking for MS-Windows" 1>&6 | 5977 echo "checking for MS-Windows" 1>&6 |
5977 echo "configure:5978: checking for MS-Windows" >&5 | 5978 echo "configure:5979: checking for MS-Windows" >&5 |
5978 | 5979 |
5979 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5980 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5980 echo "configure:5981: checking for main in -lgdi32" >&5 | 5981 echo "configure:5982: checking for main in -lgdi32" >&5 |
5981 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5982 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5982 | 5983 |
5983 xe_check_libs=" -lgdi32 " | 5984 xe_check_libs=" -lgdi32 " |
5984 cat > conftest.$ac_ext <<EOF | 5985 cat > conftest.$ac_ext <<EOF |
5985 #line 5986 "configure" | 5986 #line 5987 "configure" |
5986 #include "confdefs.h" | 5987 #include "confdefs.h" |
5987 | 5988 |
5988 int main() { | 5989 int main() { |
5989 main() | 5990 main() |
5990 ; return 0; } | 5991 ; return 0; } |
5991 EOF | 5992 EOF |
5992 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5993 if { (eval echo configure:5994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5993 rm -rf conftest* | 5994 rm -rf conftest* |
5994 eval "ac_cv_lib_$ac_lib_var=yes" | 5995 eval "ac_cv_lib_$ac_lib_var=yes" |
5995 else | 5996 else |
5996 echo "configure: failed program was:" >&5 | 5997 echo "configure: failed program was:" >&5 |
5997 cat conftest.$ac_ext >&5 | 5998 cat conftest.$ac_ext >&5 |
6052 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6053 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6053 echo " xemacs will be linked with \"dialog-msw.o\"" | 6054 echo " xemacs will be linked with \"dialog-msw.o\"" |
6054 fi | 6055 fi |
6055 fi | 6056 fi |
6056 cat > conftest.$ac_ext <<EOF | 6057 cat > conftest.$ac_ext <<EOF |
6057 #line 6058 "configure" | 6058 #line 6059 "configure" |
6058 #include "confdefs.h" | 6059 #include "confdefs.h" |
6059 #include <fcntl.h> | 6060 #include <fcntl.h> |
6060 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6061 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6061 EOF | 6062 EOF |
6062 if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6063 if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6063 then | 6064 then |
6064 { test "$extra_verbose" = "yes" && cat << \EOF | 6065 { test "$extra_verbose" = "yes" && cat << \EOF |
6065 Defining HAVE_MSG_SELECT | 6066 Defining HAVE_MSG_SELECT |
6066 EOF | 6067 EOF |
6067 cat >> confdefs.h <<\EOF | 6068 cat >> confdefs.h <<\EOF |
6133 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6134 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6134 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6135 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6135 esac | 6136 esac |
6136 | 6137 |
6137 echo "checking for WM_COMMAND option" 1>&6 | 6138 echo "checking for WM_COMMAND option" 1>&6 |
6138 echo "configure:6139: checking for WM_COMMAND option" >&5; | 6139 echo "configure:6140: checking for WM_COMMAND option" >&5; |
6139 if test "$with_wmcommand" != "no"; then | 6140 if test "$with_wmcommand" != "no"; then |
6140 { test "$extra_verbose" = "yes" && cat << \EOF | 6141 { test "$extra_verbose" = "yes" && cat << \EOF |
6141 Defining HAVE_WMCOMMAND | 6142 Defining HAVE_WMCOMMAND |
6142 EOF | 6143 EOF |
6143 cat >> confdefs.h <<\EOF | 6144 cat >> confdefs.h <<\EOF |
6148 fi | 6149 fi |
6149 | 6150 |
6150 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6151 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6151 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6152 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6152 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6153 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6153 echo "configure:6154: checking for X11/Xauth.h" >&5 | 6154 echo "configure:6155: checking for X11/Xauth.h" >&5 |
6154 | 6155 |
6155 cat > conftest.$ac_ext <<EOF | 6156 cat > conftest.$ac_ext <<EOF |
6156 #line 6157 "configure" | 6157 #line 6158 "configure" |
6157 #include "confdefs.h" | 6158 #include "confdefs.h" |
6158 #include <X11/Xauth.h> | 6159 #include <X11/Xauth.h> |
6159 EOF | 6160 EOF |
6160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6161 { (eval echo configure:6162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6162 { (eval echo configure:6163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6163 if test -z "$ac_err"; then | 6164 if test -z "$ac_err"; then |
6164 rm -rf conftest* | 6165 rm -rf conftest* |
6165 eval "ac_cv_header_$ac_safe=yes" | 6166 eval "ac_cv_header_$ac_safe=yes" |
6166 else | 6167 else |
6179 with_xauth=no | 6180 with_xauth=no |
6180 fi | 6181 fi |
6181 } | 6182 } |
6182 test -z "$with_xauth" && { | 6183 test -z "$with_xauth" && { |
6183 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6184 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6184 echo "configure:6185: checking for XauGetAuthByAddr in -lXau" >&5 | 6185 echo "configure:6186: checking for XauGetAuthByAddr in -lXau" >&5 |
6185 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6186 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6186 | 6187 |
6187 xe_check_libs=" -lXau " | 6188 xe_check_libs=" -lXau " |
6188 cat > conftest.$ac_ext <<EOF | 6189 cat > conftest.$ac_ext <<EOF |
6189 #line 6190 "configure" | 6190 #line 6191 "configure" |
6190 #include "confdefs.h" | 6191 #include "confdefs.h" |
6191 /* Override any gcc2 internal prototype to avoid an error. */ | 6192 /* Override any gcc2 internal prototype to avoid an error. */ |
6192 /* We use char because int might match the return type of a gcc2 | 6193 /* We use char because int might match the return type of a gcc2 |
6193 builtin and then its argument prototype would still apply. */ | 6194 builtin and then its argument prototype would still apply. */ |
6194 char XauGetAuthByAddr(); | 6195 char XauGetAuthByAddr(); |
6195 | 6196 |
6196 int main() { | 6197 int main() { |
6197 XauGetAuthByAddr() | 6198 XauGetAuthByAddr() |
6198 ; return 0; } | 6199 ; return 0; } |
6199 EOF | 6200 EOF |
6200 if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6201 rm -rf conftest* | 6202 rm -rf conftest* |
6202 eval "ac_cv_lib_$ac_lib_var=yes" | 6203 eval "ac_cv_lib_$ac_lib_var=yes" |
6203 else | 6204 else |
6204 echo "configure: failed program was:" >&5 | 6205 echo "configure: failed program was:" >&5 |
6205 cat conftest.$ac_ext >&5 | 6206 cat conftest.$ac_ext >&5 |
6240 | 6241 |
6241 if test "$with_tooltalk" != "no" ; then | 6242 if test "$with_tooltalk" != "no" ; then |
6242 for dir in "" "Tt/" "desktop/" ; do | 6243 for dir in "" "Tt/" "desktop/" ; do |
6243 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6244 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6244 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6245 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6245 echo "configure:6246: checking for ${dir}tt_c.h" >&5 | 6246 echo "configure:6247: checking for ${dir}tt_c.h" >&5 |
6246 | 6247 |
6247 cat > conftest.$ac_ext <<EOF | 6248 cat > conftest.$ac_ext <<EOF |
6248 #line 6249 "configure" | 6249 #line 6250 "configure" |
6249 #include "confdefs.h" | 6250 #include "confdefs.h" |
6250 #include <${dir}tt_c.h> | 6251 #include <${dir}tt_c.h> |
6251 EOF | 6252 EOF |
6252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6253 { (eval echo configure:6254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6254 { (eval echo configure:6255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6255 if test -z "$ac_err"; then | 6256 if test -z "$ac_err"; then |
6256 rm -rf conftest* | 6257 rm -rf conftest* |
6257 eval "ac_cv_header_$ac_safe=yes" | 6258 eval "ac_cv_header_$ac_safe=yes" |
6258 else | 6259 else |
6284 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6285 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6285 | 6286 |
6286 xe_msg_checking="for tt_message_create in -ltt" | 6287 xe_msg_checking="for tt_message_create in -ltt" |
6287 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6288 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6288 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6289 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6289 echo "configure:6290: checking "$xe_msg_checking"" >&5 | 6290 echo "configure:6291: checking "$xe_msg_checking"" >&5 |
6290 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6291 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6291 | 6292 |
6292 xe_check_libs=" -ltt $extra_libs" | 6293 xe_check_libs=" -ltt $extra_libs" |
6293 cat > conftest.$ac_ext <<EOF | 6294 cat > conftest.$ac_ext <<EOF |
6294 #line 6295 "configure" | 6295 #line 6296 "configure" |
6295 #include "confdefs.h" | 6296 #include "confdefs.h" |
6296 /* Override any gcc2 internal prototype to avoid an error. */ | 6297 /* Override any gcc2 internal prototype to avoid an error. */ |
6297 /* We use char because int might match the return type of a gcc2 | 6298 /* We use char because int might match the return type of a gcc2 |
6298 builtin and then its argument prototype would still apply. */ | 6299 builtin and then its argument prototype would still apply. */ |
6299 char tt_message_create(); | 6300 char tt_message_create(); |
6300 | 6301 |
6301 int main() { | 6302 int main() { |
6302 tt_message_create() | 6303 tt_message_create() |
6303 ; return 0; } | 6304 ; return 0; } |
6304 EOF | 6305 EOF |
6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6306 if { (eval echo configure:6307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6306 rm -rf conftest* | 6307 rm -rf conftest* |
6307 eval "ac_cv_lib_$ac_lib_var=yes" | 6308 eval "ac_cv_lib_$ac_lib_var=yes" |
6308 else | 6309 else |
6309 echo "configure: failed program was:" >&5 | 6310 echo "configure: failed program was:" >&5 |
6310 cat conftest.$ac_ext >&5 | 6311 cat conftest.$ac_ext >&5 |
6357 fi | 6358 fi |
6358 fi | 6359 fi |
6359 | 6360 |
6360 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6361 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6361 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6362 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6362 echo "configure:6363: checking for Dt/Dt.h" >&5 | 6363 echo "configure:6364: checking for Dt/Dt.h" >&5 |
6363 | 6364 |
6364 cat > conftest.$ac_ext <<EOF | 6365 cat > conftest.$ac_ext <<EOF |
6365 #line 6366 "configure" | 6366 #line 6367 "configure" |
6366 #include "confdefs.h" | 6367 #include "confdefs.h" |
6367 #include <Dt/Dt.h> | 6368 #include <Dt/Dt.h> |
6368 EOF | 6369 EOF |
6369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6370 { (eval echo configure:6371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6371 { (eval echo configure:6372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6372 if test -z "$ac_err"; then | 6373 if test -z "$ac_err"; then |
6373 rm -rf conftest* | 6374 rm -rf conftest* |
6374 eval "ac_cv_header_$ac_safe=yes" | 6375 eval "ac_cv_header_$ac_safe=yes" |
6375 else | 6376 else |
6388 with_cde=no | 6389 with_cde=no |
6389 fi | 6390 fi |
6390 } | 6391 } |
6391 test -z "$with_cde" && { | 6392 test -z "$with_cde" && { |
6392 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6393 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6393 echo "configure:6394: checking for DtDndDragStart in -lDtSvc" >&5 | 6394 echo "configure:6395: checking for DtDndDragStart in -lDtSvc" >&5 |
6394 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6395 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6395 | 6396 |
6396 xe_check_libs=" -lDtSvc " | 6397 xe_check_libs=" -lDtSvc " |
6397 cat > conftest.$ac_ext <<EOF | 6398 cat > conftest.$ac_ext <<EOF |
6398 #line 6399 "configure" | 6399 #line 6400 "configure" |
6399 #include "confdefs.h" | 6400 #include "confdefs.h" |
6400 /* Override any gcc2 internal prototype to avoid an error. */ | 6401 /* Override any gcc2 internal prototype to avoid an error. */ |
6401 /* We use char because int might match the return type of a gcc2 | 6402 /* We use char because int might match the return type of a gcc2 |
6402 builtin and then its argument prototype would still apply. */ | 6403 builtin and then its argument prototype would still apply. */ |
6403 char DtDndDragStart(); | 6404 char DtDndDragStart(); |
6404 | 6405 |
6405 int main() { | 6406 int main() { |
6406 DtDndDragStart() | 6407 DtDndDragStart() |
6407 ; return 0; } | 6408 ; return 0; } |
6408 EOF | 6409 EOF |
6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6410 if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6410 rm -rf conftest* | 6411 rm -rf conftest* |
6411 eval "ac_cv_lib_$ac_lib_var=yes" | 6412 eval "ac_cv_lib_$ac_lib_var=yes" |
6412 else | 6413 else |
6413 echo "configure: failed program was:" >&5 | 6414 echo "configure: failed program was:" >&5 |
6414 cat conftest.$ac_ext >&5 | 6415 cat conftest.$ac_ext >&5 |
6473 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6474 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6474 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6475 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6475 fi | 6476 fi |
6476 | 6477 |
6477 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6478 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6478 echo "configure:6479: checking if drag and drop API is needed" >&5 | 6479 echo "configure:6480: checking if drag and drop API is needed" >&5 |
6479 if test "$with_dragndrop" != "no" ; then | 6480 if test "$with_dragndrop" != "no" ; then |
6480 if test -n "$dragndrop_proto" ; then | 6481 if test -n "$dragndrop_proto" ; then |
6481 with_dragndrop=yes | 6482 with_dragndrop=yes |
6482 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6483 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6483 { test "$extra_verbose" = "yes" && cat << \EOF | 6484 { test "$extra_verbose" = "yes" && cat << \EOF |
6494 echo "$ac_t""no" 1>&6 | 6495 echo "$ac_t""no" 1>&6 |
6495 fi | 6496 fi |
6496 fi | 6497 fi |
6497 | 6498 |
6498 echo "checking for LDAP" 1>&6 | 6499 echo "checking for LDAP" 1>&6 |
6499 echo "configure:6500: checking for LDAP" >&5 | 6500 echo "configure:6501: checking for LDAP" >&5 |
6500 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6501 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6501 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6502 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6502 echo "configure:6503: checking for ldap.h" >&5 | 6503 echo "configure:6504: checking for ldap.h" >&5 |
6503 | 6504 |
6504 cat > conftest.$ac_ext <<EOF | 6505 cat > conftest.$ac_ext <<EOF |
6505 #line 6506 "configure" | 6506 #line 6507 "configure" |
6506 #include "confdefs.h" | 6507 #include "confdefs.h" |
6507 #include <ldap.h> | 6508 #include <ldap.h> |
6508 EOF | 6509 EOF |
6509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6510 { (eval echo configure:6511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6511 { (eval echo configure:6512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6512 if test -z "$ac_err"; then | 6513 if test -z "$ac_err"; then |
6513 rm -rf conftest* | 6514 rm -rf conftest* |
6514 eval "ac_cv_header_$ac_safe=yes" | 6515 eval "ac_cv_header_$ac_safe=yes" |
6515 else | 6516 else |
6528 with_ldap=no | 6529 with_ldap=no |
6529 fi | 6530 fi |
6530 } | 6531 } |
6531 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6532 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6532 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6533 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6533 echo "configure:6534: checking for lber.h" >&5 | 6534 echo "configure:6535: checking for lber.h" >&5 |
6534 | 6535 |
6535 cat > conftest.$ac_ext <<EOF | 6536 cat > conftest.$ac_ext <<EOF |
6536 #line 6537 "configure" | 6537 #line 6538 "configure" |
6537 #include "confdefs.h" | 6538 #include "confdefs.h" |
6538 #include <lber.h> | 6539 #include <lber.h> |
6539 EOF | 6540 EOF |
6540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6541 { (eval echo configure:6542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6542 { (eval echo configure:6543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6543 if test -z "$ac_err"; then | 6544 if test -z "$ac_err"; then |
6544 rm -rf conftest* | 6545 rm -rf conftest* |
6545 eval "ac_cv_header_$ac_safe=yes" | 6546 eval "ac_cv_header_$ac_safe=yes" |
6546 else | 6547 else |
6562 if test "$with_ldap" != "no"; then | 6563 if test "$with_ldap" != "no"; then |
6563 test -z "$with_umich_ldap" && { | 6564 test -z "$with_umich_ldap" && { |
6564 xe_msg_checking="for ldap_open in -lldap" | 6565 xe_msg_checking="for ldap_open in -lldap" |
6565 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6566 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6566 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6567 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6567 echo "configure:6568: checking "$xe_msg_checking"" >&5 | 6568 echo "configure:6569: checking "$xe_msg_checking"" >&5 |
6568 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6569 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6569 | 6570 |
6570 xe_check_libs=" -lldap -llber" | 6571 xe_check_libs=" -lldap -llber" |
6571 cat > conftest.$ac_ext <<EOF | 6572 cat > conftest.$ac_ext <<EOF |
6572 #line 6573 "configure" | 6573 #line 6574 "configure" |
6573 #include "confdefs.h" | 6574 #include "confdefs.h" |
6574 /* Override any gcc2 internal prototype to avoid an error. */ | 6575 /* Override any gcc2 internal prototype to avoid an error. */ |
6575 /* We use char because int might match the return type of a gcc2 | 6576 /* We use char because int might match the return type of a gcc2 |
6576 builtin and then its argument prototype would still apply. */ | 6577 builtin and then its argument prototype would still apply. */ |
6577 char ldap_open(); | 6578 char ldap_open(); |
6578 | 6579 |
6579 int main() { | 6580 int main() { |
6580 ldap_open() | 6581 ldap_open() |
6581 ; return 0; } | 6582 ; return 0; } |
6582 EOF | 6583 EOF |
6583 if { (eval echo configure:6584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6584 if { (eval echo configure:6585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6584 rm -rf conftest* | 6585 rm -rf conftest* |
6585 eval "ac_cv_lib_$ac_lib_var=yes" | 6586 eval "ac_cv_lib_$ac_lib_var=yes" |
6586 else | 6587 else |
6587 echo "configure: failed program was:" >&5 | 6588 echo "configure: failed program was:" >&5 |
6588 cat conftest.$ac_ext >&5 | 6589 cat conftest.$ac_ext >&5 |
6601 fi | 6602 fi |
6602 | 6603 |
6603 } | 6604 } |
6604 test "$with_umich_ldap" = "no" && { | 6605 test "$with_umich_ldap" = "no" && { |
6605 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6606 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6606 echo "configure:6607: checking for ldap_set_option in -lldap10" >&5 | 6607 echo "configure:6608: checking for ldap_set_option in -lldap10" >&5 |
6607 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6608 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6608 | 6609 |
6609 xe_check_libs=" -lldap10 " | 6610 xe_check_libs=" -lldap10 " |
6610 cat > conftest.$ac_ext <<EOF | 6611 cat > conftest.$ac_ext <<EOF |
6611 #line 6612 "configure" | 6612 #line 6613 "configure" |
6612 #include "confdefs.h" | 6613 #include "confdefs.h" |
6613 /* Override any gcc2 internal prototype to avoid an error. */ | 6614 /* Override any gcc2 internal prototype to avoid an error. */ |
6614 /* We use char because int might match the return type of a gcc2 | 6615 /* We use char because int might match the return type of a gcc2 |
6615 builtin and then its argument prototype would still apply. */ | 6616 builtin and then its argument prototype would still apply. */ |
6616 char ldap_set_option(); | 6617 char ldap_set_option(); |
6617 | 6618 |
6618 int main() { | 6619 int main() { |
6619 ldap_set_option() | 6620 ldap_set_option() |
6620 ; return 0; } | 6621 ; return 0; } |
6621 EOF | 6622 EOF |
6622 if { (eval echo configure:6623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6623 if { (eval echo configure:6624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6623 rm -rf conftest* | 6624 rm -rf conftest* |
6624 eval "ac_cv_lib_$ac_lib_var=yes" | 6625 eval "ac_cv_lib_$ac_lib_var=yes" |
6625 else | 6626 else |
6626 echo "configure: failed program was:" >&5 | 6627 echo "configure: failed program was:" >&5 |
6627 cat conftest.$ac_ext >&5 | 6628 cat conftest.$ac_ext >&5 |
6681 fi | 6682 fi |
6682 | 6683 |
6683 | 6684 |
6684 if test "$window_system" != "none"; then | 6685 if test "$window_system" != "none"; then |
6685 echo "checking for graphics libraries" 1>&6 | 6686 echo "checking for graphics libraries" 1>&6 |
6686 echo "configure:6687: checking for graphics libraries" >&5 | 6687 echo "configure:6688: checking for graphics libraries" >&5 |
6687 | 6688 |
6688 xpm_problem="" | 6689 xpm_problem="" |
6689 if test -z "$with_xpm"; then | 6690 if test -z "$with_xpm"; then |
6690 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6691 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6691 echo "configure:6692: checking for Xpm - no older than 3.4f" >&5 | 6692 echo "configure:6693: checking for Xpm - no older than 3.4f" >&5 |
6692 xe_check_libs=-lXpm | 6693 xe_check_libs=-lXpm |
6693 cat > conftest.$ac_ext <<EOF | 6694 cat > conftest.$ac_ext <<EOF |
6694 #line 6695 "configure" | 6695 #line 6696 "configure" |
6695 #include "confdefs.h" | 6696 #include "confdefs.h" |
6696 #include <X11/xpm.h> | 6697 #include <X11/xpm.h> |
6697 int main(int c, char **v) { | 6698 int main(int c, char **v) { |
6698 return c == 1 ? 0 : | 6699 return c == 1 ? 0 : |
6699 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6700 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6700 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6701 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6701 EOF | 6702 EOF |
6702 if { (eval echo configure:6703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6703 if { (eval echo configure:6704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6703 then | 6704 then |
6704 ./conftest dummy_arg; xpm_status=$?; | 6705 ./conftest dummy_arg; xpm_status=$?; |
6705 if test "$xpm_status" = "0"; then | 6706 if test "$xpm_status" = "0"; then |
6706 with_xpm=yes; | 6707 with_xpm=yes; |
6707 else | 6708 else |
6739 EOF | 6740 EOF |
6740 } | 6741 } |
6741 | 6742 |
6742 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6743 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6743 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6744 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6744 echo "configure:6745: checking for \"FOR_MSW\" xpm" >&5 | 6745 echo "configure:6746: checking for \"FOR_MSW\" xpm" >&5 |
6745 xe_check_libs=-lXpm | 6746 xe_check_libs=-lXpm |
6746 cat > conftest.$ac_ext <<EOF | 6747 cat > conftest.$ac_ext <<EOF |
6747 #line 6748 "configure" | 6748 #line 6749 "configure" |
6748 #include "confdefs.h" | 6749 #include "confdefs.h" |
6749 | 6750 |
6750 int main() { | 6751 int main() { |
6751 XpmCreatePixmapFromData() | 6752 XpmCreatePixmapFromData() |
6752 ; return 0; } | 6753 ; return 0; } |
6753 EOF | 6754 EOF |
6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6755 if { (eval echo configure:6756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6755 rm -rf conftest* | 6756 rm -rf conftest* |
6756 xpm_for_msw=no | 6757 xpm_for_msw=no |
6757 else | 6758 else |
6758 echo "configure: failed program was:" >&5 | 6759 echo "configure: failed program was:" >&5 |
6759 cat conftest.$ac_ext >&5 | 6760 cat conftest.$ac_ext >&5 |
6775 fi | 6776 fi |
6776 fi | 6777 fi |
6777 | 6778 |
6778 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6779 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6779 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6780 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6780 echo "configure:6781: checking for compface.h" >&5 | 6781 echo "configure:6782: checking for compface.h" >&5 |
6781 | 6782 |
6782 cat > conftest.$ac_ext <<EOF | 6783 cat > conftest.$ac_ext <<EOF |
6783 #line 6784 "configure" | 6784 #line 6785 "configure" |
6784 #include "confdefs.h" | 6785 #include "confdefs.h" |
6785 #include <compface.h> | 6786 #include <compface.h> |
6786 EOF | 6787 EOF |
6787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6788 { (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6789 { (eval echo configure:6790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6790 if test -z "$ac_err"; then | 6791 if test -z "$ac_err"; then |
6791 rm -rf conftest* | 6792 rm -rf conftest* |
6792 eval "ac_cv_header_$ac_safe=yes" | 6793 eval "ac_cv_header_$ac_safe=yes" |
6793 else | 6794 else |
6806 with_xface=no | 6807 with_xface=no |
6807 fi | 6808 fi |
6808 } | 6809 } |
6809 test -z "$with_xface" && { | 6810 test -z "$with_xface" && { |
6810 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6811 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6811 echo "configure:6812: checking for UnGenFace in -lcompface" >&5 | 6812 echo "configure:6813: checking for UnGenFace in -lcompface" >&5 |
6812 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6813 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6813 | 6814 |
6814 xe_check_libs=" -lcompface " | 6815 xe_check_libs=" -lcompface " |
6815 cat > conftest.$ac_ext <<EOF | 6816 cat > conftest.$ac_ext <<EOF |
6816 #line 6817 "configure" | 6817 #line 6818 "configure" |
6817 #include "confdefs.h" | 6818 #include "confdefs.h" |
6818 /* Override any gcc2 internal prototype to avoid an error. */ | 6819 /* Override any gcc2 internal prototype to avoid an error. */ |
6819 /* We use char because int might match the return type of a gcc2 | 6820 /* We use char because int might match the return type of a gcc2 |
6820 builtin and then its argument prototype would still apply. */ | 6821 builtin and then its argument prototype would still apply. */ |
6821 char UnGenFace(); | 6822 char UnGenFace(); |
6822 | 6823 |
6823 int main() { | 6824 int main() { |
6824 UnGenFace() | 6825 UnGenFace() |
6825 ; return 0; } | 6826 ; return 0; } |
6826 EOF | 6827 EOF |
6827 if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6828 if { (eval echo configure:6829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6828 rm -rf conftest* | 6829 rm -rf conftest* |
6829 eval "ac_cv_lib_$ac_lib_var=yes" | 6830 eval "ac_cv_lib_$ac_lib_var=yes" |
6830 else | 6831 else |
6831 echo "configure: failed program was:" >&5 | 6832 echo "configure: failed program was:" >&5 |
6832 cat conftest.$ac_ext >&5 | 6833 cat conftest.$ac_ext >&5 |
6874 fi | 6875 fi |
6875 | 6876 |
6876 if test "$with_png $with_tiff" != "no no"; then | 6877 if test "$with_png $with_tiff" != "no no"; then |
6877 | 6878 |
6878 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6879 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6879 echo "configure:6880: checking for inflate in -lc" >&5 | 6880 echo "configure:6881: checking for inflate in -lc" >&5 |
6880 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6881 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6881 | 6882 |
6882 xe_check_libs=" -lc " | 6883 xe_check_libs=" -lc " |
6883 cat > conftest.$ac_ext <<EOF | 6884 cat > conftest.$ac_ext <<EOF |
6884 #line 6885 "configure" | 6885 #line 6886 "configure" |
6885 #include "confdefs.h" | 6886 #include "confdefs.h" |
6886 /* Override any gcc2 internal prototype to avoid an error. */ | 6887 /* Override any gcc2 internal prototype to avoid an error. */ |
6887 /* We use char because int might match the return type of a gcc2 | 6888 /* We use char because int might match the return type of a gcc2 |
6888 builtin and then its argument prototype would still apply. */ | 6889 builtin and then its argument prototype would still apply. */ |
6889 char inflate(); | 6890 char inflate(); |
6890 | 6891 |
6891 int main() { | 6892 int main() { |
6892 inflate() | 6893 inflate() |
6893 ; return 0; } | 6894 ; return 0; } |
6894 EOF | 6895 EOF |
6895 if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6896 if { (eval echo configure:6897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6896 rm -rf conftest* | 6897 rm -rf conftest* |
6897 eval "ac_cv_lib_$ac_lib_var=yes" | 6898 eval "ac_cv_lib_$ac_lib_var=yes" |
6898 else | 6899 else |
6899 echo "configure: failed program was:" >&5 | 6900 echo "configure: failed program was:" >&5 |
6900 cat conftest.$ac_ext >&5 | 6901 cat conftest.$ac_ext >&5 |
6909 : | 6910 : |
6910 else | 6911 else |
6911 echo "$ac_t""no" 1>&6 | 6912 echo "$ac_t""no" 1>&6 |
6912 | 6913 |
6913 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6914 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6914 echo "configure:6915: checking for inflate in -lz" >&5 | 6915 echo "configure:6916: checking for inflate in -lz" >&5 |
6915 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6916 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6916 | 6917 |
6917 xe_check_libs=" -lz " | 6918 xe_check_libs=" -lz " |
6918 cat > conftest.$ac_ext <<EOF | 6919 cat > conftest.$ac_ext <<EOF |
6919 #line 6920 "configure" | 6920 #line 6921 "configure" |
6920 #include "confdefs.h" | 6921 #include "confdefs.h" |
6921 /* Override any gcc2 internal prototype to avoid an error. */ | 6922 /* Override any gcc2 internal prototype to avoid an error. */ |
6922 /* We use char because int might match the return type of a gcc2 | 6923 /* We use char because int might match the return type of a gcc2 |
6923 builtin and then its argument prototype would still apply. */ | 6924 builtin and then its argument prototype would still apply. */ |
6924 char inflate(); | 6925 char inflate(); |
6925 | 6926 |
6926 int main() { | 6927 int main() { |
6927 inflate() | 6928 inflate() |
6928 ; return 0; } | 6929 ; return 0; } |
6929 EOF | 6930 EOF |
6930 if { (eval echo configure:6931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6931 if { (eval echo configure:6932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6931 rm -rf conftest* | 6932 rm -rf conftest* |
6932 eval "ac_cv_lib_$ac_lib_var=yes" | 6933 eval "ac_cv_lib_$ac_lib_var=yes" |
6933 else | 6934 else |
6934 echo "configure: failed program was:" >&5 | 6935 echo "configure: failed program was:" >&5 |
6935 cat conftest.$ac_ext >&5 | 6936 cat conftest.$ac_ext >&5 |
6944 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6945 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6945 else | 6946 else |
6946 echo "$ac_t""no" 1>&6 | 6947 echo "$ac_t""no" 1>&6 |
6947 | 6948 |
6948 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6949 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6949 echo "configure:6950: checking for inflate in -lgz" >&5 | 6950 echo "configure:6951: checking for inflate in -lgz" >&5 |
6950 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6951 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6951 | 6952 |
6952 xe_check_libs=" -lgz " | 6953 xe_check_libs=" -lgz " |
6953 cat > conftest.$ac_ext <<EOF | 6954 cat > conftest.$ac_ext <<EOF |
6954 #line 6955 "configure" | 6955 #line 6956 "configure" |
6955 #include "confdefs.h" | 6956 #include "confdefs.h" |
6956 /* Override any gcc2 internal prototype to avoid an error. */ | 6957 /* Override any gcc2 internal prototype to avoid an error. */ |
6957 /* We use char because int might match the return type of a gcc2 | 6958 /* We use char because int might match the return type of a gcc2 |
6958 builtin and then its argument prototype would still apply. */ | 6959 builtin and then its argument prototype would still apply. */ |
6959 char inflate(); | 6960 char inflate(); |
6960 | 6961 |
6961 int main() { | 6962 int main() { |
6962 inflate() | 6963 inflate() |
6963 ; return 0; } | 6964 ; return 0; } |
6964 EOF | 6965 EOF |
6965 if { (eval echo configure:6966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6966 rm -rf conftest* | 6967 rm -rf conftest* |
6967 eval "ac_cv_lib_$ac_lib_var=yes" | 6968 eval "ac_cv_lib_$ac_lib_var=yes" |
6968 else | 6969 else |
6969 echo "configure: failed program was:" >&5 | 6970 echo "configure: failed program was:" >&5 |
6970 cat conftest.$ac_ext >&5 | 6971 cat conftest.$ac_ext >&5 |
6990 | 6991 |
6991 fi | 6992 fi |
6992 | 6993 |
6993 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6994 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6994 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6995 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6995 echo "configure:6996: checking for jpeglib.h" >&5 | 6996 echo "configure:6997: checking for jpeglib.h" >&5 |
6996 | 6997 |
6997 cat > conftest.$ac_ext <<EOF | 6998 cat > conftest.$ac_ext <<EOF |
6998 #line 6999 "configure" | 6999 #line 7000 "configure" |
6999 #include "confdefs.h" | 7000 #include "confdefs.h" |
7000 #include <jpeglib.h> | 7001 #include <jpeglib.h> |
7001 EOF | 7002 EOF |
7002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7003 { (eval echo configure:7004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7004 { (eval echo configure:7005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7004 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7005 if test -z "$ac_err"; then | 7006 if test -z "$ac_err"; then |
7006 rm -rf conftest* | 7007 rm -rf conftest* |
7007 eval "ac_cv_header_$ac_safe=yes" | 7008 eval "ac_cv_header_$ac_safe=yes" |
7008 else | 7009 else |
7021 with_jpeg=no | 7022 with_jpeg=no |
7022 fi | 7023 fi |
7023 } | 7024 } |
7024 test -z "$with_jpeg" && { | 7025 test -z "$with_jpeg" && { |
7025 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7026 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7026 echo "configure:7027: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7027 echo "configure:7028: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7027 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7028 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7028 | 7029 |
7029 xe_check_libs=" -ljpeg " | 7030 xe_check_libs=" -ljpeg " |
7030 cat > conftest.$ac_ext <<EOF | 7031 cat > conftest.$ac_ext <<EOF |
7031 #line 7032 "configure" | 7032 #line 7033 "configure" |
7032 #include "confdefs.h" | 7033 #include "confdefs.h" |
7033 /* Override any gcc2 internal prototype to avoid an error. */ | 7034 /* Override any gcc2 internal prototype to avoid an error. */ |
7034 /* We use char because int might match the return type of a gcc2 | 7035 /* We use char because int might match the return type of a gcc2 |
7035 builtin and then its argument prototype would still apply. */ | 7036 builtin and then its argument prototype would still apply. */ |
7036 char jpeg_destroy_decompress(); | 7037 char jpeg_destroy_decompress(); |
7037 | 7038 |
7038 int main() { | 7039 int main() { |
7039 jpeg_destroy_decompress() | 7040 jpeg_destroy_decompress() |
7040 ; return 0; } | 7041 ; return 0; } |
7041 EOF | 7042 EOF |
7042 if { (eval echo configure:7043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7043 if { (eval echo configure:7044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7043 rm -rf conftest* | 7044 rm -rf conftest* |
7044 eval "ac_cv_lib_$ac_lib_var=yes" | 7045 eval "ac_cv_lib_$ac_lib_var=yes" |
7045 else | 7046 else |
7046 echo "configure: failed program was:" >&5 | 7047 echo "configure: failed program was:" >&5 |
7047 cat conftest.$ac_ext >&5 | 7048 cat conftest.$ac_ext >&5 |
7073 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7074 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7074 fi | 7075 fi |
7075 | 7076 |
7076 png_problem="" | 7077 png_problem="" |
7077 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7078 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7078 echo "configure:7079: checking for pow" >&5 | 7079 echo "configure:7080: checking for pow" >&5 |
7079 | 7080 |
7080 cat > conftest.$ac_ext <<EOF | 7081 cat > conftest.$ac_ext <<EOF |
7081 #line 7082 "configure" | 7082 #line 7083 "configure" |
7082 #include "confdefs.h" | 7083 #include "confdefs.h" |
7083 /* System header to define __stub macros and hopefully few prototypes, | 7084 /* System header to define __stub macros and hopefully few prototypes, |
7084 which can conflict with char pow(); below. */ | 7085 which can conflict with char pow(); below. */ |
7085 #include <assert.h> | 7086 #include <assert.h> |
7086 /* Override any gcc2 internal prototype to avoid an error. */ | 7087 /* Override any gcc2 internal prototype to avoid an error. */ |
7099 pow(); | 7100 pow(); |
7100 #endif | 7101 #endif |
7101 | 7102 |
7102 ; return 0; } | 7103 ; return 0; } |
7103 EOF | 7104 EOF |
7104 if { (eval echo configure:7105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7105 if { (eval echo configure:7106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7105 rm -rf conftest* | 7106 rm -rf conftest* |
7106 eval "ac_cv_func_pow=yes" | 7107 eval "ac_cv_func_pow=yes" |
7107 else | 7108 else |
7108 echo "configure: failed program was:" >&5 | 7109 echo "configure: failed program was:" >&5 |
7109 cat conftest.$ac_ext >&5 | 7110 cat conftest.$ac_ext >&5 |
7120 with_png=no | 7121 with_png=no |
7121 fi | 7122 fi |
7122 } | 7123 } |
7123 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7124 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7124 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7125 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7125 echo "configure:7126: checking for png.h" >&5 | 7126 echo "configure:7127: checking for png.h" >&5 |
7126 | 7127 |
7127 cat > conftest.$ac_ext <<EOF | 7128 cat > conftest.$ac_ext <<EOF |
7128 #line 7129 "configure" | 7129 #line 7130 "configure" |
7129 #include "confdefs.h" | 7130 #include "confdefs.h" |
7130 #include <png.h> | 7131 #include <png.h> |
7131 EOF | 7132 EOF |
7132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7133 { (eval echo configure:7134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7134 { (eval echo configure:7135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7135 if test -z "$ac_err"; then | 7136 if test -z "$ac_err"; then |
7136 rm -rf conftest* | 7137 rm -rf conftest* |
7137 eval "ac_cv_header_$ac_safe=yes" | 7138 eval "ac_cv_header_$ac_safe=yes" |
7138 else | 7139 else |
7151 with_png=no | 7152 with_png=no |
7152 fi | 7153 fi |
7153 } | 7154 } |
7154 test -z "$with_png" && { | 7155 test -z "$with_png" && { |
7155 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7156 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7156 echo "configure:7157: checking for png_read_image in -lpng" >&5 | 7157 echo "configure:7158: checking for png_read_image in -lpng" >&5 |
7157 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7158 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7158 | 7159 |
7159 xe_check_libs=" -lpng " | 7160 xe_check_libs=" -lpng " |
7160 cat > conftest.$ac_ext <<EOF | 7161 cat > conftest.$ac_ext <<EOF |
7161 #line 7162 "configure" | 7162 #line 7163 "configure" |
7162 #include "confdefs.h" | 7163 #include "confdefs.h" |
7163 /* Override any gcc2 internal prototype to avoid an error. */ | 7164 /* Override any gcc2 internal prototype to avoid an error. */ |
7164 /* We use char because int might match the return type of a gcc2 | 7165 /* We use char because int might match the return type of a gcc2 |
7165 builtin and then its argument prototype would still apply. */ | 7166 builtin and then its argument prototype would still apply. */ |
7166 char png_read_image(); | 7167 char png_read_image(); |
7167 | 7168 |
7168 int main() { | 7169 int main() { |
7169 png_read_image() | 7170 png_read_image() |
7170 ; return 0; } | 7171 ; return 0; } |
7171 EOF | 7172 EOF |
7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7173 if { (eval echo configure:7174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7173 rm -rf conftest* | 7174 rm -rf conftest* |
7174 eval "ac_cv_lib_$ac_lib_var=yes" | 7175 eval "ac_cv_lib_$ac_lib_var=yes" |
7175 else | 7176 else |
7176 echo "configure: failed program was:" >&5 | 7177 echo "configure: failed program was:" >&5 |
7177 cat conftest.$ac_ext >&5 | 7178 cat conftest.$ac_ext >&5 |
7190 fi | 7191 fi |
7191 | 7192 |
7192 } | 7193 } |
7193 if test -z "$with_png"; then | 7194 if test -z "$with_png"; then |
7194 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7195 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7195 echo "configure:7196: checking for workable png version information" >&5 | 7196 echo "configure:7197: checking for workable png version information" >&5 |
7196 xe_check_libs="-lpng -lz" | 7197 xe_check_libs="-lpng -lz" |
7197 cat > conftest.$ac_ext <<EOF | 7198 cat > conftest.$ac_ext <<EOF |
7198 #line 7199 "configure" | 7199 #line 7200 "configure" |
7199 #include "confdefs.h" | 7200 #include "confdefs.h" |
7200 #include <png.h> | 7201 #include <png.h> |
7201 int main(int c, char **v) { | 7202 int main(int c, char **v) { |
7202 if (c == 1) return 0; | 7203 if (c == 1) return 0; |
7203 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7204 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7204 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7205 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7205 EOF | 7206 EOF |
7206 if { (eval echo configure:7207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7207 then | 7208 then |
7208 ./conftest dummy_arg; png_status=$?; | 7209 ./conftest dummy_arg; png_status=$?; |
7209 if test "$png_status" = "0"; then | 7210 if test "$png_status" = "0"; then |
7210 with_png=yes; | 7211 with_png=yes; |
7211 else | 7212 else |
7244 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7245 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7245 fi | 7246 fi |
7246 | 7247 |
7247 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7248 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7248 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7249 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7249 echo "configure:7250: checking for tiffio.h" >&5 | 7250 echo "configure:7251: checking for tiffio.h" >&5 |
7250 | 7251 |
7251 cat > conftest.$ac_ext <<EOF | 7252 cat > conftest.$ac_ext <<EOF |
7252 #line 7253 "configure" | 7253 #line 7254 "configure" |
7253 #include "confdefs.h" | 7254 #include "confdefs.h" |
7254 #include <tiffio.h> | 7255 #include <tiffio.h> |
7255 EOF | 7256 EOF |
7256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7257 { (eval echo configure:7258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7258 { (eval echo configure:7259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7259 if test -z "$ac_err"; then | 7260 if test -z "$ac_err"; then |
7260 rm -rf conftest* | 7261 rm -rf conftest* |
7261 eval "ac_cv_header_$ac_safe=yes" | 7262 eval "ac_cv_header_$ac_safe=yes" |
7262 else | 7263 else |
7275 with_tiff=no | 7276 with_tiff=no |
7276 fi | 7277 fi |
7277 } | 7278 } |
7278 test -z "$with_tiff" && { | 7279 test -z "$with_tiff" && { |
7279 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7280 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7280 echo "configure:7281: checking for TIFFClientOpen in -ltiff" >&5 | 7281 echo "configure:7282: checking for TIFFClientOpen in -ltiff" >&5 |
7281 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7282 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7282 | 7283 |
7283 xe_check_libs=" -ltiff " | 7284 xe_check_libs=" -ltiff " |
7284 cat > conftest.$ac_ext <<EOF | 7285 cat > conftest.$ac_ext <<EOF |
7285 #line 7286 "configure" | 7286 #line 7287 "configure" |
7286 #include "confdefs.h" | 7287 #include "confdefs.h" |
7287 /* Override any gcc2 internal prototype to avoid an error. */ | 7288 /* Override any gcc2 internal prototype to avoid an error. */ |
7288 /* We use char because int might match the return type of a gcc2 | 7289 /* We use char because int might match the return type of a gcc2 |
7289 builtin and then its argument prototype would still apply. */ | 7290 builtin and then its argument prototype would still apply. */ |
7290 char TIFFClientOpen(); | 7291 char TIFFClientOpen(); |
7291 | 7292 |
7292 int main() { | 7293 int main() { |
7293 TIFFClientOpen() | 7294 TIFFClientOpen() |
7294 ; return 0; } | 7295 ; return 0; } |
7295 EOF | 7296 EOF |
7296 if { (eval echo configure:7297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7297 if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7297 rm -rf conftest* | 7298 rm -rf conftest* |
7298 eval "ac_cv_lib_$ac_lib_var=yes" | 7299 eval "ac_cv_lib_$ac_lib_var=yes" |
7299 else | 7300 else |
7300 echo "configure: failed program was:" >&5 | 7301 echo "configure: failed program was:" >&5 |
7301 cat conftest.$ac_ext >&5 | 7302 cat conftest.$ac_ext >&5 |
7330 | 7331 |
7331 | 7332 |
7332 if test "$with_x11" = "yes"; then | 7333 if test "$with_x11" = "yes"; then |
7333 | 7334 |
7334 echo "checking for X11 graphics libraries" 1>&6 | 7335 echo "checking for X11 graphics libraries" 1>&6 |
7335 echo "configure:7336: checking for X11 graphics libraries" >&5 | 7336 echo "configure:7337: checking for X11 graphics libraries" >&5 |
7336 | 7337 |
7337 | 7338 |
7338 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7339 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7339 echo "configure:7340: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7340 echo "configure:7341: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7340 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7341 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7341 | 7342 |
7342 xe_check_libs=" -lXaw " | 7343 xe_check_libs=" -lXaw " |
7343 cat > conftest.$ac_ext <<EOF | 7344 cat > conftest.$ac_ext <<EOF |
7344 #line 7345 "configure" | 7345 #line 7346 "configure" |
7345 #include "confdefs.h" | 7346 #include "confdefs.h" |
7346 /* Override any gcc2 internal prototype to avoid an error. */ | 7347 /* Override any gcc2 internal prototype to avoid an error. */ |
7347 /* We use char because int might match the return type of a gcc2 | 7348 /* We use char because int might match the return type of a gcc2 |
7348 builtin and then its argument prototype would still apply. */ | 7349 builtin and then its argument prototype would still apply. */ |
7349 char XawScrollbarSetThumb(); | 7350 char XawScrollbarSetThumb(); |
7350 | 7351 |
7351 int main() { | 7352 int main() { |
7352 XawScrollbarSetThumb() | 7353 XawScrollbarSetThumb() |
7353 ; return 0; } | 7354 ; return 0; } |
7354 EOF | 7355 EOF |
7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7356 rm -rf conftest* | 7357 rm -rf conftest* |
7357 eval "ac_cv_lib_$ac_lib_var=yes" | 7358 eval "ac_cv_lib_$ac_lib_var=yes" |
7358 else | 7359 else |
7359 echo "configure: failed program was:" >&5 | 7360 echo "configure: failed program was:" >&5 |
7360 cat conftest.$ac_ext >&5 | 7361 cat conftest.$ac_ext >&5 |
7374 | 7375 |
7375 | 7376 |
7376 | 7377 |
7377 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7378 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7378 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7379 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7379 echo "configure:7380: checking for Xm/Xm.h" >&5 | 7380 echo "configure:7381: checking for Xm/Xm.h" >&5 |
7380 | 7381 |
7381 cat > conftest.$ac_ext <<EOF | 7382 cat > conftest.$ac_ext <<EOF |
7382 #line 7383 "configure" | 7383 #line 7384 "configure" |
7383 #include "confdefs.h" | 7384 #include "confdefs.h" |
7384 #include <Xm/Xm.h> | 7385 #include <Xm/Xm.h> |
7385 EOF | 7386 EOF |
7386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7387 { (eval echo configure:7388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7388 { (eval echo configure:7389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7389 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7389 if test -z "$ac_err"; then | 7390 if test -z "$ac_err"; then |
7390 rm -rf conftest* | 7391 rm -rf conftest* |
7391 eval "ac_cv_header_$ac_safe=yes" | 7392 eval "ac_cv_header_$ac_safe=yes" |
7392 else | 7393 else |
7399 rm -f conftest* | 7400 rm -f conftest* |
7400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7401 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7401 echo "$ac_t""yes" 1>&6 | 7402 echo "$ac_t""yes" 1>&6 |
7402 | 7403 |
7403 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7404 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7404 echo "configure:7405: checking for XmStringFree in -lXm" >&5 | 7405 echo "configure:7406: checking for XmStringFree in -lXm" >&5 |
7405 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7406 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7406 | 7407 |
7407 xe_check_libs=" -lXm " | 7408 xe_check_libs=" -lXm " |
7408 cat > conftest.$ac_ext <<EOF | 7409 cat > conftest.$ac_ext <<EOF |
7409 #line 7410 "configure" | 7410 #line 7411 "configure" |
7410 #include "confdefs.h" | 7411 #include "confdefs.h" |
7411 /* Override any gcc2 internal prototype to avoid an error. */ | 7412 /* Override any gcc2 internal prototype to avoid an error. */ |
7412 /* We use char because int might match the return type of a gcc2 | 7413 /* We use char because int might match the return type of a gcc2 |
7413 builtin and then its argument prototype would still apply. */ | 7414 builtin and then its argument prototype would still apply. */ |
7414 char XmStringFree(); | 7415 char XmStringFree(); |
7415 | 7416 |
7416 int main() { | 7417 int main() { |
7417 XmStringFree() | 7418 XmStringFree() |
7418 ; return 0; } | 7419 ; return 0; } |
7419 EOF | 7420 EOF |
7420 if { (eval echo configure:7421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7421 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7421 rm -rf conftest* | 7422 rm -rf conftest* |
7422 eval "ac_cv_lib_$ac_lib_var=yes" | 7423 eval "ac_cv_lib_$ac_lib_var=yes" |
7423 else | 7424 else |
7424 echo "configure: failed program was:" >&5 | 7425 echo "configure: failed program was:" >&5 |
7425 cat conftest.$ac_ext >&5 | 7426 cat conftest.$ac_ext >&5 |
7444 fi | 7445 fi |
7445 | 7446 |
7446 | 7447 |
7447 if test "$have_motif" = "yes"; then | 7448 if test "$have_motif" = "yes"; then |
7448 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7449 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7449 echo "configure:7450: checking for Lesstif" >&5 | 7450 echo "configure:7451: checking for Lesstif" >&5 |
7450 cat > conftest.$ac_ext <<EOF | 7451 cat > conftest.$ac_ext <<EOF |
7451 #line 7452 "configure" | 7452 #line 7453 "configure" |
7452 #include "confdefs.h" | 7453 #include "confdefs.h" |
7453 #include <Xm/Xm.h> | 7454 #include <Xm/Xm.h> |
7454 #ifdef LESSTIF_VERSION | 7455 #ifdef LESSTIF_VERSION |
7455 yes | 7456 yes |
7456 #endif | 7457 #endif |
7709 fi | 7710 fi |
7710 fi | 7711 fi |
7711 | 7712 |
7712 if test "$with_mule" = "yes" ; then | 7713 if test "$with_mule" = "yes" ; then |
7713 echo "checking for Mule-related features" 1>&6 | 7714 echo "checking for Mule-related features" 1>&6 |
7714 echo "configure:7715: checking for Mule-related features" >&5 | 7715 echo "configure:7716: checking for Mule-related features" >&5 |
7715 { test "$extra_verbose" = "yes" && cat << \EOF | 7716 { test "$extra_verbose" = "yes" && cat << \EOF |
7716 Defining MULE | 7717 Defining MULE |
7717 EOF | 7718 EOF |
7718 cat >> confdefs.h <<\EOF | 7719 cat >> confdefs.h <<\EOF |
7719 #define MULE 1 | 7720 #define MULE 1 |
7734 | 7735 |
7735 for ac_hdr in libintl.h | 7736 for ac_hdr in libintl.h |
7736 do | 7737 do |
7737 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7738 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7738 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7739 echo "configure:7740: checking for $ac_hdr" >&5 | 7740 echo "configure:7741: checking for $ac_hdr" >&5 |
7740 | 7741 |
7741 cat > conftest.$ac_ext <<EOF | 7742 cat > conftest.$ac_ext <<EOF |
7742 #line 7743 "configure" | 7743 #line 7744 "configure" |
7743 #include "confdefs.h" | 7744 #include "confdefs.h" |
7744 #include <$ac_hdr> | 7745 #include <$ac_hdr> |
7745 EOF | 7746 EOF |
7746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7747 { (eval echo configure:7748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7748 { (eval echo configure:7749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7749 if test -z "$ac_err"; then | 7750 if test -z "$ac_err"; then |
7750 rm -rf conftest* | 7751 rm -rf conftest* |
7751 eval "ac_cv_header_$ac_safe=yes" | 7752 eval "ac_cv_header_$ac_safe=yes" |
7752 else | 7753 else |
7773 fi | 7774 fi |
7774 done | 7775 done |
7775 | 7776 |
7776 | 7777 |
7777 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7778 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7778 echo "configure:7779: checking for strerror in -lintl" >&5 | 7779 echo "configure:7780: checking for strerror in -lintl" >&5 |
7779 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7780 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7780 | 7781 |
7781 xe_check_libs=" -lintl " | 7782 xe_check_libs=" -lintl " |
7782 cat > conftest.$ac_ext <<EOF | 7783 cat > conftest.$ac_ext <<EOF |
7783 #line 7784 "configure" | 7784 #line 7785 "configure" |
7784 #include "confdefs.h" | 7785 #include "confdefs.h" |
7785 /* Override any gcc2 internal prototype to avoid an error. */ | 7786 /* Override any gcc2 internal prototype to avoid an error. */ |
7786 /* We use char because int might match the return type of a gcc2 | 7787 /* We use char because int might match the return type of a gcc2 |
7787 builtin and then its argument prototype would still apply. */ | 7788 builtin and then its argument prototype would still apply. */ |
7788 char strerror(); | 7789 char strerror(); |
7789 | 7790 |
7790 int main() { | 7791 int main() { |
7791 strerror() | 7792 strerror() |
7792 ; return 0; } | 7793 ; return 0; } |
7793 EOF | 7794 EOF |
7794 if { (eval echo configure:7795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7795 rm -rf conftest* | 7796 rm -rf conftest* |
7796 eval "ac_cv_lib_$ac_lib_var=yes" | 7797 eval "ac_cv_lib_$ac_lib_var=yes" |
7797 else | 7798 else |
7798 echo "configure: failed program was:" >&5 | 7799 echo "configure: failed program was:" >&5 |
7799 cat conftest.$ac_ext >&5 | 7800 cat conftest.$ac_ext >&5 |
7822 fi | 7823 fi |
7823 | 7824 |
7824 | 7825 |
7825 | 7826 |
7826 echo "checking for Mule input methods" 1>&6 | 7827 echo "checking for Mule input methods" 1>&6 |
7827 echo "configure:7828: checking for Mule input methods" >&5 | 7828 echo "configure:7829: checking for Mule input methods" >&5 |
7828 case "$with_xim" in "" | "yes" ) | 7829 case "$with_xim" in "" | "yes" ) |
7829 echo "checking for XIM" 1>&6 | 7830 echo "checking for XIM" 1>&6 |
7830 echo "configure:7831: checking for XIM" >&5 | 7831 echo "configure:7832: checking for XIM" >&5 |
7831 | 7832 |
7832 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 7833 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
7833 echo "configure:7834: checking for XOpenIM in -lX11" >&5 | 7834 echo "configure:7835: checking for XOpenIM in -lX11" >&5 |
7834 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 7835 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
7835 | 7836 |
7836 xe_check_libs=" -lX11 " | 7837 xe_check_libs=" -lX11 " |
7837 cat > conftest.$ac_ext <<EOF | 7838 cat > conftest.$ac_ext <<EOF |
7838 #line 7839 "configure" | 7839 #line 7840 "configure" |
7839 #include "confdefs.h" | 7840 #include "confdefs.h" |
7840 /* Override any gcc2 internal prototype to avoid an error. */ | 7841 /* Override any gcc2 internal prototype to avoid an error. */ |
7841 /* We use char because int might match the return type of a gcc2 | 7842 /* We use char because int might match the return type of a gcc2 |
7842 builtin and then its argument prototype would still apply. */ | 7843 builtin and then its argument prototype would still apply. */ |
7843 char XOpenIM(); | 7844 char XOpenIM(); |
7844 | 7845 |
7845 int main() { | 7846 int main() { |
7846 XOpenIM() | 7847 XOpenIM() |
7847 ; return 0; } | 7848 ; return 0; } |
7848 EOF | 7849 EOF |
7849 if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7850 rm -rf conftest* | 7851 rm -rf conftest* |
7851 eval "ac_cv_lib_$ac_lib_var=yes" | 7852 eval "ac_cv_lib_$ac_lib_var=yes" |
7852 else | 7853 else |
7853 echo "configure: failed program was:" >&5 | 7854 echo "configure: failed program was:" >&5 |
7854 cat conftest.$ac_ext >&5 | 7855 cat conftest.$ac_ext >&5 |
7868 | 7869 |
7869 | 7870 |
7870 if test "$have_motif $have_lesstif" = "yes no"; then | 7871 if test "$have_motif $have_lesstif" = "yes no"; then |
7871 | 7872 |
7872 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7873 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7873 echo "configure:7874: checking for XmImMbLookupString in -lXm" >&5 | 7874 echo "configure:7875: checking for XmImMbLookupString in -lXm" >&5 |
7874 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7875 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7875 | 7876 |
7876 xe_check_libs=" -lXm " | 7877 xe_check_libs=" -lXm " |
7877 cat > conftest.$ac_ext <<EOF | 7878 cat > conftest.$ac_ext <<EOF |
7878 #line 7879 "configure" | 7879 #line 7880 "configure" |
7879 #include "confdefs.h" | 7880 #include "confdefs.h" |
7880 /* Override any gcc2 internal prototype to avoid an error. */ | 7881 /* Override any gcc2 internal prototype to avoid an error. */ |
7881 /* We use char because int might match the return type of a gcc2 | 7882 /* We use char because int might match the return type of a gcc2 |
7882 builtin and then its argument prototype would still apply. */ | 7883 builtin and then its argument prototype would still apply. */ |
7883 char XmImMbLookupString(); | 7884 char XmImMbLookupString(); |
7884 | 7885 |
7885 int main() { | 7886 int main() { |
7886 XmImMbLookupString() | 7887 XmImMbLookupString() |
7887 ; return 0; } | 7888 ; return 0; } |
7888 EOF | 7889 EOF |
7889 if { (eval echo configure:7890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7890 if { (eval echo configure:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7890 rm -rf conftest* | 7891 rm -rf conftest* |
7891 eval "ac_cv_lib_$ac_lib_var=yes" | 7892 eval "ac_cv_lib_$ac_lib_var=yes" |
7892 else | 7893 else |
7893 echo "configure: failed program was:" >&5 | 7894 echo "configure: failed program was:" >&5 |
7894 cat conftest.$ac_ext >&5 | 7895 cat conftest.$ac_ext >&5 |
7949 fi | 7950 fi |
7950 fi | 7951 fi |
7951 | 7952 |
7952 if test "$with_xfs" = "yes" ; then | 7953 if test "$with_xfs" = "yes" ; then |
7953 echo "checking for XFontSet" 1>&6 | 7954 echo "checking for XFontSet" 1>&6 |
7954 echo "configure:7955: checking for XFontSet" >&5 | 7955 echo "configure:7956: checking for XFontSet" >&5 |
7955 | 7956 |
7956 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7957 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7957 echo "configure:7958: checking for XmbDrawString in -lX11" >&5 | 7958 echo "configure:7959: checking for XmbDrawString in -lX11" >&5 |
7958 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7959 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7959 | 7960 |
7960 xe_check_libs=" -lX11 " | 7961 xe_check_libs=" -lX11 " |
7961 cat > conftest.$ac_ext <<EOF | 7962 cat > conftest.$ac_ext <<EOF |
7962 #line 7963 "configure" | 7963 #line 7964 "configure" |
7963 #include "confdefs.h" | 7964 #include "confdefs.h" |
7964 /* Override any gcc2 internal prototype to avoid an error. */ | 7965 /* Override any gcc2 internal prototype to avoid an error. */ |
7965 /* We use char because int might match the return type of a gcc2 | 7966 /* We use char because int might match the return type of a gcc2 |
7966 builtin and then its argument prototype would still apply. */ | 7967 builtin and then its argument prototype would still apply. */ |
7967 char XmbDrawString(); | 7968 char XmbDrawString(); |
7968 | 7969 |
7969 int main() { | 7970 int main() { |
7970 XmbDrawString() | 7971 XmbDrawString() |
7971 ; return 0; } | 7972 ; return 0; } |
7972 EOF | 7973 EOF |
7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7974 rm -rf conftest* | 7975 rm -rf conftest* |
7975 eval "ac_cv_lib_$ac_lib_var=yes" | 7976 eval "ac_cv_lib_$ac_lib_var=yes" |
7976 else | 7977 else |
7977 echo "configure: failed program was:" >&5 | 7978 echo "configure: failed program was:" >&5 |
7978 cat conftest.$ac_ext >&5 | 7979 cat conftest.$ac_ext >&5 |
8008 fi | 8009 fi |
8009 fi | 8010 fi |
8010 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8011 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8011 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8012 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8012 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8013 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8013 echo "configure:8014: checking for wnn/jllib.h" >&5 | 8014 echo "configure:8015: checking for wnn/jllib.h" >&5 |
8014 | 8015 |
8015 cat > conftest.$ac_ext <<EOF | 8016 cat > conftest.$ac_ext <<EOF |
8016 #line 8017 "configure" | 8017 #line 8018 "configure" |
8017 #include "confdefs.h" | 8018 #include "confdefs.h" |
8018 #include <wnn/jllib.h> | 8019 #include <wnn/jllib.h> |
8019 EOF | 8020 EOF |
8020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8021 { (eval echo configure:8022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8022 { (eval echo configure:8023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8023 if test -z "$ac_err"; then | 8024 if test -z "$ac_err"; then |
8024 rm -rf conftest* | 8025 rm -rf conftest* |
8025 eval "ac_cv_header_$ac_safe=yes" | 8026 eval "ac_cv_header_$ac_safe=yes" |
8026 else | 8027 else |
8041 } | 8042 } |
8042 if test "$with_wnn" != "no"; then | 8043 if test "$with_wnn" != "no"; then |
8043 for ac_func in crypt | 8044 for ac_func in crypt |
8044 do | 8045 do |
8045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8046 echo "configure:8047: checking for $ac_func" >&5 | 8047 echo "configure:8048: checking for $ac_func" >&5 |
8047 | 8048 |
8048 cat > conftest.$ac_ext <<EOF | 8049 cat > conftest.$ac_ext <<EOF |
8049 #line 8050 "configure" | 8050 #line 8051 "configure" |
8050 #include "confdefs.h" | 8051 #include "confdefs.h" |
8051 /* System header to define __stub macros and hopefully few prototypes, | 8052 /* System header to define __stub macros and hopefully few prototypes, |
8052 which can conflict with char $ac_func(); below. */ | 8053 which can conflict with char $ac_func(); below. */ |
8053 #include <assert.h> | 8054 #include <assert.h> |
8054 /* Override any gcc2 internal prototype to avoid an error. */ | 8055 /* Override any gcc2 internal prototype to avoid an error. */ |
8067 $ac_func(); | 8068 $ac_func(); |
8068 #endif | 8069 #endif |
8069 | 8070 |
8070 ; return 0; } | 8071 ; return 0; } |
8071 EOF | 8072 EOF |
8072 if { (eval echo configure:8073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8073 if { (eval echo configure:8074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8073 rm -rf conftest* | 8074 rm -rf conftest* |
8074 eval "ac_cv_func_$ac_func=yes" | 8075 eval "ac_cv_func_$ac_func=yes" |
8075 else | 8076 else |
8076 echo "configure: failed program was:" >&5 | 8077 echo "configure: failed program was:" >&5 |
8077 cat conftest.$ac_ext >&5 | 8078 cat conftest.$ac_ext >&5 |
8096 fi | 8097 fi |
8097 done | 8098 done |
8098 | 8099 |
8099 test "$ac_cv_func_crypt" != "yes" && { | 8100 test "$ac_cv_func_crypt" != "yes" && { |
8100 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8101 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8101 echo "configure:8102: checking for crypt in -lcrypt" >&5 | 8102 echo "configure:8103: checking for crypt in -lcrypt" >&5 |
8102 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8103 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8103 | 8104 |
8104 xe_check_libs=" -lcrypt " | 8105 xe_check_libs=" -lcrypt " |
8105 cat > conftest.$ac_ext <<EOF | 8106 cat > conftest.$ac_ext <<EOF |
8106 #line 8107 "configure" | 8107 #line 8108 "configure" |
8107 #include "confdefs.h" | 8108 #include "confdefs.h" |
8108 /* Override any gcc2 internal prototype to avoid an error. */ | 8109 /* Override any gcc2 internal prototype to avoid an error. */ |
8109 /* We use char because int might match the return type of a gcc2 | 8110 /* We use char because int might match the return type of a gcc2 |
8110 builtin and then its argument prototype would still apply. */ | 8111 builtin and then its argument prototype would still apply. */ |
8111 char crypt(); | 8112 char crypt(); |
8112 | 8113 |
8113 int main() { | 8114 int main() { |
8114 crypt() | 8115 crypt() |
8115 ; return 0; } | 8116 ; return 0; } |
8116 EOF | 8117 EOF |
8117 if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8118 if { (eval echo configure:8119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8118 rm -rf conftest* | 8119 rm -rf conftest* |
8119 eval "ac_cv_lib_$ac_lib_var=yes" | 8120 eval "ac_cv_lib_$ac_lib_var=yes" |
8120 else | 8121 else |
8121 echo "configure: failed program was:" >&5 | 8122 echo "configure: failed program was:" >&5 |
8122 cat conftest.$ac_ext >&5 | 8123 cat conftest.$ac_ext >&5 |
8147 } | 8148 } |
8148 fi | 8149 fi |
8149 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8150 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
8150 | 8151 |
8151 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8152 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
8152 echo "configure:8153: checking for jl_dic_list_e in -lwnn" >&5 | 8153 echo "configure:8154: checking for jl_dic_list_e in -lwnn" >&5 |
8153 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8154 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8154 | 8155 |
8155 xe_check_libs=" -lwnn " | 8156 xe_check_libs=" -lwnn " |
8156 cat > conftest.$ac_ext <<EOF | 8157 cat > conftest.$ac_ext <<EOF |
8157 #line 8158 "configure" | 8158 #line 8159 "configure" |
8158 #include "confdefs.h" | 8159 #include "confdefs.h" |
8159 /* Override any gcc2 internal prototype to avoid an error. */ | 8160 /* Override any gcc2 internal prototype to avoid an error. */ |
8160 /* We use char because int might match the return type of a gcc2 | 8161 /* We use char because int might match the return type of a gcc2 |
8161 builtin and then its argument prototype would still apply. */ | 8162 builtin and then its argument prototype would still apply. */ |
8162 char jl_dic_list_e(); | 8163 char jl_dic_list_e(); |
8163 | 8164 |
8164 int main() { | 8165 int main() { |
8165 jl_dic_list_e() | 8166 jl_dic_list_e() |
8166 ; return 0; } | 8167 ; return 0; } |
8167 EOF | 8168 EOF |
8168 if { (eval echo configure:8169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8169 if { (eval echo configure:8170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8169 rm -rf conftest* | 8170 rm -rf conftest* |
8170 eval "ac_cv_lib_$ac_lib_var=yes" | 8171 eval "ac_cv_lib_$ac_lib_var=yes" |
8171 else | 8172 else |
8172 echo "configure: failed program was:" >&5 | 8173 echo "configure: failed program was:" >&5 |
8173 cat conftest.$ac_ext >&5 | 8174 cat conftest.$ac_ext >&5 |
8181 echo "$ac_t""yes" 1>&6 | 8182 echo "$ac_t""yes" 1>&6 |
8182 libwnn=wnn | 8183 libwnn=wnn |
8183 else | 8184 else |
8184 echo "$ac_t""no" 1>&6 | 8185 echo "$ac_t""no" 1>&6 |
8185 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8186 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8186 echo "configure:8187: checking for jl_dic_list_e in -lwnn4" >&5 | 8187 echo "configure:8188: checking for jl_dic_list_e in -lwnn4" >&5 |
8187 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8188 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8188 | 8189 |
8189 xe_check_libs=" -lwnn4 " | 8190 xe_check_libs=" -lwnn4 " |
8190 cat > conftest.$ac_ext <<EOF | 8191 cat > conftest.$ac_ext <<EOF |
8191 #line 8192 "configure" | 8192 #line 8193 "configure" |
8192 #include "confdefs.h" | 8193 #include "confdefs.h" |
8193 /* Override any gcc2 internal prototype to avoid an error. */ | 8194 /* Override any gcc2 internal prototype to avoid an error. */ |
8194 /* We use char because int might match the return type of a gcc2 | 8195 /* We use char because int might match the return type of a gcc2 |
8195 builtin and then its argument prototype would still apply. */ | 8196 builtin and then its argument prototype would still apply. */ |
8196 char jl_dic_list_e(); | 8197 char jl_dic_list_e(); |
8197 | 8198 |
8198 int main() { | 8199 int main() { |
8199 jl_dic_list_e() | 8200 jl_dic_list_e() |
8200 ; return 0; } | 8201 ; return 0; } |
8201 EOF | 8202 EOF |
8202 if { (eval echo configure:8203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8203 if { (eval echo configure:8204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8203 rm -rf conftest* | 8204 rm -rf conftest* |
8204 eval "ac_cv_lib_$ac_lib_var=yes" | 8205 eval "ac_cv_lib_$ac_lib_var=yes" |
8205 else | 8206 else |
8206 echo "configure: failed program was:" >&5 | 8207 echo "configure: failed program was:" >&5 |
8207 cat conftest.$ac_ext >&5 | 8208 cat conftest.$ac_ext >&5 |
8215 echo "$ac_t""yes" 1>&6 | 8216 echo "$ac_t""yes" 1>&6 |
8216 libwnn=wnn4 | 8217 libwnn=wnn4 |
8217 else | 8218 else |
8218 echo "$ac_t""no" 1>&6 | 8219 echo "$ac_t""no" 1>&6 |
8219 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8220 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8220 echo "configure:8221: checking for jl_dic_list_e in -lwnn6" >&5 | 8221 echo "configure:8222: checking for jl_dic_list_e in -lwnn6" >&5 |
8221 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8222 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8222 | 8223 |
8223 xe_check_libs=" -lwnn6 " | 8224 xe_check_libs=" -lwnn6 " |
8224 cat > conftest.$ac_ext <<EOF | 8225 cat > conftest.$ac_ext <<EOF |
8225 #line 8226 "configure" | 8226 #line 8227 "configure" |
8226 #include "confdefs.h" | 8227 #include "confdefs.h" |
8227 /* Override any gcc2 internal prototype to avoid an error. */ | 8228 /* Override any gcc2 internal prototype to avoid an error. */ |
8228 /* We use char because int might match the return type of a gcc2 | 8229 /* We use char because int might match the return type of a gcc2 |
8229 builtin and then its argument prototype would still apply. */ | 8230 builtin and then its argument prototype would still apply. */ |
8230 char jl_dic_list_e(); | 8231 char jl_dic_list_e(); |
8231 | 8232 |
8232 int main() { | 8233 int main() { |
8233 jl_dic_list_e() | 8234 jl_dic_list_e() |
8234 ; return 0; } | 8235 ; return 0; } |
8235 EOF | 8236 EOF |
8236 if { (eval echo configure:8237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8237 if { (eval echo configure:8238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8237 rm -rf conftest* | 8238 rm -rf conftest* |
8238 eval "ac_cv_lib_$ac_lib_var=yes" | 8239 eval "ac_cv_lib_$ac_lib_var=yes" |
8239 else | 8240 else |
8240 echo "configure: failed program was:" >&5 | 8241 echo "configure: failed program was:" >&5 |
8241 cat conftest.$ac_ext >&5 | 8242 cat conftest.$ac_ext >&5 |
8249 echo "$ac_t""yes" 1>&6 | 8250 echo "$ac_t""yes" 1>&6 |
8250 libwnn=wnn6 | 8251 libwnn=wnn6 |
8251 else | 8252 else |
8252 echo "$ac_t""no" 1>&6 | 8253 echo "$ac_t""no" 1>&6 |
8253 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8254 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8254 echo "configure:8255: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8255 echo "configure:8256: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8255 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8256 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8256 | 8257 |
8257 xe_check_libs=" -lwnn6_fromsrc " | 8258 xe_check_libs=" -lwnn6_fromsrc " |
8258 cat > conftest.$ac_ext <<EOF | 8259 cat > conftest.$ac_ext <<EOF |
8259 #line 8260 "configure" | 8260 #line 8261 "configure" |
8260 #include "confdefs.h" | 8261 #include "confdefs.h" |
8261 /* Override any gcc2 internal prototype to avoid an error. */ | 8262 /* Override any gcc2 internal prototype to avoid an error. */ |
8262 /* We use char because int might match the return type of a gcc2 | 8263 /* We use char because int might match the return type of a gcc2 |
8263 builtin and then its argument prototype would still apply. */ | 8264 builtin and then its argument prototype would still apply. */ |
8264 char dic_list_e(); | 8265 char dic_list_e(); |
8265 | 8266 |
8266 int main() { | 8267 int main() { |
8267 dic_list_e() | 8268 dic_list_e() |
8268 ; return 0; } | 8269 ; return 0; } |
8269 EOF | 8270 EOF |
8270 if { (eval echo configure:8271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8271 if { (eval echo configure:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8271 rm -rf conftest* | 8272 rm -rf conftest* |
8272 eval "ac_cv_lib_$ac_lib_var=yes" | 8273 eval "ac_cv_lib_$ac_lib_var=yes" |
8273 else | 8274 else |
8274 echo "configure: failed program was:" >&5 | 8275 echo "configure: failed program was:" >&5 |
8275 cat conftest.$ac_ext >&5 | 8276 cat conftest.$ac_ext >&5 |
8313 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8314 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8314 fi | 8315 fi |
8315 if test "$with_wnn6" != "no"; then | 8316 if test "$with_wnn6" != "no"; then |
8316 | 8317 |
8317 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8318 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8318 echo "configure:8319: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8319 echo "configure:8320: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8319 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8320 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8320 | 8321 |
8321 xe_check_libs=" -l$libwnn " | 8322 xe_check_libs=" -l$libwnn " |
8322 cat > conftest.$ac_ext <<EOF | 8323 cat > conftest.$ac_ext <<EOF |
8323 #line 8324 "configure" | 8324 #line 8325 "configure" |
8324 #include "confdefs.h" | 8325 #include "confdefs.h" |
8325 /* Override any gcc2 internal prototype to avoid an error. */ | 8326 /* Override any gcc2 internal prototype to avoid an error. */ |
8326 /* We use char because int might match the return type of a gcc2 | 8327 /* We use char because int might match the return type of a gcc2 |
8327 builtin and then its argument prototype would still apply. */ | 8328 builtin and then its argument prototype would still apply. */ |
8328 char jl_fi_dic_list(); | 8329 char jl_fi_dic_list(); |
8329 | 8330 |
8330 int main() { | 8331 int main() { |
8331 jl_fi_dic_list() | 8332 jl_fi_dic_list() |
8332 ; return 0; } | 8333 ; return 0; } |
8333 EOF | 8334 EOF |
8334 if { (eval echo configure:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8335 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8335 rm -rf conftest* | 8336 rm -rf conftest* |
8336 eval "ac_cv_lib_$ac_lib_var=yes" | 8337 eval "ac_cv_lib_$ac_lib_var=yes" |
8337 else | 8338 else |
8338 echo "configure: failed program was:" >&5 | 8339 echo "configure: failed program was:" >&5 |
8339 cat conftest.$ac_ext >&5 | 8340 cat conftest.$ac_ext >&5 |
8364 | 8365 |
8365 canna_includes_found=no | 8366 canna_includes_found=no |
8366 if test "$with_canna" != "no"; then | 8367 if test "$with_canna" != "no"; then |
8367 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8368 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8368 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8369 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8369 echo "configure:8370: checking for canna/jrkanji.h" >&5 | 8370 echo "configure:8371: checking for canna/jrkanji.h" >&5 |
8370 | 8371 |
8371 cat > conftest.$ac_ext <<EOF | 8372 cat > conftest.$ac_ext <<EOF |
8372 #line 8373 "configure" | 8373 #line 8374 "configure" |
8373 #include "confdefs.h" | 8374 #include "confdefs.h" |
8374 #include <canna/jrkanji.h> | 8375 #include <canna/jrkanji.h> |
8375 EOF | 8376 EOF |
8376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8377 { (eval echo configure:8378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8378 { (eval echo configure:8379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8379 if test -z "$ac_err"; then | 8380 if test -z "$ac_err"; then |
8380 rm -rf conftest* | 8381 rm -rf conftest* |
8381 eval "ac_cv_header_$ac_safe=yes" | 8382 eval "ac_cv_header_$ac_safe=yes" |
8382 else | 8383 else |
8399 -d "/usr/local/canna/include"; then | 8400 -d "/usr/local/canna/include"; then |
8400 save_c_switch_site="$c_switch_site" | 8401 save_c_switch_site="$c_switch_site" |
8401 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8402 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8402 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8403 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8403 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8404 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8404 echo "configure:8405: checking for canna/jrkanji.h" >&5 | 8405 echo "configure:8406: checking for canna/jrkanji.h" >&5 |
8405 | 8406 |
8406 cat > conftest.$ac_ext <<EOF | 8407 cat > conftest.$ac_ext <<EOF |
8407 #line 8408 "configure" | 8408 #line 8409 "configure" |
8408 #include "confdefs.h" | 8409 #include "confdefs.h" |
8409 #include <canna/jrkanji.h> | 8410 #include <canna/jrkanji.h> |
8410 EOF | 8411 EOF |
8411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8412 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8412 { (eval echo configure:8413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8413 { (eval echo configure:8414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8414 if test -z "$ac_err"; then | 8415 if test -z "$ac_err"; then |
8415 rm -rf conftest* | 8416 rm -rf conftest* |
8416 eval "ac_cv_header_$ac_safe=yes" | 8417 eval "ac_cv_header_$ac_safe=yes" |
8417 else | 8418 else |
8435 fi | 8436 fi |
8436 fi | 8437 fi |
8437 | 8438 |
8438 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8439 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8439 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8440 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8440 echo "configure:8441: checking for canna/RK.h" >&5 | 8441 echo "configure:8442: checking for canna/RK.h" >&5 |
8441 | 8442 |
8442 cat > conftest.$ac_ext <<EOF | 8443 cat > conftest.$ac_ext <<EOF |
8443 #line 8444 "configure" | 8444 #line 8445 "configure" |
8444 #include "confdefs.h" | 8445 #include "confdefs.h" |
8445 #include <canna/RK.h> | 8446 #include <canna/RK.h> |
8446 EOF | 8447 EOF |
8447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8448 { (eval echo configure:8449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8449 { (eval echo configure:8450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8450 if test -z "$ac_err"; then | 8451 if test -z "$ac_err"; then |
8451 rm -rf conftest* | 8452 rm -rf conftest* |
8452 eval "ac_cv_header_$ac_safe=yes" | 8453 eval "ac_cv_header_$ac_safe=yes" |
8453 else | 8454 else |
8466 with_canna=no | 8467 with_canna=no |
8467 fi | 8468 fi |
8468 } | 8469 } |
8469 test -z "$with_canna" && { | 8470 test -z "$with_canna" && { |
8470 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8471 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8471 echo "configure:8472: checking for RkBgnBun in -lRKC" >&5 | 8472 echo "configure:8473: checking for RkBgnBun in -lRKC" >&5 |
8472 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8473 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8473 | 8474 |
8474 xe_check_libs=" -lRKC " | 8475 xe_check_libs=" -lRKC " |
8475 cat > conftest.$ac_ext <<EOF | 8476 cat > conftest.$ac_ext <<EOF |
8476 #line 8477 "configure" | 8477 #line 8478 "configure" |
8477 #include "confdefs.h" | 8478 #include "confdefs.h" |
8478 /* Override any gcc2 internal prototype to avoid an error. */ | 8479 /* Override any gcc2 internal prototype to avoid an error. */ |
8479 /* We use char because int might match the return type of a gcc2 | 8480 /* We use char because int might match the return type of a gcc2 |
8480 builtin and then its argument prototype would still apply. */ | 8481 builtin and then its argument prototype would still apply. */ |
8481 char RkBgnBun(); | 8482 char RkBgnBun(); |
8482 | 8483 |
8483 int main() { | 8484 int main() { |
8484 RkBgnBun() | 8485 RkBgnBun() |
8485 ; return 0; } | 8486 ; return 0; } |
8486 EOF | 8487 EOF |
8487 if { (eval echo configure:8488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8488 rm -rf conftest* | 8489 rm -rf conftest* |
8489 eval "ac_cv_lib_$ac_lib_var=yes" | 8490 eval "ac_cv_lib_$ac_lib_var=yes" |
8490 else | 8491 else |
8491 echo "configure: failed program was:" >&5 | 8492 echo "configure: failed program was:" >&5 |
8492 cat conftest.$ac_ext >&5 | 8493 cat conftest.$ac_ext >&5 |
8505 fi | 8506 fi |
8506 | 8507 |
8507 } | 8508 } |
8508 test -z "$with_canna" && { | 8509 test -z "$with_canna" && { |
8509 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8510 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8510 echo "configure:8511: checking for jrKanjiControl in -lcanna" >&5 | 8511 echo "configure:8512: checking for jrKanjiControl in -lcanna" >&5 |
8511 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8512 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8512 | 8513 |
8513 xe_check_libs=" -lcanna " | 8514 xe_check_libs=" -lcanna " |
8514 cat > conftest.$ac_ext <<EOF | 8515 cat > conftest.$ac_ext <<EOF |
8515 #line 8516 "configure" | 8516 #line 8517 "configure" |
8516 #include "confdefs.h" | 8517 #include "confdefs.h" |
8517 /* Override any gcc2 internal prototype to avoid an error. */ | 8518 /* Override any gcc2 internal prototype to avoid an error. */ |
8518 /* We use char because int might match the return type of a gcc2 | 8519 /* We use char because int might match the return type of a gcc2 |
8519 builtin and then its argument prototype would still apply. */ | 8520 builtin and then its argument prototype would still apply. */ |
8520 char jrKanjiControl(); | 8521 char jrKanjiControl(); |
8521 | 8522 |
8522 int main() { | 8523 int main() { |
8523 jrKanjiControl() | 8524 jrKanjiControl() |
8524 ; return 0; } | 8525 ; return 0; } |
8525 EOF | 8526 EOF |
8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8527 if { (eval echo configure:8528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8527 rm -rf conftest* | 8528 rm -rf conftest* |
8528 eval "ac_cv_lib_$ac_lib_var=yes" | 8529 eval "ac_cv_lib_$ac_lib_var=yes" |
8529 else | 8530 else |
8530 echo "configure: failed program was:" >&5 | 8531 echo "configure: failed program was:" >&5 |
8531 cat conftest.$ac_ext >&5 | 8532 cat conftest.$ac_ext >&5 |
8570 | 8571 |
8571 if test "$need_motif" = "yes" ; then | 8572 if test "$need_motif" = "yes" ; then |
8572 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8573 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8573 | 8574 |
8574 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8575 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8575 echo "configure:8576: checking for layout_object_getvalue in -li18n" >&5 | 8576 echo "configure:8577: checking for layout_object_getvalue in -li18n" >&5 |
8576 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8577 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8577 | 8578 |
8578 xe_check_libs=" -li18n " | 8579 xe_check_libs=" -li18n " |
8579 cat > conftest.$ac_ext <<EOF | 8580 cat > conftest.$ac_ext <<EOF |
8580 #line 8581 "configure" | 8581 #line 8582 "configure" |
8581 #include "confdefs.h" | 8582 #include "confdefs.h" |
8582 /* Override any gcc2 internal prototype to avoid an error. */ | 8583 /* Override any gcc2 internal prototype to avoid an error. */ |
8583 /* We use char because int might match the return type of a gcc2 | 8584 /* We use char because int might match the return type of a gcc2 |
8584 builtin and then its argument prototype would still apply. */ | 8585 builtin and then its argument prototype would still apply. */ |
8585 char layout_object_getvalue(); | 8586 char layout_object_getvalue(); |
8586 | 8587 |
8587 int main() { | 8588 int main() { |
8588 layout_object_getvalue() | 8589 layout_object_getvalue() |
8589 ; return 0; } | 8590 ; return 0; } |
8590 EOF | 8591 EOF |
8591 if { (eval echo configure:8592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8592 if { (eval echo configure:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8592 rm -rf conftest* | 8593 rm -rf conftest* |
8593 eval "ac_cv_lib_$ac_lib_var=yes" | 8594 eval "ac_cv_lib_$ac_lib_var=yes" |
8594 else | 8595 else |
8595 echo "configure: failed program was:" >&5 | 8596 echo "configure: failed program was:" >&5 |
8596 cat conftest.$ac_ext >&5 | 8597 cat conftest.$ac_ext >&5 |
8672 fi | 8673 fi |
8673 | 8674 |
8674 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8675 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8675 do | 8676 do |
8676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8677 echo "configure:8678: checking for $ac_func" >&5 | 8678 echo "configure:8679: checking for $ac_func" >&5 |
8678 | 8679 |
8679 cat > conftest.$ac_ext <<EOF | 8680 cat > conftest.$ac_ext <<EOF |
8680 #line 8681 "configure" | 8681 #line 8682 "configure" |
8681 #include "confdefs.h" | 8682 #include "confdefs.h" |
8682 /* System header to define __stub macros and hopefully few prototypes, | 8683 /* System header to define __stub macros and hopefully few prototypes, |
8683 which can conflict with char $ac_func(); below. */ | 8684 which can conflict with char $ac_func(); below. */ |
8684 #include <assert.h> | 8685 #include <assert.h> |
8685 /* Override any gcc2 internal prototype to avoid an error. */ | 8686 /* Override any gcc2 internal prototype to avoid an error. */ |
8698 $ac_func(); | 8699 $ac_func(); |
8699 #endif | 8700 #endif |
8700 | 8701 |
8701 ; return 0; } | 8702 ; return 0; } |
8702 EOF | 8703 EOF |
8703 if { (eval echo configure:8704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8704 if { (eval echo configure:8705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8704 rm -rf conftest* | 8705 rm -rf conftest* |
8705 eval "ac_cv_func_$ac_func=yes" | 8706 eval "ac_cv_func_$ac_func=yes" |
8706 else | 8707 else |
8707 echo "configure: failed program was:" >&5 | 8708 echo "configure: failed program was:" >&5 |
8708 cat conftest.$ac_ext >&5 | 8709 cat conftest.$ac_ext >&5 |
8739 echo " xemacs will be linked with \"realpath.o\"" | 8740 echo " xemacs will be linked with \"realpath.o\"" |
8740 fi ;; | 8741 fi ;; |
8741 * ) for ac_func in realpath | 8742 * ) for ac_func in realpath |
8742 do | 8743 do |
8743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8744 echo "configure:8745: checking for $ac_func" >&5 | 8745 echo "configure:8746: checking for $ac_func" >&5 |
8745 | 8746 |
8746 cat > conftest.$ac_ext <<EOF | 8747 cat > conftest.$ac_ext <<EOF |
8747 #line 8748 "configure" | 8748 #line 8749 "configure" |
8748 #include "confdefs.h" | 8749 #include "confdefs.h" |
8749 /* System header to define __stub macros and hopefully few prototypes, | 8750 /* System header to define __stub macros and hopefully few prototypes, |
8750 which can conflict with char $ac_func(); below. */ | 8751 which can conflict with char $ac_func(); below. */ |
8751 #include <assert.h> | 8752 #include <assert.h> |
8752 /* Override any gcc2 internal prototype to avoid an error. */ | 8753 /* Override any gcc2 internal prototype to avoid an error. */ |
8765 $ac_func(); | 8766 $ac_func(); |
8766 #endif | 8767 #endif |
8767 | 8768 |
8768 ; return 0; } | 8769 ; return 0; } |
8769 EOF | 8770 EOF |
8770 if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8771 if { (eval echo configure:8772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8771 rm -rf conftest* | 8772 rm -rf conftest* |
8772 eval "ac_cv_func_$ac_func=yes" | 8773 eval "ac_cv_func_$ac_func=yes" |
8773 else | 8774 else |
8774 echo "configure: failed program was:" >&5 | 8775 echo "configure: failed program was:" >&5 |
8775 cat conftest.$ac_ext >&5 | 8776 cat conftest.$ac_ext >&5 |
8801 esac | 8802 esac |
8802 | 8803 |
8803 for ac_func in getloadavg | 8804 for ac_func in getloadavg |
8804 do | 8805 do |
8805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8806 echo "configure:8807: checking for $ac_func" >&5 | 8807 echo "configure:8808: checking for $ac_func" >&5 |
8807 | 8808 |
8808 cat > conftest.$ac_ext <<EOF | 8809 cat > conftest.$ac_ext <<EOF |
8809 #line 8810 "configure" | 8810 #line 8811 "configure" |
8810 #include "confdefs.h" | 8811 #include "confdefs.h" |
8811 /* System header to define __stub macros and hopefully few prototypes, | 8812 /* System header to define __stub macros and hopefully few prototypes, |
8812 which can conflict with char $ac_func(); below. */ | 8813 which can conflict with char $ac_func(); below. */ |
8813 #include <assert.h> | 8814 #include <assert.h> |
8814 /* Override any gcc2 internal prototype to avoid an error. */ | 8815 /* Override any gcc2 internal prototype to avoid an error. */ |
8827 $ac_func(); | 8828 $ac_func(); |
8828 #endif | 8829 #endif |
8829 | 8830 |
8830 ; return 0; } | 8831 ; return 0; } |
8831 EOF | 8832 EOF |
8832 if { (eval echo configure:8833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8833 if { (eval echo configure:8834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8833 rm -rf conftest* | 8834 rm -rf conftest* |
8834 eval "ac_cv_func_$ac_func=yes" | 8835 eval "ac_cv_func_$ac_func=yes" |
8835 else | 8836 else |
8836 echo "configure: failed program was:" >&5 | 8837 echo "configure: failed program was:" >&5 |
8837 cat conftest.$ac_ext >&5 | 8838 cat conftest.$ac_ext >&5 |
8863 echo " xemacs will be linked with \"getloadavg.o\"" | 8864 echo " xemacs will be linked with \"getloadavg.o\"" |
8864 fi | 8865 fi |
8865 | 8866 |
8866 | 8867 |
8867 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 8868 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
8868 echo "configure:8869: checking for kstat_open in -lkstat" >&5 | 8869 echo "configure:8870: checking for kstat_open in -lkstat" >&5 |
8869 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 8870 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
8870 | 8871 |
8871 xe_check_libs=" -lkstat " | 8872 xe_check_libs=" -lkstat " |
8872 cat > conftest.$ac_ext <<EOF | 8873 cat > conftest.$ac_ext <<EOF |
8873 #line 8874 "configure" | 8874 #line 8875 "configure" |
8874 #include "confdefs.h" | 8875 #include "confdefs.h" |
8875 /* Override any gcc2 internal prototype to avoid an error. */ | 8876 /* Override any gcc2 internal prototype to avoid an error. */ |
8876 /* We use char because int might match the return type of a gcc2 | 8877 /* We use char because int might match the return type of a gcc2 |
8877 builtin and then its argument prototype would still apply. */ | 8878 builtin and then its argument prototype would still apply. */ |
8878 char kstat_open(); | 8879 char kstat_open(); |
8879 | 8880 |
8880 int main() { | 8881 int main() { |
8881 kstat_open() | 8882 kstat_open() |
8882 ; return 0; } | 8883 ; return 0; } |
8883 EOF | 8884 EOF |
8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8885 if { (eval echo configure:8886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8885 rm -rf conftest* | 8886 rm -rf conftest* |
8886 eval "ac_cv_lib_$ac_lib_var=yes" | 8887 eval "ac_cv_lib_$ac_lib_var=yes" |
8887 else | 8888 else |
8888 echo "configure: failed program was:" >&5 | 8889 echo "configure: failed program was:" >&5 |
8889 cat conftest.$ac_ext >&5 | 8890 cat conftest.$ac_ext >&5 |
8913 | 8914 |
8914 | 8915 |
8915 | 8916 |
8916 | 8917 |
8917 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 8918 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
8918 echo "configure:8919: checking for kvm_read in -lkvm" >&5 | 8919 echo "configure:8920: checking for kvm_read in -lkvm" >&5 |
8919 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 8920 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
8920 | 8921 |
8921 xe_check_libs=" -lkvm " | 8922 xe_check_libs=" -lkvm " |
8922 cat > conftest.$ac_ext <<EOF | 8923 cat > conftest.$ac_ext <<EOF |
8923 #line 8924 "configure" | 8924 #line 8925 "configure" |
8924 #include "confdefs.h" | 8925 #include "confdefs.h" |
8925 /* Override any gcc2 internal prototype to avoid an error. */ | 8926 /* Override any gcc2 internal prototype to avoid an error. */ |
8926 /* We use char because int might match the return type of a gcc2 | 8927 /* We use char because int might match the return type of a gcc2 |
8927 builtin and then its argument prototype would still apply. */ | 8928 builtin and then its argument prototype would still apply. */ |
8928 char kvm_read(); | 8929 char kvm_read(); |
8929 | 8930 |
8930 int main() { | 8931 int main() { |
8931 kvm_read() | 8932 kvm_read() |
8932 ; return 0; } | 8933 ; return 0; } |
8933 EOF | 8934 EOF |
8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8935 rm -rf conftest* | 8936 rm -rf conftest* |
8936 eval "ac_cv_lib_$ac_lib_var=yes" | 8937 eval "ac_cv_lib_$ac_lib_var=yes" |
8937 else | 8938 else |
8938 echo "configure: failed program was:" >&5 | 8939 echo "configure: failed program was:" >&5 |
8939 cat conftest.$ac_ext >&5 | 8940 cat conftest.$ac_ext >&5 |
8963 | 8964 |
8964 | 8965 |
8965 fi | 8966 fi |
8966 | 8967 |
8967 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8968 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8968 echo "configure:8969: checking whether netdb declares h_errno" >&5 | 8969 echo "configure:8970: checking whether netdb declares h_errno" >&5 |
8969 cat > conftest.$ac_ext <<EOF | 8970 cat > conftest.$ac_ext <<EOF |
8970 #line 8971 "configure" | 8971 #line 8972 "configure" |
8971 #include "confdefs.h" | 8972 #include "confdefs.h" |
8972 #include <netdb.h> | 8973 #include <netdb.h> |
8973 int main() { | 8974 int main() { |
8974 return h_errno; | 8975 return h_errno; |
8975 ; return 0; } | 8976 ; return 0; } |
8976 EOF | 8977 EOF |
8977 if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8978 if { (eval echo configure:8979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8978 rm -rf conftest* | 8979 rm -rf conftest* |
8979 echo "$ac_t""yes" 1>&6 | 8980 echo "$ac_t""yes" 1>&6 |
8980 { test "$extra_verbose" = "yes" && cat << \EOF | 8981 { test "$extra_verbose" = "yes" && cat << \EOF |
8981 Defining HAVE_H_ERRNO | 8982 Defining HAVE_H_ERRNO |
8982 EOF | 8983 EOF |
8992 echo "$ac_t""no" 1>&6 | 8993 echo "$ac_t""no" 1>&6 |
8993 fi | 8994 fi |
8994 rm -f conftest* | 8995 rm -f conftest* |
8995 | 8996 |
8996 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8997 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8997 echo "configure:8998: checking for sigsetjmp" >&5 | 8998 echo "configure:8999: checking for sigsetjmp" >&5 |
8998 cat > conftest.$ac_ext <<EOF | 8999 cat > conftest.$ac_ext <<EOF |
8999 #line 9000 "configure" | 9000 #line 9001 "configure" |
9000 #include "confdefs.h" | 9001 #include "confdefs.h" |
9001 #include <setjmp.h> | 9002 #include <setjmp.h> |
9002 int main() { | 9003 int main() { |
9003 sigjmp_buf bar; sigsetjmp (bar, 0); | 9004 sigjmp_buf bar; sigsetjmp (bar, 0); |
9004 ; return 0; } | 9005 ; return 0; } |
9005 EOF | 9006 EOF |
9006 if { (eval echo configure:9007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9007 if { (eval echo configure:9008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9007 rm -rf conftest* | 9008 rm -rf conftest* |
9008 echo "$ac_t""yes" 1>&6 | 9009 echo "$ac_t""yes" 1>&6 |
9009 { test "$extra_verbose" = "yes" && cat << \EOF | 9010 { test "$extra_verbose" = "yes" && cat << \EOF |
9010 Defining HAVE_SIGSETJMP | 9011 Defining HAVE_SIGSETJMP |
9011 EOF | 9012 EOF |
9021 echo "$ac_t""no" 1>&6 | 9022 echo "$ac_t""no" 1>&6 |
9022 fi | 9023 fi |
9023 rm -f conftest* | 9024 rm -f conftest* |
9024 | 9025 |
9025 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9026 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9026 echo "configure:9027: checking whether localtime caches TZ" >&5 | 9027 echo "configure:9028: checking whether localtime caches TZ" >&5 |
9027 | 9028 |
9028 if test "$ac_cv_func_tzset" = "yes"; then | 9029 if test "$ac_cv_func_tzset" = "yes"; then |
9029 cat > conftest.$ac_ext <<EOF | 9030 cat > conftest.$ac_ext <<EOF |
9030 #line 9031 "configure" | 9031 #line 9032 "configure" |
9031 #include "confdefs.h" | 9032 #include "confdefs.h" |
9032 #include <time.h> | 9033 #include <time.h> |
9033 #if STDC_HEADERS | 9034 #if STDC_HEADERS |
9034 # include <stdlib.h> | 9035 # include <stdlib.h> |
9035 #endif | 9036 #endif |
9060 if (localtime (&now)->tm_hour != hour_unset) | 9061 if (localtime (&now)->tm_hour != hour_unset) |
9061 exit (1); | 9062 exit (1); |
9062 exit (0); | 9063 exit (0); |
9063 } | 9064 } |
9064 EOF | 9065 EOF |
9065 if { (eval echo configure:9066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9066 if { (eval echo configure:9067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9066 then | 9067 then |
9067 emacs_cv_localtime_cache=no | 9068 emacs_cv_localtime_cache=no |
9068 else | 9069 else |
9069 conftest_rc="$?" | 9070 conftest_rc="$?" |
9070 echo "configure: failed program was:" >&5 | 9071 echo "configure: failed program was:" >&5 |
9090 | 9091 |
9091 fi | 9092 fi |
9092 | 9093 |
9093 if test "$HAVE_TIMEVAL" = "yes"; then | 9094 if test "$HAVE_TIMEVAL" = "yes"; then |
9094 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9095 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9095 echo "configure:9096: checking whether gettimeofday accepts one or two arguments" >&5 | 9096 echo "configure:9097: checking whether gettimeofday accepts one or two arguments" >&5 |
9096 cat > conftest.$ac_ext <<EOF | 9097 cat > conftest.$ac_ext <<EOF |
9097 #line 9098 "configure" | 9098 #line 9099 "configure" |
9098 #include "confdefs.h" | 9099 #include "confdefs.h" |
9099 | 9100 |
9100 #ifdef TIME_WITH_SYS_TIME | 9101 #ifdef TIME_WITH_SYS_TIME |
9101 #include <sys/time.h> | 9102 #include <sys/time.h> |
9102 #include <time.h> | 9103 #include <time.h> |
9114 struct timezone dummy; | 9115 struct timezone dummy; |
9115 gettimeofday (&time, &dummy); | 9116 gettimeofday (&time, &dummy); |
9116 | 9117 |
9117 ; return 0; } | 9118 ; return 0; } |
9118 EOF | 9119 EOF |
9119 if { (eval echo configure:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9120 rm -rf conftest* | 9121 rm -rf conftest* |
9121 echo "$ac_t""two" 1>&6 | 9122 echo "$ac_t""two" 1>&6 |
9122 else | 9123 else |
9123 echo "configure: failed program was:" >&5 | 9124 echo "configure: failed program was:" >&5 |
9124 cat conftest.$ac_ext >&5 | 9125 cat conftest.$ac_ext >&5 |
9136 rm -f conftest* | 9137 rm -f conftest* |
9137 fi | 9138 fi |
9138 | 9139 |
9139 | 9140 |
9140 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9141 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9141 echo "configure:9142: checking for inline" >&5 | 9142 echo "configure:9143: checking for inline" >&5 |
9142 | 9143 |
9143 ac_cv_c_inline=no | 9144 ac_cv_c_inline=no |
9144 for ac_kw in inline __inline__ __inline; do | 9145 for ac_kw in inline __inline__ __inline; do |
9145 cat > conftest.$ac_ext <<EOF | 9146 cat > conftest.$ac_ext <<EOF |
9146 #line 9147 "configure" | 9147 #line 9148 "configure" |
9147 #include "confdefs.h" | 9148 #include "confdefs.h" |
9148 | 9149 |
9149 int main() { | 9150 int main() { |
9150 } $ac_kw foo() { | 9151 } $ac_kw foo() { |
9151 ; return 0; } | 9152 ; return 0; } |
9152 EOF | 9153 EOF |
9153 if { (eval echo configure:9154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9154 if { (eval echo configure:9155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9154 rm -rf conftest* | 9155 rm -rf conftest* |
9155 ac_cv_c_inline=$ac_kw; break | 9156 ac_cv_c_inline=$ac_kw; break |
9156 else | 9157 else |
9157 echo "configure: failed program was:" >&5 | 9158 echo "configure: failed program was:" >&5 |
9158 cat conftest.$ac_ext >&5 | 9159 cat conftest.$ac_ext >&5 |
9198 | 9199 |
9199 | 9200 |
9200 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9201 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9201 # for constant arguments. Useless! | 9202 # for constant arguments. Useless! |
9202 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9203 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9203 echo "configure:9204: checking for working alloca.h" >&5 | 9204 echo "configure:9205: checking for working alloca.h" >&5 |
9204 | 9205 |
9205 cat > conftest.$ac_ext <<EOF | 9206 cat > conftest.$ac_ext <<EOF |
9206 #line 9207 "configure" | 9207 #line 9208 "configure" |
9207 #include "confdefs.h" | 9208 #include "confdefs.h" |
9208 #include <alloca.h> | 9209 #include <alloca.h> |
9209 int main() { | 9210 int main() { |
9210 char *p = alloca(2 * sizeof(int)); | 9211 char *p = alloca(2 * sizeof(int)); |
9211 ; return 0; } | 9212 ; return 0; } |
9212 EOF | 9213 EOF |
9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9214 rm -rf conftest* | 9215 rm -rf conftest* |
9215 ac_cv_header_alloca_h=yes | 9216 ac_cv_header_alloca_h=yes |
9216 else | 9217 else |
9217 echo "configure: failed program was:" >&5 | 9218 echo "configure: failed program was:" >&5 |
9218 cat conftest.$ac_ext >&5 | 9219 cat conftest.$ac_ext >&5 |
9232 } | 9233 } |
9233 | 9234 |
9234 fi | 9235 fi |
9235 | 9236 |
9236 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9237 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9237 echo "configure:9238: checking for alloca" >&5 | 9238 echo "configure:9239: checking for alloca" >&5 |
9238 | 9239 |
9239 cat > conftest.$ac_ext <<EOF | 9240 cat > conftest.$ac_ext <<EOF |
9240 #line 9241 "configure" | 9241 #line 9242 "configure" |
9241 #include "confdefs.h" | 9242 #include "confdefs.h" |
9242 | 9243 |
9243 #ifdef __GNUC__ | 9244 #ifdef __GNUC__ |
9244 # define alloca __builtin_alloca | 9245 # define alloca __builtin_alloca |
9245 #else | 9246 #else |
9263 | 9264 |
9264 int main() { | 9265 int main() { |
9265 char *p = (char *) alloca(1); | 9266 char *p = (char *) alloca(1); |
9266 ; return 0; } | 9267 ; return 0; } |
9267 EOF | 9268 EOF |
9268 if { (eval echo configure:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9269 if { (eval echo configure:9270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9269 rm -rf conftest* | 9270 rm -rf conftest* |
9270 ac_cv_func_alloca_works=yes | 9271 ac_cv_func_alloca_works=yes |
9271 else | 9272 else |
9272 echo "configure: failed program was:" >&5 | 9273 echo "configure: failed program was:" >&5 |
9273 cat conftest.$ac_ext >&5 | 9274 cat conftest.$ac_ext >&5 |
9302 EOF | 9303 EOF |
9303 } | 9304 } |
9304 | 9305 |
9305 | 9306 |
9306 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9307 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9307 echo "configure:9308: checking whether alloca needs Cray hooks" >&5 | 9308 echo "configure:9309: checking whether alloca needs Cray hooks" >&5 |
9308 | 9309 |
9309 cat > conftest.$ac_ext <<EOF | 9310 cat > conftest.$ac_ext <<EOF |
9310 #line 9311 "configure" | 9311 #line 9312 "configure" |
9311 #include "confdefs.h" | 9312 #include "confdefs.h" |
9312 #if defined(CRAY) && ! defined(CRAY2) | 9313 #if defined(CRAY) && ! defined(CRAY2) |
9313 webecray | 9314 webecray |
9314 #else | 9315 #else |
9315 wenotbecray | 9316 wenotbecray |
9329 | 9330 |
9330 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9331 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9331 if test $ac_cv_os_cray = yes; then | 9332 if test $ac_cv_os_cray = yes; then |
9332 for ac_func in _getb67 GETB67 getb67; do | 9333 for ac_func in _getb67 GETB67 getb67; do |
9333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9334 echo "configure:9335: checking for $ac_func" >&5 | 9335 echo "configure:9336: checking for $ac_func" >&5 |
9335 | 9336 |
9336 cat > conftest.$ac_ext <<EOF | 9337 cat > conftest.$ac_ext <<EOF |
9337 #line 9338 "configure" | 9338 #line 9339 "configure" |
9338 #include "confdefs.h" | 9339 #include "confdefs.h" |
9339 /* System header to define __stub macros and hopefully few prototypes, | 9340 /* System header to define __stub macros and hopefully few prototypes, |
9340 which can conflict with char $ac_func(); below. */ | 9341 which can conflict with char $ac_func(); below. */ |
9341 #include <assert.h> | 9342 #include <assert.h> |
9342 /* Override any gcc2 internal prototype to avoid an error. */ | 9343 /* Override any gcc2 internal prototype to avoid an error. */ |
9355 $ac_func(); | 9356 $ac_func(); |
9356 #endif | 9357 #endif |
9357 | 9358 |
9358 ; return 0; } | 9359 ; return 0; } |
9359 EOF | 9360 EOF |
9360 if { (eval echo configure:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9361 if { (eval echo configure:9362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9361 rm -rf conftest* | 9362 rm -rf conftest* |
9362 eval "ac_cv_func_$ac_func=yes" | 9363 eval "ac_cv_func_$ac_func=yes" |
9363 else | 9364 else |
9364 echo "configure: failed program was:" >&5 | 9365 echo "configure: failed program was:" >&5 |
9365 cat conftest.$ac_ext >&5 | 9366 cat conftest.$ac_ext >&5 |
9385 | 9386 |
9386 done | 9387 done |
9387 fi | 9388 fi |
9388 | 9389 |
9389 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9390 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9390 echo "configure:9391: checking stack direction for C alloca" >&5 | 9391 echo "configure:9392: checking stack direction for C alloca" >&5 |
9391 | 9392 |
9392 cat > conftest.$ac_ext <<EOF | 9393 cat > conftest.$ac_ext <<EOF |
9393 #line 9394 "configure" | 9394 #line 9395 "configure" |
9394 #include "confdefs.h" | 9395 #include "confdefs.h" |
9395 find_stack_direction () | 9396 find_stack_direction () |
9396 { | 9397 { |
9397 static char *addr = 0; | 9398 static char *addr = 0; |
9398 auto char dummy; | 9399 auto char dummy; |
9407 main () | 9408 main () |
9408 { | 9409 { |
9409 exit (find_stack_direction() < 0); | 9410 exit (find_stack_direction() < 0); |
9410 } | 9411 } |
9411 EOF | 9412 EOF |
9412 if { (eval echo configure:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9413 if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9413 then | 9414 then |
9414 ac_cv_c_stack_direction=1 | 9415 ac_cv_c_stack_direction=1 |
9415 else | 9416 else |
9416 conftest_rc="$?" | 9417 conftest_rc="$?" |
9417 echo "configure: failed program was:" >&5 | 9418 echo "configure: failed program was:" >&5 |
9436 echo " xemacs will be linked with \"$ALLOCA\"" | 9437 echo " xemacs will be linked with \"$ALLOCA\"" |
9437 fi | 9438 fi |
9438 | 9439 |
9439 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9440 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9440 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9441 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9441 echo "configure:9442: checking for vfork.h" >&5 | 9442 echo "configure:9443: checking for vfork.h" >&5 |
9442 | 9443 |
9443 cat > conftest.$ac_ext <<EOF | 9444 cat > conftest.$ac_ext <<EOF |
9444 #line 9445 "configure" | 9445 #line 9446 "configure" |
9445 #include "confdefs.h" | 9446 #include "confdefs.h" |
9446 #include <vfork.h> | 9447 #include <vfork.h> |
9447 EOF | 9448 EOF |
9448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9449 { (eval echo configure:9450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9450 { (eval echo configure:9451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9451 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9451 if test -z "$ac_err"; then | 9452 if test -z "$ac_err"; then |
9452 rm -rf conftest* | 9453 rm -rf conftest* |
9453 eval "ac_cv_header_$ac_safe=yes" | 9454 eval "ac_cv_header_$ac_safe=yes" |
9454 else | 9455 else |
9472 else | 9473 else |
9473 echo "$ac_t""no" 1>&6 | 9474 echo "$ac_t""no" 1>&6 |
9474 fi | 9475 fi |
9475 | 9476 |
9476 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9477 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9477 echo "configure:9478: checking for working vfork" >&5 | 9478 echo "configure:9479: checking for working vfork" >&5 |
9478 | 9479 |
9479 cat > conftest.$ac_ext <<EOF | 9480 cat > conftest.$ac_ext <<EOF |
9480 #line 9481 "configure" | 9481 #line 9482 "configure" |
9481 #include "confdefs.h" | 9482 #include "confdefs.h" |
9482 /* Thanks to Paul Eggert for this test. */ | 9483 /* Thanks to Paul Eggert for this test. */ |
9483 #include <stdio.h> | 9484 #include <stdio.h> |
9484 #include <sys/types.h> | 9485 #include <sys/types.h> |
9485 #include <sys/stat.h> | 9486 #include <sys/stat.h> |
9570 || fstat(fileno(stdout), &st) != 0 | 9571 || fstat(fileno(stdout), &st) != 0 |
9571 ); | 9572 ); |
9572 } | 9573 } |
9573 } | 9574 } |
9574 EOF | 9575 EOF |
9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9576 if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9576 then | 9577 then |
9577 ac_cv_func_vfork_works=yes | 9578 ac_cv_func_vfork_works=yes |
9578 else | 9579 else |
9579 conftest_rc="$?" | 9580 conftest_rc="$?" |
9580 echo "configure: failed program was:" >&5 | 9581 echo "configure: failed program was:" >&5 |
9596 | 9597 |
9597 fi | 9598 fi |
9598 | 9599 |
9599 | 9600 |
9600 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9601 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9601 echo "configure:9602: checking for working strcoll" >&5 | 9602 echo "configure:9603: checking for working strcoll" >&5 |
9602 | 9603 |
9603 cat > conftest.$ac_ext <<EOF | 9604 cat > conftest.$ac_ext <<EOF |
9604 #line 9605 "configure" | 9605 #line 9606 "configure" |
9605 #include "confdefs.h" | 9606 #include "confdefs.h" |
9606 #include <string.h> | 9607 #include <string.h> |
9607 main () | 9608 main () |
9608 { | 9609 { |
9609 exit (strcoll ("abc", "def") >= 0 || | 9610 exit (strcoll ("abc", "def") >= 0 || |
9610 strcoll ("ABC", "DEF") >= 0 || | 9611 strcoll ("ABC", "DEF") >= 0 || |
9611 strcoll ("123", "456") >= 0); | 9612 strcoll ("123", "456") >= 0); |
9612 } | 9613 } |
9613 EOF | 9614 EOF |
9614 if { (eval echo configure:9615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9615 if { (eval echo configure:9616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9615 then | 9616 then |
9616 ac_cv_func_strcoll_works=yes | 9617 ac_cv_func_strcoll_works=yes |
9617 else | 9618 else |
9618 conftest_rc="$?" | 9619 conftest_rc="$?" |
9619 echo "configure: failed program was:" >&5 | 9620 echo "configure: failed program was:" >&5 |
9637 | 9638 |
9638 | 9639 |
9639 for ac_func in getpgrp | 9640 for ac_func in getpgrp |
9640 do | 9641 do |
9641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9642 echo "configure:9643: checking for $ac_func" >&5 | 9643 echo "configure:9644: checking for $ac_func" >&5 |
9643 | 9644 |
9644 cat > conftest.$ac_ext <<EOF | 9645 cat > conftest.$ac_ext <<EOF |
9645 #line 9646 "configure" | 9646 #line 9647 "configure" |
9646 #include "confdefs.h" | 9647 #include "confdefs.h" |
9647 /* System header to define __stub macros and hopefully few prototypes, | 9648 /* System header to define __stub macros and hopefully few prototypes, |
9648 which can conflict with char $ac_func(); below. */ | 9649 which can conflict with char $ac_func(); below. */ |
9649 #include <assert.h> | 9650 #include <assert.h> |
9650 /* Override any gcc2 internal prototype to avoid an error. */ | 9651 /* Override any gcc2 internal prototype to avoid an error. */ |
9663 $ac_func(); | 9664 $ac_func(); |
9664 #endif | 9665 #endif |
9665 | 9666 |
9666 ; return 0; } | 9667 ; return 0; } |
9667 EOF | 9668 EOF |
9668 if { (eval echo configure:9669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9669 if { (eval echo configure:9670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9669 rm -rf conftest* | 9670 rm -rf conftest* |
9670 eval "ac_cv_func_$ac_func=yes" | 9671 eval "ac_cv_func_$ac_func=yes" |
9671 else | 9672 else |
9672 echo "configure: failed program was:" >&5 | 9673 echo "configure: failed program was:" >&5 |
9673 cat conftest.$ac_ext >&5 | 9674 cat conftest.$ac_ext >&5 |
9691 echo "$ac_t""no" 1>&6 | 9692 echo "$ac_t""no" 1>&6 |
9692 fi | 9693 fi |
9693 done | 9694 done |
9694 | 9695 |
9695 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9696 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9696 echo "configure:9697: checking whether getpgrp takes no argument" >&5 | 9697 echo "configure:9698: checking whether getpgrp takes no argument" >&5 |
9697 | 9698 |
9698 cat > conftest.$ac_ext <<EOF | 9699 cat > conftest.$ac_ext <<EOF |
9699 #line 9700 "configure" | 9700 #line 9701 "configure" |
9700 #include "confdefs.h" | 9701 #include "confdefs.h" |
9701 | 9702 |
9702 /* | 9703 /* |
9703 * If this system has a BSD-style getpgrp(), | 9704 * If this system has a BSD-style getpgrp(), |
9704 * which takes a pid argument, exit unsuccessfully. | 9705 * which takes a pid argument, exit unsuccessfully. |
9749 exit(s>>8); | 9750 exit(s>>8); |
9750 } | 9751 } |
9751 } | 9752 } |
9752 | 9753 |
9753 EOF | 9754 EOF |
9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9755 if { (eval echo configure:9756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9755 then | 9756 then |
9756 ac_cv_func_getpgrp_void=yes | 9757 ac_cv_func_getpgrp_void=yes |
9757 else | 9758 else |
9758 conftest_rc="$?" | 9759 conftest_rc="$?" |
9759 echo "configure: failed program was:" >&5 | 9760 echo "configure: failed program was:" >&5 |
9776 | 9777 |
9777 fi | 9778 fi |
9778 | 9779 |
9779 | 9780 |
9780 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9781 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9781 echo "configure:9782: checking for working mmap" >&5 | 9782 echo "configure:9783: checking for working mmap" >&5 |
9782 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9783 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9783 cat > conftest.$ac_ext <<EOF | 9784 cat > conftest.$ac_ext <<EOF |
9784 #line 9785 "configure" | 9785 #line 9786 "configure" |
9785 #include "confdefs.h" | 9786 #include "confdefs.h" |
9786 #include <stdio.h> | 9787 #include <stdio.h> |
9787 #include <unistd.h> | 9788 #include <unistd.h> |
9788 #include <fcntl.h> | 9789 #include <fcntl.h> |
9789 #include <sys/mman.h> | 9790 #include <sys/mman.h> |
9812 return 0; | 9813 return 0; |
9813 perror ("conftest: mmap failed"); | 9814 perror ("conftest: mmap failed"); |
9814 return 1; | 9815 return 1; |
9815 } | 9816 } |
9816 EOF | 9817 EOF |
9817 if { (eval echo configure:9818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9818 if { (eval echo configure:9819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9818 then | 9819 then |
9819 have_mmap=yes | 9820 have_mmap=yes |
9820 else | 9821 else |
9821 conftest_rc="$?" | 9822 conftest_rc="$?" |
9822 echo "configure: failed program was:" >&5 | 9823 echo "configure: failed program was:" >&5 |
9837 | 9838 |
9838 for ac_hdr in unistd.h | 9839 for ac_hdr in unistd.h |
9839 do | 9840 do |
9840 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9842 echo "configure:9843: checking for $ac_hdr" >&5 | 9843 echo "configure:9844: checking for $ac_hdr" >&5 |
9843 | 9844 |
9844 cat > conftest.$ac_ext <<EOF | 9845 cat > conftest.$ac_ext <<EOF |
9845 #line 9846 "configure" | 9846 #line 9847 "configure" |
9846 #include "confdefs.h" | 9847 #include "confdefs.h" |
9847 #include <$ac_hdr> | 9848 #include <$ac_hdr> |
9848 EOF | 9849 EOF |
9849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9850 { (eval echo configure:9851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9851 { (eval echo configure:9852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9852 if test -z "$ac_err"; then | 9853 if test -z "$ac_err"; then |
9853 rm -rf conftest* | 9854 rm -rf conftest* |
9854 eval "ac_cv_header_$ac_safe=yes" | 9855 eval "ac_cv_header_$ac_safe=yes" |
9855 else | 9856 else |
9877 done | 9878 done |
9878 | 9879 |
9879 for ac_func in getpagesize | 9880 for ac_func in getpagesize |
9880 do | 9881 do |
9881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9882 echo "configure:9883: checking for $ac_func" >&5 | 9883 echo "configure:9884: checking for $ac_func" >&5 |
9883 | 9884 |
9884 cat > conftest.$ac_ext <<EOF | 9885 cat > conftest.$ac_ext <<EOF |
9885 #line 9886 "configure" | 9886 #line 9887 "configure" |
9886 #include "confdefs.h" | 9887 #include "confdefs.h" |
9887 /* System header to define __stub macros and hopefully few prototypes, | 9888 /* System header to define __stub macros and hopefully few prototypes, |
9888 which can conflict with char $ac_func(); below. */ | 9889 which can conflict with char $ac_func(); below. */ |
9889 #include <assert.h> | 9890 #include <assert.h> |
9890 /* Override any gcc2 internal prototype to avoid an error. */ | 9891 /* Override any gcc2 internal prototype to avoid an error. */ |
9903 $ac_func(); | 9904 $ac_func(); |
9904 #endif | 9905 #endif |
9905 | 9906 |
9906 ; return 0; } | 9907 ; return 0; } |
9907 EOF | 9908 EOF |
9908 if { (eval echo configure:9909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9909 rm -rf conftest* | 9910 rm -rf conftest* |
9910 eval "ac_cv_func_$ac_func=yes" | 9911 eval "ac_cv_func_$ac_func=yes" |
9911 else | 9912 else |
9912 echo "configure: failed program was:" >&5 | 9913 echo "configure: failed program was:" >&5 |
9913 cat conftest.$ac_ext >&5 | 9914 cat conftest.$ac_ext >&5 |
9931 echo "$ac_t""no" 1>&6 | 9932 echo "$ac_t""no" 1>&6 |
9932 fi | 9933 fi |
9933 done | 9934 done |
9934 | 9935 |
9935 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9936 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9936 echo "configure:9937: checking for working mmap" >&5 | 9937 echo "configure:9938: checking for working mmap" >&5 |
9937 | 9938 |
9938 cat > conftest.$ac_ext <<EOF | 9939 cat > conftest.$ac_ext <<EOF |
9939 #line 9940 "configure" | 9940 #line 9941 "configure" |
9940 #include "confdefs.h" | 9941 #include "confdefs.h" |
9941 | 9942 |
9942 /* Thanks to Mike Haertel and Jim Avera for this test. | 9943 /* Thanks to Mike Haertel and Jim Avera for this test. |
9943 Here is a matrix of mmap possibilities: | 9944 Here is a matrix of mmap possibilities: |
9944 mmap private not fixed | 9945 mmap private not fixed |
10074 unlink("conftestmmap"); | 10075 unlink("conftestmmap"); |
10075 exit(0); | 10076 exit(0); |
10076 } | 10077 } |
10077 | 10078 |
10078 EOF | 10079 EOF |
10079 if { (eval echo configure:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10080 if { (eval echo configure:10081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10080 then | 10081 then |
10081 ac_cv_func_mmap_fixed_mapped=yes | 10082 ac_cv_func_mmap_fixed_mapped=yes |
10082 else | 10083 else |
10083 conftest_rc="$?" | 10084 conftest_rc="$?" |
10084 echo "configure: failed program was:" >&5 | 10085 echo "configure: failed program was:" >&5 |
10112 } | 10113 } |
10113 | 10114 |
10114 | 10115 |
10115 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10116 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10116 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10117 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10117 echo "configure:10118: checking for termios.h" >&5 | 10118 echo "configure:10119: checking for termios.h" >&5 |
10118 | 10119 |
10119 cat > conftest.$ac_ext <<EOF | 10120 cat > conftest.$ac_ext <<EOF |
10120 #line 10121 "configure" | 10121 #line 10122 "configure" |
10121 #include "confdefs.h" | 10122 #include "confdefs.h" |
10122 #include <termios.h> | 10123 #include <termios.h> |
10123 EOF | 10124 EOF |
10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10126 { (eval echo configure:10127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10127 if test -z "$ac_err"; then | 10128 if test -z "$ac_err"; then |
10128 rm -rf conftest* | 10129 rm -rf conftest* |
10129 eval "ac_cv_header_$ac_safe=yes" | 10130 eval "ac_cv_header_$ac_safe=yes" |
10130 else | 10131 else |
10163 | 10164 |
10164 else | 10165 else |
10165 echo "$ac_t""no" 1>&6 | 10166 echo "$ac_t""no" 1>&6 |
10166 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10167 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10167 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10168 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10168 echo "configure:10169: checking for termio.h" >&5 | 10169 echo "configure:10170: checking for termio.h" >&5 |
10169 | 10170 |
10170 cat > conftest.$ac_ext <<EOF | 10171 cat > conftest.$ac_ext <<EOF |
10171 #line 10172 "configure" | 10172 #line 10173 "configure" |
10172 #include "confdefs.h" | 10173 #include "confdefs.h" |
10173 #include <termio.h> | 10174 #include <termio.h> |
10174 EOF | 10175 EOF |
10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10177 { (eval echo configure:10178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10178 if test -z "$ac_err"; then | 10179 if test -z "$ac_err"; then |
10179 rm -rf conftest* | 10180 rm -rf conftest* |
10180 eval "ac_cv_header_$ac_safe=yes" | 10181 eval "ac_cv_header_$ac_safe=yes" |
10181 else | 10182 else |
10203 fi | 10204 fi |
10204 | 10205 |
10205 | 10206 |
10206 | 10207 |
10207 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10208 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10208 echo "configure:10209: checking for socket" >&5 | 10209 echo "configure:10210: checking for socket" >&5 |
10209 | 10210 |
10210 cat > conftest.$ac_ext <<EOF | 10211 cat > conftest.$ac_ext <<EOF |
10211 #line 10212 "configure" | 10212 #line 10213 "configure" |
10212 #include "confdefs.h" | 10213 #include "confdefs.h" |
10213 /* System header to define __stub macros and hopefully few prototypes, | 10214 /* System header to define __stub macros and hopefully few prototypes, |
10214 which can conflict with char socket(); below. */ | 10215 which can conflict with char socket(); below. */ |
10215 #include <assert.h> | 10216 #include <assert.h> |
10216 /* Override any gcc2 internal prototype to avoid an error. */ | 10217 /* Override any gcc2 internal prototype to avoid an error. */ |
10229 socket(); | 10230 socket(); |
10230 #endif | 10231 #endif |
10231 | 10232 |
10232 ; return 0; } | 10233 ; return 0; } |
10233 EOF | 10234 EOF |
10234 if { (eval echo configure:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10235 if { (eval echo configure:10236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10235 rm -rf conftest* | 10236 rm -rf conftest* |
10236 eval "ac_cv_func_socket=yes" | 10237 eval "ac_cv_func_socket=yes" |
10237 else | 10238 else |
10238 echo "configure: failed program was:" >&5 | 10239 echo "configure: failed program was:" >&5 |
10239 cat conftest.$ac_ext >&5 | 10240 cat conftest.$ac_ext >&5 |
10244 | 10245 |
10245 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10246 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10246 echo "$ac_t""yes" 1>&6 | 10247 echo "$ac_t""yes" 1>&6 |
10247 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10248 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10248 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10249 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10249 echo "configure:10250: checking for netinet/in.h" >&5 | 10250 echo "configure:10251: checking for netinet/in.h" >&5 |
10250 | 10251 |
10251 cat > conftest.$ac_ext <<EOF | 10252 cat > conftest.$ac_ext <<EOF |
10252 #line 10253 "configure" | 10253 #line 10254 "configure" |
10253 #include "confdefs.h" | 10254 #include "confdefs.h" |
10254 #include <netinet/in.h> | 10255 #include <netinet/in.h> |
10255 EOF | 10256 EOF |
10256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10257 { (eval echo configure:10258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10258 { (eval echo configure:10259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10259 if test -z "$ac_err"; then | 10260 if test -z "$ac_err"; then |
10260 rm -rf conftest* | 10261 rm -rf conftest* |
10261 eval "ac_cv_header_$ac_safe=yes" | 10262 eval "ac_cv_header_$ac_safe=yes" |
10262 else | 10263 else |
10269 rm -f conftest* | 10270 rm -f conftest* |
10270 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10271 echo "$ac_t""yes" 1>&6 | 10272 echo "$ac_t""yes" 1>&6 |
10272 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10273 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10273 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10274 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10274 echo "configure:10275: checking for arpa/inet.h" >&5 | 10275 echo "configure:10276: checking for arpa/inet.h" >&5 |
10275 | 10276 |
10276 cat > conftest.$ac_ext <<EOF | 10277 cat > conftest.$ac_ext <<EOF |
10277 #line 10278 "configure" | 10278 #line 10279 "configure" |
10278 #include "confdefs.h" | 10279 #include "confdefs.h" |
10279 #include <arpa/inet.h> | 10280 #include <arpa/inet.h> |
10280 EOF | 10281 EOF |
10281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10282 { (eval echo configure:10283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10283 { (eval echo configure:10284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10284 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10284 if test -z "$ac_err"; then | 10285 if test -z "$ac_err"; then |
10285 rm -rf conftest* | 10286 rm -rf conftest* |
10286 eval "ac_cv_header_$ac_safe=yes" | 10287 eval "ac_cv_header_$ac_safe=yes" |
10287 else | 10288 else |
10302 #define HAVE_SOCKETS 1 | 10303 #define HAVE_SOCKETS 1 |
10303 EOF | 10304 EOF |
10304 } | 10305 } |
10305 | 10306 |
10306 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10307 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10307 echo "configure:10308: checking "for sun_len member in struct sockaddr_un"" >&5 | 10308 echo "configure:10309: checking "for sun_len member in struct sockaddr_un"" >&5 |
10308 cat > conftest.$ac_ext <<EOF | 10309 cat > conftest.$ac_ext <<EOF |
10309 #line 10310 "configure" | 10310 #line 10311 "configure" |
10310 #include "confdefs.h" | 10311 #include "confdefs.h" |
10311 | 10312 |
10312 #include <sys/types.h> | 10313 #include <sys/types.h> |
10313 #include <sys/socket.h> | 10314 #include <sys/socket.h> |
10314 #include <sys/un.h> | 10315 #include <sys/un.h> |
10315 | 10316 |
10316 int main() { | 10317 int main() { |
10317 static struct sockaddr_un x; x.sun_len = 1; | 10318 static struct sockaddr_un x; x.sun_len = 1; |
10318 ; return 0; } | 10319 ; return 0; } |
10319 EOF | 10320 EOF |
10320 if { (eval echo configure:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10321 if { (eval echo configure:10322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10321 rm -rf conftest* | 10322 rm -rf conftest* |
10322 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10323 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10323 Defining HAVE_SOCKADDR_SUN_LEN | 10324 Defining HAVE_SOCKADDR_SUN_LEN |
10324 EOF | 10325 EOF |
10325 cat >> confdefs.h <<\EOF | 10326 cat >> confdefs.h <<\EOF |
10333 rm -rf conftest* | 10334 rm -rf conftest* |
10334 echo "$ac_t""no" 1>&6 | 10335 echo "$ac_t""no" 1>&6 |
10335 fi | 10336 fi |
10336 rm -f conftest* | 10337 rm -f conftest* |
10337 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10338 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10338 echo "configure:10339: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10339 echo "configure:10340: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10339 cat > conftest.$ac_ext <<EOF | 10340 cat > conftest.$ac_ext <<EOF |
10340 #line 10341 "configure" | 10341 #line 10342 "configure" |
10341 #include "confdefs.h" | 10342 #include "confdefs.h" |
10342 | 10343 |
10343 #include <sys/types.h> | 10344 #include <sys/types.h> |
10344 #include <netinet/in.h> | 10345 #include <netinet/in.h> |
10345 | 10346 |
10346 int main() { | 10347 int main() { |
10347 static struct ip_mreq x; | 10348 static struct ip_mreq x; |
10348 ; return 0; } | 10349 ; return 0; } |
10349 EOF | 10350 EOF |
10350 if { (eval echo configure:10351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10351 if { (eval echo configure:10352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10351 rm -rf conftest* | 10352 rm -rf conftest* |
10352 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10353 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10353 Defining HAVE_MULTICAST | 10354 Defining HAVE_MULTICAST |
10354 EOF | 10355 EOF |
10355 cat >> confdefs.h <<\EOF | 10356 cat >> confdefs.h <<\EOF |
10376 echo "$ac_t""no" 1>&6 | 10377 echo "$ac_t""no" 1>&6 |
10377 fi | 10378 fi |
10378 | 10379 |
10379 | 10380 |
10380 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10381 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10381 echo "configure:10382: checking for msgget" >&5 | 10382 echo "configure:10383: checking for msgget" >&5 |
10382 | 10383 |
10383 cat > conftest.$ac_ext <<EOF | 10384 cat > conftest.$ac_ext <<EOF |
10384 #line 10385 "configure" | 10385 #line 10386 "configure" |
10385 #include "confdefs.h" | 10386 #include "confdefs.h" |
10386 /* System header to define __stub macros and hopefully few prototypes, | 10387 /* System header to define __stub macros and hopefully few prototypes, |
10387 which can conflict with char msgget(); below. */ | 10388 which can conflict with char msgget(); below. */ |
10388 #include <assert.h> | 10389 #include <assert.h> |
10389 /* Override any gcc2 internal prototype to avoid an error. */ | 10390 /* Override any gcc2 internal prototype to avoid an error. */ |
10402 msgget(); | 10403 msgget(); |
10403 #endif | 10404 #endif |
10404 | 10405 |
10405 ; return 0; } | 10406 ; return 0; } |
10406 EOF | 10407 EOF |
10407 if { (eval echo configure:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10408 if { (eval echo configure:10409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10408 rm -rf conftest* | 10409 rm -rf conftest* |
10409 eval "ac_cv_func_msgget=yes" | 10410 eval "ac_cv_func_msgget=yes" |
10410 else | 10411 else |
10411 echo "configure: failed program was:" >&5 | 10412 echo "configure: failed program was:" >&5 |
10412 cat conftest.$ac_ext >&5 | 10413 cat conftest.$ac_ext >&5 |
10417 | 10418 |
10418 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10419 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10419 echo "$ac_t""yes" 1>&6 | 10420 echo "$ac_t""yes" 1>&6 |
10420 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10421 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10421 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10422 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10422 echo "configure:10423: checking for sys/ipc.h" >&5 | 10423 echo "configure:10424: checking for sys/ipc.h" >&5 |
10423 | 10424 |
10424 cat > conftest.$ac_ext <<EOF | 10425 cat > conftest.$ac_ext <<EOF |
10425 #line 10426 "configure" | 10426 #line 10427 "configure" |
10426 #include "confdefs.h" | 10427 #include "confdefs.h" |
10427 #include <sys/ipc.h> | 10428 #include <sys/ipc.h> |
10428 EOF | 10429 EOF |
10429 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10430 { (eval echo configure:10431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10431 { (eval echo configure:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10431 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10432 if test -z "$ac_err"; then | 10433 if test -z "$ac_err"; then |
10433 rm -rf conftest* | 10434 rm -rf conftest* |
10434 eval "ac_cv_header_$ac_safe=yes" | 10435 eval "ac_cv_header_$ac_safe=yes" |
10435 else | 10436 else |
10442 rm -f conftest* | 10443 rm -f conftest* |
10443 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10444 echo "$ac_t""yes" 1>&6 | 10445 echo "$ac_t""yes" 1>&6 |
10445 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10446 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10446 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10447 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10447 echo "configure:10448: checking for sys/msg.h" >&5 | 10448 echo "configure:10449: checking for sys/msg.h" >&5 |
10448 | 10449 |
10449 cat > conftest.$ac_ext <<EOF | 10450 cat > conftest.$ac_ext <<EOF |
10450 #line 10451 "configure" | 10451 #line 10452 "configure" |
10451 #include "confdefs.h" | 10452 #include "confdefs.h" |
10452 #include <sys/msg.h> | 10453 #include <sys/msg.h> |
10453 EOF | 10454 EOF |
10454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10455 { (eval echo configure:10456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10456 { (eval echo configure:10457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10457 if test -z "$ac_err"; then | 10458 if test -z "$ac_err"; then |
10458 rm -rf conftest* | 10459 rm -rf conftest* |
10459 eval "ac_cv_header_$ac_safe=yes" | 10460 eval "ac_cv_header_$ac_safe=yes" |
10460 else | 10461 else |
10488 fi | 10489 fi |
10489 | 10490 |
10490 | 10491 |
10491 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10492 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10492 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10493 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10493 echo "configure:10494: checking for dirent.h" >&5 | 10494 echo "configure:10495: checking for dirent.h" >&5 |
10494 | 10495 |
10495 cat > conftest.$ac_ext <<EOF | 10496 cat > conftest.$ac_ext <<EOF |
10496 #line 10497 "configure" | 10497 #line 10498 "configure" |
10497 #include "confdefs.h" | 10498 #include "confdefs.h" |
10498 #include <dirent.h> | 10499 #include <dirent.h> |
10499 EOF | 10500 EOF |
10500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10501 { (eval echo configure:10502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10502 { (eval echo configure:10503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10503 if test -z "$ac_err"; then | 10504 if test -z "$ac_err"; then |
10504 rm -rf conftest* | 10505 rm -rf conftest* |
10505 eval "ac_cv_header_$ac_safe=yes" | 10506 eval "ac_cv_header_$ac_safe=yes" |
10506 else | 10507 else |
10523 | 10524 |
10524 else | 10525 else |
10525 echo "$ac_t""no" 1>&6 | 10526 echo "$ac_t""no" 1>&6 |
10526 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10527 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10527 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10528 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10528 echo "configure:10529: checking for sys/dir.h" >&5 | 10529 echo "configure:10530: checking for sys/dir.h" >&5 |
10529 | 10530 |
10530 cat > conftest.$ac_ext <<EOF | 10531 cat > conftest.$ac_ext <<EOF |
10531 #line 10532 "configure" | 10532 #line 10533 "configure" |
10532 #include "confdefs.h" | 10533 #include "confdefs.h" |
10533 #include <sys/dir.h> | 10534 #include <sys/dir.h> |
10534 EOF | 10535 EOF |
10535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10536 { (eval echo configure:10537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10537 { (eval echo configure:10538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10538 if test -z "$ac_err"; then | 10539 if test -z "$ac_err"; then |
10539 rm -rf conftest* | 10540 rm -rf conftest* |
10540 eval "ac_cv_header_$ac_safe=yes" | 10541 eval "ac_cv_header_$ac_safe=yes" |
10541 else | 10542 else |
10564 fi | 10565 fi |
10565 | 10566 |
10566 | 10567 |
10567 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10568 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10568 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10569 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10569 echo "configure:10570: checking for nlist.h" >&5 | 10570 echo "configure:10571: checking for nlist.h" >&5 |
10570 | 10571 |
10571 cat > conftest.$ac_ext <<EOF | 10572 cat > conftest.$ac_ext <<EOF |
10572 #line 10573 "configure" | 10573 #line 10574 "configure" |
10573 #include "confdefs.h" | 10574 #include "confdefs.h" |
10574 #include <nlist.h> | 10575 #include <nlist.h> |
10575 EOF | 10576 EOF |
10576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10577 { (eval echo configure:10578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10578 { (eval echo configure:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10579 if test -z "$ac_err"; then | 10580 if test -z "$ac_err"; then |
10580 rm -rf conftest* | 10581 rm -rf conftest* |
10581 eval "ac_cv_header_$ac_safe=yes" | 10582 eval "ac_cv_header_$ac_safe=yes" |
10582 else | 10583 else |
10602 fi | 10603 fi |
10603 | 10604 |
10604 | 10605 |
10605 | 10606 |
10606 echo "checking "for sound support"" 1>&6 | 10607 echo "checking "for sound support"" 1>&6 |
10607 echo "configure:10608: checking "for sound support"" >&5 | 10608 echo "configure:10609: checking "for sound support"" >&5 |
10608 case "$with_sound" in | 10609 case "$with_sound" in |
10609 native | both ) with_native_sound=yes;; | 10610 native | both ) with_native_sound=yes;; |
10610 nas | no ) with_native_sound=no;; | 10611 nas | no ) with_native_sound=no;; |
10611 esac | 10612 esac |
10612 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10613 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10613 | 10614 |
10614 if test "$with_native_sound" != "no"; then | 10615 if test "$with_native_sound" != "no"; then |
10615 if test -n "$native_sound_lib"; then | 10616 if test -n "$native_sound_lib"; then |
10616 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10617 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10617 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10618 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10618 echo "configure:10619: checking for multimedia/audio_device.h" >&5 | 10619 echo "configure:10620: checking for multimedia/audio_device.h" >&5 |
10619 | 10620 |
10620 cat > conftest.$ac_ext <<EOF | 10621 cat > conftest.$ac_ext <<EOF |
10621 #line 10622 "configure" | 10622 #line 10623 "configure" |
10622 #include "confdefs.h" | 10623 #include "confdefs.h" |
10623 #include <multimedia/audio_device.h> | 10624 #include <multimedia/audio_device.h> |
10624 EOF | 10625 EOF |
10625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10626 { (eval echo configure:10627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10627 { (eval echo configure:10628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10628 if test -z "$ac_err"; then | 10629 if test -z "$ac_err"; then |
10629 rm -rf conftest* | 10630 rm -rf conftest* |
10630 eval "ac_cv_header_$ac_safe=yes" | 10631 eval "ac_cv_header_$ac_safe=yes" |
10631 else | 10632 else |
10669 case "$canonical" in | 10670 case "$canonical" in |
10670 *-sgi-* ) | 10671 *-sgi-* ) |
10671 if test -z "$native_sound_lib"; then | 10672 if test -z "$native_sound_lib"; then |
10672 | 10673 |
10673 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10674 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10674 echo "configure:10675: checking for ALopenport in -laudio" >&5 | 10675 echo "configure:10676: checking for ALopenport in -laudio" >&5 |
10675 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10676 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10676 | 10677 |
10677 xe_check_libs=" -laudio " | 10678 xe_check_libs=" -laudio " |
10678 cat > conftest.$ac_ext <<EOF | 10679 cat > conftest.$ac_ext <<EOF |
10679 #line 10680 "configure" | 10680 #line 10681 "configure" |
10680 #include "confdefs.h" | 10681 #include "confdefs.h" |
10681 /* Override any gcc2 internal prototype to avoid an error. */ | 10682 /* Override any gcc2 internal prototype to avoid an error. */ |
10682 /* We use char because int might match the return type of a gcc2 | 10683 /* We use char because int might match the return type of a gcc2 |
10683 builtin and then its argument prototype would still apply. */ | 10684 builtin and then its argument prototype would still apply. */ |
10684 char ALopenport(); | 10685 char ALopenport(); |
10685 | 10686 |
10686 int main() { | 10687 int main() { |
10687 ALopenport() | 10688 ALopenport() |
10688 ; return 0; } | 10689 ; return 0; } |
10689 EOF | 10690 EOF |
10690 if { (eval echo configure:10691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10691 if { (eval echo configure:10692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10691 rm -rf conftest* | 10692 rm -rf conftest* |
10692 eval "ac_cv_lib_$ac_lib_var=yes" | 10693 eval "ac_cv_lib_$ac_lib_var=yes" |
10693 else | 10694 else |
10694 echo "configure: failed program was:" >&5 | 10695 echo "configure: failed program was:" >&5 |
10695 cat conftest.$ac_ext >&5 | 10696 cat conftest.$ac_ext >&5 |
10716 fi ;; | 10717 fi ;; |
10717 hppa*-hp-hpux* ) | 10718 hppa*-hp-hpux* ) |
10718 if test -z "$native_sound_lib"; then | 10719 if test -z "$native_sound_lib"; then |
10719 | 10720 |
10720 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10721 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10721 echo "configure:10722: checking for AOpenAudio in -lAlib" >&5 | 10722 echo "configure:10723: checking for AOpenAudio in -lAlib" >&5 |
10722 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10723 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10723 | 10724 |
10724 xe_check_libs=" -lAlib " | 10725 xe_check_libs=" -lAlib " |
10725 cat > conftest.$ac_ext <<EOF | 10726 cat > conftest.$ac_ext <<EOF |
10726 #line 10727 "configure" | 10727 #line 10728 "configure" |
10727 #include "confdefs.h" | 10728 #include "confdefs.h" |
10728 /* Override any gcc2 internal prototype to avoid an error. */ | 10729 /* Override any gcc2 internal prototype to avoid an error. */ |
10729 /* We use char because int might match the return type of a gcc2 | 10730 /* We use char because int might match the return type of a gcc2 |
10730 builtin and then its argument prototype would still apply. */ | 10731 builtin and then its argument prototype would still apply. */ |
10731 char AOpenAudio(); | 10732 char AOpenAudio(); |
10732 | 10733 |
10733 int main() { | 10734 int main() { |
10734 AOpenAudio() | 10735 AOpenAudio() |
10735 ; return 0; } | 10736 ; return 0; } |
10736 EOF | 10737 EOF |
10737 if { (eval echo configure:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10738 if { (eval echo configure:10739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10738 rm -rf conftest* | 10739 rm -rf conftest* |
10739 eval "ac_cv_lib_$ac_lib_var=yes" | 10740 eval "ac_cv_lib_$ac_lib_var=yes" |
10740 else | 10741 else |
10741 echo "configure: failed program was:" >&5 | 10742 echo "configure: failed program was:" >&5 |
10742 cat conftest.$ac_ext >&5 | 10743 cat conftest.$ac_ext >&5 |
10770 | 10771 |
10771 if test -z "$sound_found"; then | 10772 if test -z "$sound_found"; then |
10772 for dir in "machine" "sys" "linux"; do | 10773 for dir in "machine" "sys" "linux"; do |
10773 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10774 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10774 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10775 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10775 echo "configure:10776: checking for ${dir}/soundcard.h" >&5 | 10776 echo "configure:10777: checking for ${dir}/soundcard.h" >&5 |
10776 | 10777 |
10777 cat > conftest.$ac_ext <<EOF | 10778 cat > conftest.$ac_ext <<EOF |
10778 #line 10779 "configure" | 10779 #line 10780 "configure" |
10779 #include "confdefs.h" | 10780 #include "confdefs.h" |
10780 #include <${dir}/soundcard.h> | 10781 #include <${dir}/soundcard.h> |
10781 EOF | 10782 EOF |
10782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10783 { (eval echo configure:10784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10784 { (eval echo configure:10785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10785 if test -z "$ac_err"; then | 10786 if test -z "$ac_err"; then |
10786 rm -rf conftest* | 10787 rm -rf conftest* |
10787 eval "ac_cv_header_$ac_safe=yes" | 10788 eval "ac_cv_header_$ac_safe=yes" |
10788 else | 10789 else |
10848 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10849 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10849 echo " xemacs will be linked with \"nas.o\"" | 10850 echo " xemacs will be linked with \"nas.o\"" |
10850 fi | 10851 fi |
10851 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10852 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10852 cat > conftest.$ac_ext <<EOF | 10853 cat > conftest.$ac_ext <<EOF |
10853 #line 10854 "configure" | 10854 #line 10855 "configure" |
10854 #include "confdefs.h" | 10855 #include "confdefs.h" |
10855 #include <audio/Xtutil.h> | 10856 #include <audio/Xtutil.h> |
10856 EOF | 10857 EOF |
10857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10858 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10859 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10875 | 10876 |
10876 test -z "$with_tty" && with_tty=yes | 10877 test -z "$with_tty" && with_tty=yes |
10877 | 10878 |
10878 if test "$with_tty" = "yes" ; then | 10879 if test "$with_tty" = "yes" ; then |
10879 echo "checking for TTY-related features" 1>&6 | 10880 echo "checking for TTY-related features" 1>&6 |
10880 echo "configure:10881: checking for TTY-related features" >&5 | 10881 echo "configure:10882: checking for TTY-related features" >&5 |
10881 { test "$extra_verbose" = "yes" && cat << \EOF | 10882 { test "$extra_verbose" = "yes" && cat << \EOF |
10882 Defining HAVE_TTY | 10883 Defining HAVE_TTY |
10883 EOF | 10884 EOF |
10884 cat >> confdefs.h <<\EOF | 10885 cat >> confdefs.h <<\EOF |
10885 #define HAVE_TTY 1 | 10886 #define HAVE_TTY 1 |
10891 fi | 10892 fi |
10892 | 10893 |
10893 if test -z "$with_ncurses"; then | 10894 if test -z "$with_ncurses"; then |
10894 | 10895 |
10895 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10896 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10896 echo "configure:10897: checking for tgetent in -lncurses" >&5 | 10897 echo "configure:10898: checking for tgetent in -lncurses" >&5 |
10897 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10898 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10898 | 10899 |
10899 xe_check_libs=" -lncurses " | 10900 xe_check_libs=" -lncurses " |
10900 cat > conftest.$ac_ext <<EOF | 10901 cat > conftest.$ac_ext <<EOF |
10901 #line 10902 "configure" | 10902 #line 10903 "configure" |
10902 #include "confdefs.h" | 10903 #include "confdefs.h" |
10903 /* Override any gcc2 internal prototype to avoid an error. */ | 10904 /* Override any gcc2 internal prototype to avoid an error. */ |
10904 /* We use char because int might match the return type of a gcc2 | 10905 /* We use char because int might match the return type of a gcc2 |
10905 builtin and then its argument prototype would still apply. */ | 10906 builtin and then its argument prototype would still apply. */ |
10906 char tgetent(); | 10907 char tgetent(); |
10907 | 10908 |
10908 int main() { | 10909 int main() { |
10909 tgetent() | 10910 tgetent() |
10910 ; return 0; } | 10911 ; return 0; } |
10911 EOF | 10912 EOF |
10912 if { (eval echo configure:10913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10913 if { (eval echo configure:10914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10913 rm -rf conftest* | 10914 rm -rf conftest* |
10914 eval "ac_cv_lib_$ac_lib_var=yes" | 10915 eval "ac_cv_lib_$ac_lib_var=yes" |
10915 else | 10916 else |
10916 echo "configure: failed program was:" >&5 | 10917 echo "configure: failed program was:" >&5 |
10917 cat conftest.$ac_ext >&5 | 10918 cat conftest.$ac_ext >&5 |
10940 EOF | 10941 EOF |
10941 } | 10942 } |
10942 | 10943 |
10943 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10944 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10944 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10945 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10945 echo "configure:10946: checking for ncurses/curses.h" >&5 | 10946 echo "configure:10947: checking for ncurses/curses.h" >&5 |
10946 | 10947 |
10947 cat > conftest.$ac_ext <<EOF | 10948 cat > conftest.$ac_ext <<EOF |
10948 #line 10949 "configure" | 10949 #line 10950 "configure" |
10949 #include "confdefs.h" | 10950 #include "confdefs.h" |
10950 #include <ncurses/curses.h> | 10951 #include <ncurses/curses.h> |
10951 EOF | 10952 EOF |
10952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10953 { (eval echo configure:10954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10954 { (eval echo configure:10955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10954 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10955 if test -z "$ac_err"; then | 10956 if test -z "$ac_err"; then |
10956 rm -rf conftest* | 10957 rm -rf conftest* |
10957 eval "ac_cv_header_$ac_safe=yes" | 10958 eval "ac_cv_header_$ac_safe=yes" |
10958 else | 10959 else |
10970 echo "$ac_t""no" 1>&6 | 10971 echo "$ac_t""no" 1>&6 |
10971 fi | 10972 fi |
10972 | 10973 |
10973 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10974 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10974 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10975 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10975 echo "configure:10976: checking for ncurses/term.h" >&5 | 10976 echo "configure:10977: checking for ncurses/term.h" >&5 |
10976 | 10977 |
10977 cat > conftest.$ac_ext <<EOF | 10978 cat > conftest.$ac_ext <<EOF |
10978 #line 10979 "configure" | 10979 #line 10980 "configure" |
10979 #include "confdefs.h" | 10980 #include "confdefs.h" |
10980 #include <ncurses/term.h> | 10981 #include <ncurses/term.h> |
10981 EOF | 10982 EOF |
10982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10983 { (eval echo configure:10984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10984 { (eval echo configure:10985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10985 if test -z "$ac_err"; then | 10986 if test -z "$ac_err"; then |
10986 rm -rf conftest* | 10987 rm -rf conftest* |
10987 eval "ac_cv_header_$ac_safe=yes" | 10988 eval "ac_cv_header_$ac_safe=yes" |
10988 else | 10989 else |
11008 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 11009 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
11009 save_c_switch_site="$c_switch_site" | 11010 save_c_switch_site="$c_switch_site" |
11010 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 11011 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
11011 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11012 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11012 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11013 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11013 echo "configure:11014: checking for ncurses/curses.h" >&5 | 11014 echo "configure:11015: checking for ncurses/curses.h" >&5 |
11014 | 11015 |
11015 cat > conftest.$ac_ext <<EOF | 11016 cat > conftest.$ac_ext <<EOF |
11016 #line 11017 "configure" | 11017 #line 11018 "configure" |
11017 #include "confdefs.h" | 11018 #include "confdefs.h" |
11018 #include <ncurses/curses.h> | 11019 #include <ncurses/curses.h> |
11019 EOF | 11020 EOF |
11020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11021 { (eval echo configure:11022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11022 { (eval echo configure:11023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11023 if test -z "$ac_err"; then | 11024 if test -z "$ac_err"; then |
11024 rm -rf conftest* | 11025 rm -rf conftest* |
11025 eval "ac_cv_header_$ac_safe=yes" | 11026 eval "ac_cv_header_$ac_safe=yes" |
11026 else | 11027 else |
11051 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11052 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11052 else | 11053 else |
11053 for lib in curses termlib termcap; do | 11054 for lib in curses termlib termcap; do |
11054 | 11055 |
11055 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11056 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
11056 echo "configure:11057: checking for tgetent in -l$lib" >&5 | 11057 echo "configure:11058: checking for tgetent in -l$lib" >&5 |
11057 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11058 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
11058 | 11059 |
11059 xe_check_libs=" -l$lib " | 11060 xe_check_libs=" -l$lib " |
11060 cat > conftest.$ac_ext <<EOF | 11061 cat > conftest.$ac_ext <<EOF |
11061 #line 11062 "configure" | 11062 #line 11063 "configure" |
11062 #include "confdefs.h" | 11063 #include "confdefs.h" |
11063 /* Override any gcc2 internal prototype to avoid an error. */ | 11064 /* Override any gcc2 internal prototype to avoid an error. */ |
11064 /* We use char because int might match the return type of a gcc2 | 11065 /* We use char because int might match the return type of a gcc2 |
11065 builtin and then its argument prototype would still apply. */ | 11066 builtin and then its argument prototype would still apply. */ |
11066 char tgetent(); | 11067 char tgetent(); |
11067 | 11068 |
11068 int main() { | 11069 int main() { |
11069 tgetent() | 11070 tgetent() |
11070 ; return 0; } | 11071 ; return 0; } |
11071 EOF | 11072 EOF |
11072 if { (eval echo configure:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11073 if { (eval echo configure:11074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11073 rm -rf conftest* | 11074 rm -rf conftest* |
11074 eval "ac_cv_lib_$ac_lib_var=yes" | 11075 eval "ac_cv_lib_$ac_lib_var=yes" |
11075 else | 11076 else |
11076 echo "configure: failed program was:" >&5 | 11077 echo "configure: failed program was:" >&5 |
11077 cat conftest.$ac_ext >&5 | 11078 cat conftest.$ac_ext >&5 |
11098 if test -n "$libs_termcap"; then | 11099 if test -n "$libs_termcap"; then |
11099 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11100 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11100 else | 11101 else |
11101 | 11102 |
11102 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11103 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11103 echo "configure:11104: checking for tgetent in -lcurses" >&5 | 11104 echo "configure:11105: checking for tgetent in -lcurses" >&5 |
11104 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11105 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11105 | 11106 |
11106 xe_check_libs=" -lcurses " | 11107 xe_check_libs=" -lcurses " |
11107 cat > conftest.$ac_ext <<EOF | 11108 cat > conftest.$ac_ext <<EOF |
11108 #line 11109 "configure" | 11109 #line 11110 "configure" |
11109 #include "confdefs.h" | 11110 #include "confdefs.h" |
11110 /* Override any gcc2 internal prototype to avoid an error. */ | 11111 /* Override any gcc2 internal prototype to avoid an error. */ |
11111 /* We use char because int might match the return type of a gcc2 | 11112 /* We use char because int might match the return type of a gcc2 |
11112 builtin and then its argument prototype would still apply. */ | 11113 builtin and then its argument prototype would still apply. */ |
11113 char tgetent(); | 11114 char tgetent(); |
11114 | 11115 |
11115 int main() { | 11116 int main() { |
11116 tgetent() | 11117 tgetent() |
11117 ; return 0; } | 11118 ; return 0; } |
11118 EOF | 11119 EOF |
11119 if { (eval echo configure:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11120 if { (eval echo configure:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11120 rm -rf conftest* | 11121 rm -rf conftest* |
11121 eval "ac_cv_lib_$ac_lib_var=yes" | 11122 eval "ac_cv_lib_$ac_lib_var=yes" |
11122 else | 11123 else |
11123 echo "configure: failed program was:" >&5 | 11124 echo "configure: failed program was:" >&5 |
11124 cat conftest.$ac_ext >&5 | 11125 cat conftest.$ac_ext >&5 |
11132 echo "$ac_t""yes" 1>&6 | 11133 echo "$ac_t""yes" 1>&6 |
11133 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11134 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11134 else | 11135 else |
11135 echo "$ac_t""no" 1>&6 | 11136 echo "$ac_t""no" 1>&6 |
11136 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11137 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11137 echo "configure:11138: checking for tgetent in -ltermcap" >&5 | 11138 echo "configure:11139: checking for tgetent in -ltermcap" >&5 |
11138 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11139 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11139 | 11140 |
11140 xe_check_libs=" -ltermcap " | 11141 xe_check_libs=" -ltermcap " |
11141 cat > conftest.$ac_ext <<EOF | 11142 cat > conftest.$ac_ext <<EOF |
11142 #line 11143 "configure" | 11143 #line 11144 "configure" |
11143 #include "confdefs.h" | 11144 #include "confdefs.h" |
11144 /* Override any gcc2 internal prototype to avoid an error. */ | 11145 /* Override any gcc2 internal prototype to avoid an error. */ |
11145 /* We use char because int might match the return type of a gcc2 | 11146 /* We use char because int might match the return type of a gcc2 |
11146 builtin and then its argument prototype would still apply. */ | 11147 builtin and then its argument prototype would still apply. */ |
11147 char tgetent(); | 11148 char tgetent(); |
11148 | 11149 |
11149 int main() { | 11150 int main() { |
11150 tgetent() | 11151 tgetent() |
11151 ; return 0; } | 11152 ; return 0; } |
11152 EOF | 11153 EOF |
11153 if { (eval echo configure:11154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11154 if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11154 rm -rf conftest* | 11155 rm -rf conftest* |
11155 eval "ac_cv_lib_$ac_lib_var=yes" | 11156 eval "ac_cv_lib_$ac_lib_var=yes" |
11156 else | 11157 else |
11157 echo "configure: failed program was:" >&5 | 11158 echo "configure: failed program was:" >&5 |
11158 cat conftest.$ac_ext >&5 | 11159 cat conftest.$ac_ext >&5 |
11196 } | 11197 } |
11197 | 11198 |
11198 | 11199 |
11199 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11200 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11200 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11201 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11201 echo "configure:11202: checking for gpm.h" >&5 | 11202 echo "configure:11203: checking for gpm.h" >&5 |
11202 | 11203 |
11203 cat > conftest.$ac_ext <<EOF | 11204 cat > conftest.$ac_ext <<EOF |
11204 #line 11205 "configure" | 11205 #line 11206 "configure" |
11205 #include "confdefs.h" | 11206 #include "confdefs.h" |
11206 #include <gpm.h> | 11207 #include <gpm.h> |
11207 EOF | 11208 EOF |
11208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11209 { (eval echo configure:11210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11210 { (eval echo configure:11211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11211 if test -z "$ac_err"; then | 11212 if test -z "$ac_err"; then |
11212 rm -rf conftest* | 11213 rm -rf conftest* |
11213 eval "ac_cv_header_$ac_safe=yes" | 11214 eval "ac_cv_header_$ac_safe=yes" |
11214 else | 11215 else |
11227 with_gpm=no | 11228 with_gpm=no |
11228 fi | 11229 fi |
11229 } | 11230 } |
11230 test -z "$with_gpm" && { | 11231 test -z "$with_gpm" && { |
11231 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11232 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11232 echo "configure:11233: checking for Gpm_Open in -lgpm" >&5 | 11233 echo "configure:11234: checking for Gpm_Open in -lgpm" >&5 |
11233 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11234 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11234 | 11235 |
11235 xe_check_libs=" -lgpm " | 11236 xe_check_libs=" -lgpm " |
11236 cat > conftest.$ac_ext <<EOF | 11237 cat > conftest.$ac_ext <<EOF |
11237 #line 11238 "configure" | 11238 #line 11239 "configure" |
11238 #include "confdefs.h" | 11239 #include "confdefs.h" |
11239 /* Override any gcc2 internal prototype to avoid an error. */ | 11240 /* Override any gcc2 internal prototype to avoid an error. */ |
11240 /* We use char because int might match the return type of a gcc2 | 11241 /* We use char because int might match the return type of a gcc2 |
11241 builtin and then its argument prototype would still apply. */ | 11242 builtin and then its argument prototype would still apply. */ |
11242 char Gpm_Open(); | 11243 char Gpm_Open(); |
11243 | 11244 |
11244 int main() { | 11245 int main() { |
11245 Gpm_Open() | 11246 Gpm_Open() |
11246 ; return 0; } | 11247 ; return 0; } |
11247 EOF | 11248 EOF |
11248 if { (eval echo configure:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11249 if { (eval echo configure:11250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11249 rm -rf conftest* | 11250 rm -rf conftest* |
11250 eval "ac_cv_lib_$ac_lib_var=yes" | 11251 eval "ac_cv_lib_$ac_lib_var=yes" |
11251 else | 11252 else |
11252 echo "configure: failed program was:" >&5 | 11253 echo "configure: failed program was:" >&5 |
11253 cat conftest.$ac_ext >&5 | 11254 cat conftest.$ac_ext >&5 |
11293 fi | 11294 fi |
11294 | 11295 |
11295 | 11296 |
11296 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ | 11297 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ |
11297 != "no no no" && echo "checking for database support" 1>&6 | 11298 != "no no no" && echo "checking for database support" 1>&6 |
11298 echo "configure:11299: checking for database support" >&5 | 11299 echo "configure:11300: checking for database support" >&5 |
11299 | 11300 |
11300 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11301 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
11301 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11302 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11302 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11303 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11303 echo "configure:11304: checking for ndbm.h" >&5 | 11304 echo "configure:11305: checking for ndbm.h" >&5 |
11304 | 11305 |
11305 cat > conftest.$ac_ext <<EOF | 11306 cat > conftest.$ac_ext <<EOF |
11306 #line 11307 "configure" | 11307 #line 11308 "configure" |
11307 #include "confdefs.h" | 11308 #include "confdefs.h" |
11308 #include <ndbm.h> | 11309 #include <ndbm.h> |
11309 EOF | 11310 EOF |
11310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11311 { (eval echo configure:11312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11312 { (eval echo configure:11313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11313 if test -z "$ac_err"; then | 11314 if test -z "$ac_err"; then |
11314 rm -rf conftest* | 11315 rm -rf conftest* |
11315 eval "ac_cv_header_$ac_safe=yes" | 11316 eval "ac_cv_header_$ac_safe=yes" |
11316 else | 11317 else |
11336 fi | 11337 fi |
11337 | 11338 |
11338 if test "$with_database_gnudbm" != "no"; then | 11339 if test "$with_database_gnudbm" != "no"; then |
11339 | 11340 |
11340 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11341 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11341 echo "configure:11342: checking for dbm_open in -lgdbm" >&5 | 11342 echo "configure:11343: checking for dbm_open in -lgdbm" >&5 |
11342 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11343 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11343 | 11344 |
11344 xe_check_libs=" -lgdbm " | 11345 xe_check_libs=" -lgdbm " |
11345 cat > conftest.$ac_ext <<EOF | 11346 cat > conftest.$ac_ext <<EOF |
11346 #line 11347 "configure" | 11347 #line 11348 "configure" |
11347 #include "confdefs.h" | 11348 #include "confdefs.h" |
11348 /* Override any gcc2 internal prototype to avoid an error. */ | 11349 /* Override any gcc2 internal prototype to avoid an error. */ |
11349 /* We use char because int might match the return type of a gcc2 | 11350 /* We use char because int might match the return type of a gcc2 |
11350 builtin and then its argument prototype would still apply. */ | 11351 builtin and then its argument prototype would still apply. */ |
11351 char dbm_open(); | 11352 char dbm_open(); |
11352 | 11353 |
11353 int main() { | 11354 int main() { |
11354 dbm_open() | 11355 dbm_open() |
11355 ; return 0; } | 11356 ; return 0; } |
11356 EOF | 11357 EOF |
11357 if { (eval echo configure:11358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11358 if { (eval echo configure:11359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11358 rm -rf conftest* | 11359 rm -rf conftest* |
11359 eval "ac_cv_lib_$ac_lib_var=yes" | 11360 eval "ac_cv_lib_$ac_lib_var=yes" |
11360 else | 11361 else |
11361 echo "configure: failed program was:" >&5 | 11362 echo "configure: failed program was:" >&5 |
11362 cat conftest.$ac_ext >&5 | 11363 cat conftest.$ac_ext >&5 |
11380 | 11381 |
11381 fi | 11382 fi |
11382 | 11383 |
11383 if test "$with_database_dbm" != "no"; then | 11384 if test "$with_database_dbm" != "no"; then |
11384 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11385 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11385 echo "configure:11386: checking for dbm_open" >&5 | 11386 echo "configure:11387: checking for dbm_open" >&5 |
11386 | 11387 |
11387 cat > conftest.$ac_ext <<EOF | 11388 cat > conftest.$ac_ext <<EOF |
11388 #line 11389 "configure" | 11389 #line 11390 "configure" |
11389 #include "confdefs.h" | 11390 #include "confdefs.h" |
11390 /* System header to define __stub macros and hopefully few prototypes, | 11391 /* System header to define __stub macros and hopefully few prototypes, |
11391 which can conflict with char dbm_open(); below. */ | 11392 which can conflict with char dbm_open(); below. */ |
11392 #include <assert.h> | 11393 #include <assert.h> |
11393 /* Override any gcc2 internal prototype to avoid an error. */ | 11394 /* Override any gcc2 internal prototype to avoid an error. */ |
11406 dbm_open(); | 11407 dbm_open(); |
11407 #endif | 11408 #endif |
11408 | 11409 |
11409 ; return 0; } | 11410 ; return 0; } |
11410 EOF | 11411 EOF |
11411 if { (eval echo configure:11412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11412 if { (eval echo configure:11413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11412 rm -rf conftest* | 11413 rm -rf conftest* |
11413 eval "ac_cv_func_dbm_open=yes" | 11414 eval "ac_cv_func_dbm_open=yes" |
11414 else | 11415 else |
11415 echo "configure: failed program was:" >&5 | 11416 echo "configure: failed program was:" >&5 |
11416 cat conftest.$ac_ext >&5 | 11417 cat conftest.$ac_ext >&5 |
11425 else | 11426 else |
11426 echo "$ac_t""no" 1>&6 | 11427 echo "$ac_t""no" 1>&6 |
11427 | 11428 |
11428 | 11429 |
11429 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11430 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11430 echo "configure:11431: checking for dbm_open in -ldbm" >&5 | 11431 echo "configure:11432: checking for dbm_open in -ldbm" >&5 |
11431 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11432 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11432 | 11433 |
11433 xe_check_libs=" -ldbm " | 11434 xe_check_libs=" -ldbm " |
11434 cat > conftest.$ac_ext <<EOF | 11435 cat > conftest.$ac_ext <<EOF |
11435 #line 11436 "configure" | 11436 #line 11437 "configure" |
11436 #include "confdefs.h" | 11437 #include "confdefs.h" |
11437 /* Override any gcc2 internal prototype to avoid an error. */ | 11438 /* Override any gcc2 internal prototype to avoid an error. */ |
11438 /* We use char because int might match the return type of a gcc2 | 11439 /* We use char because int might match the return type of a gcc2 |
11439 builtin and then its argument prototype would still apply. */ | 11440 builtin and then its argument prototype would still apply. */ |
11440 char dbm_open(); | 11441 char dbm_open(); |
11441 | 11442 |
11442 int main() { | 11443 int main() { |
11443 dbm_open() | 11444 dbm_open() |
11444 ; return 0; } | 11445 ; return 0; } |
11445 EOF | 11446 EOF |
11446 if { (eval echo configure:11447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11447 if { (eval echo configure:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11447 rm -rf conftest* | 11448 rm -rf conftest* |
11448 eval "ac_cv_lib_$ac_lib_var=yes" | 11449 eval "ac_cv_lib_$ac_lib_var=yes" |
11449 else | 11450 else |
11450 echo "configure: failed program was:" >&5 | 11451 echo "configure: failed program was:" >&5 |
11451 cat conftest.$ac_ext >&5 | 11452 cat conftest.$ac_ext >&5 |
11482 } | 11483 } |
11483 | 11484 |
11484 | 11485 |
11485 if test "$with_database_berkdb" != "no"; then | 11486 if test "$with_database_berkdb" != "no"; then |
11486 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11487 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11487 echo "configure:11488: checking for Berkeley db.h" >&5 | 11488 echo "configure:11489: checking for Berkeley db.h" >&5 |
11488 for path in "db/db.h" "db.h"; do | 11489 for path in "db/db.h" "db.h"; do |
11489 cat > conftest.$ac_ext <<EOF | 11490 cat > conftest.$ac_ext <<EOF |
11490 #line 11491 "configure" | 11491 #line 11492 "configure" |
11491 #include "confdefs.h" | 11492 #include "confdefs.h" |
11492 #ifdef HAVE_INTTYPES_H | 11493 #ifdef HAVE_INTTYPES_H |
11493 #define __BIT_TYPES_DEFINED__ | 11494 #define __BIT_TYPES_DEFINED__ |
11494 #include <inttypes.h> | 11495 #include <inttypes.h> |
11495 typedef uint8_t u_int8_t; | 11496 typedef uint8_t u_int8_t; |
11503 | 11504 |
11504 int main() { | 11505 int main() { |
11505 | 11506 |
11506 ; return 0; } | 11507 ; return 0; } |
11507 EOF | 11508 EOF |
11508 if { (eval echo configure:11509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11509 if { (eval echo configure:11510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11509 rm -rf conftest* | 11510 rm -rf conftest* |
11510 db_h_path="$path"; break | 11511 db_h_path="$path"; break |
11511 else | 11512 else |
11512 echo "configure: failed program was:" >&5 | 11513 echo "configure: failed program was:" >&5 |
11513 cat conftest.$ac_ext >&5 | 11514 cat conftest.$ac_ext >&5 |
11519 else echo "$ac_t""$db_h_path" 1>&6 | 11520 else echo "$ac_t""$db_h_path" 1>&6 |
11520 fi | 11521 fi |
11521 | 11522 |
11522 if test "$with_database_berkdb" != "no"; then | 11523 if test "$with_database_berkdb" != "no"; then |
11523 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11524 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11524 echo "configure:11525: checking for Berkeley DB version" >&5 | 11525 echo "configure:11526: checking for Berkeley DB version" >&5 |
11525 cat > conftest.$ac_ext <<EOF | 11526 cat > conftest.$ac_ext <<EOF |
11526 #line 11527 "configure" | 11527 #line 11528 "configure" |
11527 #include "confdefs.h" | 11528 #include "confdefs.h" |
11528 #include <$db_h_path> | 11529 #include <$db_h_path> |
11529 #if DB_VERSION_MAJOR > 1 | 11530 #if DB_VERSION_MAJOR > 1 |
11530 yes | 11531 yes |
11531 #endif | 11532 #endif |
11540 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11541 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11541 fi | 11542 fi |
11542 rm -f conftest* | 11543 rm -f conftest* |
11543 | 11544 |
11544 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11545 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11545 echo "configure:11546: checking for $dbfunc" >&5 | 11546 echo "configure:11547: checking for $dbfunc" >&5 |
11546 | 11547 |
11547 cat > conftest.$ac_ext <<EOF | 11548 cat > conftest.$ac_ext <<EOF |
11548 #line 11549 "configure" | 11549 #line 11550 "configure" |
11549 #include "confdefs.h" | 11550 #include "confdefs.h" |
11550 /* System header to define __stub macros and hopefully few prototypes, | 11551 /* System header to define __stub macros and hopefully few prototypes, |
11551 which can conflict with char $dbfunc(); below. */ | 11552 which can conflict with char $dbfunc(); below. */ |
11552 #include <assert.h> | 11553 #include <assert.h> |
11553 /* Override any gcc2 internal prototype to avoid an error. */ | 11554 /* Override any gcc2 internal prototype to avoid an error. */ |
11566 $dbfunc(); | 11567 $dbfunc(); |
11567 #endif | 11568 #endif |
11568 | 11569 |
11569 ; return 0; } | 11570 ; return 0; } |
11570 EOF | 11571 EOF |
11571 if { (eval echo configure:11572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11572 rm -rf conftest* | 11573 rm -rf conftest* |
11573 eval "ac_cv_func_$dbfunc=yes" | 11574 eval "ac_cv_func_$dbfunc=yes" |
11574 else | 11575 else |
11575 echo "configure: failed program was:" >&5 | 11576 echo "configure: failed program was:" >&5 |
11576 cat conftest.$ac_ext >&5 | 11577 cat conftest.$ac_ext >&5 |
11585 else | 11586 else |
11586 echo "$ac_t""no" 1>&6 | 11587 echo "$ac_t""no" 1>&6 |
11587 | 11588 |
11588 | 11589 |
11589 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11590 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11590 echo "configure:11591: checking for $dbfunc in -ldb" >&5 | 11591 echo "configure:11592: checking for $dbfunc in -ldb" >&5 |
11591 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11592 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11592 | 11593 |
11593 xe_check_libs=" -ldb " | 11594 xe_check_libs=" -ldb " |
11594 cat > conftest.$ac_ext <<EOF | 11595 cat > conftest.$ac_ext <<EOF |
11595 #line 11596 "configure" | 11596 #line 11597 "configure" |
11596 #include "confdefs.h" | 11597 #include "confdefs.h" |
11597 /* Override any gcc2 internal prototype to avoid an error. */ | 11598 /* Override any gcc2 internal prototype to avoid an error. */ |
11598 /* We use char because int might match the return type of a gcc2 | 11599 /* We use char because int might match the return type of a gcc2 |
11599 builtin and then its argument prototype would still apply. */ | 11600 builtin and then its argument prototype would still apply. */ |
11600 char $dbfunc(); | 11601 char $dbfunc(); |
11601 | 11602 |
11602 int main() { | 11603 int main() { |
11603 $dbfunc() | 11604 $dbfunc() |
11604 ; return 0; } | 11605 ; return 0; } |
11605 EOF | 11606 EOF |
11606 if { (eval echo configure:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11607 rm -rf conftest* | 11608 rm -rf conftest* |
11608 eval "ac_cv_lib_$ac_lib_var=yes" | 11609 eval "ac_cv_lib_$ac_lib_var=yes" |
11609 else | 11610 else |
11610 echo "configure: failed program was:" >&5 | 11611 echo "configure: failed program was:" >&5 |
11611 cat conftest.$ac_ext >&5 | 11612 cat conftest.$ac_ext >&5 |
11665 fi | 11666 fi |
11666 | 11667 |
11667 if test "$with_socks" = "yes"; then | 11668 if test "$with_socks" = "yes"; then |
11668 | 11669 |
11669 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11670 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11670 echo "configure:11671: checking for SOCKSinit in -lsocks" >&5 | 11671 echo "configure:11672: checking for SOCKSinit in -lsocks" >&5 |
11671 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11672 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11672 | 11673 |
11673 xe_check_libs=" -lsocks " | 11674 xe_check_libs=" -lsocks " |
11674 cat > conftest.$ac_ext <<EOF | 11675 cat > conftest.$ac_ext <<EOF |
11675 #line 11676 "configure" | 11676 #line 11677 "configure" |
11676 #include "confdefs.h" | 11677 #include "confdefs.h" |
11677 /* Override any gcc2 internal prototype to avoid an error. */ | 11678 /* Override any gcc2 internal prototype to avoid an error. */ |
11678 /* We use char because int might match the return type of a gcc2 | 11679 /* We use char because int might match the return type of a gcc2 |
11679 builtin and then its argument prototype would still apply. */ | 11680 builtin and then its argument prototype would still apply. */ |
11680 char SOCKSinit(); | 11681 char SOCKSinit(); |
11681 | 11682 |
11682 int main() { | 11683 int main() { |
11683 SOCKSinit() | 11684 SOCKSinit() |
11684 ; return 0; } | 11685 ; return 0; } |
11685 EOF | 11686 EOF |
11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11687 if { (eval echo configure:11688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11687 rm -rf conftest* | 11688 rm -rf conftest* |
11688 eval "ac_cv_lib_$ac_lib_var=yes" | 11689 eval "ac_cv_lib_$ac_lib_var=yes" |
11689 else | 11690 else |
11690 echo "configure: failed program was:" >&5 | 11691 echo "configure: failed program was:" >&5 |
11691 cat conftest.$ac_ext >&5 | 11692 cat conftest.$ac_ext >&5 |
11738 | 11739 |
11739 for ac_hdr in dlfcn.h | 11740 for ac_hdr in dlfcn.h |
11740 do | 11741 do |
11741 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11742 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11743 echo "configure:11744: checking for $ac_hdr" >&5 | 11744 echo "configure:11745: checking for $ac_hdr" >&5 |
11744 | 11745 |
11745 cat > conftest.$ac_ext <<EOF | 11746 cat > conftest.$ac_ext <<EOF |
11746 #line 11747 "configure" | 11747 #line 11748 "configure" |
11747 #include "confdefs.h" | 11748 #include "confdefs.h" |
11748 #include <$ac_hdr> | 11749 #include <$ac_hdr> |
11749 EOF | 11750 EOF |
11750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11751 { (eval echo configure:11752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11752 { (eval echo configure:11753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11753 if test -z "$ac_err"; then | 11754 if test -z "$ac_err"; then |
11754 rm -rf conftest* | 11755 rm -rf conftest* |
11755 eval "ac_cv_header_$ac_safe=yes" | 11756 eval "ac_cv_header_$ac_safe=yes" |
11756 else | 11757 else |
11785 fi | 11786 fi |
11786 done | 11787 done |
11787 | 11788 |
11788 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11789 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11789 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11790 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11790 echo "configure:11791: checking for dlopen in -ldl" >&5 | 11791 echo "configure:11792: checking for dlopen in -ldl" >&5 |
11791 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11792 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11792 | 11793 |
11793 xe_check_libs=" -ldl " | 11794 xe_check_libs=" -ldl " |
11794 cat > conftest.$ac_ext <<EOF | 11795 cat > conftest.$ac_ext <<EOF |
11795 #line 11796 "configure" | 11796 #line 11797 "configure" |
11796 #include "confdefs.h" | 11797 #include "confdefs.h" |
11797 /* Override any gcc2 internal prototype to avoid an error. */ | 11798 /* Override any gcc2 internal prototype to avoid an error. */ |
11798 /* We use char because int might match the return type of a gcc2 | 11799 /* We use char because int might match the return type of a gcc2 |
11799 builtin and then its argument prototype would still apply. */ | 11800 builtin and then its argument prototype would still apply. */ |
11800 char dlopen(); | 11801 char dlopen(); |
11801 | 11802 |
11802 int main() { | 11803 int main() { |
11803 dlopen() | 11804 dlopen() |
11804 ; return 0; } | 11805 ; return 0; } |
11805 EOF | 11806 EOF |
11806 if { (eval echo configure:11807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11807 if { (eval echo configure:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11807 rm -rf conftest* | 11808 rm -rf conftest* |
11808 eval "ac_cv_lib_$ac_lib_var=yes" | 11809 eval "ac_cv_lib_$ac_lib_var=yes" |
11809 else | 11810 else |
11810 echo "configure: failed program was:" >&5 | 11811 echo "configure: failed program was:" >&5 |
11811 cat conftest.$ac_ext >&5 | 11812 cat conftest.$ac_ext >&5 |
11830 fi | 11831 fi |
11831 | 11832 |
11832 } | 11833 } |
11833 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11834 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11834 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11835 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11835 echo "configure:11836: checking for _dlopen in -lc" >&5 | 11836 echo "configure:11837: checking for _dlopen in -lc" >&5 |
11836 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11837 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11837 | 11838 |
11838 xe_check_libs=" -lc " | 11839 xe_check_libs=" -lc " |
11839 cat > conftest.$ac_ext <<EOF | 11840 cat > conftest.$ac_ext <<EOF |
11840 #line 11841 "configure" | 11841 #line 11842 "configure" |
11841 #include "confdefs.h" | 11842 #include "confdefs.h" |
11842 /* Override any gcc2 internal prototype to avoid an error. */ | 11843 /* Override any gcc2 internal prototype to avoid an error. */ |
11843 /* We use char because int might match the return type of a gcc2 | 11844 /* We use char because int might match the return type of a gcc2 |
11844 builtin and then its argument prototype would still apply. */ | 11845 builtin and then its argument prototype would still apply. */ |
11845 char _dlopen(); | 11846 char _dlopen(); |
11846 | 11847 |
11847 int main() { | 11848 int main() { |
11848 _dlopen() | 11849 _dlopen() |
11849 ; return 0; } | 11850 ; return 0; } |
11850 EOF | 11851 EOF |
11851 if { (eval echo configure:11852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11852 if { (eval echo configure:11853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11852 rm -rf conftest* | 11853 rm -rf conftest* |
11853 eval "ac_cv_lib_$ac_lib_var=yes" | 11854 eval "ac_cv_lib_$ac_lib_var=yes" |
11854 else | 11855 else |
11855 echo "configure: failed program was:" >&5 | 11856 echo "configure: failed program was:" >&5 |
11856 cat conftest.$ac_ext >&5 | 11857 cat conftest.$ac_ext >&5 |
11875 fi | 11876 fi |
11876 | 11877 |
11877 } | 11878 } |
11878 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11879 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11879 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11880 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11880 echo "configure:11881: checking for dlopen in -lc" >&5 | 11881 echo "configure:11882: checking for dlopen in -lc" >&5 |
11881 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11882 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11882 | 11883 |
11883 xe_check_libs=" -lc " | 11884 xe_check_libs=" -lc " |
11884 cat > conftest.$ac_ext <<EOF | 11885 cat > conftest.$ac_ext <<EOF |
11885 #line 11886 "configure" | 11886 #line 11887 "configure" |
11886 #include "confdefs.h" | 11887 #include "confdefs.h" |
11887 /* Override any gcc2 internal prototype to avoid an error. */ | 11888 /* Override any gcc2 internal prototype to avoid an error. */ |
11888 /* We use char because int might match the return type of a gcc2 | 11889 /* We use char because int might match the return type of a gcc2 |
11889 builtin and then its argument prototype would still apply. */ | 11890 builtin and then its argument prototype would still apply. */ |
11890 char dlopen(); | 11891 char dlopen(); |
11891 | 11892 |
11892 int main() { | 11893 int main() { |
11893 dlopen() | 11894 dlopen() |
11894 ; return 0; } | 11895 ; return 0; } |
11895 EOF | 11896 EOF |
11896 if { (eval echo configure:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11897 if { (eval echo configure:11898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11897 rm -rf conftest* | 11898 rm -rf conftest* |
11898 eval "ac_cv_lib_$ac_lib_var=yes" | 11899 eval "ac_cv_lib_$ac_lib_var=yes" |
11899 else | 11900 else |
11900 echo "configure: failed program was:" >&5 | 11901 echo "configure: failed program was:" >&5 |
11901 cat conftest.$ac_ext >&5 | 11902 cat conftest.$ac_ext >&5 |
11920 fi | 11921 fi |
11921 | 11922 |
11922 } | 11923 } |
11923 test -z "$with_shlib" && { | 11924 test -z "$with_shlib" && { |
11924 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11925 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11925 echo "configure:11926: checking for shl_load in -ldld" >&5 | 11926 echo "configure:11927: checking for shl_load in -ldld" >&5 |
11926 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11927 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11927 | 11928 |
11928 xe_check_libs=" -ldld " | 11929 xe_check_libs=" -ldld " |
11929 cat > conftest.$ac_ext <<EOF | 11930 cat > conftest.$ac_ext <<EOF |
11930 #line 11931 "configure" | 11931 #line 11932 "configure" |
11931 #include "confdefs.h" | 11932 #include "confdefs.h" |
11932 /* Override any gcc2 internal prototype to avoid an error. */ | 11933 /* Override any gcc2 internal prototype to avoid an error. */ |
11933 /* We use char because int might match the return type of a gcc2 | 11934 /* We use char because int might match the return type of a gcc2 |
11934 builtin and then its argument prototype would still apply. */ | 11935 builtin and then its argument prototype would still apply. */ |
11935 char shl_load(); | 11936 char shl_load(); |
11936 | 11937 |
11937 int main() { | 11938 int main() { |
11938 shl_load() | 11939 shl_load() |
11939 ; return 0; } | 11940 ; return 0; } |
11940 EOF | 11941 EOF |
11941 if { (eval echo configure:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11942 if { (eval echo configure:11943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11942 rm -rf conftest* | 11943 rm -rf conftest* |
11943 eval "ac_cv_lib_$ac_lib_var=yes" | 11944 eval "ac_cv_lib_$ac_lib_var=yes" |
11944 else | 11945 else |
11945 echo "configure: failed program was:" >&5 | 11946 echo "configure: failed program was:" >&5 |
11946 cat conftest.$ac_ext >&5 | 11947 cat conftest.$ac_ext >&5 |
11965 fi | 11966 fi |
11966 | 11967 |
11967 } | 11968 } |
11968 test -z "$with_shlib" && { | 11969 test -z "$with_shlib" && { |
11969 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11970 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11970 echo "configure:11971: checking for dld_init in -ldld" >&5 | 11971 echo "configure:11972: checking for dld_init in -ldld" >&5 |
11971 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11972 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11972 | 11973 |
11973 xe_check_libs=" -ldld " | 11974 xe_check_libs=" -ldld " |
11974 cat > conftest.$ac_ext <<EOF | 11975 cat > conftest.$ac_ext <<EOF |
11975 #line 11976 "configure" | 11976 #line 11977 "configure" |
11976 #include "confdefs.h" | 11977 #include "confdefs.h" |
11977 /* Override any gcc2 internal prototype to avoid an error. */ | 11978 /* Override any gcc2 internal prototype to avoid an error. */ |
11978 /* We use char because int might match the return type of a gcc2 | 11979 /* We use char because int might match the return type of a gcc2 |
11979 builtin and then its argument prototype would still apply. */ | 11980 builtin and then its argument prototype would still apply. */ |
11980 char dld_init(); | 11981 char dld_init(); |
11981 | 11982 |
11982 int main() { | 11983 int main() { |
11983 dld_init() | 11984 dld_init() |
11984 ; return 0; } | 11985 ; return 0; } |
11985 EOF | 11986 EOF |
11986 if { (eval echo configure:11987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11987 if { (eval echo configure:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11987 rm -rf conftest* | 11988 rm -rf conftest* |
11988 eval "ac_cv_lib_$ac_lib_var=yes" | 11989 eval "ac_cv_lib_$ac_lib_var=yes" |
11989 else | 11990 else |
11990 echo "configure: failed program was:" >&5 | 11991 echo "configure: failed program was:" >&5 |
11991 cat conftest.$ac_ext >&5 | 11992 cat conftest.$ac_ext >&5 |
12020 ld_dynamic_link_flags= | 12021 ld_dynamic_link_flags= |
12021 xehost=$canonical | 12022 xehost=$canonical |
12022 xealias=$internal_configuration | 12023 xealias=$internal_configuration |
12023 | 12024 |
12024 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 12025 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
12025 echo "configure:12026: checking how to build dynamic libraries for ${xehost}" >&5 | 12026 echo "configure:12027: checking how to build dynamic libraries for ${xehost}" >&5 |
12026 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 12027 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
12027 case "$xehost" in | 12028 case "$xehost" in |
12028 *-*-linux-gnu*) ;; | 12029 *-*-linux-gnu*) ;; |
12029 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 12030 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
12030 esac | 12031 esac |
12048 # Now see if the compiler is really GCC. | 12049 # Now see if the compiler is really GCC. |
12049 if test "$GCC" = "yes"; then | 12050 if test "$GCC" = "yes"; then |
12050 XEGCC=yes | 12051 XEGCC=yes |
12051 else | 12052 else |
12052 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 12053 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
12053 echo "configure:12054: checking checking whether we are using GNU C" >&5 | 12054 echo "configure:12055: checking checking whether we are using GNU C" >&5 |
12054 cat > conftest.$ac_ext <<EOF | 12055 cat > conftest.$ac_ext <<EOF |
12055 #line 12056 "configure" | 12056 #line 12057 "configure" |
12056 #include "confdefs.h" | 12057 #include "confdefs.h" |
12057 | 12058 |
12058 #ifdef __GNUC__ | 12059 #ifdef __GNUC__ |
12059 yes; | 12060 yes; |
12060 #endif | 12061 #endif |
12072 | 12073 |
12073 echo "$ac_t""${XEGCC}" 1>&6 | 12074 echo "$ac_t""${XEGCC}" 1>&6 |
12074 fi | 12075 fi |
12075 | 12076 |
12076 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 12077 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
12077 echo "configure:12078: checking how to produce PIC code" >&5 | 12078 echo "configure:12079: checking how to produce PIC code" >&5 |
12078 wl= | 12079 wl= |
12079 | 12080 |
12080 can_build_shared=yes | 12081 can_build_shared=yes |
12081 if test "$XEGCC" = yes; then | 12082 if test "$XEGCC" = yes; then |
12082 wl='-Wl,' | 12083 wl='-Wl,' |
12165 if test -n "$dll_cflags"; then | 12166 if test -n "$dll_cflags"; then |
12166 echo "$ac_t""${dll_cflags}" 1>&6 | 12167 echo "$ac_t""${dll_cflags}" 1>&6 |
12167 | 12168 |
12168 # Check to make sure the dll_cflags actually works. | 12169 # Check to make sure the dll_cflags actually works. |
12169 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12170 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
12170 echo "configure:12171: checking if PIC flag ${dll_cflags} really works" >&5 | 12171 echo "configure:12172: checking if PIC flag ${dll_cflags} really works" >&5 |
12171 save_CFLAGS="$CFLAGS" | 12172 save_CFLAGS="$CFLAGS" |
12172 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12173 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
12173 cat > conftest.$ac_ext <<EOF | 12174 cat > conftest.$ac_ext <<EOF |
12174 #line 12175 "configure" | 12175 #line 12176 "configure" |
12175 #include "confdefs.h" | 12176 #include "confdefs.h" |
12176 | 12177 |
12177 int main() { | 12178 int main() { |
12178 int x=0; | 12179 int x=0; |
12179 ; return 0; } | 12180 ; return 0; } |
12180 EOF | 12181 EOF |
12181 if { (eval echo configure:12182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12182 if { (eval echo configure:12183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12182 rm -rf conftest* | 12183 rm -rf conftest* |
12183 | 12184 |
12184 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12185 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
12185 # reports no error. So, we need to grep stderr for (Bundled). | 12186 # reports no error. So, we need to grep stderr for (Bundled). |
12186 if grep '(Bundled)' config.log >/dev/null; then | 12187 if grep '(Bundled)' config.log >/dev/null; then |
12207 if test "$can_build_shared" = "yes"; then | 12208 if test "$can_build_shared" = "yes"; then |
12208 cc_produces_so=no | 12209 cc_produces_so=no |
12209 xldf= | 12210 xldf= |
12210 xcldf= | 12211 xcldf= |
12211 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12212 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
12212 echo "configure:12213: checking if C compiler can produce shared libraries" >&5 | 12213 echo "configure:12214: checking if C compiler can produce shared libraries" >&5 |
12213 if test "$XEGCC" = yes; then | 12214 if test "$XEGCC" = yes; then |
12214 xcldf="-shared" | 12215 xcldf="-shared" |
12215 xldf="-shared" | 12216 xldf="-shared" |
12216 else # Not using GCC | 12217 else # Not using GCC |
12217 case "$xehost_os" in | 12218 case "$xehost_os" in |
12258 LDFLAGS="$xcldf $LDFLAGS" | 12259 LDFLAGS="$xcldf $LDFLAGS" |
12259 LIBS= | 12260 LIBS= |
12260 xe_libs= | 12261 xe_libs= |
12261 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12262 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
12262 cat > conftest.$ac_ext <<EOF | 12263 cat > conftest.$ac_ext <<EOF |
12263 #line 12264 "configure" | 12264 #line 12265 "configure" |
12264 #include "confdefs.h" | 12265 #include "confdefs.h" |
12265 | 12266 |
12266 int main() { | 12267 int main() { |
12267 int x=0; | 12268 int x=0; |
12268 ; return 0; } | 12269 ; return 0; } |
12269 EOF | 12270 EOF |
12270 if { (eval echo configure:12271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12271 if { (eval echo configure:12272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12271 rm -rf conftest* | 12272 rm -rf conftest* |
12272 cc_produces_so=yes | 12273 cc_produces_so=yes |
12273 else | 12274 else |
12274 echo "configure: failed program was:" >&5 | 12275 echo "configure: failed program was:" >&5 |
12275 cat conftest.$ac_ext >&5 | 12276 cat conftest.$ac_ext >&5 |
12290 if test -z "$LTLD"; then | 12291 if test -z "$LTLD"; then |
12291 ac_prog=ld | 12292 ac_prog=ld |
12292 if test "$XEGCC" = yes; then | 12293 if test "$XEGCC" = yes; then |
12293 # Check if gcc -print-prog-name=ld gives a path. | 12294 # Check if gcc -print-prog-name=ld gives a path. |
12294 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12295 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
12295 echo "configure:12296: checking for ld used by GCC" >&5 | 12296 echo "configure:12297: checking for ld used by GCC" >&5 |
12296 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12297 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
12297 case "$ac_prog" in | 12298 case "$ac_prog" in |
12298 # Accept absolute paths. | 12299 # Accept absolute paths. |
12299 /*) | 12300 /*) |
12300 if test -z "$LTLD"; then | 12301 if test -z "$LTLD"; then |
12315 with_gnu_ld=unknown | 12316 with_gnu_ld=unknown |
12316 ;; | 12317 ;; |
12317 esac | 12318 esac |
12318 else | 12319 else |
12319 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12320 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
12320 echo "configure:12321: checking for GNU ld" >&5 | 12321 echo "configure:12322: checking for GNU ld" >&5 |
12321 fi | 12322 fi |
12322 | 12323 |
12323 if test -z "$LTLD"; then | 12324 if test -z "$LTLD"; then |
12324 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
12325 for ac_dir in $PATH; do | 12326 for ac_dir in $PATH; do |
12353 | 12354 |
12354 ld_dynamic_link_flags= | 12355 ld_dynamic_link_flags= |
12355 | 12356 |
12356 # Check to see if it really is or isn't GNU ld. | 12357 # Check to see if it really is or isn't GNU ld. |
12357 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12358 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
12358 echo "configure:12359: checking if the linker is GNU ld" >&5 | 12359 echo "configure:12360: checking if the linker is GNU ld" >&5 |
12359 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12360 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
12360 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12361 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
12361 xe_gnu_ld=yes | 12362 xe_gnu_ld=yes |
12362 else | 12363 else |
12363 xe_gnu_ld=no | 12364 xe_gnu_ld=no |
12380 can_build_shared=yes | 12381 can_build_shared=yes |
12381 else | 12382 else |
12382 # OK - only NOW do we futz about with ld. | 12383 # OK - only NOW do we futz about with ld. |
12383 # See if the linker supports building shared libraries. | 12384 # See if the linker supports building shared libraries. |
12384 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12385 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
12385 echo "configure:12386: checking whether the linker supports shared libraries" >&5 | 12386 echo "configure:12387: checking whether the linker supports shared libraries" >&5 |
12386 dll_ld=$CC | 12387 dll_ld=$CC |
12387 dll_ldflags=$LDFLAGS | 12388 dll_ldflags=$LDFLAGS |
12388 ld_shlibs=yes | 12389 ld_shlibs=yes |
12389 can_build_shared=yes | 12390 can_build_shared=yes |
12390 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12391 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
12596 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 12597 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
12597 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi | 12598 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi |
12598 for ac_func in dlerror _dlerror | 12599 for ac_func in dlerror _dlerror |
12599 do | 12600 do |
12600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12601 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12601 echo "configure:12602: checking for $ac_func" >&5 | 12602 echo "configure:12603: checking for $ac_func" >&5 |
12602 | 12603 |
12603 cat > conftest.$ac_ext <<EOF | 12604 cat > conftest.$ac_ext <<EOF |
12604 #line 12605 "configure" | 12605 #line 12606 "configure" |
12605 #include "confdefs.h" | 12606 #include "confdefs.h" |
12606 /* System header to define __stub macros and hopefully few prototypes, | 12607 /* System header to define __stub macros and hopefully few prototypes, |
12607 which can conflict with char $ac_func(); below. */ | 12608 which can conflict with char $ac_func(); below. */ |
12608 #include <assert.h> | 12609 #include <assert.h> |
12609 /* Override any gcc2 internal prototype to avoid an error. */ | 12610 /* Override any gcc2 internal prototype to avoid an error. */ |
12622 $ac_func(); | 12623 $ac_func(); |
12623 #endif | 12624 #endif |
12624 | 12625 |
12625 ; return 0; } | 12626 ; return 0; } |
12626 EOF | 12627 EOF |
12627 if { (eval echo configure:12628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12628 if { (eval echo configure:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12628 rm -rf conftest* | 12629 rm -rf conftest* |
12629 eval "ac_cv_func_$ac_func=yes" | 12630 eval "ac_cv_func_$ac_func=yes" |
12630 else | 12631 else |
12631 echo "configure: failed program was:" >&5 | 12632 echo "configure: failed program was:" >&5 |
12632 cat conftest.$ac_ext >&5 | 12633 cat conftest.$ac_ext >&5 |
12656 with_shlib=no | 12657 with_shlib=no |
12657 fi | 12658 fi |
12658 fi | 12659 fi |
12659 | 12660 |
12660 cat > conftest.$ac_ext <<EOF | 12661 cat > conftest.$ac_ext <<EOF |
12661 #line 12662 "configure" | 12662 #line 12663 "configure" |
12662 #include "confdefs.h" | 12663 #include "confdefs.h" |
12663 int main(int c,char *v[]){return 0;} | 12664 int main(int c,char *v[]){return 0;} |
12664 EOF | 12665 EOF |
12665 if { (eval echo configure:12666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12666 if { (eval echo configure:12667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12666 then | 12667 then |
12667 : | 12668 : |
12668 else | 12669 else |
12669 conftest_rc="$?" | 12670 conftest_rc="$?" |
12670 echo "configure: failed program was:" >&5 | 12671 echo "configure: failed program was:" >&5 |