Mercurial > hg > xemacs-beta
comparison configure @ 561:1dac8639fe3f
[xemacs-hg @ 2001-05-24 04:12:17 by martinb]
typo fix
author | martinb |
---|---|
date | Thu, 24 May 2001 04:12:24 +0000 |
parents | 5c6dc7d576ad |
children | 4a2749e56f92 |
comparison
equal
deleted
inserted
replaced
560:b202fbfc7dea | 561:1dac8639fe3f |
---|---|
236 with_site_modules='yes' | 236 with_site_modules='yes' |
237 with_menubars='' | 237 with_menubars='' |
238 with_scrollbars='' | 238 with_scrollbars='' |
239 with_widgets='' | 239 with_widgets='' |
240 with_dialogs='' | 240 with_dialogs='' |
241 with_file_coding='' | 241 with_file_coding='no' |
242 cpp='' cppflags='' libs='' ldflags='' | 242 cpp='' cppflags='' libs='' ldflags='' |
243 extra_includes='' | 243 extra_includes='' |
244 dynamic='' | 244 dynamic='' |
245 with_x11='' | 245 with_x11='' |
246 with_msw='' | 246 with_msw='' |
2575 #endif | 2575 #endif |
2576 configure___ ld_switch_system=LD_SWITCH_SYSTEM | 2576 configure___ ld_switch_system=LD_SWITCH_SYSTEM |
2577 | 2577 |
2578 | 2578 |
2579 #ifndef UNEXEC | 2579 #ifndef UNEXEC |
2580 #define UNEXEC "unexec.o" | 2580 #define UNEXEC |
2581 #endif | 2581 #endif |
2582 configure___ unexec=UNEXEC | 2582 configure___ unexec=UNEXEC |
2583 | |
2584 | |
2585 #ifndef SYSTEM_TYPE | |
2586 #define SYSTEM_TYPE | |
2587 #endif | |
2588 configure___ system_type=SYSTEM_TYPE | |
2583 | 2589 |
2584 | 2590 |
2585 #ifndef LD_SWITCH_SHARED | 2591 #ifndef LD_SWITCH_SHARED |
2586 #define LD_SWITCH_SHARED "-c" | 2592 #define LD_SWITCH_SHARED "-c" |
2587 #endif | 2593 #endif |
2681 eval `$CPP -Isrc $tempcname \ | 2687 eval `$CPP -Isrc $tempcname \ |
2682 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2688 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
2683 | 2689 |
2684 rm $tempcname | 2690 rm $tempcname |
2685 | 2691 |
2692 test -z "$system_type" && \ | |
2693 { test "$extra_verbose" = "yes" && cat << EOF | |
2694 Defining SYSTEM_TYPE = "`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" | |
2695 EOF | |
2696 cat >> confdefs.h <<EOF | |
2697 #define SYSTEM_TYPE "`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" | |
2698 EOF | |
2699 } | |
2700 | |
2701 | |
2702 test -z "$unexec" && pdump=yes | |
2703 | |
2686 if test "$pdump" = "yes"; then | 2704 if test "$pdump" = "yes"; then |
2687 ordinary_link="yes" | 2705 ordinary_link="yes" |
2688 ld="${ordinary_ld}" | 2706 ld="${ordinary_ld}" |
2689 start_files= | 2707 start_files= |
2690 libs_standard= | 2708 libs_standard= |
2711 | 2729 |
2712 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2730 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2713 | 2731 |
2714 if test "$__USLC__" = yes; then | 2732 if test "$__USLC__" = yes; then |
2715 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2733 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2716 echo "configure:2717: checking for whether the -Kalloca compiler flag is needed" >&5 | 2734 echo "configure:2735: checking for whether the -Kalloca compiler flag is needed" >&5 |
2717 need_kalloca=no | 2735 need_kalloca=no |
2718 cat > conftest.$ac_ext <<EOF | 2736 cat > conftest.$ac_ext <<EOF |
2719 #line 2720 "configure" | 2737 #line 2738 "configure" |
2720 #include "confdefs.h" | 2738 #include "confdefs.h" |
2721 | 2739 |
2722 int main() { | 2740 int main() { |
2723 void *x = alloca(4); | 2741 void *x = alloca(4); |
2724 ; return 0; } | 2742 ; return 0; } |
2725 EOF | 2743 EOF |
2726 if { (eval echo configure:2727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2727 rm -rf conftest* | 2745 rm -rf conftest* |
2728 : | 2746 : |
2729 else | 2747 else |
2730 echo "configure: failed program was:" >&5 | 2748 echo "configure: failed program was:" >&5 |
2731 cat conftest.$ac_ext >&5 | 2749 cat conftest.$ac_ext >&5 |
2732 rm -rf conftest* | 2750 rm -rf conftest* |
2733 | 2751 |
2734 xe_save_c_switch_system="$c_switch_system" | 2752 xe_save_c_switch_system="$c_switch_system" |
2735 c_switch_system="$c_switch_system -Kalloca" | 2753 c_switch_system="$c_switch_system -Kalloca" |
2736 cat > conftest.$ac_ext <<EOF | 2754 cat > conftest.$ac_ext <<EOF |
2737 #line 2738 "configure" | 2755 #line 2756 "configure" |
2738 #include "confdefs.h" | 2756 #include "confdefs.h" |
2739 | 2757 |
2740 int main() { | 2758 int main() { |
2741 void *x = alloca(4); | 2759 void *x = alloca(4); |
2742 ; return 0; } | 2760 ; return 0; } |
2743 EOF | 2761 EOF |
2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2762 if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2745 rm -rf conftest* | 2763 rm -rf conftest* |
2746 need_kalloca=yes | 2764 need_kalloca=yes |
2747 else | 2765 else |
2748 echo "configure: failed program was:" >&5 | 2766 echo "configure: failed program was:" >&5 |
2749 cat conftest.$ac_ext >&5 | 2767 cat conftest.$ac_ext >&5 |
2774 CFLAGS="-O" ; fi | 2792 CFLAGS="-O" ; fi |
2775 fi | 2793 fi |
2776 | 2794 |
2777 if test "$GCC" = "yes"; then | 2795 if test "$GCC" = "yes"; then |
2778 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2796 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2779 echo "configure:2780: checking for buggy gcc versions" >&5 | 2797 echo "configure:2798: checking for buggy gcc versions" >&5 |
2780 GCC_VERSION=`$CC --version` | 2798 GCC_VERSION=`$CC --version` |
2781 case `uname -s`:`uname -m`:$GCC_VERSION in | 2799 case `uname -s`:`uname -m`:$GCC_VERSION in |
2782 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2800 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2783 case "$CFLAGS" in | 2801 case "$CFLAGS" in |
2784 *-O2*|*-O3*) | 2802 *-O2*|*-O3*) |
2897 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2915 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2898 echo " xemacs will be linked with \"dumper.o\"" | 2916 echo " xemacs will be linked with \"dumper.o\"" |
2899 fi | 2917 fi |
2900 | 2918 |
2901 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2919 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2902 echo "configure:2903: checking for dynodump" >&5 | 2920 echo "configure:2921: checking for dynodump" >&5 |
2903 if test "$unexec" != "unexsol2.o"; then | 2921 if test "$unexec" != "unexsol2.o"; then |
2904 echo "$ac_t""no" 1>&6 | 2922 echo "$ac_t""no" 1>&6 |
2905 else | 2923 else |
2906 echo "$ac_t""yes" 1>&6 | 2924 echo "$ac_t""yes" 1>&6 |
2907 { test "$extra_verbose" = "yes" && cat << \EOF | 2925 { test "$extra_verbose" = "yes" && cat << \EOF |
2935 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2953 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2936 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2954 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2937 done | 2955 done |
2938 | 2956 |
2939 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2957 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2940 echo "configure:2941: checking for terminateAndUnload in -lC" >&5 | 2958 echo "configure:2959: checking for terminateAndUnload in -lC" >&5 |
2941 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2959 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2942 | 2960 |
2943 xe_check_libs=" -lC " | 2961 xe_check_libs=" -lC " |
2944 cat > conftest.$ac_ext <<EOF | 2962 cat > conftest.$ac_ext <<EOF |
2945 #line 2946 "configure" | 2963 #line 2964 "configure" |
2946 #include "confdefs.h" | 2964 #include "confdefs.h" |
2947 /* Override any gcc2 internal prototype to avoid an error. */ | 2965 /* Override any gcc2 internal prototype to avoid an error. */ |
2948 /* We use char because int might match the return type of a gcc2 | 2966 /* We use char because int might match the return type of a gcc2 |
2949 builtin and then its argument prototype would still apply. */ | 2967 builtin and then its argument prototype would still apply. */ |
2950 char terminateAndUnload(); | 2968 char terminateAndUnload(); |
2951 | 2969 |
2952 int main() { | 2970 int main() { |
2953 terminateAndUnload() | 2971 terminateAndUnload() |
2954 ; return 0; } | 2972 ; return 0; } |
2955 EOF | 2973 EOF |
2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2974 if { (eval echo configure:2975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2957 rm -rf conftest* | 2975 rm -rf conftest* |
2958 eval "ac_cv_lib_$ac_lib_var=yes" | 2976 eval "ac_cv_lib_$ac_lib_var=yes" |
2959 else | 2977 else |
2960 echo "configure: failed program was:" >&5 | 2978 echo "configure: failed program was:" >&5 |
2961 cat conftest.$ac_ext >&5 | 2979 cat conftest.$ac_ext >&5 |
3059 esac | 3077 esac |
3060 fi | 3078 fi |
3061 | 3079 |
3062 if test "$add_runtime_path" = "yes"; then | 3080 if test "$add_runtime_path" = "yes"; then |
3063 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3081 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3064 echo "configure:3065: checking "for runtime libraries flag"" >&5 | 3082 echo "configure:3083: checking "for runtime libraries flag"" >&5 |
3065 case "$opsys" in | 3083 case "$opsys" in |
3066 sol2 ) dash_r="-R" ;; | 3084 sol2 ) dash_r="-R" ;; |
3067 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3085 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3068 *) | 3086 *) |
3069 dash_r="" | 3087 dash_r="" |
3081 esac | 3099 esac |
3082 shift | 3100 shift |
3083 done | 3101 done |
3084 fi | 3102 fi |
3085 cat > conftest.$ac_ext <<EOF | 3103 cat > conftest.$ac_ext <<EOF |
3086 #line 3087 "configure" | 3104 #line 3105 "configure" |
3087 #include "confdefs.h" | 3105 #include "confdefs.h" |
3088 | 3106 |
3089 int main() { | 3107 int main() { |
3090 | 3108 |
3091 ; return 0; } | 3109 ; return 0; } |
3092 EOF | 3110 EOF |
3093 if { (eval echo configure:3094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3111 if { (eval echo configure:3112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3094 rm -rf conftest* | 3112 rm -rf conftest* |
3095 dash_r="$try_dash_r" | 3113 dash_r="$try_dash_r" |
3096 else | 3114 else |
3097 echo "configure: failed program was:" >&5 | 3115 echo "configure: failed program was:" >&5 |
3098 cat conftest.$ac_ext >&5 | 3116 cat conftest.$ac_ext >&5 |
3189 else | 3207 else |
3190 doug_lea_malloc=no | 3208 doug_lea_malloc=no |
3191 fi | 3209 fi |
3192 after_morecore_hook_exists=yes | 3210 after_morecore_hook_exists=yes |
3193 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3211 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3194 echo "configure:3195: checking for malloc_set_state" >&5 | 3212 echo "configure:3213: checking for malloc_set_state" >&5 |
3195 | 3213 |
3196 cat > conftest.$ac_ext <<EOF | 3214 cat > conftest.$ac_ext <<EOF |
3197 #line 3198 "configure" | 3215 #line 3216 "configure" |
3198 #include "confdefs.h" | 3216 #include "confdefs.h" |
3199 /* System header to define __stub macros and hopefully few prototypes, | 3217 /* System header to define __stub macros and hopefully few prototypes, |
3200 which can conflict with char malloc_set_state(); below. */ | 3218 which can conflict with char malloc_set_state(); below. */ |
3201 #include <assert.h> | 3219 #include <assert.h> |
3202 /* Override any gcc2 internal prototype to avoid an error. */ | 3220 /* Override any gcc2 internal prototype to avoid an error. */ |
3215 malloc_set_state(); | 3233 malloc_set_state(); |
3216 #endif | 3234 #endif |
3217 | 3235 |
3218 ; return 0; } | 3236 ; return 0; } |
3219 EOF | 3237 EOF |
3220 if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3238 if { (eval echo configure:3239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3221 rm -rf conftest* | 3239 rm -rf conftest* |
3222 eval "ac_cv_func_malloc_set_state=yes" | 3240 eval "ac_cv_func_malloc_set_state=yes" |
3223 else | 3241 else |
3224 echo "configure: failed program was:" >&5 | 3242 echo "configure: failed program was:" >&5 |
3225 cat conftest.$ac_ext >&5 | 3243 cat conftest.$ac_ext >&5 |
3235 echo "$ac_t""no" 1>&6 | 3253 echo "$ac_t""no" 1>&6 |
3236 doug_lea_malloc=no | 3254 doug_lea_malloc=no |
3237 fi | 3255 fi |
3238 | 3256 |
3239 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3257 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3240 echo "configure:3241: checking whether __after_morecore_hook exists" >&5 | 3258 echo "configure:3259: checking whether __after_morecore_hook exists" >&5 |
3241 cat > conftest.$ac_ext <<EOF | 3259 cat > conftest.$ac_ext <<EOF |
3242 #line 3243 "configure" | 3260 #line 3261 "configure" |
3243 #include "confdefs.h" | 3261 #include "confdefs.h" |
3244 extern void (* __after_morecore_hook)(); | 3262 extern void (* __after_morecore_hook)(); |
3245 int main() { | 3263 int main() { |
3246 __after_morecore_hook = 0 | 3264 __after_morecore_hook = 0 |
3247 ; return 0; } | 3265 ; return 0; } |
3248 EOF | 3266 EOF |
3249 if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3267 if { (eval echo configure:3268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3250 rm -rf conftest* | 3268 rm -rf conftest* |
3251 echo "$ac_t""yes" 1>&6 | 3269 echo "$ac_t""yes" 1>&6 |
3252 else | 3270 else |
3253 echo "configure: failed program was:" >&5 | 3271 echo "configure: failed program was:" >&5 |
3254 cat conftest.$ac_ext >&5 | 3272 cat conftest.$ac_ext >&5 |
3300 | 3318 |
3301 | 3319 |
3302 # Extract the first word of "ranlib", so it can be a program name with args. | 3320 # Extract the first word of "ranlib", so it can be a program name with args. |
3303 set dummy ranlib; ac_word=$2 | 3321 set dummy ranlib; ac_word=$2 |
3304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3322 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3305 echo "configure:3306: checking for $ac_word" >&5 | 3323 echo "configure:3324: checking for $ac_word" >&5 |
3306 | 3324 |
3307 if test -n "$RANLIB"; then | 3325 if test -n "$RANLIB"; then |
3308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3326 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3309 else | 3327 else |
3310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3355 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3356 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3357 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3358 # ./install, which can be erroneously created by make from ./install.sh. | 3376 # ./install, which can be erroneously created by make from ./install.sh. |
3359 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3377 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3360 echo "configure:3361: checking for a BSD compatible install" >&5 | 3378 echo "configure:3379: checking for a BSD compatible install" >&5 |
3361 if test -z "$INSTALL"; then | 3379 if test -z "$INSTALL"; then |
3362 | 3380 |
3363 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3381 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3364 for ac_dir in $PATH; do | 3382 for ac_dir in $PATH; do |
3365 # Account for people who put trailing slashes in PATH elements. | 3383 # Account for people who put trailing slashes in PATH elements. |
3409 for ac_prog in 'bison -y' byacc | 3427 for ac_prog in 'bison -y' byacc |
3410 do | 3428 do |
3411 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3429 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3412 set dummy $ac_prog; ac_word=$2 | 3430 set dummy $ac_prog; ac_word=$2 |
3413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3431 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3414 echo "configure:3415: checking for $ac_word" >&5 | 3432 echo "configure:3433: checking for $ac_word" >&5 |
3415 | 3433 |
3416 if test -n "$YACC"; then | 3434 if test -n "$YACC"; then |
3417 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3435 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3418 else | 3436 else |
3419 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3437 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3441 | 3459 |
3442 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h | 3460 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h |
3443 do | 3461 do |
3444 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3462 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3463 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3446 echo "configure:3447: checking for $ac_hdr" >&5 | 3464 echo "configure:3465: checking for $ac_hdr" >&5 |
3447 | 3465 |
3448 cat > conftest.$ac_ext <<EOF | 3466 cat > conftest.$ac_ext <<EOF |
3449 #line 3450 "configure" | 3467 #line 3468 "configure" |
3450 #include "confdefs.h" | 3468 #include "confdefs.h" |
3451 #include <$ac_hdr> | 3469 #include <$ac_hdr> |
3452 EOF | 3470 EOF |
3453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3454 { (eval echo configure:3455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3472 { (eval echo configure:3473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3456 if test -z "$ac_err"; then | 3474 if test -z "$ac_err"; then |
3457 rm -rf conftest* | 3475 rm -rf conftest* |
3458 eval "ac_cv_header_$ac_safe=yes" | 3476 eval "ac_cv_header_$ac_safe=yes" |
3459 else | 3477 else |
3479 echo "$ac_t""no" 1>&6 | 3497 echo "$ac_t""no" 1>&6 |
3480 fi | 3498 fi |
3481 done | 3499 done |
3482 | 3500 |
3483 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3501 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3484 echo "configure:3485: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3502 echo "configure:3503: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3485 | 3503 |
3486 cat > conftest.$ac_ext <<EOF | 3504 cat > conftest.$ac_ext <<EOF |
3487 #line 3488 "configure" | 3505 #line 3506 "configure" |
3488 #include "confdefs.h" | 3506 #include "confdefs.h" |
3489 #include <sys/types.h> | 3507 #include <sys/types.h> |
3490 #include <sys/wait.h> | 3508 #include <sys/wait.h> |
3491 #ifndef WEXITSTATUS | 3509 #ifndef WEXITSTATUS |
3492 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3510 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3498 int s; | 3516 int s; |
3499 wait (&s); | 3517 wait (&s); |
3500 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3518 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3501 ; return 0; } | 3519 ; return 0; } |
3502 EOF | 3520 EOF |
3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3521 if { (eval echo configure:3522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3504 rm -rf conftest* | 3522 rm -rf conftest* |
3505 ac_cv_header_sys_wait_h=yes | 3523 ac_cv_header_sys_wait_h=yes |
3506 else | 3524 else |
3507 echo "configure: failed program was:" >&5 | 3525 echo "configure: failed program was:" >&5 |
3508 cat conftest.$ac_ext >&5 | 3526 cat conftest.$ac_ext >&5 |
3522 } | 3540 } |
3523 | 3541 |
3524 fi | 3542 fi |
3525 | 3543 |
3526 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3544 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3527 echo "configure:3528: checking for ANSI C header files" >&5 | 3545 echo "configure:3546: checking for ANSI C header files" >&5 |
3528 | 3546 |
3529 cat > conftest.$ac_ext <<EOF | 3547 cat > conftest.$ac_ext <<EOF |
3530 #line 3531 "configure" | 3548 #line 3549 "configure" |
3531 #include "confdefs.h" | 3549 #include "confdefs.h" |
3532 #include <stdlib.h> | 3550 #include <stdlib.h> |
3533 #include <stdarg.h> | 3551 #include <stdarg.h> |
3534 #include <string.h> | 3552 #include <string.h> |
3535 #include <float.h> | 3553 #include <float.h> |
3536 EOF | 3554 EOF |
3537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3538 { (eval echo configure:3539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3556 { (eval echo configure:3557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3540 if test -z "$ac_err"; then | 3558 if test -z "$ac_err"; then |
3541 rm -rf conftest* | 3559 rm -rf conftest* |
3542 ac_cv_header_stdc=yes | 3560 ac_cv_header_stdc=yes |
3543 else | 3561 else |
3550 rm -f conftest* | 3568 rm -f conftest* |
3551 | 3569 |
3552 if test $ac_cv_header_stdc = yes; then | 3570 if test $ac_cv_header_stdc = yes; then |
3553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3571 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3554 cat > conftest.$ac_ext <<EOF | 3572 cat > conftest.$ac_ext <<EOF |
3555 #line 3556 "configure" | 3573 #line 3574 "configure" |
3556 #include "confdefs.h" | 3574 #include "confdefs.h" |
3557 #include <string.h> | 3575 #include <string.h> |
3558 EOF | 3576 EOF |
3559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3560 egrep "memchr" >/dev/null 2>&1; then | 3578 egrep "memchr" >/dev/null 2>&1; then |
3568 fi | 3586 fi |
3569 | 3587 |
3570 if test $ac_cv_header_stdc = yes; then | 3588 if test $ac_cv_header_stdc = yes; then |
3571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3589 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3572 cat > conftest.$ac_ext <<EOF | 3590 cat > conftest.$ac_ext <<EOF |
3573 #line 3574 "configure" | 3591 #line 3592 "configure" |
3574 #include "confdefs.h" | 3592 #include "confdefs.h" |
3575 #include <stdlib.h> | 3593 #include <stdlib.h> |
3576 EOF | 3594 EOF |
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3578 egrep "free" >/dev/null 2>&1; then | 3596 egrep "free" >/dev/null 2>&1; then |
3586 fi | 3604 fi |
3587 | 3605 |
3588 if test $ac_cv_header_stdc = yes; then | 3606 if test $ac_cv_header_stdc = yes; then |
3589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3607 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3590 cat > conftest.$ac_ext <<EOF | 3608 cat > conftest.$ac_ext <<EOF |
3591 #line 3592 "configure" | 3609 #line 3610 "configure" |
3592 #include "confdefs.h" | 3610 #include "confdefs.h" |
3593 #include <ctype.h> | 3611 #include <ctype.h> |
3594 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3612 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3595 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3613 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3614 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3597 int main () { int i; for (i = 0; i < 256; i++) | 3615 int main () { int i; for (i = 0; i < 256; i++) |
3598 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3616 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3599 exit (0); } | 3617 exit (0); } |
3600 | 3618 |
3601 EOF | 3619 EOF |
3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3620 if { (eval echo configure:3621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3603 then | 3621 then |
3604 : | 3622 : |
3605 else | 3623 else |
3606 conftest_rc="$?" | 3624 conftest_rc="$?" |
3607 echo "configure: failed program was:" >&5 | 3625 echo "configure: failed program was:" >&5 |
3623 } | 3641 } |
3624 | 3642 |
3625 fi | 3643 fi |
3626 | 3644 |
3627 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3645 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3628 echo "configure:3629: checking whether time.h and sys/time.h may both be included" >&5 | 3646 echo "configure:3647: checking whether time.h and sys/time.h may both be included" >&5 |
3629 | 3647 |
3630 cat > conftest.$ac_ext <<EOF | 3648 cat > conftest.$ac_ext <<EOF |
3631 #line 3632 "configure" | 3649 #line 3650 "configure" |
3632 #include "confdefs.h" | 3650 #include "confdefs.h" |
3633 #include <sys/types.h> | 3651 #include <sys/types.h> |
3634 #include <sys/time.h> | 3652 #include <sys/time.h> |
3635 #include <time.h> | 3653 #include <time.h> |
3636 int main() { | 3654 int main() { |
3637 struct tm *tp; | 3655 struct tm *tp; |
3638 ; return 0; } | 3656 ; return 0; } |
3639 EOF | 3657 EOF |
3640 if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3658 if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3641 rm -rf conftest* | 3659 rm -rf conftest* |
3642 ac_cv_header_time=yes | 3660 ac_cv_header_time=yes |
3643 else | 3661 else |
3644 echo "configure: failed program was:" >&5 | 3662 echo "configure: failed program was:" >&5 |
3645 cat conftest.$ac_ext >&5 | 3663 cat conftest.$ac_ext >&5 |
3659 } | 3677 } |
3660 | 3678 |
3661 fi | 3679 fi |
3662 | 3680 |
3663 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3681 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3664 echo "configure:3665: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3682 echo "configure:3683: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3665 | 3683 |
3666 cat > conftest.$ac_ext <<EOF | 3684 cat > conftest.$ac_ext <<EOF |
3667 #line 3668 "configure" | 3685 #line 3686 "configure" |
3668 #include "confdefs.h" | 3686 #include "confdefs.h" |
3669 #include <sys/types.h> | 3687 #include <sys/types.h> |
3670 #include <signal.h> | 3688 #include <signal.h> |
3671 /* NetBSD declares sys_siglist in unistd.h. */ | 3689 /* NetBSD declares sys_siglist in unistd.h. */ |
3672 #ifdef HAVE_UNISTD_H | 3690 #ifdef HAVE_UNISTD_H |
3674 #endif | 3692 #endif |
3675 int main() { | 3693 int main() { |
3676 char *msg = *(sys_siglist + 1); | 3694 char *msg = *(sys_siglist + 1); |
3677 ; return 0; } | 3695 ; return 0; } |
3678 EOF | 3696 EOF |
3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3697 if { (eval echo configure:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3680 rm -rf conftest* | 3698 rm -rf conftest* |
3681 ac_cv_decl_sys_siglist=yes | 3699 ac_cv_decl_sys_siglist=yes |
3682 else | 3700 else |
3683 echo "configure: failed program was:" >&5 | 3701 echo "configure: failed program was:" >&5 |
3684 cat conftest.$ac_ext >&5 | 3702 cat conftest.$ac_ext >&5 |
3700 fi | 3718 fi |
3701 | 3719 |
3702 | 3720 |
3703 | 3721 |
3704 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3722 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3705 echo "configure:3706: checking for utime" >&5 | 3723 echo "configure:3724: checking for utime" >&5 |
3706 cat > conftest.$ac_ext <<EOF | 3724 cat > conftest.$ac_ext <<EOF |
3707 #line 3708 "configure" | 3725 #line 3726 "configure" |
3708 #include "confdefs.h" | 3726 #include "confdefs.h" |
3709 #include <sys/types.h> | 3727 #include <sys/types.h> |
3710 #include <utime.h> | 3728 #include <utime.h> |
3711 int main() { | 3729 int main() { |
3712 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3730 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3713 ; return 0; } | 3731 ; return 0; } |
3714 EOF | 3732 EOF |
3715 if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3733 if { (eval echo configure:3734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3716 rm -rf conftest* | 3734 rm -rf conftest* |
3717 echo "$ac_t""yes" 1>&6 | 3735 echo "$ac_t""yes" 1>&6 |
3718 { test "$extra_verbose" = "yes" && cat << \EOF | 3736 { test "$extra_verbose" = "yes" && cat << \EOF |
3719 Defining HAVE_UTIME | 3737 Defining HAVE_UTIME |
3720 EOF | 3738 EOF |
3729 rm -rf conftest* | 3747 rm -rf conftest* |
3730 echo "$ac_t""no" 1>&6 | 3748 echo "$ac_t""no" 1>&6 |
3731 for ac_func in utimes | 3749 for ac_func in utimes |
3732 do | 3750 do |
3733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3734 echo "configure:3735: checking for $ac_func" >&5 | 3752 echo "configure:3753: checking for $ac_func" >&5 |
3735 | 3753 |
3736 cat > conftest.$ac_ext <<EOF | 3754 cat > conftest.$ac_ext <<EOF |
3737 #line 3738 "configure" | 3755 #line 3756 "configure" |
3738 #include "confdefs.h" | 3756 #include "confdefs.h" |
3739 /* System header to define __stub macros and hopefully few prototypes, | 3757 /* System header to define __stub macros and hopefully few prototypes, |
3740 which can conflict with char $ac_func(); below. */ | 3758 which can conflict with char $ac_func(); below. */ |
3741 #include <assert.h> | 3759 #include <assert.h> |
3742 /* Override any gcc2 internal prototype to avoid an error. */ | 3760 /* Override any gcc2 internal prototype to avoid an error. */ |
3755 $ac_func(); | 3773 $ac_func(); |
3756 #endif | 3774 #endif |
3757 | 3775 |
3758 ; return 0; } | 3776 ; return 0; } |
3759 EOF | 3777 EOF |
3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3778 if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3761 rm -rf conftest* | 3779 rm -rf conftest* |
3762 eval "ac_cv_func_$ac_func=yes" | 3780 eval "ac_cv_func_$ac_func=yes" |
3763 else | 3781 else |
3764 echo "configure: failed program was:" >&5 | 3782 echo "configure: failed program was:" >&5 |
3765 cat conftest.$ac_ext >&5 | 3783 cat conftest.$ac_ext >&5 |
3787 fi | 3805 fi |
3788 rm -f conftest* | 3806 rm -f conftest* |
3789 | 3807 |
3790 | 3808 |
3791 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3809 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3792 echo "configure:3793: checking return type of signal handlers" >&5 | 3810 echo "configure:3811: checking return type of signal handlers" >&5 |
3793 | 3811 |
3794 cat > conftest.$ac_ext <<EOF | 3812 cat > conftest.$ac_ext <<EOF |
3795 #line 3796 "configure" | 3813 #line 3814 "configure" |
3796 #include "confdefs.h" | 3814 #include "confdefs.h" |
3797 #include <sys/types.h> | 3815 #include <sys/types.h> |
3798 #include <signal.h> | 3816 #include <signal.h> |
3799 #ifdef signal | 3817 #ifdef signal |
3800 #undef signal | 3818 #undef signal |
3807 | 3825 |
3808 int main() { | 3826 int main() { |
3809 int i; | 3827 int i; |
3810 ; return 0; } | 3828 ; return 0; } |
3811 EOF | 3829 EOF |
3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3830 if { (eval echo configure:3831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3813 rm -rf conftest* | 3831 rm -rf conftest* |
3814 ac_cv_type_signal=void | 3832 ac_cv_type_signal=void |
3815 else | 3833 else |
3816 echo "configure: failed program was:" >&5 | 3834 echo "configure: failed program was:" >&5 |
3817 cat conftest.$ac_ext >&5 | 3835 cat conftest.$ac_ext >&5 |
3829 EOF | 3847 EOF |
3830 } | 3848 } |
3831 | 3849 |
3832 | 3850 |
3833 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3851 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3834 echo "configure:3835: checking for size_t" >&5 | 3852 echo "configure:3853: checking for size_t" >&5 |
3835 | 3853 |
3836 cat > conftest.$ac_ext <<EOF | 3854 cat > conftest.$ac_ext <<EOF |
3837 #line 3838 "configure" | 3855 #line 3856 "configure" |
3838 #include "confdefs.h" | 3856 #include "confdefs.h" |
3839 #include <sys/types.h> | 3857 #include <sys/types.h> |
3840 #if STDC_HEADERS | 3858 #if STDC_HEADERS |
3841 #include <stdlib.h> | 3859 #include <stdlib.h> |
3842 #include <stddef.h> | 3860 #include <stddef.h> |
3863 } | 3881 } |
3864 | 3882 |
3865 fi | 3883 fi |
3866 | 3884 |
3867 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3885 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3868 echo "configure:3869: checking for pid_t" >&5 | 3886 echo "configure:3887: checking for pid_t" >&5 |
3869 | 3887 |
3870 cat > conftest.$ac_ext <<EOF | 3888 cat > conftest.$ac_ext <<EOF |
3871 #line 3872 "configure" | 3889 #line 3890 "configure" |
3872 #include "confdefs.h" | 3890 #include "confdefs.h" |
3873 #include <sys/types.h> | 3891 #include <sys/types.h> |
3874 #if STDC_HEADERS | 3892 #if STDC_HEADERS |
3875 #include <stdlib.h> | 3893 #include <stdlib.h> |
3876 #include <stddef.h> | 3894 #include <stddef.h> |
3897 } | 3915 } |
3898 | 3916 |
3899 fi | 3917 fi |
3900 | 3918 |
3901 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3919 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3902 echo "configure:3903: checking for uid_t in sys/types.h" >&5 | 3920 echo "configure:3921: checking for uid_t in sys/types.h" >&5 |
3903 | 3921 |
3904 cat > conftest.$ac_ext <<EOF | 3922 cat > conftest.$ac_ext <<EOF |
3905 #line 3906 "configure" | 3923 #line 3924 "configure" |
3906 #include "confdefs.h" | 3924 #include "confdefs.h" |
3907 #include <sys/types.h> | 3925 #include <sys/types.h> |
3908 EOF | 3926 EOF |
3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3910 egrep "uid_t" >/dev/null 2>&1; then | 3928 egrep "uid_t" >/dev/null 2>&1; then |
3936 } | 3954 } |
3937 | 3955 |
3938 fi | 3956 fi |
3939 | 3957 |
3940 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3958 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3941 echo "configure:3942: checking for mode_t" >&5 | 3959 echo "configure:3960: checking for mode_t" >&5 |
3942 | 3960 |
3943 cat > conftest.$ac_ext <<EOF | 3961 cat > conftest.$ac_ext <<EOF |
3944 #line 3945 "configure" | 3962 #line 3963 "configure" |
3945 #include "confdefs.h" | 3963 #include "confdefs.h" |
3946 #include <sys/types.h> | 3964 #include <sys/types.h> |
3947 #if STDC_HEADERS | 3965 #if STDC_HEADERS |
3948 #include <stdlib.h> | 3966 #include <stdlib.h> |
3949 #include <stddef.h> | 3967 #include <stddef.h> |
3970 } | 3988 } |
3971 | 3989 |
3972 fi | 3990 fi |
3973 | 3991 |
3974 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3992 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3975 echo "configure:3976: checking for off_t" >&5 | 3993 echo "configure:3994: checking for off_t" >&5 |
3976 | 3994 |
3977 cat > conftest.$ac_ext <<EOF | 3995 cat > conftest.$ac_ext <<EOF |
3978 #line 3979 "configure" | 3996 #line 3997 "configure" |
3979 #include "confdefs.h" | 3997 #include "confdefs.h" |
3980 #include <sys/types.h> | 3998 #include <sys/types.h> |
3981 #if STDC_HEADERS | 3999 #if STDC_HEADERS |
3982 #include <stdlib.h> | 4000 #include <stdlib.h> |
3983 #include <stddef.h> | 4001 #include <stddef.h> |
4004 } | 4022 } |
4005 | 4023 |
4006 fi | 4024 fi |
4007 | 4025 |
4008 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4026 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4009 echo "configure:4010: checking for ssize_t" >&5 | 4027 echo "configure:4028: checking for ssize_t" >&5 |
4010 | 4028 |
4011 cat > conftest.$ac_ext <<EOF | 4029 cat > conftest.$ac_ext <<EOF |
4012 #line 4013 "configure" | 4030 #line 4031 "configure" |
4013 #include "confdefs.h" | 4031 #include "confdefs.h" |
4014 #include <sys/types.h> | 4032 #include <sys/types.h> |
4015 #if STDC_HEADERS | 4033 #if STDC_HEADERS |
4016 #include <stdlib.h> | 4034 #include <stdlib.h> |
4017 #include <stddef.h> | 4035 #include <stddef.h> |
4039 | 4057 |
4040 fi | 4058 fi |
4041 | 4059 |
4042 | 4060 |
4043 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4061 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4044 echo "configure:4045: checking for socklen_t" >&5 | 4062 echo "configure:4063: checking for socklen_t" >&5 |
4045 cat > conftest.$ac_ext <<EOF | 4063 cat > conftest.$ac_ext <<EOF |
4046 #line 4047 "configure" | 4064 #line 4065 "configure" |
4047 #include "confdefs.h" | 4065 #include "confdefs.h" |
4048 #include <sys/socket.h> | 4066 #include <sys/socket.h> |
4049 socklen_t x; | 4067 socklen_t x; |
4050 | 4068 |
4051 int main() { | 4069 int main() { |
4052 | 4070 |
4053 ; return 0; } | 4071 ; return 0; } |
4054 EOF | 4072 EOF |
4055 if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4073 if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4056 rm -rf conftest* | 4074 rm -rf conftest* |
4057 echo "$ac_t""yes" 1>&6 | 4075 echo "$ac_t""yes" 1>&6 |
4058 else | 4076 else |
4059 echo "configure: failed program was:" >&5 | 4077 echo "configure: failed program was:" >&5 |
4060 cat conftest.$ac_ext >&5 | 4078 cat conftest.$ac_ext >&5 |
4061 rm -rf conftest* | 4079 rm -rf conftest* |
4062 | 4080 |
4063 cat > conftest.$ac_ext <<EOF | 4081 cat > conftest.$ac_ext <<EOF |
4064 #line 4065 "configure" | 4082 #line 4083 "configure" |
4065 #include "confdefs.h" | 4083 #include "confdefs.h" |
4066 #include <sys/socket.h> | 4084 #include <sys/socket.h> |
4067 int accept (int, struct sockaddr *, size_t *); | 4085 int accept (int, struct sockaddr *, size_t *); |
4068 | 4086 |
4069 int main() { | 4087 int main() { |
4070 | 4088 |
4071 ; return 0; } | 4089 ; return 0; } |
4072 EOF | 4090 EOF |
4073 if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4091 if { (eval echo configure:4092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4074 rm -rf conftest* | 4092 rm -rf conftest* |
4075 | 4093 |
4076 echo "$ac_t""size_t" 1>&6 | 4094 echo "$ac_t""size_t" 1>&6 |
4077 { test "$extra_verbose" = "yes" && cat << \EOF | 4095 { test "$extra_verbose" = "yes" && cat << \EOF |
4078 Defining socklen_t = size_t | 4096 Defining socklen_t = size_t |
4100 rm -f conftest* | 4118 rm -f conftest* |
4101 fi | 4119 fi |
4102 rm -f conftest* | 4120 rm -f conftest* |
4103 | 4121 |
4104 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4122 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4105 echo "configure:4106: checking for struct timeval" >&5 | 4123 echo "configure:4124: checking for struct timeval" >&5 |
4106 cat > conftest.$ac_ext <<EOF | 4124 cat > conftest.$ac_ext <<EOF |
4107 #line 4108 "configure" | 4125 #line 4126 "configure" |
4108 #include "confdefs.h" | 4126 #include "confdefs.h" |
4109 #ifdef TIME_WITH_SYS_TIME | 4127 #ifdef TIME_WITH_SYS_TIME |
4110 #include <sys/time.h> | 4128 #include <sys/time.h> |
4111 #include <time.h> | 4129 #include <time.h> |
4112 #else | 4130 #else |
4118 #endif | 4136 #endif |
4119 int main() { | 4137 int main() { |
4120 static struct timeval x; x.tv_sec = x.tv_usec; | 4138 static struct timeval x; x.tv_sec = x.tv_usec; |
4121 ; return 0; } | 4139 ; return 0; } |
4122 EOF | 4140 EOF |
4123 if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4141 if { (eval echo configure:4142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4124 rm -rf conftest* | 4142 rm -rf conftest* |
4125 echo "$ac_t""yes" 1>&6 | 4143 echo "$ac_t""yes" 1>&6 |
4126 HAVE_TIMEVAL=yes | 4144 HAVE_TIMEVAL=yes |
4127 { test "$extra_verbose" = "yes" && cat << \EOF | 4145 { test "$extra_verbose" = "yes" && cat << \EOF |
4128 Defining HAVE_TIMEVAL | 4146 Defining HAVE_TIMEVAL |
4140 HAVE_TIMEVAL=no | 4158 HAVE_TIMEVAL=no |
4141 fi | 4159 fi |
4142 rm -f conftest* | 4160 rm -f conftest* |
4143 | 4161 |
4144 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4162 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4145 echo "configure:4146: checking whether struct tm is in sys/time.h or time.h" >&5 | 4163 echo "configure:4164: checking whether struct tm is in sys/time.h or time.h" >&5 |
4146 | 4164 |
4147 cat > conftest.$ac_ext <<EOF | 4165 cat > conftest.$ac_ext <<EOF |
4148 #line 4149 "configure" | 4166 #line 4167 "configure" |
4149 #include "confdefs.h" | 4167 #include "confdefs.h" |
4150 #include <sys/types.h> | 4168 #include <sys/types.h> |
4151 #include <time.h> | 4169 #include <time.h> |
4152 int main() { | 4170 int main() { |
4153 struct tm *tp; tp->tm_sec; | 4171 struct tm *tp; tp->tm_sec; |
4154 ; return 0; } | 4172 ; return 0; } |
4155 EOF | 4173 EOF |
4156 if { (eval echo configure:4157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4174 if { (eval echo configure:4175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4157 rm -rf conftest* | 4175 rm -rf conftest* |
4158 ac_cv_struct_tm=time.h | 4176 ac_cv_struct_tm=time.h |
4159 else | 4177 else |
4160 echo "configure: failed program was:" >&5 | 4178 echo "configure: failed program was:" >&5 |
4161 cat conftest.$ac_ext >&5 | 4179 cat conftest.$ac_ext >&5 |
4175 } | 4193 } |
4176 | 4194 |
4177 fi | 4195 fi |
4178 | 4196 |
4179 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4197 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4180 echo "configure:4181: checking for tm_zone in struct tm" >&5 | 4198 echo "configure:4199: checking for tm_zone in struct tm" >&5 |
4181 | 4199 |
4182 cat > conftest.$ac_ext <<EOF | 4200 cat > conftest.$ac_ext <<EOF |
4183 #line 4184 "configure" | 4201 #line 4202 "configure" |
4184 #include "confdefs.h" | 4202 #include "confdefs.h" |
4185 #include <sys/types.h> | 4203 #include <sys/types.h> |
4186 #include <$ac_cv_struct_tm> | 4204 #include <$ac_cv_struct_tm> |
4187 int main() { | 4205 int main() { |
4188 struct tm tm; tm.tm_zone; | 4206 struct tm tm; tm.tm_zone; |
4189 ; return 0; } | 4207 ; return 0; } |
4190 EOF | 4208 EOF |
4191 if { (eval echo configure:4192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4209 if { (eval echo configure:4210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4192 rm -rf conftest* | 4210 rm -rf conftest* |
4193 ac_cv_struct_tm_zone=yes | 4211 ac_cv_struct_tm_zone=yes |
4194 else | 4212 else |
4195 echo "configure: failed program was:" >&5 | 4213 echo "configure: failed program was:" >&5 |
4196 cat conftest.$ac_ext >&5 | 4214 cat conftest.$ac_ext >&5 |
4209 EOF | 4227 EOF |
4210 } | 4228 } |
4211 | 4229 |
4212 else | 4230 else |
4213 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4231 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4214 echo "configure:4215: checking for tzname" >&5 | 4232 echo "configure:4233: checking for tzname" >&5 |
4215 | 4233 |
4216 cat > conftest.$ac_ext <<EOF | 4234 cat > conftest.$ac_ext <<EOF |
4217 #line 4218 "configure" | 4235 #line 4236 "configure" |
4218 #include "confdefs.h" | 4236 #include "confdefs.h" |
4219 #include <time.h> | 4237 #include <time.h> |
4220 #ifndef tzname /* For SGI. */ | 4238 #ifndef tzname /* For SGI. */ |
4221 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4239 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4222 #endif | 4240 #endif |
4223 int main() { | 4241 int main() { |
4224 atoi(*tzname); | 4242 atoi(*tzname); |
4225 ; return 0; } | 4243 ; return 0; } |
4226 EOF | 4244 EOF |
4227 if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4245 if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4228 rm -rf conftest* | 4246 rm -rf conftest* |
4229 ac_cv_var_tzname=yes | 4247 ac_cv_var_tzname=yes |
4230 else | 4248 else |
4231 echo "configure: failed program was:" >&5 | 4249 echo "configure: failed program was:" >&5 |
4232 cat conftest.$ac_ext >&5 | 4250 cat conftest.$ac_ext >&5 |
4248 fi | 4266 fi |
4249 fi | 4267 fi |
4250 | 4268 |
4251 | 4269 |
4252 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4270 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4253 echo "configure:4254: checking for working const" >&5 | 4271 echo "configure:4272: checking for working const" >&5 |
4254 | 4272 |
4255 cat > conftest.$ac_ext <<EOF | 4273 cat > conftest.$ac_ext <<EOF |
4256 #line 4257 "configure" | 4274 #line 4275 "configure" |
4257 #include "confdefs.h" | 4275 #include "confdefs.h" |
4258 | 4276 |
4259 int main() { | 4277 int main() { |
4260 | 4278 |
4261 /* Ultrix mips cc rejects this. */ | 4279 /* Ultrix mips cc rejects this. */ |
4300 const int foo = 10; | 4318 const int foo = 10; |
4301 } | 4319 } |
4302 | 4320 |
4303 ; return 0; } | 4321 ; return 0; } |
4304 EOF | 4322 EOF |
4305 if { (eval echo configure:4306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4323 if { (eval echo configure:4324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4306 rm -rf conftest* | 4324 rm -rf conftest* |
4307 ac_cv_c_const=yes | 4325 ac_cv_c_const=yes |
4308 else | 4326 else |
4309 echo "configure: failed program was:" >&5 | 4327 echo "configure: failed program was:" >&5 |
4310 cat conftest.$ac_ext >&5 | 4328 cat conftest.$ac_ext >&5 |
4325 | 4343 |
4326 fi | 4344 fi |
4327 | 4345 |
4328 | 4346 |
4329 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4347 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4330 echo "configure:4331: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4348 echo "configure:4349: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4331 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4349 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4332 | 4350 |
4333 cat > conftestmake <<\EOF | 4351 cat > conftestmake <<\EOF |
4334 all: | 4352 all: |
4335 @echo 'ac_maketemp="${MAKE}"' | 4353 @echo 'ac_maketemp="${MAKE}"' |
4350 SET_MAKE="MAKE=${MAKE-make}" | 4368 SET_MAKE="MAKE=${MAKE-make}" |
4351 fi | 4369 fi |
4352 | 4370 |
4353 | 4371 |
4354 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4372 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4355 echo "configure:4356: checking whether byte ordering is bigendian" >&5 | 4373 echo "configure:4374: checking whether byte ordering is bigendian" >&5 |
4356 | 4374 |
4357 ac_cv_c_bigendian=unknown | 4375 ac_cv_c_bigendian=unknown |
4358 # See if sys/param.h defines the BYTE_ORDER macro. | 4376 # See if sys/param.h defines the BYTE_ORDER macro. |
4359 cat > conftest.$ac_ext <<EOF | 4377 cat > conftest.$ac_ext <<EOF |
4360 #line 4361 "configure" | 4378 #line 4379 "configure" |
4361 #include "confdefs.h" | 4379 #include "confdefs.h" |
4362 #include <sys/types.h> | 4380 #include <sys/types.h> |
4363 #include <sys/param.h> | 4381 #include <sys/param.h> |
4364 int main() { | 4382 int main() { |
4365 | 4383 |
4366 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4384 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4367 bogus endian macros | 4385 bogus endian macros |
4368 #endif | 4386 #endif |
4369 ; return 0; } | 4387 ; return 0; } |
4370 EOF | 4388 EOF |
4371 if { (eval echo configure:4372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4389 if { (eval echo configure:4390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4372 rm -rf conftest* | 4390 rm -rf conftest* |
4373 # It does; now see whether it defined to BIG_ENDIAN or not. | 4391 # It does; now see whether it defined to BIG_ENDIAN or not. |
4374 cat > conftest.$ac_ext <<EOF | 4392 cat > conftest.$ac_ext <<EOF |
4375 #line 4376 "configure" | 4393 #line 4394 "configure" |
4376 #include "confdefs.h" | 4394 #include "confdefs.h" |
4377 #include <sys/types.h> | 4395 #include <sys/types.h> |
4378 #include <sys/param.h> | 4396 #include <sys/param.h> |
4379 int main() { | 4397 int main() { |
4380 | 4398 |
4381 #if BYTE_ORDER != BIG_ENDIAN | 4399 #if BYTE_ORDER != BIG_ENDIAN |
4382 not big endian | 4400 not big endian |
4383 #endif | 4401 #endif |
4384 ; return 0; } | 4402 ; return 0; } |
4385 EOF | 4403 EOF |
4386 if { (eval echo configure:4387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4404 if { (eval echo configure:4405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4387 rm -rf conftest* | 4405 rm -rf conftest* |
4388 ac_cv_c_bigendian=yes | 4406 ac_cv_c_bigendian=yes |
4389 else | 4407 else |
4390 echo "configure: failed program was:" >&5 | 4408 echo "configure: failed program was:" >&5 |
4391 cat conftest.$ac_ext >&5 | 4409 cat conftest.$ac_ext >&5 |
4398 cat conftest.$ac_ext >&5 | 4416 cat conftest.$ac_ext >&5 |
4399 fi | 4417 fi |
4400 rm -f conftest* | 4418 rm -f conftest* |
4401 if test $ac_cv_c_bigendian = unknown; then | 4419 if test $ac_cv_c_bigendian = unknown; then |
4402 cat > conftest.$ac_ext <<EOF | 4420 cat > conftest.$ac_ext <<EOF |
4403 #line 4404 "configure" | 4421 #line 4422 "configure" |
4404 #include "confdefs.h" | 4422 #include "confdefs.h" |
4405 main () { | 4423 main () { |
4406 /* Are we little or big endian? From Harbison&Steele. */ | 4424 /* Are we little or big endian? From Harbison&Steele. */ |
4407 union | 4425 union |
4408 { | 4426 { |
4411 } u; | 4429 } u; |
4412 u.l = 1; | 4430 u.l = 1; |
4413 exit (u.c[sizeof (long) - 1] == 1); | 4431 exit (u.c[sizeof (long) - 1] == 1); |
4414 } | 4432 } |
4415 EOF | 4433 EOF |
4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4434 if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4417 then | 4435 then |
4418 ac_cv_c_bigendian=no | 4436 ac_cv_c_bigendian=no |
4419 else | 4437 else |
4420 conftest_rc="$?" | 4438 conftest_rc="$?" |
4421 echo "configure: failed program was:" >&5 | 4439 echo "configure: failed program was:" >&5 |
4438 | 4456 |
4439 fi | 4457 fi |
4440 | 4458 |
4441 | 4459 |
4442 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4460 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4443 echo "configure:4444: checking size of short" >&5 | 4461 echo "configure:4462: checking size of short" >&5 |
4444 | 4462 |
4445 cat > conftest.$ac_ext <<EOF | 4463 cat > conftest.$ac_ext <<EOF |
4446 #line 4447 "configure" | 4464 #line 4465 "configure" |
4447 #include "confdefs.h" | 4465 #include "confdefs.h" |
4448 #include <stdio.h> | 4466 #include <stdio.h> |
4449 main() | 4467 main() |
4450 { | 4468 { |
4451 FILE *f=fopen("conftestval", "w"); | 4469 FILE *f=fopen("conftestval", "w"); |
4452 if (!f) exit(1); | 4470 if (!f) exit(1); |
4453 fprintf(f, "%d\n", sizeof(short)); | 4471 fprintf(f, "%d\n", sizeof(short)); |
4454 exit(0); | 4472 exit(0); |
4455 } | 4473 } |
4456 EOF | 4474 EOF |
4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4475 if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4458 then | 4476 then |
4459 ac_cv_sizeof_short=`cat conftestval` | 4477 ac_cv_sizeof_short=`cat conftestval` |
4460 else | 4478 else |
4461 conftest_rc="$?" | 4479 conftest_rc="$?" |
4462 echo "configure: failed program was:" >&5 | 4480 echo "configure: failed program was:" >&5 |
4480 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4498 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4481 echo "*** PANIC *** Please examine config.log for compilation errors." | 4499 echo "*** PANIC *** Please examine config.log for compilation errors." |
4482 exit 1 | 4500 exit 1 |
4483 fi | 4501 fi |
4484 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4502 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4485 echo "configure:4486: checking size of int" >&5 | 4503 echo "configure:4504: checking size of int" >&5 |
4486 | 4504 |
4487 cat > conftest.$ac_ext <<EOF | 4505 cat > conftest.$ac_ext <<EOF |
4488 #line 4489 "configure" | 4506 #line 4507 "configure" |
4489 #include "confdefs.h" | 4507 #include "confdefs.h" |
4490 #include <stdio.h> | 4508 #include <stdio.h> |
4491 main() | 4509 main() |
4492 { | 4510 { |
4493 FILE *f=fopen("conftestval", "w"); | 4511 FILE *f=fopen("conftestval", "w"); |
4494 if (!f) exit(1); | 4512 if (!f) exit(1); |
4495 fprintf(f, "%d\n", sizeof(int)); | 4513 fprintf(f, "%d\n", sizeof(int)); |
4496 exit(0); | 4514 exit(0); |
4497 } | 4515 } |
4498 EOF | 4516 EOF |
4499 if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4517 if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4500 then | 4518 then |
4501 ac_cv_sizeof_int=`cat conftestval` | 4519 ac_cv_sizeof_int=`cat conftestval` |
4502 else | 4520 else |
4503 conftest_rc="$?" | 4521 conftest_rc="$?" |
4504 echo "configure: failed program was:" >&5 | 4522 echo "configure: failed program was:" >&5 |
4516 EOF | 4534 EOF |
4517 } | 4535 } |
4518 | 4536 |
4519 | 4537 |
4520 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4538 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4521 echo "configure:4522: checking size of long" >&5 | 4539 echo "configure:4540: checking size of long" >&5 |
4522 | 4540 |
4523 cat > conftest.$ac_ext <<EOF | 4541 cat > conftest.$ac_ext <<EOF |
4524 #line 4525 "configure" | 4542 #line 4543 "configure" |
4525 #include "confdefs.h" | 4543 #include "confdefs.h" |
4526 #include <stdio.h> | 4544 #include <stdio.h> |
4527 main() | 4545 main() |
4528 { | 4546 { |
4529 FILE *f=fopen("conftestval", "w"); | 4547 FILE *f=fopen("conftestval", "w"); |
4530 if (!f) exit(1); | 4548 if (!f) exit(1); |
4531 fprintf(f, "%d\n", sizeof(long)); | 4549 fprintf(f, "%d\n", sizeof(long)); |
4532 exit(0); | 4550 exit(0); |
4533 } | 4551 } |
4534 EOF | 4552 EOF |
4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4553 if { (eval echo configure:4554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4536 then | 4554 then |
4537 ac_cv_sizeof_long=`cat conftestval` | 4555 ac_cv_sizeof_long=`cat conftestval` |
4538 else | 4556 else |
4539 conftest_rc="$?" | 4557 conftest_rc="$?" |
4540 echo "configure: failed program was:" >&5 | 4558 echo "configure: failed program was:" >&5 |
4552 EOF | 4570 EOF |
4553 } | 4571 } |
4554 | 4572 |
4555 | 4573 |
4556 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4574 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4557 echo "configure:4558: checking size of long long" >&5 | 4575 echo "configure:4576: checking size of long long" >&5 |
4558 | 4576 |
4559 cat > conftest.$ac_ext <<EOF | 4577 cat > conftest.$ac_ext <<EOF |
4560 #line 4561 "configure" | 4578 #line 4579 "configure" |
4561 #include "confdefs.h" | 4579 #include "confdefs.h" |
4562 #include <stdio.h> | 4580 #include <stdio.h> |
4563 main() | 4581 main() |
4564 { | 4582 { |
4565 FILE *f=fopen("conftestval", "w"); | 4583 FILE *f=fopen("conftestval", "w"); |
4566 if (!f) exit(1); | 4584 if (!f) exit(1); |
4567 fprintf(f, "%d\n", sizeof(long long)); | 4585 fprintf(f, "%d\n", sizeof(long long)); |
4568 exit(0); | 4586 exit(0); |
4569 } | 4587 } |
4570 EOF | 4588 EOF |
4571 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4589 if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4572 then | 4590 then |
4573 ac_cv_sizeof_long_long=`cat conftestval` | 4591 ac_cv_sizeof_long_long=`cat conftestval` |
4574 else | 4592 else |
4575 conftest_rc="$?" | 4593 conftest_rc="$?" |
4576 echo "configure: failed program was:" >&5 | 4594 echo "configure: failed program was:" >&5 |
4588 EOF | 4606 EOF |
4589 } | 4607 } |
4590 | 4608 |
4591 | 4609 |
4592 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4610 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4593 echo "configure:4594: checking size of void *" >&5 | 4611 echo "configure:4612: checking size of void *" >&5 |
4594 | 4612 |
4595 cat > conftest.$ac_ext <<EOF | 4613 cat > conftest.$ac_ext <<EOF |
4596 #line 4597 "configure" | 4614 #line 4615 "configure" |
4597 #include "confdefs.h" | 4615 #include "confdefs.h" |
4598 #include <stdio.h> | 4616 #include <stdio.h> |
4599 main() | 4617 main() |
4600 { | 4618 { |
4601 FILE *f=fopen("conftestval", "w"); | 4619 FILE *f=fopen("conftestval", "w"); |
4602 if (!f) exit(1); | 4620 if (!f) exit(1); |
4603 fprintf(f, "%d\n", sizeof(void *)); | 4621 fprintf(f, "%d\n", sizeof(void *)); |
4604 exit(0); | 4622 exit(0); |
4605 } | 4623 } |
4606 EOF | 4624 EOF |
4607 if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4625 if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4608 then | 4626 then |
4609 ac_cv_sizeof_void_p=`cat conftestval` | 4627 ac_cv_sizeof_void_p=`cat conftestval` |
4610 else | 4628 else |
4611 conftest_rc="$?" | 4629 conftest_rc="$?" |
4612 echo "configure: failed program was:" >&5 | 4630 echo "configure: failed program was:" >&5 |
4625 } | 4643 } |
4626 | 4644 |
4627 | 4645 |
4628 | 4646 |
4629 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4647 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4630 echo "configure:4631: checking for long file names" >&5 | 4648 echo "configure:4649: checking for long file names" >&5 |
4631 | 4649 |
4632 ac_cv_sys_long_file_names=yes | 4650 ac_cv_sys_long_file_names=yes |
4633 # Test for long file names in all the places we know might matter: | 4651 # Test for long file names in all the places we know might matter: |
4634 # . the current directory, where building will happen | 4652 # . the current directory, where building will happen |
4635 # $prefix/lib where we will be installing things | 4653 # $prefix/lib where we will be installing things |
4671 | 4689 |
4672 fi | 4690 fi |
4673 | 4691 |
4674 | 4692 |
4675 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4693 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4676 echo "configure:4677: checking for sin" >&5 | 4694 echo "configure:4695: checking for sin" >&5 |
4677 | 4695 |
4678 cat > conftest.$ac_ext <<EOF | 4696 cat > conftest.$ac_ext <<EOF |
4679 #line 4680 "configure" | 4697 #line 4698 "configure" |
4680 #include "confdefs.h" | 4698 #include "confdefs.h" |
4681 /* System header to define __stub macros and hopefully few prototypes, | 4699 /* System header to define __stub macros and hopefully few prototypes, |
4682 which can conflict with char sin(); below. */ | 4700 which can conflict with char sin(); below. */ |
4683 #include <assert.h> | 4701 #include <assert.h> |
4684 /* Override any gcc2 internal prototype to avoid an error. */ | 4702 /* Override any gcc2 internal prototype to avoid an error. */ |
4697 sin(); | 4715 sin(); |
4698 #endif | 4716 #endif |
4699 | 4717 |
4700 ; return 0; } | 4718 ; return 0; } |
4701 EOF | 4719 EOF |
4702 if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4720 if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4703 rm -rf conftest* | 4721 rm -rf conftest* |
4704 eval "ac_cv_func_sin=yes" | 4722 eval "ac_cv_func_sin=yes" |
4705 else | 4723 else |
4706 echo "configure: failed program was:" >&5 | 4724 echo "configure: failed program was:" >&5 |
4707 cat conftest.$ac_ext >&5 | 4725 cat conftest.$ac_ext >&5 |
4715 : | 4733 : |
4716 else | 4734 else |
4717 echo "$ac_t""no" 1>&6 | 4735 echo "$ac_t""no" 1>&6 |
4718 | 4736 |
4719 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4737 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4720 echo "configure:4721: checking for sin in -lm" >&5 | 4738 echo "configure:4739: checking for sin in -lm" >&5 |
4721 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4739 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4722 | 4740 |
4723 xe_check_libs=" -lm " | 4741 xe_check_libs=" -lm " |
4724 cat > conftest.$ac_ext <<EOF | 4742 cat > conftest.$ac_ext <<EOF |
4725 #line 4726 "configure" | 4743 #line 4744 "configure" |
4726 #include "confdefs.h" | 4744 #include "confdefs.h" |
4727 /* Override any gcc2 internal prototype to avoid an error. */ | 4745 /* Override any gcc2 internal prototype to avoid an error. */ |
4728 /* We use char because int might match the return type of a gcc2 | 4746 /* We use char because int might match the return type of a gcc2 |
4729 builtin and then its argument prototype would still apply. */ | 4747 builtin and then its argument prototype would still apply. */ |
4730 char sin(); | 4748 char sin(); |
4731 | 4749 |
4732 int main() { | 4750 int main() { |
4733 sin() | 4751 sin() |
4734 ; return 0; } | 4752 ; return 0; } |
4735 EOF | 4753 EOF |
4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4754 if { (eval echo configure:4755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4737 rm -rf conftest* | 4755 rm -rf conftest* |
4738 eval "ac_cv_lib_$ac_lib_var=yes" | 4756 eval "ac_cv_lib_$ac_lib_var=yes" |
4739 else | 4757 else |
4740 echo "configure: failed program was:" >&5 | 4758 echo "configure: failed program was:" >&5 |
4741 cat conftest.$ac_ext >&5 | 4759 cat conftest.$ac_ext >&5 |
4775 EOF | 4793 EOF |
4776 } | 4794 } |
4777 | 4795 |
4778 | 4796 |
4779 cat > conftest.$ac_ext <<EOF | 4797 cat > conftest.$ac_ext <<EOF |
4780 #line 4781 "configure" | 4798 #line 4799 "configure" |
4781 #include "confdefs.h" | 4799 #include "confdefs.h" |
4782 #include <math.h> | 4800 #include <math.h> |
4783 int main() { | 4801 int main() { |
4784 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4802 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4785 ; return 0; } | 4803 ; return 0; } |
4786 EOF | 4804 EOF |
4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4788 rm -rf conftest* | 4806 rm -rf conftest* |
4789 { test "$extra_verbose" = "yes" && cat << \EOF | 4807 { test "$extra_verbose" = "yes" && cat << \EOF |
4790 Defining HAVE_INVERSE_HYPERBOLIC | 4808 Defining HAVE_INVERSE_HYPERBOLIC |
4791 EOF | 4809 EOF |
4792 cat >> confdefs.h <<\EOF | 4810 cat >> confdefs.h <<\EOF |
4799 cat conftest.$ac_ext >&5 | 4817 cat conftest.$ac_ext >&5 |
4800 fi | 4818 fi |
4801 rm -f conftest* | 4819 rm -f conftest* |
4802 | 4820 |
4803 echo "checking type of mail spool file locking" 1>&6 | 4821 echo "checking type of mail spool file locking" 1>&6 |
4804 echo "configure:4805: checking type of mail spool file locking" >&5 | 4822 echo "configure:4823: checking type of mail spool file locking" >&5 |
4805 for ac_func in lockf flock | 4823 for ac_func in lockf flock |
4806 do | 4824 do |
4807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4808 echo "configure:4809: checking for $ac_func" >&5 | 4826 echo "configure:4827: checking for $ac_func" >&5 |
4809 | 4827 |
4810 cat > conftest.$ac_ext <<EOF | 4828 cat > conftest.$ac_ext <<EOF |
4811 #line 4812 "configure" | 4829 #line 4830 "configure" |
4812 #include "confdefs.h" | 4830 #include "confdefs.h" |
4813 /* System header to define __stub macros and hopefully few prototypes, | 4831 /* System header to define __stub macros and hopefully few prototypes, |
4814 which can conflict with char $ac_func(); below. */ | 4832 which can conflict with char $ac_func(); below. */ |
4815 #include <assert.h> | 4833 #include <assert.h> |
4816 /* Override any gcc2 internal prototype to avoid an error. */ | 4834 /* Override any gcc2 internal prototype to avoid an error. */ |
4829 $ac_func(); | 4847 $ac_func(); |
4830 #endif | 4848 #endif |
4831 | 4849 |
4832 ; return 0; } | 4850 ; return 0; } |
4833 EOF | 4851 EOF |
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4852 if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4835 rm -rf conftest* | 4853 rm -rf conftest* |
4836 eval "ac_cv_func_$ac_func=yes" | 4854 eval "ac_cv_func_$ac_func=yes" |
4837 else | 4855 else |
4838 echo "configure: failed program was:" >&5 | 4856 echo "configure: failed program was:" >&5 |
4839 cat conftest.$ac_ext >&5 | 4857 cat conftest.$ac_ext >&5 |
4911 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4929 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4912 | 4930 |
4913 case "$opsys" in decosf*) | 4931 case "$opsys" in decosf*) |
4914 | 4932 |
4915 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4933 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4916 echo "configure:4917: checking for cma_open in -lpthreads" >&5 | 4934 echo "configure:4935: checking for cma_open in -lpthreads" >&5 |
4917 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4935 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4918 | 4936 |
4919 xe_check_libs=" -lpthreads " | 4937 xe_check_libs=" -lpthreads " |
4920 cat > conftest.$ac_ext <<EOF | 4938 cat > conftest.$ac_ext <<EOF |
4921 #line 4922 "configure" | 4939 #line 4940 "configure" |
4922 #include "confdefs.h" | 4940 #include "confdefs.h" |
4923 /* Override any gcc2 internal prototype to avoid an error. */ | 4941 /* Override any gcc2 internal prototype to avoid an error. */ |
4924 /* We use char because int might match the return type of a gcc2 | 4942 /* We use char because int might match the return type of a gcc2 |
4925 builtin and then its argument prototype would still apply. */ | 4943 builtin and then its argument prototype would still apply. */ |
4926 char cma_open(); | 4944 char cma_open(); |
4927 | 4945 |
4928 int main() { | 4946 int main() { |
4929 cma_open() | 4947 cma_open() |
4930 ; return 0; } | 4948 ; return 0; } |
4931 EOF | 4949 EOF |
4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4950 if { (eval echo configure:4951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4933 rm -rf conftest* | 4951 rm -rf conftest* |
4934 eval "ac_cv_lib_$ac_lib_var=yes" | 4952 eval "ac_cv_lib_$ac_lib_var=yes" |
4935 else | 4953 else |
4936 echo "configure: failed program was:" >&5 | 4954 echo "configure: failed program was:" >&5 |
4937 cat conftest.$ac_ext >&5 | 4955 cat conftest.$ac_ext >&5 |
4963 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4981 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4964 c_switch_site="$c_switch_site -threads" ;; | 4982 c_switch_site="$c_switch_site -threads" ;; |
4965 esac | 4983 esac |
4966 | 4984 |
4967 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4985 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4968 echo "configure:4969: checking whether the -xildoff compiler flag is required" >&5 | 4986 echo "configure:4987: checking whether the -xildoff compiler flag is required" >&5 |
4969 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4987 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4970 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4988 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4971 then echo "$ac_t""no" 1>&6; | 4989 then echo "$ac_t""no" 1>&6; |
4972 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 | 4990 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 |
4973 fi | 4991 fi |
4975 fi | 4993 fi |
4976 | 4994 |
4977 if test "$opsys" = "sol2"; then | 4995 if test "$opsys" = "sol2"; then |
4978 if test "$os_release" -ge 56; then | 4996 if test "$os_release" -ge 56; then |
4979 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4997 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4980 echo "configure:4981: checking for \"-z ignore\" linker flag" >&5 | 4998 echo "configure:4999: checking for \"-z ignore\" linker flag" >&5 |
4981 case "`ld -h 2>&1`" in | 4999 case "`ld -h 2>&1`" in |
4982 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5000 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4983 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5001 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4984 *) echo "$ac_t""no" 1>&6 ;; | 5002 *) echo "$ac_t""no" 1>&6 ;; |
4985 esac | 5003 esac |
4986 fi | 5004 fi |
4987 fi | 5005 fi |
4988 | 5006 |
4989 | 5007 |
4990 echo "checking "for specified window system"" 1>&6 | 5008 echo "checking "for specified window system"" 1>&6 |
4991 echo "configure:4992: checking "for specified window system"" >&5 | 5009 echo "configure:5010: checking "for specified window system"" >&5 |
4992 | 5010 |
4993 | 5011 |
4994 GNOME_CONFIG=no | 5012 GNOME_CONFIG=no |
4995 GTK_CONFIG=no | 5013 GTK_CONFIG=no |
4996 | 5014 |
4997 if test "$with_gnome" != "no"; then | 5015 if test "$with_gnome" != "no"; then |
4998 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5016 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
4999 echo "configure:5000: checking for GNOME configuration script" >&5 | 5017 echo "configure:5018: checking for GNOME configuration script" >&5 |
5000 for possible in gnome-config | 5018 for possible in gnome-config |
5001 do | 5019 do |
5002 possible_version=`${possible} --version 2> /dev/null` | 5020 possible_version=`${possible} --version 2> /dev/null` |
5003 if test "x${possible_version}" != "x"; then | 5021 if test "x${possible_version}" != "x"; then |
5004 GNOME_CONFIG="${possible}" | 5022 GNOME_CONFIG="${possible}" |
5025 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5043 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5026 fi | 5044 fi |
5027 | 5045 |
5028 if test "$with_gtk" != "no";then | 5046 if test "$with_gtk" != "no";then |
5029 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5047 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5030 echo "configure:5031: checking for GTK configuration script" >&5 | 5048 echo "configure:5049: checking for GTK configuration script" >&5 |
5031 for possible in gtk12-config gtk14-config gtk-config | 5049 for possible in gtk12-config gtk14-config gtk-config |
5032 do | 5050 do |
5033 possible_version=`${possible} --version 2> /dev/null` | 5051 possible_version=`${possible} --version 2> /dev/null` |
5034 if test "x${possible_version}" != "x"; then | 5052 if test "x${possible_version}" != "x"; then |
5035 GTK_CONFIG="${possible}" | 5053 GTK_CONFIG="${possible}" |
5047 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5065 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5048 fi | 5066 fi |
5049 | 5067 |
5050 if test "${GTK_CONFIG}" != "no"; then | 5068 if test "${GTK_CONFIG}" != "no"; then |
5051 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5069 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5052 echo "configure:5053: checking gtk version" >&5 | 5070 echo "configure:5071: checking gtk version" >&5 |
5053 GTK_VERSION=`${GTK_CONFIG} --version` | 5071 GTK_VERSION=`${GTK_CONFIG} --version` |
5054 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5072 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5055 | 5073 |
5056 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5074 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5057 echo "configure:5058: checking gtk libs" >&5 | 5075 echo "configure:5076: checking gtk libs" >&5 |
5058 GTK_LIBS=`${GTK_CONFIG} --libs` | 5076 GTK_LIBS=`${GTK_CONFIG} --libs` |
5059 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5077 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5060 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5078 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5061 | 5079 |
5062 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5080 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5063 echo "configure:5064: checking gtk cflags" >&5 | 5081 echo "configure:5082: checking gtk cflags" >&5 |
5064 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5082 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5065 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5083 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5066 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5084 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5067 | 5085 |
5068 | 5086 |
5069 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5087 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5070 echo "configure:5071: checking for main in -lgdk_imlib" >&5 | 5088 echo "configure:5089: checking for main in -lgdk_imlib" >&5 |
5071 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5089 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5072 | 5090 |
5073 xe_check_libs=" -lgdk_imlib " | 5091 xe_check_libs=" -lgdk_imlib " |
5074 cat > conftest.$ac_ext <<EOF | 5092 cat > conftest.$ac_ext <<EOF |
5075 #line 5076 "configure" | 5093 #line 5094 "configure" |
5076 #include "confdefs.h" | 5094 #include "confdefs.h" |
5077 | 5095 |
5078 int main() { | 5096 int main() { |
5079 main() | 5097 main() |
5080 ; return 0; } | 5098 ; return 0; } |
5081 EOF | 5099 EOF |
5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5100 if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5083 rm -rf conftest* | 5101 rm -rf conftest* |
5084 eval "ac_cv_lib_$ac_lib_var=yes" | 5102 eval "ac_cv_lib_$ac_lib_var=yes" |
5085 else | 5103 else |
5086 echo "configure: failed program was:" >&5 | 5104 echo "configure: failed program was:" >&5 |
5087 cat conftest.$ac_ext >&5 | 5105 cat conftest.$ac_ext >&5 |
5099 fi | 5117 fi |
5100 | 5118 |
5101 | 5119 |
5102 | 5120 |
5103 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5121 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5104 echo "configure:5105: checking for Imlib_init in -lImlib" >&5 | 5122 echo "configure:5123: checking for Imlib_init in -lImlib" >&5 |
5105 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5123 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5106 | 5124 |
5107 xe_check_libs=" -lImlib " | 5125 xe_check_libs=" -lImlib " |
5108 cat > conftest.$ac_ext <<EOF | 5126 cat > conftest.$ac_ext <<EOF |
5109 #line 5110 "configure" | 5127 #line 5128 "configure" |
5110 #include "confdefs.h" | 5128 #include "confdefs.h" |
5111 /* Override any gcc2 internal prototype to avoid an error. */ | 5129 /* Override any gcc2 internal prototype to avoid an error. */ |
5112 /* We use char because int might match the return type of a gcc2 | 5130 /* We use char because int might match the return type of a gcc2 |
5113 builtin and then its argument prototype would still apply. */ | 5131 builtin and then its argument prototype would still apply. */ |
5114 char Imlib_init(); | 5132 char Imlib_init(); |
5115 | 5133 |
5116 int main() { | 5134 int main() { |
5117 Imlib_init() | 5135 Imlib_init() |
5118 ; return 0; } | 5136 ; return 0; } |
5119 EOF | 5137 EOF |
5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5138 if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5121 rm -rf conftest* | 5139 rm -rf conftest* |
5122 eval "ac_cv_lib_$ac_lib_var=yes" | 5140 eval "ac_cv_lib_$ac_lib_var=yes" |
5123 else | 5141 else |
5124 echo "configure: failed program was:" >&5 | 5142 echo "configure: failed program was:" >&5 |
5125 cat conftest.$ac_ext >&5 | 5143 cat conftest.$ac_ext >&5 |
5138 | 5156 |
5139 | 5157 |
5140 for ac_func in gdk_imlib_init | 5158 for ac_func in gdk_imlib_init |
5141 do | 5159 do |
5142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5143 echo "configure:5144: checking for $ac_func" >&5 | 5161 echo "configure:5162: checking for $ac_func" >&5 |
5144 | 5162 |
5145 cat > conftest.$ac_ext <<EOF | 5163 cat > conftest.$ac_ext <<EOF |
5146 #line 5147 "configure" | 5164 #line 5165 "configure" |
5147 #include "confdefs.h" | 5165 #include "confdefs.h" |
5148 /* System header to define __stub macros and hopefully few prototypes, | 5166 /* System header to define __stub macros and hopefully few prototypes, |
5149 which can conflict with char $ac_func(); below. */ | 5167 which can conflict with char $ac_func(); below. */ |
5150 #include <assert.h> | 5168 #include <assert.h> |
5151 /* Override any gcc2 internal prototype to avoid an error. */ | 5169 /* Override any gcc2 internal prototype to avoid an error. */ |
5164 $ac_func(); | 5182 $ac_func(); |
5165 #endif | 5183 #endif |
5166 | 5184 |
5167 ; return 0; } | 5185 ; return 0; } |
5168 EOF | 5186 EOF |
5169 if { (eval echo configure:5170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5187 if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5170 rm -rf conftest* | 5188 rm -rf conftest* |
5171 eval "ac_cv_func_$ac_func=yes" | 5189 eval "ac_cv_func_$ac_func=yes" |
5172 else | 5190 else |
5173 echo "configure: failed program was:" >&5 | 5191 echo "configure: failed program was:" >&5 |
5174 cat conftest.$ac_ext >&5 | 5192 cat conftest.$ac_ext >&5 |
5241 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5259 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5242 for ac_hdr in glade/glade.h glade.h | 5260 for ac_hdr in glade/glade.h glade.h |
5243 do | 5261 do |
5244 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5262 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5245 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5263 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5246 echo "configure:5247: checking for $ac_hdr" >&5 | 5264 echo "configure:5265: checking for $ac_hdr" >&5 |
5247 | 5265 |
5248 cat > conftest.$ac_ext <<EOF | 5266 cat > conftest.$ac_ext <<EOF |
5249 #line 5250 "configure" | 5267 #line 5268 "configure" |
5250 #include "confdefs.h" | 5268 #include "confdefs.h" |
5251 #include <$ac_hdr> | 5269 #include <$ac_hdr> |
5252 EOF | 5270 EOF |
5253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5254 { (eval echo configure:5255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5272 { (eval echo configure:5273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5256 if test -z "$ac_err"; then | 5274 if test -z "$ac_err"; then |
5257 rm -rf conftest* | 5275 rm -rf conftest* |
5258 eval "ac_cv_header_$ac_safe=yes" | 5276 eval "ac_cv_header_$ac_safe=yes" |
5259 else | 5277 else |
5280 fi | 5298 fi |
5281 done | 5299 done |
5282 | 5300 |
5283 | 5301 |
5284 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5302 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5285 echo "configure:5286: checking for main in -lxml" >&5 | 5303 echo "configure:5304: checking for main in -lxml" >&5 |
5286 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5304 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5287 | 5305 |
5288 xe_check_libs=" -lxml " | 5306 xe_check_libs=" -lxml " |
5289 cat > conftest.$ac_ext <<EOF | 5307 cat > conftest.$ac_ext <<EOF |
5290 #line 5291 "configure" | 5308 #line 5309 "configure" |
5291 #include "confdefs.h" | 5309 #include "confdefs.h" |
5292 | 5310 |
5293 int main() { | 5311 int main() { |
5294 main() | 5312 main() |
5295 ; return 0; } | 5313 ; return 0; } |
5296 EOF | 5314 EOF |
5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5315 if { (eval echo configure:5316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5298 rm -rf conftest* | 5316 rm -rf conftest* |
5299 eval "ac_cv_lib_$ac_lib_var=yes" | 5317 eval "ac_cv_lib_$ac_lib_var=yes" |
5300 else | 5318 else |
5301 echo "configure: failed program was:" >&5 | 5319 echo "configure: failed program was:" >&5 |
5302 cat conftest.$ac_ext >&5 | 5320 cat conftest.$ac_ext >&5 |
5314 fi | 5332 fi |
5315 | 5333 |
5316 | 5334 |
5317 | 5335 |
5318 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5336 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5319 echo "configure:5320: checking for main in -lglade" >&5 | 5337 echo "configure:5338: checking for main in -lglade" >&5 |
5320 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5338 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5321 | 5339 |
5322 xe_check_libs=" -lglade " | 5340 xe_check_libs=" -lglade " |
5323 cat > conftest.$ac_ext <<EOF | 5341 cat > conftest.$ac_ext <<EOF |
5324 #line 5325 "configure" | 5342 #line 5343 "configure" |
5325 #include "confdefs.h" | 5343 #include "confdefs.h" |
5326 | 5344 |
5327 int main() { | 5345 int main() { |
5328 main() | 5346 main() |
5329 ; return 0; } | 5347 ; return 0; } |
5330 EOF | 5348 EOF |
5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5349 if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5332 rm -rf conftest* | 5350 rm -rf conftest* |
5333 eval "ac_cv_lib_$ac_lib_var=yes" | 5351 eval "ac_cv_lib_$ac_lib_var=yes" |
5334 else | 5352 else |
5335 echo "configure: failed program was:" >&5 | 5353 echo "configure: failed program was:" >&5 |
5336 cat conftest.$ac_ext >&5 | 5354 cat conftest.$ac_ext >&5 |
5348 fi | 5366 fi |
5349 | 5367 |
5350 | 5368 |
5351 | 5369 |
5352 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5370 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5353 echo "configure:5354: checking for main in -lglade-gnome" >&5 | 5371 echo "configure:5372: checking for main in -lglade-gnome" >&5 |
5354 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5372 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5355 | 5373 |
5356 xe_check_libs=" -lglade-gnome " | 5374 xe_check_libs=" -lglade-gnome " |
5357 cat > conftest.$ac_ext <<EOF | 5375 cat > conftest.$ac_ext <<EOF |
5358 #line 5359 "configure" | 5376 #line 5377 "configure" |
5359 #include "confdefs.h" | 5377 #include "confdefs.h" |
5360 | 5378 |
5361 int main() { | 5379 int main() { |
5362 main() | 5380 main() |
5363 ; return 0; } | 5381 ; return 0; } |
5364 EOF | 5382 EOF |
5365 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5383 if { (eval echo configure:5384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5366 rm -rf conftest* | 5384 rm -rf conftest* |
5367 eval "ac_cv_lib_$ac_lib_var=yes" | 5385 eval "ac_cv_lib_$ac_lib_var=yes" |
5368 else | 5386 else |
5369 echo "configure: failed program was:" >&5 | 5387 echo "configure: failed program was:" >&5 |
5370 cat conftest.$ac_ext >&5 | 5388 cat conftest.$ac_ext >&5 |
5381 echo "$ac_t""no" 1>&6 | 5399 echo "$ac_t""no" 1>&6 |
5382 fi | 5400 fi |
5383 | 5401 |
5384 | 5402 |
5385 cat > conftest.$ac_ext <<EOF | 5403 cat > conftest.$ac_ext <<EOF |
5386 #line 5387 "configure" | 5404 #line 5405 "configure" |
5387 #include "confdefs.h" | 5405 #include "confdefs.h" |
5388 #include <glade/glade-xml.h> | 5406 #include <glade/glade-xml.h> |
5389 EOF | 5407 EOF |
5390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5391 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5409 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5439 # If we find X, set shell vars x_includes and x_libraries to the | 5457 # If we find X, set shell vars x_includes and x_libraries to the |
5440 # paths, otherwise set no_x=yes. | 5458 # paths, otherwise set no_x=yes. |
5441 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5459 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5442 # --without-x overrides everything else, but does not touch the cache. | 5460 # --without-x overrides everything else, but does not touch the cache. |
5443 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5461 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5444 echo "configure:5445: checking for X" >&5 | 5462 echo "configure:5463: checking for X" >&5 |
5445 | 5463 |
5446 # Check whether --with-x or --without-x was given. | 5464 # Check whether --with-x or --without-x was given. |
5447 if test "${with_x+set}" = set; then | 5465 if test "${with_x+set}" = set; then |
5448 withval="$with_x" | 5466 withval="$with_x" |
5449 : | 5467 : |
5499 # Guess where to find include files, by looking for this one X11 .h file. | 5517 # Guess where to find include files, by looking for this one X11 .h file. |
5500 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5518 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5501 | 5519 |
5502 # First, try using that file with no special directory specified. | 5520 # First, try using that file with no special directory specified. |
5503 cat > conftest.$ac_ext <<EOF | 5521 cat > conftest.$ac_ext <<EOF |
5504 #line 5505 "configure" | 5522 #line 5523 "configure" |
5505 #include "confdefs.h" | 5523 #include "confdefs.h" |
5506 #include <$x_direct_test_include> | 5524 #include <$x_direct_test_include> |
5507 EOF | 5525 EOF |
5508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5509 { (eval echo configure:5510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5527 { (eval echo configure:5528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5511 if test -z "$ac_err"; then | 5529 if test -z "$ac_err"; then |
5512 rm -rf conftest* | 5530 rm -rf conftest* |
5513 # We can compile using X headers with no special include directory. | 5531 # We can compile using X headers with no special include directory. |
5514 ac_x_includes= | 5532 ac_x_includes= |
5573 # See if we find them without any special options. | 5591 # See if we find them without any special options. |
5574 # Don't add to $LIBS permanently. | 5592 # Don't add to $LIBS permanently. |
5575 ac_save_LIBS="$LIBS" | 5593 ac_save_LIBS="$LIBS" |
5576 LIBS="-l$x_direct_test_library $LIBS" | 5594 LIBS="-l$x_direct_test_library $LIBS" |
5577 cat > conftest.$ac_ext <<EOF | 5595 cat > conftest.$ac_ext <<EOF |
5578 #line 5579 "configure" | 5596 #line 5597 "configure" |
5579 #include "confdefs.h" | 5597 #include "confdefs.h" |
5580 | 5598 |
5581 int main() { | 5599 int main() { |
5582 ${x_direct_test_function}() | 5600 ${x_direct_test_function}() |
5583 ; return 0; } | 5601 ; return 0; } |
5584 EOF | 5602 EOF |
5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5603 if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5586 rm -rf conftest* | 5604 rm -rf conftest* |
5587 LIBS="$ac_save_LIBS" | 5605 LIBS="$ac_save_LIBS" |
5588 # We can link X programs with no special library path. | 5606 # We can link X programs with no special library path. |
5589 ac_x_libraries= | 5607 ac_x_libraries= |
5590 else | 5608 else |
5689 # For Solaris; some versions of Sun CC require a space after -R and | 5707 # For Solaris; some versions of Sun CC require a space after -R and |
5690 # others require no space. Words are not sufficient . . . . | 5708 # others require no space. Words are not sufficient . . . . |
5691 case "`(uname -sr) 2>/dev/null`" in | 5709 case "`(uname -sr) 2>/dev/null`" in |
5692 "SunOS 5"*) | 5710 "SunOS 5"*) |
5693 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5711 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5694 echo "configure:5695: checking whether -R must be followed by a space" >&5 | 5712 echo "configure:5713: checking whether -R must be followed by a space" >&5 |
5695 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5713 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5696 cat > conftest.$ac_ext <<EOF | 5714 cat > conftest.$ac_ext <<EOF |
5697 #line 5698 "configure" | 5715 #line 5716 "configure" |
5698 #include "confdefs.h" | 5716 #include "confdefs.h" |
5699 | 5717 |
5700 int main() { | 5718 int main() { |
5701 | 5719 |
5702 ; return 0; } | 5720 ; return 0; } |
5703 EOF | 5721 EOF |
5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5722 if { (eval echo configure:5723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5705 rm -rf conftest* | 5723 rm -rf conftest* |
5706 ac_R_nospace=yes | 5724 ac_R_nospace=yes |
5707 else | 5725 else |
5708 echo "configure: failed program was:" >&5 | 5726 echo "configure: failed program was:" >&5 |
5709 cat conftest.$ac_ext >&5 | 5727 cat conftest.$ac_ext >&5 |
5715 echo "$ac_t""no" 1>&6 | 5733 echo "$ac_t""no" 1>&6 |
5716 X_LIBS="$X_LIBS -R$x_libraries" | 5734 X_LIBS="$X_LIBS -R$x_libraries" |
5717 else | 5735 else |
5718 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5736 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5719 cat > conftest.$ac_ext <<EOF | 5737 cat > conftest.$ac_ext <<EOF |
5720 #line 5721 "configure" | 5738 #line 5739 "configure" |
5721 #include "confdefs.h" | 5739 #include "confdefs.h" |
5722 | 5740 |
5723 int main() { | 5741 int main() { |
5724 | 5742 |
5725 ; return 0; } | 5743 ; return 0; } |
5726 EOF | 5744 EOF |
5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5745 if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5728 rm -rf conftest* | 5746 rm -rf conftest* |
5729 ac_R_space=yes | 5747 ac_R_space=yes |
5730 else | 5748 else |
5731 echo "configure: failed program was:" >&5 | 5749 echo "configure: failed program was:" >&5 |
5732 cat conftest.$ac_ext >&5 | 5750 cat conftest.$ac_ext >&5 |
5758 if test "$with_dnet" = "no" ; then | 5776 if test "$with_dnet" = "no" ; then |
5759 ac_cv_lib_dnet_dnet_ntoa=no | 5777 ac_cv_lib_dnet_dnet_ntoa=no |
5760 else | 5778 else |
5761 | 5779 |
5762 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5780 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5763 echo "configure:5764: checking for dnet_ntoa in -ldnet" >&5 | 5781 echo "configure:5782: checking for dnet_ntoa in -ldnet" >&5 |
5764 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5782 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5765 | 5783 |
5766 xe_check_libs=" -ldnet " | 5784 xe_check_libs=" -ldnet " |
5767 cat > conftest.$ac_ext <<EOF | 5785 cat > conftest.$ac_ext <<EOF |
5768 #line 5769 "configure" | 5786 #line 5787 "configure" |
5769 #include "confdefs.h" | 5787 #include "confdefs.h" |
5770 /* Override any gcc2 internal prototype to avoid an error. */ | 5788 /* Override any gcc2 internal prototype to avoid an error. */ |
5771 /* We use char because int might match the return type of a gcc2 | 5789 /* We use char because int might match the return type of a gcc2 |
5772 builtin and then its argument prototype would still apply. */ | 5790 builtin and then its argument prototype would still apply. */ |
5773 char dnet_ntoa(); | 5791 char dnet_ntoa(); |
5774 | 5792 |
5775 int main() { | 5793 int main() { |
5776 dnet_ntoa() | 5794 dnet_ntoa() |
5777 ; return 0; } | 5795 ; return 0; } |
5778 EOF | 5796 EOF |
5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5797 if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5780 rm -rf conftest* | 5798 rm -rf conftest* |
5781 eval "ac_cv_lib_$ac_lib_var=yes" | 5799 eval "ac_cv_lib_$ac_lib_var=yes" |
5782 else | 5800 else |
5783 echo "configure: failed program was:" >&5 | 5801 echo "configure: failed program was:" >&5 |
5784 cat conftest.$ac_ext >&5 | 5802 cat conftest.$ac_ext >&5 |
5798 fi | 5816 fi |
5799 | 5817 |
5800 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5818 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5801 | 5819 |
5802 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5820 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5803 echo "configure:5804: checking for dnet_ntoa in -ldnet_stub" >&5 | 5821 echo "configure:5822: checking for dnet_ntoa in -ldnet_stub" >&5 |
5804 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5822 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5805 | 5823 |
5806 xe_check_libs=" -ldnet_stub " | 5824 xe_check_libs=" -ldnet_stub " |
5807 cat > conftest.$ac_ext <<EOF | 5825 cat > conftest.$ac_ext <<EOF |
5808 #line 5809 "configure" | 5826 #line 5827 "configure" |
5809 #include "confdefs.h" | 5827 #include "confdefs.h" |
5810 /* Override any gcc2 internal prototype to avoid an error. */ | 5828 /* Override any gcc2 internal prototype to avoid an error. */ |
5811 /* We use char because int might match the return type of a gcc2 | 5829 /* We use char because int might match the return type of a gcc2 |
5812 builtin and then its argument prototype would still apply. */ | 5830 builtin and then its argument prototype would still apply. */ |
5813 char dnet_ntoa(); | 5831 char dnet_ntoa(); |
5814 | 5832 |
5815 int main() { | 5833 int main() { |
5816 dnet_ntoa() | 5834 dnet_ntoa() |
5817 ; return 0; } | 5835 ; return 0; } |
5818 EOF | 5836 EOF |
5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5837 if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5820 rm -rf conftest* | 5838 rm -rf conftest* |
5821 eval "ac_cv_lib_$ac_lib_var=yes" | 5839 eval "ac_cv_lib_$ac_lib_var=yes" |
5822 else | 5840 else |
5823 echo "configure: failed program was:" >&5 | 5841 echo "configure: failed program was:" >&5 |
5824 cat conftest.$ac_ext >&5 | 5842 cat conftest.$ac_ext >&5 |
5843 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5861 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5844 # needs -lnsl. | 5862 # needs -lnsl. |
5845 # The nsl library prevents programs from opening the X display | 5863 # The nsl library prevents programs from opening the X display |
5846 # on Irix 5.2, according to dickey@clark.net. | 5864 # on Irix 5.2, according to dickey@clark.net. |
5847 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5865 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5848 echo "configure:5849: checking for gethostbyname" >&5 | 5866 echo "configure:5867: checking for gethostbyname" >&5 |
5849 | 5867 |
5850 cat > conftest.$ac_ext <<EOF | 5868 cat > conftest.$ac_ext <<EOF |
5851 #line 5852 "configure" | 5869 #line 5870 "configure" |
5852 #include "confdefs.h" | 5870 #include "confdefs.h" |
5853 /* System header to define __stub macros and hopefully few prototypes, | 5871 /* System header to define __stub macros and hopefully few prototypes, |
5854 which can conflict with char gethostbyname(); below. */ | 5872 which can conflict with char gethostbyname(); below. */ |
5855 #include <assert.h> | 5873 #include <assert.h> |
5856 /* Override any gcc2 internal prototype to avoid an error. */ | 5874 /* Override any gcc2 internal prototype to avoid an error. */ |
5869 gethostbyname(); | 5887 gethostbyname(); |
5870 #endif | 5888 #endif |
5871 | 5889 |
5872 ; return 0; } | 5890 ; return 0; } |
5873 EOF | 5891 EOF |
5874 if { (eval echo configure:5875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5892 if { (eval echo configure:5893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5875 rm -rf conftest* | 5893 rm -rf conftest* |
5876 eval "ac_cv_func_gethostbyname=yes" | 5894 eval "ac_cv_func_gethostbyname=yes" |
5877 else | 5895 else |
5878 echo "configure: failed program was:" >&5 | 5896 echo "configure: failed program was:" >&5 |
5879 cat conftest.$ac_ext >&5 | 5897 cat conftest.$ac_ext >&5 |
5890 fi | 5908 fi |
5891 | 5909 |
5892 if test $ac_cv_func_gethostbyname = no; then | 5910 if test $ac_cv_func_gethostbyname = no; then |
5893 | 5911 |
5894 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5912 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5895 echo "configure:5896: checking for gethostbyname in -lnsl" >&5 | 5913 echo "configure:5914: checking for gethostbyname in -lnsl" >&5 |
5896 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5914 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5897 | 5915 |
5898 xe_check_libs=" -lnsl " | 5916 xe_check_libs=" -lnsl " |
5899 cat > conftest.$ac_ext <<EOF | 5917 cat > conftest.$ac_ext <<EOF |
5900 #line 5901 "configure" | 5918 #line 5919 "configure" |
5901 #include "confdefs.h" | 5919 #include "confdefs.h" |
5902 /* Override any gcc2 internal prototype to avoid an error. */ | 5920 /* Override any gcc2 internal prototype to avoid an error. */ |
5903 /* We use char because int might match the return type of a gcc2 | 5921 /* We use char because int might match the return type of a gcc2 |
5904 builtin and then its argument prototype would still apply. */ | 5922 builtin and then its argument prototype would still apply. */ |
5905 char gethostbyname(); | 5923 char gethostbyname(); |
5906 | 5924 |
5907 int main() { | 5925 int main() { |
5908 gethostbyname() | 5926 gethostbyname() |
5909 ; return 0; } | 5927 ; return 0; } |
5910 EOF | 5928 EOF |
5911 if { (eval echo configure:5912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5929 if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5912 rm -rf conftest* | 5930 rm -rf conftest* |
5913 eval "ac_cv_lib_$ac_lib_var=yes" | 5931 eval "ac_cv_lib_$ac_lib_var=yes" |
5914 else | 5932 else |
5915 echo "configure: failed program was:" >&5 | 5933 echo "configure: failed program was:" >&5 |
5916 cat conftest.$ac_ext >&5 | 5934 cat conftest.$ac_ext >&5 |
5936 # on later versions), says simon@lia.di.epfl.ch: it contains | 5954 # on later versions), says simon@lia.di.epfl.ch: it contains |
5937 # gethostby* variants that don't use the nameserver (or something). | 5955 # gethostby* variants that don't use the nameserver (or something). |
5938 # -lsocket must be given before -lnsl if both are needed. | 5956 # -lsocket must be given before -lnsl if both are needed. |
5939 # We assume that if connect needs -lnsl, so does gethostbyname. | 5957 # We assume that if connect needs -lnsl, so does gethostbyname. |
5940 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5958 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5941 echo "configure:5942: checking for connect" >&5 | 5959 echo "configure:5960: checking for connect" >&5 |
5942 | 5960 |
5943 cat > conftest.$ac_ext <<EOF | 5961 cat > conftest.$ac_ext <<EOF |
5944 #line 5945 "configure" | 5962 #line 5963 "configure" |
5945 #include "confdefs.h" | 5963 #include "confdefs.h" |
5946 /* System header to define __stub macros and hopefully few prototypes, | 5964 /* System header to define __stub macros and hopefully few prototypes, |
5947 which can conflict with char connect(); below. */ | 5965 which can conflict with char connect(); below. */ |
5948 #include <assert.h> | 5966 #include <assert.h> |
5949 /* Override any gcc2 internal prototype to avoid an error. */ | 5967 /* Override any gcc2 internal prototype to avoid an error. */ |
5962 connect(); | 5980 connect(); |
5963 #endif | 5981 #endif |
5964 | 5982 |
5965 ; return 0; } | 5983 ; return 0; } |
5966 EOF | 5984 EOF |
5967 if { (eval echo configure:5968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5985 if { (eval echo configure:5986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5968 rm -rf conftest* | 5986 rm -rf conftest* |
5969 eval "ac_cv_func_connect=yes" | 5987 eval "ac_cv_func_connect=yes" |
5970 else | 5988 else |
5971 echo "configure: failed program was:" >&5 | 5989 echo "configure: failed program was:" >&5 |
5972 cat conftest.$ac_ext >&5 | 5990 cat conftest.$ac_ext >&5 |
5985 if test $ac_cv_func_connect = no; then | 6003 if test $ac_cv_func_connect = no; then |
5986 | 6004 |
5987 xe_msg_checking="for connect in -lsocket" | 6005 xe_msg_checking="for connect in -lsocket" |
5988 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6006 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5989 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6007 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5990 echo "configure:5991: checking "$xe_msg_checking"" >&5 | 6008 echo "configure:6009: checking "$xe_msg_checking"" >&5 |
5991 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6009 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5992 | 6010 |
5993 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6011 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5994 cat > conftest.$ac_ext <<EOF | 6012 cat > conftest.$ac_ext <<EOF |
5995 #line 5996 "configure" | 6013 #line 6014 "configure" |
5996 #include "confdefs.h" | 6014 #include "confdefs.h" |
5997 /* Override any gcc2 internal prototype to avoid an error. */ | 6015 /* Override any gcc2 internal prototype to avoid an error. */ |
5998 /* We use char because int might match the return type of a gcc2 | 6016 /* We use char because int might match the return type of a gcc2 |
5999 builtin and then its argument prototype would still apply. */ | 6017 builtin and then its argument prototype would still apply. */ |
6000 char connect(); | 6018 char connect(); |
6001 | 6019 |
6002 int main() { | 6020 int main() { |
6003 connect() | 6021 connect() |
6004 ; return 0; } | 6022 ; return 0; } |
6005 EOF | 6023 EOF |
6006 if { (eval echo configure:6007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6024 if { (eval echo configure:6025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6007 rm -rf conftest* | 6025 rm -rf conftest* |
6008 eval "ac_cv_lib_$ac_lib_var=yes" | 6026 eval "ac_cv_lib_$ac_lib_var=yes" |
6009 else | 6027 else |
6010 echo "configure: failed program was:" >&5 | 6028 echo "configure: failed program was:" >&5 |
6011 cat conftest.$ac_ext >&5 | 6029 cat conftest.$ac_ext >&5 |
6025 | 6043 |
6026 fi | 6044 fi |
6027 | 6045 |
6028 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6046 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6029 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6047 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6030 echo "configure:6031: checking for remove" >&5 | 6048 echo "configure:6049: checking for remove" >&5 |
6031 | 6049 |
6032 cat > conftest.$ac_ext <<EOF | 6050 cat > conftest.$ac_ext <<EOF |
6033 #line 6034 "configure" | 6051 #line 6052 "configure" |
6034 #include "confdefs.h" | 6052 #include "confdefs.h" |
6035 /* System header to define __stub macros and hopefully few prototypes, | 6053 /* System header to define __stub macros and hopefully few prototypes, |
6036 which can conflict with char remove(); below. */ | 6054 which can conflict with char remove(); below. */ |
6037 #include <assert.h> | 6055 #include <assert.h> |
6038 /* Override any gcc2 internal prototype to avoid an error. */ | 6056 /* Override any gcc2 internal prototype to avoid an error. */ |
6051 remove(); | 6069 remove(); |
6052 #endif | 6070 #endif |
6053 | 6071 |
6054 ; return 0; } | 6072 ; return 0; } |
6055 EOF | 6073 EOF |
6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6074 if { (eval echo configure:6075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6057 rm -rf conftest* | 6075 rm -rf conftest* |
6058 eval "ac_cv_func_remove=yes" | 6076 eval "ac_cv_func_remove=yes" |
6059 else | 6077 else |
6060 echo "configure: failed program was:" >&5 | 6078 echo "configure: failed program was:" >&5 |
6061 cat conftest.$ac_ext >&5 | 6079 cat conftest.$ac_ext >&5 |
6072 fi | 6090 fi |
6073 | 6091 |
6074 if test $ac_cv_func_remove = no; then | 6092 if test $ac_cv_func_remove = no; then |
6075 | 6093 |
6076 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6094 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6077 echo "configure:6078: checking for remove in -lposix" >&5 | 6095 echo "configure:6096: checking for remove in -lposix" >&5 |
6078 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6096 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6079 | 6097 |
6080 xe_check_libs=" -lposix " | 6098 xe_check_libs=" -lposix " |
6081 cat > conftest.$ac_ext <<EOF | 6099 cat > conftest.$ac_ext <<EOF |
6082 #line 6083 "configure" | 6100 #line 6101 "configure" |
6083 #include "confdefs.h" | 6101 #include "confdefs.h" |
6084 /* Override any gcc2 internal prototype to avoid an error. */ | 6102 /* Override any gcc2 internal prototype to avoid an error. */ |
6085 /* We use char because int might match the return type of a gcc2 | 6103 /* We use char because int might match the return type of a gcc2 |
6086 builtin and then its argument prototype would still apply. */ | 6104 builtin and then its argument prototype would still apply. */ |
6087 char remove(); | 6105 char remove(); |
6088 | 6106 |
6089 int main() { | 6107 int main() { |
6090 remove() | 6108 remove() |
6091 ; return 0; } | 6109 ; return 0; } |
6092 EOF | 6110 EOF |
6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6094 rm -rf conftest* | 6112 rm -rf conftest* |
6095 eval "ac_cv_lib_$ac_lib_var=yes" | 6113 eval "ac_cv_lib_$ac_lib_var=yes" |
6096 else | 6114 else |
6097 echo "configure: failed program was:" >&5 | 6115 echo "configure: failed program was:" >&5 |
6098 cat conftest.$ac_ext >&5 | 6116 cat conftest.$ac_ext >&5 |
6112 | 6130 |
6113 fi | 6131 fi |
6114 | 6132 |
6115 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6133 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6116 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6134 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6117 echo "configure:6118: checking for shmat" >&5 | 6135 echo "configure:6136: checking for shmat" >&5 |
6118 | 6136 |
6119 cat > conftest.$ac_ext <<EOF | 6137 cat > conftest.$ac_ext <<EOF |
6120 #line 6121 "configure" | 6138 #line 6139 "configure" |
6121 #include "confdefs.h" | 6139 #include "confdefs.h" |
6122 /* System header to define __stub macros and hopefully few prototypes, | 6140 /* System header to define __stub macros and hopefully few prototypes, |
6123 which can conflict with char shmat(); below. */ | 6141 which can conflict with char shmat(); below. */ |
6124 #include <assert.h> | 6142 #include <assert.h> |
6125 /* Override any gcc2 internal prototype to avoid an error. */ | 6143 /* Override any gcc2 internal prototype to avoid an error. */ |
6138 shmat(); | 6156 shmat(); |
6139 #endif | 6157 #endif |
6140 | 6158 |
6141 ; return 0; } | 6159 ; return 0; } |
6142 EOF | 6160 EOF |
6143 if { (eval echo configure:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6144 rm -rf conftest* | 6162 rm -rf conftest* |
6145 eval "ac_cv_func_shmat=yes" | 6163 eval "ac_cv_func_shmat=yes" |
6146 else | 6164 else |
6147 echo "configure: failed program was:" >&5 | 6165 echo "configure: failed program was:" >&5 |
6148 cat conftest.$ac_ext >&5 | 6166 cat conftest.$ac_ext >&5 |
6159 fi | 6177 fi |
6160 | 6178 |
6161 if test $ac_cv_func_shmat = no; then | 6179 if test $ac_cv_func_shmat = no; then |
6162 | 6180 |
6163 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6181 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6164 echo "configure:6165: checking for shmat in -lipc" >&5 | 6182 echo "configure:6183: checking for shmat in -lipc" >&5 |
6165 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6183 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6166 | 6184 |
6167 xe_check_libs=" -lipc " | 6185 xe_check_libs=" -lipc " |
6168 cat > conftest.$ac_ext <<EOF | 6186 cat > conftest.$ac_ext <<EOF |
6169 #line 6170 "configure" | 6187 #line 6188 "configure" |
6170 #include "confdefs.h" | 6188 #include "confdefs.h" |
6171 /* Override any gcc2 internal prototype to avoid an error. */ | 6189 /* Override any gcc2 internal prototype to avoid an error. */ |
6172 /* We use char because int might match the return type of a gcc2 | 6190 /* We use char because int might match the return type of a gcc2 |
6173 builtin and then its argument prototype would still apply. */ | 6191 builtin and then its argument prototype would still apply. */ |
6174 char shmat(); | 6192 char shmat(); |
6175 | 6193 |
6176 int main() { | 6194 int main() { |
6177 shmat() | 6195 shmat() |
6178 ; return 0; } | 6196 ; return 0; } |
6179 EOF | 6197 EOF |
6180 if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6198 if { (eval echo configure:6199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6181 rm -rf conftest* | 6199 rm -rf conftest* |
6182 eval "ac_cv_lib_$ac_lib_var=yes" | 6200 eval "ac_cv_lib_$ac_lib_var=yes" |
6183 else | 6201 else |
6184 echo "configure: failed program was:" >&5 | 6202 echo "configure: failed program was:" >&5 |
6185 cat conftest.$ac_ext >&5 | 6203 cat conftest.$ac_ext >&5 |
6211 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6229 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6212 | 6230 |
6213 xe_msg_checking="for IceConnectionNumber in -lICE" | 6231 xe_msg_checking="for IceConnectionNumber in -lICE" |
6214 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6232 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6215 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6233 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6216 echo "configure:6217: checking "$xe_msg_checking"" >&5 | 6234 echo "configure:6235: checking "$xe_msg_checking"" >&5 |
6217 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6235 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6218 | 6236 |
6219 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6237 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6220 cat > conftest.$ac_ext <<EOF | 6238 cat > conftest.$ac_ext <<EOF |
6221 #line 6222 "configure" | 6239 #line 6240 "configure" |
6222 #include "confdefs.h" | 6240 #include "confdefs.h" |
6223 /* Override any gcc2 internal prototype to avoid an error. */ | 6241 /* Override any gcc2 internal prototype to avoid an error. */ |
6224 /* We use char because int might match the return type of a gcc2 | 6242 /* We use char because int might match the return type of a gcc2 |
6225 builtin and then its argument prototype would still apply. */ | 6243 builtin and then its argument prototype would still apply. */ |
6226 char IceConnectionNumber(); | 6244 char IceConnectionNumber(); |
6227 | 6245 |
6228 int main() { | 6246 int main() { |
6229 IceConnectionNumber() | 6247 IceConnectionNumber() |
6230 ; return 0; } | 6248 ; return 0; } |
6231 EOF | 6249 EOF |
6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6233 rm -rf conftest* | 6251 rm -rf conftest* |
6234 eval "ac_cv_lib_$ac_lib_var=yes" | 6252 eval "ac_cv_lib_$ac_lib_var=yes" |
6235 else | 6253 else |
6236 echo "configure: failed program was:" >&5 | 6254 echo "configure: failed program was:" >&5 |
6237 cat conftest.$ac_ext >&5 | 6255 cat conftest.$ac_ext >&5 |
6394 EOF | 6412 EOF |
6395 } | 6413 } |
6396 | 6414 |
6397 | 6415 |
6398 echo "checking for X defines extracted by xmkmf" 1>&6 | 6416 echo "checking for X defines extracted by xmkmf" 1>&6 |
6399 echo "configure:6400: checking for X defines extracted by xmkmf" >&5 | 6417 echo "configure:6418: checking for X defines extracted by xmkmf" >&5 |
6400 rm -fr conftestdir | 6418 rm -fr conftestdir |
6401 if mkdir conftestdir; then | 6419 if mkdir conftestdir; then |
6402 cd conftestdir | 6420 cd conftestdir |
6403 cat > Imakefile <<'EOF' | 6421 cat > Imakefile <<'EOF' |
6404 xetest: | 6422 xetest: |
6443 done | 6461 done |
6444 fi | 6462 fi |
6445 | 6463 |
6446 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6464 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6447 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6465 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6448 echo "configure:6449: checking for X11/Intrinsic.h" >&5 | 6466 echo "configure:6467: checking for X11/Intrinsic.h" >&5 |
6449 | 6467 |
6450 cat > conftest.$ac_ext <<EOF | 6468 cat > conftest.$ac_ext <<EOF |
6451 #line 6452 "configure" | 6469 #line 6470 "configure" |
6452 #include "confdefs.h" | 6470 #include "confdefs.h" |
6453 #include <X11/Intrinsic.h> | 6471 #include <X11/Intrinsic.h> |
6454 EOF | 6472 EOF |
6455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6456 { (eval echo configure:6457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6474 { (eval echo configure:6475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6458 if test -z "$ac_err"; then | 6476 if test -z "$ac_err"; then |
6459 rm -rf conftest* | 6477 rm -rf conftest* |
6460 eval "ac_cv_header_$ac_safe=yes" | 6478 eval "ac_cv_header_$ac_safe=yes" |
6461 else | 6479 else |
6469 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6470 echo "$ac_t""yes" 1>&6 | 6488 echo "$ac_t""yes" 1>&6 |
6471 : | 6489 : |
6472 else | 6490 else |
6473 echo "$ac_t""no" 1>&6 | 6491 echo "$ac_t""no" 1>&6 |
6474 { echo "configure: error: "Unable to find X11 header files."" 1>&2; exit 1; } | 6492 { echo "configure: error: Unable to find X11 header files." 1>&2; exit 1; } |
6475 fi | 6493 fi |
6476 | 6494 |
6477 | 6495 |
6478 | 6496 |
6479 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6497 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6480 echo "configure:6481: checking for XOpenDisplay in -lX11" >&5 | 6498 echo "configure:6499: checking for XOpenDisplay in -lX11" >&5 |
6481 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6499 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6482 | 6500 |
6483 xe_check_libs=" -lX11 " | 6501 xe_check_libs=" -lX11 " |
6484 cat > conftest.$ac_ext <<EOF | 6502 cat > conftest.$ac_ext <<EOF |
6485 #line 6486 "configure" | 6503 #line 6504 "configure" |
6486 #include "confdefs.h" | 6504 #include "confdefs.h" |
6487 /* Override any gcc2 internal prototype to avoid an error. */ | 6505 /* Override any gcc2 internal prototype to avoid an error. */ |
6488 /* We use char because int might match the return type of a gcc2 | 6506 /* We use char because int might match the return type of a gcc2 |
6489 builtin and then its argument prototype would still apply. */ | 6507 builtin and then its argument prototype would still apply. */ |
6490 char XOpenDisplay(); | 6508 char XOpenDisplay(); |
6491 | 6509 |
6492 int main() { | 6510 int main() { |
6493 XOpenDisplay() | 6511 XOpenDisplay() |
6494 ; return 0; } | 6512 ; return 0; } |
6495 EOF | 6513 EOF |
6496 if { (eval echo configure:6497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6514 if { (eval echo configure:6515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6497 rm -rf conftest* | 6515 rm -rf conftest* |
6498 eval "ac_cv_lib_$ac_lib_var=yes" | 6516 eval "ac_cv_lib_$ac_lib_var=yes" |
6499 else | 6517 else |
6500 echo "configure: failed program was:" >&5 | 6518 echo "configure: failed program was:" >&5 |
6501 cat conftest.$ac_ext >&5 | 6519 cat conftest.$ac_ext >&5 |
6516 if test "$have_lib_x11" != "yes"; then | 6534 if test "$have_lib_x11" != "yes"; then |
6517 | 6535 |
6518 xe_msg_checking="for XGetFontProperty in -lX11" | 6536 xe_msg_checking="for XGetFontProperty in -lX11" |
6519 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6537 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6520 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6538 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6521 echo "configure:6522: checking "$xe_msg_checking"" >&5 | 6539 echo "configure:6540: checking "$xe_msg_checking"" >&5 |
6522 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6540 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6523 | 6541 |
6524 xe_check_libs=" -lX11 -b i486-linuxaout" | 6542 xe_check_libs=" -lX11 -b i486-linuxaout" |
6525 cat > conftest.$ac_ext <<EOF | 6543 cat > conftest.$ac_ext <<EOF |
6526 #line 6527 "configure" | 6544 #line 6545 "configure" |
6527 #include "confdefs.h" | 6545 #include "confdefs.h" |
6528 /* Override any gcc2 internal prototype to avoid an error. */ | 6546 /* Override any gcc2 internal prototype to avoid an error. */ |
6529 /* We use char because int might match the return type of a gcc2 | 6547 /* We use char because int might match the return type of a gcc2 |
6530 builtin and then its argument prototype would still apply. */ | 6548 builtin and then its argument prototype would still apply. */ |
6531 char XGetFontProperty(); | 6549 char XGetFontProperty(); |
6532 | 6550 |
6533 int main() { | 6551 int main() { |
6534 XGetFontProperty() | 6552 XGetFontProperty() |
6535 ; return 0; } | 6553 ; return 0; } |
6536 EOF | 6554 EOF |
6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6555 if { (eval echo configure:6556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6538 rm -rf conftest* | 6556 rm -rf conftest* |
6539 eval "ac_cv_lib_$ac_lib_var=yes" | 6557 eval "ac_cv_lib_$ac_lib_var=yes" |
6540 else | 6558 else |
6541 echo "configure: failed program was:" >&5 | 6559 echo "configure: failed program was:" >&5 |
6542 cat conftest.$ac_ext >&5 | 6560 cat conftest.$ac_ext >&5 |
6549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6567 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6550 echo "$ac_t""yes" 1>&6 | 6568 echo "$ac_t""yes" 1>&6 |
6551 ld_switch_x_site="-b i486-linuxaout $ld_switch_x_site" | 6569 ld_switch_x_site="-b i486-linuxaout $ld_switch_x_site" |
6552 else | 6570 else |
6553 echo "$ac_t""no" 1>&6 | 6571 echo "$ac_t""no" 1>&6 |
6554 { echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; } | 6572 { echo "configure: error: Unable to find X11 libraries." 1>&2; exit 1; } |
6555 fi | 6573 fi |
6556 | 6574 |
6557 | 6575 |
6558 fi | 6576 fi |
6559 libs_x="-lX11" | 6577 libs_x="-lX11" |
6560 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6578 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6561 | 6579 |
6562 | 6580 |
6563 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6581 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6564 echo "configure:6565: checking for XShapeSelectInput in -lXext" >&5 | 6582 echo "configure:6583: checking for XShapeSelectInput in -lXext" >&5 |
6565 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6583 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6566 | 6584 |
6567 xe_check_libs=" -lXext " | 6585 xe_check_libs=" -lXext " |
6568 cat > conftest.$ac_ext <<EOF | 6586 cat > conftest.$ac_ext <<EOF |
6569 #line 6570 "configure" | 6587 #line 6588 "configure" |
6570 #include "confdefs.h" | 6588 #include "confdefs.h" |
6571 /* Override any gcc2 internal prototype to avoid an error. */ | 6589 /* Override any gcc2 internal prototype to avoid an error. */ |
6572 /* We use char because int might match the return type of a gcc2 | 6590 /* We use char because int might match the return type of a gcc2 |
6573 builtin and then its argument prototype would still apply. */ | 6591 builtin and then its argument prototype would still apply. */ |
6574 char XShapeSelectInput(); | 6592 char XShapeSelectInput(); |
6575 | 6593 |
6576 int main() { | 6594 int main() { |
6577 XShapeSelectInput() | 6595 XShapeSelectInput() |
6578 ; return 0; } | 6596 ; return 0; } |
6579 EOF | 6597 EOF |
6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6598 if { (eval echo configure:6599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6581 rm -rf conftest* | 6599 rm -rf conftest* |
6582 eval "ac_cv_lib_$ac_lib_var=yes" | 6600 eval "ac_cv_lib_$ac_lib_var=yes" |
6583 else | 6601 else |
6584 echo "configure: failed program was:" >&5 | 6602 echo "configure: failed program was:" >&5 |
6585 cat conftest.$ac_ext >&5 | 6603 cat conftest.$ac_ext >&5 |
6598 | 6616 |
6599 | 6617 |
6600 | 6618 |
6601 | 6619 |
6602 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6620 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6603 echo "configure:6604: checking for XtOpenDisplay in -lXt" >&5 | 6621 echo "configure:6622: checking for XtOpenDisplay in -lXt" >&5 |
6604 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6622 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6605 | 6623 |
6606 xe_check_libs=" -lXt " | 6624 xe_check_libs=" -lXt " |
6607 cat > conftest.$ac_ext <<EOF | 6625 cat > conftest.$ac_ext <<EOF |
6608 #line 6609 "configure" | 6626 #line 6627 "configure" |
6609 #include "confdefs.h" | 6627 #include "confdefs.h" |
6610 /* Override any gcc2 internal prototype to avoid an error. */ | 6628 /* Override any gcc2 internal prototype to avoid an error. */ |
6611 /* We use char because int might match the return type of a gcc2 | 6629 /* We use char because int might match the return type of a gcc2 |
6612 builtin and then its argument prototype would still apply. */ | 6630 builtin and then its argument prototype would still apply. */ |
6613 char XtOpenDisplay(); | 6631 char XtOpenDisplay(); |
6614 | 6632 |
6615 int main() { | 6633 int main() { |
6616 XtOpenDisplay() | 6634 XtOpenDisplay() |
6617 ; return 0; } | 6635 ; return 0; } |
6618 EOF | 6636 EOF |
6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6620 rm -rf conftest* | 6638 rm -rf conftest* |
6621 eval "ac_cv_lib_$ac_lib_var=yes" | 6639 eval "ac_cv_lib_$ac_lib_var=yes" |
6622 else | 6640 else |
6623 echo "configure: failed program was:" >&5 | 6641 echo "configure: failed program was:" >&5 |
6624 cat conftest.$ac_ext >&5 | 6642 cat conftest.$ac_ext >&5 |
6631 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6649 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6632 echo "$ac_t""yes" 1>&6 | 6650 echo "$ac_t""yes" 1>&6 |
6633 libs_x="-lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXt\" to \$libs_x"; fi | 6651 libs_x="-lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXt\" to \$libs_x"; fi |
6634 else | 6652 else |
6635 echo "$ac_t""no" 1>&6 | 6653 echo "$ac_t""no" 1>&6 |
6636 { echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; } | 6654 { echo "configure: error: Unable to find X11 libraries." 1>&2; exit 1; } |
6637 fi | 6655 fi |
6638 | 6656 |
6639 | 6657 |
6640 | 6658 |
6641 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6659 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6642 echo "configure:6643: checking the version of X11 being used" >&5 | 6660 echo "configure:6661: checking the version of X11 being used" >&5 |
6643 cat > conftest.$ac_ext <<EOF | 6661 cat > conftest.$ac_ext <<EOF |
6644 #line 6645 "configure" | 6662 #line 6663 "configure" |
6645 #include "confdefs.h" | 6663 #include "confdefs.h" |
6646 #include <X11/Intrinsic.h> | 6664 #include <X11/Intrinsic.h> |
6647 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6665 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6648 EOF | 6666 EOF |
6649 if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6667 if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6650 then | 6668 then |
6651 ./conftest foobar; x11_release=$? | 6669 ./conftest foobar; x11_release=$? |
6652 else | 6670 else |
6653 conftest_rc="$?" | 6671 conftest_rc="$?" |
6654 echo "configure: failed program was:" >&5 | 6672 echo "configure: failed program was:" >&5 |
6675 fi | 6693 fi |
6676 | 6694 |
6677 for ac_func in XConvertCase | 6695 for ac_func in XConvertCase |
6678 do | 6696 do |
6679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6680 echo "configure:6681: checking for $ac_func" >&5 | 6698 echo "configure:6699: checking for $ac_func" >&5 |
6681 | 6699 |
6682 cat > conftest.$ac_ext <<EOF | 6700 cat > conftest.$ac_ext <<EOF |
6683 #line 6684 "configure" | 6701 #line 6702 "configure" |
6684 #include "confdefs.h" | 6702 #include "confdefs.h" |
6685 /* System header to define __stub macros and hopefully few prototypes, | 6703 /* System header to define __stub macros and hopefully few prototypes, |
6686 which can conflict with char $ac_func(); below. */ | 6704 which can conflict with char $ac_func(); below. */ |
6687 #include <assert.h> | 6705 #include <assert.h> |
6688 /* Override any gcc2 internal prototype to avoid an error. */ | 6706 /* Override any gcc2 internal prototype to avoid an error. */ |
6701 $ac_func(); | 6719 $ac_func(); |
6702 #endif | 6720 #endif |
6703 | 6721 |
6704 ; return 0; } | 6722 ; return 0; } |
6705 EOF | 6723 EOF |
6706 if { (eval echo configure:6707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6707 rm -rf conftest* | 6725 rm -rf conftest* |
6708 eval "ac_cv_func_$ac_func=yes" | 6726 eval "ac_cv_func_$ac_func=yes" |
6709 else | 6727 else |
6710 echo "configure: failed program was:" >&5 | 6728 echo "configure: failed program was:" >&5 |
6711 cat conftest.$ac_ext >&5 | 6729 cat conftest.$ac_ext >&5 |
6733 | 6751 |
6734 for ac_hdr in X11/Xlocale.h | 6752 for ac_hdr in X11/Xlocale.h |
6735 do | 6753 do |
6736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6754 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6755 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6738 echo "configure:6739: checking for $ac_hdr" >&5 | 6756 echo "configure:6757: checking for $ac_hdr" >&5 |
6739 | 6757 |
6740 cat > conftest.$ac_ext <<EOF | 6758 cat > conftest.$ac_ext <<EOF |
6741 #line 6742 "configure" | 6759 #line 6760 "configure" |
6742 #include "confdefs.h" | 6760 #include "confdefs.h" |
6743 #include <$ac_hdr> | 6761 #include <$ac_hdr> |
6744 EOF | 6762 EOF |
6745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6746 { (eval echo configure:6747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6764 { (eval echo configure:6765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6748 if test -z "$ac_err"; then | 6766 if test -z "$ac_err"; then |
6749 rm -rf conftest* | 6767 rm -rf conftest* |
6750 eval "ac_cv_header_$ac_safe=yes" | 6768 eval "ac_cv_header_$ac_safe=yes" |
6751 else | 6769 else |
6774 | 6792 |
6775 | 6793 |
6776 for ac_func in XRegisterIMInstantiateCallback | 6794 for ac_func in XRegisterIMInstantiateCallback |
6777 do | 6795 do |
6778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6779 echo "configure:6780: checking for $ac_func" >&5 | 6797 echo "configure:6798: checking for $ac_func" >&5 |
6780 | 6798 |
6781 cat > conftest.$ac_ext <<EOF | 6799 cat > conftest.$ac_ext <<EOF |
6782 #line 6783 "configure" | 6800 #line 6801 "configure" |
6783 #include "confdefs.h" | 6801 #include "confdefs.h" |
6784 /* System header to define __stub macros and hopefully few prototypes, | 6802 /* System header to define __stub macros and hopefully few prototypes, |
6785 which can conflict with char $ac_func(); below. */ | 6803 which can conflict with char $ac_func(); below. */ |
6786 #include <assert.h> | 6804 #include <assert.h> |
6787 /* Override any gcc2 internal prototype to avoid an error. */ | 6805 /* Override any gcc2 internal prototype to avoid an error. */ |
6800 $ac_func(); | 6818 $ac_func(); |
6801 #endif | 6819 #endif |
6802 | 6820 |
6803 ; return 0; } | 6821 ; return 0; } |
6804 EOF | 6822 EOF |
6805 if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6823 if { (eval echo configure:6824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6806 rm -rf conftest* | 6824 rm -rf conftest* |
6807 eval "ac_cv_func_$ac_func=yes" | 6825 eval "ac_cv_func_$ac_func=yes" |
6808 else | 6826 else |
6809 echo "configure: failed program was:" >&5 | 6827 echo "configure: failed program was:" >&5 |
6810 cat conftest.$ac_ext >&5 | 6828 cat conftest.$ac_ext >&5 |
6828 echo "$ac_t""no" 1>&6 | 6846 echo "$ac_t""no" 1>&6 |
6829 fi | 6847 fi |
6830 done | 6848 done |
6831 | 6849 |
6832 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6850 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6833 echo "configure:6834: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6851 echo "configure:6852: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6834 cat > conftest.$ac_ext <<EOF | 6852 cat > conftest.$ac_ext <<EOF |
6835 #line 6836 "configure" | 6853 #line 6854 "configure" |
6836 #include "confdefs.h" | 6854 #include "confdefs.h" |
6837 | 6855 |
6838 #define NeedFunctionPrototypes 1 | 6856 #define NeedFunctionPrototypes 1 |
6839 #include <X11/Xlib.h> | 6857 #include <X11/Xlib.h> |
6840 extern Bool XRegisterIMInstantiateCallback( | 6858 extern Bool XRegisterIMInstantiateCallback( |
6842 | 6860 |
6843 int main() { | 6861 int main() { |
6844 | 6862 |
6845 ; return 0; } | 6863 ; return 0; } |
6846 EOF | 6864 EOF |
6847 if { (eval echo configure:6848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6865 if { (eval echo configure:6866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6848 rm -rf conftest* | 6866 rm -rf conftest* |
6849 echo "$ac_t""yes" 1>&6 | 6867 echo "$ac_t""yes" 1>&6 |
6850 else | 6868 else |
6851 echo "configure: failed program was:" >&5 | 6869 echo "configure: failed program was:" >&5 |
6852 cat conftest.$ac_ext >&5 | 6870 cat conftest.$ac_ext >&5 |
6863 fi | 6881 fi |
6864 rm -f conftest* | 6882 rm -f conftest* |
6865 | 6883 |
6866 test -z "$with_xmu" && { | 6884 test -z "$with_xmu" && { |
6867 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6885 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6868 echo "configure:6869: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6886 echo "configure:6887: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6869 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6887 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6870 | 6888 |
6871 xe_check_libs=" -lXmu " | 6889 xe_check_libs=" -lXmu " |
6872 cat > conftest.$ac_ext <<EOF | 6890 cat > conftest.$ac_ext <<EOF |
6873 #line 6874 "configure" | 6891 #line 6892 "configure" |
6874 #include "confdefs.h" | 6892 #include "confdefs.h" |
6875 /* Override any gcc2 internal prototype to avoid an error. */ | 6893 /* Override any gcc2 internal prototype to avoid an error. */ |
6876 /* We use char because int might match the return type of a gcc2 | 6894 /* We use char because int might match the return type of a gcc2 |
6877 builtin and then its argument prototype would still apply. */ | 6895 builtin and then its argument prototype would still apply. */ |
6878 char XmuReadBitmapDataFromFile(); | 6896 char XmuReadBitmapDataFromFile(); |
6879 | 6897 |
6880 int main() { | 6898 int main() { |
6881 XmuReadBitmapDataFromFile() | 6899 XmuReadBitmapDataFromFile() |
6882 ; return 0; } | 6900 ; return 0; } |
6883 EOF | 6901 EOF |
6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6885 rm -rf conftest* | 6903 rm -rf conftest* |
6886 eval "ac_cv_lib_$ac_lib_var=yes" | 6904 eval "ac_cv_lib_$ac_lib_var=yes" |
6887 else | 6905 else |
6888 echo "configure: failed program was:" >&5 | 6906 echo "configure: failed program was:" >&5 |
6889 cat conftest.$ac_ext >&5 | 6907 cat conftest.$ac_ext >&5 |
6918 | 6936 |
6919 fi | 6937 fi |
6920 | 6938 |
6921 | 6939 |
6922 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6940 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6923 echo "configure:6924: checking for main in -lXbsd" >&5 | 6941 echo "configure:6942: checking for main in -lXbsd" >&5 |
6924 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6942 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6925 | 6943 |
6926 xe_check_libs=" -lXbsd " | 6944 xe_check_libs=" -lXbsd " |
6927 cat > conftest.$ac_ext <<EOF | 6945 cat > conftest.$ac_ext <<EOF |
6928 #line 6929 "configure" | 6946 #line 6947 "configure" |
6929 #include "confdefs.h" | 6947 #include "confdefs.h" |
6930 | 6948 |
6931 int main() { | 6949 int main() { |
6932 main() | 6950 main() |
6933 ; return 0; } | 6951 ; return 0; } |
6934 EOF | 6952 EOF |
6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6953 if { (eval echo configure:6954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6936 rm -rf conftest* | 6954 rm -rf conftest* |
6937 eval "ac_cv_lib_$ac_lib_var=yes" | 6955 eval "ac_cv_lib_$ac_lib_var=yes" |
6938 else | 6956 else |
6939 echo "configure: failed program was:" >&5 | 6957 echo "configure: failed program was:" >&5 |
6940 cat conftest.$ac_ext >&5 | 6958 cat conftest.$ac_ext >&5 |
6967 fi | 6985 fi |
6968 | 6986 |
6969 fi | 6987 fi |
6970 if test "$with_msw" != "no"; then | 6988 if test "$with_msw" != "no"; then |
6971 echo "checking for MS-Windows" 1>&6 | 6989 echo "checking for MS-Windows" 1>&6 |
6972 echo "configure:6973: checking for MS-Windows" >&5 | 6990 echo "configure:6991: checking for MS-Windows" >&5 |
6973 | 6991 |
6974 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6992 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6975 echo "configure:6976: checking for main in -lgdi32" >&5 | 6993 echo "configure:6994: checking for main in -lgdi32" >&5 |
6976 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6994 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6977 | 6995 |
6978 xe_check_libs=" -lgdi32 " | 6996 xe_check_libs=" -lgdi32 " |
6979 cat > conftest.$ac_ext <<EOF | 6997 cat > conftest.$ac_ext <<EOF |
6980 #line 6981 "configure" | 6998 #line 6999 "configure" |
6981 #include "confdefs.h" | 6999 #include "confdefs.h" |
6982 | 7000 |
6983 int main() { | 7001 int main() { |
6984 main() | 7002 main() |
6985 ; return 0; } | 7003 ; return 0; } |
6986 EOF | 7004 EOF |
6987 if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7005 if { (eval echo configure:7006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6988 rm -rf conftest* | 7006 rm -rf conftest* |
6989 eval "ac_cv_lib_$ac_lib_var=yes" | 7007 eval "ac_cv_lib_$ac_lib_var=yes" |
6990 else | 7008 else |
6991 echo "configure: failed program was:" >&5 | 7009 echo "configure: failed program was:" >&5 |
6992 cat conftest.$ac_ext >&5 | 7010 cat conftest.$ac_ext >&5 |
7055 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7073 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7056 echo " xemacs will be linked with \"dialog-msw.o\"" | 7074 echo " xemacs will be linked with \"dialog-msw.o\"" |
7057 fi | 7075 fi |
7058 fi | 7076 fi |
7059 cat > conftest.$ac_ext <<EOF | 7077 cat > conftest.$ac_ext <<EOF |
7060 #line 7061 "configure" | 7078 #line 7079 "configure" |
7061 #include "confdefs.h" | 7079 #include "confdefs.h" |
7062 #include <fcntl.h> | 7080 #include <fcntl.h> |
7063 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7081 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7064 EOF | 7082 EOF |
7065 if { (eval echo configure:7066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7066 then | 7084 then |
7067 { test "$extra_verbose" = "yes" && cat << \EOF | 7085 { test "$extra_verbose" = "yes" && cat << \EOF |
7068 Defining HAVE_MSG_SELECT | 7086 Defining HAVE_MSG_SELECT |
7069 EOF | 7087 EOF |
7070 cat >> confdefs.h <<\EOF | 7088 cat >> confdefs.h <<\EOF |
7124 fi | 7142 fi |
7125 | 7143 |
7126 if test "$with_x11" = "yes"; then | 7144 if test "$with_x11" = "yes"; then |
7127 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7145 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7128 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7146 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7129 echo "configure:7130: checking for X11/extensions/shape.h" >&5 | 7147 echo "configure:7148: checking for X11/extensions/shape.h" >&5 |
7130 | 7148 |
7131 cat > conftest.$ac_ext <<EOF | 7149 cat > conftest.$ac_ext <<EOF |
7132 #line 7133 "configure" | 7150 #line 7151 "configure" |
7133 #include "confdefs.h" | 7151 #include "confdefs.h" |
7134 #include <X11/extensions/shape.h> | 7152 #include <X11/extensions/shape.h> |
7135 EOF | 7153 EOF |
7136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7137 { (eval echo configure:7138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7155 { (eval echo configure:7156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7139 if test -z "$ac_err"; then | 7157 if test -z "$ac_err"; then |
7140 rm -rf conftest* | 7158 rm -rf conftest* |
7141 eval "ac_cv_header_$ac_safe=yes" | 7159 eval "ac_cv_header_$ac_safe=yes" |
7142 else | 7160 else |
7184 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7202 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7185 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7203 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7186 esac | 7204 esac |
7187 | 7205 |
7188 echo "checking for WM_COMMAND option" 1>&6 | 7206 echo "checking for WM_COMMAND option" 1>&6 |
7189 echo "configure:7190: checking for WM_COMMAND option" >&5; | 7207 echo "configure:7208: checking for WM_COMMAND option" >&5; |
7190 if test "$with_wmcommand" != "no"; then | 7208 if test "$with_wmcommand" != "no"; then |
7191 { test "$extra_verbose" = "yes" && cat << \EOF | 7209 { test "$extra_verbose" = "yes" && cat << \EOF |
7192 Defining HAVE_WMCOMMAND | 7210 Defining HAVE_WMCOMMAND |
7193 EOF | 7211 EOF |
7194 cat >> confdefs.h <<\EOF | 7212 cat >> confdefs.h <<\EOF |
7199 fi | 7217 fi |
7200 | 7218 |
7201 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7219 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7202 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7220 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7203 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7221 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7204 echo "configure:7205: checking for X11/Xauth.h" >&5 | 7222 echo "configure:7223: checking for X11/Xauth.h" >&5 |
7205 | 7223 |
7206 cat > conftest.$ac_ext <<EOF | 7224 cat > conftest.$ac_ext <<EOF |
7207 #line 7208 "configure" | 7225 #line 7226 "configure" |
7208 #include "confdefs.h" | 7226 #include "confdefs.h" |
7209 #include <X11/Xauth.h> | 7227 #include <X11/Xauth.h> |
7210 EOF | 7228 EOF |
7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7214 if test -z "$ac_err"; then | 7232 if test -z "$ac_err"; then |
7215 rm -rf conftest* | 7233 rm -rf conftest* |
7216 eval "ac_cv_header_$ac_safe=yes" | 7234 eval "ac_cv_header_$ac_safe=yes" |
7217 else | 7235 else |
7230 with_xauth=no | 7248 with_xauth=no |
7231 fi | 7249 fi |
7232 } | 7250 } |
7233 test -z "$with_xauth" && { | 7251 test -z "$with_xauth" && { |
7234 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7252 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7235 echo "configure:7236: checking for XauGetAuthByAddr in -lXau" >&5 | 7253 echo "configure:7254: checking for XauGetAuthByAddr in -lXau" >&5 |
7236 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7254 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7237 | 7255 |
7238 xe_check_libs=" -lXau " | 7256 xe_check_libs=" -lXau " |
7239 cat > conftest.$ac_ext <<EOF | 7257 cat > conftest.$ac_ext <<EOF |
7240 #line 7241 "configure" | 7258 #line 7259 "configure" |
7241 #include "confdefs.h" | 7259 #include "confdefs.h" |
7242 /* Override any gcc2 internal prototype to avoid an error. */ | 7260 /* Override any gcc2 internal prototype to avoid an error. */ |
7243 /* We use char because int might match the return type of a gcc2 | 7261 /* We use char because int might match the return type of a gcc2 |
7244 builtin and then its argument prototype would still apply. */ | 7262 builtin and then its argument prototype would still apply. */ |
7245 char XauGetAuthByAddr(); | 7263 char XauGetAuthByAddr(); |
7246 | 7264 |
7247 int main() { | 7265 int main() { |
7248 XauGetAuthByAddr() | 7266 XauGetAuthByAddr() |
7249 ; return 0; } | 7267 ; return 0; } |
7250 EOF | 7268 EOF |
7251 if { (eval echo configure:7252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7269 if { (eval echo configure:7270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7252 rm -rf conftest* | 7270 rm -rf conftest* |
7253 eval "ac_cv_lib_$ac_lib_var=yes" | 7271 eval "ac_cv_lib_$ac_lib_var=yes" |
7254 else | 7272 else |
7255 echo "configure: failed program was:" >&5 | 7273 echo "configure: failed program was:" >&5 |
7256 cat conftest.$ac_ext >&5 | 7274 cat conftest.$ac_ext >&5 |
7291 | 7309 |
7292 if test "$with_tooltalk" != "no" ; then | 7310 if test "$with_tooltalk" != "no" ; then |
7293 for dir in "" "Tt/" "desktop/" ; do | 7311 for dir in "" "Tt/" "desktop/" ; do |
7294 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7312 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7295 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7313 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7296 echo "configure:7297: checking for ${dir}tt_c.h" >&5 | 7314 echo "configure:7315: checking for ${dir}tt_c.h" >&5 |
7297 | 7315 |
7298 cat > conftest.$ac_ext <<EOF | 7316 cat > conftest.$ac_ext <<EOF |
7299 #line 7300 "configure" | 7317 #line 7318 "configure" |
7300 #include "confdefs.h" | 7318 #include "confdefs.h" |
7301 #include <${dir}tt_c.h> | 7319 #include <${dir}tt_c.h> |
7302 EOF | 7320 EOF |
7303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7304 { (eval echo configure:7305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7322 { (eval echo configure:7323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7323 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7306 if test -z "$ac_err"; then | 7324 if test -z "$ac_err"; then |
7307 rm -rf conftest* | 7325 rm -rf conftest* |
7308 eval "ac_cv_header_$ac_safe=yes" | 7326 eval "ac_cv_header_$ac_safe=yes" |
7309 else | 7327 else |
7335 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7353 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7336 | 7354 |
7337 xe_msg_checking="for tt_message_create in -ltt" | 7355 xe_msg_checking="for tt_message_create in -ltt" |
7338 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7356 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7339 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7357 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7340 echo "configure:7341: checking "$xe_msg_checking"" >&5 | 7358 echo "configure:7359: checking "$xe_msg_checking"" >&5 |
7341 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7359 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7342 | 7360 |
7343 xe_check_libs=" -ltt $extra_libs" | 7361 xe_check_libs=" -ltt $extra_libs" |
7344 cat > conftest.$ac_ext <<EOF | 7362 cat > conftest.$ac_ext <<EOF |
7345 #line 7346 "configure" | 7363 #line 7364 "configure" |
7346 #include "confdefs.h" | 7364 #include "confdefs.h" |
7347 /* Override any gcc2 internal prototype to avoid an error. */ | 7365 /* Override any gcc2 internal prototype to avoid an error. */ |
7348 /* We use char because int might match the return type of a gcc2 | 7366 /* We use char because int might match the return type of a gcc2 |
7349 builtin and then its argument prototype would still apply. */ | 7367 builtin and then its argument prototype would still apply. */ |
7350 char tt_message_create(); | 7368 char tt_message_create(); |
7351 | 7369 |
7352 int main() { | 7370 int main() { |
7353 tt_message_create() | 7371 tt_message_create() |
7354 ; return 0; } | 7372 ; return 0; } |
7355 EOF | 7373 EOF |
7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7357 rm -rf conftest* | 7375 rm -rf conftest* |
7358 eval "ac_cv_lib_$ac_lib_var=yes" | 7376 eval "ac_cv_lib_$ac_lib_var=yes" |
7359 else | 7377 else |
7360 echo "configure: failed program was:" >&5 | 7378 echo "configure: failed program was:" >&5 |
7361 cat conftest.$ac_ext >&5 | 7379 cat conftest.$ac_ext >&5 |
7408 fi | 7426 fi |
7409 fi | 7427 fi |
7410 | 7428 |
7411 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7429 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7412 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7430 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7413 echo "configure:7414: checking for Dt/Dt.h" >&5 | 7431 echo "configure:7432: checking for Dt/Dt.h" >&5 |
7414 | 7432 |
7415 cat > conftest.$ac_ext <<EOF | 7433 cat > conftest.$ac_ext <<EOF |
7416 #line 7417 "configure" | 7434 #line 7435 "configure" |
7417 #include "confdefs.h" | 7435 #include "confdefs.h" |
7418 #include <Dt/Dt.h> | 7436 #include <Dt/Dt.h> |
7419 EOF | 7437 EOF |
7420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7439 { (eval echo configure:7440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7423 if test -z "$ac_err"; then | 7441 if test -z "$ac_err"; then |
7424 rm -rf conftest* | 7442 rm -rf conftest* |
7425 eval "ac_cv_header_$ac_safe=yes" | 7443 eval "ac_cv_header_$ac_safe=yes" |
7426 else | 7444 else |
7439 with_cde=no | 7457 with_cde=no |
7440 fi | 7458 fi |
7441 } | 7459 } |
7442 test -z "$with_cde" && { | 7460 test -z "$with_cde" && { |
7443 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7461 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7444 echo "configure:7445: checking for DtDndDragStart in -lDtSvc" >&5 | 7462 echo "configure:7463: checking for DtDndDragStart in -lDtSvc" >&5 |
7445 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7463 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7446 | 7464 |
7447 xe_check_libs=" -lDtSvc " | 7465 xe_check_libs=" -lDtSvc " |
7448 cat > conftest.$ac_ext <<EOF | 7466 cat > conftest.$ac_ext <<EOF |
7449 #line 7450 "configure" | 7467 #line 7468 "configure" |
7450 #include "confdefs.h" | 7468 #include "confdefs.h" |
7451 /* Override any gcc2 internal prototype to avoid an error. */ | 7469 /* Override any gcc2 internal prototype to avoid an error. */ |
7452 /* We use char because int might match the return type of a gcc2 | 7470 /* We use char because int might match the return type of a gcc2 |
7453 builtin and then its argument prototype would still apply. */ | 7471 builtin and then its argument prototype would still apply. */ |
7454 char DtDndDragStart(); | 7472 char DtDndDragStart(); |
7455 | 7473 |
7456 int main() { | 7474 int main() { |
7457 DtDndDragStart() | 7475 DtDndDragStart() |
7458 ; return 0; } | 7476 ; return 0; } |
7459 EOF | 7477 EOF |
7460 if { (eval echo configure:7461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7461 rm -rf conftest* | 7479 rm -rf conftest* |
7462 eval "ac_cv_lib_$ac_lib_var=yes" | 7480 eval "ac_cv_lib_$ac_lib_var=yes" |
7463 else | 7481 else |
7464 echo "configure: failed program was:" >&5 | 7482 echo "configure: failed program was:" >&5 |
7465 cat conftest.$ac_ext >&5 | 7483 cat conftest.$ac_ext >&5 |
7528 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7546 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7529 fi | 7547 fi |
7530 | 7548 |
7531 if test "$with_dragndrop" != "no" ; then | 7549 if test "$with_dragndrop" != "no" ; then |
7532 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7550 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7533 echo "configure:7534: checking if drag and drop API is needed" >&5 | 7551 echo "configure:7552: checking if drag and drop API is needed" >&5 |
7534 if test -n "$dragndrop_proto" ; then | 7552 if test -n "$dragndrop_proto" ; then |
7535 with_dragndrop=yes | 7553 with_dragndrop=yes |
7536 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7554 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7537 { test "$extra_verbose" = "yes" && cat << \EOF | 7555 { test "$extra_verbose" = "yes" && cat << \EOF |
7538 Defining HAVE_DRAGNDROP | 7556 Defining HAVE_DRAGNDROP |
7548 echo "$ac_t""no" 1>&6 | 7566 echo "$ac_t""no" 1>&6 |
7549 fi | 7567 fi |
7550 fi | 7568 fi |
7551 | 7569 |
7552 echo "checking for LDAP" 1>&6 | 7570 echo "checking for LDAP" 1>&6 |
7553 echo "configure:7554: checking for LDAP" >&5 | 7571 echo "configure:7572: checking for LDAP" >&5 |
7554 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7572 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7555 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7573 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7556 echo "configure:7557: checking for ldap.h" >&5 | 7574 echo "configure:7575: checking for ldap.h" >&5 |
7557 | 7575 |
7558 cat > conftest.$ac_ext <<EOF | 7576 cat > conftest.$ac_ext <<EOF |
7559 #line 7560 "configure" | 7577 #line 7578 "configure" |
7560 #include "confdefs.h" | 7578 #include "confdefs.h" |
7561 #include <ldap.h> | 7579 #include <ldap.h> |
7562 EOF | 7580 EOF |
7563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7564 { (eval echo configure:7565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7582 { (eval echo configure:7583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7566 if test -z "$ac_err"; then | 7584 if test -z "$ac_err"; then |
7567 rm -rf conftest* | 7585 rm -rf conftest* |
7568 eval "ac_cv_header_$ac_safe=yes" | 7586 eval "ac_cv_header_$ac_safe=yes" |
7569 else | 7587 else |
7582 with_ldap=no | 7600 with_ldap=no |
7583 fi | 7601 fi |
7584 } | 7602 } |
7585 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7603 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7586 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7604 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7587 echo "configure:7588: checking for lber.h" >&5 | 7605 echo "configure:7606: checking for lber.h" >&5 |
7588 | 7606 |
7589 cat > conftest.$ac_ext <<EOF | 7607 cat > conftest.$ac_ext <<EOF |
7590 #line 7591 "configure" | 7608 #line 7609 "configure" |
7591 #include "confdefs.h" | 7609 #include "confdefs.h" |
7592 #include <lber.h> | 7610 #include <lber.h> |
7593 EOF | 7611 EOF |
7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7613 { (eval echo configure:7614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7597 if test -z "$ac_err"; then | 7615 if test -z "$ac_err"; then |
7598 rm -rf conftest* | 7616 rm -rf conftest* |
7599 eval "ac_cv_header_$ac_safe=yes" | 7617 eval "ac_cv_header_$ac_safe=yes" |
7600 else | 7618 else |
7614 fi | 7632 fi |
7615 } | 7633 } |
7616 if test "$with_ldap" != "no"; then | 7634 if test "$with_ldap" != "no"; then |
7617 | 7635 |
7618 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7636 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7619 echo "configure:7620: checking for ldap_search in -lldap" >&5 | 7637 echo "configure:7638: checking for ldap_search in -lldap" >&5 |
7620 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7638 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7621 | 7639 |
7622 xe_check_libs=" -lldap " | 7640 xe_check_libs=" -lldap " |
7623 cat > conftest.$ac_ext <<EOF | 7641 cat > conftest.$ac_ext <<EOF |
7624 #line 7625 "configure" | 7642 #line 7643 "configure" |
7625 #include "confdefs.h" | 7643 #include "confdefs.h" |
7626 /* Override any gcc2 internal prototype to avoid an error. */ | 7644 /* Override any gcc2 internal prototype to avoid an error. */ |
7627 /* We use char because int might match the return type of a gcc2 | 7645 /* We use char because int might match the return type of a gcc2 |
7628 builtin and then its argument prototype would still apply. */ | 7646 builtin and then its argument prototype would still apply. */ |
7629 char ldap_search(); | 7647 char ldap_search(); |
7630 | 7648 |
7631 int main() { | 7649 int main() { |
7632 ldap_search() | 7650 ldap_search() |
7633 ; return 0; } | 7651 ; return 0; } |
7634 EOF | 7652 EOF |
7635 if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7653 if { (eval echo configure:7654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7636 rm -rf conftest* | 7654 rm -rf conftest* |
7637 eval "ac_cv_lib_$ac_lib_var=yes" | 7655 eval "ac_cv_lib_$ac_lib_var=yes" |
7638 else | 7656 else |
7639 echo "configure: failed program was:" >&5 | 7657 echo "configure: failed program was:" >&5 |
7640 cat conftest.$ac_ext >&5 | 7658 cat conftest.$ac_ext >&5 |
7655 | 7673 |
7656 test "$with_ldap_nolber" = "no" && { | 7674 test "$with_ldap_nolber" = "no" && { |
7657 xe_msg_checking="for ldap_open in -lldap" | 7675 xe_msg_checking="for ldap_open in -lldap" |
7658 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7676 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7659 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7677 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7660 echo "configure:7661: checking "$xe_msg_checking"" >&5 | 7678 echo "configure:7679: checking "$xe_msg_checking"" >&5 |
7661 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7679 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7662 | 7680 |
7663 xe_check_libs=" -lldap -llber" | 7681 xe_check_libs=" -lldap -llber" |
7664 cat > conftest.$ac_ext <<EOF | 7682 cat > conftest.$ac_ext <<EOF |
7665 #line 7666 "configure" | 7683 #line 7684 "configure" |
7666 #include "confdefs.h" | 7684 #include "confdefs.h" |
7667 /* Override any gcc2 internal prototype to avoid an error. */ | 7685 /* Override any gcc2 internal prototype to avoid an error. */ |
7668 /* We use char because int might match the return type of a gcc2 | 7686 /* We use char because int might match the return type of a gcc2 |
7669 builtin and then its argument prototype would still apply. */ | 7687 builtin and then its argument prototype would still apply. */ |
7670 char ldap_open(); | 7688 char ldap_open(); |
7671 | 7689 |
7672 int main() { | 7690 int main() { |
7673 ldap_open() | 7691 ldap_open() |
7674 ; return 0; } | 7692 ; return 0; } |
7675 EOF | 7693 EOF |
7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7694 if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7677 rm -rf conftest* | 7695 rm -rf conftest* |
7678 eval "ac_cv_lib_$ac_lib_var=yes" | 7696 eval "ac_cv_lib_$ac_lib_var=yes" |
7679 else | 7697 else |
7680 echo "configure: failed program was:" >&5 | 7698 echo "configure: failed program was:" >&5 |
7681 cat conftest.$ac_ext >&5 | 7699 cat conftest.$ac_ext >&5 |
7696 } | 7714 } |
7697 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7715 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7698 xe_msg_checking="for ldap_open in -lldap" | 7716 xe_msg_checking="for ldap_open in -lldap" |
7699 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7717 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7700 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7718 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7701 echo "configure:7702: checking "$xe_msg_checking"" >&5 | 7719 echo "configure:7720: checking "$xe_msg_checking"" >&5 |
7702 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7720 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7703 | 7721 |
7704 xe_check_libs=" -lldap -llber -lkrb" | 7722 xe_check_libs=" -lldap -llber -lkrb" |
7705 cat > conftest.$ac_ext <<EOF | 7723 cat > conftest.$ac_ext <<EOF |
7706 #line 7707 "configure" | 7724 #line 7725 "configure" |
7707 #include "confdefs.h" | 7725 #include "confdefs.h" |
7708 /* Override any gcc2 internal prototype to avoid an error. */ | 7726 /* Override any gcc2 internal prototype to avoid an error. */ |
7709 /* We use char because int might match the return type of a gcc2 | 7727 /* We use char because int might match the return type of a gcc2 |
7710 builtin and then its argument prototype would still apply. */ | 7728 builtin and then its argument prototype would still apply. */ |
7711 char ldap_open(); | 7729 char ldap_open(); |
7712 | 7730 |
7713 int main() { | 7731 int main() { |
7714 ldap_open() | 7732 ldap_open() |
7715 ; return 0; } | 7733 ; return 0; } |
7716 EOF | 7734 EOF |
7717 if { (eval echo configure:7718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7735 if { (eval echo configure:7736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7718 rm -rf conftest* | 7736 rm -rf conftest* |
7719 eval "ac_cv_lib_$ac_lib_var=yes" | 7737 eval "ac_cv_lib_$ac_lib_var=yes" |
7720 else | 7738 else |
7721 echo "configure: failed program was:" >&5 | 7739 echo "configure: failed program was:" >&5 |
7722 cat conftest.$ac_ext >&5 | 7740 cat conftest.$ac_ext >&5 |
7737 } | 7755 } |
7738 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7756 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7739 xe_msg_checking="for ldap_open in -lldap" | 7757 xe_msg_checking="for ldap_open in -lldap" |
7740 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7758 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7741 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7759 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7742 echo "configure:7743: checking "$xe_msg_checking"" >&5 | 7760 echo "configure:7761: checking "$xe_msg_checking"" >&5 |
7743 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7761 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7744 | 7762 |
7745 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7763 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7746 cat > conftest.$ac_ext <<EOF | 7764 cat > conftest.$ac_ext <<EOF |
7747 #line 7748 "configure" | 7765 #line 7766 "configure" |
7748 #include "confdefs.h" | 7766 #include "confdefs.h" |
7749 /* Override any gcc2 internal prototype to avoid an error. */ | 7767 /* Override any gcc2 internal prototype to avoid an error. */ |
7750 /* We use char because int might match the return type of a gcc2 | 7768 /* We use char because int might match the return type of a gcc2 |
7751 builtin and then its argument prototype would still apply. */ | 7769 builtin and then its argument prototype would still apply. */ |
7752 char ldap_open(); | 7770 char ldap_open(); |
7753 | 7771 |
7754 int main() { | 7772 int main() { |
7755 ldap_open() | 7773 ldap_open() |
7756 ; return 0; } | 7774 ; return 0; } |
7757 EOF | 7775 EOF |
7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7776 if { (eval echo configure:7777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7759 rm -rf conftest* | 7777 rm -rf conftest* |
7760 eval "ac_cv_lib_$ac_lib_var=yes" | 7778 eval "ac_cv_lib_$ac_lib_var=yes" |
7761 else | 7779 else |
7762 echo "configure: failed program was:" >&5 | 7780 echo "configure: failed program was:" >&5 |
7763 cat conftest.$ac_ext >&5 | 7781 cat conftest.$ac_ext >&5 |
7804 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7822 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7805 fi | 7823 fi |
7806 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7824 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7807 do | 7825 do |
7808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7809 echo "configure:7810: checking for $ac_func" >&5 | 7827 echo "configure:7828: checking for $ac_func" >&5 |
7810 | 7828 |
7811 cat > conftest.$ac_ext <<EOF | 7829 cat > conftest.$ac_ext <<EOF |
7812 #line 7813 "configure" | 7830 #line 7831 "configure" |
7813 #include "confdefs.h" | 7831 #include "confdefs.h" |
7814 /* System header to define __stub macros and hopefully few prototypes, | 7832 /* System header to define __stub macros and hopefully few prototypes, |
7815 which can conflict with char $ac_func(); below. */ | 7833 which can conflict with char $ac_func(); below. */ |
7816 #include <assert.h> | 7834 #include <assert.h> |
7817 /* Override any gcc2 internal prototype to avoid an error. */ | 7835 /* Override any gcc2 internal prototype to avoid an error. */ |
7830 $ac_func(); | 7848 $ac_func(); |
7831 #endif | 7849 #endif |
7832 | 7850 |
7833 ; return 0; } | 7851 ; return 0; } |
7834 EOF | 7852 EOF |
7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7853 if { (eval echo configure:7854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7836 rm -rf conftest* | 7854 rm -rf conftest* |
7837 eval "ac_cv_func_$ac_func=yes" | 7855 eval "ac_cv_func_$ac_func=yes" |
7838 else | 7856 else |
7839 echo "configure: failed program was:" >&5 | 7857 echo "configure: failed program was:" >&5 |
7840 cat conftest.$ac_ext >&5 | 7858 cat conftest.$ac_ext >&5 |
7861 | 7879 |
7862 fi | 7880 fi |
7863 | 7881 |
7864 if test "$with_postgresql" != "no"; then | 7882 if test "$with_postgresql" != "no"; then |
7865 echo "checking for PostgreSQL" 1>&6 | 7883 echo "checking for PostgreSQL" 1>&6 |
7866 echo "configure:7867: checking for PostgreSQL" >&5 | 7884 echo "configure:7885: checking for PostgreSQL" >&5 |
7867 | 7885 |
7868 for header_dir in "" "pgsql/" "postgresql/"; do | 7886 for header_dir in "" "pgsql/" "postgresql/"; do |
7869 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7887 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7870 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7888 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7871 echo "configure:7872: checking for ${header_dir}libpq-fe.h" >&5 | 7889 echo "configure:7890: checking for ${header_dir}libpq-fe.h" >&5 |
7872 | 7890 |
7873 cat > conftest.$ac_ext <<EOF | 7891 cat > conftest.$ac_ext <<EOF |
7874 #line 7875 "configure" | 7892 #line 7893 "configure" |
7875 #include "confdefs.h" | 7893 #include "confdefs.h" |
7876 #include <${header_dir}libpq-fe.h> | 7894 #include <${header_dir}libpq-fe.h> |
7877 EOF | 7895 EOF |
7878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7879 { (eval echo configure:7880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7897 { (eval echo configure:7898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7881 if test -z "$ac_err"; then | 7899 if test -z "$ac_err"; then |
7882 rm -rf conftest* | 7900 rm -rf conftest* |
7883 eval "ac_cv_header_$ac_safe=yes" | 7901 eval "ac_cv_header_$ac_safe=yes" |
7884 else | 7902 else |
7898 | 7916 |
7899 done | 7917 done |
7900 | 7918 |
7901 test -n "$libpq_fe_h_file" && { | 7919 test -n "$libpq_fe_h_file" && { |
7902 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7920 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7903 echo "configure:7904: checking for PQconnectdb in -lpq" >&5 | 7921 echo "configure:7922: checking for PQconnectdb in -lpq" >&5 |
7904 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7922 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7905 | 7923 |
7906 xe_check_libs=" -lpq " | 7924 xe_check_libs=" -lpq " |
7907 cat > conftest.$ac_ext <<EOF | 7925 cat > conftest.$ac_ext <<EOF |
7908 #line 7909 "configure" | 7926 #line 7927 "configure" |
7909 #include "confdefs.h" | 7927 #include "confdefs.h" |
7910 /* Override any gcc2 internal prototype to avoid an error. */ | 7928 /* Override any gcc2 internal prototype to avoid an error. */ |
7911 /* We use char because int might match the return type of a gcc2 | 7929 /* We use char because int might match the return type of a gcc2 |
7912 builtin and then its argument prototype would still apply. */ | 7930 builtin and then its argument prototype would still apply. */ |
7913 char PQconnectdb(); | 7931 char PQconnectdb(); |
7914 | 7932 |
7915 int main() { | 7933 int main() { |
7916 PQconnectdb() | 7934 PQconnectdb() |
7917 ; return 0; } | 7935 ; return 0; } |
7918 EOF | 7936 EOF |
7919 if { (eval echo configure:7920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7920 rm -rf conftest* | 7938 rm -rf conftest* |
7921 eval "ac_cv_lib_$ac_lib_var=yes" | 7939 eval "ac_cv_lib_$ac_lib_var=yes" |
7922 else | 7940 else |
7923 echo "configure: failed program was:" >&5 | 7941 echo "configure: failed program was:" >&5 |
7924 cat conftest.$ac_ext >&5 | 7942 cat conftest.$ac_ext >&5 |
7947 EOF | 7965 EOF |
7948 } | 7966 } |
7949 | 7967 |
7950 | 7968 |
7951 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7969 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7952 echo "configure:7953: checking for PQconnectStart in -lpq" >&5 | 7970 echo "configure:7971: checking for PQconnectStart in -lpq" >&5 |
7953 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7971 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7954 | 7972 |
7955 xe_check_libs=" -lpq " | 7973 xe_check_libs=" -lpq " |
7956 cat > conftest.$ac_ext <<EOF | 7974 cat > conftest.$ac_ext <<EOF |
7957 #line 7958 "configure" | 7975 #line 7976 "configure" |
7958 #include "confdefs.h" | 7976 #include "confdefs.h" |
7959 /* Override any gcc2 internal prototype to avoid an error. */ | 7977 /* Override any gcc2 internal prototype to avoid an error. */ |
7960 /* We use char because int might match the return type of a gcc2 | 7978 /* We use char because int might match the return type of a gcc2 |
7961 builtin and then its argument prototype would still apply. */ | 7979 builtin and then its argument prototype would still apply. */ |
7962 char PQconnectStart(); | 7980 char PQconnectStart(); |
7963 | 7981 |
7964 int main() { | 7982 int main() { |
7965 PQconnectStart() | 7983 PQconnectStart() |
7966 ; return 0; } | 7984 ; return 0; } |
7967 EOF | 7985 EOF |
7968 if { (eval echo configure:7969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7986 if { (eval echo configure:7987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7969 rm -rf conftest* | 7987 rm -rf conftest* |
7970 eval "ac_cv_lib_$ac_lib_var=yes" | 7988 eval "ac_cv_lib_$ac_lib_var=yes" |
7971 else | 7989 else |
7972 echo "configure: failed program was:" >&5 | 7990 echo "configure: failed program was:" >&5 |
7973 cat conftest.$ac_ext >&5 | 7991 cat conftest.$ac_ext >&5 |
8011 fi | 8029 fi |
8012 | 8030 |
8013 | 8031 |
8014 if test "$window_system" != "none"; then | 8032 if test "$window_system" != "none"; then |
8015 echo "checking for graphics libraries" 1>&6 | 8033 echo "checking for graphics libraries" 1>&6 |
8016 echo "configure:8017: checking for graphics libraries" >&5 | 8034 echo "configure:8035: checking for graphics libraries" >&5 |
8017 | 8035 |
8018 xpm_problem="" | 8036 xpm_problem="" |
8019 if test -z "$with_xpm"; then | 8037 if test -z "$with_xpm"; then |
8020 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8038 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8021 echo "configure:8022: checking for Xpm - no older than 3.4f" >&5 | 8039 echo "configure:8040: checking for Xpm - no older than 3.4f" >&5 |
8022 xe_check_libs=-lXpm | 8040 xe_check_libs=-lXpm |
8023 cat > conftest.$ac_ext <<EOF | 8041 cat > conftest.$ac_ext <<EOF |
8024 #line 8025 "configure" | 8042 #line 8043 "configure" |
8025 #include "confdefs.h" | 8043 #include "confdefs.h" |
8026 #define XPM_NUMBERS | 8044 #define XPM_NUMBERS |
8027 #include <X11/xpm.h> | 8045 #include <X11/xpm.h> |
8028 int main(int c, char **v) { | 8046 int main(int c, char **v) { |
8029 return c == 1 ? 0 : | 8047 return c == 1 ? 0 : |
8030 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8048 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8031 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8049 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8032 EOF | 8050 EOF |
8033 if { (eval echo configure:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8034 then | 8052 then |
8035 ./conftest dummy_arg; xpm_status=$?; | 8053 ./conftest dummy_arg; xpm_status=$?; |
8036 if test "$xpm_status" = "0"; then | 8054 if test "$xpm_status" = "0"; then |
8037 with_xpm=yes; | 8055 with_xpm=yes; |
8038 else | 8056 else |
8070 EOF | 8088 EOF |
8071 } | 8089 } |
8072 | 8090 |
8073 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8091 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8074 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8092 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8075 echo "configure:8076: checking for \"FOR_MSW\" xpm" >&5 | 8093 echo "configure:8094: checking for \"FOR_MSW\" xpm" >&5 |
8076 xe_check_libs=-lXpm | 8094 xe_check_libs=-lXpm |
8077 cat > conftest.$ac_ext <<EOF | 8095 cat > conftest.$ac_ext <<EOF |
8078 #line 8079 "configure" | 8096 #line 8097 "configure" |
8079 #include "confdefs.h" | 8097 #include "confdefs.h" |
8080 | 8098 |
8081 int main() { | 8099 int main() { |
8082 XpmCreatePixmapFromData() | 8100 XpmCreatePixmapFromData() |
8083 ; return 0; } | 8101 ; return 0; } |
8084 EOF | 8102 EOF |
8085 if { (eval echo configure:8086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8103 if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8086 rm -rf conftest* | 8104 rm -rf conftest* |
8087 xpm_for_msw=no | 8105 xpm_for_msw=no |
8088 else | 8106 else |
8089 echo "configure: failed program was:" >&5 | 8107 echo "configure: failed program was:" >&5 |
8090 cat conftest.$ac_ext >&5 | 8108 cat conftest.$ac_ext >&5 |
8106 fi | 8124 fi |
8107 fi | 8125 fi |
8108 | 8126 |
8109 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8127 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8110 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8128 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8111 echo "configure:8112: checking for compface.h" >&5 | 8129 echo "configure:8130: checking for compface.h" >&5 |
8112 | 8130 |
8113 cat > conftest.$ac_ext <<EOF | 8131 cat > conftest.$ac_ext <<EOF |
8114 #line 8115 "configure" | 8132 #line 8133 "configure" |
8115 #include "confdefs.h" | 8133 #include "confdefs.h" |
8116 #include <compface.h> | 8134 #include <compface.h> |
8117 EOF | 8135 EOF |
8118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8119 { (eval echo configure:8120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8137 { (eval echo configure:8138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8121 if test -z "$ac_err"; then | 8139 if test -z "$ac_err"; then |
8122 rm -rf conftest* | 8140 rm -rf conftest* |
8123 eval "ac_cv_header_$ac_safe=yes" | 8141 eval "ac_cv_header_$ac_safe=yes" |
8124 else | 8142 else |
8137 with_xface=no | 8155 with_xface=no |
8138 fi | 8156 fi |
8139 } | 8157 } |
8140 test -z "$with_xface" && { | 8158 test -z "$with_xface" && { |
8141 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8159 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8142 echo "configure:8143: checking for UnGenFace in -lcompface" >&5 | 8160 echo "configure:8161: checking for UnGenFace in -lcompface" >&5 |
8143 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8161 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8144 | 8162 |
8145 xe_check_libs=" -lcompface " | 8163 xe_check_libs=" -lcompface " |
8146 cat > conftest.$ac_ext <<EOF | 8164 cat > conftest.$ac_ext <<EOF |
8147 #line 8148 "configure" | 8165 #line 8166 "configure" |
8148 #include "confdefs.h" | 8166 #include "confdefs.h" |
8149 /* Override any gcc2 internal prototype to avoid an error. */ | 8167 /* Override any gcc2 internal prototype to avoid an error. */ |
8150 /* We use char because int might match the return type of a gcc2 | 8168 /* We use char because int might match the return type of a gcc2 |
8151 builtin and then its argument prototype would still apply. */ | 8169 builtin and then its argument prototype would still apply. */ |
8152 char UnGenFace(); | 8170 char UnGenFace(); |
8153 | 8171 |
8154 int main() { | 8172 int main() { |
8155 UnGenFace() | 8173 UnGenFace() |
8156 ; return 0; } | 8174 ; return 0; } |
8157 EOF | 8175 EOF |
8158 if { (eval echo configure:8159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8176 if { (eval echo configure:8177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8159 rm -rf conftest* | 8177 rm -rf conftest* |
8160 eval "ac_cv_lib_$ac_lib_var=yes" | 8178 eval "ac_cv_lib_$ac_lib_var=yes" |
8161 else | 8179 else |
8162 echo "configure: failed program was:" >&5 | 8180 echo "configure: failed program was:" >&5 |
8163 cat conftest.$ac_ext >&5 | 8181 cat conftest.$ac_ext >&5 |
8205 fi | 8223 fi |
8206 | 8224 |
8207 if test "$with_png $with_tiff" != "no no"; then | 8225 if test "$with_png $with_tiff" != "no no"; then |
8208 | 8226 |
8209 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8227 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8210 echo "configure:8211: checking for inflate in -lc" >&5 | 8228 echo "configure:8229: checking for inflate in -lc" >&5 |
8211 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8229 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8212 | 8230 |
8213 xe_check_libs=" -lc " | 8231 xe_check_libs=" -lc " |
8214 cat > conftest.$ac_ext <<EOF | 8232 cat > conftest.$ac_ext <<EOF |
8215 #line 8216 "configure" | 8233 #line 8234 "configure" |
8216 #include "confdefs.h" | 8234 #include "confdefs.h" |
8217 /* Override any gcc2 internal prototype to avoid an error. */ | 8235 /* Override any gcc2 internal prototype to avoid an error. */ |
8218 /* We use char because int might match the return type of a gcc2 | 8236 /* We use char because int might match the return type of a gcc2 |
8219 builtin and then its argument prototype would still apply. */ | 8237 builtin and then its argument prototype would still apply. */ |
8220 char inflate(); | 8238 char inflate(); |
8221 | 8239 |
8222 int main() { | 8240 int main() { |
8223 inflate() | 8241 inflate() |
8224 ; return 0; } | 8242 ; return 0; } |
8225 EOF | 8243 EOF |
8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8244 if { (eval echo configure:8245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8227 rm -rf conftest* | 8245 rm -rf conftest* |
8228 eval "ac_cv_lib_$ac_lib_var=yes" | 8246 eval "ac_cv_lib_$ac_lib_var=yes" |
8229 else | 8247 else |
8230 echo "configure: failed program was:" >&5 | 8248 echo "configure: failed program was:" >&5 |
8231 cat conftest.$ac_ext >&5 | 8249 cat conftest.$ac_ext >&5 |
8240 : | 8258 : |
8241 else | 8259 else |
8242 echo "$ac_t""no" 1>&6 | 8260 echo "$ac_t""no" 1>&6 |
8243 | 8261 |
8244 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8262 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8245 echo "configure:8246: checking for inflate in -lz" >&5 | 8263 echo "configure:8264: checking for inflate in -lz" >&5 |
8246 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8264 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8247 | 8265 |
8248 xe_check_libs=" -lz " | 8266 xe_check_libs=" -lz " |
8249 cat > conftest.$ac_ext <<EOF | 8267 cat > conftest.$ac_ext <<EOF |
8250 #line 8251 "configure" | 8268 #line 8269 "configure" |
8251 #include "confdefs.h" | 8269 #include "confdefs.h" |
8252 /* Override any gcc2 internal prototype to avoid an error. */ | 8270 /* Override any gcc2 internal prototype to avoid an error. */ |
8253 /* We use char because int might match the return type of a gcc2 | 8271 /* We use char because int might match the return type of a gcc2 |
8254 builtin and then its argument prototype would still apply. */ | 8272 builtin and then its argument prototype would still apply. */ |
8255 char inflate(); | 8273 char inflate(); |
8256 | 8274 |
8257 int main() { | 8275 int main() { |
8258 inflate() | 8276 inflate() |
8259 ; return 0; } | 8277 ; return 0; } |
8260 EOF | 8278 EOF |
8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8279 if { (eval echo configure:8280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8262 rm -rf conftest* | 8280 rm -rf conftest* |
8263 eval "ac_cv_lib_$ac_lib_var=yes" | 8281 eval "ac_cv_lib_$ac_lib_var=yes" |
8264 else | 8282 else |
8265 echo "configure: failed program was:" >&5 | 8283 echo "configure: failed program was:" >&5 |
8266 cat conftest.$ac_ext >&5 | 8284 cat conftest.$ac_ext >&5 |
8275 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8293 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8276 else | 8294 else |
8277 echo "$ac_t""no" 1>&6 | 8295 echo "$ac_t""no" 1>&6 |
8278 | 8296 |
8279 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8297 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8280 echo "configure:8281: checking for inflate in -lgz" >&5 | 8298 echo "configure:8299: checking for inflate in -lgz" >&5 |
8281 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8299 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8282 | 8300 |
8283 xe_check_libs=" -lgz " | 8301 xe_check_libs=" -lgz " |
8284 cat > conftest.$ac_ext <<EOF | 8302 cat > conftest.$ac_ext <<EOF |
8285 #line 8286 "configure" | 8303 #line 8304 "configure" |
8286 #include "confdefs.h" | 8304 #include "confdefs.h" |
8287 /* Override any gcc2 internal prototype to avoid an error. */ | 8305 /* Override any gcc2 internal prototype to avoid an error. */ |
8288 /* We use char because int might match the return type of a gcc2 | 8306 /* We use char because int might match the return type of a gcc2 |
8289 builtin and then its argument prototype would still apply. */ | 8307 builtin and then its argument prototype would still apply. */ |
8290 char inflate(); | 8308 char inflate(); |
8291 | 8309 |
8292 int main() { | 8310 int main() { |
8293 inflate() | 8311 inflate() |
8294 ; return 0; } | 8312 ; return 0; } |
8295 EOF | 8313 EOF |
8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8314 if { (eval echo configure:8315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8297 rm -rf conftest* | 8315 rm -rf conftest* |
8298 eval "ac_cv_lib_$ac_lib_var=yes" | 8316 eval "ac_cv_lib_$ac_lib_var=yes" |
8299 else | 8317 else |
8300 echo "configure: failed program was:" >&5 | 8318 echo "configure: failed program was:" >&5 |
8301 cat conftest.$ac_ext >&5 | 8319 cat conftest.$ac_ext >&5 |
8321 | 8339 |
8322 fi | 8340 fi |
8323 | 8341 |
8324 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8342 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8325 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8343 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8326 echo "configure:8327: checking for jpeglib.h" >&5 | 8344 echo "configure:8345: checking for jpeglib.h" >&5 |
8327 | 8345 |
8328 cat > conftest.$ac_ext <<EOF | 8346 cat > conftest.$ac_ext <<EOF |
8329 #line 8330 "configure" | 8347 #line 8348 "configure" |
8330 #include "confdefs.h" | 8348 #include "confdefs.h" |
8331 #include <jpeglib.h> | 8349 #include <jpeglib.h> |
8332 EOF | 8350 EOF |
8333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8334 { (eval echo configure:8335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8352 { (eval echo configure:8353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8336 if test -z "$ac_err"; then | 8354 if test -z "$ac_err"; then |
8337 rm -rf conftest* | 8355 rm -rf conftest* |
8338 eval "ac_cv_header_$ac_safe=yes" | 8356 eval "ac_cv_header_$ac_safe=yes" |
8339 else | 8357 else |
8352 with_jpeg=no | 8370 with_jpeg=no |
8353 fi | 8371 fi |
8354 } | 8372 } |
8355 test -z "$with_jpeg" && { | 8373 test -z "$with_jpeg" && { |
8356 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8374 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8357 echo "configure:8358: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8375 echo "configure:8376: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8358 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8376 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8359 | 8377 |
8360 xe_check_libs=" -ljpeg " | 8378 xe_check_libs=" -ljpeg " |
8361 cat > conftest.$ac_ext <<EOF | 8379 cat > conftest.$ac_ext <<EOF |
8362 #line 8363 "configure" | 8380 #line 8381 "configure" |
8363 #include "confdefs.h" | 8381 #include "confdefs.h" |
8364 /* Override any gcc2 internal prototype to avoid an error. */ | 8382 /* Override any gcc2 internal prototype to avoid an error. */ |
8365 /* We use char because int might match the return type of a gcc2 | 8383 /* We use char because int might match the return type of a gcc2 |
8366 builtin and then its argument prototype would still apply. */ | 8384 builtin and then its argument prototype would still apply. */ |
8367 char jpeg_destroy_decompress(); | 8385 char jpeg_destroy_decompress(); |
8368 | 8386 |
8369 int main() { | 8387 int main() { |
8370 jpeg_destroy_decompress() | 8388 jpeg_destroy_decompress() |
8371 ; return 0; } | 8389 ; return 0; } |
8372 EOF | 8390 EOF |
8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8391 if { (eval echo configure:8392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8374 rm -rf conftest* | 8392 rm -rf conftest* |
8375 eval "ac_cv_lib_$ac_lib_var=yes" | 8393 eval "ac_cv_lib_$ac_lib_var=yes" |
8376 else | 8394 else |
8377 echo "configure: failed program was:" >&5 | 8395 echo "configure: failed program was:" >&5 |
8378 cat conftest.$ac_ext >&5 | 8396 cat conftest.$ac_ext >&5 |
8404 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8422 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8405 fi | 8423 fi |
8406 | 8424 |
8407 png_problem="" | 8425 png_problem="" |
8408 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8426 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8409 echo "configure:8410: checking for pow" >&5 | 8427 echo "configure:8428: checking for pow" >&5 |
8410 | 8428 |
8411 cat > conftest.$ac_ext <<EOF | 8429 cat > conftest.$ac_ext <<EOF |
8412 #line 8413 "configure" | 8430 #line 8431 "configure" |
8413 #include "confdefs.h" | 8431 #include "confdefs.h" |
8414 /* System header to define __stub macros and hopefully few prototypes, | 8432 /* System header to define __stub macros and hopefully few prototypes, |
8415 which can conflict with char pow(); below. */ | 8433 which can conflict with char pow(); below. */ |
8416 #include <assert.h> | 8434 #include <assert.h> |
8417 /* Override any gcc2 internal prototype to avoid an error. */ | 8435 /* Override any gcc2 internal prototype to avoid an error. */ |
8430 pow(); | 8448 pow(); |
8431 #endif | 8449 #endif |
8432 | 8450 |
8433 ; return 0; } | 8451 ; return 0; } |
8434 EOF | 8452 EOF |
8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8436 rm -rf conftest* | 8454 rm -rf conftest* |
8437 eval "ac_cv_func_pow=yes" | 8455 eval "ac_cv_func_pow=yes" |
8438 else | 8456 else |
8439 echo "configure: failed program was:" >&5 | 8457 echo "configure: failed program was:" >&5 |
8440 cat conftest.$ac_ext >&5 | 8458 cat conftest.$ac_ext >&5 |
8451 with_png=no | 8469 with_png=no |
8452 fi | 8470 fi |
8453 } | 8471 } |
8454 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8472 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8455 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8473 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8456 echo "configure:8457: checking for png.h" >&5 | 8474 echo "configure:8475: checking for png.h" >&5 |
8457 | 8475 |
8458 cat > conftest.$ac_ext <<EOF | 8476 cat > conftest.$ac_ext <<EOF |
8459 #line 8460 "configure" | 8477 #line 8478 "configure" |
8460 #include "confdefs.h" | 8478 #include "confdefs.h" |
8461 #include <png.h> | 8479 #include <png.h> |
8462 EOF | 8480 EOF |
8463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8464 { (eval echo configure:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8482 { (eval echo configure:8483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8466 if test -z "$ac_err"; then | 8484 if test -z "$ac_err"; then |
8467 rm -rf conftest* | 8485 rm -rf conftest* |
8468 eval "ac_cv_header_$ac_safe=yes" | 8486 eval "ac_cv_header_$ac_safe=yes" |
8469 else | 8487 else |
8482 with_png=no | 8500 with_png=no |
8483 fi | 8501 fi |
8484 } | 8502 } |
8485 test -z "$with_png" && { | 8503 test -z "$with_png" && { |
8486 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8504 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8487 echo "configure:8488: checking for png_read_image in -lpng" >&5 | 8505 echo "configure:8506: checking for png_read_image in -lpng" >&5 |
8488 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8506 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8489 | 8507 |
8490 xe_check_libs=" -lpng " | 8508 xe_check_libs=" -lpng " |
8491 cat > conftest.$ac_ext <<EOF | 8509 cat > conftest.$ac_ext <<EOF |
8492 #line 8493 "configure" | 8510 #line 8511 "configure" |
8493 #include "confdefs.h" | 8511 #include "confdefs.h" |
8494 /* Override any gcc2 internal prototype to avoid an error. */ | 8512 /* Override any gcc2 internal prototype to avoid an error. */ |
8495 /* We use char because int might match the return type of a gcc2 | 8513 /* We use char because int might match the return type of a gcc2 |
8496 builtin and then its argument prototype would still apply. */ | 8514 builtin and then its argument prototype would still apply. */ |
8497 char png_read_image(); | 8515 char png_read_image(); |
8498 | 8516 |
8499 int main() { | 8517 int main() { |
8500 png_read_image() | 8518 png_read_image() |
8501 ; return 0; } | 8519 ; return 0; } |
8502 EOF | 8520 EOF |
8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8521 if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8504 rm -rf conftest* | 8522 rm -rf conftest* |
8505 eval "ac_cv_lib_$ac_lib_var=yes" | 8523 eval "ac_cv_lib_$ac_lib_var=yes" |
8506 else | 8524 else |
8507 echo "configure: failed program was:" >&5 | 8525 echo "configure: failed program was:" >&5 |
8508 cat conftest.$ac_ext >&5 | 8526 cat conftest.$ac_ext >&5 |
8521 fi | 8539 fi |
8522 | 8540 |
8523 } | 8541 } |
8524 if test -z "$with_png"; then | 8542 if test -z "$with_png"; then |
8525 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8543 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8526 echo "configure:8527: checking for workable png version information" >&5 | 8544 echo "configure:8545: checking for workable png version information" >&5 |
8527 xe_check_libs="-lpng -lz" | 8545 xe_check_libs="-lpng -lz" |
8528 cat > conftest.$ac_ext <<EOF | 8546 cat > conftest.$ac_ext <<EOF |
8529 #line 8530 "configure" | 8547 #line 8548 "configure" |
8530 #include "confdefs.h" | 8548 #include "confdefs.h" |
8531 #include <png.h> | 8549 #include <png.h> |
8532 int main(int c, char **v) { | 8550 int main(int c, char **v) { |
8533 if (c == 1) return 0; | 8551 if (c == 1) return 0; |
8534 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8552 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8535 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8553 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8536 EOF | 8554 EOF |
8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8555 if { (eval echo configure:8556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8538 then | 8556 then |
8539 ./conftest dummy_arg; png_status=$?; | 8557 ./conftest dummy_arg; png_status=$?; |
8540 if test "$png_status" = "0"; then | 8558 if test "$png_status" = "0"; then |
8541 with_png=yes; | 8559 with_png=yes; |
8542 else | 8560 else |
8575 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8593 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8576 fi | 8594 fi |
8577 | 8595 |
8578 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8596 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8579 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8597 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8580 echo "configure:8581: checking for tiffio.h" >&5 | 8598 echo "configure:8599: checking for tiffio.h" >&5 |
8581 | 8599 |
8582 cat > conftest.$ac_ext <<EOF | 8600 cat > conftest.$ac_ext <<EOF |
8583 #line 8584 "configure" | 8601 #line 8602 "configure" |
8584 #include "confdefs.h" | 8602 #include "confdefs.h" |
8585 #include <tiffio.h> | 8603 #include <tiffio.h> |
8586 EOF | 8604 EOF |
8587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8588 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8606 { (eval echo configure:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8590 if test -z "$ac_err"; then | 8608 if test -z "$ac_err"; then |
8591 rm -rf conftest* | 8609 rm -rf conftest* |
8592 eval "ac_cv_header_$ac_safe=yes" | 8610 eval "ac_cv_header_$ac_safe=yes" |
8593 else | 8611 else |
8606 with_tiff=no | 8624 with_tiff=no |
8607 fi | 8625 fi |
8608 } | 8626 } |
8609 test -z "$with_tiff" && { | 8627 test -z "$with_tiff" && { |
8610 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8628 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8611 echo "configure:8612: checking for TIFFClientOpen in -ltiff" >&5 | 8629 echo "configure:8630: checking for TIFFClientOpen in -ltiff" >&5 |
8612 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8630 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8613 | 8631 |
8614 xe_check_libs=" -ltiff " | 8632 xe_check_libs=" -ltiff " |
8615 cat > conftest.$ac_ext <<EOF | 8633 cat > conftest.$ac_ext <<EOF |
8616 #line 8617 "configure" | 8634 #line 8635 "configure" |
8617 #include "confdefs.h" | 8635 #include "confdefs.h" |
8618 /* Override any gcc2 internal prototype to avoid an error. */ | 8636 /* Override any gcc2 internal prototype to avoid an error. */ |
8619 /* We use char because int might match the return type of a gcc2 | 8637 /* We use char because int might match the return type of a gcc2 |
8620 builtin and then its argument prototype would still apply. */ | 8638 builtin and then its argument prototype would still apply. */ |
8621 char TIFFClientOpen(); | 8639 char TIFFClientOpen(); |
8622 | 8640 |
8623 int main() { | 8641 int main() { |
8624 TIFFClientOpen() | 8642 TIFFClientOpen() |
8625 ; return 0; } | 8643 ; return 0; } |
8626 EOF | 8644 EOF |
8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8645 if { (eval echo configure:8646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8628 rm -rf conftest* | 8646 rm -rf conftest* |
8629 eval "ac_cv_lib_$ac_lib_var=yes" | 8647 eval "ac_cv_lib_$ac_lib_var=yes" |
8630 else | 8648 else |
8631 echo "configure: failed program was:" >&5 | 8649 echo "configure: failed program was:" >&5 |
8632 cat conftest.$ac_ext >&5 | 8650 cat conftest.$ac_ext >&5 |
8661 | 8679 |
8662 | 8680 |
8663 if test "$with_gtk" = "yes"; then | 8681 if test "$with_gtk" = "yes"; then |
8664 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8682 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8665 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8683 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8666 echo "configure:8667: checking for compface.h" >&5 | 8684 echo "configure:8685: checking for compface.h" >&5 |
8667 | 8685 |
8668 cat > conftest.$ac_ext <<EOF | 8686 cat > conftest.$ac_ext <<EOF |
8669 #line 8670 "configure" | 8687 #line 8688 "configure" |
8670 #include "confdefs.h" | 8688 #include "confdefs.h" |
8671 #include <compface.h> | 8689 #include <compface.h> |
8672 EOF | 8690 EOF |
8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8692 { (eval echo configure:8693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8676 if test -z "$ac_err"; then | 8694 if test -z "$ac_err"; then |
8677 rm -rf conftest* | 8695 rm -rf conftest* |
8678 eval "ac_cv_header_$ac_safe=yes" | 8696 eval "ac_cv_header_$ac_safe=yes" |
8679 else | 8697 else |
8692 with_xface=no | 8710 with_xface=no |
8693 fi | 8711 fi |
8694 } | 8712 } |
8695 test -z "$with_xface" && { | 8713 test -z "$with_xface" && { |
8696 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8714 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8697 echo "configure:8698: checking for UnGenFace in -lcompface" >&5 | 8715 echo "configure:8716: checking for UnGenFace in -lcompface" >&5 |
8698 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8716 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8699 | 8717 |
8700 xe_check_libs=" -lcompface " | 8718 xe_check_libs=" -lcompface " |
8701 cat > conftest.$ac_ext <<EOF | 8719 cat > conftest.$ac_ext <<EOF |
8702 #line 8703 "configure" | 8720 #line 8721 "configure" |
8703 #include "confdefs.h" | 8721 #include "confdefs.h" |
8704 /* Override any gcc2 internal prototype to avoid an error. */ | 8722 /* Override any gcc2 internal prototype to avoid an error. */ |
8705 /* We use char because int might match the return type of a gcc2 | 8723 /* We use char because int might match the return type of a gcc2 |
8706 builtin and then its argument prototype would still apply. */ | 8724 builtin and then its argument prototype would still apply. */ |
8707 char UnGenFace(); | 8725 char UnGenFace(); |
8708 | 8726 |
8709 int main() { | 8727 int main() { |
8710 UnGenFace() | 8728 UnGenFace() |
8711 ; return 0; } | 8729 ; return 0; } |
8712 EOF | 8730 EOF |
8713 if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8731 if { (eval echo configure:8732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8714 rm -rf conftest* | 8732 rm -rf conftest* |
8715 eval "ac_cv_lib_$ac_lib_var=yes" | 8733 eval "ac_cv_lib_$ac_lib_var=yes" |
8716 else | 8734 else |
8717 echo "configure: failed program was:" >&5 | 8735 echo "configure: failed program was:" >&5 |
8718 cat conftest.$ac_ext >&5 | 8736 cat conftest.$ac_ext >&5 |
8748 | 8766 |
8749 | 8767 |
8750 if test "$with_x11" = "yes"; then | 8768 if test "$with_x11" = "yes"; then |
8751 | 8769 |
8752 echo "checking for X11 graphics libraries" 1>&6 | 8770 echo "checking for X11 graphics libraries" 1>&6 |
8753 echo "configure:8754: checking for X11 graphics libraries" >&5 | 8771 echo "configure:8772: checking for X11 graphics libraries" >&5 |
8754 | 8772 |
8755 echo "checking for the Athena widgets" 1>&6 | 8773 echo "checking for the Athena widgets" 1>&6 |
8756 echo "configure:8757: checking for the Athena widgets" >&5 | 8774 echo "configure:8775: checking for the Athena widgets" >&5 |
8757 | 8775 |
8758 case "$with_athena" in | 8776 case "$with_athena" in |
8759 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8777 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8760 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8778 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8761 "next") athena_variant=neXtaw athena_3d=yes ;; | 8779 "next") athena_variant=neXtaw athena_3d=yes ;; |
8765 esac | 8783 esac |
8766 | 8784 |
8767 if test "$athena_3d" = "no"; then | 8785 if test "$athena_3d" = "no"; then |
8768 | 8786 |
8769 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8787 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8770 echo "configure:8771: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8788 echo "configure:8789: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8771 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8789 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8772 | 8790 |
8773 xe_check_libs=" -l$athena_variant " | 8791 xe_check_libs=" -l$athena_variant " |
8774 cat > conftest.$ac_ext <<EOF | 8792 cat > conftest.$ac_ext <<EOF |
8775 #line 8776 "configure" | 8793 #line 8794 "configure" |
8776 #include "confdefs.h" | 8794 #include "confdefs.h" |
8777 /* Override any gcc2 internal prototype to avoid an error. */ | 8795 /* Override any gcc2 internal prototype to avoid an error. */ |
8778 /* We use char because int might match the return type of a gcc2 | 8796 /* We use char because int might match the return type of a gcc2 |
8779 builtin and then its argument prototype would still apply. */ | 8797 builtin and then its argument prototype would still apply. */ |
8780 char XawScrollbarSetThumb(); | 8798 char XawScrollbarSetThumb(); |
8781 | 8799 |
8782 int main() { | 8800 int main() { |
8783 XawScrollbarSetThumb() | 8801 XawScrollbarSetThumb() |
8784 ; return 0; } | 8802 ; return 0; } |
8785 EOF | 8803 EOF |
8786 if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8804 if { (eval echo configure:8805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8787 rm -rf conftest* | 8805 rm -rf conftest* |
8788 eval "ac_cv_lib_$ac_lib_var=yes" | 8806 eval "ac_cv_lib_$ac_lib_var=yes" |
8789 else | 8807 else |
8790 echo "configure: failed program was:" >&5 | 8808 echo "configure: failed program was:" >&5 |
8791 cat conftest.$ac_ext >&5 | 8809 cat conftest.$ac_ext >&5 |
8797 | 8815 |
8798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8799 echo "$ac_t""yes" 1>&6 | 8817 echo "$ac_t""yes" 1>&6 |
8800 | 8818 |
8801 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8819 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8802 echo "configure:8803: checking for threeDClassRec in -l$athena_variant" >&5 | 8820 echo "configure:8821: checking for threeDClassRec in -l$athena_variant" >&5 |
8803 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8821 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8804 | 8822 |
8805 xe_check_libs=" -l$athena_variant " | 8823 xe_check_libs=" -l$athena_variant " |
8806 cat > conftest.$ac_ext <<EOF | 8824 cat > conftest.$ac_ext <<EOF |
8807 #line 8808 "configure" | 8825 #line 8826 "configure" |
8808 #include "confdefs.h" | 8826 #include "confdefs.h" |
8809 /* Override any gcc2 internal prototype to avoid an error. */ | 8827 /* Override any gcc2 internal prototype to avoid an error. */ |
8810 /* We use char because int might match the return type of a gcc2 | 8828 /* We use char because int might match the return type of a gcc2 |
8811 builtin and then its argument prototype would still apply. */ | 8829 builtin and then its argument prototype would still apply. */ |
8812 char threeDClassRec(); | 8830 char threeDClassRec(); |
8813 | 8831 |
8814 int main() { | 8832 int main() { |
8815 threeDClassRec() | 8833 threeDClassRec() |
8816 ; return 0; } | 8834 ; return 0; } |
8817 EOF | 8835 EOF |
8818 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8836 if { (eval echo configure:8837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8819 rm -rf conftest* | 8837 rm -rf conftest* |
8820 eval "ac_cv_lib_$ac_lib_var=yes" | 8838 eval "ac_cv_lib_$ac_lib_var=yes" |
8821 else | 8839 else |
8822 echo "configure: failed program was:" >&5 | 8840 echo "configure: failed program was:" >&5 |
8823 cat conftest.$ac_ext >&5 | 8841 cat conftest.$ac_ext >&5 |
8827 rm -f conftest* | 8845 rm -f conftest* |
8828 xe_check_libs="" | 8846 xe_check_libs="" |
8829 | 8847 |
8830 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8848 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8831 echo "$ac_t""yes" 1>&6 | 8849 echo "$ac_t""yes" 1>&6 |
8832 echo "configure: warning: "Could not find a non-3d Athena widget library."" 1>&2 | 8850 echo "configure: warning: Could not find a non-3d Athena widget library." 1>&2 |
8833 else | 8851 else |
8834 echo "$ac_t""no" 1>&6 | 8852 echo "$ac_t""no" 1>&6 |
8835 athena_lib=$athena_variant | 8853 athena_lib=$athena_variant |
8836 fi | 8854 fi |
8837 | 8855 |
8838 | 8856 |
8839 | 8857 |
8840 else | 8858 else |
8841 echo "$ac_t""no" 1>&6 | 8859 echo "$ac_t""no" 1>&6 |
8842 echo "configure: warning: "Could not find an Athena widget library."" 1>&2 | 8860 echo "configure: warning: Could not find an Athena widget library." 1>&2 |
8843 fi | 8861 fi |
8844 | 8862 |
8845 | 8863 |
8846 else | 8864 else |
8847 | 8865 |
8848 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8866 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8849 echo "configure:8850: checking for threeDClassRec in -l$athena_variant" >&5 | 8867 echo "configure:8868: checking for threeDClassRec in -l$athena_variant" >&5 |
8850 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8868 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8851 | 8869 |
8852 xe_check_libs=" -l$athena_variant " | 8870 xe_check_libs=" -l$athena_variant " |
8853 cat > conftest.$ac_ext <<EOF | 8871 cat > conftest.$ac_ext <<EOF |
8854 #line 8855 "configure" | 8872 #line 8873 "configure" |
8855 #include "confdefs.h" | 8873 #include "confdefs.h" |
8856 /* Override any gcc2 internal prototype to avoid an error. */ | 8874 /* Override any gcc2 internal prototype to avoid an error. */ |
8857 /* We use char because int might match the return type of a gcc2 | 8875 /* We use char because int might match the return type of a gcc2 |
8858 builtin and then its argument prototype would still apply. */ | 8876 builtin and then its argument prototype would still apply. */ |
8859 char threeDClassRec(); | 8877 char threeDClassRec(); |
8860 | 8878 |
8861 int main() { | 8879 int main() { |
8862 threeDClassRec() | 8880 threeDClassRec() |
8863 ; return 0; } | 8881 ; return 0; } |
8864 EOF | 8882 EOF |
8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8883 if { (eval echo configure:8884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8866 rm -rf conftest* | 8884 rm -rf conftest* |
8867 eval "ac_cv_lib_$ac_lib_var=yes" | 8885 eval "ac_cv_lib_$ac_lib_var=yes" |
8868 else | 8886 else |
8869 echo "configure: failed program was:" >&5 | 8887 echo "configure: failed program was:" >&5 |
8870 cat conftest.$ac_ext >&5 | 8888 cat conftest.$ac_ext >&5 |
8878 echo "$ac_t""yes" 1>&6 | 8896 echo "$ac_t""yes" 1>&6 |
8879 athena_lib=$athena_variant | 8897 athena_lib=$athena_variant |
8880 else | 8898 else |
8881 echo "$ac_t""no" 1>&6 | 8899 echo "$ac_t""no" 1>&6 |
8882 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8900 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8883 echo "configure:8884: checking for threeDClassRec in -lXaw" >&5 | 8901 echo "configure:8902: checking for threeDClassRec in -lXaw" >&5 |
8884 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8902 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8885 | 8903 |
8886 xe_check_libs=" -lXaw " | 8904 xe_check_libs=" -lXaw " |
8887 cat > conftest.$ac_ext <<EOF | 8905 cat > conftest.$ac_ext <<EOF |
8888 #line 8889 "configure" | 8906 #line 8907 "configure" |
8889 #include "confdefs.h" | 8907 #include "confdefs.h" |
8890 /* Override any gcc2 internal prototype to avoid an error. */ | 8908 /* Override any gcc2 internal prototype to avoid an error. */ |
8891 /* We use char because int might match the return type of a gcc2 | 8909 /* We use char because int might match the return type of a gcc2 |
8892 builtin and then its argument prototype would still apply. */ | 8910 builtin and then its argument prototype would still apply. */ |
8893 char threeDClassRec(); | 8911 char threeDClassRec(); |
8894 | 8912 |
8895 int main() { | 8913 int main() { |
8896 threeDClassRec() | 8914 threeDClassRec() |
8897 ; return 0; } | 8915 ; return 0; } |
8898 EOF | 8916 EOF |
8899 if { (eval echo configure:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8917 if { (eval echo configure:8918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8900 rm -rf conftest* | 8918 rm -rf conftest* |
8901 eval "ac_cv_lib_$ac_lib_var=yes" | 8919 eval "ac_cv_lib_$ac_lib_var=yes" |
8902 else | 8920 else |
8903 echo "configure: failed program was:" >&5 | 8921 echo "configure: failed program was:" >&5 |
8904 cat conftest.$ac_ext >&5 | 8922 cat conftest.$ac_ext >&5 |
8909 xe_check_libs="" | 8927 xe_check_libs="" |
8910 | 8928 |
8911 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8912 echo "$ac_t""yes" 1>&6 | 8930 echo "$ac_t""yes" 1>&6 |
8913 athena_lib=Xaw; | 8931 athena_lib=Xaw; |
8914 echo "configure: warning: "Assuming that libXaw is actually $athena_variant."" 1>&2; | 8932 echo "configure: warning: Assuming that libXaw is actually $athena_variant." 1>&2; |
8915 | 8933 |
8916 else | 8934 else |
8917 echo "$ac_t""no" 1>&6 | 8935 echo "$ac_t""no" 1>&6 |
8918 echo "configure: warning: "Could not find a 3d Athena widget library that looked like $athena_variant."" 1>&2 | 8936 echo "configure: warning: Could not find a 3d Athena widget library that looked like $athena_variant." 1>&2 |
8919 fi | 8937 fi |
8920 | 8938 |
8921 | 8939 |
8922 fi | 8940 fi |
8923 | 8941 |
8925 fi | 8943 fi |
8926 | 8944 |
8927 if test "$athena_3d" = "no"; then | 8945 if test "$athena_3d" = "no"; then |
8928 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8946 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8929 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8947 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8930 echo "configure:8931: checking for X11/Xaw/ThreeD.h" >&5 | 8948 echo "configure:8949: checking for X11/Xaw/ThreeD.h" >&5 |
8931 | 8949 |
8932 cat > conftest.$ac_ext <<EOF | 8950 cat > conftest.$ac_ext <<EOF |
8933 #line 8934 "configure" | 8951 #line 8952 "configure" |
8934 #include "confdefs.h" | 8952 #include "confdefs.h" |
8935 #include <X11/Xaw/ThreeD.h> | 8953 #include <X11/Xaw/ThreeD.h> |
8936 EOF | 8954 EOF |
8937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8938 { (eval echo configure:8939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8956 { (eval echo configure:8957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8940 if test -z "$ac_err"; then | 8958 if test -z "$ac_err"; then |
8941 rm -rf conftest* | 8959 rm -rf conftest* |
8942 eval "ac_cv_header_$ac_safe=yes" | 8960 eval "ac_cv_header_$ac_safe=yes" |
8943 else | 8961 else |
8948 eval "ac_cv_header_$ac_safe=no" | 8966 eval "ac_cv_header_$ac_safe=no" |
8949 fi | 8967 fi |
8950 rm -f conftest* | 8968 rm -f conftest* |
8951 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8952 echo "$ac_t""yes" 1>&6 | 8970 echo "$ac_t""yes" 1>&6 |
8953 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8971 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
8954 else | 8972 else |
8955 echo "$ac_t""no" 1>&6 | 8973 echo "$ac_t""no" 1>&6 |
8956 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8974 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8957 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8975 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8958 echo "configure:8959: checking for X11/Xaw/XawInit.h" >&5 | 8976 echo "configure:8977: checking for X11/Xaw/XawInit.h" >&5 |
8959 | 8977 |
8960 cat > conftest.$ac_ext <<EOF | 8978 cat > conftest.$ac_ext <<EOF |
8961 #line 8962 "configure" | 8979 #line 8980 "configure" |
8962 #include "confdefs.h" | 8980 #include "confdefs.h" |
8963 #include <X11/Xaw/XawInit.h> | 8981 #include <X11/Xaw/XawInit.h> |
8964 EOF | 8982 EOF |
8965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8966 { (eval echo configure:8967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8984 { (eval echo configure:8985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8968 if test -z "$ac_err"; then | 8986 if test -z "$ac_err"; then |
8969 rm -rf conftest* | 8987 rm -rf conftest* |
8970 eval "ac_cv_header_$ac_safe=yes" | 8988 eval "ac_cv_header_$ac_safe=yes" |
8971 else | 8989 else |
8979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8997 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8980 echo "$ac_t""yes" 1>&6 | 8998 echo "$ac_t""yes" 1>&6 |
8981 athena_h_path=X11/Xaw | 8999 athena_h_path=X11/Xaw |
8982 else | 9000 else |
8983 echo "$ac_t""no" 1>&6 | 9001 echo "$ac_t""no" 1>&6 |
8984 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 9002 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
8985 fi | 9003 fi |
8986 | 9004 |
8987 fi | 9005 fi |
8988 | 9006 |
8989 else | 9007 else |
8990 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9008 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8991 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9009 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8992 echo "configure:8993: checking for X11/$athena_variant/XawInit.h" >&5 | 9010 echo "configure:9011: checking for X11/$athena_variant/XawInit.h" >&5 |
8993 | 9011 |
8994 cat > conftest.$ac_ext <<EOF | 9012 cat > conftest.$ac_ext <<EOF |
8995 #line 8996 "configure" | 9013 #line 9014 "configure" |
8996 #include "confdefs.h" | 9014 #include "confdefs.h" |
8997 #include <X11/$athena_variant/XawInit.h> | 9015 #include <X11/$athena_variant/XawInit.h> |
8998 EOF | 9016 EOF |
8999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9000 { (eval echo configure:9001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9018 { (eval echo configure:9019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9002 if test -z "$ac_err"; then | 9020 if test -z "$ac_err"; then |
9003 rm -rf conftest* | 9021 rm -rf conftest* |
9004 eval "ac_cv_header_$ac_safe=yes" | 9022 eval "ac_cv_header_$ac_safe=yes" |
9005 else | 9023 else |
9012 rm -f conftest* | 9030 rm -f conftest* |
9013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9031 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9014 echo "$ac_t""yes" 1>&6 | 9032 echo "$ac_t""yes" 1>&6 |
9015 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9033 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9016 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9034 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9017 echo "configure:9018: checking for X11/$athena_variant/ThreeD.h" >&5 | 9035 echo "configure:9036: checking for X11/$athena_variant/ThreeD.h" >&5 |
9018 | 9036 |
9019 cat > conftest.$ac_ext <<EOF | 9037 cat > conftest.$ac_ext <<EOF |
9020 #line 9021 "configure" | 9038 #line 9039 "configure" |
9021 #include "confdefs.h" | 9039 #include "confdefs.h" |
9022 #include <X11/$athena_variant/ThreeD.h> | 9040 #include <X11/$athena_variant/ThreeD.h> |
9023 EOF | 9041 EOF |
9024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9025 { (eval echo configure:9026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9043 { (eval echo configure:9044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9027 if test -z "$ac_err"; then | 9045 if test -z "$ac_err"; then |
9028 rm -rf conftest* | 9046 rm -rf conftest* |
9029 eval "ac_cv_header_$ac_safe=yes" | 9047 eval "ac_cv_header_$ac_safe=yes" |
9030 else | 9048 else |
9048 | 9066 |
9049 | 9067 |
9050 if test -z "$athena_h_path"; then | 9068 if test -z "$athena_h_path"; then |
9051 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9069 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9052 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9070 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9053 echo "configure:9054: checking for $athena_variant/XawInit.h" >&5 | 9071 echo "configure:9072: checking for $athena_variant/XawInit.h" >&5 |
9054 | 9072 |
9055 cat > conftest.$ac_ext <<EOF | 9073 cat > conftest.$ac_ext <<EOF |
9056 #line 9057 "configure" | 9074 #line 9075 "configure" |
9057 #include "confdefs.h" | 9075 #include "confdefs.h" |
9058 #include <$athena_variant/XawInit.h> | 9076 #include <$athena_variant/XawInit.h> |
9059 EOF | 9077 EOF |
9060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9061 { (eval echo configure:9062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9079 { (eval echo configure:9080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9063 if test -z "$ac_err"; then | 9081 if test -z "$ac_err"; then |
9064 rm -rf conftest* | 9082 rm -rf conftest* |
9065 eval "ac_cv_header_$ac_safe=yes" | 9083 eval "ac_cv_header_$ac_safe=yes" |
9066 else | 9084 else |
9073 rm -f conftest* | 9091 rm -f conftest* |
9074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9075 echo "$ac_t""yes" 1>&6 | 9093 echo "$ac_t""yes" 1>&6 |
9076 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9094 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9077 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9095 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9078 echo "configure:9079: checking for $athena_variant/ThreeD.h" >&5 | 9096 echo "configure:9097: checking for $athena_variant/ThreeD.h" >&5 |
9079 | 9097 |
9080 cat > conftest.$ac_ext <<EOF | 9098 cat > conftest.$ac_ext <<EOF |
9081 #line 9082 "configure" | 9099 #line 9100 "configure" |
9082 #include "confdefs.h" | 9100 #include "confdefs.h" |
9083 #include <$athena_variant/ThreeD.h> | 9101 #include <$athena_variant/ThreeD.h> |
9084 EOF | 9102 EOF |
9085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9086 { (eval echo configure:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9104 { (eval echo configure:9105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9088 if test -z "$ac_err"; then | 9106 if test -z "$ac_err"; then |
9089 rm -rf conftest* | 9107 rm -rf conftest* |
9090 eval "ac_cv_header_$ac_safe=yes" | 9108 eval "ac_cv_header_$ac_safe=yes" |
9091 else | 9109 else |
9110 fi | 9128 fi |
9111 | 9129 |
9112 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9130 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9113 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9131 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9114 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9132 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9115 echo "configure:9116: checking for X11/Xaw3d/XawInit.h" >&5 | 9133 echo "configure:9134: checking for X11/Xaw3d/XawInit.h" >&5 |
9116 | 9134 |
9117 cat > conftest.$ac_ext <<EOF | 9135 cat > conftest.$ac_ext <<EOF |
9118 #line 9119 "configure" | 9136 #line 9137 "configure" |
9119 #include "confdefs.h" | 9137 #include "confdefs.h" |
9120 #include <X11/Xaw3d/XawInit.h> | 9138 #include <X11/Xaw3d/XawInit.h> |
9121 EOF | 9139 EOF |
9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9141 { (eval echo configure:9142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9125 if test -z "$ac_err"; then | 9143 if test -z "$ac_err"; then |
9126 rm -rf conftest* | 9144 rm -rf conftest* |
9127 eval "ac_cv_header_$ac_safe=yes" | 9145 eval "ac_cv_header_$ac_safe=yes" |
9128 else | 9146 else |
9135 rm -f conftest* | 9153 rm -f conftest* |
9136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9154 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9137 echo "$ac_t""yes" 1>&6 | 9155 echo "$ac_t""yes" 1>&6 |
9138 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9156 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9139 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9157 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9140 echo "configure:9141: checking for X11/Xaw3d/ThreeD.h" >&5 | 9158 echo "configure:9159: checking for X11/Xaw3d/ThreeD.h" >&5 |
9141 | 9159 |
9142 cat > conftest.$ac_ext <<EOF | 9160 cat > conftest.$ac_ext <<EOF |
9143 #line 9144 "configure" | 9161 #line 9162 "configure" |
9144 #include "confdefs.h" | 9162 #include "confdefs.h" |
9145 #include <X11/Xaw3d/ThreeD.h> | 9163 #include <X11/Xaw3d/ThreeD.h> |
9146 EOF | 9164 EOF |
9147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9148 { (eval echo configure:9149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9166 { (eval echo configure:9167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9150 if test -z "$ac_err"; then | 9168 if test -z "$ac_err"; then |
9151 rm -rf conftest* | 9169 rm -rf conftest* |
9152 eval "ac_cv_header_$ac_safe=yes" | 9170 eval "ac_cv_header_$ac_safe=yes" |
9153 else | 9171 else |
9159 fi | 9177 fi |
9160 rm -f conftest* | 9178 rm -f conftest* |
9161 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9162 echo "$ac_t""yes" 1>&6 | 9180 echo "$ac_t""yes" 1>&6 |
9163 | 9181 |
9164 echo "configure: warning: "Assuming that X11/Xaw3d headers are suitable for $athena_variant."" 1>&2 | 9182 echo "configure: warning: Assuming that X11/Xaw3d headers are suitable for $athena_variant." 1>&2 |
9165 athena_h_path=X11/Xaw3d | 9183 athena_h_path=X11/Xaw3d |
9166 | 9184 |
9167 else | 9185 else |
9168 echo "$ac_t""no" 1>&6 | 9186 echo "$ac_t""no" 1>&6 |
9169 fi | 9187 fi |
9175 fi | 9193 fi |
9176 | 9194 |
9177 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9195 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9178 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9196 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9179 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9197 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9180 echo "configure:9181: checking for Xaw3d/XawInit.h" >&5 | 9198 echo "configure:9199: checking for Xaw3d/XawInit.h" >&5 |
9181 | 9199 |
9182 cat > conftest.$ac_ext <<EOF | 9200 cat > conftest.$ac_ext <<EOF |
9183 #line 9184 "configure" | 9201 #line 9202 "configure" |
9184 #include "confdefs.h" | 9202 #include "confdefs.h" |
9185 #include <Xaw3d/XawInit.h> | 9203 #include <Xaw3d/XawInit.h> |
9186 EOF | 9204 EOF |
9187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9188 { (eval echo configure:9189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9206 { (eval echo configure:9207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9190 if test -z "$ac_err"; then | 9208 if test -z "$ac_err"; then |
9191 rm -rf conftest* | 9209 rm -rf conftest* |
9192 eval "ac_cv_header_$ac_safe=yes" | 9210 eval "ac_cv_header_$ac_safe=yes" |
9193 else | 9211 else |
9200 rm -f conftest* | 9218 rm -f conftest* |
9201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9202 echo "$ac_t""yes" 1>&6 | 9220 echo "$ac_t""yes" 1>&6 |
9203 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9221 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9204 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9222 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9205 echo "configure:9206: checking for Xaw3d/ThreeD.h" >&5 | 9223 echo "configure:9224: checking for Xaw3d/ThreeD.h" >&5 |
9206 | 9224 |
9207 cat > conftest.$ac_ext <<EOF | 9225 cat > conftest.$ac_ext <<EOF |
9208 #line 9209 "configure" | 9226 #line 9227 "configure" |
9209 #include "confdefs.h" | 9227 #include "confdefs.h" |
9210 #include <Xaw3d/ThreeD.h> | 9228 #include <Xaw3d/ThreeD.h> |
9211 EOF | 9229 EOF |
9212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9213 { (eval echo configure:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9231 { (eval echo configure:9232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9215 if test -z "$ac_err"; then | 9233 if test -z "$ac_err"; then |
9216 rm -rf conftest* | 9234 rm -rf conftest* |
9217 eval "ac_cv_header_$ac_safe=yes" | 9235 eval "ac_cv_header_$ac_safe=yes" |
9218 else | 9236 else |
9224 fi | 9242 fi |
9225 rm -f conftest* | 9243 rm -f conftest* |
9226 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9227 echo "$ac_t""yes" 1>&6 | 9245 echo "$ac_t""yes" 1>&6 |
9228 | 9246 |
9229 echo "configure: warning: "Assuming that Xaw3d headers are suitable for $athena_variant."" 1>&2 | 9247 echo "configure: warning: Assuming that Xaw3d headers are suitable for $athena_variant." 1>&2 |
9230 athena_h_path=Xaw3d | 9248 athena_h_path=Xaw3d |
9231 | 9249 |
9232 else | 9250 else |
9233 echo "$ac_t""no" 1>&6 | 9251 echo "$ac_t""no" 1>&6 |
9234 fi | 9252 fi |
9240 fi | 9258 fi |
9241 | 9259 |
9242 if test -z "$athena_h_path"; then | 9260 if test -z "$athena_h_path"; then |
9243 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9261 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9244 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9262 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9245 echo "configure:9246: checking for X11/Xaw/ThreeD.h" >&5 | 9263 echo "configure:9264: checking for X11/Xaw/ThreeD.h" >&5 |
9246 | 9264 |
9247 cat > conftest.$ac_ext <<EOF | 9265 cat > conftest.$ac_ext <<EOF |
9248 #line 9249 "configure" | 9266 #line 9267 "configure" |
9249 #include "confdefs.h" | 9267 #include "confdefs.h" |
9250 #include <X11/Xaw/ThreeD.h> | 9268 #include <X11/Xaw/ThreeD.h> |
9251 EOF | 9269 EOF |
9252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9253 { (eval echo configure:9254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9271 { (eval echo configure:9272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9255 if test -z "$ac_err"; then | 9273 if test -z "$ac_err"; then |
9256 rm -rf conftest* | 9274 rm -rf conftest* |
9257 eval "ac_cv_header_$ac_safe=yes" | 9275 eval "ac_cv_header_$ac_safe=yes" |
9258 else | 9276 else |
9264 fi | 9282 fi |
9265 rm -f conftest* | 9283 rm -f conftest* |
9266 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9267 echo "$ac_t""yes" 1>&6 | 9285 echo "$ac_t""yes" 1>&6 |
9268 | 9286 |
9269 echo "configure: warning: "Assuming that X11/Xaw headers are suitable for $athena_variant."" 1>&2 | 9287 echo "configure: warning: Assuming that X11/Xaw headers are suitable for $athena_variant." 1>&2 |
9270 athena_h_path=X11/Xaw | 9288 athena_h_path=X11/Xaw |
9271 | 9289 |
9272 else | 9290 else |
9273 echo "$ac_t""no" 1>&6 | 9291 echo "$ac_t""no" 1>&6 |
9274 echo "configure: warning: "Could not find a suitable 3d Athena header set."" 1>&2 | 9292 echo "configure: warning: Could not find a suitable 3d Athena header set." 1>&2 |
9275 fi | 9293 fi |
9276 | 9294 |
9277 fi | 9295 fi |
9278 fi | 9296 fi |
9279 | 9297 |
9283 have_xaw=no | 9301 have_xaw=no |
9284 fi | 9302 fi |
9285 | 9303 |
9286 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9304 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9287 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9305 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9288 echo "configure:9289: checking for Xm/Xm.h" >&5 | 9306 echo "configure:9307: checking for Xm/Xm.h" >&5 |
9289 | 9307 |
9290 cat > conftest.$ac_ext <<EOF | 9308 cat > conftest.$ac_ext <<EOF |
9291 #line 9292 "configure" | 9309 #line 9310 "configure" |
9292 #include "confdefs.h" | 9310 #include "confdefs.h" |
9293 #include <Xm/Xm.h> | 9311 #include <Xm/Xm.h> |
9294 EOF | 9312 EOF |
9295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9296 { (eval echo configure:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9314 { (eval echo configure:9315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9298 if test -z "$ac_err"; then | 9316 if test -z "$ac_err"; then |
9299 rm -rf conftest* | 9317 rm -rf conftest* |
9300 eval "ac_cv_header_$ac_safe=yes" | 9318 eval "ac_cv_header_$ac_safe=yes" |
9301 else | 9319 else |
9308 rm -f conftest* | 9326 rm -f conftest* |
9309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9310 echo "$ac_t""yes" 1>&6 | 9328 echo "$ac_t""yes" 1>&6 |
9311 | 9329 |
9312 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9330 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9313 echo "configure:9314: checking for XmStringFree in -lXm" >&5 | 9331 echo "configure:9332: checking for XmStringFree in -lXm" >&5 |
9314 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9332 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9315 | 9333 |
9316 xe_check_libs=" -lXm " | 9334 xe_check_libs=" -lXm " |
9317 cat > conftest.$ac_ext <<EOF | 9335 cat > conftest.$ac_ext <<EOF |
9318 #line 9319 "configure" | 9336 #line 9337 "configure" |
9319 #include "confdefs.h" | 9337 #include "confdefs.h" |
9320 /* Override any gcc2 internal prototype to avoid an error. */ | 9338 /* Override any gcc2 internal prototype to avoid an error. */ |
9321 /* We use char because int might match the return type of a gcc2 | 9339 /* We use char because int might match the return type of a gcc2 |
9322 builtin and then its argument prototype would still apply. */ | 9340 builtin and then its argument prototype would still apply. */ |
9323 char XmStringFree(); | 9341 char XmStringFree(); |
9324 | 9342 |
9325 int main() { | 9343 int main() { |
9326 XmStringFree() | 9344 XmStringFree() |
9327 ; return 0; } | 9345 ; return 0; } |
9328 EOF | 9346 EOF |
9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9347 if { (eval echo configure:9348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9330 rm -rf conftest* | 9348 rm -rf conftest* |
9331 eval "ac_cv_lib_$ac_lib_var=yes" | 9349 eval "ac_cv_lib_$ac_lib_var=yes" |
9332 else | 9350 else |
9333 echo "configure: failed program was:" >&5 | 9351 echo "configure: failed program was:" >&5 |
9334 cat conftest.$ac_ext >&5 | 9352 cat conftest.$ac_ext >&5 |
9353 fi | 9371 fi |
9354 | 9372 |
9355 | 9373 |
9356 if test "$have_motif" = "yes"; then | 9374 if test "$have_motif" = "yes"; then |
9357 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9375 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9358 echo "configure:9359: checking for Lesstif" >&5 | 9376 echo "configure:9377: checking for Lesstif" >&5 |
9359 cat > conftest.$ac_ext <<EOF | 9377 cat > conftest.$ac_ext <<EOF |
9360 #line 9361 "configure" | 9378 #line 9379 "configure" |
9361 #include "confdefs.h" | 9379 #include "confdefs.h" |
9362 #include <Xm/Xm.h> | 9380 #include <Xm/Xm.h> |
9363 #ifdef LESSTIF_VERSION | 9381 #ifdef LESSTIF_VERSION |
9364 yes | 9382 yes |
9365 #endif | 9383 #endif |
9760 fi | 9778 fi |
9761 fi | 9779 fi |
9762 | 9780 |
9763 | 9781 |
9764 test -z "$with_mule" && with_mule=no | 9782 test -z "$with_mule" && with_mule=no |
9765 test -z "$with_file_coding" && with_file_coding=no | 9783 |
9766 | 9784 |
9785 if test "$with_file_coding" = "no" && test "$with_mule" = "yes"; then | |
9786 echo "configure: warning: --with-file-coding forced to \`yes': Required for Mule support" 1>&2 | |
9787 with_file_coding=yes | |
9788 fi | |
9767 | 9789 |
9768 if test "$with_file_coding" = "yes" && test "$with_mule" = "no"; then | 9790 if test "$with_file_coding" = "yes" && test "$with_mule" = "no"; then |
9769 { test "$extra_verbose" = "yes" && cat << \EOF | 9791 { test "$extra_verbose" = "yes" && cat << \EOF |
9770 Defining FILE_CODING | 9792 Defining FILE_CODING |
9771 EOF | 9793 EOF |
9779 fi | 9801 fi |
9780 fi | 9802 fi |
9781 | 9803 |
9782 if test "$with_mule" = "yes" ; then | 9804 if test "$with_mule" = "yes" ; then |
9783 echo "checking for Mule-related features" 1>&6 | 9805 echo "checking for Mule-related features" 1>&6 |
9784 echo "configure:9785: checking for Mule-related features" >&5 | 9806 echo "configure:9807: checking for Mule-related features" >&5 |
9785 { test "$extra_verbose" = "yes" && cat << \EOF | 9807 { test "$extra_verbose" = "yes" && cat << \EOF |
9786 Defining MULE | 9808 Defining MULE |
9787 EOF | 9809 EOF |
9788 cat >> confdefs.h <<\EOF | 9810 cat >> confdefs.h <<\EOF |
9789 #define MULE 1 | 9811 #define MULE 1 |
9804 | 9826 |
9805 for ac_hdr in libintl.h | 9827 for ac_hdr in libintl.h |
9806 do | 9828 do |
9807 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9829 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9808 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9830 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9809 echo "configure:9810: checking for $ac_hdr" >&5 | 9831 echo "configure:9832: checking for $ac_hdr" >&5 |
9810 | 9832 |
9811 cat > conftest.$ac_ext <<EOF | 9833 cat > conftest.$ac_ext <<EOF |
9812 #line 9813 "configure" | 9834 #line 9835 "configure" |
9813 #include "confdefs.h" | 9835 #include "confdefs.h" |
9814 #include <$ac_hdr> | 9836 #include <$ac_hdr> |
9815 EOF | 9837 EOF |
9816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9817 { (eval echo configure:9818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9839 { (eval echo configure:9840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9819 if test -z "$ac_err"; then | 9841 if test -z "$ac_err"; then |
9820 rm -rf conftest* | 9842 rm -rf conftest* |
9821 eval "ac_cv_header_$ac_safe=yes" | 9843 eval "ac_cv_header_$ac_safe=yes" |
9822 else | 9844 else |
9843 fi | 9865 fi |
9844 done | 9866 done |
9845 | 9867 |
9846 | 9868 |
9847 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9869 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9848 echo "configure:9849: checking for strerror in -lintl" >&5 | 9870 echo "configure:9871: checking for strerror in -lintl" >&5 |
9849 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9871 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9850 | 9872 |
9851 xe_check_libs=" -lintl " | 9873 xe_check_libs=" -lintl " |
9852 cat > conftest.$ac_ext <<EOF | 9874 cat > conftest.$ac_ext <<EOF |
9853 #line 9854 "configure" | 9875 #line 9876 "configure" |
9854 #include "confdefs.h" | 9876 #include "confdefs.h" |
9855 /* Override any gcc2 internal prototype to avoid an error. */ | 9877 /* Override any gcc2 internal prototype to avoid an error. */ |
9856 /* We use char because int might match the return type of a gcc2 | 9878 /* We use char because int might match the return type of a gcc2 |
9857 builtin and then its argument prototype would still apply. */ | 9879 builtin and then its argument prototype would still apply. */ |
9858 char strerror(); | 9880 char strerror(); |
9859 | 9881 |
9860 int main() { | 9882 int main() { |
9861 strerror() | 9883 strerror() |
9862 ; return 0; } | 9884 ; return 0; } |
9863 EOF | 9885 EOF |
9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9865 rm -rf conftest* | 9887 rm -rf conftest* |
9866 eval "ac_cv_lib_$ac_lib_var=yes" | 9888 eval "ac_cv_lib_$ac_lib_var=yes" |
9867 else | 9889 else |
9868 echo "configure: failed program was:" >&5 | 9890 echo "configure: failed program was:" >&5 |
9869 cat conftest.$ac_ext >&5 | 9891 cat conftest.$ac_ext >&5 |
9892 fi | 9914 fi |
9893 | 9915 |
9894 | 9916 |
9895 | 9917 |
9896 echo "checking for Mule input methods" 1>&6 | 9918 echo "checking for Mule input methods" 1>&6 |
9897 echo "configure:9898: checking for Mule input methods" >&5 | 9919 echo "configure:9920: checking for Mule input methods" >&5 |
9898 case "$with_xim" in "" | "yes" ) | 9920 case "$with_xim" in "" | "yes" ) |
9899 echo "checking for XIM" 1>&6 | 9921 echo "checking for XIM" 1>&6 |
9900 echo "configure:9901: checking for XIM" >&5 | 9922 echo "configure:9923: checking for XIM" >&5 |
9901 | 9923 |
9902 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9924 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9903 echo "configure:9904: checking for XOpenIM in -lX11" >&5 | 9925 echo "configure:9926: checking for XOpenIM in -lX11" >&5 |
9904 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9926 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9905 | 9927 |
9906 xe_check_libs=" -lX11 " | 9928 xe_check_libs=" -lX11 " |
9907 cat > conftest.$ac_ext <<EOF | 9929 cat > conftest.$ac_ext <<EOF |
9908 #line 9909 "configure" | 9930 #line 9931 "configure" |
9909 #include "confdefs.h" | 9931 #include "confdefs.h" |
9910 /* Override any gcc2 internal prototype to avoid an error. */ | 9932 /* Override any gcc2 internal prototype to avoid an error. */ |
9911 /* We use char because int might match the return type of a gcc2 | 9933 /* We use char because int might match the return type of a gcc2 |
9912 builtin and then its argument prototype would still apply. */ | 9934 builtin and then its argument prototype would still apply. */ |
9913 char XOpenIM(); | 9935 char XOpenIM(); |
9914 | 9936 |
9915 int main() { | 9937 int main() { |
9916 XOpenIM() | 9938 XOpenIM() |
9917 ; return 0; } | 9939 ; return 0; } |
9918 EOF | 9940 EOF |
9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9920 rm -rf conftest* | 9942 rm -rf conftest* |
9921 eval "ac_cv_lib_$ac_lib_var=yes" | 9943 eval "ac_cv_lib_$ac_lib_var=yes" |
9922 else | 9944 else |
9923 echo "configure: failed program was:" >&5 | 9945 echo "configure: failed program was:" >&5 |
9924 cat conftest.$ac_ext >&5 | 9946 cat conftest.$ac_ext >&5 |
9938 | 9960 |
9939 | 9961 |
9940 if test "$have_motif $have_lesstif" = "yes no"; then | 9962 if test "$have_motif $have_lesstif" = "yes no"; then |
9941 | 9963 |
9942 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9964 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9943 echo "configure:9944: checking for XmImMbLookupString in -lXm" >&5 | 9965 echo "configure:9966: checking for XmImMbLookupString in -lXm" >&5 |
9944 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9966 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9945 | 9967 |
9946 xe_check_libs=" -lXm " | 9968 xe_check_libs=" -lXm " |
9947 cat > conftest.$ac_ext <<EOF | 9969 cat > conftest.$ac_ext <<EOF |
9948 #line 9949 "configure" | 9970 #line 9971 "configure" |
9949 #include "confdefs.h" | 9971 #include "confdefs.h" |
9950 /* Override any gcc2 internal prototype to avoid an error. */ | 9972 /* Override any gcc2 internal prototype to avoid an error. */ |
9951 /* We use char because int might match the return type of a gcc2 | 9973 /* We use char because int might match the return type of a gcc2 |
9952 builtin and then its argument prototype would still apply. */ | 9974 builtin and then its argument prototype would still apply. */ |
9953 char XmImMbLookupString(); | 9975 char XmImMbLookupString(); |
9954 | 9976 |
9955 int main() { | 9977 int main() { |
9956 XmImMbLookupString() | 9978 XmImMbLookupString() |
9957 ; return 0; } | 9979 ; return 0; } |
9958 EOF | 9980 EOF |
9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9981 if { (eval echo configure:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9960 rm -rf conftest* | 9982 rm -rf conftest* |
9961 eval "ac_cv_lib_$ac_lib_var=yes" | 9983 eval "ac_cv_lib_$ac_lib_var=yes" |
9962 else | 9984 else |
9963 echo "configure: failed program was:" >&5 | 9985 echo "configure: failed program was:" >&5 |
9964 cat conftest.$ac_ext >&5 | 9986 cat conftest.$ac_ext >&5 |
10019 fi | 10041 fi |
10020 fi | 10042 fi |
10021 | 10043 |
10022 if test "$with_xfs" = "yes" ; then | 10044 if test "$with_xfs" = "yes" ; then |
10023 echo "checking for XFontSet" 1>&6 | 10045 echo "checking for XFontSet" 1>&6 |
10024 echo "configure:10025: checking for XFontSet" >&5 | 10046 echo "configure:10047: checking for XFontSet" >&5 |
10025 | 10047 |
10026 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10048 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10027 echo "configure:10028: checking for XmbDrawString in -lX11" >&5 | 10049 echo "configure:10050: checking for XmbDrawString in -lX11" >&5 |
10028 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10050 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10029 | 10051 |
10030 xe_check_libs=" -lX11 " | 10052 xe_check_libs=" -lX11 " |
10031 cat > conftest.$ac_ext <<EOF | 10053 cat > conftest.$ac_ext <<EOF |
10032 #line 10033 "configure" | 10054 #line 10055 "configure" |
10033 #include "confdefs.h" | 10055 #include "confdefs.h" |
10034 /* Override any gcc2 internal prototype to avoid an error. */ | 10056 /* Override any gcc2 internal prototype to avoid an error. */ |
10035 /* We use char because int might match the return type of a gcc2 | 10057 /* We use char because int might match the return type of a gcc2 |
10036 builtin and then its argument prototype would still apply. */ | 10058 builtin and then its argument prototype would still apply. */ |
10037 char XmbDrawString(); | 10059 char XmbDrawString(); |
10038 | 10060 |
10039 int main() { | 10061 int main() { |
10040 XmbDrawString() | 10062 XmbDrawString() |
10041 ; return 0; } | 10063 ; return 0; } |
10042 EOF | 10064 EOF |
10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10065 if { (eval echo configure:10066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10044 rm -rf conftest* | 10066 rm -rf conftest* |
10045 eval "ac_cv_lib_$ac_lib_var=yes" | 10067 eval "ac_cv_lib_$ac_lib_var=yes" |
10046 else | 10068 else |
10047 echo "configure: failed program was:" >&5 | 10069 echo "configure: failed program was:" >&5 |
10048 cat conftest.$ac_ext >&5 | 10070 cat conftest.$ac_ext >&5 |
10078 fi | 10100 fi |
10079 fi | 10101 fi |
10080 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10102 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10081 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10103 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10082 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10104 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10083 echo "configure:10084: checking for wnn/jllib.h" >&5 | 10105 echo "configure:10106: checking for wnn/jllib.h" >&5 |
10084 | 10106 |
10085 cat > conftest.$ac_ext <<EOF | 10107 cat > conftest.$ac_ext <<EOF |
10086 #line 10087 "configure" | 10108 #line 10109 "configure" |
10087 #include "confdefs.h" | 10109 #include "confdefs.h" |
10088 #include <wnn/jllib.h> | 10110 #include <wnn/jllib.h> |
10089 EOF | 10111 EOF |
10090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10112 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10091 { (eval echo configure:10092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10113 { (eval echo configure:10114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10114 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10093 if test -z "$ac_err"; then | 10115 if test -z "$ac_err"; then |
10094 rm -rf conftest* | 10116 rm -rf conftest* |
10095 eval "ac_cv_header_$ac_safe=yes" | 10117 eval "ac_cv_header_$ac_safe=yes" |
10096 else | 10118 else |
10109 with_wnn=no | 10131 with_wnn=no |
10110 fi | 10132 fi |
10111 } | 10133 } |
10112 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10134 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10113 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10135 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10114 echo "configure:10115: checking for wnn/commonhd.h" >&5 | 10136 echo "configure:10137: checking for wnn/commonhd.h" >&5 |
10115 | 10137 |
10116 cat > conftest.$ac_ext <<EOF | 10138 cat > conftest.$ac_ext <<EOF |
10117 #line 10118 "configure" | 10139 #line 10140 "configure" |
10118 #include "confdefs.h" | 10140 #include "confdefs.h" |
10119 #include <wnn/commonhd.h> | 10141 #include <wnn/commonhd.h> |
10120 EOF | 10142 EOF |
10121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10122 { (eval echo configure:10123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10144 { (eval echo configure:10145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10124 if test -z "$ac_err"; then | 10146 if test -z "$ac_err"; then |
10125 rm -rf conftest* | 10147 rm -rf conftest* |
10126 eval "ac_cv_header_$ac_safe=yes" | 10148 eval "ac_cv_header_$ac_safe=yes" |
10127 else | 10149 else |
10142 } | 10164 } |
10143 if test "$with_wnn" != "no"; then | 10165 if test "$with_wnn" != "no"; then |
10144 for ac_func in crypt | 10166 for ac_func in crypt |
10145 do | 10167 do |
10146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10147 echo "configure:10148: checking for $ac_func" >&5 | 10169 echo "configure:10170: checking for $ac_func" >&5 |
10148 | 10170 |
10149 cat > conftest.$ac_ext <<EOF | 10171 cat > conftest.$ac_ext <<EOF |
10150 #line 10151 "configure" | 10172 #line 10173 "configure" |
10151 #include "confdefs.h" | 10173 #include "confdefs.h" |
10152 /* System header to define __stub macros and hopefully few prototypes, | 10174 /* System header to define __stub macros and hopefully few prototypes, |
10153 which can conflict with char $ac_func(); below. */ | 10175 which can conflict with char $ac_func(); below. */ |
10154 #include <assert.h> | 10176 #include <assert.h> |
10155 /* Override any gcc2 internal prototype to avoid an error. */ | 10177 /* Override any gcc2 internal prototype to avoid an error. */ |
10168 $ac_func(); | 10190 $ac_func(); |
10169 #endif | 10191 #endif |
10170 | 10192 |
10171 ; return 0; } | 10193 ; return 0; } |
10172 EOF | 10194 EOF |
10173 if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10195 if { (eval echo configure:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10174 rm -rf conftest* | 10196 rm -rf conftest* |
10175 eval "ac_cv_func_$ac_func=yes" | 10197 eval "ac_cv_func_$ac_func=yes" |
10176 else | 10198 else |
10177 echo "configure: failed program was:" >&5 | 10199 echo "configure: failed program was:" >&5 |
10178 cat conftest.$ac_ext >&5 | 10200 cat conftest.$ac_ext >&5 |
10197 fi | 10219 fi |
10198 done | 10220 done |
10199 | 10221 |
10200 test "$ac_cv_func_crypt" != "yes" && { | 10222 test "$ac_cv_func_crypt" != "yes" && { |
10201 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10223 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10202 echo "configure:10203: checking for crypt in -lcrypt" >&5 | 10224 echo "configure:10225: checking for crypt in -lcrypt" >&5 |
10203 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10225 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10204 | 10226 |
10205 xe_check_libs=" -lcrypt " | 10227 xe_check_libs=" -lcrypt " |
10206 cat > conftest.$ac_ext <<EOF | 10228 cat > conftest.$ac_ext <<EOF |
10207 #line 10208 "configure" | 10229 #line 10230 "configure" |
10208 #include "confdefs.h" | 10230 #include "confdefs.h" |
10209 /* Override any gcc2 internal prototype to avoid an error. */ | 10231 /* Override any gcc2 internal prototype to avoid an error. */ |
10210 /* We use char because int might match the return type of a gcc2 | 10232 /* We use char because int might match the return type of a gcc2 |
10211 builtin and then its argument prototype would still apply. */ | 10233 builtin and then its argument prototype would still apply. */ |
10212 char crypt(); | 10234 char crypt(); |
10213 | 10235 |
10214 int main() { | 10236 int main() { |
10215 crypt() | 10237 crypt() |
10216 ; return 0; } | 10238 ; return 0; } |
10217 EOF | 10239 EOF |
10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10240 if { (eval echo configure:10241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10219 rm -rf conftest* | 10241 rm -rf conftest* |
10220 eval "ac_cv_lib_$ac_lib_var=yes" | 10242 eval "ac_cv_lib_$ac_lib_var=yes" |
10221 else | 10243 else |
10222 echo "configure: failed program was:" >&5 | 10244 echo "configure: failed program was:" >&5 |
10223 cat conftest.$ac_ext >&5 | 10245 cat conftest.$ac_ext >&5 |
10248 } | 10270 } |
10249 fi | 10271 fi |
10250 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10272 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10251 | 10273 |
10252 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10274 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10253 echo "configure:10254: checking for jl_dic_list_e in -lwnn" >&5 | 10275 echo "configure:10276: checking for jl_dic_list_e in -lwnn" >&5 |
10254 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10276 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10255 | 10277 |
10256 xe_check_libs=" -lwnn " | 10278 xe_check_libs=" -lwnn " |
10257 cat > conftest.$ac_ext <<EOF | 10279 cat > conftest.$ac_ext <<EOF |
10258 #line 10259 "configure" | 10280 #line 10281 "configure" |
10259 #include "confdefs.h" | 10281 #include "confdefs.h" |
10260 /* Override any gcc2 internal prototype to avoid an error. */ | 10282 /* Override any gcc2 internal prototype to avoid an error. */ |
10261 /* We use char because int might match the return type of a gcc2 | 10283 /* We use char because int might match the return type of a gcc2 |
10262 builtin and then its argument prototype would still apply. */ | 10284 builtin and then its argument prototype would still apply. */ |
10263 char jl_dic_list_e(); | 10285 char jl_dic_list_e(); |
10264 | 10286 |
10265 int main() { | 10287 int main() { |
10266 jl_dic_list_e() | 10288 jl_dic_list_e() |
10267 ; return 0; } | 10289 ; return 0; } |
10268 EOF | 10290 EOF |
10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10270 rm -rf conftest* | 10292 rm -rf conftest* |
10271 eval "ac_cv_lib_$ac_lib_var=yes" | 10293 eval "ac_cv_lib_$ac_lib_var=yes" |
10272 else | 10294 else |
10273 echo "configure: failed program was:" >&5 | 10295 echo "configure: failed program was:" >&5 |
10274 cat conftest.$ac_ext >&5 | 10296 cat conftest.$ac_ext >&5 |
10282 echo "$ac_t""yes" 1>&6 | 10304 echo "$ac_t""yes" 1>&6 |
10283 libwnn=wnn | 10305 libwnn=wnn |
10284 else | 10306 else |
10285 echo "$ac_t""no" 1>&6 | 10307 echo "$ac_t""no" 1>&6 |
10286 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10308 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10287 echo "configure:10288: checking for jl_dic_list_e in -lwnn4" >&5 | 10309 echo "configure:10310: checking for jl_dic_list_e in -lwnn4" >&5 |
10288 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10310 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10289 | 10311 |
10290 xe_check_libs=" -lwnn4 " | 10312 xe_check_libs=" -lwnn4 " |
10291 cat > conftest.$ac_ext <<EOF | 10313 cat > conftest.$ac_ext <<EOF |
10292 #line 10293 "configure" | 10314 #line 10315 "configure" |
10293 #include "confdefs.h" | 10315 #include "confdefs.h" |
10294 /* Override any gcc2 internal prototype to avoid an error. */ | 10316 /* Override any gcc2 internal prototype to avoid an error. */ |
10295 /* We use char because int might match the return type of a gcc2 | 10317 /* We use char because int might match the return type of a gcc2 |
10296 builtin and then its argument prototype would still apply. */ | 10318 builtin and then its argument prototype would still apply. */ |
10297 char jl_dic_list_e(); | 10319 char jl_dic_list_e(); |
10298 | 10320 |
10299 int main() { | 10321 int main() { |
10300 jl_dic_list_e() | 10322 jl_dic_list_e() |
10301 ; return 0; } | 10323 ; return 0; } |
10302 EOF | 10324 EOF |
10303 if { (eval echo configure:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10304 rm -rf conftest* | 10326 rm -rf conftest* |
10305 eval "ac_cv_lib_$ac_lib_var=yes" | 10327 eval "ac_cv_lib_$ac_lib_var=yes" |
10306 else | 10328 else |
10307 echo "configure: failed program was:" >&5 | 10329 echo "configure: failed program was:" >&5 |
10308 cat conftest.$ac_ext >&5 | 10330 cat conftest.$ac_ext >&5 |
10316 echo "$ac_t""yes" 1>&6 | 10338 echo "$ac_t""yes" 1>&6 |
10317 libwnn=wnn4 | 10339 libwnn=wnn4 |
10318 else | 10340 else |
10319 echo "$ac_t""no" 1>&6 | 10341 echo "$ac_t""no" 1>&6 |
10320 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10342 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10321 echo "configure:10322: checking for jl_dic_list_e in -lwnn6" >&5 | 10343 echo "configure:10344: checking for jl_dic_list_e in -lwnn6" >&5 |
10322 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10344 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10323 | 10345 |
10324 xe_check_libs=" -lwnn6 " | 10346 xe_check_libs=" -lwnn6 " |
10325 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10326 #line 10327 "configure" | 10348 #line 10349 "configure" |
10327 #include "confdefs.h" | 10349 #include "confdefs.h" |
10328 /* Override any gcc2 internal prototype to avoid an error. */ | 10350 /* Override any gcc2 internal prototype to avoid an error. */ |
10329 /* We use char because int might match the return type of a gcc2 | 10351 /* We use char because int might match the return type of a gcc2 |
10330 builtin and then its argument prototype would still apply. */ | 10352 builtin and then its argument prototype would still apply. */ |
10331 char jl_dic_list_e(); | 10353 char jl_dic_list_e(); |
10332 | 10354 |
10333 int main() { | 10355 int main() { |
10334 jl_dic_list_e() | 10356 jl_dic_list_e() |
10335 ; return 0; } | 10357 ; return 0; } |
10336 EOF | 10358 EOF |
10337 if { (eval echo configure:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10359 if { (eval echo configure:10360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10338 rm -rf conftest* | 10360 rm -rf conftest* |
10339 eval "ac_cv_lib_$ac_lib_var=yes" | 10361 eval "ac_cv_lib_$ac_lib_var=yes" |
10340 else | 10362 else |
10341 echo "configure: failed program was:" >&5 | 10363 echo "configure: failed program was:" >&5 |
10342 cat conftest.$ac_ext >&5 | 10364 cat conftest.$ac_ext >&5 |
10350 echo "$ac_t""yes" 1>&6 | 10372 echo "$ac_t""yes" 1>&6 |
10351 libwnn=wnn6 | 10373 libwnn=wnn6 |
10352 else | 10374 else |
10353 echo "$ac_t""no" 1>&6 | 10375 echo "$ac_t""no" 1>&6 |
10354 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10376 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10355 echo "configure:10356: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10377 echo "configure:10378: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10356 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10378 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10357 | 10379 |
10358 xe_check_libs=" -lwnn6_fromsrc " | 10380 xe_check_libs=" -lwnn6_fromsrc " |
10359 cat > conftest.$ac_ext <<EOF | 10381 cat > conftest.$ac_ext <<EOF |
10360 #line 10361 "configure" | 10382 #line 10383 "configure" |
10361 #include "confdefs.h" | 10383 #include "confdefs.h" |
10362 /* Override any gcc2 internal prototype to avoid an error. */ | 10384 /* Override any gcc2 internal prototype to avoid an error. */ |
10363 /* We use char because int might match the return type of a gcc2 | 10385 /* We use char because int might match the return type of a gcc2 |
10364 builtin and then its argument prototype would still apply. */ | 10386 builtin and then its argument prototype would still apply. */ |
10365 char dic_list_e(); | 10387 char dic_list_e(); |
10366 | 10388 |
10367 int main() { | 10389 int main() { |
10368 dic_list_e() | 10390 dic_list_e() |
10369 ; return 0; } | 10391 ; return 0; } |
10370 EOF | 10392 EOF |
10371 if { (eval echo configure:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10393 if { (eval echo configure:10394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10372 rm -rf conftest* | 10394 rm -rf conftest* |
10373 eval "ac_cv_lib_$ac_lib_var=yes" | 10395 eval "ac_cv_lib_$ac_lib_var=yes" |
10374 else | 10396 else |
10375 echo "configure: failed program was:" >&5 | 10397 echo "configure: failed program was:" >&5 |
10376 cat conftest.$ac_ext >&5 | 10398 cat conftest.$ac_ext >&5 |
10414 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10436 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10415 fi | 10437 fi |
10416 if test "$with_wnn6" != "no"; then | 10438 if test "$with_wnn6" != "no"; then |
10417 | 10439 |
10418 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10440 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10419 echo "configure:10420: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10441 echo "configure:10442: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10420 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10442 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10421 | 10443 |
10422 xe_check_libs=" -l$libwnn " | 10444 xe_check_libs=" -l$libwnn " |
10423 cat > conftest.$ac_ext <<EOF | 10445 cat > conftest.$ac_ext <<EOF |
10424 #line 10425 "configure" | 10446 #line 10447 "configure" |
10425 #include "confdefs.h" | 10447 #include "confdefs.h" |
10426 /* Override any gcc2 internal prototype to avoid an error. */ | 10448 /* Override any gcc2 internal prototype to avoid an error. */ |
10427 /* We use char because int might match the return type of a gcc2 | 10449 /* We use char because int might match the return type of a gcc2 |
10428 builtin and then its argument prototype would still apply. */ | 10450 builtin and then its argument prototype would still apply. */ |
10429 char jl_fi_dic_list(); | 10451 char jl_fi_dic_list(); |
10430 | 10452 |
10431 int main() { | 10453 int main() { |
10432 jl_fi_dic_list() | 10454 jl_fi_dic_list() |
10433 ; return 0; } | 10455 ; return 0; } |
10434 EOF | 10456 EOF |
10435 if { (eval echo configure:10436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10457 if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10436 rm -rf conftest* | 10458 rm -rf conftest* |
10437 eval "ac_cv_lib_$ac_lib_var=yes" | 10459 eval "ac_cv_lib_$ac_lib_var=yes" |
10438 else | 10460 else |
10439 echo "configure: failed program was:" >&5 | 10461 echo "configure: failed program was:" >&5 |
10440 cat conftest.$ac_ext >&5 | 10462 cat conftest.$ac_ext >&5 |
10465 | 10487 |
10466 canna_includes_found=no | 10488 canna_includes_found=no |
10467 if test "$with_canna" != "no"; then | 10489 if test "$with_canna" != "no"; then |
10468 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10490 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10469 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10491 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10470 echo "configure:10471: checking for canna/jrkanji.h" >&5 | 10492 echo "configure:10493: checking for canna/jrkanji.h" >&5 |
10471 | 10493 |
10472 cat > conftest.$ac_ext <<EOF | 10494 cat > conftest.$ac_ext <<EOF |
10473 #line 10474 "configure" | 10495 #line 10496 "configure" |
10474 #include "confdefs.h" | 10496 #include "confdefs.h" |
10475 #include <canna/jrkanji.h> | 10497 #include <canna/jrkanji.h> |
10476 EOF | 10498 EOF |
10477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10500 { (eval echo configure:10501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10480 if test -z "$ac_err"; then | 10502 if test -z "$ac_err"; then |
10481 rm -rf conftest* | 10503 rm -rf conftest* |
10482 eval "ac_cv_header_$ac_safe=yes" | 10504 eval "ac_cv_header_$ac_safe=yes" |
10483 else | 10505 else |
10500 -d "/usr/local/canna/include"; then | 10522 -d "/usr/local/canna/include"; then |
10501 save_c_switch_site="$c_switch_site" | 10523 save_c_switch_site="$c_switch_site" |
10502 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10524 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10503 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10525 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10504 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10526 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10505 echo "configure:10506: checking for canna/jrkanji.h" >&5 | 10527 echo "configure:10528: checking for canna/jrkanji.h" >&5 |
10506 | 10528 |
10507 cat > conftest.$ac_ext <<EOF | 10529 cat > conftest.$ac_ext <<EOF |
10508 #line 10509 "configure" | 10530 #line 10531 "configure" |
10509 #include "confdefs.h" | 10531 #include "confdefs.h" |
10510 #include <canna/jrkanji.h> | 10532 #include <canna/jrkanji.h> |
10511 EOF | 10533 EOF |
10512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10513 { (eval echo configure:10514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10535 { (eval echo configure:10536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10515 if test -z "$ac_err"; then | 10537 if test -z "$ac_err"; then |
10516 rm -rf conftest* | 10538 rm -rf conftest* |
10517 eval "ac_cv_header_$ac_safe=yes" | 10539 eval "ac_cv_header_$ac_safe=yes" |
10518 else | 10540 else |
10536 fi | 10558 fi |
10537 fi | 10559 fi |
10538 | 10560 |
10539 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10561 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10540 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10562 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10541 echo "configure:10542: checking for canna/RK.h" >&5 | 10563 echo "configure:10564: checking for canna/RK.h" >&5 |
10542 | 10564 |
10543 cat > conftest.$ac_ext <<EOF | 10565 cat > conftest.$ac_ext <<EOF |
10544 #line 10545 "configure" | 10566 #line 10567 "configure" |
10545 #include "confdefs.h" | 10567 #include "confdefs.h" |
10546 #include <canna/RK.h> | 10568 #include <canna/RK.h> |
10547 EOF | 10569 EOF |
10548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10549 { (eval echo configure:10550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10571 { (eval echo configure:10572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10551 if test -z "$ac_err"; then | 10573 if test -z "$ac_err"; then |
10552 rm -rf conftest* | 10574 rm -rf conftest* |
10553 eval "ac_cv_header_$ac_safe=yes" | 10575 eval "ac_cv_header_$ac_safe=yes" |
10554 else | 10576 else |
10567 with_canna=no | 10589 with_canna=no |
10568 fi | 10590 fi |
10569 } | 10591 } |
10570 test -z "$with_canna" && { | 10592 test -z "$with_canna" && { |
10571 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10593 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10572 echo "configure:10573: checking for RkBgnBun in -lRKC" >&5 | 10594 echo "configure:10595: checking for RkBgnBun in -lRKC" >&5 |
10573 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10595 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10574 | 10596 |
10575 xe_check_libs=" -lRKC " | 10597 xe_check_libs=" -lRKC " |
10576 cat > conftest.$ac_ext <<EOF | 10598 cat > conftest.$ac_ext <<EOF |
10577 #line 10578 "configure" | 10599 #line 10600 "configure" |
10578 #include "confdefs.h" | 10600 #include "confdefs.h" |
10579 /* Override any gcc2 internal prototype to avoid an error. */ | 10601 /* Override any gcc2 internal prototype to avoid an error. */ |
10580 /* We use char because int might match the return type of a gcc2 | 10602 /* We use char because int might match the return type of a gcc2 |
10581 builtin and then its argument prototype would still apply. */ | 10603 builtin and then its argument prototype would still apply. */ |
10582 char RkBgnBun(); | 10604 char RkBgnBun(); |
10583 | 10605 |
10584 int main() { | 10606 int main() { |
10585 RkBgnBun() | 10607 RkBgnBun() |
10586 ; return 0; } | 10608 ; return 0; } |
10587 EOF | 10609 EOF |
10588 if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10610 if { (eval echo configure:10611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10589 rm -rf conftest* | 10611 rm -rf conftest* |
10590 eval "ac_cv_lib_$ac_lib_var=yes" | 10612 eval "ac_cv_lib_$ac_lib_var=yes" |
10591 else | 10613 else |
10592 echo "configure: failed program was:" >&5 | 10614 echo "configure: failed program was:" >&5 |
10593 cat conftest.$ac_ext >&5 | 10615 cat conftest.$ac_ext >&5 |
10606 fi | 10628 fi |
10607 | 10629 |
10608 } | 10630 } |
10609 test -z "$with_canna" && { | 10631 test -z "$with_canna" && { |
10610 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10632 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10611 echo "configure:10612: checking for jrKanjiControl in -lcanna" >&5 | 10633 echo "configure:10634: checking for jrKanjiControl in -lcanna" >&5 |
10612 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10634 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10613 | 10635 |
10614 xe_check_libs=" -lcanna " | 10636 xe_check_libs=" -lcanna " |
10615 cat > conftest.$ac_ext <<EOF | 10637 cat > conftest.$ac_ext <<EOF |
10616 #line 10617 "configure" | 10638 #line 10639 "configure" |
10617 #include "confdefs.h" | 10639 #include "confdefs.h" |
10618 /* Override any gcc2 internal prototype to avoid an error. */ | 10640 /* Override any gcc2 internal prototype to avoid an error. */ |
10619 /* We use char because int might match the return type of a gcc2 | 10641 /* We use char because int might match the return type of a gcc2 |
10620 builtin and then its argument prototype would still apply. */ | 10642 builtin and then its argument prototype would still apply. */ |
10621 char jrKanjiControl(); | 10643 char jrKanjiControl(); |
10622 | 10644 |
10623 int main() { | 10645 int main() { |
10624 jrKanjiControl() | 10646 jrKanjiControl() |
10625 ; return 0; } | 10647 ; return 0; } |
10626 EOF | 10648 EOF |
10627 if { (eval echo configure:10628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10649 if { (eval echo configure:10650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10628 rm -rf conftest* | 10650 rm -rf conftest* |
10629 eval "ac_cv_lib_$ac_lib_var=yes" | 10651 eval "ac_cv_lib_$ac_lib_var=yes" |
10630 else | 10652 else |
10631 echo "configure: failed program was:" >&5 | 10653 echo "configure: failed program was:" >&5 |
10632 cat conftest.$ac_ext >&5 | 10654 cat conftest.$ac_ext >&5 |
10661 fi | 10683 fi |
10662 fi | 10684 fi |
10663 | 10685 |
10664 else for feature in xim canna wnn; do | 10686 else for feature in xim canna wnn; do |
10665 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 10687 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
10666 echo "configure: warning: "--with-${feature} ignored: Not valid without Mule support"" 1>&2 | 10688 echo "configure: warning: --with-${feature} ignored: Not valid without Mule support" 1>&2 |
10667 fi | 10689 fi |
10668 eval "with_${feature}=no" | 10690 eval "with_${feature}=no" |
10669 done | 10691 done |
10670 fi | 10692 fi |
10671 | 10693 |
10672 if test "$need_motif" = "yes" ; then | 10694 if test "$need_motif" = "yes" ; then |
10673 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10695 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10674 | 10696 |
10675 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10697 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10676 echo "configure:10677: checking for layout_object_getvalue in -li18n" >&5 | 10698 echo "configure:10699: checking for layout_object_getvalue in -li18n" >&5 |
10677 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10699 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10678 | 10700 |
10679 xe_check_libs=" -li18n " | 10701 xe_check_libs=" -li18n " |
10680 cat > conftest.$ac_ext <<EOF | 10702 cat > conftest.$ac_ext <<EOF |
10681 #line 10682 "configure" | 10703 #line 10704 "configure" |
10682 #include "confdefs.h" | 10704 #include "confdefs.h" |
10683 /* Override any gcc2 internal prototype to avoid an error. */ | 10705 /* Override any gcc2 internal prototype to avoid an error. */ |
10684 /* We use char because int might match the return type of a gcc2 | 10706 /* We use char because int might match the return type of a gcc2 |
10685 builtin and then its argument prototype would still apply. */ | 10707 builtin and then its argument prototype would still apply. */ |
10686 char layout_object_getvalue(); | 10708 char layout_object_getvalue(); |
10687 | 10709 |
10688 int main() { | 10710 int main() { |
10689 layout_object_getvalue() | 10711 layout_object_getvalue() |
10690 ; return 0; } | 10712 ; return 0; } |
10691 EOF | 10713 EOF |
10692 if { (eval echo configure:10693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10714 if { (eval echo configure:10715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10693 rm -rf conftest* | 10715 rm -rf conftest* |
10694 eval "ac_cv_lib_$ac_lib_var=yes" | 10716 eval "ac_cv_lib_$ac_lib_var=yes" |
10695 else | 10717 else |
10696 echo "configure: failed program was:" >&5 | 10718 echo "configure: failed program was:" >&5 |
10697 cat conftest.$ac_ext >&5 | 10719 cat conftest.$ac_ext >&5 |
10773 fi | 10795 fi |
10774 | 10796 |
10775 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo 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 stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10797 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo 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 stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10776 do | 10798 do |
10777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10778 echo "configure:10779: checking for $ac_func" >&5 | 10800 echo "configure:10801: checking for $ac_func" >&5 |
10779 | 10801 |
10780 cat > conftest.$ac_ext <<EOF | 10802 cat > conftest.$ac_ext <<EOF |
10781 #line 10782 "configure" | 10803 #line 10804 "configure" |
10782 #include "confdefs.h" | 10804 #include "confdefs.h" |
10783 /* System header to define __stub macros and hopefully few prototypes, | 10805 /* System header to define __stub macros and hopefully few prototypes, |
10784 which can conflict with char $ac_func(); below. */ | 10806 which can conflict with char $ac_func(); below. */ |
10785 #include <assert.h> | 10807 #include <assert.h> |
10786 /* Override any gcc2 internal prototype to avoid an error. */ | 10808 /* Override any gcc2 internal prototype to avoid an error. */ |
10799 $ac_func(); | 10821 $ac_func(); |
10800 #endif | 10822 #endif |
10801 | 10823 |
10802 ; return 0; } | 10824 ; return 0; } |
10803 EOF | 10825 EOF |
10804 if { (eval echo configure:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10826 if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10805 rm -rf conftest* | 10827 rm -rf conftest* |
10806 eval "ac_cv_func_$ac_func=yes" | 10828 eval "ac_cv_func_$ac_func=yes" |
10807 else | 10829 else |
10808 echo "configure: failed program was:" >&5 | 10830 echo "configure: failed program was:" >&5 |
10809 cat conftest.$ac_ext >&5 | 10831 cat conftest.$ac_ext >&5 |
10831 | 10853 |
10832 | 10854 |
10833 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10855 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10834 do | 10856 do |
10835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10836 echo "configure:10837: checking for $ac_func" >&5 | 10858 echo "configure:10859: checking for $ac_func" >&5 |
10837 | 10859 |
10838 cat > conftest.$ac_ext <<EOF | 10860 cat > conftest.$ac_ext <<EOF |
10839 #line 10840 "configure" | 10861 #line 10862 "configure" |
10840 #include "confdefs.h" | 10862 #include "confdefs.h" |
10841 /* System header to define __stub macros and hopefully few prototypes, | 10863 /* System header to define __stub macros and hopefully few prototypes, |
10842 which can conflict with char $ac_func(); below. */ | 10864 which can conflict with char $ac_func(); below. */ |
10843 #include <assert.h> | 10865 #include <assert.h> |
10844 /* Override any gcc2 internal prototype to avoid an error. */ | 10866 /* Override any gcc2 internal prototype to avoid an error. */ |
10857 $ac_func(); | 10879 $ac_func(); |
10858 #endif | 10880 #endif |
10859 | 10881 |
10860 ; return 0; } | 10882 ; return 0; } |
10861 EOF | 10883 EOF |
10862 if { (eval echo configure:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10884 if { (eval echo configure:10885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10863 rm -rf conftest* | 10885 rm -rf conftest* |
10864 eval "ac_cv_func_$ac_func=yes" | 10886 eval "ac_cv_func_$ac_func=yes" |
10865 else | 10887 else |
10866 echo "configure: failed program was:" >&5 | 10888 echo "configure: failed program was:" >&5 |
10867 cat conftest.$ac_ext >&5 | 10889 cat conftest.$ac_ext >&5 |
10886 fi | 10908 fi |
10887 done | 10909 done |
10888 | 10910 |
10889 | 10911 |
10890 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10912 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10891 echo "configure:10892: checking for openpty" >&5 | 10913 echo "configure:10914: checking for openpty" >&5 |
10892 | 10914 |
10893 cat > conftest.$ac_ext <<EOF | 10915 cat > conftest.$ac_ext <<EOF |
10894 #line 10895 "configure" | 10916 #line 10917 "configure" |
10895 #include "confdefs.h" | 10917 #include "confdefs.h" |
10896 /* System header to define __stub macros and hopefully few prototypes, | 10918 /* System header to define __stub macros and hopefully few prototypes, |
10897 which can conflict with char openpty(); below. */ | 10919 which can conflict with char openpty(); below. */ |
10898 #include <assert.h> | 10920 #include <assert.h> |
10899 /* Override any gcc2 internal prototype to avoid an error. */ | 10921 /* Override any gcc2 internal prototype to avoid an error. */ |
10912 openpty(); | 10934 openpty(); |
10913 #endif | 10935 #endif |
10914 | 10936 |
10915 ; return 0; } | 10937 ; return 0; } |
10916 EOF | 10938 EOF |
10917 if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10939 if { (eval echo configure:10940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10918 rm -rf conftest* | 10940 rm -rf conftest* |
10919 eval "ac_cv_func_openpty=yes" | 10941 eval "ac_cv_func_openpty=yes" |
10920 else | 10942 else |
10921 echo "configure: failed program was:" >&5 | 10943 echo "configure: failed program was:" >&5 |
10922 cat conftest.$ac_ext >&5 | 10944 cat conftest.$ac_ext >&5 |
10931 else | 10953 else |
10932 echo "$ac_t""no" 1>&6 | 10954 echo "$ac_t""no" 1>&6 |
10933 | 10955 |
10934 | 10956 |
10935 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10957 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10936 echo "configure:10937: checking for openpty in -lutil" >&5 | 10958 echo "configure:10959: checking for openpty in -lutil" >&5 |
10937 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10959 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10938 | 10960 |
10939 xe_check_libs=" -lutil " | 10961 xe_check_libs=" -lutil " |
10940 cat > conftest.$ac_ext <<EOF | 10962 cat > conftest.$ac_ext <<EOF |
10941 #line 10942 "configure" | 10963 #line 10964 "configure" |
10942 #include "confdefs.h" | 10964 #include "confdefs.h" |
10943 /* Override any gcc2 internal prototype to avoid an error. */ | 10965 /* Override any gcc2 internal prototype to avoid an error. */ |
10944 /* We use char because int might match the return type of a gcc2 | 10966 /* We use char because int might match the return type of a gcc2 |
10945 builtin and then its argument prototype would still apply. */ | 10967 builtin and then its argument prototype would still apply. */ |
10946 char openpty(); | 10968 char openpty(); |
10947 | 10969 |
10948 int main() { | 10970 int main() { |
10949 openpty() | 10971 openpty() |
10950 ; return 0; } | 10972 ; return 0; } |
10951 EOF | 10973 EOF |
10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10953 rm -rf conftest* | 10975 rm -rf conftest* |
10954 eval "ac_cv_lib_$ac_lib_var=yes" | 10976 eval "ac_cv_lib_$ac_lib_var=yes" |
10955 else | 10977 else |
10956 echo "configure: failed program was:" >&5 | 10978 echo "configure: failed program was:" >&5 |
10957 cat conftest.$ac_ext >&5 | 10979 cat conftest.$ac_ext >&5 |
10982 | 11004 |
10983 for ac_hdr in libutil.h util.h | 11005 for ac_hdr in libutil.h util.h |
10984 do | 11006 do |
10985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11007 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11008 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10987 echo "configure:10988: checking for $ac_hdr" >&5 | 11009 echo "configure:11010: checking for $ac_hdr" >&5 |
10988 | 11010 |
10989 cat > conftest.$ac_ext <<EOF | 11011 cat > conftest.$ac_ext <<EOF |
10990 #line 10991 "configure" | 11012 #line 11013 "configure" |
10991 #include "confdefs.h" | 11013 #include "confdefs.h" |
10992 #include <$ac_hdr> | 11014 #include <$ac_hdr> |
10993 EOF | 11015 EOF |
10994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10995 { (eval echo configure:10996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11017 { (eval echo configure:11018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10997 if test -z "$ac_err"; then | 11019 if test -z "$ac_err"; then |
10998 rm -rf conftest* | 11020 rm -rf conftest* |
10999 eval "ac_cv_header_$ac_safe=yes" | 11021 eval "ac_cv_header_$ac_safe=yes" |
11000 else | 11022 else |
11027 case "$opsys" in | 11049 case "$opsys" in |
11028 hpux*) for ac_hdr in sys/ptyio.h | 11050 hpux*) for ac_hdr in sys/ptyio.h |
11029 do | 11051 do |
11030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11052 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11032 echo "configure:11033: checking for $ac_hdr" >&5 | 11054 echo "configure:11055: checking for $ac_hdr" >&5 |
11033 | 11055 |
11034 cat > conftest.$ac_ext <<EOF | 11056 cat > conftest.$ac_ext <<EOF |
11035 #line 11036 "configure" | 11057 #line 11058 "configure" |
11036 #include "confdefs.h" | 11058 #include "confdefs.h" |
11037 #include <$ac_hdr> | 11059 #include <$ac_hdr> |
11038 EOF | 11060 EOF |
11039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11040 { (eval echo configure:11041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11062 { (eval echo configure:11063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11042 if test -z "$ac_err"; then | 11064 if test -z "$ac_err"; then |
11043 rm -rf conftest* | 11065 rm -rf conftest* |
11044 eval "ac_cv_header_$ac_safe=yes" | 11066 eval "ac_cv_header_$ac_safe=yes" |
11045 else | 11067 else |
11068 ;; | 11090 ;; |
11069 *) for ac_hdr in pty.h | 11091 *) for ac_hdr in pty.h |
11070 do | 11092 do |
11071 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11093 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11072 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11073 echo "configure:11074: checking for $ac_hdr" >&5 | 11095 echo "configure:11096: checking for $ac_hdr" >&5 |
11074 | 11096 |
11075 cat > conftest.$ac_ext <<EOF | 11097 cat > conftest.$ac_ext <<EOF |
11076 #line 11077 "configure" | 11098 #line 11099 "configure" |
11077 #include "confdefs.h" | 11099 #include "confdefs.h" |
11078 #include <$ac_hdr> | 11100 #include <$ac_hdr> |
11079 EOF | 11101 EOF |
11080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11081 { (eval echo configure:11082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11103 { (eval echo configure:11104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11083 if test -z "$ac_err"; then | 11105 if test -z "$ac_err"; then |
11084 rm -rf conftest* | 11106 rm -rf conftest* |
11085 eval "ac_cv_header_$ac_safe=yes" | 11107 eval "ac_cv_header_$ac_safe=yes" |
11086 else | 11108 else |
11109 | 11131 |
11110 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11132 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11111 do | 11133 do |
11112 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11113 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11114 echo "configure:11115: checking for $ac_hdr" >&5 | 11136 echo "configure:11137: checking for $ac_hdr" >&5 |
11115 | 11137 |
11116 cat > conftest.$ac_ext <<EOF | 11138 cat > conftest.$ac_ext <<EOF |
11117 #line 11118 "configure" | 11139 #line 11140 "configure" |
11118 #include "confdefs.h" | 11140 #include "confdefs.h" |
11119 #include <$ac_hdr> | 11141 #include <$ac_hdr> |
11120 EOF | 11142 EOF |
11121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11122 { (eval echo configure:11123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11144 { (eval echo configure:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11124 if test -z "$ac_err"; then | 11146 if test -z "$ac_err"; then |
11125 rm -rf conftest* | 11147 rm -rf conftest* |
11126 eval "ac_cv_header_$ac_safe=yes" | 11148 eval "ac_cv_header_$ac_safe=yes" |
11127 else | 11149 else |
11153 | 11175 |
11154 for ac_hdr in stropts.h | 11176 for ac_hdr in stropts.h |
11155 do | 11177 do |
11156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11158 echo "configure:11159: checking for $ac_hdr" >&5 | 11180 echo "configure:11181: checking for $ac_hdr" >&5 |
11159 | 11181 |
11160 cat > conftest.$ac_ext <<EOF | 11182 cat > conftest.$ac_ext <<EOF |
11161 #line 11162 "configure" | 11183 #line 11184 "configure" |
11162 #include "confdefs.h" | 11184 #include "confdefs.h" |
11163 #include <$ac_hdr> | 11185 #include <$ac_hdr> |
11164 EOF | 11186 EOF |
11165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11166 { (eval echo configure:11167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11188 { (eval echo configure:11189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11168 if test -z "$ac_err"; then | 11190 if test -z "$ac_err"; then |
11169 rm -rf conftest* | 11191 rm -rf conftest* |
11170 eval "ac_cv_header_$ac_safe=yes" | 11192 eval "ac_cv_header_$ac_safe=yes" |
11171 else | 11193 else |
11194 | 11216 |
11195 if test "$ac_cv_header_stropts_h" = "yes"; then | 11217 if test "$ac_cv_header_stropts_h" = "yes"; then |
11196 for ac_func in isastream | 11218 for ac_func in isastream |
11197 do | 11219 do |
11198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11199 echo "configure:11200: checking for $ac_func" >&5 | 11221 echo "configure:11222: checking for $ac_func" >&5 |
11200 | 11222 |
11201 cat > conftest.$ac_ext <<EOF | 11223 cat > conftest.$ac_ext <<EOF |
11202 #line 11203 "configure" | 11224 #line 11225 "configure" |
11203 #include "confdefs.h" | 11225 #include "confdefs.h" |
11204 /* System header to define __stub macros and hopefully few prototypes, | 11226 /* System header to define __stub macros and hopefully few prototypes, |
11205 which can conflict with char $ac_func(); below. */ | 11227 which can conflict with char $ac_func(); below. */ |
11206 #include <assert.h> | 11228 #include <assert.h> |
11207 /* Override any gcc2 internal prototype to avoid an error. */ | 11229 /* Override any gcc2 internal prototype to avoid an error. */ |
11220 $ac_func(); | 11242 $ac_func(); |
11221 #endif | 11243 #endif |
11222 | 11244 |
11223 ; return 0; } | 11245 ; return 0; } |
11224 EOF | 11246 EOF |
11225 if { (eval echo configure:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11247 if { (eval echo configure:11248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11226 rm -rf conftest* | 11248 rm -rf conftest* |
11227 eval "ac_cv_func_$ac_func=yes" | 11249 eval "ac_cv_func_$ac_func=yes" |
11228 else | 11250 else |
11229 echo "configure: failed program was:" >&5 | 11251 echo "configure: failed program was:" >&5 |
11230 cat conftest.$ac_ext >&5 | 11252 cat conftest.$ac_ext >&5 |
11251 | 11273 |
11252 for ac_hdr in strtio.h | 11274 for ac_hdr in strtio.h |
11253 do | 11275 do |
11254 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11276 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11255 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11277 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11256 echo "configure:11257: checking for $ac_hdr" >&5 | 11278 echo "configure:11279: checking for $ac_hdr" >&5 |
11257 | 11279 |
11258 cat > conftest.$ac_ext <<EOF | 11280 cat > conftest.$ac_ext <<EOF |
11259 #line 11260 "configure" | 11281 #line 11282 "configure" |
11260 #include "confdefs.h" | 11282 #include "confdefs.h" |
11261 #include <$ac_hdr> | 11283 #include <$ac_hdr> |
11262 EOF | 11284 EOF |
11263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11264 { (eval echo configure:11265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11286 { (eval echo configure:11287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11266 if test -z "$ac_err"; then | 11288 if test -z "$ac_err"; then |
11267 rm -rf conftest* | 11289 rm -rf conftest* |
11268 eval "ac_cv_header_$ac_safe=yes" | 11290 eval "ac_cv_header_$ac_safe=yes" |
11269 else | 11291 else |
11296 fi | 11318 fi |
11297 | 11319 |
11298 for ac_func in getloadavg | 11320 for ac_func in getloadavg |
11299 do | 11321 do |
11300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11301 echo "configure:11302: checking for $ac_func" >&5 | 11323 echo "configure:11324: checking for $ac_func" >&5 |
11302 | 11324 |
11303 cat > conftest.$ac_ext <<EOF | 11325 cat > conftest.$ac_ext <<EOF |
11304 #line 11305 "configure" | 11326 #line 11327 "configure" |
11305 #include "confdefs.h" | 11327 #include "confdefs.h" |
11306 /* System header to define __stub macros and hopefully few prototypes, | 11328 /* System header to define __stub macros and hopefully few prototypes, |
11307 which can conflict with char $ac_func(); below. */ | 11329 which can conflict with char $ac_func(); below. */ |
11308 #include <assert.h> | 11330 #include <assert.h> |
11309 /* Override any gcc2 internal prototype to avoid an error. */ | 11331 /* Override any gcc2 internal prototype to avoid an error. */ |
11322 $ac_func(); | 11344 $ac_func(); |
11323 #endif | 11345 #endif |
11324 | 11346 |
11325 ; return 0; } | 11347 ; return 0; } |
11326 EOF | 11348 EOF |
11327 if { (eval echo configure:11328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11349 if { (eval echo configure:11350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11328 rm -rf conftest* | 11350 rm -rf conftest* |
11329 eval "ac_cv_func_$ac_func=yes" | 11351 eval "ac_cv_func_$ac_func=yes" |
11330 else | 11352 else |
11331 echo "configure: failed program was:" >&5 | 11353 echo "configure: failed program was:" >&5 |
11332 cat conftest.$ac_ext >&5 | 11354 cat conftest.$ac_ext >&5 |
11355 if test "$ac_cv_func_getloadavg" = "yes"; then | 11377 if test "$ac_cv_func_getloadavg" = "yes"; then |
11356 for ac_hdr in sys/loadavg.h | 11378 for ac_hdr in sys/loadavg.h |
11357 do | 11379 do |
11358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11380 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11381 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11360 echo "configure:11361: checking for $ac_hdr" >&5 | 11382 echo "configure:11383: checking for $ac_hdr" >&5 |
11361 | 11383 |
11362 cat > conftest.$ac_ext <<EOF | 11384 cat > conftest.$ac_ext <<EOF |
11363 #line 11364 "configure" | 11385 #line 11386 "configure" |
11364 #include "confdefs.h" | 11386 #include "confdefs.h" |
11365 #include <$ac_hdr> | 11387 #include <$ac_hdr> |
11366 EOF | 11388 EOF |
11367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11368 { (eval echo configure:11369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11390 { (eval echo configure:11391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11370 if test -z "$ac_err"; then | 11392 if test -z "$ac_err"; then |
11371 rm -rf conftest* | 11393 rm -rf conftest* |
11372 eval "ac_cv_header_$ac_safe=yes" | 11394 eval "ac_cv_header_$ac_safe=yes" |
11373 else | 11395 else |
11399 echo " xemacs will be linked with \"getloadavg.o\"" | 11421 echo " xemacs will be linked with \"getloadavg.o\"" |
11400 fi | 11422 fi |
11401 | 11423 |
11402 | 11424 |
11403 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11425 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11404 echo "configure:11405: checking for kstat_open in -lkstat" >&5 | 11426 echo "configure:11427: checking for kstat_open in -lkstat" >&5 |
11405 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11427 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11406 | 11428 |
11407 xe_check_libs=" -lkstat " | 11429 xe_check_libs=" -lkstat " |
11408 cat > conftest.$ac_ext <<EOF | 11430 cat > conftest.$ac_ext <<EOF |
11409 #line 11410 "configure" | 11431 #line 11432 "configure" |
11410 #include "confdefs.h" | 11432 #include "confdefs.h" |
11411 /* Override any gcc2 internal prototype to avoid an error. */ | 11433 /* Override any gcc2 internal prototype to avoid an error. */ |
11412 /* We use char because int might match the return type of a gcc2 | 11434 /* We use char because int might match the return type of a gcc2 |
11413 builtin and then its argument prototype would still apply. */ | 11435 builtin and then its argument prototype would still apply. */ |
11414 char kstat_open(); | 11436 char kstat_open(); |
11415 | 11437 |
11416 int main() { | 11438 int main() { |
11417 kstat_open() | 11439 kstat_open() |
11418 ; return 0; } | 11440 ; return 0; } |
11419 EOF | 11441 EOF |
11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11442 if { (eval echo configure:11443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11421 rm -rf conftest* | 11443 rm -rf conftest* |
11422 eval "ac_cv_lib_$ac_lib_var=yes" | 11444 eval "ac_cv_lib_$ac_lib_var=yes" |
11423 else | 11445 else |
11424 echo "configure: failed program was:" >&5 | 11446 echo "configure: failed program was:" >&5 |
11425 cat conftest.$ac_ext >&5 | 11447 cat conftest.$ac_ext >&5 |
11450 | 11472 |
11451 for ac_hdr in kstat.h | 11473 for ac_hdr in kstat.h |
11452 do | 11474 do |
11453 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11454 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11455 echo "configure:11456: checking for $ac_hdr" >&5 | 11477 echo "configure:11478: checking for $ac_hdr" >&5 |
11456 | 11478 |
11457 cat > conftest.$ac_ext <<EOF | 11479 cat > conftest.$ac_ext <<EOF |
11458 #line 11459 "configure" | 11480 #line 11481 "configure" |
11459 #include "confdefs.h" | 11481 #include "confdefs.h" |
11460 #include <$ac_hdr> | 11482 #include <$ac_hdr> |
11461 EOF | 11483 EOF |
11462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11463 { (eval echo configure:11464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11485 { (eval echo configure:11486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11465 if test -z "$ac_err"; then | 11487 if test -z "$ac_err"; then |
11466 rm -rf conftest* | 11488 rm -rf conftest* |
11467 eval "ac_cv_header_$ac_safe=yes" | 11489 eval "ac_cv_header_$ac_safe=yes" |
11468 else | 11490 else |
11490 done | 11512 done |
11491 | 11513 |
11492 | 11514 |
11493 | 11515 |
11494 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11516 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11495 echo "configure:11496: checking for kvm_read in -lkvm" >&5 | 11517 echo "configure:11518: checking for kvm_read in -lkvm" >&5 |
11496 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11518 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11497 | 11519 |
11498 xe_check_libs=" -lkvm " | 11520 xe_check_libs=" -lkvm " |
11499 cat > conftest.$ac_ext <<EOF | 11521 cat > conftest.$ac_ext <<EOF |
11500 #line 11501 "configure" | 11522 #line 11523 "configure" |
11501 #include "confdefs.h" | 11523 #include "confdefs.h" |
11502 /* Override any gcc2 internal prototype to avoid an error. */ | 11524 /* Override any gcc2 internal prototype to avoid an error. */ |
11503 /* We use char because int might match the return type of a gcc2 | 11525 /* We use char because int might match the return type of a gcc2 |
11504 builtin and then its argument prototype would still apply. */ | 11526 builtin and then its argument prototype would still apply. */ |
11505 char kvm_read(); | 11527 char kvm_read(); |
11506 | 11528 |
11507 int main() { | 11529 int main() { |
11508 kvm_read() | 11530 kvm_read() |
11509 ; return 0; } | 11531 ; return 0; } |
11510 EOF | 11532 EOF |
11511 if { (eval echo configure:11512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11533 if { (eval echo configure:11534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11512 rm -rf conftest* | 11534 rm -rf conftest* |
11513 eval "ac_cv_lib_$ac_lib_var=yes" | 11535 eval "ac_cv_lib_$ac_lib_var=yes" |
11514 else | 11536 else |
11515 echo "configure: failed program was:" >&5 | 11537 echo "configure: failed program was:" >&5 |
11516 cat conftest.$ac_ext >&5 | 11538 cat conftest.$ac_ext >&5 |
11540 | 11562 |
11541 | 11563 |
11542 fi | 11564 fi |
11543 | 11565 |
11544 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11566 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11545 echo "configure:11546: checking whether netdb declares h_errno" >&5 | 11567 echo "configure:11568: checking whether netdb declares h_errno" >&5 |
11546 cat > conftest.$ac_ext <<EOF | 11568 cat > conftest.$ac_ext <<EOF |
11547 #line 11548 "configure" | 11569 #line 11570 "configure" |
11548 #include "confdefs.h" | 11570 #include "confdefs.h" |
11549 #include <netdb.h> | 11571 #include <netdb.h> |
11550 int main() { | 11572 int main() { |
11551 return h_errno; | 11573 return h_errno; |
11552 ; return 0; } | 11574 ; return 0; } |
11553 EOF | 11575 EOF |
11554 if { (eval echo configure:11555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11576 if { (eval echo configure:11577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11555 rm -rf conftest* | 11577 rm -rf conftest* |
11556 echo "$ac_t""yes" 1>&6 | 11578 echo "$ac_t""yes" 1>&6 |
11557 { test "$extra_verbose" = "yes" && cat << \EOF | 11579 { test "$extra_verbose" = "yes" && cat << \EOF |
11558 Defining HAVE_H_ERRNO | 11580 Defining HAVE_H_ERRNO |
11559 EOF | 11581 EOF |
11569 echo "$ac_t""no" 1>&6 | 11591 echo "$ac_t""no" 1>&6 |
11570 fi | 11592 fi |
11571 rm -f conftest* | 11593 rm -f conftest* |
11572 | 11594 |
11573 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11595 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11574 echo "configure:11575: checking for sigsetjmp" >&5 | 11596 echo "configure:11597: checking for sigsetjmp" >&5 |
11575 cat > conftest.$ac_ext <<EOF | 11597 cat > conftest.$ac_ext <<EOF |
11576 #line 11577 "configure" | 11598 #line 11599 "configure" |
11577 #include "confdefs.h" | 11599 #include "confdefs.h" |
11578 #include <setjmp.h> | 11600 #include <setjmp.h> |
11579 int main() { | 11601 int main() { |
11580 sigjmp_buf bar; sigsetjmp (bar, 0); | 11602 sigjmp_buf bar; sigsetjmp (bar, 0); |
11581 ; return 0; } | 11603 ; return 0; } |
11582 EOF | 11604 EOF |
11583 if { (eval echo configure:11584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11605 if { (eval echo configure:11606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11584 rm -rf conftest* | 11606 rm -rf conftest* |
11585 echo "$ac_t""yes" 1>&6 | 11607 echo "$ac_t""yes" 1>&6 |
11586 { test "$extra_verbose" = "yes" && cat << \EOF | 11608 { test "$extra_verbose" = "yes" && cat << \EOF |
11587 Defining HAVE_SIGSETJMP | 11609 Defining HAVE_SIGSETJMP |
11588 EOF | 11610 EOF |
11598 echo "$ac_t""no" 1>&6 | 11620 echo "$ac_t""no" 1>&6 |
11599 fi | 11621 fi |
11600 rm -f conftest* | 11622 rm -f conftest* |
11601 | 11623 |
11602 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11624 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11603 echo "configure:11604: checking whether localtime caches TZ" >&5 | 11625 echo "configure:11626: checking whether localtime caches TZ" >&5 |
11604 | 11626 |
11605 if test "$ac_cv_func_tzset" = "yes"; then | 11627 if test "$ac_cv_func_tzset" = "yes"; then |
11606 cat > conftest.$ac_ext <<EOF | 11628 cat > conftest.$ac_ext <<EOF |
11607 #line 11608 "configure" | 11629 #line 11630 "configure" |
11608 #include "confdefs.h" | 11630 #include "confdefs.h" |
11609 #include <time.h> | 11631 #include <time.h> |
11610 #if STDC_HEADERS | 11632 #if STDC_HEADERS |
11611 # include <stdlib.h> | 11633 # include <stdlib.h> |
11612 #endif | 11634 #endif |
11637 if (localtime (&now)->tm_hour != hour_unset) | 11659 if (localtime (&now)->tm_hour != hour_unset) |
11638 exit (1); | 11660 exit (1); |
11639 exit (0); | 11661 exit (0); |
11640 } | 11662 } |
11641 EOF | 11663 EOF |
11642 if { (eval echo configure:11643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11664 if { (eval echo configure:11665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11643 then | 11665 then |
11644 emacs_cv_localtime_cache=no | 11666 emacs_cv_localtime_cache=no |
11645 else | 11667 else |
11646 conftest_rc="$?" | 11668 conftest_rc="$?" |
11647 echo "configure: failed program was:" >&5 | 11669 echo "configure: failed program was:" >&5 |
11667 | 11689 |
11668 fi | 11690 fi |
11669 | 11691 |
11670 if test "$HAVE_TIMEVAL" = "yes"; then | 11692 if test "$HAVE_TIMEVAL" = "yes"; then |
11671 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11693 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11672 echo "configure:11673: checking whether gettimeofday accepts one or two arguments" >&5 | 11694 echo "configure:11695: checking whether gettimeofday accepts one or two arguments" >&5 |
11673 cat > conftest.$ac_ext <<EOF | 11695 cat > conftest.$ac_ext <<EOF |
11674 #line 11675 "configure" | 11696 #line 11697 "configure" |
11675 #include "confdefs.h" | 11697 #include "confdefs.h" |
11676 | 11698 |
11677 #ifdef TIME_WITH_SYS_TIME | 11699 #ifdef TIME_WITH_SYS_TIME |
11678 #include <sys/time.h> | 11700 #include <sys/time.h> |
11679 #include <time.h> | 11701 #include <time.h> |
11690 struct timeval time; | 11712 struct timeval time; |
11691 gettimeofday (&time, 0); | 11713 gettimeofday (&time, 0); |
11692 | 11714 |
11693 ; return 0; } | 11715 ; return 0; } |
11694 EOF | 11716 EOF |
11695 if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11717 if { (eval echo configure:11718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11696 rm -rf conftest* | 11718 rm -rf conftest* |
11697 echo "$ac_t""two" 1>&6 | 11719 echo "$ac_t""two" 1>&6 |
11698 else | 11720 else |
11699 echo "configure: failed program was:" >&5 | 11721 echo "configure: failed program was:" >&5 |
11700 cat conftest.$ac_ext >&5 | 11722 cat conftest.$ac_ext >&5 |
11712 rm -f conftest* | 11734 rm -f conftest* |
11713 fi | 11735 fi |
11714 | 11736 |
11715 | 11737 |
11716 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11738 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11717 echo "configure:11718: checking for inline" >&5 | 11739 echo "configure:11740: checking for inline" >&5 |
11718 | 11740 |
11719 ac_cv_c_inline=no | 11741 ac_cv_c_inline=no |
11720 for ac_kw in inline __inline__ __inline; do | 11742 for ac_kw in inline __inline__ __inline; do |
11721 cat > conftest.$ac_ext <<EOF | 11743 cat > conftest.$ac_ext <<EOF |
11722 #line 11723 "configure" | 11744 #line 11745 "configure" |
11723 #include "confdefs.h" | 11745 #include "confdefs.h" |
11724 | 11746 |
11725 int main() { | 11747 int main() { |
11726 } $ac_kw foo() { | 11748 } $ac_kw foo() { |
11727 ; return 0; } | 11749 ; return 0; } |
11728 EOF | 11750 EOF |
11729 if { (eval echo configure:11730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11751 if { (eval echo configure:11752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11730 rm -rf conftest* | 11752 rm -rf conftest* |
11731 ac_cv_c_inline=$ac_kw; break | 11753 ac_cv_c_inline=$ac_kw; break |
11732 else | 11754 else |
11733 echo "configure: failed program was:" >&5 | 11755 echo "configure: failed program was:" >&5 |
11734 cat conftest.$ac_ext >&5 | 11756 cat conftest.$ac_ext >&5 |
11765 | 11787 |
11766 if test "$__DECC" != "yes"; then | 11788 if test "$__DECC" != "yes"; then |
11767 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11789 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11768 # for constant arguments. Useless! | 11790 # for constant arguments. Useless! |
11769 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11791 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11770 echo "configure:11771: checking for working alloca.h" >&5 | 11792 echo "configure:11793: checking for working alloca.h" >&5 |
11771 | 11793 |
11772 cat > conftest.$ac_ext <<EOF | 11794 cat > conftest.$ac_ext <<EOF |
11773 #line 11774 "configure" | 11795 #line 11796 "configure" |
11774 #include "confdefs.h" | 11796 #include "confdefs.h" |
11775 #include <alloca.h> | 11797 #include <alloca.h> |
11776 int main() { | 11798 int main() { |
11777 char *p = alloca(2 * sizeof(int)); | 11799 char *p = alloca(2 * sizeof(int)); |
11778 ; return 0; } | 11800 ; return 0; } |
11779 EOF | 11801 EOF |
11780 if { (eval echo configure:11781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11802 if { (eval echo configure:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11781 rm -rf conftest* | 11803 rm -rf conftest* |
11782 ac_cv_header_alloca_h=yes | 11804 ac_cv_header_alloca_h=yes |
11783 else | 11805 else |
11784 echo "configure: failed program was:" >&5 | 11806 echo "configure: failed program was:" >&5 |
11785 cat conftest.$ac_ext >&5 | 11807 cat conftest.$ac_ext >&5 |
11799 } | 11821 } |
11800 | 11822 |
11801 fi | 11823 fi |
11802 | 11824 |
11803 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11825 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11804 echo "configure:11805: checking for alloca" >&5 | 11826 echo "configure:11827: checking for alloca" >&5 |
11805 | 11827 |
11806 cat > conftest.$ac_ext <<EOF | 11828 cat > conftest.$ac_ext <<EOF |
11807 #line 11808 "configure" | 11829 #line 11830 "configure" |
11808 #include "confdefs.h" | 11830 #include "confdefs.h" |
11809 | 11831 |
11810 #ifdef __GNUC__ | 11832 #ifdef __GNUC__ |
11811 # define alloca __builtin_alloca | 11833 # define alloca __builtin_alloca |
11812 #else | 11834 #else |
11830 | 11852 |
11831 int main() { | 11853 int main() { |
11832 char *p = (char *) alloca(1); | 11854 char *p = (char *) alloca(1); |
11833 ; return 0; } | 11855 ; return 0; } |
11834 EOF | 11856 EOF |
11835 if { (eval echo configure:11836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11857 if { (eval echo configure:11858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11836 rm -rf conftest* | 11858 rm -rf conftest* |
11837 ac_cv_func_alloca_works=yes | 11859 ac_cv_func_alloca_works=yes |
11838 else | 11860 else |
11839 echo "configure: failed program was:" >&5 | 11861 echo "configure: failed program was:" >&5 |
11840 cat conftest.$ac_ext >&5 | 11862 cat conftest.$ac_ext >&5 |
11869 EOF | 11891 EOF |
11870 } | 11892 } |
11871 | 11893 |
11872 | 11894 |
11873 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11895 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11874 echo "configure:11875: checking whether alloca needs Cray hooks" >&5 | 11896 echo "configure:11897: checking whether alloca needs Cray hooks" >&5 |
11875 | 11897 |
11876 cat > conftest.$ac_ext <<EOF | 11898 cat > conftest.$ac_ext <<EOF |
11877 #line 11878 "configure" | 11899 #line 11900 "configure" |
11878 #include "confdefs.h" | 11900 #include "confdefs.h" |
11879 #if defined(CRAY) && ! defined(CRAY2) | 11901 #if defined(CRAY) && ! defined(CRAY2) |
11880 webecray | 11902 webecray |
11881 #else | 11903 #else |
11882 wenotbecray | 11904 wenotbecray |
11896 | 11918 |
11897 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11919 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11898 if test $ac_cv_os_cray = yes; then | 11920 if test $ac_cv_os_cray = yes; then |
11899 for ac_func in _getb67 GETB67 getb67; do | 11921 for ac_func in _getb67 GETB67 getb67; do |
11900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11901 echo "configure:11902: checking for $ac_func" >&5 | 11923 echo "configure:11924: checking for $ac_func" >&5 |
11902 | 11924 |
11903 cat > conftest.$ac_ext <<EOF | 11925 cat > conftest.$ac_ext <<EOF |
11904 #line 11905 "configure" | 11926 #line 11927 "configure" |
11905 #include "confdefs.h" | 11927 #include "confdefs.h" |
11906 /* System header to define __stub macros and hopefully few prototypes, | 11928 /* System header to define __stub macros and hopefully few prototypes, |
11907 which can conflict with char $ac_func(); below. */ | 11929 which can conflict with char $ac_func(); below. */ |
11908 #include <assert.h> | 11930 #include <assert.h> |
11909 /* Override any gcc2 internal prototype to avoid an error. */ | 11931 /* Override any gcc2 internal prototype to avoid an error. */ |
11922 $ac_func(); | 11944 $ac_func(); |
11923 #endif | 11945 #endif |
11924 | 11946 |
11925 ; return 0; } | 11947 ; return 0; } |
11926 EOF | 11948 EOF |
11927 if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11949 if { (eval echo configure:11950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11928 rm -rf conftest* | 11950 rm -rf conftest* |
11929 eval "ac_cv_func_$ac_func=yes" | 11951 eval "ac_cv_func_$ac_func=yes" |
11930 else | 11952 else |
11931 echo "configure: failed program was:" >&5 | 11953 echo "configure: failed program was:" >&5 |
11932 cat conftest.$ac_ext >&5 | 11954 cat conftest.$ac_ext >&5 |
11952 | 11974 |
11953 done | 11975 done |
11954 fi | 11976 fi |
11955 | 11977 |
11956 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11978 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11957 echo "configure:11958: checking stack direction for C alloca" >&5 | 11979 echo "configure:11980: checking stack direction for C alloca" >&5 |
11958 | 11980 |
11959 cat > conftest.$ac_ext <<EOF | 11981 cat > conftest.$ac_ext <<EOF |
11960 #line 11961 "configure" | 11982 #line 11983 "configure" |
11961 #include "confdefs.h" | 11983 #include "confdefs.h" |
11962 find_stack_direction () | 11984 find_stack_direction () |
11963 { | 11985 { |
11964 static char *addr = 0; | 11986 static char *addr = 0; |
11965 auto char dummy; | 11987 auto char dummy; |
11974 main () | 11996 main () |
11975 { | 11997 { |
11976 exit (find_stack_direction() < 0); | 11998 exit (find_stack_direction() < 0); |
11977 } | 11999 } |
11978 EOF | 12000 EOF |
11979 if { (eval echo configure:11980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12001 if { (eval echo configure:12002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11980 then | 12002 then |
11981 ac_cv_c_stack_direction=1 | 12003 ac_cv_c_stack_direction=1 |
11982 else | 12004 else |
11983 conftest_rc="$?" | 12005 conftest_rc="$?" |
11984 echo "configure: failed program was:" >&5 | 12006 echo "configure: failed program was:" >&5 |
12004 fi | 12026 fi |
12005 fi | 12027 fi |
12006 | 12028 |
12007 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12029 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12008 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12030 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12009 echo "configure:12010: checking for vfork.h" >&5 | 12031 echo "configure:12032: checking for vfork.h" >&5 |
12010 | 12032 |
12011 cat > conftest.$ac_ext <<EOF | 12033 cat > conftest.$ac_ext <<EOF |
12012 #line 12013 "configure" | 12034 #line 12035 "configure" |
12013 #include "confdefs.h" | 12035 #include "confdefs.h" |
12014 #include <vfork.h> | 12036 #include <vfork.h> |
12015 EOF | 12037 EOF |
12016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12017 { (eval echo configure:12018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12039 { (eval echo configure:12040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12019 if test -z "$ac_err"; then | 12041 if test -z "$ac_err"; then |
12020 rm -rf conftest* | 12042 rm -rf conftest* |
12021 eval "ac_cv_header_$ac_safe=yes" | 12043 eval "ac_cv_header_$ac_safe=yes" |
12022 else | 12044 else |
12040 else | 12062 else |
12041 echo "$ac_t""no" 1>&6 | 12063 echo "$ac_t""no" 1>&6 |
12042 fi | 12064 fi |
12043 | 12065 |
12044 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12066 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12045 echo "configure:12046: checking for working vfork" >&5 | 12067 echo "configure:12068: checking for working vfork" >&5 |
12046 | 12068 |
12047 cat > conftest.$ac_ext <<EOF | 12069 cat > conftest.$ac_ext <<EOF |
12048 #line 12049 "configure" | 12070 #line 12071 "configure" |
12049 #include "confdefs.h" | 12071 #include "confdefs.h" |
12050 /* Thanks to Paul Eggert for this test. */ | 12072 /* Thanks to Paul Eggert for this test. */ |
12051 #include <stdio.h> | 12073 #include <stdio.h> |
12052 #include <sys/types.h> | 12074 #include <sys/types.h> |
12053 #include <sys/stat.h> | 12075 #include <sys/stat.h> |
12138 || fstat(fileno(stdout), &st) != 0 | 12160 || fstat(fileno(stdout), &st) != 0 |
12139 ); | 12161 ); |
12140 } | 12162 } |
12141 } | 12163 } |
12142 EOF | 12164 EOF |
12143 if { (eval echo configure:12144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12165 if { (eval echo configure:12166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12144 then | 12166 then |
12145 ac_cv_func_vfork_works=yes | 12167 ac_cv_func_vfork_works=yes |
12146 else | 12168 else |
12147 conftest_rc="$?" | 12169 conftest_rc="$?" |
12148 echo "configure: failed program was:" >&5 | 12170 echo "configure: failed program was:" >&5 |
12164 | 12186 |
12165 fi | 12187 fi |
12166 | 12188 |
12167 | 12189 |
12168 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12190 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12169 echo "configure:12170: checking for working strcoll" >&5 | 12191 echo "configure:12192: checking for working strcoll" >&5 |
12170 | 12192 |
12171 cat > conftest.$ac_ext <<EOF | 12193 cat > conftest.$ac_ext <<EOF |
12172 #line 12173 "configure" | 12194 #line 12195 "configure" |
12173 #include "confdefs.h" | 12195 #include "confdefs.h" |
12174 #include <string.h> | 12196 #include <string.h> |
12175 main () | 12197 main () |
12176 { | 12198 { |
12177 exit (strcoll ("abc", "def") >= 0 || | 12199 exit (strcoll ("abc", "def") >= 0 || |
12178 strcoll ("ABC", "DEF") >= 0 || | 12200 strcoll ("ABC", "DEF") >= 0 || |
12179 strcoll ("123", "456") >= 0); | 12201 strcoll ("123", "456") >= 0); |
12180 } | 12202 } |
12181 EOF | 12203 EOF |
12182 if { (eval echo configure:12183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12204 if { (eval echo configure:12205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12183 then | 12205 then |
12184 ac_cv_func_strcoll_works=yes | 12206 ac_cv_func_strcoll_works=yes |
12185 else | 12207 else |
12186 conftest_rc="$?" | 12208 conftest_rc="$?" |
12187 echo "configure: failed program was:" >&5 | 12209 echo "configure: failed program was:" >&5 |
12205 | 12227 |
12206 | 12228 |
12207 for ac_func in getpgrp | 12229 for ac_func in getpgrp |
12208 do | 12230 do |
12209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12210 echo "configure:12211: checking for $ac_func" >&5 | 12232 echo "configure:12233: checking for $ac_func" >&5 |
12211 | 12233 |
12212 cat > conftest.$ac_ext <<EOF | 12234 cat > conftest.$ac_ext <<EOF |
12213 #line 12214 "configure" | 12235 #line 12236 "configure" |
12214 #include "confdefs.h" | 12236 #include "confdefs.h" |
12215 /* System header to define __stub macros and hopefully few prototypes, | 12237 /* System header to define __stub macros and hopefully few prototypes, |
12216 which can conflict with char $ac_func(); below. */ | 12238 which can conflict with char $ac_func(); below. */ |
12217 #include <assert.h> | 12239 #include <assert.h> |
12218 /* Override any gcc2 internal prototype to avoid an error. */ | 12240 /* Override any gcc2 internal prototype to avoid an error. */ |
12231 $ac_func(); | 12253 $ac_func(); |
12232 #endif | 12254 #endif |
12233 | 12255 |
12234 ; return 0; } | 12256 ; return 0; } |
12235 EOF | 12257 EOF |
12236 if { (eval echo configure:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12258 if { (eval echo configure:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12237 rm -rf conftest* | 12259 rm -rf conftest* |
12238 eval "ac_cv_func_$ac_func=yes" | 12260 eval "ac_cv_func_$ac_func=yes" |
12239 else | 12261 else |
12240 echo "configure: failed program was:" >&5 | 12262 echo "configure: failed program was:" >&5 |
12241 cat conftest.$ac_ext >&5 | 12263 cat conftest.$ac_ext >&5 |
12259 echo "$ac_t""no" 1>&6 | 12281 echo "$ac_t""no" 1>&6 |
12260 fi | 12282 fi |
12261 done | 12283 done |
12262 | 12284 |
12263 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12285 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12264 echo "configure:12265: checking whether getpgrp takes no argument" >&5 | 12286 echo "configure:12287: checking whether getpgrp takes no argument" >&5 |
12265 | 12287 |
12266 cat > conftest.$ac_ext <<EOF | 12288 cat > conftest.$ac_ext <<EOF |
12267 #line 12268 "configure" | 12289 #line 12290 "configure" |
12268 #include "confdefs.h" | 12290 #include "confdefs.h" |
12269 | 12291 |
12270 /* | 12292 /* |
12271 * If this system has a BSD-style getpgrp(), | 12293 * If this system has a BSD-style getpgrp(), |
12272 * which takes a pid argument, exit unsuccessfully. | 12294 * which takes a pid argument, exit unsuccessfully. |
12317 exit(s>>8); | 12339 exit(s>>8); |
12318 } | 12340 } |
12319 } | 12341 } |
12320 | 12342 |
12321 EOF | 12343 EOF |
12322 if { (eval echo configure:12323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12344 if { (eval echo configure:12345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12323 then | 12345 then |
12324 ac_cv_func_getpgrp_void=yes | 12346 ac_cv_func_getpgrp_void=yes |
12325 else | 12347 else |
12326 conftest_rc="$?" | 12348 conftest_rc="$?" |
12327 echo "configure: failed program was:" >&5 | 12349 echo "configure: failed program was:" >&5 |
12344 | 12366 |
12345 fi | 12367 fi |
12346 | 12368 |
12347 | 12369 |
12348 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12370 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12349 echo "configure:12350: checking for working mmap" >&5 | 12371 echo "configure:12372: checking for working mmap" >&5 |
12350 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12372 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12351 cat > conftest.$ac_ext <<EOF | 12373 cat > conftest.$ac_ext <<EOF |
12352 #line 12353 "configure" | 12374 #line 12375 "configure" |
12353 #include "confdefs.h" | 12375 #include "confdefs.h" |
12354 #include <stdio.h> | 12376 #include <stdio.h> |
12355 #include <unistd.h> | 12377 #include <unistd.h> |
12356 #include <fcntl.h> | 12378 #include <fcntl.h> |
12357 #include <sys/mman.h> | 12379 #include <sys/mman.h> |
12380 return 0; | 12402 return 0; |
12381 perror ("conftest: mmap failed"); | 12403 perror ("conftest: mmap failed"); |
12382 return 1; | 12404 return 1; |
12383 } | 12405 } |
12384 EOF | 12406 EOF |
12385 if { (eval echo configure:12386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12407 if { (eval echo configure:12408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12386 then | 12408 then |
12387 have_mmap=yes | 12409 have_mmap=yes |
12388 else | 12410 else |
12389 conftest_rc="$?" | 12411 conftest_rc="$?" |
12390 echo "configure: failed program was:" >&5 | 12412 echo "configure: failed program was:" >&5 |
12409 esac | 12431 esac |
12410 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12432 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12411 if test "$rel_alloc $have_mmap" = "default yes"; then | 12433 if test "$rel_alloc $have_mmap" = "default yes"; then |
12412 if test "$doug_lea_malloc" = "yes"; then | 12434 if test "$doug_lea_malloc" = "yes"; then |
12413 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12435 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12414 echo "configure:12415: checking for M_MMAP_THRESHOLD" >&5 | 12436 echo "configure:12437: checking for M_MMAP_THRESHOLD" >&5 |
12415 cat > conftest.$ac_ext <<EOF | 12437 cat > conftest.$ac_ext <<EOF |
12416 #line 12417 "configure" | 12438 #line 12439 "configure" |
12417 #include "confdefs.h" | 12439 #include "confdefs.h" |
12418 #include <malloc.h> | 12440 #include <malloc.h> |
12419 int main() { | 12441 int main() { |
12420 | 12442 |
12421 #ifndef M_MMAP_THRESHOLD | 12443 #ifndef M_MMAP_THRESHOLD |
12423 !@+$%^&*_)(_ - unlikely to compile... | 12445 !@+$%^&*_)(_ - unlikely to compile... |
12424 #endif | 12446 #endif |
12425 | 12447 |
12426 ; return 0; } | 12448 ; return 0; } |
12427 EOF | 12449 EOF |
12428 if { (eval echo configure:12429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12450 if { (eval echo configure:12451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12429 rm -rf conftest* | 12451 rm -rf conftest* |
12430 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12452 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12431 else | 12453 else |
12432 echo "configure: failed program was:" >&5 | 12454 echo "configure: failed program was:" >&5 |
12433 cat conftest.$ac_ext >&5 | 12455 cat conftest.$ac_ext >&5 |
12448 } | 12470 } |
12449 | 12471 |
12450 | 12472 |
12451 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12473 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12452 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12474 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12453 echo "configure:12454: checking for termios.h" >&5 | 12475 echo "configure:12476: checking for termios.h" >&5 |
12454 | 12476 |
12455 cat > conftest.$ac_ext <<EOF | 12477 cat > conftest.$ac_ext <<EOF |
12456 #line 12457 "configure" | 12478 #line 12479 "configure" |
12457 #include "confdefs.h" | 12479 #include "confdefs.h" |
12458 #include <termios.h> | 12480 #include <termios.h> |
12459 EOF | 12481 EOF |
12460 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12461 { (eval echo configure:12462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12483 { (eval echo configure:12484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12462 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12463 if test -z "$ac_err"; then | 12485 if test -z "$ac_err"; then |
12464 rm -rf conftest* | 12486 rm -rf conftest* |
12465 eval "ac_cv_header_$ac_safe=yes" | 12487 eval "ac_cv_header_$ac_safe=yes" |
12466 else | 12488 else |
12499 | 12521 |
12500 else | 12522 else |
12501 echo "$ac_t""no" 1>&6 | 12523 echo "$ac_t""no" 1>&6 |
12502 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12524 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12503 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12525 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12504 echo "configure:12505: checking for termio.h" >&5 | 12526 echo "configure:12527: checking for termio.h" >&5 |
12505 | 12527 |
12506 cat > conftest.$ac_ext <<EOF | 12528 cat > conftest.$ac_ext <<EOF |
12507 #line 12508 "configure" | 12529 #line 12530 "configure" |
12508 #include "confdefs.h" | 12530 #include "confdefs.h" |
12509 #include <termio.h> | 12531 #include <termio.h> |
12510 EOF | 12532 EOF |
12511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12512 { (eval echo configure:12513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12534 { (eval echo configure:12535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12514 if test -z "$ac_err"; then | 12536 if test -z "$ac_err"; then |
12515 rm -rf conftest* | 12537 rm -rf conftest* |
12516 eval "ac_cv_header_$ac_safe=yes" | 12538 eval "ac_cv_header_$ac_safe=yes" |
12517 else | 12539 else |
12539 fi | 12561 fi |
12540 | 12562 |
12541 | 12563 |
12542 | 12564 |
12543 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12565 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12544 echo "configure:12545: checking for socket" >&5 | 12566 echo "configure:12567: checking for socket" >&5 |
12545 | 12567 |
12546 cat > conftest.$ac_ext <<EOF | 12568 cat > conftest.$ac_ext <<EOF |
12547 #line 12548 "configure" | 12569 #line 12570 "configure" |
12548 #include "confdefs.h" | 12570 #include "confdefs.h" |
12549 /* System header to define __stub macros and hopefully few prototypes, | 12571 /* System header to define __stub macros and hopefully few prototypes, |
12550 which can conflict with char socket(); below. */ | 12572 which can conflict with char socket(); below. */ |
12551 #include <assert.h> | 12573 #include <assert.h> |
12552 /* Override any gcc2 internal prototype to avoid an error. */ | 12574 /* Override any gcc2 internal prototype to avoid an error. */ |
12565 socket(); | 12587 socket(); |
12566 #endif | 12588 #endif |
12567 | 12589 |
12568 ; return 0; } | 12590 ; return 0; } |
12569 EOF | 12591 EOF |
12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12592 if { (eval echo configure:12593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12571 rm -rf conftest* | 12593 rm -rf conftest* |
12572 eval "ac_cv_func_socket=yes" | 12594 eval "ac_cv_func_socket=yes" |
12573 else | 12595 else |
12574 echo "configure: failed program was:" >&5 | 12596 echo "configure: failed program was:" >&5 |
12575 cat conftest.$ac_ext >&5 | 12597 cat conftest.$ac_ext >&5 |
12580 | 12602 |
12581 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12603 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12582 echo "$ac_t""yes" 1>&6 | 12604 echo "$ac_t""yes" 1>&6 |
12583 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12605 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12584 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12606 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12585 echo "configure:12586: checking for netinet/in.h" >&5 | 12607 echo "configure:12608: checking for netinet/in.h" >&5 |
12586 | 12608 |
12587 cat > conftest.$ac_ext <<EOF | 12609 cat > conftest.$ac_ext <<EOF |
12588 #line 12589 "configure" | 12610 #line 12611 "configure" |
12589 #include "confdefs.h" | 12611 #include "confdefs.h" |
12590 #include <netinet/in.h> | 12612 #include <netinet/in.h> |
12591 EOF | 12613 EOF |
12592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12593 { (eval echo configure:12594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12615 { (eval echo configure:12616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12595 if test -z "$ac_err"; then | 12617 if test -z "$ac_err"; then |
12596 rm -rf conftest* | 12618 rm -rf conftest* |
12597 eval "ac_cv_header_$ac_safe=yes" | 12619 eval "ac_cv_header_$ac_safe=yes" |
12598 else | 12620 else |
12605 rm -f conftest* | 12627 rm -f conftest* |
12606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12607 echo "$ac_t""yes" 1>&6 | 12629 echo "$ac_t""yes" 1>&6 |
12608 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12630 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12609 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12631 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12610 echo "configure:12611: checking for arpa/inet.h" >&5 | 12632 echo "configure:12633: checking for arpa/inet.h" >&5 |
12611 | 12633 |
12612 cat > conftest.$ac_ext <<EOF | 12634 cat > conftest.$ac_ext <<EOF |
12613 #line 12614 "configure" | 12635 #line 12636 "configure" |
12614 #include "confdefs.h" | 12636 #include "confdefs.h" |
12615 #include <arpa/inet.h> | 12637 #include <arpa/inet.h> |
12616 EOF | 12638 EOF |
12617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12618 { (eval echo configure:12619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12640 { (eval echo configure:12641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12620 if test -z "$ac_err"; then | 12642 if test -z "$ac_err"; then |
12621 rm -rf conftest* | 12643 rm -rf conftest* |
12622 eval "ac_cv_header_$ac_safe=yes" | 12644 eval "ac_cv_header_$ac_safe=yes" |
12623 else | 12645 else |
12638 #define HAVE_SOCKETS 1 | 12660 #define HAVE_SOCKETS 1 |
12639 EOF | 12661 EOF |
12640 } | 12662 } |
12641 | 12663 |
12642 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12664 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12643 echo "configure:12644: checking "for sun_len member in struct sockaddr_un"" >&5 | 12665 echo "configure:12666: checking "for sun_len member in struct sockaddr_un"" >&5 |
12644 cat > conftest.$ac_ext <<EOF | 12666 cat > conftest.$ac_ext <<EOF |
12645 #line 12646 "configure" | 12667 #line 12668 "configure" |
12646 #include "confdefs.h" | 12668 #include "confdefs.h" |
12647 | 12669 |
12648 #include <sys/types.h> | 12670 #include <sys/types.h> |
12649 #include <sys/socket.h> | 12671 #include <sys/socket.h> |
12650 #include <sys/un.h> | 12672 #include <sys/un.h> |
12651 | 12673 |
12652 int main() { | 12674 int main() { |
12653 static struct sockaddr_un x; x.sun_len = 1; | 12675 static struct sockaddr_un x; x.sun_len = 1; |
12654 ; return 0; } | 12676 ; return 0; } |
12655 EOF | 12677 EOF |
12656 if { (eval echo configure:12657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12678 if { (eval echo configure:12679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12657 rm -rf conftest* | 12679 rm -rf conftest* |
12658 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12680 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12659 Defining HAVE_SOCKADDR_SUN_LEN | 12681 Defining HAVE_SOCKADDR_SUN_LEN |
12660 EOF | 12682 EOF |
12661 cat >> confdefs.h <<\EOF | 12683 cat >> confdefs.h <<\EOF |
12669 rm -rf conftest* | 12691 rm -rf conftest* |
12670 echo "$ac_t""no" 1>&6 | 12692 echo "$ac_t""no" 1>&6 |
12671 fi | 12693 fi |
12672 rm -f conftest* | 12694 rm -f conftest* |
12673 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12695 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12674 echo "configure:12675: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12696 echo "configure:12697: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12675 cat > conftest.$ac_ext <<EOF | 12697 cat > conftest.$ac_ext <<EOF |
12676 #line 12677 "configure" | 12698 #line 12699 "configure" |
12677 #include "confdefs.h" | 12699 #include "confdefs.h" |
12678 | 12700 |
12679 #include <sys/types.h> | 12701 #include <sys/types.h> |
12680 #include <netinet/in.h> | 12702 #include <netinet/in.h> |
12681 | 12703 |
12682 int main() { | 12704 int main() { |
12683 static struct ip_mreq x; | 12705 static struct ip_mreq x; |
12684 ; return 0; } | 12706 ; return 0; } |
12685 EOF | 12707 EOF |
12686 if { (eval echo configure:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12708 if { (eval echo configure:12709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12687 rm -rf conftest* | 12709 rm -rf conftest* |
12688 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12710 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12689 Defining HAVE_MULTICAST | 12711 Defining HAVE_MULTICAST |
12690 EOF | 12712 EOF |
12691 cat >> confdefs.h <<\EOF | 12713 cat >> confdefs.h <<\EOF |
12712 echo "$ac_t""no" 1>&6 | 12734 echo "$ac_t""no" 1>&6 |
12713 fi | 12735 fi |
12714 | 12736 |
12715 | 12737 |
12716 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12738 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12717 echo "configure:12718: checking for msgget" >&5 | 12739 echo "configure:12740: checking for msgget" >&5 |
12718 | 12740 |
12719 cat > conftest.$ac_ext <<EOF | 12741 cat > conftest.$ac_ext <<EOF |
12720 #line 12721 "configure" | 12742 #line 12743 "configure" |
12721 #include "confdefs.h" | 12743 #include "confdefs.h" |
12722 /* System header to define __stub macros and hopefully few prototypes, | 12744 /* System header to define __stub macros and hopefully few prototypes, |
12723 which can conflict with char msgget(); below. */ | 12745 which can conflict with char msgget(); below. */ |
12724 #include <assert.h> | 12746 #include <assert.h> |
12725 /* Override any gcc2 internal prototype to avoid an error. */ | 12747 /* Override any gcc2 internal prototype to avoid an error. */ |
12738 msgget(); | 12760 msgget(); |
12739 #endif | 12761 #endif |
12740 | 12762 |
12741 ; return 0; } | 12763 ; return 0; } |
12742 EOF | 12764 EOF |
12743 if { (eval echo configure:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12765 if { (eval echo configure:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12744 rm -rf conftest* | 12766 rm -rf conftest* |
12745 eval "ac_cv_func_msgget=yes" | 12767 eval "ac_cv_func_msgget=yes" |
12746 else | 12768 else |
12747 echo "configure: failed program was:" >&5 | 12769 echo "configure: failed program was:" >&5 |
12748 cat conftest.$ac_ext >&5 | 12770 cat conftest.$ac_ext >&5 |
12753 | 12775 |
12754 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12776 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12755 echo "$ac_t""yes" 1>&6 | 12777 echo "$ac_t""yes" 1>&6 |
12756 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12778 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12757 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12779 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12758 echo "configure:12759: checking for sys/ipc.h" >&5 | 12780 echo "configure:12781: checking for sys/ipc.h" >&5 |
12759 | 12781 |
12760 cat > conftest.$ac_ext <<EOF | 12782 cat > conftest.$ac_ext <<EOF |
12761 #line 12762 "configure" | 12783 #line 12784 "configure" |
12762 #include "confdefs.h" | 12784 #include "confdefs.h" |
12763 #include <sys/ipc.h> | 12785 #include <sys/ipc.h> |
12764 EOF | 12786 EOF |
12765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12766 { (eval echo configure:12767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12788 { (eval echo configure:12789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12768 if test -z "$ac_err"; then | 12790 if test -z "$ac_err"; then |
12769 rm -rf conftest* | 12791 rm -rf conftest* |
12770 eval "ac_cv_header_$ac_safe=yes" | 12792 eval "ac_cv_header_$ac_safe=yes" |
12771 else | 12793 else |
12778 rm -f conftest* | 12800 rm -f conftest* |
12779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12801 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12780 echo "$ac_t""yes" 1>&6 | 12802 echo "$ac_t""yes" 1>&6 |
12781 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12803 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12782 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12804 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12783 echo "configure:12784: checking for sys/msg.h" >&5 | 12805 echo "configure:12806: checking for sys/msg.h" >&5 |
12784 | 12806 |
12785 cat > conftest.$ac_ext <<EOF | 12807 cat > conftest.$ac_ext <<EOF |
12786 #line 12787 "configure" | 12808 #line 12809 "configure" |
12787 #include "confdefs.h" | 12809 #include "confdefs.h" |
12788 #include <sys/msg.h> | 12810 #include <sys/msg.h> |
12789 EOF | 12811 EOF |
12790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12791 { (eval echo configure:12792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12813 { (eval echo configure:12814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12793 if test -z "$ac_err"; then | 12815 if test -z "$ac_err"; then |
12794 rm -rf conftest* | 12816 rm -rf conftest* |
12795 eval "ac_cv_header_$ac_safe=yes" | 12817 eval "ac_cv_header_$ac_safe=yes" |
12796 else | 12818 else |
12824 fi | 12846 fi |
12825 | 12847 |
12826 | 12848 |
12827 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12849 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12828 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12850 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12829 echo "configure:12830: checking for dirent.h" >&5 | 12851 echo "configure:12852: checking for dirent.h" >&5 |
12830 | 12852 |
12831 cat > conftest.$ac_ext <<EOF | 12853 cat > conftest.$ac_ext <<EOF |
12832 #line 12833 "configure" | 12854 #line 12855 "configure" |
12833 #include "confdefs.h" | 12855 #include "confdefs.h" |
12834 #include <dirent.h> | 12856 #include <dirent.h> |
12835 EOF | 12857 EOF |
12836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12837 { (eval echo configure:12838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12859 { (eval echo configure:12860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12839 if test -z "$ac_err"; then | 12861 if test -z "$ac_err"; then |
12840 rm -rf conftest* | 12862 rm -rf conftest* |
12841 eval "ac_cv_header_$ac_safe=yes" | 12863 eval "ac_cv_header_$ac_safe=yes" |
12842 else | 12864 else |
12859 | 12881 |
12860 else | 12882 else |
12861 echo "$ac_t""no" 1>&6 | 12883 echo "$ac_t""no" 1>&6 |
12862 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12884 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12863 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12885 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12864 echo "configure:12865: checking for sys/dir.h" >&5 | 12886 echo "configure:12887: checking for sys/dir.h" >&5 |
12865 | 12887 |
12866 cat > conftest.$ac_ext <<EOF | 12888 cat > conftest.$ac_ext <<EOF |
12867 #line 12868 "configure" | 12889 #line 12890 "configure" |
12868 #include "confdefs.h" | 12890 #include "confdefs.h" |
12869 #include <sys/dir.h> | 12891 #include <sys/dir.h> |
12870 EOF | 12892 EOF |
12871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12872 { (eval echo configure:12873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12894 { (eval echo configure:12895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12874 if test -z "$ac_err"; then | 12896 if test -z "$ac_err"; then |
12875 rm -rf conftest* | 12897 rm -rf conftest* |
12876 eval "ac_cv_header_$ac_safe=yes" | 12898 eval "ac_cv_header_$ac_safe=yes" |
12877 else | 12899 else |
12900 fi | 12922 fi |
12901 | 12923 |
12902 | 12924 |
12903 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12925 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12904 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12926 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12905 echo "configure:12906: checking for nlist.h" >&5 | 12927 echo "configure:12928: checking for nlist.h" >&5 |
12906 | 12928 |
12907 cat > conftest.$ac_ext <<EOF | 12929 cat > conftest.$ac_ext <<EOF |
12908 #line 12909 "configure" | 12930 #line 12931 "configure" |
12909 #include "confdefs.h" | 12931 #include "confdefs.h" |
12910 #include <nlist.h> | 12932 #include <nlist.h> |
12911 EOF | 12933 EOF |
12912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12913 { (eval echo configure:12914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12935 { (eval echo configure:12936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12915 if test -z "$ac_err"; then | 12937 if test -z "$ac_err"; then |
12916 rm -rf conftest* | 12938 rm -rf conftest* |
12917 eval "ac_cv_header_$ac_safe=yes" | 12939 eval "ac_cv_header_$ac_safe=yes" |
12918 else | 12940 else |
12938 fi | 12960 fi |
12939 | 12961 |
12940 | 12962 |
12941 | 12963 |
12942 echo "checking "for sound support"" 1>&6 | 12964 echo "checking "for sound support"" 1>&6 |
12943 echo "configure:12944: checking "for sound support"" >&5 | 12965 echo "configure:12966: checking "for sound support"" >&5 |
12944 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12966 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12945 | 12967 |
12946 if test "$with_native_sound" != "no"; then | 12968 if test "$with_native_sound" != "no"; then |
12947 if test -n "$native_sound_lib"; then | 12969 if test -n "$native_sound_lib"; then |
12948 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12970 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12949 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12971 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12950 echo "configure:12951: checking for multimedia/audio_device.h" >&5 | 12972 echo "configure:12973: checking for multimedia/audio_device.h" >&5 |
12951 | 12973 |
12952 cat > conftest.$ac_ext <<EOF | 12974 cat > conftest.$ac_ext <<EOF |
12953 #line 12954 "configure" | 12975 #line 12976 "configure" |
12954 #include "confdefs.h" | 12976 #include "confdefs.h" |
12955 #include <multimedia/audio_device.h> | 12977 #include <multimedia/audio_device.h> |
12956 EOF | 12978 EOF |
12957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12958 { (eval echo configure:12959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12980 { (eval echo configure:12981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12960 if test -z "$ac_err"; then | 12982 if test -z "$ac_err"; then |
12961 rm -rf conftest* | 12983 rm -rf conftest* |
12962 eval "ac_cv_header_$ac_safe=yes" | 12984 eval "ac_cv_header_$ac_safe=yes" |
12963 else | 12985 else |
13001 case "$canonical" in | 13023 case "$canonical" in |
13002 *-sgi-* ) | 13024 *-sgi-* ) |
13003 if test -z "$native_sound_lib"; then | 13025 if test -z "$native_sound_lib"; then |
13004 | 13026 |
13005 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13027 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13006 echo "configure:13007: checking for ALopenport in -laudio" >&5 | 13028 echo "configure:13029: checking for ALopenport in -laudio" >&5 |
13007 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13029 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13008 | 13030 |
13009 xe_check_libs=" -laudio " | 13031 xe_check_libs=" -laudio " |
13010 cat > conftest.$ac_ext <<EOF | 13032 cat > conftest.$ac_ext <<EOF |
13011 #line 13012 "configure" | 13033 #line 13034 "configure" |
13012 #include "confdefs.h" | 13034 #include "confdefs.h" |
13013 /* Override any gcc2 internal prototype to avoid an error. */ | 13035 /* Override any gcc2 internal prototype to avoid an error. */ |
13014 /* We use char because int might match the return type of a gcc2 | 13036 /* We use char because int might match the return type of a gcc2 |
13015 builtin and then its argument prototype would still apply. */ | 13037 builtin and then its argument prototype would still apply. */ |
13016 char ALopenport(); | 13038 char ALopenport(); |
13017 | 13039 |
13018 int main() { | 13040 int main() { |
13019 ALopenport() | 13041 ALopenport() |
13020 ; return 0; } | 13042 ; return 0; } |
13021 EOF | 13043 EOF |
13022 if { (eval echo configure:13023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13044 if { (eval echo configure:13045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13023 rm -rf conftest* | 13045 rm -rf conftest* |
13024 eval "ac_cv_lib_$ac_lib_var=yes" | 13046 eval "ac_cv_lib_$ac_lib_var=yes" |
13025 else | 13047 else |
13026 echo "configure: failed program was:" >&5 | 13048 echo "configure: failed program was:" >&5 |
13027 cat conftest.$ac_ext >&5 | 13049 cat conftest.$ac_ext >&5 |
13048 fi ;; | 13070 fi ;; |
13049 hppa*-hp-hpux* ) | 13071 hppa*-hp-hpux* ) |
13050 if test -z "$native_sound_lib"; then | 13072 if test -z "$native_sound_lib"; then |
13051 | 13073 |
13052 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13074 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13053 echo "configure:13054: checking for AOpenAudio in -lAlib" >&5 | 13075 echo "configure:13076: checking for AOpenAudio in -lAlib" >&5 |
13054 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13076 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13055 | 13077 |
13056 xe_check_libs=" -lAlib " | 13078 xe_check_libs=" -lAlib " |
13057 cat > conftest.$ac_ext <<EOF | 13079 cat > conftest.$ac_ext <<EOF |
13058 #line 13059 "configure" | 13080 #line 13081 "configure" |
13059 #include "confdefs.h" | 13081 #include "confdefs.h" |
13060 /* Override any gcc2 internal prototype to avoid an error. */ | 13082 /* Override any gcc2 internal prototype to avoid an error. */ |
13061 /* We use char because int might match the return type of a gcc2 | 13083 /* We use char because int might match the return type of a gcc2 |
13062 builtin and then its argument prototype would still apply. */ | 13084 builtin and then its argument prototype would still apply. */ |
13063 char AOpenAudio(); | 13085 char AOpenAudio(); |
13064 | 13086 |
13065 int main() { | 13087 int main() { |
13066 AOpenAudio() | 13088 AOpenAudio() |
13067 ; return 0; } | 13089 ; return 0; } |
13068 EOF | 13090 EOF |
13069 if { (eval echo configure:13070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13091 if { (eval echo configure:13092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13070 rm -rf conftest* | 13092 rm -rf conftest* |
13071 eval "ac_cv_lib_$ac_lib_var=yes" | 13093 eval "ac_cv_lib_$ac_lib_var=yes" |
13072 else | 13094 else |
13073 echo "configure: failed program was:" >&5 | 13095 echo "configure: failed program was:" >&5 |
13074 cat conftest.$ac_ext >&5 | 13096 cat conftest.$ac_ext >&5 |
13109 | 13131 |
13110 if test -z "$sound_found"; then | 13132 if test -z "$sound_found"; then |
13111 for dir in "machine" "sys" "linux"; do | 13133 for dir in "machine" "sys" "linux"; do |
13112 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13134 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13113 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13135 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13114 echo "configure:13115: checking for ${dir}/soundcard.h" >&5 | 13136 echo "configure:13137: checking for ${dir}/soundcard.h" >&5 |
13115 | 13137 |
13116 cat > conftest.$ac_ext <<EOF | 13138 cat > conftest.$ac_ext <<EOF |
13117 #line 13118 "configure" | 13139 #line 13140 "configure" |
13118 #include "confdefs.h" | 13140 #include "confdefs.h" |
13119 #include <${dir}/soundcard.h> | 13141 #include <${dir}/soundcard.h> |
13120 EOF | 13142 EOF |
13121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13122 { (eval echo configure:13123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13144 { (eval echo configure:13145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13124 if test -z "$ac_err"; then | 13146 if test -z "$ac_err"; then |
13125 rm -rf conftest* | 13147 rm -rf conftest* |
13126 eval "ac_cv_header_$ac_safe=yes" | 13148 eval "ac_cv_header_$ac_safe=yes" |
13127 else | 13149 else |
13171 fi | 13193 fi |
13172 | 13194 |
13173 if test "$with_nas_sound" != "no"; then | 13195 if test "$with_nas_sound" != "no"; then |
13174 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13196 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13175 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13197 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13176 echo "configure:13177: checking for audio/audiolib.h" >&5 | 13198 echo "configure:13199: checking for audio/audiolib.h" >&5 |
13177 | 13199 |
13178 cat > conftest.$ac_ext <<EOF | 13200 cat > conftest.$ac_ext <<EOF |
13179 #line 13180 "configure" | 13201 #line 13202 "configure" |
13180 #include "confdefs.h" | 13202 #include "confdefs.h" |
13181 #include <audio/audiolib.h> | 13203 #include <audio/audiolib.h> |
13182 EOF | 13204 EOF |
13183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13184 { (eval echo configure:13185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13206 { (eval echo configure:13207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13186 if test -z "$ac_err"; then | 13208 if test -z "$ac_err"; then |
13187 rm -rf conftest* | 13209 rm -rf conftest* |
13188 eval "ac_cv_header_$ac_safe=yes" | 13210 eval "ac_cv_header_$ac_safe=yes" |
13189 else | 13211 else |
13197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13198 echo "$ac_t""yes" 1>&6 | 13220 echo "$ac_t""yes" 1>&6 |
13199 | 13221 |
13200 | 13222 |
13201 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13223 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13202 echo "configure:13203: checking for AuOpenServer in -laudio" >&5 | 13224 echo "configure:13225: checking for AuOpenServer in -laudio" >&5 |
13203 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13225 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13204 | 13226 |
13205 xe_check_libs=" -laudio " | 13227 xe_check_libs=" -laudio " |
13206 cat > conftest.$ac_ext <<EOF | 13228 cat > conftest.$ac_ext <<EOF |
13207 #line 13208 "configure" | 13229 #line 13230 "configure" |
13208 #include "confdefs.h" | 13230 #include "confdefs.h" |
13209 /* Override any gcc2 internal prototype to avoid an error. */ | 13231 /* Override any gcc2 internal prototype to avoid an error. */ |
13210 /* We use char because int might match the return type of a gcc2 | 13232 /* We use char because int might match the return type of a gcc2 |
13211 builtin and then its argument prototype would still apply. */ | 13233 builtin and then its argument prototype would still apply. */ |
13212 char AuOpenServer(); | 13234 char AuOpenServer(); |
13213 | 13235 |
13214 int main() { | 13236 int main() { |
13215 AuOpenServer() | 13237 AuOpenServer() |
13216 ; return 0; } | 13238 ; return 0; } |
13217 EOF | 13239 EOF |
13218 if { (eval echo configure:13219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13240 if { (eval echo configure:13241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13219 rm -rf conftest* | 13241 rm -rf conftest* |
13220 eval "ac_cv_lib_$ac_lib_var=yes" | 13242 eval "ac_cv_lib_$ac_lib_var=yes" |
13221 else | 13243 else |
13222 echo "configure: failed program was:" >&5 | 13244 echo "configure: failed program was:" >&5 |
13223 cat conftest.$ac_ext >&5 | 13245 cat conftest.$ac_ext >&5 |
13252 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13274 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13253 echo " xemacs will be linked with \"nas.o\"" | 13275 echo " xemacs will be linked with \"nas.o\"" |
13254 fi | 13276 fi |
13255 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13277 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13256 cat > conftest.$ac_ext <<EOF | 13278 cat > conftest.$ac_ext <<EOF |
13257 #line 13258 "configure" | 13279 #line 13280 "configure" |
13258 #include "confdefs.h" | 13280 #include "confdefs.h" |
13259 #include <audio/Xtutil.h> | 13281 #include <audio/Xtutil.h> |
13260 EOF | 13282 EOF |
13261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13262 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13284 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13283 | 13305 |
13284 if test "$with_esd_sound" != "no"; then | 13306 if test "$with_esd_sound" != "no"; then |
13285 # Extract the first word of "esd-config", so it can be a program name with args. | 13307 # Extract the first word of "esd-config", so it can be a program name with args. |
13286 set dummy esd-config; ac_word=$2 | 13308 set dummy esd-config; ac_word=$2 |
13287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13288 echo "configure:13289: checking for $ac_word" >&5 | 13310 echo "configure:13311: checking for $ac_word" >&5 |
13289 | 13311 |
13290 if test -n "$have_esd_config"; then | 13312 if test -n "$have_esd_config"; then |
13291 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13313 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13292 else | 13314 else |
13293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13315 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13312 if test "$have_esd_config" = "yes"; then | 13334 if test "$have_esd_config" = "yes"; then |
13313 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13335 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13314 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 13336 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
13315 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13337 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13316 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13338 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13317 echo "configure:13318: checking for esd_play_stream" >&5 | 13339 echo "configure:13340: checking for esd_play_stream" >&5 |
13318 | 13340 |
13319 cat > conftest.$ac_ext <<EOF | 13341 cat > conftest.$ac_ext <<EOF |
13320 #line 13321 "configure" | 13342 #line 13343 "configure" |
13321 #include "confdefs.h" | 13343 #include "confdefs.h" |
13322 /* System header to define __stub macros and hopefully few prototypes, | 13344 /* System header to define __stub macros and hopefully few prototypes, |
13323 which can conflict with char esd_play_stream(); below. */ | 13345 which can conflict with char esd_play_stream(); below. */ |
13324 #include <assert.h> | 13346 #include <assert.h> |
13325 /* Override any gcc2 internal prototype to avoid an error. */ | 13347 /* Override any gcc2 internal prototype to avoid an error. */ |
13338 esd_play_stream(); | 13360 esd_play_stream(); |
13339 #endif | 13361 #endif |
13340 | 13362 |
13341 ; return 0; } | 13363 ; return 0; } |
13342 EOF | 13364 EOF |
13343 if { (eval echo configure:13344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13365 if { (eval echo configure:13366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13344 rm -rf conftest* | 13366 rm -rf conftest* |
13345 eval "ac_cv_func_esd_play_stream=yes" | 13367 eval "ac_cv_func_esd_play_stream=yes" |
13346 else | 13368 else |
13347 echo "configure: failed program was:" >&5 | 13369 echo "configure: failed program was:" >&5 |
13348 cat conftest.$ac_ext >&5 | 13370 cat conftest.$ac_ext >&5 |
13389 | 13411 |
13390 test -z "$with_tty" && with_tty=yes | 13412 test -z "$with_tty" && with_tty=yes |
13391 | 13413 |
13392 if test "$with_tty" = "yes" ; then | 13414 if test "$with_tty" = "yes" ; then |
13393 echo "checking for TTY-related features" 1>&6 | 13415 echo "checking for TTY-related features" 1>&6 |
13394 echo "configure:13395: checking for TTY-related features" >&5 | 13416 echo "configure:13417: checking for TTY-related features" >&5 |
13395 { test "$extra_verbose" = "yes" && cat << \EOF | 13417 { test "$extra_verbose" = "yes" && cat << \EOF |
13396 Defining HAVE_TTY | 13418 Defining HAVE_TTY |
13397 EOF | 13419 EOF |
13398 cat >> confdefs.h <<\EOF | 13420 cat >> confdefs.h <<\EOF |
13399 #define HAVE_TTY 1 | 13421 #define HAVE_TTY 1 |
13405 fi | 13427 fi |
13406 | 13428 |
13407 if test -z "$with_ncurses"; then | 13429 if test -z "$with_ncurses"; then |
13408 | 13430 |
13409 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13431 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13410 echo "configure:13411: checking for tgetent in -lncurses" >&5 | 13432 echo "configure:13433: checking for tgetent in -lncurses" >&5 |
13411 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13433 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13412 | 13434 |
13413 xe_check_libs=" -lncurses " | 13435 xe_check_libs=" -lncurses " |
13414 cat > conftest.$ac_ext <<EOF | 13436 cat > conftest.$ac_ext <<EOF |
13415 #line 13416 "configure" | 13437 #line 13438 "configure" |
13416 #include "confdefs.h" | 13438 #include "confdefs.h" |
13417 /* Override any gcc2 internal prototype to avoid an error. */ | 13439 /* Override any gcc2 internal prototype to avoid an error. */ |
13418 /* We use char because int might match the return type of a gcc2 | 13440 /* We use char because int might match the return type of a gcc2 |
13419 builtin and then its argument prototype would still apply. */ | 13441 builtin and then its argument prototype would still apply. */ |
13420 char tgetent(); | 13442 char tgetent(); |
13421 | 13443 |
13422 int main() { | 13444 int main() { |
13423 tgetent() | 13445 tgetent() |
13424 ; return 0; } | 13446 ; return 0; } |
13425 EOF | 13447 EOF |
13426 if { (eval echo configure:13427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13448 if { (eval echo configure:13449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13427 rm -rf conftest* | 13449 rm -rf conftest* |
13428 eval "ac_cv_lib_$ac_lib_var=yes" | 13450 eval "ac_cv_lib_$ac_lib_var=yes" |
13429 else | 13451 else |
13430 echo "configure: failed program was:" >&5 | 13452 echo "configure: failed program was:" >&5 |
13431 cat conftest.$ac_ext >&5 | 13453 cat conftest.$ac_ext >&5 |
13454 EOF | 13476 EOF |
13455 } | 13477 } |
13456 | 13478 |
13457 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13479 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13458 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13480 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13459 echo "configure:13460: checking for ncurses/curses.h" >&5 | 13481 echo "configure:13482: checking for ncurses/curses.h" >&5 |
13460 | 13482 |
13461 cat > conftest.$ac_ext <<EOF | 13483 cat > conftest.$ac_ext <<EOF |
13462 #line 13463 "configure" | 13484 #line 13485 "configure" |
13463 #include "confdefs.h" | 13485 #include "confdefs.h" |
13464 #include <ncurses/curses.h> | 13486 #include <ncurses/curses.h> |
13465 EOF | 13487 EOF |
13466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13467 { (eval echo configure:13468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13489 { (eval echo configure:13490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13469 if test -z "$ac_err"; then | 13491 if test -z "$ac_err"; then |
13470 rm -rf conftest* | 13492 rm -rf conftest* |
13471 eval "ac_cv_header_$ac_safe=yes" | 13493 eval "ac_cv_header_$ac_safe=yes" |
13472 else | 13494 else |
13484 echo "$ac_t""no" 1>&6 | 13506 echo "$ac_t""no" 1>&6 |
13485 fi | 13507 fi |
13486 | 13508 |
13487 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13509 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13488 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13510 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13489 echo "configure:13490: checking for ncurses/term.h" >&5 | 13511 echo "configure:13512: checking for ncurses/term.h" >&5 |
13490 | 13512 |
13491 cat > conftest.$ac_ext <<EOF | 13513 cat > conftest.$ac_ext <<EOF |
13492 #line 13493 "configure" | 13514 #line 13515 "configure" |
13493 #include "confdefs.h" | 13515 #include "confdefs.h" |
13494 #include <ncurses/term.h> | 13516 #include <ncurses/term.h> |
13495 EOF | 13517 EOF |
13496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13497 { (eval echo configure:13498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13519 { (eval echo configure:13520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13499 if test -z "$ac_err"; then | 13521 if test -z "$ac_err"; then |
13500 rm -rf conftest* | 13522 rm -rf conftest* |
13501 eval "ac_cv_header_$ac_safe=yes" | 13523 eval "ac_cv_header_$ac_safe=yes" |
13502 else | 13524 else |
13522 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13544 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13523 save_c_switch_site="$c_switch_site" | 13545 save_c_switch_site="$c_switch_site" |
13524 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13546 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13525 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13547 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13526 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13548 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13527 echo "configure:13528: checking for ncurses/curses.h" >&5 | 13549 echo "configure:13550: checking for ncurses/curses.h" >&5 |
13528 | 13550 |
13529 cat > conftest.$ac_ext <<EOF | 13551 cat > conftest.$ac_ext <<EOF |
13530 #line 13531 "configure" | 13552 #line 13553 "configure" |
13531 #include "confdefs.h" | 13553 #include "confdefs.h" |
13532 #include <ncurses/curses.h> | 13554 #include <ncurses/curses.h> |
13533 EOF | 13555 EOF |
13534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13535 { (eval echo configure:13536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13557 { (eval echo configure:13558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13537 if test -z "$ac_err"; then | 13559 if test -z "$ac_err"; then |
13538 rm -rf conftest* | 13560 rm -rf conftest* |
13539 eval "ac_cv_header_$ac_safe=yes" | 13561 eval "ac_cv_header_$ac_safe=yes" |
13540 else | 13562 else |
13551 else | 13573 else |
13552 echo "$ac_t""no" 1>&6 | 13574 echo "$ac_t""no" 1>&6 |
13553 fi | 13575 fi |
13554 | 13576 |
13555 if test "$ac_cv_header_ncurses_curses_h" = "yes" | 13577 if test "$ac_cv_header_ncurses_curses_h" = "yes" |
13556 then echo "configure: warning: "Your system has the bogus ncurses include bug."" 1>&2 | 13578 then echo "configure: warning: Your system has the bogus ncurses include bug." 1>&2 |
13557 else c_switch_site="$save_c_switch_site" | 13579 else c_switch_site="$save_c_switch_site" |
13558 fi | 13580 fi |
13559 fi | 13581 fi |
13560 else if test "$have_terminfo" = "yes"; then | 13582 else if test "$have_terminfo" = "yes"; then |
13561 extra_objs="$extra_objs terminfo.o" && if test "$extra_verbose" = "yes"; then | 13583 extra_objs="$extra_objs terminfo.o" && if test "$extra_verbose" = "yes"; then |
13565 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13587 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13566 else | 13588 else |
13567 for lib in curses termlib termcap; do | 13589 for lib in curses termlib termcap; do |
13568 | 13590 |
13569 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13591 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13570 echo "configure:13571: checking for tgetent in -l$lib" >&5 | 13592 echo "configure:13593: checking for tgetent in -l$lib" >&5 |
13571 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13593 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13572 | 13594 |
13573 xe_check_libs=" -l$lib " | 13595 xe_check_libs=" -l$lib " |
13574 cat > conftest.$ac_ext <<EOF | 13596 cat > conftest.$ac_ext <<EOF |
13575 #line 13576 "configure" | 13597 #line 13598 "configure" |
13576 #include "confdefs.h" | 13598 #include "confdefs.h" |
13577 /* Override any gcc2 internal prototype to avoid an error. */ | 13599 /* Override any gcc2 internal prototype to avoid an error. */ |
13578 /* We use char because int might match the return type of a gcc2 | 13600 /* We use char because int might match the return type of a gcc2 |
13579 builtin and then its argument prototype would still apply. */ | 13601 builtin and then its argument prototype would still apply. */ |
13580 char tgetent(); | 13602 char tgetent(); |
13581 | 13603 |
13582 int main() { | 13604 int main() { |
13583 tgetent() | 13605 tgetent() |
13584 ; return 0; } | 13606 ; return 0; } |
13585 EOF | 13607 EOF |
13586 if { (eval echo configure:13587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13608 if { (eval echo configure:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13587 rm -rf conftest* | 13609 rm -rf conftest* |
13588 eval "ac_cv_lib_$ac_lib_var=yes" | 13610 eval "ac_cv_lib_$ac_lib_var=yes" |
13589 else | 13611 else |
13590 echo "configure: failed program was:" >&5 | 13612 echo "configure: failed program was:" >&5 |
13591 cat conftest.$ac_ext >&5 | 13613 cat conftest.$ac_ext >&5 |
13612 if test -n "$libs_termcap"; then | 13634 if test -n "$libs_termcap"; then |
13613 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13635 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13614 else | 13636 else |
13615 | 13637 |
13616 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13638 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13617 echo "configure:13618: checking for tgetent in -lcurses" >&5 | 13639 echo "configure:13640: checking for tgetent in -lcurses" >&5 |
13618 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13640 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13619 | 13641 |
13620 xe_check_libs=" -lcurses " | 13642 xe_check_libs=" -lcurses " |
13621 cat > conftest.$ac_ext <<EOF | 13643 cat > conftest.$ac_ext <<EOF |
13622 #line 13623 "configure" | 13644 #line 13645 "configure" |
13623 #include "confdefs.h" | 13645 #include "confdefs.h" |
13624 /* Override any gcc2 internal prototype to avoid an error. */ | 13646 /* Override any gcc2 internal prototype to avoid an error. */ |
13625 /* We use char because int might match the return type of a gcc2 | 13647 /* We use char because int might match the return type of a gcc2 |
13626 builtin and then its argument prototype would still apply. */ | 13648 builtin and then its argument prototype would still apply. */ |
13627 char tgetent(); | 13649 char tgetent(); |
13628 | 13650 |
13629 int main() { | 13651 int main() { |
13630 tgetent() | 13652 tgetent() |
13631 ; return 0; } | 13653 ; return 0; } |
13632 EOF | 13654 EOF |
13633 if { (eval echo configure:13634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13655 if { (eval echo configure:13656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13634 rm -rf conftest* | 13656 rm -rf conftest* |
13635 eval "ac_cv_lib_$ac_lib_var=yes" | 13657 eval "ac_cv_lib_$ac_lib_var=yes" |
13636 else | 13658 else |
13637 echo "configure: failed program was:" >&5 | 13659 echo "configure: failed program was:" >&5 |
13638 cat conftest.$ac_ext >&5 | 13660 cat conftest.$ac_ext >&5 |
13646 echo "$ac_t""yes" 1>&6 | 13668 echo "$ac_t""yes" 1>&6 |
13647 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13669 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13648 else | 13670 else |
13649 echo "$ac_t""no" 1>&6 | 13671 echo "$ac_t""no" 1>&6 |
13650 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13672 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13651 echo "configure:13652: checking for tgetent in -ltermcap" >&5 | 13673 echo "configure:13674: checking for tgetent in -ltermcap" >&5 |
13652 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13674 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13653 | 13675 |
13654 xe_check_libs=" -ltermcap " | 13676 xe_check_libs=" -ltermcap " |
13655 cat > conftest.$ac_ext <<EOF | 13677 cat > conftest.$ac_ext <<EOF |
13656 #line 13657 "configure" | 13678 #line 13679 "configure" |
13657 #include "confdefs.h" | 13679 #include "confdefs.h" |
13658 /* Override any gcc2 internal prototype to avoid an error. */ | 13680 /* Override any gcc2 internal prototype to avoid an error. */ |
13659 /* We use char because int might match the return type of a gcc2 | 13681 /* We use char because int might match the return type of a gcc2 |
13660 builtin and then its argument prototype would still apply. */ | 13682 builtin and then its argument prototype would still apply. */ |
13661 char tgetent(); | 13683 char tgetent(); |
13662 | 13684 |
13663 int main() { | 13685 int main() { |
13664 tgetent() | 13686 tgetent() |
13665 ; return 0; } | 13687 ; return 0; } |
13666 EOF | 13688 EOF |
13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13689 if { (eval echo configure:13690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13668 rm -rf conftest* | 13690 rm -rf conftest* |
13669 eval "ac_cv_lib_$ac_lib_var=yes" | 13691 eval "ac_cv_lib_$ac_lib_var=yes" |
13670 else | 13692 else |
13671 echo "configure: failed program was:" >&5 | 13693 echo "configure: failed program was:" >&5 |
13672 cat conftest.$ac_ext >&5 | 13694 cat conftest.$ac_ext >&5 |
13710 } | 13732 } |
13711 | 13733 |
13712 | 13734 |
13713 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13735 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13714 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13736 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13715 echo "configure:13716: checking for gpm.h" >&5 | 13737 echo "configure:13738: checking for gpm.h" >&5 |
13716 | 13738 |
13717 cat > conftest.$ac_ext <<EOF | 13739 cat > conftest.$ac_ext <<EOF |
13718 #line 13719 "configure" | 13740 #line 13741 "configure" |
13719 #include "confdefs.h" | 13741 #include "confdefs.h" |
13720 #include <gpm.h> | 13742 #include <gpm.h> |
13721 EOF | 13743 EOF |
13722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13723 { (eval echo configure:13724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13745 { (eval echo configure:13746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13725 if test -z "$ac_err"; then | 13747 if test -z "$ac_err"; then |
13726 rm -rf conftest* | 13748 rm -rf conftest* |
13727 eval "ac_cv_header_$ac_safe=yes" | 13749 eval "ac_cv_header_$ac_safe=yes" |
13728 else | 13750 else |
13741 with_gpm=no | 13763 with_gpm=no |
13742 fi | 13764 fi |
13743 } | 13765 } |
13744 test -z "$with_gpm" && { | 13766 test -z "$with_gpm" && { |
13745 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13767 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13746 echo "configure:13747: checking for Gpm_Open in -lgpm" >&5 | 13768 echo "configure:13769: checking for Gpm_Open in -lgpm" >&5 |
13747 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13769 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13748 | 13770 |
13749 xe_check_libs=" -lgpm " | 13771 xe_check_libs=" -lgpm " |
13750 cat > conftest.$ac_ext <<EOF | 13772 cat > conftest.$ac_ext <<EOF |
13751 #line 13752 "configure" | 13773 #line 13774 "configure" |
13752 #include "confdefs.h" | 13774 #include "confdefs.h" |
13753 /* Override any gcc2 internal prototype to avoid an error. */ | 13775 /* Override any gcc2 internal prototype to avoid an error. */ |
13754 /* We use char because int might match the return type of a gcc2 | 13776 /* We use char because int might match the return type of a gcc2 |
13755 builtin and then its argument prototype would still apply. */ | 13777 builtin and then its argument prototype would still apply. */ |
13756 char Gpm_Open(); | 13778 char Gpm_Open(); |
13757 | 13779 |
13758 int main() { | 13780 int main() { |
13759 Gpm_Open() | 13781 Gpm_Open() |
13760 ; return 0; } | 13782 ; return 0; } |
13761 EOF | 13783 EOF |
13762 if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13784 if { (eval echo configure:13785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13763 rm -rf conftest* | 13785 rm -rf conftest* |
13764 eval "ac_cv_lib_$ac_lib_var=yes" | 13786 eval "ac_cv_lib_$ac_lib_var=yes" |
13765 else | 13787 else |
13766 echo "configure: failed program was:" >&5 | 13788 echo "configure: failed program was:" >&5 |
13767 cat conftest.$ac_ext >&5 | 13789 cat conftest.$ac_ext >&5 |
13795 LIBS="-lgpm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgpm\" to \$LIBS"; fi | 13817 LIBS="-lgpm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgpm\" to \$LIBS"; fi |
13796 fi | 13818 fi |
13797 | 13819 |
13798 else for feature in ncurses gpm; do | 13820 else for feature in ncurses gpm; do |
13799 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 13821 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
13800 echo "configure: warning: "--with-${feature} ignored: Not valid without TTY support"" 1>&2 | 13822 echo "configure: warning: --with-${feature} ignored: Not valid without TTY support" 1>&2 |
13801 fi | 13823 fi |
13802 eval "with_${feature}=no" | 13824 eval "with_${feature}=no" |
13803 done | 13825 done |
13804 fi | 13826 fi |
13805 test "$with_x11" = "yes" -o "$with_tty" = "yes" && extra_objs="$extra_objs event-unixoid.o" && if test "$extra_verbose" = "yes"; then | 13827 test "$with_x11" = "yes" -o "$with_tty" = "yes" && extra_objs="$extra_objs event-unixoid.o" && if test "$extra_verbose" = "yes"; then |
13807 fi | 13829 fi |
13808 | 13830 |
13809 | 13831 |
13810 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13832 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13811 != "no no no" && echo "checking for database support" 1>&6 | 13833 != "no no no" && echo "checking for database support" 1>&6 |
13812 echo "configure:13813: checking for database support" >&5 | 13834 echo "configure:13835: checking for database support" >&5 |
13813 | 13835 |
13814 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13836 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13815 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13837 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13816 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13838 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13817 echo "configure:13818: checking for ndbm.h" >&5 | 13839 echo "configure:13840: checking for ndbm.h" >&5 |
13818 | 13840 |
13819 cat > conftest.$ac_ext <<EOF | 13841 cat > conftest.$ac_ext <<EOF |
13820 #line 13821 "configure" | 13842 #line 13843 "configure" |
13821 #include "confdefs.h" | 13843 #include "confdefs.h" |
13822 #include <ndbm.h> | 13844 #include <ndbm.h> |
13823 EOF | 13845 EOF |
13824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13825 { (eval echo configure:13826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13847 { (eval echo configure:13848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13827 if test -z "$ac_err"; then | 13849 if test -z "$ac_err"; then |
13828 rm -rf conftest* | 13850 rm -rf conftest* |
13829 eval "ac_cv_header_$ac_safe=yes" | 13851 eval "ac_cv_header_$ac_safe=yes" |
13830 else | 13852 else |
13850 fi | 13872 fi |
13851 | 13873 |
13852 if test "$with_database_gdbm" != "no"; then | 13874 if test "$with_database_gdbm" != "no"; then |
13853 | 13875 |
13854 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13876 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13855 echo "configure:13856: checking for dbm_open in -lgdbm" >&5 | 13877 echo "configure:13878: checking for dbm_open in -lgdbm" >&5 |
13856 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13878 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13857 | 13879 |
13858 xe_check_libs=" -lgdbm " | 13880 xe_check_libs=" -lgdbm " |
13859 cat > conftest.$ac_ext <<EOF | 13881 cat > conftest.$ac_ext <<EOF |
13860 #line 13861 "configure" | 13882 #line 13883 "configure" |
13861 #include "confdefs.h" | 13883 #include "confdefs.h" |
13862 /* Override any gcc2 internal prototype to avoid an error. */ | 13884 /* Override any gcc2 internal prototype to avoid an error. */ |
13863 /* We use char because int might match the return type of a gcc2 | 13885 /* We use char because int might match the return type of a gcc2 |
13864 builtin and then its argument prototype would still apply. */ | 13886 builtin and then its argument prototype would still apply. */ |
13865 char dbm_open(); | 13887 char dbm_open(); |
13866 | 13888 |
13867 int main() { | 13889 int main() { |
13868 dbm_open() | 13890 dbm_open() |
13869 ; return 0; } | 13891 ; return 0; } |
13870 EOF | 13892 EOF |
13871 if { (eval echo configure:13872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13893 if { (eval echo configure:13894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13872 rm -rf conftest* | 13894 rm -rf conftest* |
13873 eval "ac_cv_lib_$ac_lib_var=yes" | 13895 eval "ac_cv_lib_$ac_lib_var=yes" |
13874 else | 13896 else |
13875 echo "configure: failed program was:" >&5 | 13897 echo "configure: failed program was:" >&5 |
13876 cat conftest.$ac_ext >&5 | 13898 cat conftest.$ac_ext >&5 |
13894 | 13916 |
13895 fi | 13917 fi |
13896 | 13918 |
13897 if test "$with_database_dbm" != "no"; then | 13919 if test "$with_database_dbm" != "no"; then |
13898 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13920 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13899 echo "configure:13900: checking for dbm_open" >&5 | 13921 echo "configure:13922: checking for dbm_open" >&5 |
13900 | 13922 |
13901 cat > conftest.$ac_ext <<EOF | 13923 cat > conftest.$ac_ext <<EOF |
13902 #line 13903 "configure" | 13924 #line 13925 "configure" |
13903 #include "confdefs.h" | 13925 #include "confdefs.h" |
13904 /* System header to define __stub macros and hopefully few prototypes, | 13926 /* System header to define __stub macros and hopefully few prototypes, |
13905 which can conflict with char dbm_open(); below. */ | 13927 which can conflict with char dbm_open(); below. */ |
13906 #include <assert.h> | 13928 #include <assert.h> |
13907 /* Override any gcc2 internal prototype to avoid an error. */ | 13929 /* Override any gcc2 internal prototype to avoid an error. */ |
13920 dbm_open(); | 13942 dbm_open(); |
13921 #endif | 13943 #endif |
13922 | 13944 |
13923 ; return 0; } | 13945 ; return 0; } |
13924 EOF | 13946 EOF |
13925 if { (eval echo configure:13926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13947 if { (eval echo configure:13948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13926 rm -rf conftest* | 13948 rm -rf conftest* |
13927 eval "ac_cv_func_dbm_open=yes" | 13949 eval "ac_cv_func_dbm_open=yes" |
13928 else | 13950 else |
13929 echo "configure: failed program was:" >&5 | 13951 echo "configure: failed program was:" >&5 |
13930 cat conftest.$ac_ext >&5 | 13952 cat conftest.$ac_ext >&5 |
13939 else | 13961 else |
13940 echo "$ac_t""no" 1>&6 | 13962 echo "$ac_t""no" 1>&6 |
13941 | 13963 |
13942 | 13964 |
13943 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13965 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13944 echo "configure:13945: checking for dbm_open in -ldbm" >&5 | 13966 echo "configure:13967: checking for dbm_open in -ldbm" >&5 |
13945 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13967 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13946 | 13968 |
13947 xe_check_libs=" -ldbm " | 13969 xe_check_libs=" -ldbm " |
13948 cat > conftest.$ac_ext <<EOF | 13970 cat > conftest.$ac_ext <<EOF |
13949 #line 13950 "configure" | 13971 #line 13972 "configure" |
13950 #include "confdefs.h" | 13972 #include "confdefs.h" |
13951 /* Override any gcc2 internal prototype to avoid an error. */ | 13973 /* Override any gcc2 internal prototype to avoid an error. */ |
13952 /* We use char because int might match the return type of a gcc2 | 13974 /* We use char because int might match the return type of a gcc2 |
13953 builtin and then its argument prototype would still apply. */ | 13975 builtin and then its argument prototype would still apply. */ |
13954 char dbm_open(); | 13976 char dbm_open(); |
13955 | 13977 |
13956 int main() { | 13978 int main() { |
13957 dbm_open() | 13979 dbm_open() |
13958 ; return 0; } | 13980 ; return 0; } |
13959 EOF | 13981 EOF |
13960 if { (eval echo configure:13961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13982 if { (eval echo configure:13983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13961 rm -rf conftest* | 13983 rm -rf conftest* |
13962 eval "ac_cv_lib_$ac_lib_var=yes" | 13984 eval "ac_cv_lib_$ac_lib_var=yes" |
13963 else | 13985 else |
13964 echo "configure: failed program was:" >&5 | 13986 echo "configure: failed program was:" >&5 |
13965 cat conftest.$ac_ext >&5 | 13987 cat conftest.$ac_ext >&5 |
13996 } | 14018 } |
13997 | 14019 |
13998 | 14020 |
13999 if test "$with_database_berkdb" != "no"; then | 14021 if test "$with_database_berkdb" != "no"; then |
14000 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14022 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14001 echo "configure:14002: checking for Berkeley db.h" >&5 | 14023 echo "configure:14024: checking for Berkeley db.h" >&5 |
14002 for header in "db/db.h" "db.h"; do | 14024 for header in "db/db.h" "db.h"; do |
14003 cat > conftest.$ac_ext <<EOF | 14025 cat > conftest.$ac_ext <<EOF |
14004 #line 14005 "configure" | 14026 #line 14027 "configure" |
14005 #include "confdefs.h" | 14027 #include "confdefs.h" |
14006 | 14028 |
14007 #include <stdlib.h> | 14029 #include <stdlib.h> |
14008 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14030 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14009 #ifdef HAVE_INTTYPES_H | 14031 #ifdef HAVE_INTTYPES_H |
14021 | 14043 |
14022 int main() { | 14044 int main() { |
14023 | 14045 |
14024 ; return 0; } | 14046 ; return 0; } |
14025 EOF | 14047 EOF |
14026 if { (eval echo configure:14027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14048 if { (eval echo configure:14049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14027 rm -rf conftest* | 14049 rm -rf conftest* |
14028 db_h_file="$header"; break | 14050 db_h_file="$header"; break |
14029 else | 14051 else |
14030 echo "configure: failed program was:" >&5 | 14052 echo "configure: failed program was:" >&5 |
14031 cat conftest.$ac_ext >&5 | 14053 cat conftest.$ac_ext >&5 |
14037 else echo "$ac_t""$db_h_file" 1>&6 | 14059 else echo "$ac_t""$db_h_file" 1>&6 |
14038 fi | 14060 fi |
14039 | 14061 |
14040 if test "$with_database_berkdb" != "no"; then | 14062 if test "$with_database_berkdb" != "no"; then |
14041 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14063 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14042 echo "configure:14043: checking for Berkeley DB version" >&5 | 14064 echo "configure:14065: checking for Berkeley DB version" >&5 |
14043 cat > conftest.$ac_ext <<EOF | 14065 cat > conftest.$ac_ext <<EOF |
14044 #line 14045 "configure" | 14066 #line 14067 "configure" |
14045 #include "confdefs.h" | 14067 #include "confdefs.h" |
14046 #include <$db_h_file> | 14068 #include <$db_h_file> |
14047 #if DB_VERSION_MAJOR > 1 | 14069 #if DB_VERSION_MAJOR > 1 |
14048 yes | 14070 yes |
14049 #endif | 14071 #endif |
14051 EOF | 14073 EOF |
14052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14053 egrep "yes" >/dev/null 2>&1; then | 14075 egrep "yes" >/dev/null 2>&1; then |
14054 rm -rf conftest* | 14076 rm -rf conftest* |
14055 cat > conftest.$ac_ext <<EOF | 14077 cat > conftest.$ac_ext <<EOF |
14056 #line 14057 "configure" | 14078 #line 14079 "configure" |
14057 #include "confdefs.h" | 14079 #include "confdefs.h" |
14058 #include <$db_h_file> | 14080 #include <$db_h_file> |
14059 #if DB_VERSION_MAJOR > 2 | 14081 #if DB_VERSION_MAJOR > 2 |
14060 yes | 14082 yes |
14061 #endif | 14083 #endif |
14078 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14100 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14079 fi | 14101 fi |
14080 rm -f conftest* | 14102 rm -f conftest* |
14081 | 14103 |
14082 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14104 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14083 echo "configure:14084: checking for $dbfunc" >&5 | 14105 echo "configure:14106: checking for $dbfunc" >&5 |
14084 | 14106 |
14085 cat > conftest.$ac_ext <<EOF | 14107 cat > conftest.$ac_ext <<EOF |
14086 #line 14087 "configure" | 14108 #line 14109 "configure" |
14087 #include "confdefs.h" | 14109 #include "confdefs.h" |
14088 /* System header to define __stub macros and hopefully few prototypes, | 14110 /* System header to define __stub macros and hopefully few prototypes, |
14089 which can conflict with char $dbfunc(); below. */ | 14111 which can conflict with char $dbfunc(); below. */ |
14090 #include <assert.h> | 14112 #include <assert.h> |
14091 /* Override any gcc2 internal prototype to avoid an error. */ | 14113 /* Override any gcc2 internal prototype to avoid an error. */ |
14104 $dbfunc(); | 14126 $dbfunc(); |
14105 #endif | 14127 #endif |
14106 | 14128 |
14107 ; return 0; } | 14129 ; return 0; } |
14108 EOF | 14130 EOF |
14109 if { (eval echo configure:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14131 if { (eval echo configure:14132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14110 rm -rf conftest* | 14132 rm -rf conftest* |
14111 eval "ac_cv_func_$dbfunc=yes" | 14133 eval "ac_cv_func_$dbfunc=yes" |
14112 else | 14134 else |
14113 echo "configure: failed program was:" >&5 | 14135 echo "configure: failed program was:" >&5 |
14114 cat conftest.$ac_ext >&5 | 14136 cat conftest.$ac_ext >&5 |
14123 else | 14145 else |
14124 echo "$ac_t""no" 1>&6 | 14146 echo "$ac_t""no" 1>&6 |
14125 | 14147 |
14126 | 14148 |
14127 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14149 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14128 echo "configure:14129: checking for $dbfunc in -ldb" >&5 | 14150 echo "configure:14151: checking for $dbfunc in -ldb" >&5 |
14129 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14151 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14130 | 14152 |
14131 xe_check_libs=" -ldb " | 14153 xe_check_libs=" -ldb " |
14132 cat > conftest.$ac_ext <<EOF | 14154 cat > conftest.$ac_ext <<EOF |
14133 #line 14134 "configure" | 14155 #line 14156 "configure" |
14134 #include "confdefs.h" | 14156 #include "confdefs.h" |
14135 /* Override any gcc2 internal prototype to avoid an error. */ | 14157 /* Override any gcc2 internal prototype to avoid an error. */ |
14136 /* We use char because int might match the return type of a gcc2 | 14158 /* We use char because int might match the return type of a gcc2 |
14137 builtin and then its argument prototype would still apply. */ | 14159 builtin and then its argument prototype would still apply. */ |
14138 char $dbfunc(); | 14160 char $dbfunc(); |
14139 | 14161 |
14140 int main() { | 14162 int main() { |
14141 $dbfunc() | 14163 $dbfunc() |
14142 ; return 0; } | 14164 ; return 0; } |
14143 EOF | 14165 EOF |
14144 if { (eval echo configure:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14166 if { (eval echo configure:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14145 rm -rf conftest* | 14167 rm -rf conftest* |
14146 eval "ac_cv_lib_$ac_lib_var=yes" | 14168 eval "ac_cv_lib_$ac_lib_var=yes" |
14147 else | 14169 else |
14148 echo "configure: failed program was:" >&5 | 14170 echo "configure: failed program was:" >&5 |
14149 cat conftest.$ac_ext >&5 | 14171 cat conftest.$ac_ext >&5 |
14203 fi | 14225 fi |
14204 | 14226 |
14205 if test "$with_socks" = "yes"; then | 14227 if test "$with_socks" = "yes"; then |
14206 | 14228 |
14207 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14229 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14208 echo "configure:14209: checking for SOCKSinit in -lsocks" >&5 | 14230 echo "configure:14231: checking for SOCKSinit in -lsocks" >&5 |
14209 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14231 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14210 | 14232 |
14211 xe_check_libs=" -lsocks " | 14233 xe_check_libs=" -lsocks " |
14212 cat > conftest.$ac_ext <<EOF | 14234 cat > conftest.$ac_ext <<EOF |
14213 #line 14214 "configure" | 14235 #line 14236 "configure" |
14214 #include "confdefs.h" | 14236 #include "confdefs.h" |
14215 /* Override any gcc2 internal prototype to avoid an error. */ | 14237 /* Override any gcc2 internal prototype to avoid an error. */ |
14216 /* We use char because int might match the return type of a gcc2 | 14238 /* We use char because int might match the return type of a gcc2 |
14217 builtin and then its argument prototype would still apply. */ | 14239 builtin and then its argument prototype would still apply. */ |
14218 char SOCKSinit(); | 14240 char SOCKSinit(); |
14219 | 14241 |
14220 int main() { | 14242 int main() { |
14221 SOCKSinit() | 14243 SOCKSinit() |
14222 ; return 0; } | 14244 ; return 0; } |
14223 EOF | 14245 EOF |
14224 if { (eval echo configure:14225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14246 if { (eval echo configure:14247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14225 rm -rf conftest* | 14247 rm -rf conftest* |
14226 eval "ac_cv_lib_$ac_lib_var=yes" | 14248 eval "ac_cv_lib_$ac_lib_var=yes" |
14227 else | 14249 else |
14228 echo "configure: failed program was:" >&5 | 14250 echo "configure: failed program was:" >&5 |
14229 cat conftest.$ac_ext >&5 | 14251 cat conftest.$ac_ext >&5 |
14274 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14296 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14275 fi | 14297 fi |
14276 | 14298 |
14277 if test "$with_modules" != "no"; then | 14299 if test "$with_modules" != "no"; then |
14278 echo "checking for module support" 1>&6 | 14300 echo "checking for module support" 1>&6 |
14279 echo "configure:14280: checking for module support" >&5 | 14301 echo "configure:14302: checking for module support" >&5 |
14280 | 14302 |
14281 if test "$with_msw" = "yes"; then | 14303 if test "$with_msw" = "yes"; then |
14282 have_dl=yes; | 14304 have_dl=yes; |
14283 else | 14305 else |
14284 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14306 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14285 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14307 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14286 echo "configure:14287: checking for dlfcn.h" >&5 | 14308 echo "configure:14309: checking for dlfcn.h" >&5 |
14287 | 14309 |
14288 cat > conftest.$ac_ext <<EOF | 14310 cat > conftest.$ac_ext <<EOF |
14289 #line 14290 "configure" | 14311 #line 14312 "configure" |
14290 #include "confdefs.h" | 14312 #include "confdefs.h" |
14291 #include <dlfcn.h> | 14313 #include <dlfcn.h> |
14292 EOF | 14314 EOF |
14293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14294 { (eval echo configure:14295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14316 { (eval echo configure:14317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14296 if test -z "$ac_err"; then | 14318 if test -z "$ac_err"; then |
14297 rm -rf conftest* | 14319 rm -rf conftest* |
14298 eval "ac_cv_header_$ac_safe=yes" | 14320 eval "ac_cv_header_$ac_safe=yes" |
14299 else | 14321 else |
14306 rm -f conftest* | 14328 rm -f conftest* |
14307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14329 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14308 echo "$ac_t""yes" 1>&6 | 14330 echo "$ac_t""yes" 1>&6 |
14309 | 14331 |
14310 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14332 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14311 echo "configure:14312: checking for dlopen in -lc" >&5 | 14333 echo "configure:14334: checking for dlopen in -lc" >&5 |
14312 cat > conftest.$ac_ext <<EOF | 14334 cat > conftest.$ac_ext <<EOF |
14313 #line 14314 "configure" | 14335 #line 14336 "configure" |
14314 #include "confdefs.h" | 14336 #include "confdefs.h" |
14315 #include <dlfcn.h> | 14337 #include <dlfcn.h> |
14316 int main() { | 14338 int main() { |
14317 dlopen ("", 0); | 14339 dlopen ("", 0); |
14318 ; return 0; } | 14340 ; return 0; } |
14319 EOF | 14341 EOF |
14320 if { (eval echo configure:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14342 if { (eval echo configure:14343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14321 rm -rf conftest* | 14343 rm -rf conftest* |
14322 have_dl=yes | 14344 have_dl=yes |
14323 else | 14345 else |
14324 echo "configure: failed program was:" >&5 | 14346 echo "configure: failed program was:" >&5 |
14325 cat conftest.$ac_ext >&5 | 14347 cat conftest.$ac_ext >&5 |
14326 rm -rf conftest* | 14348 rm -rf conftest* |
14327 | 14349 |
14328 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14350 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14329 echo "configure:14330: checking for dlopen in -ldl" >&5 | 14351 echo "configure:14352: checking for dlopen in -ldl" >&5 |
14330 ac_save_LIBS="$LIBS" | 14352 ac_save_LIBS="$LIBS" |
14331 LIBS="-ldl $LIBS" | 14353 LIBS="-ldl $LIBS" |
14332 cat > conftest.$ac_ext <<EOF | 14354 cat > conftest.$ac_ext <<EOF |
14333 #line 14334 "configure" | 14355 #line 14356 "configure" |
14334 #include "confdefs.h" | 14356 #include "confdefs.h" |
14335 #include <dlfcn.h> | 14357 #include <dlfcn.h> |
14336 int main() { | 14358 int main() { |
14337 dlopen ("", 0); | 14359 dlopen ("", 0); |
14338 ; return 0; } | 14360 ; return 0; } |
14339 EOF | 14361 EOF |
14340 if { (eval echo configure:14341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14362 if { (eval echo configure:14363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14341 rm -rf conftest* | 14363 rm -rf conftest* |
14342 have_dl=yes | 14364 have_dl=yes |
14343 else | 14365 else |
14344 echo "configure: failed program was:" >&5 | 14366 echo "configure: failed program was:" >&5 |
14345 cat conftest.$ac_ext >&5 | 14367 cat conftest.$ac_ext >&5 |
14364 } | 14386 } |
14365 | 14387 |
14366 else | 14388 else |
14367 | 14389 |
14368 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14390 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14369 echo "configure:14370: checking for shl_load in -ldld" >&5 | 14391 echo "configure:14392: checking for shl_load in -ldld" >&5 |
14370 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14392 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14371 | 14393 |
14372 xe_check_libs=" -ldld " | 14394 xe_check_libs=" -ldld " |
14373 cat > conftest.$ac_ext <<EOF | 14395 cat > conftest.$ac_ext <<EOF |
14374 #line 14375 "configure" | 14396 #line 14397 "configure" |
14375 #include "confdefs.h" | 14397 #include "confdefs.h" |
14376 /* Override any gcc2 internal prototype to avoid an error. */ | 14398 /* Override any gcc2 internal prototype to avoid an error. */ |
14377 /* We use char because int might match the return type of a gcc2 | 14399 /* We use char because int might match the return type of a gcc2 |
14378 builtin and then its argument prototype would still apply. */ | 14400 builtin and then its argument prototype would still apply. */ |
14379 char shl_load(); | 14401 char shl_load(); |
14380 | 14402 |
14381 int main() { | 14403 int main() { |
14382 shl_load() | 14404 shl_load() |
14383 ; return 0; } | 14405 ; return 0; } |
14384 EOF | 14406 EOF |
14385 if { (eval echo configure:14386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14386 rm -rf conftest* | 14408 rm -rf conftest* |
14387 eval "ac_cv_lib_$ac_lib_var=yes" | 14409 eval "ac_cv_lib_$ac_lib_var=yes" |
14388 else | 14410 else |
14389 echo "configure: failed program was:" >&5 | 14411 echo "configure: failed program was:" >&5 |
14390 cat conftest.$ac_ext >&5 | 14412 cat conftest.$ac_ext >&5 |
14407 | 14429 |
14408 else | 14430 else |
14409 echo "$ac_t""no" 1>&6 | 14431 echo "$ac_t""no" 1>&6 |
14410 | 14432 |
14411 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14433 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14412 echo "configure:14413: checking for dld_init in -ldld" >&5 | 14434 echo "configure:14435: checking for dld_init in -ldld" >&5 |
14413 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14435 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14414 | 14436 |
14415 xe_check_libs=" -ldld " | 14437 xe_check_libs=" -ldld " |
14416 cat > conftest.$ac_ext <<EOF | 14438 cat > conftest.$ac_ext <<EOF |
14417 #line 14418 "configure" | 14439 #line 14440 "configure" |
14418 #include "confdefs.h" | 14440 #include "confdefs.h" |
14419 /* Override any gcc2 internal prototype to avoid an error. */ | 14441 /* Override any gcc2 internal prototype to avoid an error. */ |
14420 /* We use char because int might match the return type of a gcc2 | 14442 /* We use char because int might match the return type of a gcc2 |
14421 builtin and then its argument prototype would still apply. */ | 14443 builtin and then its argument prototype would still apply. */ |
14422 char dld_init(); | 14444 char dld_init(); |
14423 | 14445 |
14424 int main() { | 14446 int main() { |
14425 dld_init() | 14447 dld_init() |
14426 ; return 0; } | 14448 ; return 0; } |
14427 EOF | 14449 EOF |
14428 if { (eval echo configure:14429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14450 if { (eval echo configure:14451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14429 rm -rf conftest* | 14451 rm -rf conftest* |
14430 eval "ac_cv_lib_$ac_lib_var=yes" | 14452 eval "ac_cv_lib_$ac_lib_var=yes" |
14431 else | 14453 else |
14432 echo "configure: failed program was:" >&5 | 14454 echo "configure: failed program was:" >&5 |
14433 cat conftest.$ac_ext >&5 | 14455 cat conftest.$ac_ext >&5 |
14468 ld_dynamic_link_flags= | 14490 ld_dynamic_link_flags= |
14469 xehost=$canonical | 14491 xehost=$canonical |
14470 xealias=$internal_configuration | 14492 xealias=$internal_configuration |
14471 | 14493 |
14472 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14494 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14473 echo "configure:14474: checking how to build dynamic libraries for ${xehost}" >&5 | 14495 echo "configure:14496: checking how to build dynamic libraries for ${xehost}" >&5 |
14474 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14496 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14475 case "$xehost" in | 14497 case "$xehost" in |
14476 *-*-linux-gnu*) ;; | 14498 *-*-linux-gnu*) ;; |
14477 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14499 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14478 esac | 14500 esac |
14496 # Now see if the compiler is really GCC. | 14518 # Now see if the compiler is really GCC. |
14497 if test "$GCC" = "yes"; then | 14519 if test "$GCC" = "yes"; then |
14498 XEGCC=yes | 14520 XEGCC=yes |
14499 else | 14521 else |
14500 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14522 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14501 echo "configure:14502: checking checking whether we are using GNU C" >&5 | 14523 echo "configure:14524: checking checking whether we are using GNU C" >&5 |
14502 cat > conftest.$ac_ext <<EOF | 14524 cat > conftest.$ac_ext <<EOF |
14503 #line 14504 "configure" | 14525 #line 14526 "configure" |
14504 #include "confdefs.h" | 14526 #include "confdefs.h" |
14505 | 14527 |
14506 #ifdef __GNUC__ | 14528 #ifdef __GNUC__ |
14507 yes; | 14529 yes; |
14508 #endif | 14530 #endif |
14520 | 14542 |
14521 echo "$ac_t""${XEGCC}" 1>&6 | 14543 echo "$ac_t""${XEGCC}" 1>&6 |
14522 fi | 14544 fi |
14523 | 14545 |
14524 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14546 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14525 echo "configure:14526: checking how to produce PIC code" >&5 | 14547 echo "configure:14548: checking how to produce PIC code" >&5 |
14526 wl= | 14548 wl= |
14527 | 14549 |
14528 can_build_shared=yes | 14550 can_build_shared=yes |
14529 if test "$XEGCC" = yes; then | 14551 if test "$XEGCC" = yes; then |
14530 wl='-Wl,' | 14552 wl='-Wl,' |
14621 if test -n "$dll_cflags"; then | 14643 if test -n "$dll_cflags"; then |
14622 echo "$ac_t""${dll_cflags}" 1>&6 | 14644 echo "$ac_t""${dll_cflags}" 1>&6 |
14623 | 14645 |
14624 # Check to make sure the dll_cflags actually works. | 14646 # Check to make sure the dll_cflags actually works. |
14625 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14647 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14626 echo "configure:14627: checking if PIC flag ${dll_cflags} really works" >&5 | 14648 echo "configure:14649: checking if PIC flag ${dll_cflags} really works" >&5 |
14627 save_CFLAGS="$CFLAGS" | 14649 save_CFLAGS="$CFLAGS" |
14628 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14650 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14629 cat > conftest.$ac_ext <<EOF | 14651 cat > conftest.$ac_ext <<EOF |
14630 #line 14631 "configure" | 14652 #line 14653 "configure" |
14631 #include "confdefs.h" | 14653 #include "confdefs.h" |
14632 | 14654 |
14633 int main() { | 14655 int main() { |
14634 int x=0; | 14656 int x=0; |
14635 ; return 0; } | 14657 ; return 0; } |
14636 EOF | 14658 EOF |
14637 if { (eval echo configure:14638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14659 if { (eval echo configure:14660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14638 rm -rf conftest* | 14660 rm -rf conftest* |
14639 | 14661 |
14640 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14662 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14641 # reports no error. So, we need to grep stderr for (Bundled). | 14663 # reports no error. So, we need to grep stderr for (Bundled). |
14642 if grep '(Bundled)' config.log >/dev/null; then | 14664 if grep '(Bundled)' config.log >/dev/null; then |
14663 if test "$can_build_shared" = "yes"; then | 14685 if test "$can_build_shared" = "yes"; then |
14664 cc_produces_so=no | 14686 cc_produces_so=no |
14665 xldf= | 14687 xldf= |
14666 xcldf= | 14688 xcldf= |
14667 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14689 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14668 echo "configure:14669: checking if C compiler can produce shared libraries" >&5 | 14690 echo "configure:14691: checking if C compiler can produce shared libraries" >&5 |
14669 if test "$XEGCC" = yes; then | 14691 if test "$XEGCC" = yes; then |
14670 xcldf="-shared" | 14692 xcldf="-shared" |
14671 xldf="-shared" | 14693 xldf="-shared" |
14672 else # Not using GCC | 14694 else # Not using GCC |
14673 case "$xehost_os" in | 14695 case "$xehost_os" in |
14714 LDFLAGS="$xcldf $LDFLAGS" | 14736 LDFLAGS="$xcldf $LDFLAGS" |
14715 LIBS= | 14737 LIBS= |
14716 xe_libs= | 14738 xe_libs= |
14717 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14739 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14718 cat > conftest.$ac_ext <<EOF | 14740 cat > conftest.$ac_ext <<EOF |
14719 #line 14720 "configure" | 14741 #line 14742 "configure" |
14720 #include "confdefs.h" | 14742 #include "confdefs.h" |
14721 | 14743 |
14722 int main() { | 14744 int main() { |
14723 int x=0; | 14745 int x=0; |
14724 ; return 0; } | 14746 ; return 0; } |
14725 EOF | 14747 EOF |
14726 if { (eval echo configure:14727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14748 if { (eval echo configure:14749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14727 rm -rf conftest* | 14749 rm -rf conftest* |
14728 cc_produces_so=yes | 14750 cc_produces_so=yes |
14729 else | 14751 else |
14730 echo "configure: failed program was:" >&5 | 14752 echo "configure: failed program was:" >&5 |
14731 cat conftest.$ac_ext >&5 | 14753 cat conftest.$ac_ext >&5 |
14746 if test -z "$LTLD"; then | 14768 if test -z "$LTLD"; then |
14747 ac_prog=ld | 14769 ac_prog=ld |
14748 if test "$XEGCC" = yes; then | 14770 if test "$XEGCC" = yes; then |
14749 # Check if gcc -print-prog-name=ld gives a path. | 14771 # Check if gcc -print-prog-name=ld gives a path. |
14750 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14772 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14751 echo "configure:14752: checking for ld used by GCC" >&5 | 14773 echo "configure:14774: checking for ld used by GCC" >&5 |
14752 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14774 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14753 case "$ac_prog" in | 14775 case "$ac_prog" in |
14754 # Accept absolute paths. | 14776 # Accept absolute paths. |
14755 /*) | 14777 /*) |
14756 if test -z "$LTLD"; then | 14778 if test -z "$LTLD"; then |
14771 with_gnu_ld=unknown | 14793 with_gnu_ld=unknown |
14772 ;; | 14794 ;; |
14773 esac | 14795 esac |
14774 else | 14796 else |
14775 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14797 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14776 echo "configure:14777: checking for GNU ld" >&5 | 14798 echo "configure:14799: checking for GNU ld" >&5 |
14777 fi | 14799 fi |
14778 | 14800 |
14779 if test -z "$LTLD"; then | 14801 if test -z "$LTLD"; then |
14780 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14802 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14781 for ac_dir in $PATH; do | 14803 for ac_dir in $PATH; do |
14809 | 14831 |
14810 ld_dynamic_link_flags= | 14832 ld_dynamic_link_flags= |
14811 | 14833 |
14812 # Check to see if it really is or isn't GNU ld. | 14834 # Check to see if it really is or isn't GNU ld. |
14813 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14835 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14814 echo "configure:14815: checking if the linker is GNU ld" >&5 | 14836 echo "configure:14837: checking if the linker is GNU ld" >&5 |
14815 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14837 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14816 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14838 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14817 xe_gnu_ld=yes | 14839 xe_gnu_ld=yes |
14818 else | 14840 else |
14819 xe_gnu_ld=no | 14841 xe_gnu_ld=no |
14837 ld_shlibs=yes | 14859 ld_shlibs=yes |
14838 else | 14860 else |
14839 # OK - only NOW do we futz about with ld. | 14861 # OK - only NOW do we futz about with ld. |
14840 # See if the linker supports building shared libraries. | 14862 # See if the linker supports building shared libraries. |
14841 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14863 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14842 echo "configure:14843: checking whether the linker supports shared libraries" >&5 | 14864 echo "configure:14865: checking whether the linker supports shared libraries" >&5 |
14843 dll_ld=$CC | 14865 dll_ld=$CC |
14844 dll_ldflags=$LDFLAGS | 14866 dll_ldflags=$LDFLAGS |
14845 ld_shlibs=yes | 14867 ld_shlibs=yes |
14846 can_build_shared=yes | 14868 can_build_shared=yes |
14847 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14869 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15048 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15070 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15049 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15071 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15050 for ac_func in dlerror _dlerror | 15072 for ac_func in dlerror _dlerror |
15051 do | 15073 do |
15052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15053 echo "configure:15054: checking for $ac_func" >&5 | 15075 echo "configure:15076: checking for $ac_func" >&5 |
15054 | 15076 |
15055 cat > conftest.$ac_ext <<EOF | 15077 cat > conftest.$ac_ext <<EOF |
15056 #line 15057 "configure" | 15078 #line 15079 "configure" |
15057 #include "confdefs.h" | 15079 #include "confdefs.h" |
15058 /* System header to define __stub macros and hopefully few prototypes, | 15080 /* System header to define __stub macros and hopefully few prototypes, |
15059 which can conflict with char $ac_func(); below. */ | 15081 which can conflict with char $ac_func(); below. */ |
15060 #include <assert.h> | 15082 #include <assert.h> |
15061 /* Override any gcc2 internal prototype to avoid an error. */ | 15083 /* Override any gcc2 internal prototype to avoid an error. */ |
15074 $ac_func(); | 15096 $ac_func(); |
15075 #endif | 15097 #endif |
15076 | 15098 |
15077 ; return 0; } | 15099 ; return 0; } |
15078 EOF | 15100 EOF |
15079 if { (eval echo configure:15080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15101 if { (eval echo configure:15102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15080 rm -rf conftest* | 15102 rm -rf conftest* |
15081 eval "ac_cv_func_$ac_func=yes" | 15103 eval "ac_cv_func_$ac_func=yes" |
15082 else | 15104 else |
15083 echo "configure: failed program was:" >&5 | 15105 echo "configure: failed program was:" >&5 |
15084 cat conftest.$ac_ext >&5 | 15106 cat conftest.$ac_ext >&5 |
15106 with_modules=yes | 15128 with_modules=yes |
15107 else | 15129 else |
15108 if test "$with_modules" = "yes"; then | 15130 if test "$with_modules" = "yes"; then |
15109 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } | 15131 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } |
15110 else | 15132 else |
15111 echo "configure: warning: "Module support cannot be provided."" 1>&2 | 15133 echo "configure: warning: Module support cannot be provided." 1>&2 |
15112 fi | 15134 fi |
15113 with_modules=no | 15135 with_modules=no |
15114 fi | 15136 fi |
15115 fi | 15137 fi |
15116 | 15138 |
15117 cat > conftest.$ac_ext <<EOF | 15139 cat > conftest.$ac_ext <<EOF |
15118 #line 15119 "configure" | 15140 #line 15141 "configure" |
15119 #include "confdefs.h" | 15141 #include "confdefs.h" |
15120 int main(int c,char *v[]){return 0;} | 15142 int main(int c,char *v[]){return 0;} |
15121 EOF | 15143 EOF |
15122 if { (eval echo configure:15123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15144 if { (eval echo configure:15145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15123 then | 15145 then |
15124 : | 15146 : |
15125 else | 15147 else |
15126 conftest_rc="$?" | 15148 conftest_rc="$?" |
15127 echo "configure: failed program was:" >&5 | 15149 echo "configure: failed program was:" >&5 |