Mercurial > hg > xemacs-beta
comparison configure @ 1955:02446ca6a05d
[xemacs-hg @ 2004-03-18 09:57:08 by stephent]
shut up Norbert's compiler <87y8pyv5rz.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Thu, 18 Mar 2004 09:57:12 +0000 |
parents | 569139be45f6 |
children | 36760cdcb631 |
comparison
equal
deleted
inserted
replaced
1954:c8fd42ca35a4 | 1955:02446ca6a05d |
---|---|
2511 cat >> confdefs.h <<\EOF | 2511 cat >> confdefs.h <<\EOF |
2512 #define _POSIX_C_SOURCE 199506L | 2512 #define _POSIX_C_SOURCE 199506L |
2513 EOF | 2513 EOF |
2514 } | 2514 } |
2515 | 2515 |
2516 { test "$extra_verbose" = "yes" && cat << \EOF | 2516 { test "$extra_verbose" = "yes" && cat << \EOF |
2517 Defining _XOPEN_SOURCE = 500 | 2517 Defining _XOPEN_SOURCE = 500 |
2518 EOF | 2518 EOF |
2519 cat >> confdefs.h <<\EOF | 2519 cat >> confdefs.h <<\EOF |
2520 #define _XOPEN_SOURCE 500 | 2520 #define _XOPEN_SOURCE 500 |
2521 EOF | 2521 EOF |
2528 #define _XOPEN_SOURCE_EXTENDED 1 | 2528 #define _XOPEN_SOURCE_EXTENDED 1 |
2529 EOF | 2529 EOF |
2530 } | 2530 } |
2531 | 2531 |
2532 ;; | 2532 ;; |
2533 freebsd4.9) | |
2534 { test "$extra_verbose" = "yes" && cat << \EOF | |
2535 Defining _POSIX_C_SOURCE = 199506L | |
2536 EOF | |
2537 cat >> confdefs.h <<\EOF | |
2538 #define _POSIX_C_SOURCE 199506L | |
2539 EOF | |
2540 } | |
2541 | |
2542 { test "$extra_verbose" = "yes" && cat << \EOF | |
2543 Defining _XOPEN_SOURCE = 500 | |
2544 EOF | |
2545 cat >> confdefs.h <<\EOF | |
2546 #define _XOPEN_SOURCE 500 | |
2547 EOF | |
2548 } | |
2549 | |
2550 ;; | |
2533 esac | 2551 esac |
2534 | 2552 |
2535 cat > conftest.$ac_ext <<EOF | 2553 cat > conftest.$ac_ext <<EOF |
2536 #line 2537 "configure" | 2554 #line 2555 "configure" |
2537 #include "confdefs.h" | 2555 #include "confdefs.h" |
2538 int main () { | 2556 int main () { |
2539 #if defined __SUNPRO_C | 2557 #if defined __SUNPRO_C |
2540 return 11; | 2558 return 11; |
2541 #elif defined __DECC | 2559 #elif defined __DECC |
2547 #else | 2565 #else |
2548 return 0; | 2566 return 0; |
2549 #endif | 2567 #endif |
2550 } | 2568 } |
2551 EOF | 2569 EOF |
2552 if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2553 then | 2571 then |
2554 : | 2572 : |
2555 else | 2573 else |
2556 conftest_rc="$?" | 2574 conftest_rc="$?" |
2557 echo "configure: failed program was:" >&5 | 2575 echo "configure: failed program was:" >&5 |
2801 | 2819 |
2802 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2820 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2803 | 2821 |
2804 if test "$__USLC__" = yes; then | 2822 if test "$__USLC__" = yes; then |
2805 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2823 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2806 echo "configure:2807: checking for whether the -Kalloca compiler flag is needed" >&5 | 2824 echo "configure:2825: checking for whether the -Kalloca compiler flag is needed" >&5 |
2807 need_kalloca=no | 2825 need_kalloca=no |
2808 cat > conftest.$ac_ext <<EOF | 2826 cat > conftest.$ac_ext <<EOF |
2809 #line 2810 "configure" | 2827 #line 2828 "configure" |
2810 #include "confdefs.h" | 2828 #include "confdefs.h" |
2811 | 2829 |
2812 int main() { | 2830 int main() { |
2813 void *x = alloca(4); | 2831 void *x = alloca(4); |
2814 ; return 0; } | 2832 ; return 0; } |
2815 EOF | 2833 EOF |
2816 if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2834 if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2817 rm -rf conftest* | 2835 rm -rf conftest* |
2818 : | 2836 : |
2819 else | 2837 else |
2820 echo "configure: failed program was:" >&5 | 2838 echo "configure: failed program was:" >&5 |
2821 cat conftest.$ac_ext >&5 | 2839 cat conftest.$ac_ext >&5 |
2822 rm -rf conftest* | 2840 rm -rf conftest* |
2823 | 2841 |
2824 xe_save_c_switch_system="$c_switch_system" | 2842 xe_save_c_switch_system="$c_switch_system" |
2825 c_switch_system="$c_switch_system -Kalloca" | 2843 c_switch_system="$c_switch_system -Kalloca" |
2826 cat > conftest.$ac_ext <<EOF | 2844 cat > conftest.$ac_ext <<EOF |
2827 #line 2828 "configure" | 2845 #line 2846 "configure" |
2828 #include "confdefs.h" | 2846 #include "confdefs.h" |
2829 | 2847 |
2830 int main() { | 2848 int main() { |
2831 void *x = alloca(4); | 2849 void *x = alloca(4); |
2832 ; return 0; } | 2850 ; return 0; } |
2833 EOF | 2851 EOF |
2834 if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2852 if { (eval echo configure:2853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2835 rm -rf conftest* | 2853 rm -rf conftest* |
2836 need_kalloca=yes | 2854 need_kalloca=yes |
2837 else | 2855 else |
2838 echo "configure: failed program was:" >&5 | 2856 echo "configure: failed program was:" >&5 |
2839 cat conftest.$ac_ext >&5 | 2857 cat conftest.$ac_ext >&5 |
2908 XE_CFLAGS="$xe_cflags_warning $CFLAGS" | 2926 XE_CFLAGS="$xe_cflags_warning $CFLAGS" |
2909 CFLAGS="$cflags_warning $CFLAGS" | 2927 CFLAGS="$cflags_warning $CFLAGS" |
2910 | 2928 |
2911 if test "$GCC" = "yes"; then | 2929 if test "$GCC" = "yes"; then |
2912 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2930 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2913 echo "configure:2914: checking for buggy gcc versions" >&5 | 2931 echo "configure:2932: checking for buggy gcc versions" >&5 |
2914 GCC_VERSION=`$CC --version` | 2932 GCC_VERSION=`$CC --version` |
2915 case `uname -s`:`uname -m`:$GCC_VERSION in | 2933 case `uname -s`:`uname -m`:$GCC_VERSION in |
2916 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2934 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2917 case "$CFLAGS" in | 2935 case "$CFLAGS" in |
2918 *-O2*|*-O3*) | 2936 *-O2*|*-O3*) |
2966 echo "$ac_t""no" 1>&6 | 2984 echo "$ac_t""no" 1>&6 |
2967 fi | 2985 fi |
2968 | 2986 |
2969 if test "$pdump" != "yes"; then | 2987 if test "$pdump" != "yes"; then |
2970 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2988 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2971 echo "configure:2972: checking for \"-z nocombreloc\" linker flag" >&5 | 2989 echo "configure:2990: checking for \"-z nocombreloc\" linker flag" >&5 |
2972 case "`ld --help 2>&1`" in | 2990 case "`ld --help 2>&1`" in |
2973 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2991 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2974 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2992 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2975 *) echo "$ac_t""no" 1>&6 ;; | 2993 *) echo "$ac_t""no" 1>&6 ;; |
2976 esac | 2994 esac |
3055 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3073 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3056 echo " xemacs will be linked with \"dumper.o\"" | 3074 echo " xemacs will be linked with \"dumper.o\"" |
3057 fi | 3075 fi |
3058 | 3076 |
3059 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3077 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3060 echo "configure:3061: checking for dynodump" >&5 | 3078 echo "configure:3079: checking for dynodump" >&5 |
3061 if test "$unexec" != "unexsol2.o"; then | 3079 if test "$unexec" != "unexsol2.o"; then |
3062 echo "$ac_t""no" 1>&6 | 3080 echo "$ac_t""no" 1>&6 |
3063 else | 3081 else |
3064 echo "$ac_t""yes" 1>&6 | 3082 echo "$ac_t""yes" 1>&6 |
3065 { test "$extra_verbose" = "yes" && cat << \EOF | 3083 { test "$extra_verbose" = "yes" && cat << \EOF |
3093 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3111 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3094 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3112 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3095 done | 3113 done |
3096 | 3114 |
3097 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3115 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3098 echo "configure:3099: checking for terminateAndUnload in -lC" >&5 | 3116 echo "configure:3117: checking for terminateAndUnload in -lC" >&5 |
3099 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3117 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3100 | 3118 |
3101 xe_check_libs=" -lC " | 3119 xe_check_libs=" -lC " |
3102 cat > conftest.$ac_ext <<EOF | 3120 cat > conftest.$ac_ext <<EOF |
3103 #line 3104 "configure" | 3121 #line 3122 "configure" |
3104 #include "confdefs.h" | 3122 #include "confdefs.h" |
3105 /* Override any gcc2 internal prototype to avoid an error. */ | 3123 /* Override any gcc2 internal prototype to avoid an error. */ |
3106 /* We use char because int might match the return type of a gcc2 | 3124 /* We use char because int might match the return type of a gcc2 |
3107 builtin and then its argument prototype would still apply. */ | 3125 builtin and then its argument prototype would still apply. */ |
3108 char terminateAndUnload(); | 3126 char terminateAndUnload(); |
3109 | 3127 |
3110 int main() { | 3128 int main() { |
3111 terminateAndUnload() | 3129 terminateAndUnload() |
3112 ; return 0; } | 3130 ; return 0; } |
3113 EOF | 3131 EOF |
3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3132 if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3115 rm -rf conftest* | 3133 rm -rf conftest* |
3116 eval "ac_cv_lib_$ac_lib_var=yes" | 3134 eval "ac_cv_lib_$ac_lib_var=yes" |
3117 else | 3135 else |
3118 echo "configure: failed program was:" >&5 | 3136 echo "configure: failed program was:" >&5 |
3119 cat conftest.$ac_ext >&5 | 3137 cat conftest.$ac_ext >&5 |
3151 compiler_version="" | 3169 compiler_version="" |
3152 gcc_compiler_specs="" | 3170 gcc_compiler_specs="" |
3153 libc_version="" | 3171 libc_version="" |
3154 | 3172 |
3155 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3173 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 |
3156 echo "configure:3157: checking for compiler version information" >&5 | 3174 echo "configure:3175: checking for compiler version information" >&5 |
3157 | 3175 |
3158 if test "$GCC" = "yes"; then | 3176 if test "$GCC" = "yes"; then |
3159 compiler_version=`$XEMACS_CC --version | head -1` | 3177 compiler_version=`$XEMACS_CC --version | head -1` |
3160 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | 3178 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` |
3161 else case "$XEMACS_CC" in | 3179 else case "$XEMACS_CC" in |
3201 | 3219 |
3202 if test -z "$compiler_version"; then | 3220 if test -z "$compiler_version"; then |
3203 compiler_version="detection failed (please report this)" | 3221 compiler_version="detection failed (please report this)" |
3204 fi | 3222 fi |
3205 | 3223 |
3206 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3224 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 |
3207 echo "configure:3208: checking for compiler version information" >&5 | 3225 echo "configure:3226: checking for standard C library version information" >&5 |
3208 | 3226 |
3209 case "$canonical" in | 3227 case "$canonical" in |
3210 *-*-linux*) | 3228 *-*-linux*) |
3211 if test -f /etc/redhat-release ; then | 3229 if test -f /etc/redhat-release ; then |
3212 libc_version=`rpm -q glibc` | 3230 libc_version=`rpm -q glibc` |
3314 esac | 3332 esac |
3315 fi | 3333 fi |
3316 | 3334 |
3317 if test "$add_runtime_path" = "yes"; then | 3335 if test "$add_runtime_path" = "yes"; then |
3318 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3336 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3319 echo "configure:3320: checking "for runtime libraries flag"" >&5 | 3337 echo "configure:3338: checking "for runtime libraries flag"" >&5 |
3320 case "$opsys" in | 3338 case "$opsys" in |
3321 sol2 ) dash_r="-R" ;; | 3339 sol2 ) dash_r="-R" ;; |
3322 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3340 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3323 *) | 3341 *) |
3324 dash_r="" | 3342 dash_r="" |
3336 esac | 3354 esac |
3337 shift | 3355 shift |
3338 done | 3356 done |
3339 fi | 3357 fi |
3340 cat > conftest.$ac_ext <<EOF | 3358 cat > conftest.$ac_ext <<EOF |
3341 #line 3342 "configure" | 3359 #line 3360 "configure" |
3342 #include "confdefs.h" | 3360 #include "confdefs.h" |
3343 | 3361 |
3344 int main() { | 3362 int main() { |
3345 | 3363 |
3346 ; return 0; } | 3364 ; return 0; } |
3347 EOF | 3365 EOF |
3348 if { (eval echo configure:3349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3366 if { (eval echo configure:3367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3349 rm -rf conftest* | 3367 rm -rf conftest* |
3350 dash_r="$try_dash_r" | 3368 dash_r="$try_dash_r" |
3351 else | 3369 else |
3352 echo "configure: failed program was:" >&5 | 3370 echo "configure: failed program was:" >&5 |
3353 cat conftest.$ac_ext >&5 | 3371 cat conftest.$ac_ext >&5 |
3444 else | 3462 else |
3445 doug_lea_malloc=no | 3463 doug_lea_malloc=no |
3446 fi | 3464 fi |
3447 after_morecore_hook_exists=yes | 3465 after_morecore_hook_exists=yes |
3448 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3466 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3449 echo "configure:3450: checking for malloc_set_state" >&5 | 3467 echo "configure:3468: checking for malloc_set_state" >&5 |
3450 | 3468 |
3451 cat > conftest.$ac_ext <<EOF | 3469 cat > conftest.$ac_ext <<EOF |
3452 #line 3453 "configure" | 3470 #line 3471 "configure" |
3453 #include "confdefs.h" | 3471 #include "confdefs.h" |
3454 /* System header to define __stub macros and hopefully few prototypes, | 3472 /* System header to define __stub macros and hopefully few prototypes, |
3455 which can conflict with char malloc_set_state(); below. */ | 3473 which can conflict with char malloc_set_state(); below. */ |
3456 #include <assert.h> | 3474 #include <assert.h> |
3457 /* Override any gcc2 internal prototype to avoid an error. */ | 3475 /* Override any gcc2 internal prototype to avoid an error. */ |
3470 malloc_set_state(); | 3488 malloc_set_state(); |
3471 #endif | 3489 #endif |
3472 | 3490 |
3473 ; return 0; } | 3491 ; return 0; } |
3474 EOF | 3492 EOF |
3475 if { (eval echo configure:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3493 if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3476 rm -rf conftest* | 3494 rm -rf conftest* |
3477 eval "ac_cv_func_malloc_set_state=yes" | 3495 eval "ac_cv_func_malloc_set_state=yes" |
3478 else | 3496 else |
3479 echo "configure: failed program was:" >&5 | 3497 echo "configure: failed program was:" >&5 |
3480 cat conftest.$ac_ext >&5 | 3498 cat conftest.$ac_ext >&5 |
3490 echo "$ac_t""no" 1>&6 | 3508 echo "$ac_t""no" 1>&6 |
3491 doug_lea_malloc=no | 3509 doug_lea_malloc=no |
3492 fi | 3510 fi |
3493 | 3511 |
3494 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3512 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3495 echo "configure:3496: checking whether __after_morecore_hook exists" >&5 | 3513 echo "configure:3514: checking whether __after_morecore_hook exists" >&5 |
3496 cat > conftest.$ac_ext <<EOF | 3514 cat > conftest.$ac_ext <<EOF |
3497 #line 3498 "configure" | 3515 #line 3516 "configure" |
3498 #include "confdefs.h" | 3516 #include "confdefs.h" |
3499 extern void (* __after_morecore_hook)(); | 3517 extern void (* __after_morecore_hook)(); |
3500 int main() { | 3518 int main() { |
3501 __after_morecore_hook = 0 | 3519 __after_morecore_hook = 0 |
3502 ; return 0; } | 3520 ; return 0; } |
3503 EOF | 3521 EOF |
3504 if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3522 if { (eval echo configure:3523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3505 rm -rf conftest* | 3523 rm -rf conftest* |
3506 echo "$ac_t""yes" 1>&6 | 3524 echo "$ac_t""yes" 1>&6 |
3507 else | 3525 else |
3508 echo "configure: failed program was:" >&5 | 3526 echo "configure: failed program was:" >&5 |
3509 cat conftest.$ac_ext >&5 | 3527 cat conftest.$ac_ext >&5 |
3555 | 3573 |
3556 | 3574 |
3557 # Extract the first word of "ranlib", so it can be a program name with args. | 3575 # Extract the first word of "ranlib", so it can be a program name with args. |
3558 set dummy ranlib; ac_word=$2 | 3576 set dummy ranlib; ac_word=$2 |
3559 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3577 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3560 echo "configure:3561: checking for $ac_word" >&5 | 3578 echo "configure:3579: checking for $ac_word" >&5 |
3561 | 3579 |
3562 if test -n "$RANLIB"; then | 3580 if test -n "$RANLIB"; then |
3563 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3581 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3564 else | 3582 else |
3565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3583 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3610 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3611 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3612 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3613 # ./install, which can be erroneously created by make from ./install.sh. | 3631 # ./install, which can be erroneously created by make from ./install.sh. |
3614 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3632 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3615 echo "configure:3616: checking for a BSD compatible install" >&5 | 3633 echo "configure:3634: checking for a BSD compatible install" >&5 |
3616 if test -z "$INSTALL"; then | 3634 if test -z "$INSTALL"; then |
3617 | 3635 |
3618 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3636 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3619 for ac_dir in $PATH; do | 3637 for ac_dir in $PATH; do |
3620 # Account for people who put trailing slashes in PATH elements. | 3638 # Account for people who put trailing slashes in PATH elements. |
3664 for ac_prog in 'bison -y' byacc | 3682 for ac_prog in 'bison -y' byacc |
3665 do | 3683 do |
3666 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3684 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3667 set dummy $ac_prog; ac_word=$2 | 3685 set dummy $ac_prog; ac_word=$2 |
3668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3669 echo "configure:3670: checking for $ac_word" >&5 | 3687 echo "configure:3688: checking for $ac_word" >&5 |
3670 | 3688 |
3671 if test -n "$YACC"; then | 3689 if test -n "$YACC"; then |
3672 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3690 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3673 else | 3691 else |
3674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3692 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3696 | 3714 |
3697 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3715 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3698 do | 3716 do |
3699 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3717 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3700 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3718 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3701 echo "configure:3702: checking for $ac_hdr" >&5 | 3719 echo "configure:3720: checking for $ac_hdr" >&5 |
3702 | 3720 |
3703 cat > conftest.$ac_ext <<EOF | 3721 cat > conftest.$ac_ext <<EOF |
3704 #line 3705 "configure" | 3722 #line 3723 "configure" |
3705 #include "confdefs.h" | 3723 #include "confdefs.h" |
3706 #include <$ac_hdr> | 3724 #include <$ac_hdr> |
3707 EOF | 3725 EOF |
3708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3709 { (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3727 { (eval echo configure:3728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3711 if test -z "$ac_err"; then | 3729 if test -z "$ac_err"; then |
3712 rm -rf conftest* | 3730 rm -rf conftest* |
3713 eval "ac_cv_header_$ac_safe=yes" | 3731 eval "ac_cv_header_$ac_safe=yes" |
3714 else | 3732 else |
3734 echo "$ac_t""no" 1>&6 | 3752 echo "$ac_t""no" 1>&6 |
3735 fi | 3753 fi |
3736 done | 3754 done |
3737 | 3755 |
3738 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3756 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3739 echo "configure:3740: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3757 echo "configure:3758: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3740 | 3758 |
3741 cat > conftest.$ac_ext <<EOF | 3759 cat > conftest.$ac_ext <<EOF |
3742 #line 3743 "configure" | 3760 #line 3761 "configure" |
3743 #include "confdefs.h" | 3761 #include "confdefs.h" |
3744 #include <sys/types.h> | 3762 #include <sys/types.h> |
3745 #include <sys/wait.h> | 3763 #include <sys/wait.h> |
3746 #ifndef WEXITSTATUS | 3764 #ifndef WEXITSTATUS |
3747 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3765 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3753 int s; | 3771 int s; |
3754 wait (&s); | 3772 wait (&s); |
3755 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3773 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3756 ; return 0; } | 3774 ; return 0; } |
3757 EOF | 3775 EOF |
3758 if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3776 if { (eval echo configure:3777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3759 rm -rf conftest* | 3777 rm -rf conftest* |
3760 ac_cv_header_sys_wait_h=yes | 3778 ac_cv_header_sys_wait_h=yes |
3761 else | 3779 else |
3762 echo "configure: failed program was:" >&5 | 3780 echo "configure: failed program was:" >&5 |
3763 cat conftest.$ac_ext >&5 | 3781 cat conftest.$ac_ext >&5 |
3777 } | 3795 } |
3778 | 3796 |
3779 fi | 3797 fi |
3780 | 3798 |
3781 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3799 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3782 echo "configure:3783: checking for ANSI C header files" >&5 | 3800 echo "configure:3801: checking for ANSI C header files" >&5 |
3783 | 3801 |
3784 cat > conftest.$ac_ext <<EOF | 3802 cat > conftest.$ac_ext <<EOF |
3785 #line 3786 "configure" | 3803 #line 3804 "configure" |
3786 #include "confdefs.h" | 3804 #include "confdefs.h" |
3787 #include <stdlib.h> | 3805 #include <stdlib.h> |
3788 #include <stdarg.h> | 3806 #include <stdarg.h> |
3789 #include <string.h> | 3807 #include <string.h> |
3790 #include <float.h> | 3808 #include <float.h> |
3791 EOF | 3809 EOF |
3792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3793 { (eval echo configure:3794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3811 { (eval echo configure:3812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3795 if test -z "$ac_err"; then | 3813 if test -z "$ac_err"; then |
3796 rm -rf conftest* | 3814 rm -rf conftest* |
3797 ac_cv_header_stdc=yes | 3815 ac_cv_header_stdc=yes |
3798 else | 3816 else |
3805 rm -f conftest* | 3823 rm -f conftest* |
3806 | 3824 |
3807 if test $ac_cv_header_stdc = yes; then | 3825 if test $ac_cv_header_stdc = yes; then |
3808 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3826 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3809 cat > conftest.$ac_ext <<EOF | 3827 cat > conftest.$ac_ext <<EOF |
3810 #line 3811 "configure" | 3828 #line 3829 "configure" |
3811 #include "confdefs.h" | 3829 #include "confdefs.h" |
3812 #include <string.h> | 3830 #include <string.h> |
3813 EOF | 3831 EOF |
3814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3815 egrep "memchr" >/dev/null 2>&1; then | 3833 egrep "memchr" >/dev/null 2>&1; then |
3823 fi | 3841 fi |
3824 | 3842 |
3825 if test $ac_cv_header_stdc = yes; then | 3843 if test $ac_cv_header_stdc = yes; then |
3826 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3844 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3827 cat > conftest.$ac_ext <<EOF | 3845 cat > conftest.$ac_ext <<EOF |
3828 #line 3829 "configure" | 3846 #line 3847 "configure" |
3829 #include "confdefs.h" | 3847 #include "confdefs.h" |
3830 #include <stdlib.h> | 3848 #include <stdlib.h> |
3831 EOF | 3849 EOF |
3832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3833 egrep "free" >/dev/null 2>&1; then | 3851 egrep "free" >/dev/null 2>&1; then |
3841 fi | 3859 fi |
3842 | 3860 |
3843 if test $ac_cv_header_stdc = yes; then | 3861 if test $ac_cv_header_stdc = yes; then |
3844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3845 cat > conftest.$ac_ext <<EOF | 3863 cat > conftest.$ac_ext <<EOF |
3846 #line 3847 "configure" | 3864 #line 3865 "configure" |
3847 #include "confdefs.h" | 3865 #include "confdefs.h" |
3848 #include <ctype.h> | 3866 #include <ctype.h> |
3849 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3867 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3850 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3868 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3851 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3869 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3852 int main () { int i; for (i = 0; i < 256; i++) | 3870 int main () { int i; for (i = 0; i < 256; i++) |
3853 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3871 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3854 exit (0); } | 3872 exit (0); } |
3855 | 3873 |
3856 EOF | 3874 EOF |
3857 if { (eval echo configure:3858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3875 if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3858 then | 3876 then |
3859 : | 3877 : |
3860 else | 3878 else |
3861 conftest_rc="$?" | 3879 conftest_rc="$?" |
3862 echo "configure: failed program was:" >&5 | 3880 echo "configure: failed program was:" >&5 |
3878 } | 3896 } |
3879 | 3897 |
3880 fi | 3898 fi |
3881 | 3899 |
3882 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3900 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3883 echo "configure:3884: checking whether time.h and sys/time.h may both be included" >&5 | 3901 echo "configure:3902: checking whether time.h and sys/time.h may both be included" >&5 |
3884 | 3902 |
3885 cat > conftest.$ac_ext <<EOF | 3903 cat > conftest.$ac_ext <<EOF |
3886 #line 3887 "configure" | 3904 #line 3905 "configure" |
3887 #include "confdefs.h" | 3905 #include "confdefs.h" |
3888 #include <sys/types.h> | 3906 #include <sys/types.h> |
3889 #include <sys/time.h> | 3907 #include <sys/time.h> |
3890 #include <time.h> | 3908 #include <time.h> |
3891 int main() { | 3909 int main() { |
3892 struct tm *tp; | 3910 struct tm *tp; |
3893 ; return 0; } | 3911 ; return 0; } |
3894 EOF | 3912 EOF |
3895 if { (eval echo configure:3896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3913 if { (eval echo configure:3914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3896 rm -rf conftest* | 3914 rm -rf conftest* |
3897 ac_cv_header_time=yes | 3915 ac_cv_header_time=yes |
3898 else | 3916 else |
3899 echo "configure: failed program was:" >&5 | 3917 echo "configure: failed program was:" >&5 |
3900 cat conftest.$ac_ext >&5 | 3918 cat conftest.$ac_ext >&5 |
3914 } | 3932 } |
3915 | 3933 |
3916 fi | 3934 fi |
3917 | 3935 |
3918 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3936 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3919 echo "configure:3920: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3937 echo "configure:3938: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3920 | 3938 |
3921 cat > conftest.$ac_ext <<EOF | 3939 cat > conftest.$ac_ext <<EOF |
3922 #line 3923 "configure" | 3940 #line 3941 "configure" |
3923 #include "confdefs.h" | 3941 #include "confdefs.h" |
3924 #include <sys/types.h> | 3942 #include <sys/types.h> |
3925 #include <signal.h> | 3943 #include <signal.h> |
3926 /* NetBSD declares sys_siglist in unistd.h. */ | 3944 /* NetBSD declares sys_siglist in unistd.h. */ |
3927 #ifdef HAVE_UNISTD_H | 3945 #ifdef HAVE_UNISTD_H |
3929 #endif | 3947 #endif |
3930 int main() { | 3948 int main() { |
3931 char *msg = *(sys_siglist + 1); | 3949 char *msg = *(sys_siglist + 1); |
3932 ; return 0; } | 3950 ; return 0; } |
3933 EOF | 3951 EOF |
3934 if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3952 if { (eval echo configure:3953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3935 rm -rf conftest* | 3953 rm -rf conftest* |
3936 ac_cv_decl_sys_siglist=yes | 3954 ac_cv_decl_sys_siglist=yes |
3937 else | 3955 else |
3938 echo "configure: failed program was:" >&5 | 3956 echo "configure: failed program was:" >&5 |
3939 cat conftest.$ac_ext >&5 | 3957 cat conftest.$ac_ext >&5 |
3955 fi | 3973 fi |
3956 | 3974 |
3957 | 3975 |
3958 | 3976 |
3959 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3977 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3960 echo "configure:3961: checking for utime" >&5 | 3978 echo "configure:3979: checking for utime" >&5 |
3961 cat > conftest.$ac_ext <<EOF | 3979 cat > conftest.$ac_ext <<EOF |
3962 #line 3963 "configure" | 3980 #line 3981 "configure" |
3963 #include "confdefs.h" | 3981 #include "confdefs.h" |
3964 #include <sys/types.h> | 3982 #include <sys/types.h> |
3965 #include <utime.h> | 3983 #include <utime.h> |
3966 int main() { | 3984 int main() { |
3967 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3985 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3968 ; return 0; } | 3986 ; return 0; } |
3969 EOF | 3987 EOF |
3970 if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3988 if { (eval echo configure:3989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3971 rm -rf conftest* | 3989 rm -rf conftest* |
3972 echo "$ac_t""yes" 1>&6 | 3990 echo "$ac_t""yes" 1>&6 |
3973 { test "$extra_verbose" = "yes" && cat << \EOF | 3991 { test "$extra_verbose" = "yes" && cat << \EOF |
3974 Defining HAVE_UTIME | 3992 Defining HAVE_UTIME |
3975 EOF | 3993 EOF |
3984 rm -rf conftest* | 4002 rm -rf conftest* |
3985 echo "$ac_t""no" 1>&6 | 4003 echo "$ac_t""no" 1>&6 |
3986 for ac_func in utimes | 4004 for ac_func in utimes |
3987 do | 4005 do |
3988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3989 echo "configure:3990: checking for $ac_func" >&5 | 4007 echo "configure:4008: checking for $ac_func" >&5 |
3990 | 4008 |
3991 cat > conftest.$ac_ext <<EOF | 4009 cat > conftest.$ac_ext <<EOF |
3992 #line 3993 "configure" | 4010 #line 4011 "configure" |
3993 #include "confdefs.h" | 4011 #include "confdefs.h" |
3994 /* System header to define __stub macros and hopefully few prototypes, | 4012 /* System header to define __stub macros and hopefully few prototypes, |
3995 which can conflict with char $ac_func(); below. */ | 4013 which can conflict with char $ac_func(); below. */ |
3996 #include <assert.h> | 4014 #include <assert.h> |
3997 /* Override any gcc2 internal prototype to avoid an error. */ | 4015 /* Override any gcc2 internal prototype to avoid an error. */ |
4010 $ac_func(); | 4028 $ac_func(); |
4011 #endif | 4029 #endif |
4012 | 4030 |
4013 ; return 0; } | 4031 ; return 0; } |
4014 EOF | 4032 EOF |
4015 if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4033 if { (eval echo configure:4034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4016 rm -rf conftest* | 4034 rm -rf conftest* |
4017 eval "ac_cv_func_$ac_func=yes" | 4035 eval "ac_cv_func_$ac_func=yes" |
4018 else | 4036 else |
4019 echo "configure: failed program was:" >&5 | 4037 echo "configure: failed program was:" >&5 |
4020 cat conftest.$ac_ext >&5 | 4038 cat conftest.$ac_ext >&5 |
4042 fi | 4060 fi |
4043 rm -f conftest* | 4061 rm -f conftest* |
4044 | 4062 |
4045 | 4063 |
4046 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 4064 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
4047 echo "configure:4048: checking return type of signal handlers" >&5 | 4065 echo "configure:4066: checking return type of signal handlers" >&5 |
4048 | 4066 |
4049 cat > conftest.$ac_ext <<EOF | 4067 cat > conftest.$ac_ext <<EOF |
4050 #line 4051 "configure" | 4068 #line 4069 "configure" |
4051 #include "confdefs.h" | 4069 #include "confdefs.h" |
4052 #include <sys/types.h> | 4070 #include <sys/types.h> |
4053 #include <signal.h> | 4071 #include <signal.h> |
4054 #ifdef signal | 4072 #ifdef signal |
4055 #undef signal | 4073 #undef signal |
4062 | 4080 |
4063 int main() { | 4081 int main() { |
4064 int i; | 4082 int i; |
4065 ; return 0; } | 4083 ; return 0; } |
4066 EOF | 4084 EOF |
4067 if { (eval echo configure:4068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4085 if { (eval echo configure:4086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4068 rm -rf conftest* | 4086 rm -rf conftest* |
4069 ac_cv_type_signal=void | 4087 ac_cv_type_signal=void |
4070 else | 4088 else |
4071 echo "configure: failed program was:" >&5 | 4089 echo "configure: failed program was:" >&5 |
4072 cat conftest.$ac_ext >&5 | 4090 cat conftest.$ac_ext >&5 |
4084 EOF | 4102 EOF |
4085 } | 4103 } |
4086 | 4104 |
4087 | 4105 |
4088 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4106 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4089 echo "configure:4090: checking for size_t" >&5 | 4107 echo "configure:4108: checking for size_t" >&5 |
4090 | 4108 |
4091 cat > conftest.$ac_ext <<EOF | 4109 cat > conftest.$ac_ext <<EOF |
4092 #line 4093 "configure" | 4110 #line 4111 "configure" |
4093 #include "confdefs.h" | 4111 #include "confdefs.h" |
4094 #include <sys/types.h> | 4112 #include <sys/types.h> |
4095 #if STDC_HEADERS | 4113 #if STDC_HEADERS |
4096 #include <stdlib.h> | 4114 #include <stdlib.h> |
4097 #include <stddef.h> | 4115 #include <stddef.h> |
4118 } | 4136 } |
4119 | 4137 |
4120 fi | 4138 fi |
4121 | 4139 |
4122 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4140 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4123 echo "configure:4124: checking for pid_t" >&5 | 4141 echo "configure:4142: checking for pid_t" >&5 |
4124 | 4142 |
4125 cat > conftest.$ac_ext <<EOF | 4143 cat > conftest.$ac_ext <<EOF |
4126 #line 4127 "configure" | 4144 #line 4145 "configure" |
4127 #include "confdefs.h" | 4145 #include "confdefs.h" |
4128 #include <sys/types.h> | 4146 #include <sys/types.h> |
4129 #if STDC_HEADERS | 4147 #if STDC_HEADERS |
4130 #include <stdlib.h> | 4148 #include <stdlib.h> |
4131 #include <stddef.h> | 4149 #include <stddef.h> |
4152 } | 4170 } |
4153 | 4171 |
4154 fi | 4172 fi |
4155 | 4173 |
4156 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4174 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4157 echo "configure:4158: checking for uid_t in sys/types.h" >&5 | 4175 echo "configure:4176: checking for uid_t in sys/types.h" >&5 |
4158 | 4176 |
4159 cat > conftest.$ac_ext <<EOF | 4177 cat > conftest.$ac_ext <<EOF |
4160 #line 4161 "configure" | 4178 #line 4179 "configure" |
4161 #include "confdefs.h" | 4179 #include "confdefs.h" |
4162 #include <sys/types.h> | 4180 #include <sys/types.h> |
4163 EOF | 4181 EOF |
4164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4165 egrep "uid_t" >/dev/null 2>&1; then | 4183 egrep "uid_t" >/dev/null 2>&1; then |
4191 } | 4209 } |
4192 | 4210 |
4193 fi | 4211 fi |
4194 | 4212 |
4195 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4213 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4196 echo "configure:4197: checking for mode_t" >&5 | 4214 echo "configure:4215: checking for mode_t" >&5 |
4197 | 4215 |
4198 cat > conftest.$ac_ext <<EOF | 4216 cat > conftest.$ac_ext <<EOF |
4199 #line 4200 "configure" | 4217 #line 4218 "configure" |
4200 #include "confdefs.h" | 4218 #include "confdefs.h" |
4201 #include <sys/types.h> | 4219 #include <sys/types.h> |
4202 #if STDC_HEADERS | 4220 #if STDC_HEADERS |
4203 #include <stdlib.h> | 4221 #include <stdlib.h> |
4204 #include <stddef.h> | 4222 #include <stddef.h> |
4225 } | 4243 } |
4226 | 4244 |
4227 fi | 4245 fi |
4228 | 4246 |
4229 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4247 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4230 echo "configure:4231: checking for off_t" >&5 | 4248 echo "configure:4249: checking for off_t" >&5 |
4231 | 4249 |
4232 cat > conftest.$ac_ext <<EOF | 4250 cat > conftest.$ac_ext <<EOF |
4233 #line 4234 "configure" | 4251 #line 4252 "configure" |
4234 #include "confdefs.h" | 4252 #include "confdefs.h" |
4235 #include <sys/types.h> | 4253 #include <sys/types.h> |
4236 #if STDC_HEADERS | 4254 #if STDC_HEADERS |
4237 #include <stdlib.h> | 4255 #include <stdlib.h> |
4238 #include <stddef.h> | 4256 #include <stddef.h> |
4259 } | 4277 } |
4260 | 4278 |
4261 fi | 4279 fi |
4262 | 4280 |
4263 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4281 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4264 echo "configure:4265: checking for ssize_t" >&5 | 4282 echo "configure:4283: checking for ssize_t" >&5 |
4265 | 4283 |
4266 cat > conftest.$ac_ext <<EOF | 4284 cat > conftest.$ac_ext <<EOF |
4267 #line 4268 "configure" | 4285 #line 4286 "configure" |
4268 #include "confdefs.h" | 4286 #include "confdefs.h" |
4269 #include <sys/types.h> | 4287 #include <sys/types.h> |
4270 #if STDC_HEADERS | 4288 #if STDC_HEADERS |
4271 #include <stdlib.h> | 4289 #include <stdlib.h> |
4272 #include <stddef.h> | 4290 #include <stddef.h> |
4295 fi | 4313 fi |
4296 | 4314 |
4297 | 4315 |
4298 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4316 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4299 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4317 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4300 echo "configure:4301: checking for intptr_t in sys/types.h" >&5 | 4318 echo "configure:4319: checking for intptr_t in sys/types.h" >&5 |
4301 cat > conftest.$ac_ext <<EOF | 4319 cat > conftest.$ac_ext <<EOF |
4302 #line 4303 "configure" | 4320 #line 4321 "configure" |
4303 #include "confdefs.h" | 4321 #include "confdefs.h" |
4304 #include <sys/types.h> | 4322 #include <sys/types.h> |
4305 intptr_t x; | 4323 intptr_t x; |
4306 | 4324 |
4307 int main() { | 4325 int main() { |
4308 | 4326 |
4309 ; return 0; } | 4327 ; return 0; } |
4310 EOF | 4328 EOF |
4311 if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4329 if { (eval echo configure:4330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4312 rm -rf conftest* | 4330 rm -rf conftest* |
4313 echo "$ac_t""yes" 1>&6 | 4331 echo "$ac_t""yes" 1>&6 |
4314 { test "$extra_verbose" = "yes" && cat << \EOF | 4332 { test "$extra_verbose" = "yes" && cat << \EOF |
4315 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4333 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4316 EOF | 4334 EOF |
4327 fi | 4345 fi |
4328 rm -f conftest* | 4346 rm -f conftest* |
4329 fi | 4347 fi |
4330 | 4348 |
4331 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4349 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4332 echo "configure:4333: checking for socklen_t" >&5 | 4350 echo "configure:4351: checking for socklen_t" >&5 |
4333 cat > conftest.$ac_ext <<EOF | 4351 cat > conftest.$ac_ext <<EOF |
4334 #line 4335 "configure" | 4352 #line 4353 "configure" |
4335 #include "confdefs.h" | 4353 #include "confdefs.h" |
4336 #include <sys/types.h> | 4354 #include <sys/types.h> |
4337 #include <sys/socket.h> | 4355 #include <sys/socket.h> |
4338 socklen_t x; | 4356 socklen_t x; |
4339 | 4357 |
4340 int main() { | 4358 int main() { |
4341 | 4359 |
4342 ; return 0; } | 4360 ; return 0; } |
4343 EOF | 4361 EOF |
4344 if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4362 if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4345 rm -rf conftest* | 4363 rm -rf conftest* |
4346 echo "$ac_t""yes" 1>&6 | 4364 echo "$ac_t""yes" 1>&6 |
4347 else | 4365 else |
4348 echo "configure: failed program was:" >&5 | 4366 echo "configure: failed program was:" >&5 |
4349 cat conftest.$ac_ext >&5 | 4367 cat conftest.$ac_ext >&5 |
4350 rm -rf conftest* | 4368 rm -rf conftest* |
4351 | 4369 |
4352 cat > conftest.$ac_ext <<EOF | 4370 cat > conftest.$ac_ext <<EOF |
4353 #line 4354 "configure" | 4371 #line 4372 "configure" |
4354 #include "confdefs.h" | 4372 #include "confdefs.h" |
4355 #include <sys/types.h> | 4373 #include <sys/types.h> |
4356 #include <sys/socket.h> | 4374 #include <sys/socket.h> |
4357 int accept (int, struct sockaddr *, size_t *); | 4375 int accept (int, struct sockaddr *, size_t *); |
4358 | 4376 |
4359 int main() { | 4377 int main() { |
4360 | 4378 |
4361 ; return 0; } | 4379 ; return 0; } |
4362 EOF | 4380 EOF |
4363 if { (eval echo configure:4364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4381 if { (eval echo configure:4382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4364 rm -rf conftest* | 4382 rm -rf conftest* |
4365 | 4383 |
4366 echo "$ac_t""size_t" 1>&6 | 4384 echo "$ac_t""size_t" 1>&6 |
4367 { test "$extra_verbose" = "yes" && cat << \EOF | 4385 { test "$extra_verbose" = "yes" && cat << \EOF |
4368 Defining socklen_t = size_t | 4386 Defining socklen_t = size_t |
4390 rm -f conftest* | 4408 rm -f conftest* |
4391 fi | 4409 fi |
4392 rm -f conftest* | 4410 rm -f conftest* |
4393 | 4411 |
4394 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4412 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4395 echo "configure:4396: checking for struct timeval" >&5 | 4413 echo "configure:4414: checking for struct timeval" >&5 |
4396 cat > conftest.$ac_ext <<EOF | 4414 cat > conftest.$ac_ext <<EOF |
4397 #line 4398 "configure" | 4415 #line 4416 "configure" |
4398 #include "confdefs.h" | 4416 #include "confdefs.h" |
4399 #ifdef TIME_WITH_SYS_TIME | 4417 #ifdef TIME_WITH_SYS_TIME |
4400 #include <sys/time.h> | 4418 #include <sys/time.h> |
4401 #include <time.h> | 4419 #include <time.h> |
4402 #else | 4420 #else |
4408 #endif | 4426 #endif |
4409 int main() { | 4427 int main() { |
4410 static struct timeval x; x.tv_sec = x.tv_usec; | 4428 static struct timeval x; x.tv_sec = x.tv_usec; |
4411 ; return 0; } | 4429 ; return 0; } |
4412 EOF | 4430 EOF |
4413 if { (eval echo configure:4414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4431 if { (eval echo configure:4432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4414 rm -rf conftest* | 4432 rm -rf conftest* |
4415 echo "$ac_t""yes" 1>&6 | 4433 echo "$ac_t""yes" 1>&6 |
4416 HAVE_TIMEVAL=yes | 4434 HAVE_TIMEVAL=yes |
4417 { test "$extra_verbose" = "yes" && cat << \EOF | 4435 { test "$extra_verbose" = "yes" && cat << \EOF |
4418 Defining HAVE_TIMEVAL | 4436 Defining HAVE_TIMEVAL |
4430 HAVE_TIMEVAL=no | 4448 HAVE_TIMEVAL=no |
4431 fi | 4449 fi |
4432 rm -f conftest* | 4450 rm -f conftest* |
4433 | 4451 |
4434 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4452 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4435 echo "configure:4436: checking whether struct tm is in sys/time.h or time.h" >&5 | 4453 echo "configure:4454: checking whether struct tm is in sys/time.h or time.h" >&5 |
4436 | 4454 |
4437 cat > conftest.$ac_ext <<EOF | 4455 cat > conftest.$ac_ext <<EOF |
4438 #line 4439 "configure" | 4456 #line 4457 "configure" |
4439 #include "confdefs.h" | 4457 #include "confdefs.h" |
4440 #include <sys/types.h> | 4458 #include <sys/types.h> |
4441 #include <time.h> | 4459 #include <time.h> |
4442 int main() { | 4460 int main() { |
4443 struct tm *tp; tp->tm_sec; | 4461 struct tm *tp; tp->tm_sec; |
4444 ; return 0; } | 4462 ; return 0; } |
4445 EOF | 4463 EOF |
4446 if { (eval echo configure:4447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4464 if { (eval echo configure:4465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4447 rm -rf conftest* | 4465 rm -rf conftest* |
4448 ac_cv_struct_tm=time.h | 4466 ac_cv_struct_tm=time.h |
4449 else | 4467 else |
4450 echo "configure: failed program was:" >&5 | 4468 echo "configure: failed program was:" >&5 |
4451 cat conftest.$ac_ext >&5 | 4469 cat conftest.$ac_ext >&5 |
4465 } | 4483 } |
4466 | 4484 |
4467 fi | 4485 fi |
4468 | 4486 |
4469 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4487 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4470 echo "configure:4471: checking for tm_zone in struct tm" >&5 | 4488 echo "configure:4489: checking for tm_zone in struct tm" >&5 |
4471 | 4489 |
4472 cat > conftest.$ac_ext <<EOF | 4490 cat > conftest.$ac_ext <<EOF |
4473 #line 4474 "configure" | 4491 #line 4492 "configure" |
4474 #include "confdefs.h" | 4492 #include "confdefs.h" |
4475 #include <sys/types.h> | 4493 #include <sys/types.h> |
4476 #include <$ac_cv_struct_tm> | 4494 #include <$ac_cv_struct_tm> |
4477 int main() { | 4495 int main() { |
4478 struct tm tm; tm.tm_zone; | 4496 struct tm tm; tm.tm_zone; |
4479 ; return 0; } | 4497 ; return 0; } |
4480 EOF | 4498 EOF |
4481 if { (eval echo configure:4482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4499 if { (eval echo configure:4500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4482 rm -rf conftest* | 4500 rm -rf conftest* |
4483 ac_cv_struct_tm_zone=yes | 4501 ac_cv_struct_tm_zone=yes |
4484 else | 4502 else |
4485 echo "configure: failed program was:" >&5 | 4503 echo "configure: failed program was:" >&5 |
4486 cat conftest.$ac_ext >&5 | 4504 cat conftest.$ac_ext >&5 |
4499 EOF | 4517 EOF |
4500 } | 4518 } |
4501 | 4519 |
4502 else | 4520 else |
4503 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4521 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4504 echo "configure:4505: checking for tzname" >&5 | 4522 echo "configure:4523: checking for tzname" >&5 |
4505 | 4523 |
4506 cat > conftest.$ac_ext <<EOF | 4524 cat > conftest.$ac_ext <<EOF |
4507 #line 4508 "configure" | 4525 #line 4526 "configure" |
4508 #include "confdefs.h" | 4526 #include "confdefs.h" |
4509 #include <time.h> | 4527 #include <time.h> |
4510 #ifndef tzname /* For SGI. */ | 4528 #ifndef tzname /* For SGI. */ |
4511 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4529 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4512 #endif | 4530 #endif |
4513 int main() { | 4531 int main() { |
4514 atoi(*tzname); | 4532 atoi(*tzname); |
4515 ; return 0; } | 4533 ; return 0; } |
4516 EOF | 4534 EOF |
4517 if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4518 rm -rf conftest* | 4536 rm -rf conftest* |
4519 ac_cv_var_tzname=yes | 4537 ac_cv_var_tzname=yes |
4520 else | 4538 else |
4521 echo "configure: failed program was:" >&5 | 4539 echo "configure: failed program was:" >&5 |
4522 cat conftest.$ac_ext >&5 | 4540 cat conftest.$ac_ext >&5 |
4538 fi | 4556 fi |
4539 fi | 4557 fi |
4540 | 4558 |
4541 | 4559 |
4542 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4560 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4543 echo "configure:4544: checking for working const" >&5 | 4561 echo "configure:4562: checking for working const" >&5 |
4544 | 4562 |
4545 cat > conftest.$ac_ext <<EOF | 4563 cat > conftest.$ac_ext <<EOF |
4546 #line 4547 "configure" | 4564 #line 4565 "configure" |
4547 #include "confdefs.h" | 4565 #include "confdefs.h" |
4548 | 4566 |
4549 int main() { | 4567 int main() { |
4550 | 4568 |
4551 /* Ultrix mips cc rejects this. */ | 4569 /* Ultrix mips cc rejects this. */ |
4590 const int foo = 10; | 4608 const int foo = 10; |
4591 } | 4609 } |
4592 | 4610 |
4593 ; return 0; } | 4611 ; return 0; } |
4594 EOF | 4612 EOF |
4595 if { (eval echo configure:4596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4613 if { (eval echo configure:4614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4596 rm -rf conftest* | 4614 rm -rf conftest* |
4597 ac_cv_c_const=yes | 4615 ac_cv_c_const=yes |
4598 else | 4616 else |
4599 echo "configure: failed program was:" >&5 | 4617 echo "configure: failed program was:" >&5 |
4600 cat conftest.$ac_ext >&5 | 4618 cat conftest.$ac_ext >&5 |
4615 | 4633 |
4616 fi | 4634 fi |
4617 | 4635 |
4618 | 4636 |
4619 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4637 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4620 echo "configure:4621: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4638 echo "configure:4639: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4621 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4639 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4622 | 4640 |
4623 cat > conftestmake <<\EOF | 4641 cat > conftestmake <<\EOF |
4624 all: | 4642 all: |
4625 @echo 'ac_maketemp="${MAKE}"' | 4643 @echo 'ac_maketemp="${MAKE}"' |
4640 SET_MAKE="MAKE=${MAKE-make}" | 4658 SET_MAKE="MAKE=${MAKE-make}" |
4641 fi | 4659 fi |
4642 | 4660 |
4643 | 4661 |
4644 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4662 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4645 echo "configure:4646: checking whether byte ordering is bigendian" >&5 | 4663 echo "configure:4664: checking whether byte ordering is bigendian" >&5 |
4646 | 4664 |
4647 ac_cv_c_bigendian=unknown | 4665 ac_cv_c_bigendian=unknown |
4648 # See if sys/param.h defines the BYTE_ORDER macro. | 4666 # See if sys/param.h defines the BYTE_ORDER macro. |
4649 cat > conftest.$ac_ext <<EOF | 4667 cat > conftest.$ac_ext <<EOF |
4650 #line 4651 "configure" | 4668 #line 4669 "configure" |
4651 #include "confdefs.h" | 4669 #include "confdefs.h" |
4652 #include <sys/types.h> | 4670 #include <sys/types.h> |
4653 #include <sys/param.h> | 4671 #include <sys/param.h> |
4654 int main() { | 4672 int main() { |
4655 | 4673 |
4656 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4674 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4657 bogus endian macros | 4675 bogus endian macros |
4658 #endif | 4676 #endif |
4659 ; return 0; } | 4677 ; return 0; } |
4660 EOF | 4678 EOF |
4661 if { (eval echo configure:4662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4679 if { (eval echo configure:4680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4662 rm -rf conftest* | 4680 rm -rf conftest* |
4663 # It does; now see whether it defined to BIG_ENDIAN or not. | 4681 # It does; now see whether it defined to BIG_ENDIAN or not. |
4664 cat > conftest.$ac_ext <<EOF | 4682 cat > conftest.$ac_ext <<EOF |
4665 #line 4666 "configure" | 4683 #line 4684 "configure" |
4666 #include "confdefs.h" | 4684 #include "confdefs.h" |
4667 #include <sys/types.h> | 4685 #include <sys/types.h> |
4668 #include <sys/param.h> | 4686 #include <sys/param.h> |
4669 int main() { | 4687 int main() { |
4670 | 4688 |
4671 #if BYTE_ORDER != BIG_ENDIAN | 4689 #if BYTE_ORDER != BIG_ENDIAN |
4672 not big endian | 4690 not big endian |
4673 #endif | 4691 #endif |
4674 ; return 0; } | 4692 ; return 0; } |
4675 EOF | 4693 EOF |
4676 if { (eval echo configure:4677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4694 if { (eval echo configure:4695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4677 rm -rf conftest* | 4695 rm -rf conftest* |
4678 ac_cv_c_bigendian=yes | 4696 ac_cv_c_bigendian=yes |
4679 else | 4697 else |
4680 echo "configure: failed program was:" >&5 | 4698 echo "configure: failed program was:" >&5 |
4681 cat conftest.$ac_ext >&5 | 4699 cat conftest.$ac_ext >&5 |
4688 cat conftest.$ac_ext >&5 | 4706 cat conftest.$ac_ext >&5 |
4689 fi | 4707 fi |
4690 rm -f conftest* | 4708 rm -f conftest* |
4691 if test $ac_cv_c_bigendian = unknown; then | 4709 if test $ac_cv_c_bigendian = unknown; then |
4692 cat > conftest.$ac_ext <<EOF | 4710 cat > conftest.$ac_ext <<EOF |
4693 #line 4694 "configure" | 4711 #line 4712 "configure" |
4694 #include "confdefs.h" | 4712 #include "confdefs.h" |
4695 main () { | 4713 main () { |
4696 /* Are we little or big endian? From Harbison&Steele. */ | 4714 /* Are we little or big endian? From Harbison&Steele. */ |
4697 union | 4715 union |
4698 { | 4716 { |
4701 } u; | 4719 } u; |
4702 u.l = 1; | 4720 u.l = 1; |
4703 exit (u.c[sizeof (long) - 1] == 1); | 4721 exit (u.c[sizeof (long) - 1] == 1); |
4704 } | 4722 } |
4705 EOF | 4723 EOF |
4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4724 if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4707 then | 4725 then |
4708 ac_cv_c_bigendian=no | 4726 ac_cv_c_bigendian=no |
4709 else | 4727 else |
4710 conftest_rc="$?" | 4728 conftest_rc="$?" |
4711 echo "configure: failed program was:" >&5 | 4729 echo "configure: failed program was:" >&5 |
4728 | 4746 |
4729 fi | 4747 fi |
4730 | 4748 |
4731 | 4749 |
4732 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4750 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4733 echo "configure:4734: checking size of short" >&5 | 4751 echo "configure:4752: checking size of short" >&5 |
4734 | 4752 |
4735 cat > conftest.$ac_ext <<EOF | 4753 cat > conftest.$ac_ext <<EOF |
4736 #line 4737 "configure" | 4754 #line 4755 "configure" |
4737 #include "confdefs.h" | 4755 #include "confdefs.h" |
4738 #include <stdio.h> | 4756 #include <stdio.h> |
4739 #include <sys/types.h> | 4757 #include <sys/types.h> |
4740 main() | 4758 main() |
4741 { | 4759 { |
4743 if (!f) exit(1); | 4761 if (!f) exit(1); |
4744 fprintf(f, "%d\n", sizeof(short)); | 4762 fprintf(f, "%d\n", sizeof(short)); |
4745 exit(0); | 4763 exit(0); |
4746 } | 4764 } |
4747 EOF | 4765 EOF |
4748 if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4766 if { (eval echo configure:4767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4749 then | 4767 then |
4750 ac_cv_sizeof_short=`cat conftestval` | 4768 ac_cv_sizeof_short=`cat conftestval` |
4751 else | 4769 else |
4752 conftest_rc="$?" | 4770 conftest_rc="$?" |
4753 echo "configure: failed program was:" >&5 | 4771 echo "configure: failed program was:" >&5 |
4771 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4789 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4772 echo "*** PANIC *** Please examine config.log for compilation errors." | 4790 echo "*** PANIC *** Please examine config.log for compilation errors." |
4773 exit 1 | 4791 exit 1 |
4774 fi | 4792 fi |
4775 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4793 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4776 echo "configure:4777: checking size of int" >&5 | 4794 echo "configure:4795: checking size of int" >&5 |
4777 | 4795 |
4778 cat > conftest.$ac_ext <<EOF | 4796 cat > conftest.$ac_ext <<EOF |
4779 #line 4780 "configure" | 4797 #line 4798 "configure" |
4780 #include "confdefs.h" | 4798 #include "confdefs.h" |
4781 #include <stdio.h> | 4799 #include <stdio.h> |
4782 #include <sys/types.h> | 4800 #include <sys/types.h> |
4783 main() | 4801 main() |
4784 { | 4802 { |
4786 if (!f) exit(1); | 4804 if (!f) exit(1); |
4787 fprintf(f, "%d\n", sizeof(int)); | 4805 fprintf(f, "%d\n", sizeof(int)); |
4788 exit(0); | 4806 exit(0); |
4789 } | 4807 } |
4790 EOF | 4808 EOF |
4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4809 if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4792 then | 4810 then |
4793 ac_cv_sizeof_int=`cat conftestval` | 4811 ac_cv_sizeof_int=`cat conftestval` |
4794 else | 4812 else |
4795 conftest_rc="$?" | 4813 conftest_rc="$?" |
4796 echo "configure: failed program was:" >&5 | 4814 echo "configure: failed program was:" >&5 |
4808 EOF | 4826 EOF |
4809 } | 4827 } |
4810 | 4828 |
4811 | 4829 |
4812 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4830 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4813 echo "configure:4814: checking size of long" >&5 | 4831 echo "configure:4832: checking size of long" >&5 |
4814 | 4832 |
4815 cat > conftest.$ac_ext <<EOF | 4833 cat > conftest.$ac_ext <<EOF |
4816 #line 4817 "configure" | 4834 #line 4835 "configure" |
4817 #include "confdefs.h" | 4835 #include "confdefs.h" |
4818 #include <stdio.h> | 4836 #include <stdio.h> |
4819 #include <sys/types.h> | 4837 #include <sys/types.h> |
4820 main() | 4838 main() |
4821 { | 4839 { |
4823 if (!f) exit(1); | 4841 if (!f) exit(1); |
4824 fprintf(f, "%d\n", sizeof(long)); | 4842 fprintf(f, "%d\n", sizeof(long)); |
4825 exit(0); | 4843 exit(0); |
4826 } | 4844 } |
4827 EOF | 4845 EOF |
4828 if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4846 if { (eval echo configure:4847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4829 then | 4847 then |
4830 ac_cv_sizeof_long=`cat conftestval` | 4848 ac_cv_sizeof_long=`cat conftestval` |
4831 else | 4849 else |
4832 conftest_rc="$?" | 4850 conftest_rc="$?" |
4833 echo "configure: failed program was:" >&5 | 4851 echo "configure: failed program was:" >&5 |
4845 EOF | 4863 EOF |
4846 } | 4864 } |
4847 | 4865 |
4848 | 4866 |
4849 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4867 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4850 echo "configure:4851: checking size of long long" >&5 | 4868 echo "configure:4869: checking size of long long" >&5 |
4851 | 4869 |
4852 cat > conftest.$ac_ext <<EOF | 4870 cat > conftest.$ac_ext <<EOF |
4853 #line 4854 "configure" | 4871 #line 4872 "configure" |
4854 #include "confdefs.h" | 4872 #include "confdefs.h" |
4855 #include <stdio.h> | 4873 #include <stdio.h> |
4856 #include <sys/types.h> | 4874 #include <sys/types.h> |
4857 main() | 4875 main() |
4858 { | 4876 { |
4860 if (!f) exit(1); | 4878 if (!f) exit(1); |
4861 fprintf(f, "%d\n", sizeof(long long)); | 4879 fprintf(f, "%d\n", sizeof(long long)); |
4862 exit(0); | 4880 exit(0); |
4863 } | 4881 } |
4864 EOF | 4882 EOF |
4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4866 then | 4884 then |
4867 ac_cv_sizeof_long_long=`cat conftestval` | 4885 ac_cv_sizeof_long_long=`cat conftestval` |
4868 else | 4886 else |
4869 conftest_rc="$?" | 4887 conftest_rc="$?" |
4870 echo "configure: failed program was:" >&5 | 4888 echo "configure: failed program was:" >&5 |
4882 EOF | 4900 EOF |
4883 } | 4901 } |
4884 | 4902 |
4885 | 4903 |
4886 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4904 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4887 echo "configure:4888: checking size of void *" >&5 | 4905 echo "configure:4906: checking size of void *" >&5 |
4888 | 4906 |
4889 cat > conftest.$ac_ext <<EOF | 4907 cat > conftest.$ac_ext <<EOF |
4890 #line 4891 "configure" | 4908 #line 4909 "configure" |
4891 #include "confdefs.h" | 4909 #include "confdefs.h" |
4892 #include <stdio.h> | 4910 #include <stdio.h> |
4893 #include <sys/types.h> | 4911 #include <sys/types.h> |
4894 main() | 4912 main() |
4895 { | 4913 { |
4897 if (!f) exit(1); | 4915 if (!f) exit(1); |
4898 fprintf(f, "%d\n", sizeof(void *)); | 4916 fprintf(f, "%d\n", sizeof(void *)); |
4899 exit(0); | 4917 exit(0); |
4900 } | 4918 } |
4901 EOF | 4919 EOF |
4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4920 if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4903 then | 4921 then |
4904 ac_cv_sizeof_void_p=`cat conftestval` | 4922 ac_cv_sizeof_void_p=`cat conftestval` |
4905 else | 4923 else |
4906 conftest_rc="$?" | 4924 conftest_rc="$?" |
4907 echo "configure: failed program was:" >&5 | 4925 echo "configure: failed program was:" >&5 |
4920 } | 4938 } |
4921 | 4939 |
4922 | 4940 |
4923 | 4941 |
4924 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4942 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4925 echo "configure:4926: checking for long file names" >&5 | 4943 echo "configure:4944: checking for long file names" >&5 |
4926 | 4944 |
4927 ac_cv_sys_long_file_names=yes | 4945 ac_cv_sys_long_file_names=yes |
4928 # Test for long file names in all the places we know might matter: | 4946 # Test for long file names in all the places we know might matter: |
4929 # . the current directory, where building will happen | 4947 # . the current directory, where building will happen |
4930 # $prefix/lib where we will be installing things | 4948 # $prefix/lib where we will be installing things |
4966 | 4984 |
4967 fi | 4985 fi |
4968 | 4986 |
4969 | 4987 |
4970 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4988 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4971 echo "configure:4972: checking for sin" >&5 | 4989 echo "configure:4990: checking for sin" >&5 |
4972 | 4990 |
4973 cat > conftest.$ac_ext <<EOF | 4991 cat > conftest.$ac_ext <<EOF |
4974 #line 4975 "configure" | 4992 #line 4993 "configure" |
4975 #include "confdefs.h" | 4993 #include "confdefs.h" |
4976 /* System header to define __stub macros and hopefully few prototypes, | 4994 /* System header to define __stub macros and hopefully few prototypes, |
4977 which can conflict with char sin(); below. */ | 4995 which can conflict with char sin(); below. */ |
4978 #include <assert.h> | 4996 #include <assert.h> |
4979 /* Override any gcc2 internal prototype to avoid an error. */ | 4997 /* Override any gcc2 internal prototype to avoid an error. */ |
4992 sin(); | 5010 sin(); |
4993 #endif | 5011 #endif |
4994 | 5012 |
4995 ; return 0; } | 5013 ; return 0; } |
4996 EOF | 5014 EOF |
4997 if { (eval echo configure:4998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5015 if { (eval echo configure:5016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4998 rm -rf conftest* | 5016 rm -rf conftest* |
4999 eval "ac_cv_func_sin=yes" | 5017 eval "ac_cv_func_sin=yes" |
5000 else | 5018 else |
5001 echo "configure: failed program was:" >&5 | 5019 echo "configure: failed program was:" >&5 |
5002 cat conftest.$ac_ext >&5 | 5020 cat conftest.$ac_ext >&5 |
5010 : | 5028 : |
5011 else | 5029 else |
5012 echo "$ac_t""no" 1>&6 | 5030 echo "$ac_t""no" 1>&6 |
5013 | 5031 |
5014 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5032 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5015 echo "configure:5016: checking for sin in -lm" >&5 | 5033 echo "configure:5034: checking for sin in -lm" >&5 |
5016 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5034 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5017 | 5035 |
5018 xe_check_libs=" -lm " | 5036 xe_check_libs=" -lm " |
5019 cat > conftest.$ac_ext <<EOF | 5037 cat > conftest.$ac_ext <<EOF |
5020 #line 5021 "configure" | 5038 #line 5039 "configure" |
5021 #include "confdefs.h" | 5039 #include "confdefs.h" |
5022 /* Override any gcc2 internal prototype to avoid an error. */ | 5040 /* Override any gcc2 internal prototype to avoid an error. */ |
5023 /* We use char because int might match the return type of a gcc2 | 5041 /* We use char because int might match the return type of a gcc2 |
5024 builtin and then its argument prototype would still apply. */ | 5042 builtin and then its argument prototype would still apply. */ |
5025 char sin(); | 5043 char sin(); |
5026 | 5044 |
5027 int main() { | 5045 int main() { |
5028 sin() | 5046 sin() |
5029 ; return 0; } | 5047 ; return 0; } |
5030 EOF | 5048 EOF |
5031 if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5049 if { (eval echo configure:5050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5032 rm -rf conftest* | 5050 rm -rf conftest* |
5033 eval "ac_cv_lib_$ac_lib_var=yes" | 5051 eval "ac_cv_lib_$ac_lib_var=yes" |
5034 else | 5052 else |
5035 echo "configure: failed program was:" >&5 | 5053 echo "configure: failed program was:" >&5 |
5036 cat conftest.$ac_ext >&5 | 5054 cat conftest.$ac_ext >&5 |
5061 | 5079 |
5062 fi | 5080 fi |
5063 | 5081 |
5064 | 5082 |
5065 cat > conftest.$ac_ext <<EOF | 5083 cat > conftest.$ac_ext <<EOF |
5066 #line 5067 "configure" | 5084 #line 5085 "configure" |
5067 #include "confdefs.h" | 5085 #include "confdefs.h" |
5068 #include <math.h> | 5086 #include <math.h> |
5069 int main() { | 5087 int main() { |
5070 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5088 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5071 ; return 0; } | 5089 ; return 0; } |
5072 EOF | 5090 EOF |
5073 if { (eval echo configure:5074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5091 if { (eval echo configure:5092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5074 rm -rf conftest* | 5092 rm -rf conftest* |
5075 { test "$extra_verbose" = "yes" && cat << \EOF | 5093 { test "$extra_verbose" = "yes" && cat << \EOF |
5076 Defining HAVE_INVERSE_HYPERBOLIC | 5094 Defining HAVE_INVERSE_HYPERBOLIC |
5077 EOF | 5095 EOF |
5078 cat >> confdefs.h <<\EOF | 5096 cat >> confdefs.h <<\EOF |
5087 rm -f conftest* | 5105 rm -f conftest* |
5088 | 5106 |
5089 for ac_func in mkstemp | 5107 for ac_func in mkstemp |
5090 do | 5108 do |
5091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5092 echo "configure:5093: checking for $ac_func" >&5 | 5110 echo "configure:5111: checking for $ac_func" >&5 |
5093 | 5111 |
5094 cat > conftest.$ac_ext <<EOF | 5112 cat > conftest.$ac_ext <<EOF |
5095 #line 5096 "configure" | 5113 #line 5114 "configure" |
5096 #include "confdefs.h" | 5114 #include "confdefs.h" |
5097 /* System header to define __stub macros and hopefully few prototypes, | 5115 /* System header to define __stub macros and hopefully few prototypes, |
5098 which can conflict with char $ac_func(); below. */ | 5116 which can conflict with char $ac_func(); below. */ |
5099 #include <assert.h> | 5117 #include <assert.h> |
5100 /* Override any gcc2 internal prototype to avoid an error. */ | 5118 /* Override any gcc2 internal prototype to avoid an error. */ |
5113 $ac_func(); | 5131 $ac_func(); |
5114 #endif | 5132 #endif |
5115 | 5133 |
5116 ; return 0; } | 5134 ; return 0; } |
5117 EOF | 5135 EOF |
5118 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5136 if { (eval echo configure:5137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5119 rm -rf conftest* | 5137 rm -rf conftest* |
5120 eval "ac_cv_func_$ac_func=yes" | 5138 eval "ac_cv_func_$ac_func=yes" |
5121 else | 5139 else |
5122 echo "configure: failed program was:" >&5 | 5140 echo "configure: failed program was:" >&5 |
5123 cat conftest.$ac_ext >&5 | 5141 cat conftest.$ac_ext >&5 |
5142 fi | 5160 fi |
5143 done | 5161 done |
5144 | 5162 |
5145 | 5163 |
5146 echo "checking type of mail spool file locking" 1>&6 | 5164 echo "checking type of mail spool file locking" 1>&6 |
5147 echo "configure:5148: checking type of mail spool file locking" >&5 | 5165 echo "configure:5166: checking type of mail spool file locking" >&5 |
5148 for ac_func in lockf flock | 5166 for ac_func in lockf flock |
5149 do | 5167 do |
5150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5151 echo "configure:5152: checking for $ac_func" >&5 | 5169 echo "configure:5170: checking for $ac_func" >&5 |
5152 | 5170 |
5153 cat > conftest.$ac_ext <<EOF | 5171 cat > conftest.$ac_ext <<EOF |
5154 #line 5155 "configure" | 5172 #line 5173 "configure" |
5155 #include "confdefs.h" | 5173 #include "confdefs.h" |
5156 /* System header to define __stub macros and hopefully few prototypes, | 5174 /* System header to define __stub macros and hopefully few prototypes, |
5157 which can conflict with char $ac_func(); below. */ | 5175 which can conflict with char $ac_func(); below. */ |
5158 #include <assert.h> | 5176 #include <assert.h> |
5159 /* Override any gcc2 internal prototype to avoid an error. */ | 5177 /* Override any gcc2 internal prototype to avoid an error. */ |
5172 $ac_func(); | 5190 $ac_func(); |
5173 #endif | 5191 #endif |
5174 | 5192 |
5175 ; return 0; } | 5193 ; return 0; } |
5176 EOF | 5194 EOF |
5177 if { (eval echo configure:5178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5178 rm -rf conftest* | 5196 rm -rf conftest* |
5179 eval "ac_cv_func_$ac_func=yes" | 5197 eval "ac_cv_func_$ac_func=yes" |
5180 else | 5198 else |
5181 echo "configure: failed program was:" >&5 | 5199 echo "configure: failed program was:" >&5 |
5182 cat conftest.$ac_ext >&5 | 5200 cat conftest.$ac_ext >&5 |
5254 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5272 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5255 | 5273 |
5256 case "$opsys" in decosf*) | 5274 case "$opsys" in decosf*) |
5257 | 5275 |
5258 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5276 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5259 echo "configure:5260: checking for cma_open in -lpthreads" >&5 | 5277 echo "configure:5278: checking for cma_open in -lpthreads" >&5 |
5260 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5278 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5261 | 5279 |
5262 xe_check_libs=" -lpthreads " | 5280 xe_check_libs=" -lpthreads " |
5263 cat > conftest.$ac_ext <<EOF | 5281 cat > conftest.$ac_ext <<EOF |
5264 #line 5265 "configure" | 5282 #line 5283 "configure" |
5265 #include "confdefs.h" | 5283 #include "confdefs.h" |
5266 /* Override any gcc2 internal prototype to avoid an error. */ | 5284 /* Override any gcc2 internal prototype to avoid an error. */ |
5267 /* We use char because int might match the return type of a gcc2 | 5285 /* We use char because int might match the return type of a gcc2 |
5268 builtin and then its argument prototype would still apply. */ | 5286 builtin and then its argument prototype would still apply. */ |
5269 char cma_open(); | 5287 char cma_open(); |
5270 | 5288 |
5271 int main() { | 5289 int main() { |
5272 cma_open() | 5290 cma_open() |
5273 ; return 0; } | 5291 ; return 0; } |
5274 EOF | 5292 EOF |
5275 if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5293 if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5276 rm -rf conftest* | 5294 rm -rf conftest* |
5277 eval "ac_cv_lib_$ac_lib_var=yes" | 5295 eval "ac_cv_lib_$ac_lib_var=yes" |
5278 else | 5296 else |
5279 echo "configure: failed program was:" >&5 | 5297 echo "configure: failed program was:" >&5 |
5280 cat conftest.$ac_ext >&5 | 5298 cat conftest.$ac_ext >&5 |
5307 c_switch_site="$c_switch_site -threads" ;; | 5325 c_switch_site="$c_switch_site -threads" ;; |
5308 esac | 5326 esac |
5309 | 5327 |
5310 | 5328 |
5311 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5329 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5312 echo "configure:5313: checking whether the -xildoff compiler flag is required" >&5 | 5330 echo "configure:5331: checking whether the -xildoff compiler flag is required" >&5 |
5313 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5331 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5314 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5332 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5315 then echo "$ac_t""no" 1>&6; | 5333 then echo "$ac_t""no" 1>&6; |
5316 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 | 5334 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 |
5317 fi | 5335 fi |
5319 fi | 5337 fi |
5320 | 5338 |
5321 if test "$opsys" = "sol2"; then | 5339 if test "$opsys" = "sol2"; then |
5322 if test "$os_release" -ge 506; then | 5340 if test "$os_release" -ge 506; then |
5323 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5341 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5324 echo "configure:5325: checking for \"-z ignore\" linker flag" >&5 | 5342 echo "configure:5343: checking for \"-z ignore\" linker flag" >&5 |
5325 case "`ld -h 2>&1`" in | 5343 case "`ld -h 2>&1`" in |
5326 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5344 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5327 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5345 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5328 *) echo "$ac_t""no" 1>&6 ;; | 5346 *) echo "$ac_t""no" 1>&6 ;; |
5329 esac | 5347 esac |
5330 fi | 5348 fi |
5331 fi | 5349 fi |
5332 | 5350 |
5333 | 5351 |
5334 echo "checking "for specified window system"" 1>&6 | 5352 echo "checking "for specified window system"" 1>&6 |
5335 echo "configure:5336: checking "for specified window system"" >&5 | 5353 echo "configure:5354: checking "for specified window system"" >&5 |
5336 | 5354 |
5337 | 5355 |
5338 GNOME_CONFIG=no | 5356 GNOME_CONFIG=no |
5339 GTK_CONFIG=no | 5357 GTK_CONFIG=no |
5340 | 5358 |
5341 if test "$with_gnome" != "no"; then | 5359 if test "$with_gnome" != "no"; then |
5342 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5360 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5343 echo "configure:5344: checking for GNOME configuration script" >&5 | 5361 echo "configure:5362: checking for GNOME configuration script" >&5 |
5344 for possible in gnome-config | 5362 for possible in gnome-config |
5345 do | 5363 do |
5346 possible_version=`${possible} --version 2> /dev/null` | 5364 possible_version=`${possible} --version 2> /dev/null` |
5347 if test "x${possible_version}" != "x"; then | 5365 if test "x${possible_version}" != "x"; then |
5348 GNOME_CONFIG="${possible}" | 5366 GNOME_CONFIG="${possible}" |
5369 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5387 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5370 fi | 5388 fi |
5371 | 5389 |
5372 if test "$with_gtk" != "no";then | 5390 if test "$with_gtk" != "no";then |
5373 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5391 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5374 echo "configure:5375: checking for GTK configuration script" >&5 | 5392 echo "configure:5393: checking for GTK configuration script" >&5 |
5375 for possible in gtk12-config gtk14-config gtk-config | 5393 for possible in gtk12-config gtk14-config gtk-config |
5376 do | 5394 do |
5377 possible_version=`${possible} --version 2> /dev/null` | 5395 possible_version=`${possible} --version 2> /dev/null` |
5378 if test "x${possible_version}" != "x"; then | 5396 if test "x${possible_version}" != "x"; then |
5379 GTK_CONFIG="${possible}" | 5397 GTK_CONFIG="${possible}" |
5391 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5409 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5392 fi | 5410 fi |
5393 | 5411 |
5394 if test "${GTK_CONFIG}" != "no"; then | 5412 if test "${GTK_CONFIG}" != "no"; then |
5395 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5413 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5396 echo "configure:5397: checking gtk version" >&5 | 5414 echo "configure:5415: checking gtk version" >&5 |
5397 GTK_VERSION=`${GTK_CONFIG} --version` | 5415 GTK_VERSION=`${GTK_CONFIG} --version` |
5398 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5416 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5399 | 5417 |
5400 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5418 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5401 echo "configure:5402: checking gtk libs" >&5 | 5419 echo "configure:5420: checking gtk libs" >&5 |
5402 GTK_LIBS=`${GTK_CONFIG} --libs` | 5420 GTK_LIBS=`${GTK_CONFIG} --libs` |
5403 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5421 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5404 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5422 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5405 | 5423 |
5406 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5424 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5407 echo "configure:5408: checking gtk cflags" >&5 | 5425 echo "configure:5426: checking gtk cflags" >&5 |
5408 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5426 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5409 if test "$GCC" = "yes"; then | 5427 if test "$GCC" = "yes"; then |
5410 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5428 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5411 fi | 5429 fi |
5412 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5430 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5413 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5431 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5414 | 5432 |
5415 | 5433 |
5416 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5434 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5417 echo "configure:5418: checking for main in -lgdk_imlib" >&5 | 5435 echo "configure:5436: checking for main in -lgdk_imlib" >&5 |
5418 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5436 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5419 | 5437 |
5420 xe_check_libs=" -lgdk_imlib " | 5438 xe_check_libs=" -lgdk_imlib " |
5421 cat > conftest.$ac_ext <<EOF | 5439 cat > conftest.$ac_ext <<EOF |
5422 #line 5423 "configure" | 5440 #line 5441 "configure" |
5423 #include "confdefs.h" | 5441 #include "confdefs.h" |
5424 | 5442 |
5425 int main() { | 5443 int main() { |
5426 main() | 5444 main() |
5427 ; return 0; } | 5445 ; return 0; } |
5428 EOF | 5446 EOF |
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5447 if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5430 rm -rf conftest* | 5448 rm -rf conftest* |
5431 eval "ac_cv_lib_$ac_lib_var=yes" | 5449 eval "ac_cv_lib_$ac_lib_var=yes" |
5432 else | 5450 else |
5433 echo "configure: failed program was:" >&5 | 5451 echo "configure: failed program was:" >&5 |
5434 cat conftest.$ac_ext >&5 | 5452 cat conftest.$ac_ext >&5 |
5446 fi | 5464 fi |
5447 | 5465 |
5448 | 5466 |
5449 | 5467 |
5450 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5468 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5451 echo "configure:5452: checking for Imlib_init in -lImlib" >&5 | 5469 echo "configure:5470: checking for Imlib_init in -lImlib" >&5 |
5452 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5470 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5453 | 5471 |
5454 xe_check_libs=" -lImlib " | 5472 xe_check_libs=" -lImlib " |
5455 cat > conftest.$ac_ext <<EOF | 5473 cat > conftest.$ac_ext <<EOF |
5456 #line 5457 "configure" | 5474 #line 5475 "configure" |
5457 #include "confdefs.h" | 5475 #include "confdefs.h" |
5458 /* Override any gcc2 internal prototype to avoid an error. */ | 5476 /* Override any gcc2 internal prototype to avoid an error. */ |
5459 /* We use char because int might match the return type of a gcc2 | 5477 /* We use char because int might match the return type of a gcc2 |
5460 builtin and then its argument prototype would still apply. */ | 5478 builtin and then its argument prototype would still apply. */ |
5461 char Imlib_init(); | 5479 char Imlib_init(); |
5462 | 5480 |
5463 int main() { | 5481 int main() { |
5464 Imlib_init() | 5482 Imlib_init() |
5465 ; return 0; } | 5483 ; return 0; } |
5466 EOF | 5484 EOF |
5467 if { (eval echo configure:5468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5485 if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5468 rm -rf conftest* | 5486 rm -rf conftest* |
5469 eval "ac_cv_lib_$ac_lib_var=yes" | 5487 eval "ac_cv_lib_$ac_lib_var=yes" |
5470 else | 5488 else |
5471 echo "configure: failed program was:" >&5 | 5489 echo "configure: failed program was:" >&5 |
5472 cat conftest.$ac_ext >&5 | 5490 cat conftest.$ac_ext >&5 |
5485 | 5503 |
5486 | 5504 |
5487 for ac_func in gdk_imlib_init | 5505 for ac_func in gdk_imlib_init |
5488 do | 5506 do |
5489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5490 echo "configure:5491: checking for $ac_func" >&5 | 5508 echo "configure:5509: checking for $ac_func" >&5 |
5491 | 5509 |
5492 cat > conftest.$ac_ext <<EOF | 5510 cat > conftest.$ac_ext <<EOF |
5493 #line 5494 "configure" | 5511 #line 5512 "configure" |
5494 #include "confdefs.h" | 5512 #include "confdefs.h" |
5495 /* System header to define __stub macros and hopefully few prototypes, | 5513 /* System header to define __stub macros and hopefully few prototypes, |
5496 which can conflict with char $ac_func(); below. */ | 5514 which can conflict with char $ac_func(); below. */ |
5497 #include <assert.h> | 5515 #include <assert.h> |
5498 /* Override any gcc2 internal prototype to avoid an error. */ | 5516 /* Override any gcc2 internal prototype to avoid an error. */ |
5511 $ac_func(); | 5529 $ac_func(); |
5512 #endif | 5530 #endif |
5513 | 5531 |
5514 ; return 0; } | 5532 ; return 0; } |
5515 EOF | 5533 EOF |
5516 if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5534 if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5517 rm -rf conftest* | 5535 rm -rf conftest* |
5518 eval "ac_cv_func_$ac_func=yes" | 5536 eval "ac_cv_func_$ac_func=yes" |
5519 else | 5537 else |
5520 echo "configure: failed program was:" >&5 | 5538 echo "configure: failed program was:" >&5 |
5521 cat conftest.$ac_ext >&5 | 5539 cat conftest.$ac_ext >&5 |
5577 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5595 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5578 for ac_hdr in glade/glade.h glade.h | 5596 for ac_hdr in glade/glade.h glade.h |
5579 do | 5597 do |
5580 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5581 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5582 echo "configure:5583: checking for $ac_hdr" >&5 | 5600 echo "configure:5601: checking for $ac_hdr" >&5 |
5583 | 5601 |
5584 cat > conftest.$ac_ext <<EOF | 5602 cat > conftest.$ac_ext <<EOF |
5585 #line 5586 "configure" | 5603 #line 5604 "configure" |
5586 #include "confdefs.h" | 5604 #include "confdefs.h" |
5587 #include <$ac_hdr> | 5605 #include <$ac_hdr> |
5588 EOF | 5606 EOF |
5589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5590 { (eval echo configure:5591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5608 { (eval echo configure:5609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5592 if test -z "$ac_err"; then | 5610 if test -z "$ac_err"; then |
5593 rm -rf conftest* | 5611 rm -rf conftest* |
5594 eval "ac_cv_header_$ac_safe=yes" | 5612 eval "ac_cv_header_$ac_safe=yes" |
5595 else | 5613 else |
5616 fi | 5634 fi |
5617 done | 5635 done |
5618 | 5636 |
5619 | 5637 |
5620 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5638 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5621 echo "configure:5622: checking for main in -lxml" >&5 | 5639 echo "configure:5640: checking for main in -lxml" >&5 |
5622 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5640 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5623 | 5641 |
5624 xe_check_libs=" -lxml " | 5642 xe_check_libs=" -lxml " |
5625 cat > conftest.$ac_ext <<EOF | 5643 cat > conftest.$ac_ext <<EOF |
5626 #line 5627 "configure" | 5644 #line 5645 "configure" |
5627 #include "confdefs.h" | 5645 #include "confdefs.h" |
5628 | 5646 |
5629 int main() { | 5647 int main() { |
5630 main() | 5648 main() |
5631 ; return 0; } | 5649 ; return 0; } |
5632 EOF | 5650 EOF |
5633 if { (eval echo configure:5634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5651 if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5634 rm -rf conftest* | 5652 rm -rf conftest* |
5635 eval "ac_cv_lib_$ac_lib_var=yes" | 5653 eval "ac_cv_lib_$ac_lib_var=yes" |
5636 else | 5654 else |
5637 echo "configure: failed program was:" >&5 | 5655 echo "configure: failed program was:" >&5 |
5638 cat conftest.$ac_ext >&5 | 5656 cat conftest.$ac_ext >&5 |
5650 fi | 5668 fi |
5651 | 5669 |
5652 | 5670 |
5653 | 5671 |
5654 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5672 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5655 echo "configure:5656: checking for main in -lglade" >&5 | 5673 echo "configure:5674: checking for main in -lglade" >&5 |
5656 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5674 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5657 | 5675 |
5658 xe_check_libs=" -lglade " | 5676 xe_check_libs=" -lglade " |
5659 cat > conftest.$ac_ext <<EOF | 5677 cat > conftest.$ac_ext <<EOF |
5660 #line 5661 "configure" | 5678 #line 5679 "configure" |
5661 #include "confdefs.h" | 5679 #include "confdefs.h" |
5662 | 5680 |
5663 int main() { | 5681 int main() { |
5664 main() | 5682 main() |
5665 ; return 0; } | 5683 ; return 0; } |
5666 EOF | 5684 EOF |
5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5668 rm -rf conftest* | 5686 rm -rf conftest* |
5669 eval "ac_cv_lib_$ac_lib_var=yes" | 5687 eval "ac_cv_lib_$ac_lib_var=yes" |
5670 else | 5688 else |
5671 echo "configure: failed program was:" >&5 | 5689 echo "configure: failed program was:" >&5 |
5672 cat conftest.$ac_ext >&5 | 5690 cat conftest.$ac_ext >&5 |
5684 fi | 5702 fi |
5685 | 5703 |
5686 | 5704 |
5687 | 5705 |
5688 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5706 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5689 echo "configure:5690: checking for main in -lglade-gnome" >&5 | 5707 echo "configure:5708: checking for main in -lglade-gnome" >&5 |
5690 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5708 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5691 | 5709 |
5692 xe_check_libs=" -lglade-gnome " | 5710 xe_check_libs=" -lglade-gnome " |
5693 cat > conftest.$ac_ext <<EOF | 5711 cat > conftest.$ac_ext <<EOF |
5694 #line 5695 "configure" | 5712 #line 5713 "configure" |
5695 #include "confdefs.h" | 5713 #include "confdefs.h" |
5696 | 5714 |
5697 int main() { | 5715 int main() { |
5698 main() | 5716 main() |
5699 ; return 0; } | 5717 ; return 0; } |
5700 EOF | 5718 EOF |
5701 if { (eval echo configure:5702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5719 if { (eval echo configure:5720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5702 rm -rf conftest* | 5720 rm -rf conftest* |
5703 eval "ac_cv_lib_$ac_lib_var=yes" | 5721 eval "ac_cv_lib_$ac_lib_var=yes" |
5704 else | 5722 else |
5705 echo "configure: failed program was:" >&5 | 5723 echo "configure: failed program was:" >&5 |
5706 cat conftest.$ac_ext >&5 | 5724 cat conftest.$ac_ext >&5 |
5717 echo "$ac_t""no" 1>&6 | 5735 echo "$ac_t""no" 1>&6 |
5718 fi | 5736 fi |
5719 | 5737 |
5720 | 5738 |
5721 cat > conftest.$ac_ext <<EOF | 5739 cat > conftest.$ac_ext <<EOF |
5722 #line 5723 "configure" | 5740 #line 5741 "configure" |
5723 #include "confdefs.h" | 5741 #include "confdefs.h" |
5724 #include <glade/glade-xml.h> | 5742 #include <glade/glade-xml.h> |
5725 EOF | 5743 EOF |
5726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5727 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5745 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5776 # If we find X, set shell vars x_includes and x_libraries to the | 5794 # If we find X, set shell vars x_includes and x_libraries to the |
5777 # paths, otherwise set no_x=yes. | 5795 # paths, otherwise set no_x=yes. |
5778 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5796 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5779 # --without-x overrides everything else, but does not touch the cache. | 5797 # --without-x overrides everything else, but does not touch the cache. |
5780 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5798 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5781 echo "configure:5782: checking for X" >&5 | 5799 echo "configure:5800: checking for X" >&5 |
5782 | 5800 |
5783 # Check whether --with-x or --without-x was given. | 5801 # Check whether --with-x or --without-x was given. |
5784 if test "${with_x+set}" = set; then | 5802 if test "${with_x+set}" = set; then |
5785 withval="$with_x" | 5803 withval="$with_x" |
5786 : | 5804 : |
5836 # Guess where to find include files, by looking for this one X11 .h file. | 5854 # Guess where to find include files, by looking for this one X11 .h file. |
5837 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5855 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5838 | 5856 |
5839 # First, try using that file with no special directory specified. | 5857 # First, try using that file with no special directory specified. |
5840 cat > conftest.$ac_ext <<EOF | 5858 cat > conftest.$ac_ext <<EOF |
5841 #line 5842 "configure" | 5859 #line 5860 "configure" |
5842 #include "confdefs.h" | 5860 #include "confdefs.h" |
5843 #include <$x_direct_test_include> | 5861 #include <$x_direct_test_include> |
5844 EOF | 5862 EOF |
5845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5846 { (eval echo configure:5847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5864 { (eval echo configure:5865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5848 if test -z "$ac_err"; then | 5866 if test -z "$ac_err"; then |
5849 rm -rf conftest* | 5867 rm -rf conftest* |
5850 # We can compile using X headers with no special include directory. | 5868 # We can compile using X headers with no special include directory. |
5851 ac_x_includes= | 5869 ac_x_includes= |
5910 # See if we find them without any special options. | 5928 # See if we find them without any special options. |
5911 # Don't add to $LIBS permanently. | 5929 # Don't add to $LIBS permanently. |
5912 ac_save_LIBS="$LIBS" | 5930 ac_save_LIBS="$LIBS" |
5913 LIBS="-l$x_direct_test_library $LIBS" | 5931 LIBS="-l$x_direct_test_library $LIBS" |
5914 cat > conftest.$ac_ext <<EOF | 5932 cat > conftest.$ac_ext <<EOF |
5915 #line 5916 "configure" | 5933 #line 5934 "configure" |
5916 #include "confdefs.h" | 5934 #include "confdefs.h" |
5917 | 5935 |
5918 int main() { | 5936 int main() { |
5919 ${x_direct_test_function}() | 5937 ${x_direct_test_function}() |
5920 ; return 0; } | 5938 ; return 0; } |
5921 EOF | 5939 EOF |
5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5940 if { (eval echo configure:5941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5923 rm -rf conftest* | 5941 rm -rf conftest* |
5924 LIBS="$ac_save_LIBS" | 5942 LIBS="$ac_save_LIBS" |
5925 # We can link X programs with no special library path. | 5943 # We can link X programs with no special library path. |
5926 ac_x_libraries= | 5944 ac_x_libraries= |
5927 else | 5945 else |
6026 # For Solaris; some versions of Sun CC require a space after -R and | 6044 # For Solaris; some versions of Sun CC require a space after -R and |
6027 # others require no space. Words are not sufficient . . . . | 6045 # others require no space. Words are not sufficient . . . . |
6028 case "`(uname -sr) 2>/dev/null`" in | 6046 case "`(uname -sr) 2>/dev/null`" in |
6029 "SunOS 5"*) | 6047 "SunOS 5"*) |
6030 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6048 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6031 echo "configure:6032: checking whether -R must be followed by a space" >&5 | 6049 echo "configure:6050: checking whether -R must be followed by a space" >&5 |
6032 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6050 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6033 cat > conftest.$ac_ext <<EOF | 6051 cat > conftest.$ac_ext <<EOF |
6034 #line 6035 "configure" | 6052 #line 6053 "configure" |
6035 #include "confdefs.h" | 6053 #include "confdefs.h" |
6036 | 6054 |
6037 int main() { | 6055 int main() { |
6038 | 6056 |
6039 ; return 0; } | 6057 ; return 0; } |
6040 EOF | 6058 EOF |
6041 if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6059 if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6042 rm -rf conftest* | 6060 rm -rf conftest* |
6043 ac_R_nospace=yes | 6061 ac_R_nospace=yes |
6044 else | 6062 else |
6045 echo "configure: failed program was:" >&5 | 6063 echo "configure: failed program was:" >&5 |
6046 cat conftest.$ac_ext >&5 | 6064 cat conftest.$ac_ext >&5 |
6052 echo "$ac_t""no" 1>&6 | 6070 echo "$ac_t""no" 1>&6 |
6053 X_LIBS="$X_LIBS -R$x_libraries" | 6071 X_LIBS="$X_LIBS -R$x_libraries" |
6054 else | 6072 else |
6055 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6073 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6056 cat > conftest.$ac_ext <<EOF | 6074 cat > conftest.$ac_ext <<EOF |
6057 #line 6058 "configure" | 6075 #line 6076 "configure" |
6058 #include "confdefs.h" | 6076 #include "confdefs.h" |
6059 | 6077 |
6060 int main() { | 6078 int main() { |
6061 | 6079 |
6062 ; return 0; } | 6080 ; return 0; } |
6063 EOF | 6081 EOF |
6064 if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6082 if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6065 rm -rf conftest* | 6083 rm -rf conftest* |
6066 ac_R_space=yes | 6084 ac_R_space=yes |
6067 else | 6085 else |
6068 echo "configure: failed program was:" >&5 | 6086 echo "configure: failed program was:" >&5 |
6069 cat conftest.$ac_ext >&5 | 6087 cat conftest.$ac_ext >&5 |
6095 if test "$with_dnet" = "no" ; then | 6113 if test "$with_dnet" = "no" ; then |
6096 ac_cv_lib_dnet_dnet_ntoa=no | 6114 ac_cv_lib_dnet_dnet_ntoa=no |
6097 else | 6115 else |
6098 | 6116 |
6099 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6117 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6100 echo "configure:6101: checking for dnet_ntoa in -ldnet" >&5 | 6118 echo "configure:6119: checking for dnet_ntoa in -ldnet" >&5 |
6101 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6119 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6102 | 6120 |
6103 xe_check_libs=" -ldnet " | 6121 xe_check_libs=" -ldnet " |
6104 cat > conftest.$ac_ext <<EOF | 6122 cat > conftest.$ac_ext <<EOF |
6105 #line 6106 "configure" | 6123 #line 6124 "configure" |
6106 #include "confdefs.h" | 6124 #include "confdefs.h" |
6107 /* Override any gcc2 internal prototype to avoid an error. */ | 6125 /* Override any gcc2 internal prototype to avoid an error. */ |
6108 /* We use char because int might match the return type of a gcc2 | 6126 /* We use char because int might match the return type of a gcc2 |
6109 builtin and then its argument prototype would still apply. */ | 6127 builtin and then its argument prototype would still apply. */ |
6110 char dnet_ntoa(); | 6128 char dnet_ntoa(); |
6111 | 6129 |
6112 int main() { | 6130 int main() { |
6113 dnet_ntoa() | 6131 dnet_ntoa() |
6114 ; return 0; } | 6132 ; return 0; } |
6115 EOF | 6133 EOF |
6116 if { (eval echo configure:6117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6117 rm -rf conftest* | 6135 rm -rf conftest* |
6118 eval "ac_cv_lib_$ac_lib_var=yes" | 6136 eval "ac_cv_lib_$ac_lib_var=yes" |
6119 else | 6137 else |
6120 echo "configure: failed program was:" >&5 | 6138 echo "configure: failed program was:" >&5 |
6121 cat conftest.$ac_ext >&5 | 6139 cat conftest.$ac_ext >&5 |
6135 fi | 6153 fi |
6136 | 6154 |
6137 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6155 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6138 | 6156 |
6139 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6157 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6140 echo "configure:6141: checking for dnet_ntoa in -ldnet_stub" >&5 | 6158 echo "configure:6159: checking for dnet_ntoa in -ldnet_stub" >&5 |
6141 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6159 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6142 | 6160 |
6143 xe_check_libs=" -ldnet_stub " | 6161 xe_check_libs=" -ldnet_stub " |
6144 cat > conftest.$ac_ext <<EOF | 6162 cat > conftest.$ac_ext <<EOF |
6145 #line 6146 "configure" | 6163 #line 6164 "configure" |
6146 #include "confdefs.h" | 6164 #include "confdefs.h" |
6147 /* Override any gcc2 internal prototype to avoid an error. */ | 6165 /* Override any gcc2 internal prototype to avoid an error. */ |
6148 /* We use char because int might match the return type of a gcc2 | 6166 /* We use char because int might match the return type of a gcc2 |
6149 builtin and then its argument prototype would still apply. */ | 6167 builtin and then its argument prototype would still apply. */ |
6150 char dnet_ntoa(); | 6168 char dnet_ntoa(); |
6151 | 6169 |
6152 int main() { | 6170 int main() { |
6153 dnet_ntoa() | 6171 dnet_ntoa() |
6154 ; return 0; } | 6172 ; return 0; } |
6155 EOF | 6173 EOF |
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6174 if { (eval echo configure:6175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6157 rm -rf conftest* | 6175 rm -rf conftest* |
6158 eval "ac_cv_lib_$ac_lib_var=yes" | 6176 eval "ac_cv_lib_$ac_lib_var=yes" |
6159 else | 6177 else |
6160 echo "configure: failed program was:" >&5 | 6178 echo "configure: failed program was:" >&5 |
6161 cat conftest.$ac_ext >&5 | 6179 cat conftest.$ac_ext >&5 |
6180 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6198 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6181 # needs -lnsl. | 6199 # needs -lnsl. |
6182 # The nsl library prevents programs from opening the X display | 6200 # The nsl library prevents programs from opening the X display |
6183 # on Irix 5.2, according to dickey@clark.net. | 6201 # on Irix 5.2, according to dickey@clark.net. |
6184 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6202 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6185 echo "configure:6186: checking for gethostbyname" >&5 | 6203 echo "configure:6204: checking for gethostbyname" >&5 |
6186 | 6204 |
6187 cat > conftest.$ac_ext <<EOF | 6205 cat > conftest.$ac_ext <<EOF |
6188 #line 6189 "configure" | 6206 #line 6207 "configure" |
6189 #include "confdefs.h" | 6207 #include "confdefs.h" |
6190 /* System header to define __stub macros and hopefully few prototypes, | 6208 /* System header to define __stub macros and hopefully few prototypes, |
6191 which can conflict with char gethostbyname(); below. */ | 6209 which can conflict with char gethostbyname(); below. */ |
6192 #include <assert.h> | 6210 #include <assert.h> |
6193 /* Override any gcc2 internal prototype to avoid an error. */ | 6211 /* Override any gcc2 internal prototype to avoid an error. */ |
6206 gethostbyname(); | 6224 gethostbyname(); |
6207 #endif | 6225 #endif |
6208 | 6226 |
6209 ; return 0; } | 6227 ; return 0; } |
6210 EOF | 6228 EOF |
6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6229 if { (eval echo configure:6230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6212 rm -rf conftest* | 6230 rm -rf conftest* |
6213 eval "ac_cv_func_gethostbyname=yes" | 6231 eval "ac_cv_func_gethostbyname=yes" |
6214 else | 6232 else |
6215 echo "configure: failed program was:" >&5 | 6233 echo "configure: failed program was:" >&5 |
6216 cat conftest.$ac_ext >&5 | 6234 cat conftest.$ac_ext >&5 |
6227 fi | 6245 fi |
6228 | 6246 |
6229 if test $ac_cv_func_gethostbyname = no; then | 6247 if test $ac_cv_func_gethostbyname = no; then |
6230 | 6248 |
6231 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6249 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6232 echo "configure:6233: checking for gethostbyname in -lnsl" >&5 | 6250 echo "configure:6251: checking for gethostbyname in -lnsl" >&5 |
6233 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6251 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6234 | 6252 |
6235 xe_check_libs=" -lnsl " | 6253 xe_check_libs=" -lnsl " |
6236 cat > conftest.$ac_ext <<EOF | 6254 cat > conftest.$ac_ext <<EOF |
6237 #line 6238 "configure" | 6255 #line 6256 "configure" |
6238 #include "confdefs.h" | 6256 #include "confdefs.h" |
6239 /* Override any gcc2 internal prototype to avoid an error. */ | 6257 /* Override any gcc2 internal prototype to avoid an error. */ |
6240 /* We use char because int might match the return type of a gcc2 | 6258 /* We use char because int might match the return type of a gcc2 |
6241 builtin and then its argument prototype would still apply. */ | 6259 builtin and then its argument prototype would still apply. */ |
6242 char gethostbyname(); | 6260 char gethostbyname(); |
6243 | 6261 |
6244 int main() { | 6262 int main() { |
6245 gethostbyname() | 6263 gethostbyname() |
6246 ; return 0; } | 6264 ; return 0; } |
6247 EOF | 6265 EOF |
6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6249 rm -rf conftest* | 6267 rm -rf conftest* |
6250 eval "ac_cv_lib_$ac_lib_var=yes" | 6268 eval "ac_cv_lib_$ac_lib_var=yes" |
6251 else | 6269 else |
6252 echo "configure: failed program was:" >&5 | 6270 echo "configure: failed program was:" >&5 |
6253 cat conftest.$ac_ext >&5 | 6271 cat conftest.$ac_ext >&5 |
6273 # on later versions), says simon@lia.di.epfl.ch: it contains | 6291 # on later versions), says simon@lia.di.epfl.ch: it contains |
6274 # gethostby* variants that don't use the nameserver (or something). | 6292 # gethostby* variants that don't use the nameserver (or something). |
6275 # -lsocket must be given before -lnsl if both are needed. | 6293 # -lsocket must be given before -lnsl if both are needed. |
6276 # We assume that if connect needs -lnsl, so does gethostbyname. | 6294 # We assume that if connect needs -lnsl, so does gethostbyname. |
6277 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6295 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6278 echo "configure:6279: checking for connect" >&5 | 6296 echo "configure:6297: checking for connect" >&5 |
6279 | 6297 |
6280 cat > conftest.$ac_ext <<EOF | 6298 cat > conftest.$ac_ext <<EOF |
6281 #line 6282 "configure" | 6299 #line 6300 "configure" |
6282 #include "confdefs.h" | 6300 #include "confdefs.h" |
6283 /* System header to define __stub macros and hopefully few prototypes, | 6301 /* System header to define __stub macros and hopefully few prototypes, |
6284 which can conflict with char connect(); below. */ | 6302 which can conflict with char connect(); below. */ |
6285 #include <assert.h> | 6303 #include <assert.h> |
6286 /* Override any gcc2 internal prototype to avoid an error. */ | 6304 /* Override any gcc2 internal prototype to avoid an error. */ |
6299 connect(); | 6317 connect(); |
6300 #endif | 6318 #endif |
6301 | 6319 |
6302 ; return 0; } | 6320 ; return 0; } |
6303 EOF | 6321 EOF |
6304 if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6305 rm -rf conftest* | 6323 rm -rf conftest* |
6306 eval "ac_cv_func_connect=yes" | 6324 eval "ac_cv_func_connect=yes" |
6307 else | 6325 else |
6308 echo "configure: failed program was:" >&5 | 6326 echo "configure: failed program was:" >&5 |
6309 cat conftest.$ac_ext >&5 | 6327 cat conftest.$ac_ext >&5 |
6322 if test $ac_cv_func_connect = no; then | 6340 if test $ac_cv_func_connect = no; then |
6323 | 6341 |
6324 xe_msg_checking="for connect in -lsocket" | 6342 xe_msg_checking="for connect in -lsocket" |
6325 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6343 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6326 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6344 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6327 echo "configure:6328: checking "$xe_msg_checking"" >&5 | 6345 echo "configure:6346: checking "$xe_msg_checking"" >&5 |
6328 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6346 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6329 | 6347 |
6330 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6348 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6331 cat > conftest.$ac_ext <<EOF | 6349 cat > conftest.$ac_ext <<EOF |
6332 #line 6333 "configure" | 6350 #line 6351 "configure" |
6333 #include "confdefs.h" | 6351 #include "confdefs.h" |
6334 /* Override any gcc2 internal prototype to avoid an error. */ | 6352 /* Override any gcc2 internal prototype to avoid an error. */ |
6335 /* We use char because int might match the return type of a gcc2 | 6353 /* We use char because int might match the return type of a gcc2 |
6336 builtin and then its argument prototype would still apply. */ | 6354 builtin and then its argument prototype would still apply. */ |
6337 char connect(); | 6355 char connect(); |
6338 | 6356 |
6339 int main() { | 6357 int main() { |
6340 connect() | 6358 connect() |
6341 ; return 0; } | 6359 ; return 0; } |
6342 EOF | 6360 EOF |
6343 if { (eval echo configure:6344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6361 if { (eval echo configure:6362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6344 rm -rf conftest* | 6362 rm -rf conftest* |
6345 eval "ac_cv_lib_$ac_lib_var=yes" | 6363 eval "ac_cv_lib_$ac_lib_var=yes" |
6346 else | 6364 else |
6347 echo "configure: failed program was:" >&5 | 6365 echo "configure: failed program was:" >&5 |
6348 cat conftest.$ac_ext >&5 | 6366 cat conftest.$ac_ext >&5 |
6362 | 6380 |
6363 fi | 6381 fi |
6364 | 6382 |
6365 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6383 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6366 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6384 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6367 echo "configure:6368: checking for remove" >&5 | 6385 echo "configure:6386: checking for remove" >&5 |
6368 | 6386 |
6369 cat > conftest.$ac_ext <<EOF | 6387 cat > conftest.$ac_ext <<EOF |
6370 #line 6371 "configure" | 6388 #line 6389 "configure" |
6371 #include "confdefs.h" | 6389 #include "confdefs.h" |
6372 /* System header to define __stub macros and hopefully few prototypes, | 6390 /* System header to define __stub macros and hopefully few prototypes, |
6373 which can conflict with char remove(); below. */ | 6391 which can conflict with char remove(); below. */ |
6374 #include <assert.h> | 6392 #include <assert.h> |
6375 /* Override any gcc2 internal prototype to avoid an error. */ | 6393 /* Override any gcc2 internal prototype to avoid an error. */ |
6388 remove(); | 6406 remove(); |
6389 #endif | 6407 #endif |
6390 | 6408 |
6391 ; return 0; } | 6409 ; return 0; } |
6392 EOF | 6410 EOF |
6393 if { (eval echo configure:6394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6411 if { (eval echo configure:6412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6394 rm -rf conftest* | 6412 rm -rf conftest* |
6395 eval "ac_cv_func_remove=yes" | 6413 eval "ac_cv_func_remove=yes" |
6396 else | 6414 else |
6397 echo "configure: failed program was:" >&5 | 6415 echo "configure: failed program was:" >&5 |
6398 cat conftest.$ac_ext >&5 | 6416 cat conftest.$ac_ext >&5 |
6409 fi | 6427 fi |
6410 | 6428 |
6411 if test $ac_cv_func_remove = no; then | 6429 if test $ac_cv_func_remove = no; then |
6412 | 6430 |
6413 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6431 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6414 echo "configure:6415: checking for remove in -lposix" >&5 | 6432 echo "configure:6433: checking for remove in -lposix" >&5 |
6415 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6433 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6416 | 6434 |
6417 xe_check_libs=" -lposix " | 6435 xe_check_libs=" -lposix " |
6418 cat > conftest.$ac_ext <<EOF | 6436 cat > conftest.$ac_ext <<EOF |
6419 #line 6420 "configure" | 6437 #line 6438 "configure" |
6420 #include "confdefs.h" | 6438 #include "confdefs.h" |
6421 /* Override any gcc2 internal prototype to avoid an error. */ | 6439 /* Override any gcc2 internal prototype to avoid an error. */ |
6422 /* We use char because int might match the return type of a gcc2 | 6440 /* We use char because int might match the return type of a gcc2 |
6423 builtin and then its argument prototype would still apply. */ | 6441 builtin and then its argument prototype would still apply. */ |
6424 char remove(); | 6442 char remove(); |
6425 | 6443 |
6426 int main() { | 6444 int main() { |
6427 remove() | 6445 remove() |
6428 ; return 0; } | 6446 ; return 0; } |
6429 EOF | 6447 EOF |
6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6448 if { (eval echo configure:6449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6431 rm -rf conftest* | 6449 rm -rf conftest* |
6432 eval "ac_cv_lib_$ac_lib_var=yes" | 6450 eval "ac_cv_lib_$ac_lib_var=yes" |
6433 else | 6451 else |
6434 echo "configure: failed program was:" >&5 | 6452 echo "configure: failed program was:" >&5 |
6435 cat conftest.$ac_ext >&5 | 6453 cat conftest.$ac_ext >&5 |
6449 | 6467 |
6450 fi | 6468 fi |
6451 | 6469 |
6452 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6470 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6453 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6471 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6454 echo "configure:6455: checking for shmat" >&5 | 6472 echo "configure:6473: checking for shmat" >&5 |
6455 | 6473 |
6456 cat > conftest.$ac_ext <<EOF | 6474 cat > conftest.$ac_ext <<EOF |
6457 #line 6458 "configure" | 6475 #line 6476 "configure" |
6458 #include "confdefs.h" | 6476 #include "confdefs.h" |
6459 /* System header to define __stub macros and hopefully few prototypes, | 6477 /* System header to define __stub macros and hopefully few prototypes, |
6460 which can conflict with char shmat(); below. */ | 6478 which can conflict with char shmat(); below. */ |
6461 #include <assert.h> | 6479 #include <assert.h> |
6462 /* Override any gcc2 internal prototype to avoid an error. */ | 6480 /* Override any gcc2 internal prototype to avoid an error. */ |
6475 shmat(); | 6493 shmat(); |
6476 #endif | 6494 #endif |
6477 | 6495 |
6478 ; return 0; } | 6496 ; return 0; } |
6479 EOF | 6497 EOF |
6480 if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6498 if { (eval echo configure:6499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6481 rm -rf conftest* | 6499 rm -rf conftest* |
6482 eval "ac_cv_func_shmat=yes" | 6500 eval "ac_cv_func_shmat=yes" |
6483 else | 6501 else |
6484 echo "configure: failed program was:" >&5 | 6502 echo "configure: failed program was:" >&5 |
6485 cat conftest.$ac_ext >&5 | 6503 cat conftest.$ac_ext >&5 |
6496 fi | 6514 fi |
6497 | 6515 |
6498 if test $ac_cv_func_shmat = no; then | 6516 if test $ac_cv_func_shmat = no; then |
6499 | 6517 |
6500 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6518 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6501 echo "configure:6502: checking for shmat in -lipc" >&5 | 6519 echo "configure:6520: checking for shmat in -lipc" >&5 |
6502 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6520 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6503 | 6521 |
6504 xe_check_libs=" -lipc " | 6522 xe_check_libs=" -lipc " |
6505 cat > conftest.$ac_ext <<EOF | 6523 cat > conftest.$ac_ext <<EOF |
6506 #line 6507 "configure" | 6524 #line 6525 "configure" |
6507 #include "confdefs.h" | 6525 #include "confdefs.h" |
6508 /* Override any gcc2 internal prototype to avoid an error. */ | 6526 /* Override any gcc2 internal prototype to avoid an error. */ |
6509 /* We use char because int might match the return type of a gcc2 | 6527 /* We use char because int might match the return type of a gcc2 |
6510 builtin and then its argument prototype would still apply. */ | 6528 builtin and then its argument prototype would still apply. */ |
6511 char shmat(); | 6529 char shmat(); |
6512 | 6530 |
6513 int main() { | 6531 int main() { |
6514 shmat() | 6532 shmat() |
6515 ; return 0; } | 6533 ; return 0; } |
6516 EOF | 6534 EOF |
6517 if { (eval echo configure:6518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6535 if { (eval echo configure:6536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6518 rm -rf conftest* | 6536 rm -rf conftest* |
6519 eval "ac_cv_lib_$ac_lib_var=yes" | 6537 eval "ac_cv_lib_$ac_lib_var=yes" |
6520 else | 6538 else |
6521 echo "configure: failed program was:" >&5 | 6539 echo "configure: failed program was:" >&5 |
6522 cat conftest.$ac_ext >&5 | 6540 cat conftest.$ac_ext >&5 |
6548 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6566 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6549 | 6567 |
6550 xe_msg_checking="for IceConnectionNumber in -lICE" | 6568 xe_msg_checking="for IceConnectionNumber in -lICE" |
6551 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6569 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6552 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6570 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6553 echo "configure:6554: checking "$xe_msg_checking"" >&5 | 6571 echo "configure:6572: checking "$xe_msg_checking"" >&5 |
6554 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6572 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6555 | 6573 |
6556 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6574 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6557 cat > conftest.$ac_ext <<EOF | 6575 cat > conftest.$ac_ext <<EOF |
6558 #line 6559 "configure" | 6576 #line 6577 "configure" |
6559 #include "confdefs.h" | 6577 #include "confdefs.h" |
6560 /* Override any gcc2 internal prototype to avoid an error. */ | 6578 /* Override any gcc2 internal prototype to avoid an error. */ |
6561 /* We use char because int might match the return type of a gcc2 | 6579 /* We use char because int might match the return type of a gcc2 |
6562 builtin and then its argument prototype would still apply. */ | 6580 builtin and then its argument prototype would still apply. */ |
6563 char IceConnectionNumber(); | 6581 char IceConnectionNumber(); |
6564 | 6582 |
6565 int main() { | 6583 int main() { |
6566 IceConnectionNumber() | 6584 IceConnectionNumber() |
6567 ; return 0; } | 6585 ; return 0; } |
6568 EOF | 6586 EOF |
6569 if { (eval echo configure:6570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6587 if { (eval echo configure:6588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6570 rm -rf conftest* | 6588 rm -rf conftest* |
6571 eval "ac_cv_lib_$ac_lib_var=yes" | 6589 eval "ac_cv_lib_$ac_lib_var=yes" |
6572 else | 6590 else |
6573 echo "configure: failed program was:" >&5 | 6591 echo "configure: failed program was:" >&5 |
6574 cat conftest.$ac_ext >&5 | 6592 cat conftest.$ac_ext >&5 |
6610 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6628 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6611 | 6629 |
6612 | 6630 |
6613 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6631 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6614 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6632 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6615 echo "configure:6616: checking for Xm/Xm.h" >&5 | 6633 echo "configure:6634: checking for Xm/Xm.h" >&5 |
6616 | 6634 |
6617 cat > conftest.$ac_ext <<EOF | 6635 cat > conftest.$ac_ext <<EOF |
6618 #line 6619 "configure" | 6636 #line 6637 "configure" |
6619 #include "confdefs.h" | 6637 #include "confdefs.h" |
6620 #include <Xm/Xm.h> | 6638 #include <Xm/Xm.h> |
6621 EOF | 6639 EOF |
6622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6623 { (eval echo configure:6624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6641 { (eval echo configure:6642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6625 if test -z "$ac_err"; then | 6643 if test -z "$ac_err"; then |
6626 rm -rf conftest* | 6644 rm -rf conftest* |
6627 eval "ac_cv_header_$ac_safe=yes" | 6645 eval "ac_cv_header_$ac_safe=yes" |
6628 else | 6646 else |
6635 rm -f conftest* | 6653 rm -f conftest* |
6636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6637 echo "$ac_t""yes" 1>&6 | 6655 echo "$ac_t""yes" 1>&6 |
6638 | 6656 |
6639 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6657 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6640 echo "configure:6641: checking for XmStringFree in -lXm" >&5 | 6658 echo "configure:6659: checking for XmStringFree in -lXm" >&5 |
6641 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6659 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6642 | 6660 |
6643 xe_check_libs=" -lXm " | 6661 xe_check_libs=" -lXm " |
6644 cat > conftest.$ac_ext <<EOF | 6662 cat > conftest.$ac_ext <<EOF |
6645 #line 6646 "configure" | 6663 #line 6664 "configure" |
6646 #include "confdefs.h" | 6664 #include "confdefs.h" |
6647 /* Override any gcc2 internal prototype to avoid an error. */ | 6665 /* Override any gcc2 internal prototype to avoid an error. */ |
6648 /* We use char because int might match the return type of a gcc2 | 6666 /* We use char because int might match the return type of a gcc2 |
6649 builtin and then its argument prototype would still apply. */ | 6667 builtin and then its argument prototype would still apply. */ |
6650 char XmStringFree(); | 6668 char XmStringFree(); |
6651 | 6669 |
6652 int main() { | 6670 int main() { |
6653 XmStringFree() | 6671 XmStringFree() |
6654 ; return 0; } | 6672 ; return 0; } |
6655 EOF | 6673 EOF |
6656 if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6674 if { (eval echo configure:6675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6657 rm -rf conftest* | 6675 rm -rf conftest* |
6658 eval "ac_cv_lib_$ac_lib_var=yes" | 6676 eval "ac_cv_lib_$ac_lib_var=yes" |
6659 else | 6677 else |
6660 echo "configure: failed program was:" >&5 | 6678 echo "configure: failed program was:" >&5 |
6661 cat conftest.$ac_ext >&5 | 6679 cat conftest.$ac_ext >&5 |
6803 EOF | 6821 EOF |
6804 } | 6822 } |
6805 | 6823 |
6806 | 6824 |
6807 echo "checking for X defines extracted by xmkmf" 1>&6 | 6825 echo "checking for X defines extracted by xmkmf" 1>&6 |
6808 echo "configure:6809: checking for X defines extracted by xmkmf" >&5 | 6826 echo "configure:6827: checking for X defines extracted by xmkmf" >&5 |
6809 rm -fr conftestdir | 6827 rm -fr conftestdir |
6810 if mkdir conftestdir; then | 6828 if mkdir conftestdir; then |
6811 cd conftestdir | 6829 cd conftestdir |
6812 cat > Imakefile <<'EOF' | 6830 cat > Imakefile <<'EOF' |
6813 xetest: | 6831 xetest: |
6852 done | 6870 done |
6853 fi | 6871 fi |
6854 | 6872 |
6855 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6873 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6856 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6874 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6857 echo "configure:6858: checking for X11/Intrinsic.h" >&5 | 6875 echo "configure:6876: checking for X11/Intrinsic.h" >&5 |
6858 | 6876 |
6859 cat > conftest.$ac_ext <<EOF | 6877 cat > conftest.$ac_ext <<EOF |
6860 #line 6861 "configure" | 6878 #line 6879 "configure" |
6861 #include "confdefs.h" | 6879 #include "confdefs.h" |
6862 #include <X11/Intrinsic.h> | 6880 #include <X11/Intrinsic.h> |
6863 EOF | 6881 EOF |
6864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6865 { (eval echo configure:6866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6883 { (eval echo configure:6884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6867 if test -z "$ac_err"; then | 6885 if test -z "$ac_err"; then |
6868 rm -rf conftest* | 6886 rm -rf conftest* |
6869 eval "ac_cv_header_$ac_safe=yes" | 6887 eval "ac_cv_header_$ac_safe=yes" |
6870 else | 6888 else |
6884 fi | 6902 fi |
6885 | 6903 |
6886 | 6904 |
6887 | 6905 |
6888 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6906 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6889 echo "configure:6890: checking for XOpenDisplay in -lX11" >&5 | 6907 echo "configure:6908: checking for XOpenDisplay in -lX11" >&5 |
6890 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6908 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6891 | 6909 |
6892 xe_check_libs=" -lX11 " | 6910 xe_check_libs=" -lX11 " |
6893 cat > conftest.$ac_ext <<EOF | 6911 cat > conftest.$ac_ext <<EOF |
6894 #line 6895 "configure" | 6912 #line 6913 "configure" |
6895 #include "confdefs.h" | 6913 #include "confdefs.h" |
6896 /* Override any gcc2 internal prototype to avoid an error. */ | 6914 /* Override any gcc2 internal prototype to avoid an error. */ |
6897 /* We use char because int might match the return type of a gcc2 | 6915 /* We use char because int might match the return type of a gcc2 |
6898 builtin and then its argument prototype would still apply. */ | 6916 builtin and then its argument prototype would still apply. */ |
6899 char XOpenDisplay(); | 6917 char XOpenDisplay(); |
6900 | 6918 |
6901 int main() { | 6919 int main() { |
6902 XOpenDisplay() | 6920 XOpenDisplay() |
6903 ; return 0; } | 6921 ; return 0; } |
6904 EOF | 6922 EOF |
6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6906 rm -rf conftest* | 6924 rm -rf conftest* |
6907 eval "ac_cv_lib_$ac_lib_var=yes" | 6925 eval "ac_cv_lib_$ac_lib_var=yes" |
6908 else | 6926 else |
6909 echo "configure: failed program was:" >&5 | 6927 echo "configure: failed program was:" >&5 |
6910 cat conftest.$ac_ext >&5 | 6928 cat conftest.$ac_ext >&5 |
6925 if test "$have_lib_x11" != "yes"; then | 6943 if test "$have_lib_x11" != "yes"; then |
6926 | 6944 |
6927 xe_msg_checking="for XGetFontProperty in -lX11" | 6945 xe_msg_checking="for XGetFontProperty in -lX11" |
6928 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6946 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6929 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6947 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6930 echo "configure:6931: checking "$xe_msg_checking"" >&5 | 6948 echo "configure:6949: checking "$xe_msg_checking"" >&5 |
6931 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6949 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6932 | 6950 |
6933 xe_check_libs=" -lX11 -b i486-linuxaout" | 6951 xe_check_libs=" -lX11 -b i486-linuxaout" |
6934 cat > conftest.$ac_ext <<EOF | 6952 cat > conftest.$ac_ext <<EOF |
6935 #line 6936 "configure" | 6953 #line 6954 "configure" |
6936 #include "confdefs.h" | 6954 #include "confdefs.h" |
6937 /* Override any gcc2 internal prototype to avoid an error. */ | 6955 /* Override any gcc2 internal prototype to avoid an error. */ |
6938 /* We use char because int might match the return type of a gcc2 | 6956 /* We use char because int might match the return type of a gcc2 |
6939 builtin and then its argument prototype would still apply. */ | 6957 builtin and then its argument prototype would still apply. */ |
6940 char XGetFontProperty(); | 6958 char XGetFontProperty(); |
6941 | 6959 |
6942 int main() { | 6960 int main() { |
6943 XGetFontProperty() | 6961 XGetFontProperty() |
6944 ; return 0; } | 6962 ; return 0; } |
6945 EOF | 6963 EOF |
6946 if { (eval echo configure:6947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6947 rm -rf conftest* | 6965 rm -rf conftest* |
6948 eval "ac_cv_lib_$ac_lib_var=yes" | 6966 eval "ac_cv_lib_$ac_lib_var=yes" |
6949 else | 6967 else |
6950 echo "configure: failed program was:" >&5 | 6968 echo "configure: failed program was:" >&5 |
6951 cat conftest.$ac_ext >&5 | 6969 cat conftest.$ac_ext >&5 |
6968 libs_x="-lX11" | 6986 libs_x="-lX11" |
6969 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6987 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6970 | 6988 |
6971 | 6989 |
6972 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6990 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6973 echo "configure:6974: checking for XShapeSelectInput in -lXext" >&5 | 6991 echo "configure:6992: checking for XShapeSelectInput in -lXext" >&5 |
6974 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6992 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6975 | 6993 |
6976 xe_check_libs=" -lXext " | 6994 xe_check_libs=" -lXext " |
6977 cat > conftest.$ac_ext <<EOF | 6995 cat > conftest.$ac_ext <<EOF |
6978 #line 6979 "configure" | 6996 #line 6997 "configure" |
6979 #include "confdefs.h" | 6997 #include "confdefs.h" |
6980 /* Override any gcc2 internal prototype to avoid an error. */ | 6998 /* Override any gcc2 internal prototype to avoid an error. */ |
6981 /* We use char because int might match the return type of a gcc2 | 6999 /* We use char because int might match the return type of a gcc2 |
6982 builtin and then its argument prototype would still apply. */ | 7000 builtin and then its argument prototype would still apply. */ |
6983 char XShapeSelectInput(); | 7001 char XShapeSelectInput(); |
6984 | 7002 |
6985 int main() { | 7003 int main() { |
6986 XShapeSelectInput() | 7004 XShapeSelectInput() |
6987 ; return 0; } | 7005 ; return 0; } |
6988 EOF | 7006 EOF |
6989 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6990 rm -rf conftest* | 7008 rm -rf conftest* |
6991 eval "ac_cv_lib_$ac_lib_var=yes" | 7009 eval "ac_cv_lib_$ac_lib_var=yes" |
6992 else | 7010 else |
6993 echo "configure: failed program was:" >&5 | 7011 echo "configure: failed program was:" >&5 |
6994 cat conftest.$ac_ext >&5 | 7012 cat conftest.$ac_ext >&5 |
7007 | 7025 |
7008 | 7026 |
7009 | 7027 |
7010 | 7028 |
7011 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7029 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7012 echo "configure:7013: checking for XtOpenDisplay in -lXt" >&5 | 7030 echo "configure:7031: checking for XtOpenDisplay in -lXt" >&5 |
7013 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7031 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7014 | 7032 |
7015 xe_check_libs=" -lXt " | 7033 xe_check_libs=" -lXt " |
7016 cat > conftest.$ac_ext <<EOF | 7034 cat > conftest.$ac_ext <<EOF |
7017 #line 7018 "configure" | 7035 #line 7036 "configure" |
7018 #include "confdefs.h" | 7036 #include "confdefs.h" |
7019 /* Override any gcc2 internal prototype to avoid an error. */ | 7037 /* Override any gcc2 internal prototype to avoid an error. */ |
7020 /* We use char because int might match the return type of a gcc2 | 7038 /* We use char because int might match the return type of a gcc2 |
7021 builtin and then its argument prototype would still apply. */ | 7039 builtin and then its argument prototype would still apply. */ |
7022 char XtOpenDisplay(); | 7040 char XtOpenDisplay(); |
7023 | 7041 |
7024 int main() { | 7042 int main() { |
7025 XtOpenDisplay() | 7043 XtOpenDisplay() |
7026 ; return 0; } | 7044 ; return 0; } |
7027 EOF | 7045 EOF |
7028 if { (eval echo configure:7029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7046 if { (eval echo configure:7047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7029 rm -rf conftest* | 7047 rm -rf conftest* |
7030 eval "ac_cv_lib_$ac_lib_var=yes" | 7048 eval "ac_cv_lib_$ac_lib_var=yes" |
7031 else | 7049 else |
7032 echo "configure: failed program was:" >&5 | 7050 echo "configure: failed program was:" >&5 |
7033 cat conftest.$ac_ext >&5 | 7051 cat conftest.$ac_ext >&5 |
7046 fi | 7064 fi |
7047 | 7065 |
7048 | 7066 |
7049 | 7067 |
7050 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7068 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7051 echo "configure:7052: checking the version of X11 being used" >&5 | 7069 echo "configure:7070: checking the version of X11 being used" >&5 |
7052 cat > conftest.$ac_ext <<EOF | 7070 cat > conftest.$ac_ext <<EOF |
7053 #line 7054 "configure" | 7071 #line 7072 "configure" |
7054 #include "confdefs.h" | 7072 #include "confdefs.h" |
7055 #include <X11/Intrinsic.h> | 7073 #include <X11/Intrinsic.h> |
7056 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7074 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7057 EOF | 7075 EOF |
7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7076 if { (eval echo configure:7077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7059 then | 7077 then |
7060 ./conftest foobar; x11_release=$? | 7078 ./conftest foobar; x11_release=$? |
7061 else | 7079 else |
7062 conftest_rc="$?" | 7080 conftest_rc="$?" |
7063 echo "configure: failed program was:" >&5 | 7081 echo "configure: failed program was:" >&5 |
7084 fi | 7102 fi |
7085 | 7103 |
7086 for ac_func in XConvertCase | 7104 for ac_func in XConvertCase |
7087 do | 7105 do |
7088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7089 echo "configure:7090: checking for $ac_func" >&5 | 7107 echo "configure:7108: checking for $ac_func" >&5 |
7090 | 7108 |
7091 cat > conftest.$ac_ext <<EOF | 7109 cat > conftest.$ac_ext <<EOF |
7092 #line 7093 "configure" | 7110 #line 7111 "configure" |
7093 #include "confdefs.h" | 7111 #include "confdefs.h" |
7094 /* System header to define __stub macros and hopefully few prototypes, | 7112 /* System header to define __stub macros and hopefully few prototypes, |
7095 which can conflict with char $ac_func(); below. */ | 7113 which can conflict with char $ac_func(); below. */ |
7096 #include <assert.h> | 7114 #include <assert.h> |
7097 /* Override any gcc2 internal prototype to avoid an error. */ | 7115 /* Override any gcc2 internal prototype to avoid an error. */ |
7110 $ac_func(); | 7128 $ac_func(); |
7111 #endif | 7129 #endif |
7112 | 7130 |
7113 ; return 0; } | 7131 ; return 0; } |
7114 EOF | 7132 EOF |
7115 if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7133 if { (eval echo configure:7134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7116 rm -rf conftest* | 7134 rm -rf conftest* |
7117 eval "ac_cv_func_$ac_func=yes" | 7135 eval "ac_cv_func_$ac_func=yes" |
7118 else | 7136 else |
7119 echo "configure: failed program was:" >&5 | 7137 echo "configure: failed program was:" >&5 |
7120 cat conftest.$ac_ext >&5 | 7138 cat conftest.$ac_ext >&5 |
7142 | 7160 |
7143 for ac_hdr in X11/Xlocale.h | 7161 for ac_hdr in X11/Xlocale.h |
7144 do | 7162 do |
7145 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7163 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7146 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7164 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7147 echo "configure:7148: checking for $ac_hdr" >&5 | 7165 echo "configure:7166: checking for $ac_hdr" >&5 |
7148 | 7166 |
7149 cat > conftest.$ac_ext <<EOF | 7167 cat > conftest.$ac_ext <<EOF |
7150 #line 7151 "configure" | 7168 #line 7169 "configure" |
7151 #include "confdefs.h" | 7169 #include "confdefs.h" |
7152 #include <$ac_hdr> | 7170 #include <$ac_hdr> |
7153 EOF | 7171 EOF |
7154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7155 { (eval echo configure:7156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7173 { (eval echo configure:7174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7157 if test -z "$ac_err"; then | 7175 if test -z "$ac_err"; then |
7158 rm -rf conftest* | 7176 rm -rf conftest* |
7159 eval "ac_cv_header_$ac_safe=yes" | 7177 eval "ac_cv_header_$ac_safe=yes" |
7160 else | 7178 else |
7183 | 7201 |
7184 | 7202 |
7185 for ac_func in XRegisterIMInstantiateCallback | 7203 for ac_func in XRegisterIMInstantiateCallback |
7186 do | 7204 do |
7187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7188 echo "configure:7189: checking for $ac_func" >&5 | 7206 echo "configure:7207: checking for $ac_func" >&5 |
7189 | 7207 |
7190 cat > conftest.$ac_ext <<EOF | 7208 cat > conftest.$ac_ext <<EOF |
7191 #line 7192 "configure" | 7209 #line 7210 "configure" |
7192 #include "confdefs.h" | 7210 #include "confdefs.h" |
7193 /* System header to define __stub macros and hopefully few prototypes, | 7211 /* System header to define __stub macros and hopefully few prototypes, |
7194 which can conflict with char $ac_func(); below. */ | 7212 which can conflict with char $ac_func(); below. */ |
7195 #include <assert.h> | 7213 #include <assert.h> |
7196 /* Override any gcc2 internal prototype to avoid an error. */ | 7214 /* Override any gcc2 internal prototype to avoid an error. */ |
7209 $ac_func(); | 7227 $ac_func(); |
7210 #endif | 7228 #endif |
7211 | 7229 |
7212 ; return 0; } | 7230 ; return 0; } |
7213 EOF | 7231 EOF |
7214 if { (eval echo configure:7215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7232 if { (eval echo configure:7233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7215 rm -rf conftest* | 7233 rm -rf conftest* |
7216 eval "ac_cv_func_$ac_func=yes" | 7234 eval "ac_cv_func_$ac_func=yes" |
7217 else | 7235 else |
7218 echo "configure: failed program was:" >&5 | 7236 echo "configure: failed program was:" >&5 |
7219 cat conftest.$ac_ext >&5 | 7237 cat conftest.$ac_ext >&5 |
7237 echo "$ac_t""no" 1>&6 | 7255 echo "$ac_t""no" 1>&6 |
7238 fi | 7256 fi |
7239 done | 7257 done |
7240 | 7258 |
7241 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7259 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7242 echo "configure:7243: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7260 echo "configure:7261: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7243 cat > conftest.$ac_ext <<EOF | 7261 cat > conftest.$ac_ext <<EOF |
7244 #line 7245 "configure" | 7262 #line 7263 "configure" |
7245 #include "confdefs.h" | 7263 #include "confdefs.h" |
7246 | 7264 |
7247 #define NeedFunctionPrototypes 1 | 7265 #define NeedFunctionPrototypes 1 |
7248 #include <X11/Xlib.h> | 7266 #include <X11/Xlib.h> |
7249 extern Bool XRegisterIMInstantiateCallback( | 7267 extern Bool XRegisterIMInstantiateCallback( |
7251 | 7269 |
7252 int main() { | 7270 int main() { |
7253 | 7271 |
7254 ; return 0; } | 7272 ; return 0; } |
7255 EOF | 7273 EOF |
7256 if { (eval echo configure:7257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7274 if { (eval echo configure:7275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7257 rm -rf conftest* | 7275 rm -rf conftest* |
7258 echo "$ac_t""yes" 1>&6 | 7276 echo "$ac_t""yes" 1>&6 |
7259 else | 7277 else |
7260 echo "configure: failed program was:" >&5 | 7278 echo "configure: failed program was:" >&5 |
7261 cat conftest.$ac_ext >&5 | 7279 cat conftest.$ac_ext >&5 |
7272 fi | 7290 fi |
7273 rm -f conftest* | 7291 rm -f conftest* |
7274 | 7292 |
7275 test -z "$with_xmu" && { | 7293 test -z "$with_xmu" && { |
7276 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7294 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7277 echo "configure:7278: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7295 echo "configure:7296: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7278 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7296 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7279 | 7297 |
7280 xe_check_libs=" -lXmu " | 7298 xe_check_libs=" -lXmu " |
7281 cat > conftest.$ac_ext <<EOF | 7299 cat > conftest.$ac_ext <<EOF |
7282 #line 7283 "configure" | 7300 #line 7301 "configure" |
7283 #include "confdefs.h" | 7301 #include "confdefs.h" |
7284 /* Override any gcc2 internal prototype to avoid an error. */ | 7302 /* Override any gcc2 internal prototype to avoid an error. */ |
7285 /* We use char because int might match the return type of a gcc2 | 7303 /* We use char because int might match the return type of a gcc2 |
7286 builtin and then its argument prototype would still apply. */ | 7304 builtin and then its argument prototype would still apply. */ |
7287 char XmuReadBitmapDataFromFile(); | 7305 char XmuReadBitmapDataFromFile(); |
7288 | 7306 |
7289 int main() { | 7307 int main() { |
7290 XmuReadBitmapDataFromFile() | 7308 XmuReadBitmapDataFromFile() |
7291 ; return 0; } | 7309 ; return 0; } |
7292 EOF | 7310 EOF |
7293 if { (eval echo configure:7294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7311 if { (eval echo configure:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7294 rm -rf conftest* | 7312 rm -rf conftest* |
7295 eval "ac_cv_lib_$ac_lib_var=yes" | 7313 eval "ac_cv_lib_$ac_lib_var=yes" |
7296 else | 7314 else |
7297 echo "configure: failed program was:" >&5 | 7315 echo "configure: failed program was:" >&5 |
7298 cat conftest.$ac_ext >&5 | 7316 cat conftest.$ac_ext >&5 |
7327 | 7345 |
7328 fi | 7346 fi |
7329 | 7347 |
7330 | 7348 |
7331 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7349 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7332 echo "configure:7333: checking for main in -lXbsd" >&5 | 7350 echo "configure:7351: checking for main in -lXbsd" >&5 |
7333 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7351 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7334 | 7352 |
7335 xe_check_libs=" -lXbsd " | 7353 xe_check_libs=" -lXbsd " |
7336 cat > conftest.$ac_ext <<EOF | 7354 cat > conftest.$ac_ext <<EOF |
7337 #line 7338 "configure" | 7355 #line 7356 "configure" |
7338 #include "confdefs.h" | 7356 #include "confdefs.h" |
7339 | 7357 |
7340 int main() { | 7358 int main() { |
7341 main() | 7359 main() |
7342 ; return 0; } | 7360 ; return 0; } |
7343 EOF | 7361 EOF |
7344 if { (eval echo configure:7345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7362 if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7345 rm -rf conftest* | 7363 rm -rf conftest* |
7346 eval "ac_cv_lib_$ac_lib_var=yes" | 7364 eval "ac_cv_lib_$ac_lib_var=yes" |
7347 else | 7365 else |
7348 echo "configure: failed program was:" >&5 | 7366 echo "configure: failed program was:" >&5 |
7349 cat conftest.$ac_ext >&5 | 7367 cat conftest.$ac_ext >&5 |
7376 fi | 7394 fi |
7377 | 7395 |
7378 fi | 7396 fi |
7379 if test "$with_msw" != "no"; then | 7397 if test "$with_msw" != "no"; then |
7380 echo "checking for MS-Windows" 1>&6 | 7398 echo "checking for MS-Windows" 1>&6 |
7381 echo "configure:7382: checking for MS-Windows" >&5 | 7399 echo "configure:7400: checking for MS-Windows" >&5 |
7382 | 7400 |
7383 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7401 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7384 echo "configure:7385: checking for main in -lgdi32" >&5 | 7402 echo "configure:7403: checking for main in -lgdi32" >&5 |
7385 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7403 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7386 | 7404 |
7387 xe_check_libs=" -lgdi32 " | 7405 xe_check_libs=" -lgdi32 " |
7388 cat > conftest.$ac_ext <<EOF | 7406 cat > conftest.$ac_ext <<EOF |
7389 #line 7390 "configure" | 7407 #line 7408 "configure" |
7390 #include "confdefs.h" | 7408 #include "confdefs.h" |
7391 | 7409 |
7392 int main() { | 7410 int main() { |
7393 main() | 7411 main() |
7394 ; return 0; } | 7412 ; return 0; } |
7395 EOF | 7413 EOF |
7396 if { (eval echo configure:7397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7414 if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7397 rm -rf conftest* | 7415 rm -rf conftest* |
7398 eval "ac_cv_lib_$ac_lib_var=yes" | 7416 eval "ac_cv_lib_$ac_lib_var=yes" |
7399 else | 7417 else |
7400 echo "configure: failed program was:" >&5 | 7418 echo "configure: failed program was:" >&5 |
7401 cat conftest.$ac_ext >&5 | 7419 cat conftest.$ac_ext >&5 |
7442 test "$with_toolbars" != "no" && with_toolbars=msw | 7460 test "$with_toolbars" != "no" && with_toolbars=msw |
7443 test "$with_dialogs" != "no" && with_dialogs=msw | 7461 test "$with_dialogs" != "no" && with_dialogs=msw |
7444 test "$with_widgets" != "no" && with_widgets=msw | 7462 test "$with_widgets" != "no" && with_widgets=msw |
7445 fi | 7463 fi |
7446 cat > conftest.$ac_ext <<EOF | 7464 cat > conftest.$ac_ext <<EOF |
7447 #line 7448 "configure" | 7465 #line 7466 "configure" |
7448 #include "confdefs.h" | 7466 #include "confdefs.h" |
7449 #include <fcntl.h> | 7467 #include <fcntl.h> |
7450 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7468 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7451 EOF | 7469 EOF |
7452 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7453 then | 7471 then |
7454 { test "$extra_verbose" = "yes" && cat << \EOF | 7472 { test "$extra_verbose" = "yes" && cat << \EOF |
7455 Defining HAVE_MSG_SELECT | 7473 Defining HAVE_MSG_SELECT |
7456 EOF | 7474 EOF |
7457 cat >> confdefs.h <<\EOF | 7475 cat >> confdefs.h <<\EOF |
7508 fi | 7526 fi |
7509 | 7527 |
7510 if test "$with_x11" = "yes"; then | 7528 if test "$with_x11" = "yes"; then |
7511 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7529 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7512 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7530 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7513 echo "configure:7514: checking for X11/extensions/shape.h" >&5 | 7531 echo "configure:7532: checking for X11/extensions/shape.h" >&5 |
7514 | 7532 |
7515 cat > conftest.$ac_ext <<EOF | 7533 cat > conftest.$ac_ext <<EOF |
7516 #line 7517 "configure" | 7534 #line 7535 "configure" |
7517 #include "confdefs.h" | 7535 #include "confdefs.h" |
7518 #include <X11/extensions/shape.h> | 7536 #include <X11/extensions/shape.h> |
7519 EOF | 7537 EOF |
7520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7521 { (eval echo configure:7522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7539 { (eval echo configure:7540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7523 if test -z "$ac_err"; then | 7541 if test -z "$ac_err"; then |
7524 rm -rf conftest* | 7542 rm -rf conftest* |
7525 eval "ac_cv_header_$ac_safe=yes" | 7543 eval "ac_cv_header_$ac_safe=yes" |
7526 else | 7544 else |
7566 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7584 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7567 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7585 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7568 esac | 7586 esac |
7569 | 7587 |
7570 echo "checking for WM_COMMAND option" 1>&6 | 7588 echo "checking for WM_COMMAND option" 1>&6 |
7571 echo "configure:7572: checking for WM_COMMAND option" >&5; | 7589 echo "configure:7590: checking for WM_COMMAND option" >&5; |
7572 if test "$with_wmcommand" != "no"; then | 7590 if test "$with_wmcommand" != "no"; then |
7573 { test "$extra_verbose" = "yes" && cat << \EOF | 7591 { test "$extra_verbose" = "yes" && cat << \EOF |
7574 Defining HAVE_WMCOMMAND | 7592 Defining HAVE_WMCOMMAND |
7575 EOF | 7593 EOF |
7576 cat >> confdefs.h <<\EOF | 7594 cat >> confdefs.h <<\EOF |
7581 fi | 7599 fi |
7582 | 7600 |
7583 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7601 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7584 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7602 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7585 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7603 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7586 echo "configure:7587: checking for X11/Xauth.h" >&5 | 7604 echo "configure:7605: checking for X11/Xauth.h" >&5 |
7587 | 7605 |
7588 cat > conftest.$ac_ext <<EOF | 7606 cat > conftest.$ac_ext <<EOF |
7589 #line 7590 "configure" | 7607 #line 7608 "configure" |
7590 #include "confdefs.h" | 7608 #include "confdefs.h" |
7591 #include <X11/Xauth.h> | 7609 #include <X11/Xauth.h> |
7592 EOF | 7610 EOF |
7593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7594 { (eval echo configure:7595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7612 { (eval echo configure:7613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7596 if test -z "$ac_err"; then | 7614 if test -z "$ac_err"; then |
7597 rm -rf conftest* | 7615 rm -rf conftest* |
7598 eval "ac_cv_header_$ac_safe=yes" | 7616 eval "ac_cv_header_$ac_safe=yes" |
7599 else | 7617 else |
7612 with_xauth=no | 7630 with_xauth=no |
7613 fi | 7631 fi |
7614 } | 7632 } |
7615 test -z "$with_xauth" && { | 7633 test -z "$with_xauth" && { |
7616 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7634 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7617 echo "configure:7618: checking for XauGetAuthByAddr in -lXau" >&5 | 7635 echo "configure:7636: checking for XauGetAuthByAddr in -lXau" >&5 |
7618 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7636 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7619 | 7637 |
7620 xe_check_libs=" -lXau " | 7638 xe_check_libs=" -lXau " |
7621 cat > conftest.$ac_ext <<EOF | 7639 cat > conftest.$ac_ext <<EOF |
7622 #line 7623 "configure" | 7640 #line 7641 "configure" |
7623 #include "confdefs.h" | 7641 #include "confdefs.h" |
7624 /* Override any gcc2 internal prototype to avoid an error. */ | 7642 /* Override any gcc2 internal prototype to avoid an error. */ |
7625 /* We use char because int might match the return type of a gcc2 | 7643 /* We use char because int might match the return type of a gcc2 |
7626 builtin and then its argument prototype would still apply. */ | 7644 builtin and then its argument prototype would still apply. */ |
7627 char XauGetAuthByAddr(); | 7645 char XauGetAuthByAddr(); |
7628 | 7646 |
7629 int main() { | 7647 int main() { |
7630 XauGetAuthByAddr() | 7648 XauGetAuthByAddr() |
7631 ; return 0; } | 7649 ; return 0; } |
7632 EOF | 7650 EOF |
7633 if { (eval echo configure:7634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7651 if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7634 rm -rf conftest* | 7652 rm -rf conftest* |
7635 eval "ac_cv_lib_$ac_lib_var=yes" | 7653 eval "ac_cv_lib_$ac_lib_var=yes" |
7636 else | 7654 else |
7637 echo "configure: failed program was:" >&5 | 7655 echo "configure: failed program was:" >&5 |
7638 cat conftest.$ac_ext >&5 | 7656 cat conftest.$ac_ext >&5 |
7679 fi | 7697 fi |
7680 | 7698 |
7681 | 7699 |
7682 if test "$with_modules" != "no"; then | 7700 if test "$with_modules" != "no"; then |
7683 echo "checking for module support" 1>&6 | 7701 echo "checking for module support" 1>&6 |
7684 echo "configure:7685: checking for module support" >&5 | 7702 echo "configure:7703: checking for module support" >&5 |
7685 | 7703 |
7686 if test "$with_msw" = "yes"; then | 7704 if test "$with_msw" = "yes"; then |
7687 have_dl=yes; | 7705 have_dl=yes; |
7688 else | 7706 else |
7689 case "$opsys" in | 7707 case "$opsys" in |
7696 } | 7714 } |
7697 ;; | 7715 ;; |
7698 * ) | 7716 * ) |
7699 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7717 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7700 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7718 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7701 echo "configure:7702: checking for dlfcn.h" >&5 | 7719 echo "configure:7720: checking for dlfcn.h" >&5 |
7702 | 7720 |
7703 cat > conftest.$ac_ext <<EOF | 7721 cat > conftest.$ac_ext <<EOF |
7704 #line 7705 "configure" | 7722 #line 7723 "configure" |
7705 #include "confdefs.h" | 7723 #include "confdefs.h" |
7706 #include <dlfcn.h> | 7724 #include <dlfcn.h> |
7707 EOF | 7725 EOF |
7708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7709 { (eval echo configure:7710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7727 { (eval echo configure:7728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7711 if test -z "$ac_err"; then | 7729 if test -z "$ac_err"; then |
7712 rm -rf conftest* | 7730 rm -rf conftest* |
7713 eval "ac_cv_header_$ac_safe=yes" | 7731 eval "ac_cv_header_$ac_safe=yes" |
7714 else | 7732 else |
7721 rm -f conftest* | 7739 rm -f conftest* |
7722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7723 echo "$ac_t""yes" 1>&6 | 7741 echo "$ac_t""yes" 1>&6 |
7724 | 7742 |
7725 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7743 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7726 echo "configure:7727: checking for dlopen in -lc" >&5 | 7744 echo "configure:7745: checking for dlopen in -lc" >&5 |
7727 cat > conftest.$ac_ext <<EOF | 7745 cat > conftest.$ac_ext <<EOF |
7728 #line 7729 "configure" | 7746 #line 7747 "configure" |
7729 #include "confdefs.h" | 7747 #include "confdefs.h" |
7730 #include <dlfcn.h> | 7748 #include <dlfcn.h> |
7731 int main() { | 7749 int main() { |
7732 dlopen ("", 0); | 7750 dlopen ("", 0); |
7733 ; return 0; } | 7751 ; return 0; } |
7734 EOF | 7752 EOF |
7735 if { (eval echo configure:7736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7753 if { (eval echo configure:7754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7736 rm -rf conftest* | 7754 rm -rf conftest* |
7737 have_dl=yes | 7755 have_dl=yes |
7738 else | 7756 else |
7739 echo "configure: failed program was:" >&5 | 7757 echo "configure: failed program was:" >&5 |
7740 cat conftest.$ac_ext >&5 | 7758 cat conftest.$ac_ext >&5 |
7741 rm -rf conftest* | 7759 rm -rf conftest* |
7742 | 7760 |
7743 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7761 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7744 echo "configure:7745: checking for dlopen in -ldl" >&5 | 7762 echo "configure:7763: checking for dlopen in -ldl" >&5 |
7745 ac_save_LIBS="$LIBS" | 7763 ac_save_LIBS="$LIBS" |
7746 LIBS="-ldl $LIBS" | 7764 LIBS="-ldl $LIBS" |
7747 cat > conftest.$ac_ext <<EOF | 7765 cat > conftest.$ac_ext <<EOF |
7748 #line 7749 "configure" | 7766 #line 7767 "configure" |
7749 #include "confdefs.h" | 7767 #include "confdefs.h" |
7750 #include <dlfcn.h> | 7768 #include <dlfcn.h> |
7751 int main() { | 7769 int main() { |
7752 dlopen ("", 0); | 7770 dlopen ("", 0); |
7753 ; return 0; } | 7771 ; return 0; } |
7754 EOF | 7772 EOF |
7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7756 rm -rf conftest* | 7774 rm -rf conftest* |
7757 have_dl=yes | 7775 have_dl=yes |
7758 else | 7776 else |
7759 echo "configure: failed program was:" >&5 | 7777 echo "configure: failed program was:" >&5 |
7760 cat conftest.$ac_ext >&5 | 7778 cat conftest.$ac_ext >&5 |
7790 ld_dynamic_link_flags= | 7808 ld_dynamic_link_flags= |
7791 xehost=$canonical | 7809 xehost=$canonical |
7792 xealias=$internal_configuration | 7810 xealias=$internal_configuration |
7793 | 7811 |
7794 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7812 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7795 echo "configure:7796: checking how to build dynamic libraries for ${xehost}" >&5 | 7813 echo "configure:7814: checking how to build dynamic libraries for ${xehost}" >&5 |
7796 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7814 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7797 case "$xehost" in | 7815 case "$xehost" in |
7798 *-*-linux-gnu*) ;; | 7816 *-*-linux-gnu*) ;; |
7799 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7817 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7800 esac | 7818 esac |
7818 # Now see if the compiler is really GCC. | 7836 # Now see if the compiler is really GCC. |
7819 if test "$GCC" = "yes"; then | 7837 if test "$GCC" = "yes"; then |
7820 XEGCC=yes | 7838 XEGCC=yes |
7821 else | 7839 else |
7822 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7840 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7823 echo "configure:7824: checking checking whether we are using GNU C" >&5 | 7841 echo "configure:7842: checking checking whether we are using GNU C" >&5 |
7824 cat > conftest.$ac_ext <<EOF | 7842 cat > conftest.$ac_ext <<EOF |
7825 #line 7826 "configure" | 7843 #line 7844 "configure" |
7826 #include "confdefs.h" | 7844 #include "confdefs.h" |
7827 | 7845 |
7828 #ifdef __GNUC__ | 7846 #ifdef __GNUC__ |
7829 yes; | 7847 yes; |
7830 #endif | 7848 #endif |
7842 | 7860 |
7843 echo "$ac_t""${XEGCC}" 1>&6 | 7861 echo "$ac_t""${XEGCC}" 1>&6 |
7844 fi | 7862 fi |
7845 | 7863 |
7846 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7864 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7847 echo "configure:7848: checking how to produce PIC code" >&5 | 7865 echo "configure:7866: checking how to produce PIC code" >&5 |
7848 wl= | 7866 wl= |
7849 | 7867 |
7850 can_build_shared=yes | 7868 can_build_shared=yes |
7851 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7869 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7852 wl='-Wl,' | 7870 wl='-Wl,' |
7946 if test -n "$dll_cflags"; then | 7964 if test -n "$dll_cflags"; then |
7947 echo "$ac_t""${dll_cflags}" 1>&6 | 7965 echo "$ac_t""${dll_cflags}" 1>&6 |
7948 | 7966 |
7949 # Check to make sure the dll_cflags actually works. | 7967 # Check to make sure the dll_cflags actually works. |
7950 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7968 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7951 echo "configure:7952: checking if PIC flag ${dll_cflags} really works" >&5 | 7969 echo "configure:7970: checking if PIC flag ${dll_cflags} really works" >&5 |
7952 save_CFLAGS="$CFLAGS" | 7970 save_CFLAGS="$CFLAGS" |
7953 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7971 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7954 cat > conftest.$ac_ext <<EOF | 7972 cat > conftest.$ac_ext <<EOF |
7955 #line 7956 "configure" | 7973 #line 7974 "configure" |
7956 #include "confdefs.h" | 7974 #include "confdefs.h" |
7957 | 7975 |
7958 int main() { | 7976 int main() { |
7959 int x=0; | 7977 int x=0; |
7960 ; return 0; } | 7978 ; return 0; } |
7961 EOF | 7979 EOF |
7962 if { (eval echo configure:7963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7980 if { (eval echo configure:7981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7963 rm -rf conftest* | 7981 rm -rf conftest* |
7964 | 7982 |
7965 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7983 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7966 # reports no error. So, we need to grep stderr for (Bundled). | 7984 # reports no error. So, we need to grep stderr for (Bundled). |
7967 if grep '(Bundled)' config.log >/dev/null; then | 7985 if grep '(Bundled)' config.log >/dev/null; then |
7988 if test "$can_build_shared" = "yes"; then | 8006 if test "$can_build_shared" = "yes"; then |
7989 cc_produces_so=no | 8007 cc_produces_so=no |
7990 xldf= | 8008 xldf= |
7991 xcldf= | 8009 xcldf= |
7992 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8010 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7993 echo "configure:7994: checking if C compiler can produce shared libraries" >&5 | 8011 echo "configure:8012: checking if C compiler can produce shared libraries" >&5 |
7994 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8012 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7995 case "$xehost_os" in | 8013 case "$xehost_os" in |
7996 *darwin*) | 8014 *darwin*) |
7997 xcldf='-bundle' | 8015 xcldf='-bundle' |
7998 xldf='-bundle -bundle_loader ../../src/xemacs' | 8016 xldf='-bundle -bundle_loader ../../src/xemacs' |
8047 LDFLAGS="$xcldf $LDFLAGS" | 8065 LDFLAGS="$xcldf $LDFLAGS" |
8048 LIBS= | 8066 LIBS= |
8049 xe_libs= | 8067 xe_libs= |
8050 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8068 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8051 cat > conftest.$ac_ext <<EOF | 8069 cat > conftest.$ac_ext <<EOF |
8052 #line 8053 "configure" | 8070 #line 8071 "configure" |
8053 #include "confdefs.h" | 8071 #include "confdefs.h" |
8054 | 8072 |
8055 int main() { | 8073 int main() { |
8056 int x=0; | 8074 int x=0; |
8057 ; return 0; } | 8075 ; return 0; } |
8058 EOF | 8076 EOF |
8059 if { (eval echo configure:8060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8060 rm -rf conftest* | 8078 rm -rf conftest* |
8061 cc_produces_so=yes | 8079 cc_produces_so=yes |
8062 else | 8080 else |
8063 echo "configure: failed program was:" >&5 | 8081 echo "configure: failed program was:" >&5 |
8064 cat conftest.$ac_ext >&5 | 8082 cat conftest.$ac_ext >&5 |
8079 if test -z "$LTLD"; then | 8097 if test -z "$LTLD"; then |
8080 ac_prog=ld | 8098 ac_prog=ld |
8081 if test "$XEGCC" = yes; then | 8099 if test "$XEGCC" = yes; then |
8082 # Check if gcc -print-prog-name=ld gives a path. | 8100 # Check if gcc -print-prog-name=ld gives a path. |
8083 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8101 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8084 echo "configure:8085: checking for ld used by GCC" >&5 | 8102 echo "configure:8103: checking for ld used by GCC" >&5 |
8085 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8103 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8086 case "$ac_prog" in | 8104 case "$ac_prog" in |
8087 # Accept absolute paths. | 8105 # Accept absolute paths. |
8088 /*) | 8106 /*) |
8089 if test -z "$LTLD"; then | 8107 if test -z "$LTLD"; then |
8105 with_gnu_ld=unknown | 8123 with_gnu_ld=unknown |
8106 ;; | 8124 ;; |
8107 esac | 8125 esac |
8108 else | 8126 else |
8109 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8127 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8110 echo "configure:8111: checking for GNU ld" >&5 | 8128 echo "configure:8129: checking for GNU ld" >&5 |
8111 fi | 8129 fi |
8112 | 8130 |
8113 if test -z "$LTLD"; then | 8131 if test -z "$LTLD"; then |
8114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8132 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8115 for ac_dir in $PATH; do | 8133 for ac_dir in $PATH; do |
8143 | 8161 |
8144 ld_dynamic_link_flags= | 8162 ld_dynamic_link_flags= |
8145 | 8163 |
8146 # Check to see if it really is or isn't GNU ld. | 8164 # Check to see if it really is or isn't GNU ld. |
8147 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8165 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8148 echo "configure:8149: checking if the linker is GNU ld" >&5 | 8166 echo "configure:8167: checking if the linker is GNU ld" >&5 |
8149 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8167 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8150 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8168 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8151 xe_gnu_ld=yes | 8169 xe_gnu_ld=yes |
8152 else | 8170 else |
8153 xe_gnu_ld=no | 8171 xe_gnu_ld=no |
8178 ld_shlibs=yes | 8196 ld_shlibs=yes |
8179 else | 8197 else |
8180 # OK - only NOW do we futz about with ld. | 8198 # OK - only NOW do we futz about with ld. |
8181 # See if the linker supports building shared libraries. | 8199 # See if the linker supports building shared libraries. |
8182 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8200 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8183 echo "configure:8184: checking whether the linker supports shared libraries" >&5 | 8201 echo "configure:8202: checking whether the linker supports shared libraries" >&5 |
8184 dll_ld=$CC | 8202 dll_ld=$CC |
8185 dll_ldflags=$LDFLAGS | 8203 dll_ldflags=$LDFLAGS |
8186 ld_shlibs=yes | 8204 ld_shlibs=yes |
8187 can_build_shared=yes | 8205 can_build_shared=yes |
8188 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8206 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8391 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8409 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8392 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8410 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8393 for ac_func in dlerror _dlerror | 8411 for ac_func in dlerror _dlerror |
8394 do | 8412 do |
8395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8396 echo "configure:8397: checking for $ac_func" >&5 | 8414 echo "configure:8415: checking for $ac_func" >&5 |
8397 | 8415 |
8398 cat > conftest.$ac_ext <<EOF | 8416 cat > conftest.$ac_ext <<EOF |
8399 #line 8400 "configure" | 8417 #line 8418 "configure" |
8400 #include "confdefs.h" | 8418 #include "confdefs.h" |
8401 /* System header to define __stub macros and hopefully few prototypes, | 8419 /* System header to define __stub macros and hopefully few prototypes, |
8402 which can conflict with char $ac_func(); below. */ | 8420 which can conflict with char $ac_func(); below. */ |
8403 #include <assert.h> | 8421 #include <assert.h> |
8404 /* Override any gcc2 internal prototype to avoid an error. */ | 8422 /* Override any gcc2 internal prototype to avoid an error. */ |
8417 $ac_func(); | 8435 $ac_func(); |
8418 #endif | 8436 #endif |
8419 | 8437 |
8420 ; return 0; } | 8438 ; return 0; } |
8421 EOF | 8439 EOF |
8422 if { (eval echo configure:8423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8440 if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8423 rm -rf conftest* | 8441 rm -rf conftest* |
8424 eval "ac_cv_func_$ac_func=yes" | 8442 eval "ac_cv_func_$ac_func=yes" |
8425 else | 8443 else |
8426 echo "configure: failed program was:" >&5 | 8444 echo "configure: failed program was:" >&5 |
8427 cat conftest.$ac_ext >&5 | 8445 cat conftest.$ac_ext >&5 |
8481 | 8499 |
8482 if test "$with_tooltalk" != "no" ; then | 8500 if test "$with_tooltalk" != "no" ; then |
8483 for dir in "" "Tt/" "desktop/" ; do | 8501 for dir in "" "Tt/" "desktop/" ; do |
8484 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8502 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8485 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8503 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8486 echo "configure:8487: checking for ${dir}tt_c.h" >&5 | 8504 echo "configure:8505: checking for ${dir}tt_c.h" >&5 |
8487 | 8505 |
8488 cat > conftest.$ac_ext <<EOF | 8506 cat > conftest.$ac_ext <<EOF |
8489 #line 8490 "configure" | 8507 #line 8508 "configure" |
8490 #include "confdefs.h" | 8508 #include "confdefs.h" |
8491 #include <${dir}tt_c.h> | 8509 #include <${dir}tt_c.h> |
8492 EOF | 8510 EOF |
8493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8494 { (eval echo configure:8495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8512 { (eval echo configure:8513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8495 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8496 if test -z "$ac_err"; then | 8514 if test -z "$ac_err"; then |
8497 rm -rf conftest* | 8515 rm -rf conftest* |
8498 eval "ac_cv_header_$ac_safe=yes" | 8516 eval "ac_cv_header_$ac_safe=yes" |
8499 else | 8517 else |
8525 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8543 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8526 | 8544 |
8527 xe_msg_checking="for tt_message_create in -ltt" | 8545 xe_msg_checking="for tt_message_create in -ltt" |
8528 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8546 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8529 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8547 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8530 echo "configure:8531: checking "$xe_msg_checking"" >&5 | 8548 echo "configure:8549: checking "$xe_msg_checking"" >&5 |
8531 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8549 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8532 | 8550 |
8533 xe_check_libs=" -ltt $extra_libs" | 8551 xe_check_libs=" -ltt $extra_libs" |
8534 cat > conftest.$ac_ext <<EOF | 8552 cat > conftest.$ac_ext <<EOF |
8535 #line 8536 "configure" | 8553 #line 8554 "configure" |
8536 #include "confdefs.h" | 8554 #include "confdefs.h" |
8537 /* Override any gcc2 internal prototype to avoid an error. */ | 8555 /* Override any gcc2 internal prototype to avoid an error. */ |
8538 /* We use char because int might match the return type of a gcc2 | 8556 /* We use char because int might match the return type of a gcc2 |
8539 builtin and then its argument prototype would still apply. */ | 8557 builtin and then its argument prototype would still apply. */ |
8540 char tt_message_create(); | 8558 char tt_message_create(); |
8541 | 8559 |
8542 int main() { | 8560 int main() { |
8543 tt_message_create() | 8561 tt_message_create() |
8544 ; return 0; } | 8562 ; return 0; } |
8545 EOF | 8563 EOF |
8546 if { (eval echo configure:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8564 if { (eval echo configure:8565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8547 rm -rf conftest* | 8565 rm -rf conftest* |
8548 eval "ac_cv_lib_$ac_lib_var=yes" | 8566 eval "ac_cv_lib_$ac_lib_var=yes" |
8549 else | 8567 else |
8550 echo "configure: failed program was:" >&5 | 8568 echo "configure: failed program was:" >&5 |
8551 cat conftest.$ac_ext >&5 | 8569 cat conftest.$ac_ext >&5 |
8595 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8613 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8596 fi | 8614 fi |
8597 | 8615 |
8598 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8616 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8599 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8617 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8600 echo "configure:8601: checking for Dt/Dt.h" >&5 | 8618 echo "configure:8619: checking for Dt/Dt.h" >&5 |
8601 | 8619 |
8602 cat > conftest.$ac_ext <<EOF | 8620 cat > conftest.$ac_ext <<EOF |
8603 #line 8604 "configure" | 8621 #line 8622 "configure" |
8604 #include "confdefs.h" | 8622 #include "confdefs.h" |
8605 #include <Dt/Dt.h> | 8623 #include <Dt/Dt.h> |
8606 EOF | 8624 EOF |
8607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8608 { (eval echo configure:8609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8626 { (eval echo configure:8627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8610 if test -z "$ac_err"; then | 8628 if test -z "$ac_err"; then |
8611 rm -rf conftest* | 8629 rm -rf conftest* |
8612 eval "ac_cv_header_$ac_safe=yes" | 8630 eval "ac_cv_header_$ac_safe=yes" |
8613 else | 8631 else |
8626 with_cde=no | 8644 with_cde=no |
8627 fi | 8645 fi |
8628 } | 8646 } |
8629 test -z "$with_cde" && { | 8647 test -z "$with_cde" && { |
8630 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8648 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8631 echo "configure:8632: checking for DtDndDragStart in -lDtSvc" >&5 | 8649 echo "configure:8650: checking for DtDndDragStart in -lDtSvc" >&5 |
8632 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8650 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8633 | 8651 |
8634 xe_check_libs=" -lDtSvc " | 8652 xe_check_libs=" -lDtSvc " |
8635 cat > conftest.$ac_ext <<EOF | 8653 cat > conftest.$ac_ext <<EOF |
8636 #line 8637 "configure" | 8654 #line 8655 "configure" |
8637 #include "confdefs.h" | 8655 #include "confdefs.h" |
8638 /* Override any gcc2 internal prototype to avoid an error. */ | 8656 /* Override any gcc2 internal prototype to avoid an error. */ |
8639 /* We use char because int might match the return type of a gcc2 | 8657 /* We use char because int might match the return type of a gcc2 |
8640 builtin and then its argument prototype would still apply. */ | 8658 builtin and then its argument prototype would still apply. */ |
8641 char DtDndDragStart(); | 8659 char DtDndDragStart(); |
8642 | 8660 |
8643 int main() { | 8661 int main() { |
8644 DtDndDragStart() | 8662 DtDndDragStart() |
8645 ; return 0; } | 8663 ; return 0; } |
8646 EOF | 8664 EOF |
8647 if { (eval echo configure:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8665 if { (eval echo configure:8666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8648 rm -rf conftest* | 8666 rm -rf conftest* |
8649 eval "ac_cv_lib_$ac_lib_var=yes" | 8667 eval "ac_cv_lib_$ac_lib_var=yes" |
8650 else | 8668 else |
8651 echo "configure: failed program was:" >&5 | 8669 echo "configure: failed program was:" >&5 |
8652 cat conftest.$ac_ext >&5 | 8670 cat conftest.$ac_ext >&5 |
8723 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8741 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8724 fi | 8742 fi |
8725 | 8743 |
8726 if test "$with_dragndrop" != "no" ; then | 8744 if test "$with_dragndrop" != "no" ; then |
8727 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8745 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8728 echo "configure:8729: checking if drag and drop API is needed" >&5 | 8746 echo "configure:8747: checking if drag and drop API is needed" >&5 |
8729 if test -n "$dragndrop_proto" ; then | 8747 if test -n "$dragndrop_proto" ; then |
8730 with_dragndrop=yes | 8748 with_dragndrop=yes |
8731 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8749 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8732 { test "$extra_verbose" = "yes" && cat << \EOF | 8750 { test "$extra_verbose" = "yes" && cat << \EOF |
8733 Defining HAVE_DRAGNDROP | 8751 Defining HAVE_DRAGNDROP |
8743 echo "$ac_t""no" 1>&6 | 8761 echo "$ac_t""no" 1>&6 |
8744 fi | 8762 fi |
8745 fi | 8763 fi |
8746 | 8764 |
8747 echo "checking for LDAP" 1>&6 | 8765 echo "checking for LDAP" 1>&6 |
8748 echo "configure:8749: checking for LDAP" >&5 | 8766 echo "configure:8767: checking for LDAP" >&5 |
8749 ldap_libs= | 8767 ldap_libs= |
8750 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8768 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8751 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8769 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8752 echo "configure:8753: checking for ldap.h" >&5 | 8770 echo "configure:8771: checking for ldap.h" >&5 |
8753 | 8771 |
8754 cat > conftest.$ac_ext <<EOF | 8772 cat > conftest.$ac_ext <<EOF |
8755 #line 8756 "configure" | 8773 #line 8774 "configure" |
8756 #include "confdefs.h" | 8774 #include "confdefs.h" |
8757 #include <ldap.h> | 8775 #include <ldap.h> |
8758 EOF | 8776 EOF |
8759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8760 { (eval echo configure:8761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8778 { (eval echo configure:8779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8762 if test -z "$ac_err"; then | 8780 if test -z "$ac_err"; then |
8763 rm -rf conftest* | 8781 rm -rf conftest* |
8764 eval "ac_cv_header_$ac_safe=yes" | 8782 eval "ac_cv_header_$ac_safe=yes" |
8765 else | 8783 else |
8778 with_ldap=no | 8796 with_ldap=no |
8779 fi | 8797 fi |
8780 } | 8798 } |
8781 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8799 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8782 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8800 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8783 echo "configure:8784: checking for lber.h" >&5 | 8801 echo "configure:8802: checking for lber.h" >&5 |
8784 | 8802 |
8785 cat > conftest.$ac_ext <<EOF | 8803 cat > conftest.$ac_ext <<EOF |
8786 #line 8787 "configure" | 8804 #line 8805 "configure" |
8787 #include "confdefs.h" | 8805 #include "confdefs.h" |
8788 #include <lber.h> | 8806 #include <lber.h> |
8789 EOF | 8807 EOF |
8790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8791 { (eval echo configure:8792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8809 { (eval echo configure:8810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8793 if test -z "$ac_err"; then | 8811 if test -z "$ac_err"; then |
8794 rm -rf conftest* | 8812 rm -rf conftest* |
8795 eval "ac_cv_header_$ac_safe=yes" | 8813 eval "ac_cv_header_$ac_safe=yes" |
8796 else | 8814 else |
8810 fi | 8828 fi |
8811 } | 8829 } |
8812 if test "$with_ldap" != "no"; then | 8830 if test "$with_ldap" != "no"; then |
8813 | 8831 |
8814 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8832 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8815 echo "configure:8816: checking for ldap_search in -lldap" >&5 | 8833 echo "configure:8834: checking for ldap_search in -lldap" >&5 |
8816 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8834 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8817 | 8835 |
8818 xe_check_libs=" -lldap " | 8836 xe_check_libs=" -lldap " |
8819 cat > conftest.$ac_ext <<EOF | 8837 cat > conftest.$ac_ext <<EOF |
8820 #line 8821 "configure" | 8838 #line 8839 "configure" |
8821 #include "confdefs.h" | 8839 #include "confdefs.h" |
8822 /* Override any gcc2 internal prototype to avoid an error. */ | 8840 /* Override any gcc2 internal prototype to avoid an error. */ |
8823 /* We use char because int might match the return type of a gcc2 | 8841 /* We use char because int might match the return type of a gcc2 |
8824 builtin and then its argument prototype would still apply. */ | 8842 builtin and then its argument prototype would still apply. */ |
8825 char ldap_search(); | 8843 char ldap_search(); |
8826 | 8844 |
8827 int main() { | 8845 int main() { |
8828 ldap_search() | 8846 ldap_search() |
8829 ; return 0; } | 8847 ; return 0; } |
8830 EOF | 8848 EOF |
8831 if { (eval echo configure:8832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8849 if { (eval echo configure:8850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8832 rm -rf conftest* | 8850 rm -rf conftest* |
8833 eval "ac_cv_lib_$ac_lib_var=yes" | 8851 eval "ac_cv_lib_$ac_lib_var=yes" |
8834 else | 8852 else |
8835 echo "configure: failed program was:" >&5 | 8853 echo "configure: failed program was:" >&5 |
8836 cat conftest.$ac_ext >&5 | 8854 cat conftest.$ac_ext >&5 |
8851 | 8869 |
8852 test "$with_ldap_nolber" = "no" && { | 8870 test "$with_ldap_nolber" = "no" && { |
8853 xe_msg_checking="for ldap_open in -lldap" | 8871 xe_msg_checking="for ldap_open in -lldap" |
8854 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8872 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8855 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8873 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8856 echo "configure:8857: checking "$xe_msg_checking"" >&5 | 8874 echo "configure:8875: checking "$xe_msg_checking"" >&5 |
8857 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8875 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8858 | 8876 |
8859 xe_check_libs=" -lldap -llber" | 8877 xe_check_libs=" -lldap -llber" |
8860 cat > conftest.$ac_ext <<EOF | 8878 cat > conftest.$ac_ext <<EOF |
8861 #line 8862 "configure" | 8879 #line 8880 "configure" |
8862 #include "confdefs.h" | 8880 #include "confdefs.h" |
8863 /* Override any gcc2 internal prototype to avoid an error. */ | 8881 /* Override any gcc2 internal prototype to avoid an error. */ |
8864 /* We use char because int might match the return type of a gcc2 | 8882 /* We use char because int might match the return type of a gcc2 |
8865 builtin and then its argument prototype would still apply. */ | 8883 builtin and then its argument prototype would still apply. */ |
8866 char ldap_open(); | 8884 char ldap_open(); |
8867 | 8885 |
8868 int main() { | 8886 int main() { |
8869 ldap_open() | 8887 ldap_open() |
8870 ; return 0; } | 8888 ; return 0; } |
8871 EOF | 8889 EOF |
8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8890 if { (eval echo configure:8891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8873 rm -rf conftest* | 8891 rm -rf conftest* |
8874 eval "ac_cv_lib_$ac_lib_var=yes" | 8892 eval "ac_cv_lib_$ac_lib_var=yes" |
8875 else | 8893 else |
8876 echo "configure: failed program was:" >&5 | 8894 echo "configure: failed program was:" >&5 |
8877 cat conftest.$ac_ext >&5 | 8895 cat conftest.$ac_ext >&5 |
8892 } | 8910 } |
8893 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8911 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8894 xe_msg_checking="for ldap_open in -lldap" | 8912 xe_msg_checking="for ldap_open in -lldap" |
8895 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8913 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8896 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8914 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8897 echo "configure:8898: checking "$xe_msg_checking"" >&5 | 8915 echo "configure:8916: checking "$xe_msg_checking"" >&5 |
8898 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8916 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8899 | 8917 |
8900 xe_check_libs=" -lldap -llber -lkrb" | 8918 xe_check_libs=" -lldap -llber -lkrb" |
8901 cat > conftest.$ac_ext <<EOF | 8919 cat > conftest.$ac_ext <<EOF |
8902 #line 8903 "configure" | 8920 #line 8921 "configure" |
8903 #include "confdefs.h" | 8921 #include "confdefs.h" |
8904 /* Override any gcc2 internal prototype to avoid an error. */ | 8922 /* Override any gcc2 internal prototype to avoid an error. */ |
8905 /* We use char because int might match the return type of a gcc2 | 8923 /* We use char because int might match the return type of a gcc2 |
8906 builtin and then its argument prototype would still apply. */ | 8924 builtin and then its argument prototype would still apply. */ |
8907 char ldap_open(); | 8925 char ldap_open(); |
8908 | 8926 |
8909 int main() { | 8927 int main() { |
8910 ldap_open() | 8928 ldap_open() |
8911 ; return 0; } | 8929 ; return 0; } |
8912 EOF | 8930 EOF |
8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8931 if { (eval echo configure:8932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8914 rm -rf conftest* | 8932 rm -rf conftest* |
8915 eval "ac_cv_lib_$ac_lib_var=yes" | 8933 eval "ac_cv_lib_$ac_lib_var=yes" |
8916 else | 8934 else |
8917 echo "configure: failed program was:" >&5 | 8935 echo "configure: failed program was:" >&5 |
8918 cat conftest.$ac_ext >&5 | 8936 cat conftest.$ac_ext >&5 |
8933 } | 8951 } |
8934 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8952 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8935 xe_msg_checking="for ldap_open in -lldap" | 8953 xe_msg_checking="for ldap_open in -lldap" |
8936 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8954 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8937 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8955 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8938 echo "configure:8939: checking "$xe_msg_checking"" >&5 | 8956 echo "configure:8957: checking "$xe_msg_checking"" >&5 |
8939 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8957 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8940 | 8958 |
8941 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8959 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8942 cat > conftest.$ac_ext <<EOF | 8960 cat > conftest.$ac_ext <<EOF |
8943 #line 8944 "configure" | 8961 #line 8962 "configure" |
8944 #include "confdefs.h" | 8962 #include "confdefs.h" |
8945 /* Override any gcc2 internal prototype to avoid an error. */ | 8963 /* Override any gcc2 internal prototype to avoid an error. */ |
8946 /* We use char because int might match the return type of a gcc2 | 8964 /* We use char because int might match the return type of a gcc2 |
8947 builtin and then its argument prototype would still apply. */ | 8965 builtin and then its argument prototype would still apply. */ |
8948 char ldap_open(); | 8966 char ldap_open(); |
8949 | 8967 |
8950 int main() { | 8968 int main() { |
8951 ldap_open() | 8969 ldap_open() |
8952 ; return 0; } | 8970 ; return 0; } |
8953 EOF | 8971 EOF |
8954 if { (eval echo configure:8955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8972 if { (eval echo configure:8973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8955 rm -rf conftest* | 8973 rm -rf conftest* |
8956 eval "ac_cv_lib_$ac_lib_var=yes" | 8974 eval "ac_cv_lib_$ac_lib_var=yes" |
8957 else | 8975 else |
8958 echo "configure: failed program was:" >&5 | 8976 echo "configure: failed program was:" >&5 |
8959 cat conftest.$ac_ext >&5 | 8977 cat conftest.$ac_ext >&5 |
8998 fi | 9016 fi |
8999 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9017 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9000 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9018 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9001 do | 9019 do |
9002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9003 echo "configure:9004: checking for $ac_func" >&5 | 9021 echo "configure:9022: checking for $ac_func" >&5 |
9004 | 9022 |
9005 cat > conftest.$ac_ext <<EOF | 9023 cat > conftest.$ac_ext <<EOF |
9006 #line 9007 "configure" | 9024 #line 9025 "configure" |
9007 #include "confdefs.h" | 9025 #include "confdefs.h" |
9008 /* System header to define __stub macros and hopefully few prototypes, | 9026 /* System header to define __stub macros and hopefully few prototypes, |
9009 which can conflict with char $ac_func(); below. */ | 9027 which can conflict with char $ac_func(); below. */ |
9010 #include <assert.h> | 9028 #include <assert.h> |
9011 /* Override any gcc2 internal prototype to avoid an error. */ | 9029 /* Override any gcc2 internal prototype to avoid an error. */ |
9024 $ac_func(); | 9042 $ac_func(); |
9025 #endif | 9043 #endif |
9026 | 9044 |
9027 ; return 0; } | 9045 ; return 0; } |
9028 EOF | 9046 EOF |
9029 if { (eval echo configure:9030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9047 if { (eval echo configure:9048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9030 rm -rf conftest* | 9048 rm -rf conftest* |
9031 eval "ac_cv_func_$ac_func=yes" | 9049 eval "ac_cv_func_$ac_func=yes" |
9032 else | 9050 else |
9033 echo "configure: failed program was:" >&5 | 9051 echo "configure: failed program was:" >&5 |
9034 cat conftest.$ac_ext >&5 | 9052 cat conftest.$ac_ext >&5 |
9063 | 9081 |
9064 | 9082 |
9065 postgresql_libs= | 9083 postgresql_libs= |
9066 if test "$with_postgresql" != "no"; then | 9084 if test "$with_postgresql" != "no"; then |
9067 echo "checking for PostgreSQL" 1>&6 | 9085 echo "checking for PostgreSQL" 1>&6 |
9068 echo "configure:9069: checking for PostgreSQL" >&5 | 9086 echo "configure:9087: checking for PostgreSQL" >&5 |
9069 | 9087 |
9070 for header_dir in "" "pgsql/" "postgresql/"; do | 9088 for header_dir in "" "pgsql/" "postgresql/"; do |
9071 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9089 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9072 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9090 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9073 echo "configure:9074: checking for ${header_dir}libpq-fe.h" >&5 | 9091 echo "configure:9092: checking for ${header_dir}libpq-fe.h" >&5 |
9074 | 9092 |
9075 cat > conftest.$ac_ext <<EOF | 9093 cat > conftest.$ac_ext <<EOF |
9076 #line 9077 "configure" | 9094 #line 9095 "configure" |
9077 #include "confdefs.h" | 9095 #include "confdefs.h" |
9078 #include <${header_dir}libpq-fe.h> | 9096 #include <${header_dir}libpq-fe.h> |
9079 EOF | 9097 EOF |
9080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9081 { (eval echo configure:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9099 { (eval echo configure:9100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9083 if test -z "$ac_err"; then | 9101 if test -z "$ac_err"; then |
9084 rm -rf conftest* | 9102 rm -rf conftest* |
9085 eval "ac_cv_header_$ac_safe=yes" | 9103 eval "ac_cv_header_$ac_safe=yes" |
9086 else | 9104 else |
9100 | 9118 |
9101 done | 9119 done |
9102 | 9120 |
9103 test -n "$libpq_fe_h_file" && { | 9121 test -n "$libpq_fe_h_file" && { |
9104 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9122 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9105 echo "configure:9106: checking for PQconnectdb in -lpq" >&5 | 9123 echo "configure:9124: checking for PQconnectdb in -lpq" >&5 |
9106 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9124 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9107 | 9125 |
9108 xe_check_libs=" -lpq " | 9126 xe_check_libs=" -lpq " |
9109 cat > conftest.$ac_ext <<EOF | 9127 cat > conftest.$ac_ext <<EOF |
9110 #line 9111 "configure" | 9128 #line 9129 "configure" |
9111 #include "confdefs.h" | 9129 #include "confdefs.h" |
9112 /* Override any gcc2 internal prototype to avoid an error. */ | 9130 /* Override any gcc2 internal prototype to avoid an error. */ |
9113 /* We use char because int might match the return type of a gcc2 | 9131 /* We use char because int might match the return type of a gcc2 |
9114 builtin and then its argument prototype would still apply. */ | 9132 builtin and then its argument prototype would still apply. */ |
9115 char PQconnectdb(); | 9133 char PQconnectdb(); |
9116 | 9134 |
9117 int main() { | 9135 int main() { |
9118 PQconnectdb() | 9136 PQconnectdb() |
9119 ; return 0; } | 9137 ; return 0; } |
9120 EOF | 9138 EOF |
9121 if { (eval echo configure:9122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9139 if { (eval echo configure:9140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9122 rm -rf conftest* | 9140 rm -rf conftest* |
9123 eval "ac_cv_lib_$ac_lib_var=yes" | 9141 eval "ac_cv_lib_$ac_lib_var=yes" |
9124 else | 9142 else |
9125 echo "configure: failed program was:" >&5 | 9143 echo "configure: failed program was:" >&5 |
9126 cat conftest.$ac_ext >&5 | 9144 cat conftest.$ac_ext >&5 |
9149 EOF | 9167 EOF |
9150 } | 9168 } |
9151 | 9169 |
9152 | 9170 |
9153 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9171 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9154 echo "configure:9155: checking for PQconnectStart in -lpq" >&5 | 9172 echo "configure:9173: checking for PQconnectStart in -lpq" >&5 |
9155 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9173 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9156 | 9174 |
9157 xe_check_libs=" -lpq " | 9175 xe_check_libs=" -lpq " |
9158 cat > conftest.$ac_ext <<EOF | 9176 cat > conftest.$ac_ext <<EOF |
9159 #line 9160 "configure" | 9177 #line 9178 "configure" |
9160 #include "confdefs.h" | 9178 #include "confdefs.h" |
9161 /* Override any gcc2 internal prototype to avoid an error. */ | 9179 /* Override any gcc2 internal prototype to avoid an error. */ |
9162 /* We use char because int might match the return type of a gcc2 | 9180 /* We use char because int might match the return type of a gcc2 |
9163 builtin and then its argument prototype would still apply. */ | 9181 builtin and then its argument prototype would still apply. */ |
9164 char PQconnectStart(); | 9182 char PQconnectStart(); |
9165 | 9183 |
9166 int main() { | 9184 int main() { |
9167 PQconnectStart() | 9185 PQconnectStart() |
9168 ; return 0; } | 9186 ; return 0; } |
9169 EOF | 9187 EOF |
9170 if { (eval echo configure:9171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9188 if { (eval echo configure:9189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9171 rm -rf conftest* | 9189 rm -rf conftest* |
9172 eval "ac_cv_lib_$ac_lib_var=yes" | 9190 eval "ac_cv_lib_$ac_lib_var=yes" |
9173 else | 9191 else |
9174 echo "configure: failed program was:" >&5 | 9192 echo "configure: failed program was:" >&5 |
9175 cat conftest.$ac_ext >&5 | 9193 cat conftest.$ac_ext >&5 |
9216 | 9234 |
9217 | 9235 |
9218 | 9236 |
9219 if test "$window_system" != "none"; then | 9237 if test "$window_system" != "none"; then |
9220 echo "checking for graphics libraries" 1>&6 | 9238 echo "checking for graphics libraries" 1>&6 |
9221 echo "configure:9222: checking for graphics libraries" >&5 | 9239 echo "configure:9240: checking for graphics libraries" >&5 |
9222 | 9240 |
9223 libpath_xpm= | 9241 libpath_xpm= |
9224 incpath_xpm= | 9242 incpath_xpm= |
9225 case "$opsys" in | 9243 case "$opsys" in |
9226 cygwin*) | 9244 cygwin*) |
9242 xpm_problem="" | 9260 xpm_problem="" |
9243 if test -z "$with_xpm"; then | 9261 if test -z "$with_xpm"; then |
9244 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9262 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9245 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9263 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9246 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9264 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9247 echo "configure:9248: checking for Xpm - no older than 3.4f" >&5 | 9265 echo "configure:9266: checking for Xpm - no older than 3.4f" >&5 |
9248 xe_check_libs=-lXpm | 9266 xe_check_libs=-lXpm |
9249 cat > conftest.$ac_ext <<EOF | 9267 cat > conftest.$ac_ext <<EOF |
9250 #line 9251 "configure" | 9268 #line 9269 "configure" |
9251 #include "confdefs.h" | 9269 #include "confdefs.h" |
9252 #define XPM_NUMBERS | 9270 #define XPM_NUMBERS |
9253 #include <X11/xpm.h> | 9271 #include <X11/xpm.h> |
9254 int main(int c, char **v) { | 9272 int main(int c, char **v) { |
9255 return c == 1 ? 0 : | 9273 return c == 1 ? 0 : |
9256 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9274 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9257 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9275 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9258 EOF | 9276 EOF |
9259 if { (eval echo configure:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9277 if { (eval echo configure:9278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9260 then | 9278 then |
9261 ./conftest dummy_arg; xpm_status=$?; | 9279 ./conftest dummy_arg; xpm_status=$?; |
9262 if test "$xpm_status" = "0"; then | 9280 if test "$xpm_status" = "0"; then |
9263 with_xpm=yes; | 9281 with_xpm=yes; |
9264 else | 9282 else |
9298 | 9316 |
9299 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9317 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9300 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9318 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9301 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9319 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9302 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9320 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9303 echo "configure:9304: checking for \"FOR_MSW\" xpm" >&5 | 9321 echo "configure:9322: checking for \"FOR_MSW\" xpm" >&5 |
9304 xe_check_libs=-lXpm | 9322 xe_check_libs=-lXpm |
9305 cat > conftest.$ac_ext <<EOF | 9323 cat > conftest.$ac_ext <<EOF |
9306 #line 9307 "configure" | 9324 #line 9325 "configure" |
9307 #include "confdefs.h" | 9325 #include "confdefs.h" |
9308 | 9326 |
9309 int main() { | 9327 int main() { |
9310 XpmCreatePixmapFromData() | 9328 XpmCreatePixmapFromData() |
9311 ; return 0; } | 9329 ; return 0; } |
9312 EOF | 9330 EOF |
9313 if { (eval echo configure:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9314 rm -rf conftest* | 9332 rm -rf conftest* |
9315 xpm_for_msw=no | 9333 xpm_for_msw=no |
9316 else | 9334 else |
9317 echo "configure: failed program was:" >&5 | 9335 echo "configure: failed program was:" >&5 |
9318 cat conftest.$ac_ext >&5 | 9336 cat conftest.$ac_ext >&5 |
9334 fi | 9352 fi |
9335 fi | 9353 fi |
9336 | 9354 |
9337 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9355 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9338 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9356 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9339 echo "configure:9340: checking for compface.h" >&5 | 9357 echo "configure:9358: checking for compface.h" >&5 |
9340 | 9358 |
9341 cat > conftest.$ac_ext <<EOF | 9359 cat > conftest.$ac_ext <<EOF |
9342 #line 9343 "configure" | 9360 #line 9361 "configure" |
9343 #include "confdefs.h" | 9361 #include "confdefs.h" |
9344 #include <compface.h> | 9362 #include <compface.h> |
9345 EOF | 9363 EOF |
9346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9347 { (eval echo configure:9348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9365 { (eval echo configure:9366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9349 if test -z "$ac_err"; then | 9367 if test -z "$ac_err"; then |
9350 rm -rf conftest* | 9368 rm -rf conftest* |
9351 eval "ac_cv_header_$ac_safe=yes" | 9369 eval "ac_cv_header_$ac_safe=yes" |
9352 else | 9370 else |
9365 with_xface=no | 9383 with_xface=no |
9366 fi | 9384 fi |
9367 } | 9385 } |
9368 test -z "$with_xface" && { | 9386 test -z "$with_xface" && { |
9369 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9387 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9370 echo "configure:9371: checking for UnGenFace in -lcompface" >&5 | 9388 echo "configure:9389: checking for UnGenFace in -lcompface" >&5 |
9371 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9389 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9372 | 9390 |
9373 xe_check_libs=" -lcompface " | 9391 xe_check_libs=" -lcompface " |
9374 cat > conftest.$ac_ext <<EOF | 9392 cat > conftest.$ac_ext <<EOF |
9375 #line 9376 "configure" | 9393 #line 9394 "configure" |
9376 #include "confdefs.h" | 9394 #include "confdefs.h" |
9377 /* Override any gcc2 internal prototype to avoid an error. */ | 9395 /* Override any gcc2 internal prototype to avoid an error. */ |
9378 /* We use char because int might match the return type of a gcc2 | 9396 /* We use char because int might match the return type of a gcc2 |
9379 builtin and then its argument prototype would still apply. */ | 9397 builtin and then its argument prototype would still apply. */ |
9380 char UnGenFace(); | 9398 char UnGenFace(); |
9381 | 9399 |
9382 int main() { | 9400 int main() { |
9383 UnGenFace() | 9401 UnGenFace() |
9384 ; return 0; } | 9402 ; return 0; } |
9385 EOF | 9403 EOF |
9386 if { (eval echo configure:9387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9404 if { (eval echo configure:9405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9387 rm -rf conftest* | 9405 rm -rf conftest* |
9388 eval "ac_cv_lib_$ac_lib_var=yes" | 9406 eval "ac_cv_lib_$ac_lib_var=yes" |
9389 else | 9407 else |
9390 echo "configure: failed program was:" >&5 | 9408 echo "configure: failed program was:" >&5 |
9391 cat conftest.$ac_ext >&5 | 9409 cat conftest.$ac_ext >&5 |
9430 fi | 9448 fi |
9431 | 9449 |
9432 if test "$with_png $with_tiff" != "no no"; then | 9450 if test "$with_png $with_tiff" != "no no"; then |
9433 | 9451 |
9434 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9452 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9435 echo "configure:9436: checking for inflate in -lc" >&5 | 9453 echo "configure:9454: checking for inflate in -lc" >&5 |
9436 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9454 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9437 | 9455 |
9438 xe_check_libs=" -lc " | 9456 xe_check_libs=" -lc " |
9439 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
9440 #line 9441 "configure" | 9458 #line 9459 "configure" |
9441 #include "confdefs.h" | 9459 #include "confdefs.h" |
9442 /* Override any gcc2 internal prototype to avoid an error. */ | 9460 /* Override any gcc2 internal prototype to avoid an error. */ |
9443 /* We use char because int might match the return type of a gcc2 | 9461 /* We use char because int might match the return type of a gcc2 |
9444 builtin and then its argument prototype would still apply. */ | 9462 builtin and then its argument prototype would still apply. */ |
9445 char inflate(); | 9463 char inflate(); |
9446 | 9464 |
9447 int main() { | 9465 int main() { |
9448 inflate() | 9466 inflate() |
9449 ; return 0; } | 9467 ; return 0; } |
9450 EOF | 9468 EOF |
9451 if { (eval echo configure:9452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9469 if { (eval echo configure:9470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9452 rm -rf conftest* | 9470 rm -rf conftest* |
9453 eval "ac_cv_lib_$ac_lib_var=yes" | 9471 eval "ac_cv_lib_$ac_lib_var=yes" |
9454 else | 9472 else |
9455 echo "configure: failed program was:" >&5 | 9473 echo "configure: failed program was:" >&5 |
9456 cat conftest.$ac_ext >&5 | 9474 cat conftest.$ac_ext >&5 |
9465 : | 9483 : |
9466 else | 9484 else |
9467 echo "$ac_t""no" 1>&6 | 9485 echo "$ac_t""no" 1>&6 |
9468 | 9486 |
9469 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9487 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9470 echo "configure:9471: checking for inflate in -lz" >&5 | 9488 echo "configure:9489: checking for inflate in -lz" >&5 |
9471 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9489 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9472 | 9490 |
9473 xe_check_libs=" -lz " | 9491 xe_check_libs=" -lz " |
9474 cat > conftest.$ac_ext <<EOF | 9492 cat > conftest.$ac_ext <<EOF |
9475 #line 9476 "configure" | 9493 #line 9494 "configure" |
9476 #include "confdefs.h" | 9494 #include "confdefs.h" |
9477 /* Override any gcc2 internal prototype to avoid an error. */ | 9495 /* Override any gcc2 internal prototype to avoid an error. */ |
9478 /* We use char because int might match the return type of a gcc2 | 9496 /* We use char because int might match the return type of a gcc2 |
9479 builtin and then its argument prototype would still apply. */ | 9497 builtin and then its argument prototype would still apply. */ |
9480 char inflate(); | 9498 char inflate(); |
9481 | 9499 |
9482 int main() { | 9500 int main() { |
9483 inflate() | 9501 inflate() |
9484 ; return 0; } | 9502 ; return 0; } |
9485 EOF | 9503 EOF |
9486 if { (eval echo configure:9487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9487 rm -rf conftest* | 9505 rm -rf conftest* |
9488 eval "ac_cv_lib_$ac_lib_var=yes" | 9506 eval "ac_cv_lib_$ac_lib_var=yes" |
9489 else | 9507 else |
9490 echo "configure: failed program was:" >&5 | 9508 echo "configure: failed program was:" >&5 |
9491 cat conftest.$ac_ext >&5 | 9509 cat conftest.$ac_ext >&5 |
9500 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9518 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9501 else | 9519 else |
9502 echo "$ac_t""no" 1>&6 | 9520 echo "$ac_t""no" 1>&6 |
9503 | 9521 |
9504 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9522 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9505 echo "configure:9506: checking for inflate in -lgz" >&5 | 9523 echo "configure:9524: checking for inflate in -lgz" >&5 |
9506 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9524 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9507 | 9525 |
9508 xe_check_libs=" -lgz " | 9526 xe_check_libs=" -lgz " |
9509 cat > conftest.$ac_ext <<EOF | 9527 cat > conftest.$ac_ext <<EOF |
9510 #line 9511 "configure" | 9528 #line 9529 "configure" |
9511 #include "confdefs.h" | 9529 #include "confdefs.h" |
9512 /* Override any gcc2 internal prototype to avoid an error. */ | 9530 /* Override any gcc2 internal prototype to avoid an error. */ |
9513 /* We use char because int might match the return type of a gcc2 | 9531 /* We use char because int might match the return type of a gcc2 |
9514 builtin and then its argument prototype would still apply. */ | 9532 builtin and then its argument prototype would still apply. */ |
9515 char inflate(); | 9533 char inflate(); |
9516 | 9534 |
9517 int main() { | 9535 int main() { |
9518 inflate() | 9536 inflate() |
9519 ; return 0; } | 9537 ; return 0; } |
9520 EOF | 9538 EOF |
9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9539 if { (eval echo configure:9540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9522 rm -rf conftest* | 9540 rm -rf conftest* |
9523 eval "ac_cv_lib_$ac_lib_var=yes" | 9541 eval "ac_cv_lib_$ac_lib_var=yes" |
9524 else | 9542 else |
9525 echo "configure: failed program was:" >&5 | 9543 echo "configure: failed program was:" >&5 |
9526 cat conftest.$ac_ext >&5 | 9544 cat conftest.$ac_ext >&5 |
9546 | 9564 |
9547 fi | 9565 fi |
9548 | 9566 |
9549 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9567 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9550 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9568 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9551 echo "configure:9552: checking for jpeglib.h" >&5 | 9569 echo "configure:9570: checking for jpeglib.h" >&5 |
9552 | 9570 |
9553 cat > conftest.$ac_ext <<EOF | 9571 cat > conftest.$ac_ext <<EOF |
9554 #line 9555 "configure" | 9572 #line 9573 "configure" |
9555 #include "confdefs.h" | 9573 #include "confdefs.h" |
9556 #include <jpeglib.h> | 9574 #include <jpeglib.h> |
9557 EOF | 9575 EOF |
9558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9559 { (eval echo configure:9560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9577 { (eval echo configure:9578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9561 if test -z "$ac_err"; then | 9579 if test -z "$ac_err"; then |
9562 rm -rf conftest* | 9580 rm -rf conftest* |
9563 eval "ac_cv_header_$ac_safe=yes" | 9581 eval "ac_cv_header_$ac_safe=yes" |
9564 else | 9582 else |
9577 with_jpeg=no | 9595 with_jpeg=no |
9578 fi | 9596 fi |
9579 } | 9597 } |
9580 test -z "$with_jpeg" && { | 9598 test -z "$with_jpeg" && { |
9581 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9599 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9582 echo "configure:9583: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9600 echo "configure:9601: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9583 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9601 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9584 | 9602 |
9585 xe_check_libs=" -ljpeg " | 9603 xe_check_libs=" -ljpeg " |
9586 cat > conftest.$ac_ext <<EOF | 9604 cat > conftest.$ac_ext <<EOF |
9587 #line 9588 "configure" | 9605 #line 9606 "configure" |
9588 #include "confdefs.h" | 9606 #include "confdefs.h" |
9589 /* Override any gcc2 internal prototype to avoid an error. */ | 9607 /* Override any gcc2 internal prototype to avoid an error. */ |
9590 /* We use char because int might match the return type of a gcc2 | 9608 /* We use char because int might match the return type of a gcc2 |
9591 builtin and then its argument prototype would still apply. */ | 9609 builtin and then its argument prototype would still apply. */ |
9592 char jpeg_destroy_decompress(); | 9610 char jpeg_destroy_decompress(); |
9593 | 9611 |
9594 int main() { | 9612 int main() { |
9595 jpeg_destroy_decompress() | 9613 jpeg_destroy_decompress() |
9596 ; return 0; } | 9614 ; return 0; } |
9597 EOF | 9615 EOF |
9598 if { (eval echo configure:9599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9616 if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9599 rm -rf conftest* | 9617 rm -rf conftest* |
9600 eval "ac_cv_lib_$ac_lib_var=yes" | 9618 eval "ac_cv_lib_$ac_lib_var=yes" |
9601 else | 9619 else |
9602 echo "configure: failed program was:" >&5 | 9620 echo "configure: failed program was:" >&5 |
9603 cat conftest.$ac_ext >&5 | 9621 cat conftest.$ac_ext >&5 |
9629 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9647 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9630 fi | 9648 fi |
9631 | 9649 |
9632 png_problem="" | 9650 png_problem="" |
9633 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9651 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9634 echo "configure:9635: checking for pow" >&5 | 9652 echo "configure:9653: checking for pow" >&5 |
9635 | 9653 |
9636 cat > conftest.$ac_ext <<EOF | 9654 cat > conftest.$ac_ext <<EOF |
9637 #line 9638 "configure" | 9655 #line 9656 "configure" |
9638 #include "confdefs.h" | 9656 #include "confdefs.h" |
9639 /* System header to define __stub macros and hopefully few prototypes, | 9657 /* System header to define __stub macros and hopefully few prototypes, |
9640 which can conflict with char pow(); below. */ | 9658 which can conflict with char pow(); below. */ |
9641 #include <assert.h> | 9659 #include <assert.h> |
9642 /* Override any gcc2 internal prototype to avoid an error. */ | 9660 /* Override any gcc2 internal prototype to avoid an error. */ |
9655 pow(); | 9673 pow(); |
9656 #endif | 9674 #endif |
9657 | 9675 |
9658 ; return 0; } | 9676 ; return 0; } |
9659 EOF | 9677 EOF |
9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9678 if { (eval echo configure:9679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9661 rm -rf conftest* | 9679 rm -rf conftest* |
9662 eval "ac_cv_func_pow=yes" | 9680 eval "ac_cv_func_pow=yes" |
9663 else | 9681 else |
9664 echo "configure: failed program was:" >&5 | 9682 echo "configure: failed program was:" >&5 |
9665 cat conftest.$ac_ext >&5 | 9683 cat conftest.$ac_ext >&5 |
9676 with_png=no | 9694 with_png=no |
9677 fi | 9695 fi |
9678 } | 9696 } |
9679 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9697 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9680 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9698 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9681 echo "configure:9682: checking for png.h" >&5 | 9699 echo "configure:9700: checking for png.h" >&5 |
9682 | 9700 |
9683 cat > conftest.$ac_ext <<EOF | 9701 cat > conftest.$ac_ext <<EOF |
9684 #line 9685 "configure" | 9702 #line 9703 "configure" |
9685 #include "confdefs.h" | 9703 #include "confdefs.h" |
9686 #include <png.h> | 9704 #include <png.h> |
9687 EOF | 9705 EOF |
9688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9689 { (eval echo configure:9690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9707 { (eval echo configure:9708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9691 if test -z "$ac_err"; then | 9709 if test -z "$ac_err"; then |
9692 rm -rf conftest* | 9710 rm -rf conftest* |
9693 eval "ac_cv_header_$ac_safe=yes" | 9711 eval "ac_cv_header_$ac_safe=yes" |
9694 else | 9712 else |
9707 with_png=no | 9725 with_png=no |
9708 fi | 9726 fi |
9709 } | 9727 } |
9710 test -z "$with_png" && { | 9728 test -z "$with_png" && { |
9711 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9729 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9712 echo "configure:9713: checking for png_read_image in -lpng" >&5 | 9730 echo "configure:9731: checking for png_read_image in -lpng" >&5 |
9713 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9731 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9714 | 9732 |
9715 xe_check_libs=" -lpng " | 9733 xe_check_libs=" -lpng " |
9716 cat > conftest.$ac_ext <<EOF | 9734 cat > conftest.$ac_ext <<EOF |
9717 #line 9718 "configure" | 9735 #line 9736 "configure" |
9718 #include "confdefs.h" | 9736 #include "confdefs.h" |
9719 /* Override any gcc2 internal prototype to avoid an error. */ | 9737 /* Override any gcc2 internal prototype to avoid an error. */ |
9720 /* We use char because int might match the return type of a gcc2 | 9738 /* We use char because int might match the return type of a gcc2 |
9721 builtin and then its argument prototype would still apply. */ | 9739 builtin and then its argument prototype would still apply. */ |
9722 char png_read_image(); | 9740 char png_read_image(); |
9723 | 9741 |
9724 int main() { | 9742 int main() { |
9725 png_read_image() | 9743 png_read_image() |
9726 ; return 0; } | 9744 ; return 0; } |
9727 EOF | 9745 EOF |
9728 if { (eval echo configure:9729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9746 if { (eval echo configure:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9729 rm -rf conftest* | 9747 rm -rf conftest* |
9730 eval "ac_cv_lib_$ac_lib_var=yes" | 9748 eval "ac_cv_lib_$ac_lib_var=yes" |
9731 else | 9749 else |
9732 echo "configure: failed program was:" >&5 | 9750 echo "configure: failed program was:" >&5 |
9733 cat conftest.$ac_ext >&5 | 9751 cat conftest.$ac_ext >&5 |
9746 fi | 9764 fi |
9747 | 9765 |
9748 } | 9766 } |
9749 if test -z "$with_png"; then | 9767 if test -z "$with_png"; then |
9750 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9768 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9751 echo "configure:9752: checking for workable png version information" >&5 | 9769 echo "configure:9770: checking for workable png version information" >&5 |
9752 xe_check_libs="-lpng -lz" | 9770 xe_check_libs="-lpng -lz" |
9753 cat > conftest.$ac_ext <<EOF | 9771 cat > conftest.$ac_ext <<EOF |
9754 #line 9755 "configure" | 9772 #line 9773 "configure" |
9755 #include "confdefs.h" | 9773 #include "confdefs.h" |
9756 #include <png.h> | 9774 #include <png.h> |
9757 int main(int c, char **v) { | 9775 int main(int c, char **v) { |
9758 if (c == 1) return 0; | 9776 if (c == 1) return 0; |
9759 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9777 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9760 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9778 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9761 EOF | 9779 EOF |
9762 if { (eval echo configure:9763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9780 if { (eval echo configure:9781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9763 then | 9781 then |
9764 ./conftest dummy_arg; png_status=$?; | 9782 ./conftest dummy_arg; png_status=$?; |
9765 if test "$png_status" = "0"; then | 9783 if test "$png_status" = "0"; then |
9766 with_png=yes; | 9784 with_png=yes; |
9767 else | 9785 else |
9800 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9818 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9801 fi | 9819 fi |
9802 | 9820 |
9803 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9821 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9804 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9822 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9805 echo "configure:9806: checking for tiffio.h" >&5 | 9823 echo "configure:9824: checking for tiffio.h" >&5 |
9806 | 9824 |
9807 cat > conftest.$ac_ext <<EOF | 9825 cat > conftest.$ac_ext <<EOF |
9808 #line 9809 "configure" | 9826 #line 9827 "configure" |
9809 #include "confdefs.h" | 9827 #include "confdefs.h" |
9810 #include <tiffio.h> | 9828 #include <tiffio.h> |
9811 EOF | 9829 EOF |
9812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9813 { (eval echo configure:9814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9831 { (eval echo configure:9832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9815 if test -z "$ac_err"; then | 9833 if test -z "$ac_err"; then |
9816 rm -rf conftest* | 9834 rm -rf conftest* |
9817 eval "ac_cv_header_$ac_safe=yes" | 9835 eval "ac_cv_header_$ac_safe=yes" |
9818 else | 9836 else |
9831 with_tiff=no | 9849 with_tiff=no |
9832 fi | 9850 fi |
9833 } | 9851 } |
9834 test -z "$with_tiff" && { | 9852 test -z "$with_tiff" && { |
9835 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9853 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9836 echo "configure:9837: checking for TIFFClientOpen in -ltiff" >&5 | 9854 echo "configure:9855: checking for TIFFClientOpen in -ltiff" >&5 |
9837 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9855 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9838 | 9856 |
9839 xe_check_libs=" -ltiff " | 9857 xe_check_libs=" -ltiff " |
9840 cat > conftest.$ac_ext <<EOF | 9858 cat > conftest.$ac_ext <<EOF |
9841 #line 9842 "configure" | 9859 #line 9860 "configure" |
9842 #include "confdefs.h" | 9860 #include "confdefs.h" |
9843 /* Override any gcc2 internal prototype to avoid an error. */ | 9861 /* Override any gcc2 internal prototype to avoid an error. */ |
9844 /* We use char because int might match the return type of a gcc2 | 9862 /* We use char because int might match the return type of a gcc2 |
9845 builtin and then its argument prototype would still apply. */ | 9863 builtin and then its argument prototype would still apply. */ |
9846 char TIFFClientOpen(); | 9864 char TIFFClientOpen(); |
9847 | 9865 |
9848 int main() { | 9866 int main() { |
9849 TIFFClientOpen() | 9867 TIFFClientOpen() |
9850 ; return 0; } | 9868 ; return 0; } |
9851 EOF | 9869 EOF |
9852 if { (eval echo configure:9853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9870 if { (eval echo configure:9871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9853 rm -rf conftest* | 9871 rm -rf conftest* |
9854 eval "ac_cv_lib_$ac_lib_var=yes" | 9872 eval "ac_cv_lib_$ac_lib_var=yes" |
9855 else | 9873 else |
9856 echo "configure: failed program was:" >&5 | 9874 echo "configure: failed program was:" >&5 |
9857 cat conftest.$ac_ext >&5 | 9875 cat conftest.$ac_ext >&5 |
9886 | 9904 |
9887 | 9905 |
9888 if test "$with_gtk" = "yes"; then | 9906 if test "$with_gtk" = "yes"; then |
9889 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9907 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9890 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9908 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9891 echo "configure:9892: checking for compface.h" >&5 | 9909 echo "configure:9910: checking for compface.h" >&5 |
9892 | 9910 |
9893 cat > conftest.$ac_ext <<EOF | 9911 cat > conftest.$ac_ext <<EOF |
9894 #line 9895 "configure" | 9912 #line 9913 "configure" |
9895 #include "confdefs.h" | 9913 #include "confdefs.h" |
9896 #include <compface.h> | 9914 #include <compface.h> |
9897 EOF | 9915 EOF |
9898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9899 { (eval echo configure:9900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9917 { (eval echo configure:9918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9901 if test -z "$ac_err"; then | 9919 if test -z "$ac_err"; then |
9902 rm -rf conftest* | 9920 rm -rf conftest* |
9903 eval "ac_cv_header_$ac_safe=yes" | 9921 eval "ac_cv_header_$ac_safe=yes" |
9904 else | 9922 else |
9917 with_xface=no | 9935 with_xface=no |
9918 fi | 9936 fi |
9919 } | 9937 } |
9920 test -z "$with_xface" && { | 9938 test -z "$with_xface" && { |
9921 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9939 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9922 echo "configure:9923: checking for UnGenFace in -lcompface" >&5 | 9940 echo "configure:9941: checking for UnGenFace in -lcompface" >&5 |
9923 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9941 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9924 | 9942 |
9925 xe_check_libs=" -lcompface " | 9943 xe_check_libs=" -lcompface " |
9926 cat > conftest.$ac_ext <<EOF | 9944 cat > conftest.$ac_ext <<EOF |
9927 #line 9928 "configure" | 9945 #line 9946 "configure" |
9928 #include "confdefs.h" | 9946 #include "confdefs.h" |
9929 /* Override any gcc2 internal prototype to avoid an error. */ | 9947 /* Override any gcc2 internal prototype to avoid an error. */ |
9930 /* We use char because int might match the return type of a gcc2 | 9948 /* We use char because int might match the return type of a gcc2 |
9931 builtin and then its argument prototype would still apply. */ | 9949 builtin and then its argument prototype would still apply. */ |
9932 char UnGenFace(); | 9950 char UnGenFace(); |
9933 | 9951 |
9934 int main() { | 9952 int main() { |
9935 UnGenFace() | 9953 UnGenFace() |
9936 ; return 0; } | 9954 ; return 0; } |
9937 EOF | 9955 EOF |
9938 if { (eval echo configure:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9956 if { (eval echo configure:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9939 rm -rf conftest* | 9957 rm -rf conftest* |
9940 eval "ac_cv_lib_$ac_lib_var=yes" | 9958 eval "ac_cv_lib_$ac_lib_var=yes" |
9941 else | 9959 else |
9942 echo "configure: failed program was:" >&5 | 9960 echo "configure: failed program was:" >&5 |
9943 cat conftest.$ac_ext >&5 | 9961 cat conftest.$ac_ext >&5 |
9972 | 9990 |
9973 | 9991 |
9974 | 9992 |
9975 if test "$with_x11" = "yes"; then | 9993 if test "$with_x11" = "yes"; then |
9976 echo "checking for X11 graphics libraries" 1>&6 | 9994 echo "checking for X11 graphics libraries" 1>&6 |
9977 echo "configure:9978: checking for X11 graphics libraries" >&5 | 9995 echo "configure:9996: checking for X11 graphics libraries" >&5 |
9978 fi | 9996 fi |
9979 | 9997 |
9980 case "$with_widgets" in | 9998 case "$with_widgets" in |
9981 "yes" | "athena") detect_athena=yes ;; | 9999 "yes" | "athena") detect_athena=yes ;; |
9982 *) detect_athena=no ;; | 10000 *) detect_athena=no ;; |
9983 esac | 10001 esac |
9984 | 10002 |
9985 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10003 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9986 echo "checking for the Athena widgets" 1>&6 | 10004 echo "checking for the Athena widgets" 1>&6 |
9987 echo "configure:9988: checking for the Athena widgets" >&5 | 10005 echo "configure:10006: checking for the Athena widgets" >&5 |
9988 | 10006 |
9989 case "$with_athena" in | 10007 case "$with_athena" in |
9990 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10008 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9991 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10009 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9992 "next") athena_variant=neXtaw athena_3d=yes ;; | 10010 "next") athena_variant=neXtaw athena_3d=yes ;; |
9996 esac | 10014 esac |
9997 | 10015 |
9998 if test "$athena_3d" = "no"; then | 10016 if test "$athena_3d" = "no"; then |
9999 | 10017 |
10000 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10018 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10001 echo "configure:10002: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10019 echo "configure:10020: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10002 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10020 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10003 | 10021 |
10004 xe_check_libs=" -l$athena_variant " | 10022 xe_check_libs=" -l$athena_variant " |
10005 cat > conftest.$ac_ext <<EOF | 10023 cat > conftest.$ac_ext <<EOF |
10006 #line 10007 "configure" | 10024 #line 10025 "configure" |
10007 #include "confdefs.h" | 10025 #include "confdefs.h" |
10008 /* Override any gcc2 internal prototype to avoid an error. */ | 10026 /* Override any gcc2 internal prototype to avoid an error. */ |
10009 /* We use char because int might match the return type of a gcc2 | 10027 /* We use char because int might match the return type of a gcc2 |
10010 builtin and then its argument prototype would still apply. */ | 10028 builtin and then its argument prototype would still apply. */ |
10011 char XawScrollbarSetThumb(); | 10029 char XawScrollbarSetThumb(); |
10012 | 10030 |
10013 int main() { | 10031 int main() { |
10014 XawScrollbarSetThumb() | 10032 XawScrollbarSetThumb() |
10015 ; return 0; } | 10033 ; return 0; } |
10016 EOF | 10034 EOF |
10017 if { (eval echo configure:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10035 if { (eval echo configure:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10018 rm -rf conftest* | 10036 rm -rf conftest* |
10019 eval "ac_cv_lib_$ac_lib_var=yes" | 10037 eval "ac_cv_lib_$ac_lib_var=yes" |
10020 else | 10038 else |
10021 echo "configure: failed program was:" >&5 | 10039 echo "configure: failed program was:" >&5 |
10022 cat conftest.$ac_ext >&5 | 10040 cat conftest.$ac_ext >&5 |
10028 | 10046 |
10029 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10047 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10030 echo "$ac_t""yes" 1>&6 | 10048 echo "$ac_t""yes" 1>&6 |
10031 | 10049 |
10032 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10050 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10033 echo "configure:10034: checking for threeDClassRec in -l$athena_variant" >&5 | 10051 echo "configure:10052: checking for threeDClassRec in -l$athena_variant" >&5 |
10034 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10052 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10035 | 10053 |
10036 xe_check_libs=" -l$athena_variant " | 10054 xe_check_libs=" -l$athena_variant " |
10037 cat > conftest.$ac_ext <<EOF | 10055 cat > conftest.$ac_ext <<EOF |
10038 #line 10039 "configure" | 10056 #line 10057 "configure" |
10039 #include "confdefs.h" | 10057 #include "confdefs.h" |
10040 /* Override any gcc2 internal prototype to avoid an error. */ | 10058 /* Override any gcc2 internal prototype to avoid an error. */ |
10041 /* We use char because int might match the return type of a gcc2 | 10059 /* We use char because int might match the return type of a gcc2 |
10042 builtin and then its argument prototype would still apply. */ | 10060 builtin and then its argument prototype would still apply. */ |
10043 char threeDClassRec(); | 10061 char threeDClassRec(); |
10044 | 10062 |
10045 int main() { | 10063 int main() { |
10046 threeDClassRec() | 10064 threeDClassRec() |
10047 ; return 0; } | 10065 ; return 0; } |
10048 EOF | 10066 EOF |
10049 if { (eval echo configure:10050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10067 if { (eval echo configure:10068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10050 rm -rf conftest* | 10068 rm -rf conftest* |
10051 eval "ac_cv_lib_$ac_lib_var=yes" | 10069 eval "ac_cv_lib_$ac_lib_var=yes" |
10052 else | 10070 else |
10053 echo "configure: failed program was:" >&5 | 10071 echo "configure: failed program was:" >&5 |
10054 cat conftest.$ac_ext >&5 | 10072 cat conftest.$ac_ext >&5 |
10075 | 10093 |
10076 | 10094 |
10077 else | 10095 else |
10078 | 10096 |
10079 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10097 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10080 echo "configure:10081: checking for threeDClassRec in -l$athena_variant" >&5 | 10098 echo "configure:10099: checking for threeDClassRec in -l$athena_variant" >&5 |
10081 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10099 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10082 | 10100 |
10083 xe_check_libs=" -l$athena_variant " | 10101 xe_check_libs=" -l$athena_variant " |
10084 cat > conftest.$ac_ext <<EOF | 10102 cat > conftest.$ac_ext <<EOF |
10085 #line 10086 "configure" | 10103 #line 10104 "configure" |
10086 #include "confdefs.h" | 10104 #include "confdefs.h" |
10087 /* Override any gcc2 internal prototype to avoid an error. */ | 10105 /* Override any gcc2 internal prototype to avoid an error. */ |
10088 /* We use char because int might match the return type of a gcc2 | 10106 /* We use char because int might match the return type of a gcc2 |
10089 builtin and then its argument prototype would still apply. */ | 10107 builtin and then its argument prototype would still apply. */ |
10090 char threeDClassRec(); | 10108 char threeDClassRec(); |
10091 | 10109 |
10092 int main() { | 10110 int main() { |
10093 threeDClassRec() | 10111 threeDClassRec() |
10094 ; return 0; } | 10112 ; return 0; } |
10095 EOF | 10113 EOF |
10096 if { (eval echo configure:10097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10114 if { (eval echo configure:10115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10097 rm -rf conftest* | 10115 rm -rf conftest* |
10098 eval "ac_cv_lib_$ac_lib_var=yes" | 10116 eval "ac_cv_lib_$ac_lib_var=yes" |
10099 else | 10117 else |
10100 echo "configure: failed program was:" >&5 | 10118 echo "configure: failed program was:" >&5 |
10101 cat conftest.$ac_ext >&5 | 10119 cat conftest.$ac_ext >&5 |
10109 echo "$ac_t""yes" 1>&6 | 10127 echo "$ac_t""yes" 1>&6 |
10110 athena_lib=$athena_variant | 10128 athena_lib=$athena_variant |
10111 else | 10129 else |
10112 echo "$ac_t""no" 1>&6 | 10130 echo "$ac_t""no" 1>&6 |
10113 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10131 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10114 echo "configure:10115: checking for threeDClassRec in -lXaw" >&5 | 10132 echo "configure:10133: checking for threeDClassRec in -lXaw" >&5 |
10115 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10133 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10116 | 10134 |
10117 xe_check_libs=" -lXaw " | 10135 xe_check_libs=" -lXaw " |
10118 cat > conftest.$ac_ext <<EOF | 10136 cat > conftest.$ac_ext <<EOF |
10119 #line 10120 "configure" | 10137 #line 10138 "configure" |
10120 #include "confdefs.h" | 10138 #include "confdefs.h" |
10121 /* Override any gcc2 internal prototype to avoid an error. */ | 10139 /* Override any gcc2 internal prototype to avoid an error. */ |
10122 /* We use char because int might match the return type of a gcc2 | 10140 /* We use char because int might match the return type of a gcc2 |
10123 builtin and then its argument prototype would still apply. */ | 10141 builtin and then its argument prototype would still apply. */ |
10124 char threeDClassRec(); | 10142 char threeDClassRec(); |
10125 | 10143 |
10126 int main() { | 10144 int main() { |
10127 threeDClassRec() | 10145 threeDClassRec() |
10128 ; return 0; } | 10146 ; return 0; } |
10129 EOF | 10147 EOF |
10130 if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10148 if { (eval echo configure:10149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10131 rm -rf conftest* | 10149 rm -rf conftest* |
10132 eval "ac_cv_lib_$ac_lib_var=yes" | 10150 eval "ac_cv_lib_$ac_lib_var=yes" |
10133 else | 10151 else |
10134 echo "configure: failed program was:" >&5 | 10152 echo "configure: failed program was:" >&5 |
10135 cat conftest.$ac_ext >&5 | 10153 cat conftest.$ac_ext >&5 |
10156 fi | 10174 fi |
10157 | 10175 |
10158 if test "$athena_3d" = "no"; then | 10176 if test "$athena_3d" = "no"; then |
10159 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10177 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10160 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10178 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10161 echo "configure:10162: checking for X11/Xaw/ThreeD.h" >&5 | 10179 echo "configure:10180: checking for X11/Xaw/ThreeD.h" >&5 |
10162 | 10180 |
10163 cat > conftest.$ac_ext <<EOF | 10181 cat > conftest.$ac_ext <<EOF |
10164 #line 10165 "configure" | 10182 #line 10183 "configure" |
10165 #include "confdefs.h" | 10183 #include "confdefs.h" |
10166 #include <X11/Xaw/ThreeD.h> | 10184 #include <X11/Xaw/ThreeD.h> |
10167 EOF | 10185 EOF |
10168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10169 { (eval echo configure:10170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10187 { (eval echo configure:10188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10171 if test -z "$ac_err"; then | 10189 if test -z "$ac_err"; then |
10172 rm -rf conftest* | 10190 rm -rf conftest* |
10173 eval "ac_cv_header_$ac_safe=yes" | 10191 eval "ac_cv_header_$ac_safe=yes" |
10174 else | 10192 else |
10184 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10202 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10185 else | 10203 else |
10186 echo "$ac_t""no" 1>&6 | 10204 echo "$ac_t""no" 1>&6 |
10187 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10205 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10188 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10206 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10189 echo "configure:10190: checking for X11/Xaw/XawInit.h" >&5 | 10207 echo "configure:10208: checking for X11/Xaw/XawInit.h" >&5 |
10190 | 10208 |
10191 cat > conftest.$ac_ext <<EOF | 10209 cat > conftest.$ac_ext <<EOF |
10192 #line 10193 "configure" | 10210 #line 10211 "configure" |
10193 #include "confdefs.h" | 10211 #include "confdefs.h" |
10194 #include <X11/Xaw/XawInit.h> | 10212 #include <X11/Xaw/XawInit.h> |
10195 EOF | 10213 EOF |
10196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10197 { (eval echo configure:10198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10215 { (eval echo configure:10216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10199 if test -z "$ac_err"; then | 10217 if test -z "$ac_err"; then |
10200 rm -rf conftest* | 10218 rm -rf conftest* |
10201 eval "ac_cv_header_$ac_safe=yes" | 10219 eval "ac_cv_header_$ac_safe=yes" |
10202 else | 10220 else |
10218 fi | 10236 fi |
10219 | 10237 |
10220 else | 10238 else |
10221 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10239 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10222 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10240 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10223 echo "configure:10224: checking for X11/$athena_variant/XawInit.h" >&5 | 10241 echo "configure:10242: checking for X11/$athena_variant/XawInit.h" >&5 |
10224 | 10242 |
10225 cat > conftest.$ac_ext <<EOF | 10243 cat > conftest.$ac_ext <<EOF |
10226 #line 10227 "configure" | 10244 #line 10245 "configure" |
10227 #include "confdefs.h" | 10245 #include "confdefs.h" |
10228 #include <X11/$athena_variant/XawInit.h> | 10246 #include <X11/$athena_variant/XawInit.h> |
10229 EOF | 10247 EOF |
10230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10231 { (eval echo configure:10232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10249 { (eval echo configure:10250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10233 if test -z "$ac_err"; then | 10251 if test -z "$ac_err"; then |
10234 rm -rf conftest* | 10252 rm -rf conftest* |
10235 eval "ac_cv_header_$ac_safe=yes" | 10253 eval "ac_cv_header_$ac_safe=yes" |
10236 else | 10254 else |
10243 rm -f conftest* | 10261 rm -f conftest* |
10244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10262 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10245 echo "$ac_t""yes" 1>&6 | 10263 echo "$ac_t""yes" 1>&6 |
10246 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10264 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10247 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10265 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10248 echo "configure:10249: checking for X11/$athena_variant/ThreeD.h" >&5 | 10266 echo "configure:10267: checking for X11/$athena_variant/ThreeD.h" >&5 |
10249 | 10267 |
10250 cat > conftest.$ac_ext <<EOF | 10268 cat > conftest.$ac_ext <<EOF |
10251 #line 10252 "configure" | 10269 #line 10270 "configure" |
10252 #include "confdefs.h" | 10270 #include "confdefs.h" |
10253 #include <X11/$athena_variant/ThreeD.h> | 10271 #include <X11/$athena_variant/ThreeD.h> |
10254 EOF | 10272 EOF |
10255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10256 { (eval echo configure:10257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10274 { (eval echo configure:10275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10258 if test -z "$ac_err"; then | 10276 if test -z "$ac_err"; then |
10259 rm -rf conftest* | 10277 rm -rf conftest* |
10260 eval "ac_cv_header_$ac_safe=yes" | 10278 eval "ac_cv_header_$ac_safe=yes" |
10261 else | 10279 else |
10279 | 10297 |
10280 | 10298 |
10281 if test -z "$athena_h_path"; then | 10299 if test -z "$athena_h_path"; then |
10282 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10300 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10283 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10301 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10284 echo "configure:10285: checking for $athena_variant/XawInit.h" >&5 | 10302 echo "configure:10303: checking for $athena_variant/XawInit.h" >&5 |
10285 | 10303 |
10286 cat > conftest.$ac_ext <<EOF | 10304 cat > conftest.$ac_ext <<EOF |
10287 #line 10288 "configure" | 10305 #line 10306 "configure" |
10288 #include "confdefs.h" | 10306 #include "confdefs.h" |
10289 #include <$athena_variant/XawInit.h> | 10307 #include <$athena_variant/XawInit.h> |
10290 EOF | 10308 EOF |
10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10310 { (eval echo configure:10311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10294 if test -z "$ac_err"; then | 10312 if test -z "$ac_err"; then |
10295 rm -rf conftest* | 10313 rm -rf conftest* |
10296 eval "ac_cv_header_$ac_safe=yes" | 10314 eval "ac_cv_header_$ac_safe=yes" |
10297 else | 10315 else |
10304 rm -f conftest* | 10322 rm -f conftest* |
10305 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10323 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10306 echo "$ac_t""yes" 1>&6 | 10324 echo "$ac_t""yes" 1>&6 |
10307 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10325 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10308 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10326 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10309 echo "configure:10310: checking for $athena_variant/ThreeD.h" >&5 | 10327 echo "configure:10328: checking for $athena_variant/ThreeD.h" >&5 |
10310 | 10328 |
10311 cat > conftest.$ac_ext <<EOF | 10329 cat > conftest.$ac_ext <<EOF |
10312 #line 10313 "configure" | 10330 #line 10331 "configure" |
10313 #include "confdefs.h" | 10331 #include "confdefs.h" |
10314 #include <$athena_variant/ThreeD.h> | 10332 #include <$athena_variant/ThreeD.h> |
10315 EOF | 10333 EOF |
10316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10317 { (eval echo configure:10318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10335 { (eval echo configure:10336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10319 if test -z "$ac_err"; then | 10337 if test -z "$ac_err"; then |
10320 rm -rf conftest* | 10338 rm -rf conftest* |
10321 eval "ac_cv_header_$ac_safe=yes" | 10339 eval "ac_cv_header_$ac_safe=yes" |
10322 else | 10340 else |
10341 fi | 10359 fi |
10342 | 10360 |
10343 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10361 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10344 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10362 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10345 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10363 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10346 echo "configure:10347: checking for X11/Xaw3d/XawInit.h" >&5 | 10364 echo "configure:10365: checking for X11/Xaw3d/XawInit.h" >&5 |
10347 | 10365 |
10348 cat > conftest.$ac_ext <<EOF | 10366 cat > conftest.$ac_ext <<EOF |
10349 #line 10350 "configure" | 10367 #line 10368 "configure" |
10350 #include "confdefs.h" | 10368 #include "confdefs.h" |
10351 #include <X11/Xaw3d/XawInit.h> | 10369 #include <X11/Xaw3d/XawInit.h> |
10352 EOF | 10370 EOF |
10353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10354 { (eval echo configure:10355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10372 { (eval echo configure:10373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10356 if test -z "$ac_err"; then | 10374 if test -z "$ac_err"; then |
10357 rm -rf conftest* | 10375 rm -rf conftest* |
10358 eval "ac_cv_header_$ac_safe=yes" | 10376 eval "ac_cv_header_$ac_safe=yes" |
10359 else | 10377 else |
10366 rm -f conftest* | 10384 rm -f conftest* |
10367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10368 echo "$ac_t""yes" 1>&6 | 10386 echo "$ac_t""yes" 1>&6 |
10369 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10387 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10370 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10388 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10371 echo "configure:10372: checking for X11/Xaw3d/ThreeD.h" >&5 | 10389 echo "configure:10390: checking for X11/Xaw3d/ThreeD.h" >&5 |
10372 | 10390 |
10373 cat > conftest.$ac_ext <<EOF | 10391 cat > conftest.$ac_ext <<EOF |
10374 #line 10375 "configure" | 10392 #line 10393 "configure" |
10375 #include "confdefs.h" | 10393 #include "confdefs.h" |
10376 #include <X11/Xaw3d/ThreeD.h> | 10394 #include <X11/Xaw3d/ThreeD.h> |
10377 EOF | 10395 EOF |
10378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10379 { (eval echo configure:10380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10397 { (eval echo configure:10398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10381 if test -z "$ac_err"; then | 10399 if test -z "$ac_err"; then |
10382 rm -rf conftest* | 10400 rm -rf conftest* |
10383 eval "ac_cv_header_$ac_safe=yes" | 10401 eval "ac_cv_header_$ac_safe=yes" |
10384 else | 10402 else |
10406 fi | 10424 fi |
10407 | 10425 |
10408 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10426 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10409 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10427 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10410 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10428 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10411 echo "configure:10412: checking for Xaw3d/XawInit.h" >&5 | 10429 echo "configure:10430: checking for Xaw3d/XawInit.h" >&5 |
10412 | 10430 |
10413 cat > conftest.$ac_ext <<EOF | 10431 cat > conftest.$ac_ext <<EOF |
10414 #line 10415 "configure" | 10432 #line 10433 "configure" |
10415 #include "confdefs.h" | 10433 #include "confdefs.h" |
10416 #include <Xaw3d/XawInit.h> | 10434 #include <Xaw3d/XawInit.h> |
10417 EOF | 10435 EOF |
10418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10419 { (eval echo configure:10420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10437 { (eval echo configure:10438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10421 if test -z "$ac_err"; then | 10439 if test -z "$ac_err"; then |
10422 rm -rf conftest* | 10440 rm -rf conftest* |
10423 eval "ac_cv_header_$ac_safe=yes" | 10441 eval "ac_cv_header_$ac_safe=yes" |
10424 else | 10442 else |
10431 rm -f conftest* | 10449 rm -f conftest* |
10432 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10450 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10433 echo "$ac_t""yes" 1>&6 | 10451 echo "$ac_t""yes" 1>&6 |
10434 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10452 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10435 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10453 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10436 echo "configure:10437: checking for Xaw3d/ThreeD.h" >&5 | 10454 echo "configure:10455: checking for Xaw3d/ThreeD.h" >&5 |
10437 | 10455 |
10438 cat > conftest.$ac_ext <<EOF | 10456 cat > conftest.$ac_ext <<EOF |
10439 #line 10440 "configure" | 10457 #line 10458 "configure" |
10440 #include "confdefs.h" | 10458 #include "confdefs.h" |
10441 #include <Xaw3d/ThreeD.h> | 10459 #include <Xaw3d/ThreeD.h> |
10442 EOF | 10460 EOF |
10443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10444 { (eval echo configure:10445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10462 { (eval echo configure:10463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10446 if test -z "$ac_err"; then | 10464 if test -z "$ac_err"; then |
10447 rm -rf conftest* | 10465 rm -rf conftest* |
10448 eval "ac_cv_header_$ac_safe=yes" | 10466 eval "ac_cv_header_$ac_safe=yes" |
10449 else | 10467 else |
10471 fi | 10489 fi |
10472 | 10490 |
10473 if test -z "$athena_h_path"; then | 10491 if test -z "$athena_h_path"; then |
10474 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10492 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10475 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10493 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10476 echo "configure:10477: checking for X11/Xaw/ThreeD.h" >&5 | 10494 echo "configure:10495: checking for X11/Xaw/ThreeD.h" >&5 |
10477 | 10495 |
10478 cat > conftest.$ac_ext <<EOF | 10496 cat > conftest.$ac_ext <<EOF |
10479 #line 10480 "configure" | 10497 #line 10498 "configure" |
10480 #include "confdefs.h" | 10498 #include "confdefs.h" |
10481 #include <X11/Xaw/ThreeD.h> | 10499 #include <X11/Xaw/ThreeD.h> |
10482 EOF | 10500 EOF |
10483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10484 { (eval echo configure:10485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10502 { (eval echo configure:10503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10485 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10486 if test -z "$ac_err"; then | 10504 if test -z "$ac_err"; then |
10487 rm -rf conftest* | 10505 rm -rf conftest* |
10488 eval "ac_cv_header_$ac_safe=yes" | 10506 eval "ac_cv_header_$ac_safe=yes" |
10489 else | 10507 else |
10518 have_xaw=no | 10536 have_xaw=no |
10519 fi | 10537 fi |
10520 if test "$with_x11" = "yes"; then | 10538 if test "$with_x11" = "yes"; then |
10521 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10539 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10522 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10540 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10523 echo "configure:10524: checking for Xm/Xm.h" >&5 | 10541 echo "configure:10542: checking for Xm/Xm.h" >&5 |
10524 | 10542 |
10525 cat > conftest.$ac_ext <<EOF | 10543 cat > conftest.$ac_ext <<EOF |
10526 #line 10527 "configure" | 10544 #line 10545 "configure" |
10527 #include "confdefs.h" | 10545 #include "confdefs.h" |
10528 #include <Xm/Xm.h> | 10546 #include <Xm/Xm.h> |
10529 EOF | 10547 EOF |
10530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10531 { (eval echo configure:10532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10549 { (eval echo configure:10550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10533 if test -z "$ac_err"; then | 10551 if test -z "$ac_err"; then |
10534 rm -rf conftest* | 10552 rm -rf conftest* |
10535 eval "ac_cv_header_$ac_safe=yes" | 10553 eval "ac_cv_header_$ac_safe=yes" |
10536 else | 10554 else |
10543 rm -f conftest* | 10561 rm -f conftest* |
10544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10545 echo "$ac_t""yes" 1>&6 | 10563 echo "$ac_t""yes" 1>&6 |
10546 | 10564 |
10547 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10565 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10548 echo "configure:10549: checking for XmStringFree in -lXm" >&5 | 10566 echo "configure:10567: checking for XmStringFree in -lXm" >&5 |
10549 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10567 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10550 | 10568 |
10551 xe_check_libs=" -lXm " | 10569 xe_check_libs=" -lXm " |
10552 cat > conftest.$ac_ext <<EOF | 10570 cat > conftest.$ac_ext <<EOF |
10553 #line 10554 "configure" | 10571 #line 10572 "configure" |
10554 #include "confdefs.h" | 10572 #include "confdefs.h" |
10555 /* Override any gcc2 internal prototype to avoid an error. */ | 10573 /* Override any gcc2 internal prototype to avoid an error. */ |
10556 /* We use char because int might match the return type of a gcc2 | 10574 /* We use char because int might match the return type of a gcc2 |
10557 builtin and then its argument prototype would still apply. */ | 10575 builtin and then its argument prototype would still apply. */ |
10558 char XmStringFree(); | 10576 char XmStringFree(); |
10559 | 10577 |
10560 int main() { | 10578 int main() { |
10561 XmStringFree() | 10579 XmStringFree() |
10562 ; return 0; } | 10580 ; return 0; } |
10563 EOF | 10581 EOF |
10564 if { (eval echo configure:10565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10582 if { (eval echo configure:10583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10565 rm -rf conftest* | 10583 rm -rf conftest* |
10566 eval "ac_cv_lib_$ac_lib_var=yes" | 10584 eval "ac_cv_lib_$ac_lib_var=yes" |
10567 else | 10585 else |
10568 echo "configure: failed program was:" >&5 | 10586 echo "configure: failed program was:" >&5 |
10569 cat conftest.$ac_ext >&5 | 10587 cat conftest.$ac_ext >&5 |
10588 fi | 10606 fi |
10589 | 10607 |
10590 | 10608 |
10591 if test "$have_motif" = "yes"; then | 10609 if test "$have_motif" = "yes"; then |
10592 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10610 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10593 echo "configure:10594: checking for Lesstif" >&5 | 10611 echo "configure:10612: checking for Lesstif" >&5 |
10594 cat > conftest.$ac_ext <<EOF | 10612 cat > conftest.$ac_ext <<EOF |
10595 #line 10596 "configure" | 10613 #line 10614 "configure" |
10596 #include "confdefs.h" | 10614 #include "confdefs.h" |
10597 #include <Xm/Xm.h> | 10615 #include <Xm/Xm.h> |
10598 #ifdef LESSTIF_VERSION | 10616 #ifdef LESSTIF_VERSION |
10599 yes | 10617 yes |
10600 #endif | 10618 #endif |
10963 | 10981 |
10964 fi | 10982 fi |
10965 | 10983 |
10966 if test "$with_mule" = "yes" ; then | 10984 if test "$with_mule" = "yes" ; then |
10967 echo "checking for Mule-related features" 1>&6 | 10985 echo "checking for Mule-related features" 1>&6 |
10968 echo "configure:10969: checking for Mule-related features" >&5 | 10986 echo "configure:10987: checking for Mule-related features" >&5 |
10969 { test "$extra_verbose" = "yes" && cat << \EOF | 10987 { test "$extra_verbose" = "yes" && cat << \EOF |
10970 Defining MULE | 10988 Defining MULE |
10971 EOF | 10989 EOF |
10972 cat >> confdefs.h <<\EOF | 10990 cat >> confdefs.h <<\EOF |
10973 #define MULE 1 | 10991 #define MULE 1 |
10977 | 10995 |
10978 for ac_hdr in libintl.h | 10996 for ac_hdr in libintl.h |
10979 do | 10997 do |
10980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10998 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10982 echo "configure:10983: checking for $ac_hdr" >&5 | 11000 echo "configure:11001: checking for $ac_hdr" >&5 |
10983 | 11001 |
10984 cat > conftest.$ac_ext <<EOF | 11002 cat > conftest.$ac_ext <<EOF |
10985 #line 10986 "configure" | 11003 #line 11004 "configure" |
10986 #include "confdefs.h" | 11004 #include "confdefs.h" |
10987 #include <$ac_hdr> | 11005 #include <$ac_hdr> |
10988 EOF | 11006 EOF |
10989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10990 { (eval echo configure:10991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11008 { (eval echo configure:11009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10992 if test -z "$ac_err"; then | 11010 if test -z "$ac_err"; then |
10993 rm -rf conftest* | 11011 rm -rf conftest* |
10994 eval "ac_cv_header_$ac_safe=yes" | 11012 eval "ac_cv_header_$ac_safe=yes" |
10995 else | 11013 else |
11016 fi | 11034 fi |
11017 done | 11035 done |
11018 | 11036 |
11019 | 11037 |
11020 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11038 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11021 echo "configure:11022: checking for strerror in -lintl" >&5 | 11039 echo "configure:11040: checking for strerror in -lintl" >&5 |
11022 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11040 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11023 | 11041 |
11024 xe_check_libs=" -lintl " | 11042 xe_check_libs=" -lintl " |
11025 cat > conftest.$ac_ext <<EOF | 11043 cat > conftest.$ac_ext <<EOF |
11026 #line 11027 "configure" | 11044 #line 11045 "configure" |
11027 #include "confdefs.h" | 11045 #include "confdefs.h" |
11028 /* Override any gcc2 internal prototype to avoid an error. */ | 11046 /* Override any gcc2 internal prototype to avoid an error. */ |
11029 /* We use char because int might match the return type of a gcc2 | 11047 /* We use char because int might match the return type of a gcc2 |
11030 builtin and then its argument prototype would still apply. */ | 11048 builtin and then its argument prototype would still apply. */ |
11031 char strerror(); | 11049 char strerror(); |
11032 | 11050 |
11033 int main() { | 11051 int main() { |
11034 strerror() | 11052 strerror() |
11035 ; return 0; } | 11053 ; return 0; } |
11036 EOF | 11054 EOF |
11037 if { (eval echo configure:11038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11055 if { (eval echo configure:11056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11038 rm -rf conftest* | 11056 rm -rf conftest* |
11039 eval "ac_cv_lib_$ac_lib_var=yes" | 11057 eval "ac_cv_lib_$ac_lib_var=yes" |
11040 else | 11058 else |
11041 echo "configure: failed program was:" >&5 | 11059 echo "configure: failed program was:" >&5 |
11042 cat conftest.$ac_ext >&5 | 11060 cat conftest.$ac_ext >&5 |
11065 fi | 11083 fi |
11066 | 11084 |
11067 | 11085 |
11068 | 11086 |
11069 echo "checking for Mule input methods" 1>&6 | 11087 echo "checking for Mule input methods" 1>&6 |
11070 echo "configure:11071: checking for Mule input methods" >&5 | 11088 echo "configure:11089: checking for Mule input methods" >&5 |
11071 case "$with_xim" in "" | "yes" ) | 11089 case "$with_xim" in "" | "yes" ) |
11072 echo "checking for XIM" 1>&6 | 11090 echo "checking for XIM" 1>&6 |
11073 echo "configure:11074: checking for XIM" >&5 | 11091 echo "configure:11092: checking for XIM" >&5 |
11074 | 11092 |
11075 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11093 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11076 echo "configure:11077: checking for XOpenIM in -lX11" >&5 | 11094 echo "configure:11095: checking for XOpenIM in -lX11" >&5 |
11077 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11095 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11078 | 11096 |
11079 xe_check_libs=" -lX11 " | 11097 xe_check_libs=" -lX11 " |
11080 cat > conftest.$ac_ext <<EOF | 11098 cat > conftest.$ac_ext <<EOF |
11081 #line 11082 "configure" | 11099 #line 11100 "configure" |
11082 #include "confdefs.h" | 11100 #include "confdefs.h" |
11083 /* Override any gcc2 internal prototype to avoid an error. */ | 11101 /* Override any gcc2 internal prototype to avoid an error. */ |
11084 /* We use char because int might match the return type of a gcc2 | 11102 /* We use char because int might match the return type of a gcc2 |
11085 builtin and then its argument prototype would still apply. */ | 11103 builtin and then its argument prototype would still apply. */ |
11086 char XOpenIM(); | 11104 char XOpenIM(); |
11087 | 11105 |
11088 int main() { | 11106 int main() { |
11089 XOpenIM() | 11107 XOpenIM() |
11090 ; return 0; } | 11108 ; return 0; } |
11091 EOF | 11109 EOF |
11092 if { (eval echo configure:11093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11093 rm -rf conftest* | 11111 rm -rf conftest* |
11094 eval "ac_cv_lib_$ac_lib_var=yes" | 11112 eval "ac_cv_lib_$ac_lib_var=yes" |
11095 else | 11113 else |
11096 echo "configure: failed program was:" >&5 | 11114 echo "configure: failed program was:" >&5 |
11097 cat conftest.$ac_ext >&5 | 11115 cat conftest.$ac_ext >&5 |
11111 | 11129 |
11112 | 11130 |
11113 if test "$have_motif $have_lesstif" = "yes no"; then | 11131 if test "$have_motif $have_lesstif" = "yes no"; then |
11114 | 11132 |
11115 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11133 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11116 echo "configure:11117: checking for XmImMbLookupString in -lXm" >&5 | 11134 echo "configure:11135: checking for XmImMbLookupString in -lXm" >&5 |
11117 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11135 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11118 | 11136 |
11119 xe_check_libs=" -lXm " | 11137 xe_check_libs=" -lXm " |
11120 cat > conftest.$ac_ext <<EOF | 11138 cat > conftest.$ac_ext <<EOF |
11121 #line 11122 "configure" | 11139 #line 11140 "configure" |
11122 #include "confdefs.h" | 11140 #include "confdefs.h" |
11123 /* Override any gcc2 internal prototype to avoid an error. */ | 11141 /* Override any gcc2 internal prototype to avoid an error. */ |
11124 /* We use char because int might match the return type of a gcc2 | 11142 /* We use char because int might match the return type of a gcc2 |
11125 builtin and then its argument prototype would still apply. */ | 11143 builtin and then its argument prototype would still apply. */ |
11126 char XmImMbLookupString(); | 11144 char XmImMbLookupString(); |
11127 | 11145 |
11128 int main() { | 11146 int main() { |
11129 XmImMbLookupString() | 11147 XmImMbLookupString() |
11130 ; return 0; } | 11148 ; return 0; } |
11131 EOF | 11149 EOF |
11132 if { (eval echo configure:11133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11150 if { (eval echo configure:11151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11133 rm -rf conftest* | 11151 rm -rf conftest* |
11134 eval "ac_cv_lib_$ac_lib_var=yes" | 11152 eval "ac_cv_lib_$ac_lib_var=yes" |
11135 else | 11153 else |
11136 echo "configure: failed program was:" >&5 | 11154 echo "configure: failed program was:" >&5 |
11137 cat conftest.$ac_ext >&5 | 11155 cat conftest.$ac_ext >&5 |
11192 fi | 11210 fi |
11193 fi | 11211 fi |
11194 | 11212 |
11195 if test "$with_xfs" = "yes" ; then | 11213 if test "$with_xfs" = "yes" ; then |
11196 echo "checking for XFontSet" 1>&6 | 11214 echo "checking for XFontSet" 1>&6 |
11197 echo "configure:11198: checking for XFontSet" >&5 | 11215 echo "configure:11216: checking for XFontSet" >&5 |
11198 | 11216 |
11199 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11217 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11200 echo "configure:11201: checking for XmbDrawString in -lX11" >&5 | 11218 echo "configure:11219: checking for XmbDrawString in -lX11" >&5 |
11201 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11219 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11202 | 11220 |
11203 xe_check_libs=" -lX11 " | 11221 xe_check_libs=" -lX11 " |
11204 cat > conftest.$ac_ext <<EOF | 11222 cat > conftest.$ac_ext <<EOF |
11205 #line 11206 "configure" | 11223 #line 11224 "configure" |
11206 #include "confdefs.h" | 11224 #include "confdefs.h" |
11207 /* Override any gcc2 internal prototype to avoid an error. */ | 11225 /* Override any gcc2 internal prototype to avoid an error. */ |
11208 /* We use char because int might match the return type of a gcc2 | 11226 /* We use char because int might match the return type of a gcc2 |
11209 builtin and then its argument prototype would still apply. */ | 11227 builtin and then its argument prototype would still apply. */ |
11210 char XmbDrawString(); | 11228 char XmbDrawString(); |
11211 | 11229 |
11212 int main() { | 11230 int main() { |
11213 XmbDrawString() | 11231 XmbDrawString() |
11214 ; return 0; } | 11232 ; return 0; } |
11215 EOF | 11233 EOF |
11216 if { (eval echo configure:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11234 if { (eval echo configure:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11217 rm -rf conftest* | 11235 rm -rf conftest* |
11218 eval "ac_cv_lib_$ac_lib_var=yes" | 11236 eval "ac_cv_lib_$ac_lib_var=yes" |
11219 else | 11237 else |
11220 echo "configure: failed program was:" >&5 | 11238 echo "configure: failed program was:" >&5 |
11221 cat conftest.$ac_ext >&5 | 11239 cat conftest.$ac_ext >&5 |
11251 fi | 11269 fi |
11252 fi | 11270 fi |
11253 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11271 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11254 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11272 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11255 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11273 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11256 echo "configure:11257: checking for wnn/jllib.h" >&5 | 11274 echo "configure:11275: checking for wnn/jllib.h" >&5 |
11257 | 11275 |
11258 cat > conftest.$ac_ext <<EOF | 11276 cat > conftest.$ac_ext <<EOF |
11259 #line 11260 "configure" | 11277 #line 11278 "configure" |
11260 #include "confdefs.h" | 11278 #include "confdefs.h" |
11261 #include <wnn/jllib.h> | 11279 #include <wnn/jllib.h> |
11262 EOF | 11280 EOF |
11263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11281 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; } | 11282 { (eval echo configure:11283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11266 if test -z "$ac_err"; then | 11284 if test -z "$ac_err"; then |
11267 rm -rf conftest* | 11285 rm -rf conftest* |
11268 eval "ac_cv_header_$ac_safe=yes" | 11286 eval "ac_cv_header_$ac_safe=yes" |
11269 else | 11287 else |
11282 with_wnn=no | 11300 with_wnn=no |
11283 fi | 11301 fi |
11284 } | 11302 } |
11285 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11303 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11286 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11304 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11287 echo "configure:11288: checking for wnn/commonhd.h" >&5 | 11305 echo "configure:11306: checking for wnn/commonhd.h" >&5 |
11288 | 11306 |
11289 cat > conftest.$ac_ext <<EOF | 11307 cat > conftest.$ac_ext <<EOF |
11290 #line 11291 "configure" | 11308 #line 11309 "configure" |
11291 #include "confdefs.h" | 11309 #include "confdefs.h" |
11292 #include <wnn/commonhd.h> | 11310 #include <wnn/commonhd.h> |
11293 EOF | 11311 EOF |
11294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11295 { (eval echo configure:11296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11313 { (eval echo configure:11314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11297 if test -z "$ac_err"; then | 11315 if test -z "$ac_err"; then |
11298 rm -rf conftest* | 11316 rm -rf conftest* |
11299 eval "ac_cv_header_$ac_safe=yes" | 11317 eval "ac_cv_header_$ac_safe=yes" |
11300 else | 11318 else |
11315 } | 11333 } |
11316 if test "$with_wnn" != "no"; then | 11334 if test "$with_wnn" != "no"; then |
11317 for ac_func in crypt | 11335 for ac_func in crypt |
11318 do | 11336 do |
11319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11320 echo "configure:11321: checking for $ac_func" >&5 | 11338 echo "configure:11339: checking for $ac_func" >&5 |
11321 | 11339 |
11322 cat > conftest.$ac_ext <<EOF | 11340 cat > conftest.$ac_ext <<EOF |
11323 #line 11324 "configure" | 11341 #line 11342 "configure" |
11324 #include "confdefs.h" | 11342 #include "confdefs.h" |
11325 /* System header to define __stub macros and hopefully few prototypes, | 11343 /* System header to define __stub macros and hopefully few prototypes, |
11326 which can conflict with char $ac_func(); below. */ | 11344 which can conflict with char $ac_func(); below. */ |
11327 #include <assert.h> | 11345 #include <assert.h> |
11328 /* Override any gcc2 internal prototype to avoid an error. */ | 11346 /* Override any gcc2 internal prototype to avoid an error. */ |
11341 $ac_func(); | 11359 $ac_func(); |
11342 #endif | 11360 #endif |
11343 | 11361 |
11344 ; return 0; } | 11362 ; return 0; } |
11345 EOF | 11363 EOF |
11346 if { (eval echo configure:11347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11364 if { (eval echo configure:11365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11347 rm -rf conftest* | 11365 rm -rf conftest* |
11348 eval "ac_cv_func_$ac_func=yes" | 11366 eval "ac_cv_func_$ac_func=yes" |
11349 else | 11367 else |
11350 echo "configure: failed program was:" >&5 | 11368 echo "configure: failed program was:" >&5 |
11351 cat conftest.$ac_ext >&5 | 11369 cat conftest.$ac_ext >&5 |
11370 fi | 11388 fi |
11371 done | 11389 done |
11372 | 11390 |
11373 test "$ac_cv_func_crypt" != "yes" && { | 11391 test "$ac_cv_func_crypt" != "yes" && { |
11374 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11392 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11375 echo "configure:11376: checking for crypt in -lcrypt" >&5 | 11393 echo "configure:11394: checking for crypt in -lcrypt" >&5 |
11376 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11394 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11377 | 11395 |
11378 xe_check_libs=" -lcrypt " | 11396 xe_check_libs=" -lcrypt " |
11379 cat > conftest.$ac_ext <<EOF | 11397 cat > conftest.$ac_ext <<EOF |
11380 #line 11381 "configure" | 11398 #line 11399 "configure" |
11381 #include "confdefs.h" | 11399 #include "confdefs.h" |
11382 /* Override any gcc2 internal prototype to avoid an error. */ | 11400 /* Override any gcc2 internal prototype to avoid an error. */ |
11383 /* We use char because int might match the return type of a gcc2 | 11401 /* We use char because int might match the return type of a gcc2 |
11384 builtin and then its argument prototype would still apply. */ | 11402 builtin and then its argument prototype would still apply. */ |
11385 char crypt(); | 11403 char crypt(); |
11386 | 11404 |
11387 int main() { | 11405 int main() { |
11388 crypt() | 11406 crypt() |
11389 ; return 0; } | 11407 ; return 0; } |
11390 EOF | 11408 EOF |
11391 if { (eval echo configure:11392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11392 rm -rf conftest* | 11410 rm -rf conftest* |
11393 eval "ac_cv_lib_$ac_lib_var=yes" | 11411 eval "ac_cv_lib_$ac_lib_var=yes" |
11394 else | 11412 else |
11395 echo "configure: failed program was:" >&5 | 11413 echo "configure: failed program was:" >&5 |
11396 cat conftest.$ac_ext >&5 | 11414 cat conftest.$ac_ext >&5 |
11421 } | 11439 } |
11422 fi | 11440 fi |
11423 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11441 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11424 | 11442 |
11425 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11443 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11426 echo "configure:11427: checking for jl_dic_list_e in -lwnn" >&5 | 11444 echo "configure:11445: checking for jl_dic_list_e in -lwnn" >&5 |
11427 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11445 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11428 | 11446 |
11429 xe_check_libs=" -lwnn " | 11447 xe_check_libs=" -lwnn " |
11430 cat > conftest.$ac_ext <<EOF | 11448 cat > conftest.$ac_ext <<EOF |
11431 #line 11432 "configure" | 11449 #line 11450 "configure" |
11432 #include "confdefs.h" | 11450 #include "confdefs.h" |
11433 /* Override any gcc2 internal prototype to avoid an error. */ | 11451 /* Override any gcc2 internal prototype to avoid an error. */ |
11434 /* We use char because int might match the return type of a gcc2 | 11452 /* We use char because int might match the return type of a gcc2 |
11435 builtin and then its argument prototype would still apply. */ | 11453 builtin and then its argument prototype would still apply. */ |
11436 char jl_dic_list_e(); | 11454 char jl_dic_list_e(); |
11437 | 11455 |
11438 int main() { | 11456 int main() { |
11439 jl_dic_list_e() | 11457 jl_dic_list_e() |
11440 ; return 0; } | 11458 ; return 0; } |
11441 EOF | 11459 EOF |
11442 if { (eval echo configure:11443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11460 if { (eval echo configure:11461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11443 rm -rf conftest* | 11461 rm -rf conftest* |
11444 eval "ac_cv_lib_$ac_lib_var=yes" | 11462 eval "ac_cv_lib_$ac_lib_var=yes" |
11445 else | 11463 else |
11446 echo "configure: failed program was:" >&5 | 11464 echo "configure: failed program was:" >&5 |
11447 cat conftest.$ac_ext >&5 | 11465 cat conftest.$ac_ext >&5 |
11455 echo "$ac_t""yes" 1>&6 | 11473 echo "$ac_t""yes" 1>&6 |
11456 libwnn=wnn | 11474 libwnn=wnn |
11457 else | 11475 else |
11458 echo "$ac_t""no" 1>&6 | 11476 echo "$ac_t""no" 1>&6 |
11459 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11477 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11460 echo "configure:11461: checking for jl_dic_list_e in -lwnn4" >&5 | 11478 echo "configure:11479: checking for jl_dic_list_e in -lwnn4" >&5 |
11461 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11479 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11462 | 11480 |
11463 xe_check_libs=" -lwnn4 " | 11481 xe_check_libs=" -lwnn4 " |
11464 cat > conftest.$ac_ext <<EOF | 11482 cat > conftest.$ac_ext <<EOF |
11465 #line 11466 "configure" | 11483 #line 11484 "configure" |
11466 #include "confdefs.h" | 11484 #include "confdefs.h" |
11467 /* Override any gcc2 internal prototype to avoid an error. */ | 11485 /* Override any gcc2 internal prototype to avoid an error. */ |
11468 /* We use char because int might match the return type of a gcc2 | 11486 /* We use char because int might match the return type of a gcc2 |
11469 builtin and then its argument prototype would still apply. */ | 11487 builtin and then its argument prototype would still apply. */ |
11470 char jl_dic_list_e(); | 11488 char jl_dic_list_e(); |
11471 | 11489 |
11472 int main() { | 11490 int main() { |
11473 jl_dic_list_e() | 11491 jl_dic_list_e() |
11474 ; return 0; } | 11492 ; return 0; } |
11475 EOF | 11493 EOF |
11476 if { (eval echo configure:11477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11494 if { (eval echo configure:11495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11477 rm -rf conftest* | 11495 rm -rf conftest* |
11478 eval "ac_cv_lib_$ac_lib_var=yes" | 11496 eval "ac_cv_lib_$ac_lib_var=yes" |
11479 else | 11497 else |
11480 echo "configure: failed program was:" >&5 | 11498 echo "configure: failed program was:" >&5 |
11481 cat conftest.$ac_ext >&5 | 11499 cat conftest.$ac_ext >&5 |
11489 echo "$ac_t""yes" 1>&6 | 11507 echo "$ac_t""yes" 1>&6 |
11490 libwnn=wnn4 | 11508 libwnn=wnn4 |
11491 else | 11509 else |
11492 echo "$ac_t""no" 1>&6 | 11510 echo "$ac_t""no" 1>&6 |
11493 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11511 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11494 echo "configure:11495: checking for jl_dic_list_e in -lwnn6" >&5 | 11512 echo "configure:11513: checking for jl_dic_list_e in -lwnn6" >&5 |
11495 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11513 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11496 | 11514 |
11497 xe_check_libs=" -lwnn6 " | 11515 xe_check_libs=" -lwnn6 " |
11498 cat > conftest.$ac_ext <<EOF | 11516 cat > conftest.$ac_ext <<EOF |
11499 #line 11500 "configure" | 11517 #line 11518 "configure" |
11500 #include "confdefs.h" | 11518 #include "confdefs.h" |
11501 /* Override any gcc2 internal prototype to avoid an error. */ | 11519 /* Override any gcc2 internal prototype to avoid an error. */ |
11502 /* We use char because int might match the return type of a gcc2 | 11520 /* We use char because int might match the return type of a gcc2 |
11503 builtin and then its argument prototype would still apply. */ | 11521 builtin and then its argument prototype would still apply. */ |
11504 char jl_dic_list_e(); | 11522 char jl_dic_list_e(); |
11505 | 11523 |
11506 int main() { | 11524 int main() { |
11507 jl_dic_list_e() | 11525 jl_dic_list_e() |
11508 ; return 0; } | 11526 ; return 0; } |
11509 EOF | 11527 EOF |
11510 if { (eval echo configure:11511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11528 if { (eval echo configure:11529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11511 rm -rf conftest* | 11529 rm -rf conftest* |
11512 eval "ac_cv_lib_$ac_lib_var=yes" | 11530 eval "ac_cv_lib_$ac_lib_var=yes" |
11513 else | 11531 else |
11514 echo "configure: failed program was:" >&5 | 11532 echo "configure: failed program was:" >&5 |
11515 cat conftest.$ac_ext >&5 | 11533 cat conftest.$ac_ext >&5 |
11523 echo "$ac_t""yes" 1>&6 | 11541 echo "$ac_t""yes" 1>&6 |
11524 libwnn=wnn6 | 11542 libwnn=wnn6 |
11525 else | 11543 else |
11526 echo "$ac_t""no" 1>&6 | 11544 echo "$ac_t""no" 1>&6 |
11527 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11545 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11528 echo "configure:11529: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11546 echo "configure:11547: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11529 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11547 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11530 | 11548 |
11531 xe_check_libs=" -lwnn6_fromsrc " | 11549 xe_check_libs=" -lwnn6_fromsrc " |
11532 cat > conftest.$ac_ext <<EOF | 11550 cat > conftest.$ac_ext <<EOF |
11533 #line 11534 "configure" | 11551 #line 11552 "configure" |
11534 #include "confdefs.h" | 11552 #include "confdefs.h" |
11535 /* Override any gcc2 internal prototype to avoid an error. */ | 11553 /* Override any gcc2 internal prototype to avoid an error. */ |
11536 /* We use char because int might match the return type of a gcc2 | 11554 /* We use char because int might match the return type of a gcc2 |
11537 builtin and then its argument prototype would still apply. */ | 11555 builtin and then its argument prototype would still apply. */ |
11538 char dic_list_e(); | 11556 char dic_list_e(); |
11539 | 11557 |
11540 int main() { | 11558 int main() { |
11541 dic_list_e() | 11559 dic_list_e() |
11542 ; return 0; } | 11560 ; return 0; } |
11543 EOF | 11561 EOF |
11544 if { (eval echo configure:11545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11562 if { (eval echo configure:11563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11545 rm -rf conftest* | 11563 rm -rf conftest* |
11546 eval "ac_cv_lib_$ac_lib_var=yes" | 11564 eval "ac_cv_lib_$ac_lib_var=yes" |
11547 else | 11565 else |
11548 echo "configure: failed program was:" >&5 | 11566 echo "configure: failed program was:" >&5 |
11549 cat conftest.$ac_ext >&5 | 11567 cat conftest.$ac_ext >&5 |
11584 | 11602 |
11585 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11603 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11586 if test "$with_wnn6" != "no"; then | 11604 if test "$with_wnn6" != "no"; then |
11587 | 11605 |
11588 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11606 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11589 echo "configure:11590: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11607 echo "configure:11608: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11590 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11608 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11591 | 11609 |
11592 xe_check_libs=" -l$libwnn " | 11610 xe_check_libs=" -l$libwnn " |
11593 cat > conftest.$ac_ext <<EOF | 11611 cat > conftest.$ac_ext <<EOF |
11594 #line 11595 "configure" | 11612 #line 11613 "configure" |
11595 #include "confdefs.h" | 11613 #include "confdefs.h" |
11596 /* Override any gcc2 internal prototype to avoid an error. */ | 11614 /* Override any gcc2 internal prototype to avoid an error. */ |
11597 /* We use char because int might match the return type of a gcc2 | 11615 /* We use char because int might match the return type of a gcc2 |
11598 builtin and then its argument prototype would still apply. */ | 11616 builtin and then its argument prototype would still apply. */ |
11599 char jl_fi_dic_list(); | 11617 char jl_fi_dic_list(); |
11600 | 11618 |
11601 int main() { | 11619 int main() { |
11602 jl_fi_dic_list() | 11620 jl_fi_dic_list() |
11603 ; return 0; } | 11621 ; return 0; } |
11604 EOF | 11622 EOF |
11605 if { (eval echo configure:11606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11623 if { (eval echo configure:11624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11606 rm -rf conftest* | 11624 rm -rf conftest* |
11607 eval "ac_cv_lib_$ac_lib_var=yes" | 11625 eval "ac_cv_lib_$ac_lib_var=yes" |
11608 else | 11626 else |
11609 echo "configure: failed program was:" >&5 | 11627 echo "configure: failed program was:" >&5 |
11610 cat conftest.$ac_ext >&5 | 11628 cat conftest.$ac_ext >&5 |
11635 | 11653 |
11636 canna_includes_found=no | 11654 canna_includes_found=no |
11637 if test "$with_canna" != "no"; then | 11655 if test "$with_canna" != "no"; then |
11638 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11656 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11639 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11657 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11640 echo "configure:11641: checking for canna/jrkanji.h" >&5 | 11658 echo "configure:11659: checking for canna/jrkanji.h" >&5 |
11641 | 11659 |
11642 cat > conftest.$ac_ext <<EOF | 11660 cat > conftest.$ac_ext <<EOF |
11643 #line 11644 "configure" | 11661 #line 11662 "configure" |
11644 #include "confdefs.h" | 11662 #include "confdefs.h" |
11645 #include <canna/jrkanji.h> | 11663 #include <canna/jrkanji.h> |
11646 EOF | 11664 EOF |
11647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11648 { (eval echo configure:11649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11666 { (eval echo configure:11667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11650 if test -z "$ac_err"; then | 11668 if test -z "$ac_err"; then |
11651 rm -rf conftest* | 11669 rm -rf conftest* |
11652 eval "ac_cv_header_$ac_safe=yes" | 11670 eval "ac_cv_header_$ac_safe=yes" |
11653 else | 11671 else |
11670 -d "/usr/local/canna/include"; then | 11688 -d "/usr/local/canna/include"; then |
11671 save_c_switch_site="$c_switch_site" | 11689 save_c_switch_site="$c_switch_site" |
11672 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11690 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11673 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11691 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11674 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11692 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11675 echo "configure:11676: checking for canna/jrkanji.h" >&5 | 11693 echo "configure:11694: checking for canna/jrkanji.h" >&5 |
11676 | 11694 |
11677 cat > conftest.$ac_ext <<EOF | 11695 cat > conftest.$ac_ext <<EOF |
11678 #line 11679 "configure" | 11696 #line 11697 "configure" |
11679 #include "confdefs.h" | 11697 #include "confdefs.h" |
11680 #include <canna/jrkanji.h> | 11698 #include <canna/jrkanji.h> |
11681 EOF | 11699 EOF |
11682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11683 { (eval echo configure:11684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11701 { (eval echo configure:11702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11685 if test -z "$ac_err"; then | 11703 if test -z "$ac_err"; then |
11686 rm -rf conftest* | 11704 rm -rf conftest* |
11687 eval "ac_cv_header_$ac_safe=yes" | 11705 eval "ac_cv_header_$ac_safe=yes" |
11688 else | 11706 else |
11706 fi | 11724 fi |
11707 fi | 11725 fi |
11708 | 11726 |
11709 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11727 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11710 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11728 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11711 echo "configure:11712: checking for canna/RK.h" >&5 | 11729 echo "configure:11730: checking for canna/RK.h" >&5 |
11712 | 11730 |
11713 cat > conftest.$ac_ext <<EOF | 11731 cat > conftest.$ac_ext <<EOF |
11714 #line 11715 "configure" | 11732 #line 11733 "configure" |
11715 #include "confdefs.h" | 11733 #include "confdefs.h" |
11716 #include <canna/RK.h> | 11734 #include <canna/RK.h> |
11717 EOF | 11735 EOF |
11718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11736 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11719 { (eval echo configure:11720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11737 { (eval echo configure:11738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11738 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11721 if test -z "$ac_err"; then | 11739 if test -z "$ac_err"; then |
11722 rm -rf conftest* | 11740 rm -rf conftest* |
11723 eval "ac_cv_header_$ac_safe=yes" | 11741 eval "ac_cv_header_$ac_safe=yes" |
11724 else | 11742 else |
11737 with_canna=no | 11755 with_canna=no |
11738 fi | 11756 fi |
11739 } | 11757 } |
11740 test -z "$with_canna" && { | 11758 test -z "$with_canna" && { |
11741 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11759 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11742 echo "configure:11743: checking for RkBgnBun in -lRKC" >&5 | 11760 echo "configure:11761: checking for RkBgnBun in -lRKC" >&5 |
11743 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11761 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11744 | 11762 |
11745 xe_check_libs=" -lRKC " | 11763 xe_check_libs=" -lRKC " |
11746 cat > conftest.$ac_ext <<EOF | 11764 cat > conftest.$ac_ext <<EOF |
11747 #line 11748 "configure" | 11765 #line 11766 "configure" |
11748 #include "confdefs.h" | 11766 #include "confdefs.h" |
11749 /* Override any gcc2 internal prototype to avoid an error. */ | 11767 /* Override any gcc2 internal prototype to avoid an error. */ |
11750 /* We use char because int might match the return type of a gcc2 | 11768 /* We use char because int might match the return type of a gcc2 |
11751 builtin and then its argument prototype would still apply. */ | 11769 builtin and then its argument prototype would still apply. */ |
11752 char RkBgnBun(); | 11770 char RkBgnBun(); |
11753 | 11771 |
11754 int main() { | 11772 int main() { |
11755 RkBgnBun() | 11773 RkBgnBun() |
11756 ; return 0; } | 11774 ; return 0; } |
11757 EOF | 11775 EOF |
11758 if { (eval echo configure:11759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11776 if { (eval echo configure:11777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11759 rm -rf conftest* | 11777 rm -rf conftest* |
11760 eval "ac_cv_lib_$ac_lib_var=yes" | 11778 eval "ac_cv_lib_$ac_lib_var=yes" |
11761 else | 11779 else |
11762 echo "configure: failed program was:" >&5 | 11780 echo "configure: failed program was:" >&5 |
11763 cat conftest.$ac_ext >&5 | 11781 cat conftest.$ac_ext >&5 |
11776 fi | 11794 fi |
11777 | 11795 |
11778 } | 11796 } |
11779 test -z "$with_canna" && { | 11797 test -z "$with_canna" && { |
11780 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11798 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11781 echo "configure:11782: checking for jrKanjiControl in -lcanna" >&5 | 11799 echo "configure:11800: checking for jrKanjiControl in -lcanna" >&5 |
11782 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11800 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11783 | 11801 |
11784 xe_check_libs=" -lcanna " | 11802 xe_check_libs=" -lcanna " |
11785 cat > conftest.$ac_ext <<EOF | 11803 cat > conftest.$ac_ext <<EOF |
11786 #line 11787 "configure" | 11804 #line 11805 "configure" |
11787 #include "confdefs.h" | 11805 #include "confdefs.h" |
11788 /* Override any gcc2 internal prototype to avoid an error. */ | 11806 /* Override any gcc2 internal prototype to avoid an error. */ |
11789 /* We use char because int might match the return type of a gcc2 | 11807 /* We use char because int might match the return type of a gcc2 |
11790 builtin and then its argument prototype would still apply. */ | 11808 builtin and then its argument prototype would still apply. */ |
11791 char jrKanjiControl(); | 11809 char jrKanjiControl(); |
11792 | 11810 |
11793 int main() { | 11811 int main() { |
11794 jrKanjiControl() | 11812 jrKanjiControl() |
11795 ; return 0; } | 11813 ; return 0; } |
11796 EOF | 11814 EOF |
11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11815 if { (eval echo configure:11816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11798 rm -rf conftest* | 11816 rm -rf conftest* |
11799 eval "ac_cv_lib_$ac_lib_var=yes" | 11817 eval "ac_cv_lib_$ac_lib_var=yes" |
11800 else | 11818 else |
11801 echo "configure: failed program was:" >&5 | 11819 echo "configure: failed program was:" >&5 |
11802 cat conftest.$ac_ext >&5 | 11820 cat conftest.$ac_ext >&5 |
11838 | 11856 |
11839 if test "$need_motif" = "yes" ; then | 11857 if test "$need_motif" = "yes" ; then |
11840 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11858 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11841 | 11859 |
11842 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11860 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11843 echo "configure:11844: checking for layout_object_getvalue in -li18n" >&5 | 11861 echo "configure:11862: checking for layout_object_getvalue in -li18n" >&5 |
11844 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11862 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11845 | 11863 |
11846 xe_check_libs=" -li18n " | 11864 xe_check_libs=" -li18n " |
11847 cat > conftest.$ac_ext <<EOF | 11865 cat > conftest.$ac_ext <<EOF |
11848 #line 11849 "configure" | 11866 #line 11867 "configure" |
11849 #include "confdefs.h" | 11867 #include "confdefs.h" |
11850 /* Override any gcc2 internal prototype to avoid an error. */ | 11868 /* Override any gcc2 internal prototype to avoid an error. */ |
11851 /* We use char because int might match the return type of a gcc2 | 11869 /* We use char because int might match the return type of a gcc2 |
11852 builtin and then its argument prototype would still apply. */ | 11870 builtin and then its argument prototype would still apply. */ |
11853 char layout_object_getvalue(); | 11871 char layout_object_getvalue(); |
11854 | 11872 |
11855 int main() { | 11873 int main() { |
11856 layout_object_getvalue() | 11874 layout_object_getvalue() |
11857 ; return 0; } | 11875 ; return 0; } |
11858 EOF | 11876 EOF |
11859 if { (eval echo configure:11860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11877 if { (eval echo configure:11878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11860 rm -rf conftest* | 11878 rm -rf conftest* |
11861 eval "ac_cv_lib_$ac_lib_var=yes" | 11879 eval "ac_cv_lib_$ac_lib_var=yes" |
11862 else | 11880 else |
11863 echo "configure: failed program was:" >&5 | 11881 echo "configure: failed program was:" >&5 |
11864 cat conftest.$ac_ext >&5 | 11882 cat conftest.$ac_ext >&5 |
11941 | 11959 |
11942 | 11960 |
11943 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11961 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11944 do | 11962 do |
11945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11946 echo "configure:11947: checking for $ac_func" >&5 | 11964 echo "configure:11965: checking for $ac_func" >&5 |
11947 | 11965 |
11948 cat > conftest.$ac_ext <<EOF | 11966 cat > conftest.$ac_ext <<EOF |
11949 #line 11950 "configure" | 11967 #line 11968 "configure" |
11950 #include "confdefs.h" | 11968 #include "confdefs.h" |
11951 /* System header to define __stub macros and hopefully few prototypes, | 11969 /* System header to define __stub macros and hopefully few prototypes, |
11952 which can conflict with char $ac_func(); below. */ | 11970 which can conflict with char $ac_func(); below. */ |
11953 #include <assert.h> | 11971 #include <assert.h> |
11954 /* Override any gcc2 internal prototype to avoid an error. */ | 11972 /* Override any gcc2 internal prototype to avoid an error. */ |
11967 $ac_func(); | 11985 $ac_func(); |
11968 #endif | 11986 #endif |
11969 | 11987 |
11970 ; return 0; } | 11988 ; return 0; } |
11971 EOF | 11989 EOF |
11972 if { (eval echo configure:11973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11990 if { (eval echo configure:11991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11973 rm -rf conftest* | 11991 rm -rf conftest* |
11974 eval "ac_cv_func_$ac_func=yes" | 11992 eval "ac_cv_func_$ac_func=yes" |
11975 else | 11993 else |
11976 echo "configure: failed program was:" >&5 | 11994 echo "configure: failed program was:" >&5 |
11977 cat conftest.$ac_ext >&5 | 11995 cat conftest.$ac_ext >&5 |
12008 | 12026 |
12009 | 12027 |
12010 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12028 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12011 do | 12029 do |
12012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12013 echo "configure:12014: checking for $ac_func" >&5 | 12031 echo "configure:12032: checking for $ac_func" >&5 |
12014 | 12032 |
12015 cat > conftest.$ac_ext <<EOF | 12033 cat > conftest.$ac_ext <<EOF |
12016 #line 12017 "configure" | 12034 #line 12035 "configure" |
12017 #include "confdefs.h" | 12035 #include "confdefs.h" |
12018 /* System header to define __stub macros and hopefully few prototypes, | 12036 /* System header to define __stub macros and hopefully few prototypes, |
12019 which can conflict with char $ac_func(); below. */ | 12037 which can conflict with char $ac_func(); below. */ |
12020 #include <assert.h> | 12038 #include <assert.h> |
12021 /* Override any gcc2 internal prototype to avoid an error. */ | 12039 /* Override any gcc2 internal prototype to avoid an error. */ |
12034 $ac_func(); | 12052 $ac_func(); |
12035 #endif | 12053 #endif |
12036 | 12054 |
12037 ; return 0; } | 12055 ; return 0; } |
12038 EOF | 12056 EOF |
12039 if { (eval echo configure:12040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12057 if { (eval echo configure:12058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12040 rm -rf conftest* | 12058 rm -rf conftest* |
12041 eval "ac_cv_func_$ac_func=yes" | 12059 eval "ac_cv_func_$ac_func=yes" |
12042 else | 12060 else |
12043 echo "configure: failed program was:" >&5 | 12061 echo "configure: failed program was:" >&5 |
12044 cat conftest.$ac_ext >&5 | 12062 cat conftest.$ac_ext >&5 |
12063 fi | 12081 fi |
12064 done | 12082 done |
12065 | 12083 |
12066 | 12084 |
12067 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12085 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12068 echo "configure:12069: checking for openpty" >&5 | 12086 echo "configure:12087: checking for openpty" >&5 |
12069 | 12087 |
12070 cat > conftest.$ac_ext <<EOF | 12088 cat > conftest.$ac_ext <<EOF |
12071 #line 12072 "configure" | 12089 #line 12090 "configure" |
12072 #include "confdefs.h" | 12090 #include "confdefs.h" |
12073 /* System header to define __stub macros and hopefully few prototypes, | 12091 /* System header to define __stub macros and hopefully few prototypes, |
12074 which can conflict with char openpty(); below. */ | 12092 which can conflict with char openpty(); below. */ |
12075 #include <assert.h> | 12093 #include <assert.h> |
12076 /* Override any gcc2 internal prototype to avoid an error. */ | 12094 /* Override any gcc2 internal prototype to avoid an error. */ |
12089 openpty(); | 12107 openpty(); |
12090 #endif | 12108 #endif |
12091 | 12109 |
12092 ; return 0; } | 12110 ; return 0; } |
12093 EOF | 12111 EOF |
12094 if { (eval echo configure:12095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12112 if { (eval echo configure:12113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12095 rm -rf conftest* | 12113 rm -rf conftest* |
12096 eval "ac_cv_func_openpty=yes" | 12114 eval "ac_cv_func_openpty=yes" |
12097 else | 12115 else |
12098 echo "configure: failed program was:" >&5 | 12116 echo "configure: failed program was:" >&5 |
12099 cat conftest.$ac_ext >&5 | 12117 cat conftest.$ac_ext >&5 |
12108 else | 12126 else |
12109 echo "$ac_t""no" 1>&6 | 12127 echo "$ac_t""no" 1>&6 |
12110 | 12128 |
12111 | 12129 |
12112 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12130 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12113 echo "configure:12114: checking for openpty in -lutil" >&5 | 12131 echo "configure:12132: checking for openpty in -lutil" >&5 |
12114 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12132 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12115 | 12133 |
12116 xe_check_libs=" -lutil " | 12134 xe_check_libs=" -lutil " |
12117 cat > conftest.$ac_ext <<EOF | 12135 cat > conftest.$ac_ext <<EOF |
12118 #line 12119 "configure" | 12136 #line 12137 "configure" |
12119 #include "confdefs.h" | 12137 #include "confdefs.h" |
12120 /* Override any gcc2 internal prototype to avoid an error. */ | 12138 /* Override any gcc2 internal prototype to avoid an error. */ |
12121 /* We use char because int might match the return type of a gcc2 | 12139 /* We use char because int might match the return type of a gcc2 |
12122 builtin and then its argument prototype would still apply. */ | 12140 builtin and then its argument prototype would still apply. */ |
12123 char openpty(); | 12141 char openpty(); |
12124 | 12142 |
12125 int main() { | 12143 int main() { |
12126 openpty() | 12144 openpty() |
12127 ; return 0; } | 12145 ; return 0; } |
12128 EOF | 12146 EOF |
12129 if { (eval echo configure:12130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12147 if { (eval echo configure:12148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12130 rm -rf conftest* | 12148 rm -rf conftest* |
12131 eval "ac_cv_lib_$ac_lib_var=yes" | 12149 eval "ac_cv_lib_$ac_lib_var=yes" |
12132 else | 12150 else |
12133 echo "configure: failed program was:" >&5 | 12151 echo "configure: failed program was:" >&5 |
12134 cat conftest.$ac_ext >&5 | 12152 cat conftest.$ac_ext >&5 |
12159 | 12177 |
12160 for ac_hdr in libutil.h util.h | 12178 for ac_hdr in libutil.h util.h |
12161 do | 12179 do |
12162 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12180 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12163 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12164 echo "configure:12165: checking for $ac_hdr" >&5 | 12182 echo "configure:12183: checking for $ac_hdr" >&5 |
12165 | 12183 |
12166 cat > conftest.$ac_ext <<EOF | 12184 cat > conftest.$ac_ext <<EOF |
12167 #line 12168 "configure" | 12185 #line 12186 "configure" |
12168 #include "confdefs.h" | 12186 #include "confdefs.h" |
12169 #include <$ac_hdr> | 12187 #include <$ac_hdr> |
12170 EOF | 12188 EOF |
12171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12172 { (eval echo configure:12173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12190 { (eval echo configure:12191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12174 if test -z "$ac_err"; then | 12192 if test -z "$ac_err"; then |
12175 rm -rf conftest* | 12193 rm -rf conftest* |
12176 eval "ac_cv_header_$ac_safe=yes" | 12194 eval "ac_cv_header_$ac_safe=yes" |
12177 else | 12195 else |
12204 case "$opsys" in | 12222 case "$opsys" in |
12205 hpux*) for ac_hdr in sys/ptyio.h | 12223 hpux*) for ac_hdr in sys/ptyio.h |
12206 do | 12224 do |
12207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12209 echo "configure:12210: checking for $ac_hdr" >&5 | 12227 echo "configure:12228: checking for $ac_hdr" >&5 |
12210 | 12228 |
12211 cat > conftest.$ac_ext <<EOF | 12229 cat > conftest.$ac_ext <<EOF |
12212 #line 12213 "configure" | 12230 #line 12231 "configure" |
12213 #include "confdefs.h" | 12231 #include "confdefs.h" |
12214 #include <$ac_hdr> | 12232 #include <$ac_hdr> |
12215 EOF | 12233 EOF |
12216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12217 { (eval echo configure:12218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12235 { (eval echo configure:12236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12219 if test -z "$ac_err"; then | 12237 if test -z "$ac_err"; then |
12220 rm -rf conftest* | 12238 rm -rf conftest* |
12221 eval "ac_cv_header_$ac_safe=yes" | 12239 eval "ac_cv_header_$ac_safe=yes" |
12222 else | 12240 else |
12245 ;; | 12263 ;; |
12246 *) for ac_hdr in pty.h | 12264 *) for ac_hdr in pty.h |
12247 do | 12265 do |
12248 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12266 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12267 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12250 echo "configure:12251: checking for $ac_hdr" >&5 | 12268 echo "configure:12269: checking for $ac_hdr" >&5 |
12251 | 12269 |
12252 cat > conftest.$ac_ext <<EOF | 12270 cat > conftest.$ac_ext <<EOF |
12253 #line 12254 "configure" | 12271 #line 12272 "configure" |
12254 #include "confdefs.h" | 12272 #include "confdefs.h" |
12255 #include <$ac_hdr> | 12273 #include <$ac_hdr> |
12256 EOF | 12274 EOF |
12257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12275 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12258 { (eval echo configure:12259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12276 { (eval echo configure:12277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12260 if test -z "$ac_err"; then | 12278 if test -z "$ac_err"; then |
12261 rm -rf conftest* | 12279 rm -rf conftest* |
12262 eval "ac_cv_header_$ac_safe=yes" | 12280 eval "ac_cv_header_$ac_safe=yes" |
12263 else | 12281 else |
12286 | 12304 |
12287 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12305 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12288 do | 12306 do |
12289 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12307 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12290 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12291 echo "configure:12292: checking for $ac_hdr" >&5 | 12309 echo "configure:12310: checking for $ac_hdr" >&5 |
12292 | 12310 |
12293 cat > conftest.$ac_ext <<EOF | 12311 cat > conftest.$ac_ext <<EOF |
12294 #line 12295 "configure" | 12312 #line 12313 "configure" |
12295 #include "confdefs.h" | 12313 #include "confdefs.h" |
12296 #include <$ac_hdr> | 12314 #include <$ac_hdr> |
12297 EOF | 12315 EOF |
12298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12299 { (eval echo configure:12300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12317 { (eval echo configure:12318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12301 if test -z "$ac_err"; then | 12319 if test -z "$ac_err"; then |
12302 rm -rf conftest* | 12320 rm -rf conftest* |
12303 eval "ac_cv_header_$ac_safe=yes" | 12321 eval "ac_cv_header_$ac_safe=yes" |
12304 else | 12322 else |
12330 | 12348 |
12331 for ac_hdr in stropts.h | 12349 for ac_hdr in stropts.h |
12332 do | 12350 do |
12333 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12351 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12334 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12352 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12335 echo "configure:12336: checking for $ac_hdr" >&5 | 12353 echo "configure:12354: checking for $ac_hdr" >&5 |
12336 | 12354 |
12337 cat > conftest.$ac_ext <<EOF | 12355 cat > conftest.$ac_ext <<EOF |
12338 #line 12339 "configure" | 12356 #line 12357 "configure" |
12339 #include "confdefs.h" | 12357 #include "confdefs.h" |
12340 #include <$ac_hdr> | 12358 #include <$ac_hdr> |
12341 EOF | 12359 EOF |
12342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12343 { (eval echo configure:12344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12361 { (eval echo configure:12362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12345 if test -z "$ac_err"; then | 12363 if test -z "$ac_err"; then |
12346 rm -rf conftest* | 12364 rm -rf conftest* |
12347 eval "ac_cv_header_$ac_safe=yes" | 12365 eval "ac_cv_header_$ac_safe=yes" |
12348 else | 12366 else |
12371 | 12389 |
12372 if test "$ac_cv_header_stropts_h" = "yes"; then | 12390 if test "$ac_cv_header_stropts_h" = "yes"; then |
12373 for ac_func in isastream | 12391 for ac_func in isastream |
12374 do | 12392 do |
12375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12376 echo "configure:12377: checking for $ac_func" >&5 | 12394 echo "configure:12395: checking for $ac_func" >&5 |
12377 | 12395 |
12378 cat > conftest.$ac_ext <<EOF | 12396 cat > conftest.$ac_ext <<EOF |
12379 #line 12380 "configure" | 12397 #line 12398 "configure" |
12380 #include "confdefs.h" | 12398 #include "confdefs.h" |
12381 /* System header to define __stub macros and hopefully few prototypes, | 12399 /* System header to define __stub macros and hopefully few prototypes, |
12382 which can conflict with char $ac_func(); below. */ | 12400 which can conflict with char $ac_func(); below. */ |
12383 #include <assert.h> | 12401 #include <assert.h> |
12384 /* Override any gcc2 internal prototype to avoid an error. */ | 12402 /* Override any gcc2 internal prototype to avoid an error. */ |
12397 $ac_func(); | 12415 $ac_func(); |
12398 #endif | 12416 #endif |
12399 | 12417 |
12400 ; return 0; } | 12418 ; return 0; } |
12401 EOF | 12419 EOF |
12402 if { (eval echo configure:12403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12420 if { (eval echo configure:12421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12403 rm -rf conftest* | 12421 rm -rf conftest* |
12404 eval "ac_cv_func_$ac_func=yes" | 12422 eval "ac_cv_func_$ac_func=yes" |
12405 else | 12423 else |
12406 echo "configure: failed program was:" >&5 | 12424 echo "configure: failed program was:" >&5 |
12407 cat conftest.$ac_ext >&5 | 12425 cat conftest.$ac_ext >&5 |
12428 | 12446 |
12429 for ac_hdr in strtio.h | 12447 for ac_hdr in strtio.h |
12430 do | 12448 do |
12431 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12449 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12432 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12450 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12433 echo "configure:12434: checking for $ac_hdr" >&5 | 12451 echo "configure:12452: checking for $ac_hdr" >&5 |
12434 | 12452 |
12435 cat > conftest.$ac_ext <<EOF | 12453 cat > conftest.$ac_ext <<EOF |
12436 #line 12437 "configure" | 12454 #line 12455 "configure" |
12437 #include "confdefs.h" | 12455 #include "confdefs.h" |
12438 #include <$ac_hdr> | 12456 #include <$ac_hdr> |
12439 EOF | 12457 EOF |
12440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12441 { (eval echo configure:12442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12459 { (eval echo configure:12460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12443 if test -z "$ac_err"; then | 12461 if test -z "$ac_err"; then |
12444 rm -rf conftest* | 12462 rm -rf conftest* |
12445 eval "ac_cv_header_$ac_safe=yes" | 12463 eval "ac_cv_header_$ac_safe=yes" |
12446 else | 12464 else |
12469 fi | 12487 fi |
12470 | 12488 |
12471 for ac_func in getloadavg | 12489 for ac_func in getloadavg |
12472 do | 12490 do |
12473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12474 echo "configure:12475: checking for $ac_func" >&5 | 12492 echo "configure:12493: checking for $ac_func" >&5 |
12475 | 12493 |
12476 cat > conftest.$ac_ext <<EOF | 12494 cat > conftest.$ac_ext <<EOF |
12477 #line 12478 "configure" | 12495 #line 12496 "configure" |
12478 #include "confdefs.h" | 12496 #include "confdefs.h" |
12479 /* System header to define __stub macros and hopefully few prototypes, | 12497 /* System header to define __stub macros and hopefully few prototypes, |
12480 which can conflict with char $ac_func(); below. */ | 12498 which can conflict with char $ac_func(); below. */ |
12481 #include <assert.h> | 12499 #include <assert.h> |
12482 /* Override any gcc2 internal prototype to avoid an error. */ | 12500 /* Override any gcc2 internal prototype to avoid an error. */ |
12495 $ac_func(); | 12513 $ac_func(); |
12496 #endif | 12514 #endif |
12497 | 12515 |
12498 ; return 0; } | 12516 ; return 0; } |
12499 EOF | 12517 EOF |
12500 if { (eval echo configure:12501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12518 if { (eval echo configure:12519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12501 rm -rf conftest* | 12519 rm -rf conftest* |
12502 eval "ac_cv_func_$ac_func=yes" | 12520 eval "ac_cv_func_$ac_func=yes" |
12503 else | 12521 else |
12504 echo "configure: failed program was:" >&5 | 12522 echo "configure: failed program was:" >&5 |
12505 cat conftest.$ac_ext >&5 | 12523 cat conftest.$ac_ext >&5 |
12528 if test "$ac_cv_func_getloadavg" = "yes"; then | 12546 if test "$ac_cv_func_getloadavg" = "yes"; then |
12529 for ac_hdr in sys/loadavg.h | 12547 for ac_hdr in sys/loadavg.h |
12530 do | 12548 do |
12531 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12532 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12533 echo "configure:12534: checking for $ac_hdr" >&5 | 12551 echo "configure:12552: checking for $ac_hdr" >&5 |
12534 | 12552 |
12535 cat > conftest.$ac_ext <<EOF | 12553 cat > conftest.$ac_ext <<EOF |
12536 #line 12537 "configure" | 12554 #line 12555 "configure" |
12537 #include "confdefs.h" | 12555 #include "confdefs.h" |
12538 #include <$ac_hdr> | 12556 #include <$ac_hdr> |
12539 EOF | 12557 EOF |
12540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12541 { (eval echo configure:12542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12559 { (eval echo configure:12560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12543 if test -z "$ac_err"; then | 12561 if test -z "$ac_err"; then |
12544 rm -rf conftest* | 12562 rm -rf conftest* |
12545 eval "ac_cv_header_$ac_safe=yes" | 12563 eval "ac_cv_header_$ac_safe=yes" |
12546 else | 12564 else |
12572 echo " xemacs will be linked with \"getloadavg.o\"" | 12590 echo " xemacs will be linked with \"getloadavg.o\"" |
12573 fi | 12591 fi |
12574 | 12592 |
12575 | 12593 |
12576 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12594 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12577 echo "configure:12578: checking for kstat_open in -lkstat" >&5 | 12595 echo "configure:12596: checking for kstat_open in -lkstat" >&5 |
12578 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12596 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12579 | 12597 |
12580 xe_check_libs=" -lkstat " | 12598 xe_check_libs=" -lkstat " |
12581 cat > conftest.$ac_ext <<EOF | 12599 cat > conftest.$ac_ext <<EOF |
12582 #line 12583 "configure" | 12600 #line 12601 "configure" |
12583 #include "confdefs.h" | 12601 #include "confdefs.h" |
12584 /* Override any gcc2 internal prototype to avoid an error. */ | 12602 /* Override any gcc2 internal prototype to avoid an error. */ |
12585 /* We use char because int might match the return type of a gcc2 | 12603 /* We use char because int might match the return type of a gcc2 |
12586 builtin and then its argument prototype would still apply. */ | 12604 builtin and then its argument prototype would still apply. */ |
12587 char kstat_open(); | 12605 char kstat_open(); |
12588 | 12606 |
12589 int main() { | 12607 int main() { |
12590 kstat_open() | 12608 kstat_open() |
12591 ; return 0; } | 12609 ; return 0; } |
12592 EOF | 12610 EOF |
12593 if { (eval echo configure:12594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12611 if { (eval echo configure:12612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12594 rm -rf conftest* | 12612 rm -rf conftest* |
12595 eval "ac_cv_lib_$ac_lib_var=yes" | 12613 eval "ac_cv_lib_$ac_lib_var=yes" |
12596 else | 12614 else |
12597 echo "configure: failed program was:" >&5 | 12615 echo "configure: failed program was:" >&5 |
12598 cat conftest.$ac_ext >&5 | 12616 cat conftest.$ac_ext >&5 |
12623 | 12641 |
12624 for ac_hdr in kstat.h | 12642 for ac_hdr in kstat.h |
12625 do | 12643 do |
12626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12644 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12645 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12628 echo "configure:12629: checking for $ac_hdr" >&5 | 12646 echo "configure:12647: checking for $ac_hdr" >&5 |
12629 | 12647 |
12630 cat > conftest.$ac_ext <<EOF | 12648 cat > conftest.$ac_ext <<EOF |
12631 #line 12632 "configure" | 12649 #line 12650 "configure" |
12632 #include "confdefs.h" | 12650 #include "confdefs.h" |
12633 #include <$ac_hdr> | 12651 #include <$ac_hdr> |
12634 EOF | 12652 EOF |
12635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12636 { (eval echo configure:12637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12654 { (eval echo configure:12655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12638 if test -z "$ac_err"; then | 12656 if test -z "$ac_err"; then |
12639 rm -rf conftest* | 12657 rm -rf conftest* |
12640 eval "ac_cv_header_$ac_safe=yes" | 12658 eval "ac_cv_header_$ac_safe=yes" |
12641 else | 12659 else |
12663 done | 12681 done |
12664 | 12682 |
12665 | 12683 |
12666 | 12684 |
12667 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12685 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12668 echo "configure:12669: checking for kvm_read in -lkvm" >&5 | 12686 echo "configure:12687: checking for kvm_read in -lkvm" >&5 |
12669 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12687 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12670 | 12688 |
12671 xe_check_libs=" -lkvm " | 12689 xe_check_libs=" -lkvm " |
12672 cat > conftest.$ac_ext <<EOF | 12690 cat > conftest.$ac_ext <<EOF |
12673 #line 12674 "configure" | 12691 #line 12692 "configure" |
12674 #include "confdefs.h" | 12692 #include "confdefs.h" |
12675 /* Override any gcc2 internal prototype to avoid an error. */ | 12693 /* Override any gcc2 internal prototype to avoid an error. */ |
12676 /* We use char because int might match the return type of a gcc2 | 12694 /* We use char because int might match the return type of a gcc2 |
12677 builtin and then its argument prototype would still apply. */ | 12695 builtin and then its argument prototype would still apply. */ |
12678 char kvm_read(); | 12696 char kvm_read(); |
12679 | 12697 |
12680 int main() { | 12698 int main() { |
12681 kvm_read() | 12699 kvm_read() |
12682 ; return 0; } | 12700 ; return 0; } |
12683 EOF | 12701 EOF |
12684 if { (eval echo configure:12685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12702 if { (eval echo configure:12703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12685 rm -rf conftest* | 12703 rm -rf conftest* |
12686 eval "ac_cv_lib_$ac_lib_var=yes" | 12704 eval "ac_cv_lib_$ac_lib_var=yes" |
12687 else | 12705 else |
12688 echo "configure: failed program was:" >&5 | 12706 echo "configure: failed program was:" >&5 |
12689 cat conftest.$ac_ext >&5 | 12707 cat conftest.$ac_ext >&5 |
12713 | 12731 |
12714 | 12732 |
12715 fi | 12733 fi |
12716 | 12734 |
12717 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12735 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12718 echo "configure:12719: checking whether netdb declares h_errno" >&5 | 12736 echo "configure:12737: checking whether netdb declares h_errno" >&5 |
12719 cat > conftest.$ac_ext <<EOF | 12737 cat > conftest.$ac_ext <<EOF |
12720 #line 12721 "configure" | 12738 #line 12739 "configure" |
12721 #include "confdefs.h" | 12739 #include "confdefs.h" |
12722 #include <netdb.h> | 12740 #include <netdb.h> |
12723 int main() { | 12741 int main() { |
12724 return h_errno; | 12742 return h_errno; |
12725 ; return 0; } | 12743 ; return 0; } |
12726 EOF | 12744 EOF |
12727 if { (eval echo configure:12728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12745 if { (eval echo configure:12746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12728 rm -rf conftest* | 12746 rm -rf conftest* |
12729 echo "$ac_t""yes" 1>&6 | 12747 echo "$ac_t""yes" 1>&6 |
12730 { test "$extra_verbose" = "yes" && cat << \EOF | 12748 { test "$extra_verbose" = "yes" && cat << \EOF |
12731 Defining HAVE_H_ERRNO | 12749 Defining HAVE_H_ERRNO |
12732 EOF | 12750 EOF |
12742 echo "$ac_t""no" 1>&6 | 12760 echo "$ac_t""no" 1>&6 |
12743 fi | 12761 fi |
12744 rm -f conftest* | 12762 rm -f conftest* |
12745 | 12763 |
12746 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12764 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12747 echo "configure:12748: checking for sigsetjmp" >&5 | 12765 echo "configure:12766: checking for sigsetjmp" >&5 |
12748 cat > conftest.$ac_ext <<EOF | 12766 cat > conftest.$ac_ext <<EOF |
12749 #line 12750 "configure" | 12767 #line 12768 "configure" |
12750 #include "confdefs.h" | 12768 #include "confdefs.h" |
12751 #include <setjmp.h> | 12769 #include <setjmp.h> |
12752 int main() { | 12770 int main() { |
12753 sigjmp_buf bar; sigsetjmp (bar, 0); | 12771 sigjmp_buf bar; sigsetjmp (bar, 0); |
12754 ; return 0; } | 12772 ; return 0; } |
12755 EOF | 12773 EOF |
12756 if { (eval echo configure:12757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12774 if { (eval echo configure:12775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12757 rm -rf conftest* | 12775 rm -rf conftest* |
12758 echo "$ac_t""yes" 1>&6 | 12776 echo "$ac_t""yes" 1>&6 |
12759 { test "$extra_verbose" = "yes" && cat << \EOF | 12777 { test "$extra_verbose" = "yes" && cat << \EOF |
12760 Defining HAVE_SIGSETJMP | 12778 Defining HAVE_SIGSETJMP |
12761 EOF | 12779 EOF |
12771 echo "$ac_t""no" 1>&6 | 12789 echo "$ac_t""no" 1>&6 |
12772 fi | 12790 fi |
12773 rm -f conftest* | 12791 rm -f conftest* |
12774 | 12792 |
12775 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12793 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12776 echo "configure:12777: checking whether localtime caches TZ" >&5 | 12794 echo "configure:12795: checking whether localtime caches TZ" >&5 |
12777 | 12795 |
12778 if test "$ac_cv_func_tzset" = "yes"; then | 12796 if test "$ac_cv_func_tzset" = "yes"; then |
12779 cat > conftest.$ac_ext <<EOF | 12797 cat > conftest.$ac_ext <<EOF |
12780 #line 12781 "configure" | 12798 #line 12799 "configure" |
12781 #include "confdefs.h" | 12799 #include "confdefs.h" |
12782 #include <time.h> | 12800 #include <time.h> |
12783 #if STDC_HEADERS | 12801 #if STDC_HEADERS |
12784 # include <stdlib.h> | 12802 # include <stdlib.h> |
12785 #endif | 12803 #endif |
12810 if (localtime (&now)->tm_hour != hour_unset) | 12828 if (localtime (&now)->tm_hour != hour_unset) |
12811 exit (1); | 12829 exit (1); |
12812 exit (0); | 12830 exit (0); |
12813 } | 12831 } |
12814 EOF | 12832 EOF |
12815 if { (eval echo configure:12816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12833 if { (eval echo configure:12834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12816 then | 12834 then |
12817 emacs_cv_localtime_cache=no | 12835 emacs_cv_localtime_cache=no |
12818 else | 12836 else |
12819 conftest_rc="$?" | 12837 conftest_rc="$?" |
12820 echo "configure: failed program was:" >&5 | 12838 echo "configure: failed program was:" >&5 |
12840 | 12858 |
12841 fi | 12859 fi |
12842 | 12860 |
12843 if test "$HAVE_TIMEVAL" = "yes"; then | 12861 if test "$HAVE_TIMEVAL" = "yes"; then |
12844 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12862 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12845 echo "configure:12846: checking whether gettimeofday accepts one or two arguments" >&5 | 12863 echo "configure:12864: checking whether gettimeofday accepts one or two arguments" >&5 |
12846 cat > conftest.$ac_ext <<EOF | 12864 cat > conftest.$ac_ext <<EOF |
12847 #line 12848 "configure" | 12865 #line 12866 "configure" |
12848 #include "confdefs.h" | 12866 #include "confdefs.h" |
12849 | 12867 |
12850 #ifdef TIME_WITH_SYS_TIME | 12868 #ifdef TIME_WITH_SYS_TIME |
12851 #include <sys/time.h> | 12869 #include <sys/time.h> |
12852 #include <time.h> | 12870 #include <time.h> |
12863 struct timeval time; | 12881 struct timeval time; |
12864 gettimeofday (&time, 0); | 12882 gettimeofday (&time, 0); |
12865 | 12883 |
12866 ; return 0; } | 12884 ; return 0; } |
12867 EOF | 12885 EOF |
12868 if { (eval echo configure:12869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12886 if { (eval echo configure:12887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12869 rm -rf conftest* | 12887 rm -rf conftest* |
12870 echo "$ac_t""two" 1>&6 | 12888 echo "$ac_t""two" 1>&6 |
12871 else | 12889 else |
12872 echo "configure: failed program was:" >&5 | 12890 echo "configure: failed program was:" >&5 |
12873 cat conftest.$ac_ext >&5 | 12891 cat conftest.$ac_ext >&5 |
12885 rm -f conftest* | 12903 rm -f conftest* |
12886 fi | 12904 fi |
12887 | 12905 |
12888 | 12906 |
12889 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12907 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12890 echo "configure:12891: checking for inline" >&5 | 12908 echo "configure:12909: checking for inline" >&5 |
12891 | 12909 |
12892 ac_cv_c_inline=no | 12910 ac_cv_c_inline=no |
12893 for ac_kw in inline __inline__ __inline; do | 12911 for ac_kw in inline __inline__ __inline; do |
12894 cat > conftest.$ac_ext <<EOF | 12912 cat > conftest.$ac_ext <<EOF |
12895 #line 12896 "configure" | 12913 #line 12914 "configure" |
12896 #include "confdefs.h" | 12914 #include "confdefs.h" |
12897 | 12915 |
12898 int main() { | 12916 int main() { |
12899 } $ac_kw foo() { | 12917 } $ac_kw foo() { |
12900 ; return 0; } | 12918 ; return 0; } |
12901 EOF | 12919 EOF |
12902 if { (eval echo configure:12903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12920 if { (eval echo configure:12921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12903 rm -rf conftest* | 12921 rm -rf conftest* |
12904 ac_cv_c_inline=$ac_kw; break | 12922 ac_cv_c_inline=$ac_kw; break |
12905 else | 12923 else |
12906 echo "configure: failed program was:" >&5 | 12924 echo "configure: failed program was:" >&5 |
12907 cat conftest.$ac_ext >&5 | 12925 cat conftest.$ac_ext >&5 |
12934 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 12952 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
12935 echo " xemacs will be linked with \"inline.o\"" | 12953 echo " xemacs will be linked with \"inline.o\"" |
12936 fi | 12954 fi |
12937 | 12955 |
12938 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 12956 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
12939 echo "configure:12940: checking for typeof" >&5 | 12957 echo "configure:12958: checking for typeof" >&5 |
12940 cat > conftest.$ac_ext <<EOF | 12958 cat > conftest.$ac_ext <<EOF |
12941 #line 12942 "configure" | 12959 #line 12960 "configure" |
12942 #include "confdefs.h" | 12960 #include "confdefs.h" |
12943 | 12961 |
12944 int main() { | 12962 int main() { |
12945 int i; __typeof__(i) j; | 12963 int i; __typeof__(i) j; |
12946 ; return 0; } | 12964 ; return 0; } |
12947 EOF | 12965 EOF |
12948 if { (eval echo configure:12949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12966 if { (eval echo configure:12967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12949 rm -rf conftest* | 12967 rm -rf conftest* |
12950 typeofname="__typeof__" | 12968 typeofname="__typeof__" |
12951 else | 12969 else |
12952 echo "configure: failed program was:" >&5 | 12970 echo "configure: failed program was:" >&5 |
12953 cat conftest.$ac_ext >&5 | 12971 cat conftest.$ac_ext >&5 |
12954 rm -rf conftest* | 12972 rm -rf conftest* |
12955 cat > conftest.$ac_ext <<EOF | 12973 cat > conftest.$ac_ext <<EOF |
12956 #line 12957 "configure" | 12974 #line 12975 "configure" |
12957 #include "confdefs.h" | 12975 #include "confdefs.h" |
12958 | 12976 |
12959 int main() { | 12977 int main() { |
12960 int i; typeof(i) j; | 12978 int i; typeof(i) j; |
12961 ; return 0; } | 12979 ; return 0; } |
12962 EOF | 12980 EOF |
12963 if { (eval echo configure:12964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12981 if { (eval echo configure:12982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12964 rm -rf conftest* | 12982 rm -rf conftest* |
12965 typeofname="typeof" | 12983 typeofname="typeof" |
12966 else | 12984 else |
12967 echo "configure: failed program was:" >&5 | 12985 echo "configure: failed program was:" >&5 |
12968 cat conftest.$ac_ext >&5 | 12986 cat conftest.$ac_ext >&5 |
12987 | 13005 |
12988 if test "$__DECC" != "yes"; then | 13006 if test "$__DECC" != "yes"; then |
12989 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13007 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12990 # for constant arguments. Useless! | 13008 # for constant arguments. Useless! |
12991 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13009 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12992 echo "configure:12993: checking for working alloca.h" >&5 | 13010 echo "configure:13011: checking for working alloca.h" >&5 |
12993 | 13011 |
12994 cat > conftest.$ac_ext <<EOF | 13012 cat > conftest.$ac_ext <<EOF |
12995 #line 12996 "configure" | 13013 #line 13014 "configure" |
12996 #include "confdefs.h" | 13014 #include "confdefs.h" |
12997 #include <alloca.h> | 13015 #include <alloca.h> |
12998 int main() { | 13016 int main() { |
12999 char *p = alloca(2 * sizeof(int)); | 13017 char *p = alloca(2 * sizeof(int)); |
13000 ; return 0; } | 13018 ; return 0; } |
13001 EOF | 13019 EOF |
13002 if { (eval echo configure:13003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13020 if { (eval echo configure:13021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13003 rm -rf conftest* | 13021 rm -rf conftest* |
13004 ac_cv_header_alloca_h=yes | 13022 ac_cv_header_alloca_h=yes |
13005 else | 13023 else |
13006 echo "configure: failed program was:" >&5 | 13024 echo "configure: failed program was:" >&5 |
13007 cat conftest.$ac_ext >&5 | 13025 cat conftest.$ac_ext >&5 |
13021 } | 13039 } |
13022 | 13040 |
13023 fi | 13041 fi |
13024 | 13042 |
13025 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13043 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13026 echo "configure:13027: checking for alloca" >&5 | 13044 echo "configure:13045: checking for alloca" >&5 |
13027 | 13045 |
13028 cat > conftest.$ac_ext <<EOF | 13046 cat > conftest.$ac_ext <<EOF |
13029 #line 13030 "configure" | 13047 #line 13048 "configure" |
13030 #include "confdefs.h" | 13048 #include "confdefs.h" |
13031 | 13049 |
13032 #ifdef __GNUC__ | 13050 #ifdef __GNUC__ |
13033 # define alloca __builtin_alloca | 13051 # define alloca __builtin_alloca |
13034 #else | 13052 #else |
13052 | 13070 |
13053 int main() { | 13071 int main() { |
13054 char *p = (char *) alloca(1); | 13072 char *p = (char *) alloca(1); |
13055 ; return 0; } | 13073 ; return 0; } |
13056 EOF | 13074 EOF |
13057 if { (eval echo configure:13058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13075 if { (eval echo configure:13076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13058 rm -rf conftest* | 13076 rm -rf conftest* |
13059 ac_cv_func_alloca_works=yes | 13077 ac_cv_func_alloca_works=yes |
13060 else | 13078 else |
13061 echo "configure: failed program was:" >&5 | 13079 echo "configure: failed program was:" >&5 |
13062 cat conftest.$ac_ext >&5 | 13080 cat conftest.$ac_ext >&5 |
13091 EOF | 13109 EOF |
13092 } | 13110 } |
13093 | 13111 |
13094 | 13112 |
13095 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13113 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13096 echo "configure:13097: checking whether alloca needs Cray hooks" >&5 | 13114 echo "configure:13115: checking whether alloca needs Cray hooks" >&5 |
13097 | 13115 |
13098 cat > conftest.$ac_ext <<EOF | 13116 cat > conftest.$ac_ext <<EOF |
13099 #line 13100 "configure" | 13117 #line 13118 "configure" |
13100 #include "confdefs.h" | 13118 #include "confdefs.h" |
13101 #if defined(CRAY) && ! defined(CRAY2) | 13119 #if defined(CRAY) && ! defined(CRAY2) |
13102 webecray | 13120 webecray |
13103 #else | 13121 #else |
13104 wenotbecray | 13122 wenotbecray |
13118 | 13136 |
13119 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13137 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13120 if test $ac_cv_os_cray = yes; then | 13138 if test $ac_cv_os_cray = yes; then |
13121 for ac_func in _getb67 GETB67 getb67; do | 13139 for ac_func in _getb67 GETB67 getb67; do |
13122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13123 echo "configure:13124: checking for $ac_func" >&5 | 13141 echo "configure:13142: checking for $ac_func" >&5 |
13124 | 13142 |
13125 cat > conftest.$ac_ext <<EOF | 13143 cat > conftest.$ac_ext <<EOF |
13126 #line 13127 "configure" | 13144 #line 13145 "configure" |
13127 #include "confdefs.h" | 13145 #include "confdefs.h" |
13128 /* System header to define __stub macros and hopefully few prototypes, | 13146 /* System header to define __stub macros and hopefully few prototypes, |
13129 which can conflict with char $ac_func(); below. */ | 13147 which can conflict with char $ac_func(); below. */ |
13130 #include <assert.h> | 13148 #include <assert.h> |
13131 /* Override any gcc2 internal prototype to avoid an error. */ | 13149 /* Override any gcc2 internal prototype to avoid an error. */ |
13144 $ac_func(); | 13162 $ac_func(); |
13145 #endif | 13163 #endif |
13146 | 13164 |
13147 ; return 0; } | 13165 ; return 0; } |
13148 EOF | 13166 EOF |
13149 if { (eval echo configure:13150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13167 if { (eval echo configure:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13150 rm -rf conftest* | 13168 rm -rf conftest* |
13151 eval "ac_cv_func_$ac_func=yes" | 13169 eval "ac_cv_func_$ac_func=yes" |
13152 else | 13170 else |
13153 echo "configure: failed program was:" >&5 | 13171 echo "configure: failed program was:" >&5 |
13154 cat conftest.$ac_ext >&5 | 13172 cat conftest.$ac_ext >&5 |
13174 | 13192 |
13175 done | 13193 done |
13176 fi | 13194 fi |
13177 | 13195 |
13178 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13196 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13179 echo "configure:13180: checking stack direction for C alloca" >&5 | 13197 echo "configure:13198: checking stack direction for C alloca" >&5 |
13180 | 13198 |
13181 cat > conftest.$ac_ext <<EOF | 13199 cat > conftest.$ac_ext <<EOF |
13182 #line 13183 "configure" | 13200 #line 13201 "configure" |
13183 #include "confdefs.h" | 13201 #include "confdefs.h" |
13184 find_stack_direction () | 13202 find_stack_direction () |
13185 { | 13203 { |
13186 static char *addr = 0; | 13204 static char *addr = 0; |
13187 auto char dummy; | 13205 auto char dummy; |
13196 main () | 13214 main () |
13197 { | 13215 { |
13198 exit (find_stack_direction() < 0); | 13216 exit (find_stack_direction() < 0); |
13199 } | 13217 } |
13200 EOF | 13218 EOF |
13201 if { (eval echo configure:13202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13219 if { (eval echo configure:13220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13202 then | 13220 then |
13203 ac_cv_c_stack_direction=1 | 13221 ac_cv_c_stack_direction=1 |
13204 else | 13222 else |
13205 conftest_rc="$?" | 13223 conftest_rc="$?" |
13206 echo "configure: failed program was:" >&5 | 13224 echo "configure: failed program was:" >&5 |
13225 echo " xemacs will be linked with \"$ALLOCA\"" | 13243 echo " xemacs will be linked with \"$ALLOCA\"" |
13226 fi | 13244 fi |
13227 fi | 13245 fi |
13228 | 13246 |
13229 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13247 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13230 echo "configure:13231: checking for working alloca in function calls" >&5 | 13248 echo "configure:13249: checking for working alloca in function calls" >&5 |
13231 cat > conftest.$ac_ext <<EOF | 13249 cat > conftest.$ac_ext <<EOF |
13232 #line 13233 "configure" | 13250 #line 13251 "configure" |
13233 #include "confdefs.h" | 13251 #include "confdefs.h" |
13234 | 13252 |
13235 #if defined (__CYGWIN__) | 13253 #if defined (__CYGWIN__) |
13236 #include <alloca.h> | 13254 #include <alloca.h> |
13237 #elif defined (__GNUC__) | 13255 #elif defined (__GNUC__) |
13280 return 1; | 13298 return 1; |
13281 return 0; | 13299 return 0; |
13282 } | 13300 } |
13283 | 13301 |
13284 EOF | 13302 EOF |
13285 if { (eval echo configure:13286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13303 if { (eval echo configure:13304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13286 then | 13304 then |
13287 working_alloca_in_function_calls=yes | 13305 working_alloca_in_function_calls=yes |
13288 else | 13306 else |
13289 conftest_rc="$?" | 13307 conftest_rc="$?" |
13290 echo "configure: failed program was:" >&5 | 13308 echo "configure: failed program was:" >&5 |
13303 EOF | 13321 EOF |
13304 } | 13322 } |
13305 | 13323 |
13306 | 13324 |
13307 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13325 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13308 echo "configure:13309: checking for working strcoll" >&5 | 13326 echo "configure:13327: checking for working strcoll" >&5 |
13309 | 13327 |
13310 cat > conftest.$ac_ext <<EOF | 13328 cat > conftest.$ac_ext <<EOF |
13311 #line 13312 "configure" | 13329 #line 13330 "configure" |
13312 #include "confdefs.h" | 13330 #include "confdefs.h" |
13313 #include <string.h> | 13331 #include <string.h> |
13314 main () | 13332 main () |
13315 { | 13333 { |
13316 exit (strcoll ("abc", "def") >= 0 || | 13334 exit (strcoll ("abc", "def") >= 0 || |
13317 strcoll ("ABC", "DEF") >= 0 || | 13335 strcoll ("ABC", "DEF") >= 0 || |
13318 strcoll ("123", "456") >= 0); | 13336 strcoll ("123", "456") >= 0); |
13319 } | 13337 } |
13320 EOF | 13338 EOF |
13321 if { (eval echo configure:13322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13339 if { (eval echo configure:13340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13322 then | 13340 then |
13323 ac_cv_func_strcoll_works=yes | 13341 ac_cv_func_strcoll_works=yes |
13324 else | 13342 else |
13325 conftest_rc="$?" | 13343 conftest_rc="$?" |
13326 echo "configure: failed program was:" >&5 | 13344 echo "configure: failed program was:" >&5 |
13344 | 13362 |
13345 | 13363 |
13346 for ac_func in getpgrp | 13364 for ac_func in getpgrp |
13347 do | 13365 do |
13348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13349 echo "configure:13350: checking for $ac_func" >&5 | 13367 echo "configure:13368: checking for $ac_func" >&5 |
13350 | 13368 |
13351 cat > conftest.$ac_ext <<EOF | 13369 cat > conftest.$ac_ext <<EOF |
13352 #line 13353 "configure" | 13370 #line 13371 "configure" |
13353 #include "confdefs.h" | 13371 #include "confdefs.h" |
13354 /* System header to define __stub macros and hopefully few prototypes, | 13372 /* System header to define __stub macros and hopefully few prototypes, |
13355 which can conflict with char $ac_func(); below. */ | 13373 which can conflict with char $ac_func(); below. */ |
13356 #include <assert.h> | 13374 #include <assert.h> |
13357 /* Override any gcc2 internal prototype to avoid an error. */ | 13375 /* Override any gcc2 internal prototype to avoid an error. */ |
13370 $ac_func(); | 13388 $ac_func(); |
13371 #endif | 13389 #endif |
13372 | 13390 |
13373 ; return 0; } | 13391 ; return 0; } |
13374 EOF | 13392 EOF |
13375 if { (eval echo configure:13376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13393 if { (eval echo configure:13394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13376 rm -rf conftest* | 13394 rm -rf conftest* |
13377 eval "ac_cv_func_$ac_func=yes" | 13395 eval "ac_cv_func_$ac_func=yes" |
13378 else | 13396 else |
13379 echo "configure: failed program was:" >&5 | 13397 echo "configure: failed program was:" >&5 |
13380 cat conftest.$ac_ext >&5 | 13398 cat conftest.$ac_ext >&5 |
13398 echo "$ac_t""no" 1>&6 | 13416 echo "$ac_t""no" 1>&6 |
13399 fi | 13417 fi |
13400 done | 13418 done |
13401 | 13419 |
13402 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13420 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13403 echo "configure:13404: checking whether getpgrp takes no argument" >&5 | 13421 echo "configure:13422: checking whether getpgrp takes no argument" >&5 |
13404 | 13422 |
13405 cat > conftest.$ac_ext <<EOF | 13423 cat > conftest.$ac_ext <<EOF |
13406 #line 13407 "configure" | 13424 #line 13425 "configure" |
13407 #include "confdefs.h" | 13425 #include "confdefs.h" |
13408 | 13426 |
13409 /* | 13427 /* |
13410 * If this system has a BSD-style getpgrp(), | 13428 * If this system has a BSD-style getpgrp(), |
13411 * which takes a pid argument, exit unsuccessfully. | 13429 * which takes a pid argument, exit unsuccessfully. |
13456 exit(s>>8); | 13474 exit(s>>8); |
13457 } | 13475 } |
13458 } | 13476 } |
13459 | 13477 |
13460 EOF | 13478 EOF |
13461 if { (eval echo configure:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13479 if { (eval echo configure:13480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13462 then | 13480 then |
13463 ac_cv_func_getpgrp_void=yes | 13481 ac_cv_func_getpgrp_void=yes |
13464 else | 13482 else |
13465 conftest_rc="$?" | 13483 conftest_rc="$?" |
13466 echo "configure: failed program was:" >&5 | 13484 echo "configure: failed program was:" >&5 |
13483 | 13501 |
13484 fi | 13502 fi |
13485 | 13503 |
13486 | 13504 |
13487 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13505 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13488 echo "configure:13489: checking for working mmap" >&5 | 13506 echo "configure:13507: checking for working mmap" >&5 |
13489 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13507 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13490 cat > conftest.$ac_ext <<EOF | 13508 cat > conftest.$ac_ext <<EOF |
13491 #line 13492 "configure" | 13509 #line 13510 "configure" |
13492 #include "confdefs.h" | 13510 #include "confdefs.h" |
13493 #include <stdio.h> | 13511 #include <stdio.h> |
13494 #include <unistd.h> | 13512 #include <unistd.h> |
13495 #include <fcntl.h> | 13513 #include <fcntl.h> |
13496 #include <sys/mman.h> | 13514 #include <sys/mman.h> |
13519 return 0; | 13537 return 0; |
13520 perror ("conftest: mmap failed"); | 13538 perror ("conftest: mmap failed"); |
13521 return 1; | 13539 return 1; |
13522 } | 13540 } |
13523 EOF | 13541 EOF |
13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13542 if { (eval echo configure:13543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13525 then | 13543 then |
13526 have_mmap=yes | 13544 have_mmap=yes |
13527 else | 13545 else |
13528 conftest_rc="$?" | 13546 conftest_rc="$?" |
13529 echo "configure: failed program was:" >&5 | 13547 echo "configure: failed program was:" >&5 |
13548 esac | 13566 esac |
13549 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13567 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13550 if test "$rel_alloc $have_mmap" = "default yes"; then | 13568 if test "$rel_alloc $have_mmap" = "default yes"; then |
13551 if test "$doug_lea_malloc" = "yes"; then | 13569 if test "$doug_lea_malloc" = "yes"; then |
13552 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13570 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13553 echo "configure:13554: checking for M_MMAP_THRESHOLD" >&5 | 13571 echo "configure:13572: checking for M_MMAP_THRESHOLD" >&5 |
13554 cat > conftest.$ac_ext <<EOF | 13572 cat > conftest.$ac_ext <<EOF |
13555 #line 13556 "configure" | 13573 #line 13574 "configure" |
13556 #include "confdefs.h" | 13574 #include "confdefs.h" |
13557 #include <malloc.h> | 13575 #include <malloc.h> |
13558 int main() { | 13576 int main() { |
13559 | 13577 |
13560 #ifndef M_MMAP_THRESHOLD | 13578 #ifndef M_MMAP_THRESHOLD |
13562 !@+$%^&*_)(_ - unlikely to compile... | 13580 !@+$%^&*_)(_ - unlikely to compile... |
13563 #endif | 13581 #endif |
13564 | 13582 |
13565 ; return 0; } | 13583 ; return 0; } |
13566 EOF | 13584 EOF |
13567 if { (eval echo configure:13568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13585 if { (eval echo configure:13586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13568 rm -rf conftest* | 13586 rm -rf conftest* |
13569 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13587 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13570 else | 13588 else |
13571 echo "configure: failed program was:" >&5 | 13589 echo "configure: failed program was:" >&5 |
13572 cat conftest.$ac_ext >&5 | 13590 cat conftest.$ac_ext >&5 |
13587 } | 13605 } |
13588 | 13606 |
13589 | 13607 |
13590 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13608 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13591 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13609 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13592 echo "configure:13593: checking for termios.h" >&5 | 13610 echo "configure:13611: checking for termios.h" >&5 |
13593 | 13611 |
13594 cat > conftest.$ac_ext <<EOF | 13612 cat > conftest.$ac_ext <<EOF |
13595 #line 13596 "configure" | 13613 #line 13614 "configure" |
13596 #include "confdefs.h" | 13614 #include "confdefs.h" |
13597 #include <termios.h> | 13615 #include <termios.h> |
13598 EOF | 13616 EOF |
13599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13600 { (eval echo configure:13601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13618 { (eval echo configure:13619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13602 if test -z "$ac_err"; then | 13620 if test -z "$ac_err"; then |
13603 rm -rf conftest* | 13621 rm -rf conftest* |
13604 eval "ac_cv_header_$ac_safe=yes" | 13622 eval "ac_cv_header_$ac_safe=yes" |
13605 else | 13623 else |
13638 | 13656 |
13639 else | 13657 else |
13640 echo "$ac_t""no" 1>&6 | 13658 echo "$ac_t""no" 1>&6 |
13641 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13659 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13642 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13660 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13643 echo "configure:13644: checking for termio.h" >&5 | 13661 echo "configure:13662: checking for termio.h" >&5 |
13644 | 13662 |
13645 cat > conftest.$ac_ext <<EOF | 13663 cat > conftest.$ac_ext <<EOF |
13646 #line 13647 "configure" | 13664 #line 13665 "configure" |
13647 #include "confdefs.h" | 13665 #include "confdefs.h" |
13648 #include <termio.h> | 13666 #include <termio.h> |
13649 EOF | 13667 EOF |
13650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13651 { (eval echo configure:13652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13669 { (eval echo configure:13670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13653 if test -z "$ac_err"; then | 13671 if test -z "$ac_err"; then |
13654 rm -rf conftest* | 13672 rm -rf conftest* |
13655 eval "ac_cv_header_$ac_safe=yes" | 13673 eval "ac_cv_header_$ac_safe=yes" |
13656 else | 13674 else |
13678 fi | 13696 fi |
13679 | 13697 |
13680 | 13698 |
13681 | 13699 |
13682 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13700 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13683 echo "configure:13684: checking for socket" >&5 | 13701 echo "configure:13702: checking for socket" >&5 |
13684 | 13702 |
13685 cat > conftest.$ac_ext <<EOF | 13703 cat > conftest.$ac_ext <<EOF |
13686 #line 13687 "configure" | 13704 #line 13705 "configure" |
13687 #include "confdefs.h" | 13705 #include "confdefs.h" |
13688 /* System header to define __stub macros and hopefully few prototypes, | 13706 /* System header to define __stub macros and hopefully few prototypes, |
13689 which can conflict with char socket(); below. */ | 13707 which can conflict with char socket(); below. */ |
13690 #include <assert.h> | 13708 #include <assert.h> |
13691 /* Override any gcc2 internal prototype to avoid an error. */ | 13709 /* Override any gcc2 internal prototype to avoid an error. */ |
13704 socket(); | 13722 socket(); |
13705 #endif | 13723 #endif |
13706 | 13724 |
13707 ; return 0; } | 13725 ; return 0; } |
13708 EOF | 13726 EOF |
13709 if { (eval echo configure:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13727 if { (eval echo configure:13728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13710 rm -rf conftest* | 13728 rm -rf conftest* |
13711 eval "ac_cv_func_socket=yes" | 13729 eval "ac_cv_func_socket=yes" |
13712 else | 13730 else |
13713 echo "configure: failed program was:" >&5 | 13731 echo "configure: failed program was:" >&5 |
13714 cat conftest.$ac_ext >&5 | 13732 cat conftest.$ac_ext >&5 |
13719 | 13737 |
13720 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13738 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13721 echo "$ac_t""yes" 1>&6 | 13739 echo "$ac_t""yes" 1>&6 |
13722 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13740 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13723 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13741 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13724 echo "configure:13725: checking for netinet/in.h" >&5 | 13742 echo "configure:13743: checking for netinet/in.h" >&5 |
13725 | 13743 |
13726 cat > conftest.$ac_ext <<EOF | 13744 cat > conftest.$ac_ext <<EOF |
13727 #line 13728 "configure" | 13745 #line 13746 "configure" |
13728 #include "confdefs.h" | 13746 #include "confdefs.h" |
13729 #include <netinet/in.h> | 13747 #include <netinet/in.h> |
13730 EOF | 13748 EOF |
13731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13732 { (eval echo configure:13733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13750 { (eval echo configure:13751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13734 if test -z "$ac_err"; then | 13752 if test -z "$ac_err"; then |
13735 rm -rf conftest* | 13753 rm -rf conftest* |
13736 eval "ac_cv_header_$ac_safe=yes" | 13754 eval "ac_cv_header_$ac_safe=yes" |
13737 else | 13755 else |
13744 rm -f conftest* | 13762 rm -f conftest* |
13745 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13746 echo "$ac_t""yes" 1>&6 | 13764 echo "$ac_t""yes" 1>&6 |
13747 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13765 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13748 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13766 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13749 echo "configure:13750: checking for arpa/inet.h" >&5 | 13767 echo "configure:13768: checking for arpa/inet.h" >&5 |
13750 | 13768 |
13751 cat > conftest.$ac_ext <<EOF | 13769 cat > conftest.$ac_ext <<EOF |
13752 #line 13753 "configure" | 13770 #line 13771 "configure" |
13753 #include "confdefs.h" | 13771 #include "confdefs.h" |
13754 #include <arpa/inet.h> | 13772 #include <arpa/inet.h> |
13755 EOF | 13773 EOF |
13756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13757 { (eval echo configure:13758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13775 { (eval echo configure:13776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13759 if test -z "$ac_err"; then | 13777 if test -z "$ac_err"; then |
13760 rm -rf conftest* | 13778 rm -rf conftest* |
13761 eval "ac_cv_header_$ac_safe=yes" | 13779 eval "ac_cv_header_$ac_safe=yes" |
13762 else | 13780 else |
13777 #define HAVE_SOCKETS 1 | 13795 #define HAVE_SOCKETS 1 |
13778 EOF | 13796 EOF |
13779 } | 13797 } |
13780 | 13798 |
13781 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13799 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13782 echo "configure:13783: checking "for sun_len member in struct sockaddr_un"" >&5 | 13800 echo "configure:13801: checking "for sun_len member in struct sockaddr_un"" >&5 |
13783 cat > conftest.$ac_ext <<EOF | 13801 cat > conftest.$ac_ext <<EOF |
13784 #line 13785 "configure" | 13802 #line 13803 "configure" |
13785 #include "confdefs.h" | 13803 #include "confdefs.h" |
13786 | 13804 |
13787 #include <sys/types.h> | 13805 #include <sys/types.h> |
13788 #include <sys/socket.h> | 13806 #include <sys/socket.h> |
13789 #include <sys/un.h> | 13807 #include <sys/un.h> |
13790 | 13808 |
13791 int main() { | 13809 int main() { |
13792 static struct sockaddr_un x; x.sun_len = 1; | 13810 static struct sockaddr_un x; x.sun_len = 1; |
13793 ; return 0; } | 13811 ; return 0; } |
13794 EOF | 13812 EOF |
13795 if { (eval echo configure:13796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13813 if { (eval echo configure:13814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13796 rm -rf conftest* | 13814 rm -rf conftest* |
13797 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13815 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13798 Defining HAVE_SOCKADDR_SUN_LEN | 13816 Defining HAVE_SOCKADDR_SUN_LEN |
13799 EOF | 13817 EOF |
13800 cat >> confdefs.h <<\EOF | 13818 cat >> confdefs.h <<\EOF |
13808 rm -rf conftest* | 13826 rm -rf conftest* |
13809 echo "$ac_t""no" 1>&6 | 13827 echo "$ac_t""no" 1>&6 |
13810 fi | 13828 fi |
13811 rm -f conftest* | 13829 rm -f conftest* |
13812 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13830 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13813 echo "configure:13814: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13831 echo "configure:13832: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13814 cat > conftest.$ac_ext <<EOF | 13832 cat > conftest.$ac_ext <<EOF |
13815 #line 13816 "configure" | 13833 #line 13834 "configure" |
13816 #include "confdefs.h" | 13834 #include "confdefs.h" |
13817 | 13835 |
13818 #include <sys/types.h> | 13836 #include <sys/types.h> |
13819 #include <netinet/in.h> | 13837 #include <netinet/in.h> |
13820 | 13838 |
13821 int main() { | 13839 int main() { |
13822 static struct ip_mreq x; | 13840 static struct ip_mreq x; |
13823 ; return 0; } | 13841 ; return 0; } |
13824 EOF | 13842 EOF |
13825 if { (eval echo configure:13826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13843 if { (eval echo configure:13844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13826 rm -rf conftest* | 13844 rm -rf conftest* |
13827 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13845 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13828 Defining HAVE_MULTICAST | 13846 Defining HAVE_MULTICAST |
13829 EOF | 13847 EOF |
13830 cat >> confdefs.h <<\EOF | 13848 cat >> confdefs.h <<\EOF |
13851 echo "$ac_t""no" 1>&6 | 13869 echo "$ac_t""no" 1>&6 |
13852 fi | 13870 fi |
13853 | 13871 |
13854 | 13872 |
13855 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13873 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13856 echo "configure:13857: checking for msgget" >&5 | 13874 echo "configure:13875: checking for msgget" >&5 |
13857 | 13875 |
13858 cat > conftest.$ac_ext <<EOF | 13876 cat > conftest.$ac_ext <<EOF |
13859 #line 13860 "configure" | 13877 #line 13878 "configure" |
13860 #include "confdefs.h" | 13878 #include "confdefs.h" |
13861 /* System header to define __stub macros and hopefully few prototypes, | 13879 /* System header to define __stub macros and hopefully few prototypes, |
13862 which can conflict with char msgget(); below. */ | 13880 which can conflict with char msgget(); below. */ |
13863 #include <assert.h> | 13881 #include <assert.h> |
13864 /* Override any gcc2 internal prototype to avoid an error. */ | 13882 /* Override any gcc2 internal prototype to avoid an error. */ |
13877 msgget(); | 13895 msgget(); |
13878 #endif | 13896 #endif |
13879 | 13897 |
13880 ; return 0; } | 13898 ; return 0; } |
13881 EOF | 13899 EOF |
13882 if { (eval echo configure:13883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13900 if { (eval echo configure:13901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13883 rm -rf conftest* | 13901 rm -rf conftest* |
13884 eval "ac_cv_func_msgget=yes" | 13902 eval "ac_cv_func_msgget=yes" |
13885 else | 13903 else |
13886 echo "configure: failed program was:" >&5 | 13904 echo "configure: failed program was:" >&5 |
13887 cat conftest.$ac_ext >&5 | 13905 cat conftest.$ac_ext >&5 |
13892 | 13910 |
13893 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13911 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13894 echo "$ac_t""yes" 1>&6 | 13912 echo "$ac_t""yes" 1>&6 |
13895 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13913 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13896 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13914 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13897 echo "configure:13898: checking for sys/ipc.h" >&5 | 13915 echo "configure:13916: checking for sys/ipc.h" >&5 |
13898 | 13916 |
13899 cat > conftest.$ac_ext <<EOF | 13917 cat > conftest.$ac_ext <<EOF |
13900 #line 13901 "configure" | 13918 #line 13919 "configure" |
13901 #include "confdefs.h" | 13919 #include "confdefs.h" |
13902 #include <sys/ipc.h> | 13920 #include <sys/ipc.h> |
13903 EOF | 13921 EOF |
13904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13905 { (eval echo configure:13906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13923 { (eval echo configure:13924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13907 if test -z "$ac_err"; then | 13925 if test -z "$ac_err"; then |
13908 rm -rf conftest* | 13926 rm -rf conftest* |
13909 eval "ac_cv_header_$ac_safe=yes" | 13927 eval "ac_cv_header_$ac_safe=yes" |
13910 else | 13928 else |
13917 rm -f conftest* | 13935 rm -f conftest* |
13918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13936 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13919 echo "$ac_t""yes" 1>&6 | 13937 echo "$ac_t""yes" 1>&6 |
13920 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13938 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13921 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13939 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13922 echo "configure:13923: checking for sys/msg.h" >&5 | 13940 echo "configure:13941: checking for sys/msg.h" >&5 |
13923 | 13941 |
13924 cat > conftest.$ac_ext <<EOF | 13942 cat > conftest.$ac_ext <<EOF |
13925 #line 13926 "configure" | 13943 #line 13944 "configure" |
13926 #include "confdefs.h" | 13944 #include "confdefs.h" |
13927 #include <sys/msg.h> | 13945 #include <sys/msg.h> |
13928 EOF | 13946 EOF |
13929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13930 { (eval echo configure:13931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13948 { (eval echo configure:13949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13932 if test -z "$ac_err"; then | 13950 if test -z "$ac_err"; then |
13933 rm -rf conftest* | 13951 rm -rf conftest* |
13934 eval "ac_cv_header_$ac_safe=yes" | 13952 eval "ac_cv_header_$ac_safe=yes" |
13935 else | 13953 else |
13963 fi | 13981 fi |
13964 | 13982 |
13965 | 13983 |
13966 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13984 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13967 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13985 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13968 echo "configure:13969: checking for dirent.h" >&5 | 13986 echo "configure:13987: checking for dirent.h" >&5 |
13969 | 13987 |
13970 cat > conftest.$ac_ext <<EOF | 13988 cat > conftest.$ac_ext <<EOF |
13971 #line 13972 "configure" | 13989 #line 13990 "configure" |
13972 #include "confdefs.h" | 13990 #include "confdefs.h" |
13973 #include <dirent.h> | 13991 #include <dirent.h> |
13974 EOF | 13992 EOF |
13975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13976 { (eval echo configure:13977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13994 { (eval echo configure:13995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13978 if test -z "$ac_err"; then | 13996 if test -z "$ac_err"; then |
13979 rm -rf conftest* | 13997 rm -rf conftest* |
13980 eval "ac_cv_header_$ac_safe=yes" | 13998 eval "ac_cv_header_$ac_safe=yes" |
13981 else | 13999 else |
13998 | 14016 |
13999 else | 14017 else |
14000 echo "$ac_t""no" 1>&6 | 14018 echo "$ac_t""no" 1>&6 |
14001 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14019 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14002 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14020 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14003 echo "configure:14004: checking for sys/dir.h" >&5 | 14021 echo "configure:14022: checking for sys/dir.h" >&5 |
14004 | 14022 |
14005 cat > conftest.$ac_ext <<EOF | 14023 cat > conftest.$ac_ext <<EOF |
14006 #line 14007 "configure" | 14024 #line 14025 "configure" |
14007 #include "confdefs.h" | 14025 #include "confdefs.h" |
14008 #include <sys/dir.h> | 14026 #include <sys/dir.h> |
14009 EOF | 14027 EOF |
14010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14011 { (eval echo configure:14012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14029 { (eval echo configure:14030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14013 if test -z "$ac_err"; then | 14031 if test -z "$ac_err"; then |
14014 rm -rf conftest* | 14032 rm -rf conftest* |
14015 eval "ac_cv_header_$ac_safe=yes" | 14033 eval "ac_cv_header_$ac_safe=yes" |
14016 else | 14034 else |
14039 fi | 14057 fi |
14040 | 14058 |
14041 | 14059 |
14042 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14060 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14043 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14061 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14044 echo "configure:14045: checking for nlist.h" >&5 | 14062 echo "configure:14063: checking for nlist.h" >&5 |
14045 | 14063 |
14046 cat > conftest.$ac_ext <<EOF | 14064 cat > conftest.$ac_ext <<EOF |
14047 #line 14048 "configure" | 14065 #line 14066 "configure" |
14048 #include "confdefs.h" | 14066 #include "confdefs.h" |
14049 #include <nlist.h> | 14067 #include <nlist.h> |
14050 EOF | 14068 EOF |
14051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14052 { (eval echo configure:14053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14070 { (eval echo configure:14071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14054 if test -z "$ac_err"; then | 14072 if test -z "$ac_err"; then |
14055 rm -rf conftest* | 14073 rm -rf conftest* |
14056 eval "ac_cv_header_$ac_safe=yes" | 14074 eval "ac_cv_header_$ac_safe=yes" |
14057 else | 14075 else |
14077 fi | 14095 fi |
14078 | 14096 |
14079 | 14097 |
14080 | 14098 |
14081 echo "checking "for sound support"" 1>&6 | 14099 echo "checking "for sound support"" 1>&6 |
14082 echo "configure:14083: checking "for sound support"" >&5 | 14100 echo "configure:14101: checking "for sound support"" >&5 |
14083 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14101 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14084 | 14102 |
14085 if test "$with_native_sound" != "no"; then | 14103 if test "$with_native_sound" != "no"; then |
14086 if test -n "$native_sound_lib"; then | 14104 if test -n "$native_sound_lib"; then |
14087 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14105 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14088 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14106 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14089 echo "configure:14090: checking for multimedia/audio_device.h" >&5 | 14107 echo "configure:14108: checking for multimedia/audio_device.h" >&5 |
14090 | 14108 |
14091 cat > conftest.$ac_ext <<EOF | 14109 cat > conftest.$ac_ext <<EOF |
14092 #line 14093 "configure" | 14110 #line 14111 "configure" |
14093 #include "confdefs.h" | 14111 #include "confdefs.h" |
14094 #include <multimedia/audio_device.h> | 14112 #include <multimedia/audio_device.h> |
14095 EOF | 14113 EOF |
14096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14097 { (eval echo configure:14098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14115 { (eval echo configure:14116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14099 if test -z "$ac_err"; then | 14117 if test -z "$ac_err"; then |
14100 rm -rf conftest* | 14118 rm -rf conftest* |
14101 eval "ac_cv_header_$ac_safe=yes" | 14119 eval "ac_cv_header_$ac_safe=yes" |
14102 else | 14120 else |
14148 case "$canonical" in | 14166 case "$canonical" in |
14149 *-sgi-* ) | 14167 *-sgi-* ) |
14150 if test -z "$native_sound_lib"; then | 14168 if test -z "$native_sound_lib"; then |
14151 | 14169 |
14152 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14170 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14153 echo "configure:14154: checking for ALopenport in -laudio" >&5 | 14171 echo "configure:14172: checking for ALopenport in -laudio" >&5 |
14154 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14172 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14155 | 14173 |
14156 xe_check_libs=" -laudio " | 14174 xe_check_libs=" -laudio " |
14157 cat > conftest.$ac_ext <<EOF | 14175 cat > conftest.$ac_ext <<EOF |
14158 #line 14159 "configure" | 14176 #line 14177 "configure" |
14159 #include "confdefs.h" | 14177 #include "confdefs.h" |
14160 /* Override any gcc2 internal prototype to avoid an error. */ | 14178 /* Override any gcc2 internal prototype to avoid an error. */ |
14161 /* We use char because int might match the return type of a gcc2 | 14179 /* We use char because int might match the return type of a gcc2 |
14162 builtin and then its argument prototype would still apply. */ | 14180 builtin and then its argument prototype would still apply. */ |
14163 char ALopenport(); | 14181 char ALopenport(); |
14164 | 14182 |
14165 int main() { | 14183 int main() { |
14166 ALopenport() | 14184 ALopenport() |
14167 ; return 0; } | 14185 ; return 0; } |
14168 EOF | 14186 EOF |
14169 if { (eval echo configure:14170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14187 if { (eval echo configure:14188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14170 rm -rf conftest* | 14188 rm -rf conftest* |
14171 eval "ac_cv_lib_$ac_lib_var=yes" | 14189 eval "ac_cv_lib_$ac_lib_var=yes" |
14172 else | 14190 else |
14173 echo "configure: failed program was:" >&5 | 14191 echo "configure: failed program was:" >&5 |
14174 cat conftest.$ac_ext >&5 | 14192 cat conftest.$ac_ext >&5 |
14195 fi ;; | 14213 fi ;; |
14196 hppa*-hp-hpux* ) | 14214 hppa*-hp-hpux* ) |
14197 if test -z "$native_sound_lib"; then | 14215 if test -z "$native_sound_lib"; then |
14198 | 14216 |
14199 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14217 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14200 echo "configure:14201: checking for AOpenAudio in -lAlib" >&5 | 14218 echo "configure:14219: checking for AOpenAudio in -lAlib" >&5 |
14201 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14219 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14202 | 14220 |
14203 xe_check_libs=" -lAlib " | 14221 xe_check_libs=" -lAlib " |
14204 cat > conftest.$ac_ext <<EOF | 14222 cat > conftest.$ac_ext <<EOF |
14205 #line 14206 "configure" | 14223 #line 14224 "configure" |
14206 #include "confdefs.h" | 14224 #include "confdefs.h" |
14207 /* Override any gcc2 internal prototype to avoid an error. */ | 14225 /* Override any gcc2 internal prototype to avoid an error. */ |
14208 /* We use char because int might match the return type of a gcc2 | 14226 /* We use char because int might match the return type of a gcc2 |
14209 builtin and then its argument prototype would still apply. */ | 14227 builtin and then its argument prototype would still apply. */ |
14210 char AOpenAudio(); | 14228 char AOpenAudio(); |
14211 | 14229 |
14212 int main() { | 14230 int main() { |
14213 AOpenAudio() | 14231 AOpenAudio() |
14214 ; return 0; } | 14232 ; return 0; } |
14215 EOF | 14233 EOF |
14216 if { (eval echo configure:14217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14234 if { (eval echo configure:14235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14217 rm -rf conftest* | 14235 rm -rf conftest* |
14218 eval "ac_cv_lib_$ac_lib_var=yes" | 14236 eval "ac_cv_lib_$ac_lib_var=yes" |
14219 else | 14237 else |
14220 echo "configure: failed program was:" >&5 | 14238 echo "configure: failed program was:" >&5 |
14221 cat conftest.$ac_ext >&5 | 14239 cat conftest.$ac_ext >&5 |
14259 | 14277 |
14260 if test -z "$sound_found"; then | 14278 if test -z "$sound_found"; then |
14261 for dir in "machine" "sys" "linux"; do | 14279 for dir in "machine" "sys" "linux"; do |
14262 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14280 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14263 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14281 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14264 echo "configure:14265: checking for ${dir}/soundcard.h" >&5 | 14282 echo "configure:14283: checking for ${dir}/soundcard.h" >&5 |
14265 | 14283 |
14266 cat > conftest.$ac_ext <<EOF | 14284 cat > conftest.$ac_ext <<EOF |
14267 #line 14268 "configure" | 14285 #line 14286 "configure" |
14268 #include "confdefs.h" | 14286 #include "confdefs.h" |
14269 #include <${dir}/soundcard.h> | 14287 #include <${dir}/soundcard.h> |
14270 EOF | 14288 EOF |
14271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14272 { (eval echo configure:14273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14290 { (eval echo configure:14291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14274 if test -z "$ac_err"; then | 14292 if test -z "$ac_err"; then |
14275 rm -rf conftest* | 14293 rm -rf conftest* |
14276 eval "ac_cv_header_$ac_safe=yes" | 14294 eval "ac_cv_header_$ac_safe=yes" |
14277 else | 14295 else |
14321 fi | 14339 fi |
14322 | 14340 |
14323 if test "$with_nas_sound" != "no"; then | 14341 if test "$with_nas_sound" != "no"; then |
14324 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14342 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14325 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14343 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14326 echo "configure:14327: checking for audio/audiolib.h" >&5 | 14344 echo "configure:14345: checking for audio/audiolib.h" >&5 |
14327 | 14345 |
14328 cat > conftest.$ac_ext <<EOF | 14346 cat > conftest.$ac_ext <<EOF |
14329 #line 14330 "configure" | 14347 #line 14348 "configure" |
14330 #include "confdefs.h" | 14348 #include "confdefs.h" |
14331 #include <audio/audiolib.h> | 14349 #include <audio/audiolib.h> |
14332 EOF | 14350 EOF |
14333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14334 { (eval echo configure:14335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14352 { (eval echo configure:14353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14336 if test -z "$ac_err"; then | 14354 if test -z "$ac_err"; then |
14337 rm -rf conftest* | 14355 rm -rf conftest* |
14338 eval "ac_cv_header_$ac_safe=yes" | 14356 eval "ac_cv_header_$ac_safe=yes" |
14339 else | 14357 else |
14347 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14365 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14348 echo "$ac_t""yes" 1>&6 | 14366 echo "$ac_t""yes" 1>&6 |
14349 | 14367 |
14350 | 14368 |
14351 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14369 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14352 echo "configure:14353: checking for AuOpenServer in -laudio" >&5 | 14370 echo "configure:14371: checking for AuOpenServer in -laudio" >&5 |
14353 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14371 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14354 | 14372 |
14355 xe_check_libs=" -laudio " | 14373 xe_check_libs=" -laudio " |
14356 cat > conftest.$ac_ext <<EOF | 14374 cat > conftest.$ac_ext <<EOF |
14357 #line 14358 "configure" | 14375 #line 14376 "configure" |
14358 #include "confdefs.h" | 14376 #include "confdefs.h" |
14359 /* Override any gcc2 internal prototype to avoid an error. */ | 14377 /* Override any gcc2 internal prototype to avoid an error. */ |
14360 /* We use char because int might match the return type of a gcc2 | 14378 /* We use char because int might match the return type of a gcc2 |
14361 builtin and then its argument prototype would still apply. */ | 14379 builtin and then its argument prototype would still apply. */ |
14362 char AuOpenServer(); | 14380 char AuOpenServer(); |
14363 | 14381 |
14364 int main() { | 14382 int main() { |
14365 AuOpenServer() | 14383 AuOpenServer() |
14366 ; return 0; } | 14384 ; return 0; } |
14367 EOF | 14385 EOF |
14368 if { (eval echo configure:14369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14386 if { (eval echo configure:14387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14369 rm -rf conftest* | 14387 rm -rf conftest* |
14370 eval "ac_cv_lib_$ac_lib_var=yes" | 14388 eval "ac_cv_lib_$ac_lib_var=yes" |
14371 else | 14389 else |
14372 echo "configure: failed program was:" >&5 | 14390 echo "configure: failed program was:" >&5 |
14373 cat conftest.$ac_ext >&5 | 14391 cat conftest.$ac_ext >&5 |
14402 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14420 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14403 echo " xemacs will be linked with \"nas.o\"" | 14421 echo " xemacs will be linked with \"nas.o\"" |
14404 fi | 14422 fi |
14405 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14423 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14406 cat > conftest.$ac_ext <<EOF | 14424 cat > conftest.$ac_ext <<EOF |
14407 #line 14408 "configure" | 14425 #line 14426 "configure" |
14408 #include "confdefs.h" | 14426 #include "confdefs.h" |
14409 #include <audio/Xtutil.h> | 14427 #include <audio/Xtutil.h> |
14410 EOF | 14428 EOF |
14411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14412 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14430 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14433 | 14451 |
14434 if test "$with_esd_sound" != "no"; then | 14452 if test "$with_esd_sound" != "no"; then |
14435 # Extract the first word of "esd-config", so it can be a program name with args. | 14453 # Extract the first word of "esd-config", so it can be a program name with args. |
14436 set dummy esd-config; ac_word=$2 | 14454 set dummy esd-config; ac_word=$2 |
14437 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14455 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14438 echo "configure:14439: checking for $ac_word" >&5 | 14456 echo "configure:14457: checking for $ac_word" >&5 |
14439 | 14457 |
14440 if test -n "$have_esd_config"; then | 14458 if test -n "$have_esd_config"; then |
14441 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14459 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14442 else | 14460 else |
14443 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14461 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14462 if test "$have_esd_config" = "yes"; then | 14480 if test "$have_esd_config" = "yes"; then |
14463 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14481 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14464 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 | 14482 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 |
14465 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14483 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14466 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14484 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14467 echo "configure:14468: checking for esd_play_stream" >&5 | 14485 echo "configure:14486: checking for esd_play_stream" >&5 |
14468 | 14486 |
14469 cat > conftest.$ac_ext <<EOF | 14487 cat > conftest.$ac_ext <<EOF |
14470 #line 14471 "configure" | 14488 #line 14489 "configure" |
14471 #include "confdefs.h" | 14489 #include "confdefs.h" |
14472 /* System header to define __stub macros and hopefully few prototypes, | 14490 /* System header to define __stub macros and hopefully few prototypes, |
14473 which can conflict with char esd_play_stream(); below. */ | 14491 which can conflict with char esd_play_stream(); below. */ |
14474 #include <assert.h> | 14492 #include <assert.h> |
14475 /* Override any gcc2 internal prototype to avoid an error. */ | 14493 /* Override any gcc2 internal prototype to avoid an error. */ |
14488 esd_play_stream(); | 14506 esd_play_stream(); |
14489 #endif | 14507 #endif |
14490 | 14508 |
14491 ; return 0; } | 14509 ; return 0; } |
14492 EOF | 14510 EOF |
14493 if { (eval echo configure:14494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14511 if { (eval echo configure:14512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14494 rm -rf conftest* | 14512 rm -rf conftest* |
14495 eval "ac_cv_func_esd_play_stream=yes" | 14513 eval "ac_cv_func_esd_play_stream=yes" |
14496 else | 14514 else |
14497 echo "configure: failed program was:" >&5 | 14515 echo "configure: failed program was:" >&5 |
14498 cat conftest.$ac_ext >&5 | 14516 cat conftest.$ac_ext >&5 |
14539 | 14557 |
14540 test -z "$with_tty" && with_tty=yes | 14558 test -z "$with_tty" && with_tty=yes |
14541 | 14559 |
14542 if test "$with_tty" = "yes" ; then | 14560 if test "$with_tty" = "yes" ; then |
14543 echo "checking for TTY-related features" 1>&6 | 14561 echo "checking for TTY-related features" 1>&6 |
14544 echo "configure:14545: checking for TTY-related features" >&5 | 14562 echo "configure:14563: checking for TTY-related features" >&5 |
14545 { test "$extra_verbose" = "yes" && cat << \EOF | 14563 { test "$extra_verbose" = "yes" && cat << \EOF |
14546 Defining HAVE_TTY | 14564 Defining HAVE_TTY |
14547 EOF | 14565 EOF |
14548 cat >> confdefs.h <<\EOF | 14566 cat >> confdefs.h <<\EOF |
14549 #define HAVE_TTY 1 | 14567 #define HAVE_TTY 1 |
14552 | 14570 |
14553 | 14571 |
14554 if test -z "$with_ncurses"; then | 14572 if test -z "$with_ncurses"; then |
14555 | 14573 |
14556 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14574 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14557 echo "configure:14558: checking for tgetent in -lncurses" >&5 | 14575 echo "configure:14576: checking for tgetent in -lncurses" >&5 |
14558 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14576 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14559 | 14577 |
14560 xe_check_libs=" -lncurses " | 14578 xe_check_libs=" -lncurses " |
14561 cat > conftest.$ac_ext <<EOF | 14579 cat > conftest.$ac_ext <<EOF |
14562 #line 14563 "configure" | 14580 #line 14581 "configure" |
14563 #include "confdefs.h" | 14581 #include "confdefs.h" |
14564 /* Override any gcc2 internal prototype to avoid an error. */ | 14582 /* Override any gcc2 internal prototype to avoid an error. */ |
14565 /* We use char because int might match the return type of a gcc2 | 14583 /* We use char because int might match the return type of a gcc2 |
14566 builtin and then its argument prototype would still apply. */ | 14584 builtin and then its argument prototype would still apply. */ |
14567 char tgetent(); | 14585 char tgetent(); |
14568 | 14586 |
14569 int main() { | 14587 int main() { |
14570 tgetent() | 14588 tgetent() |
14571 ; return 0; } | 14589 ; return 0; } |
14572 EOF | 14590 EOF |
14573 if { (eval echo configure:14574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14591 if { (eval echo configure:14592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14574 rm -rf conftest* | 14592 rm -rf conftest* |
14575 eval "ac_cv_lib_$ac_lib_var=yes" | 14593 eval "ac_cv_lib_$ac_lib_var=yes" |
14576 else | 14594 else |
14577 echo "configure: failed program was:" >&5 | 14595 echo "configure: failed program was:" >&5 |
14578 cat conftest.$ac_ext >&5 | 14596 cat conftest.$ac_ext >&5 |
14601 EOF | 14619 EOF |
14602 } | 14620 } |
14603 | 14621 |
14604 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14622 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14605 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14623 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14606 echo "configure:14607: checking for ncurses/curses.h" >&5 | 14624 echo "configure:14625: checking for ncurses/curses.h" >&5 |
14607 | 14625 |
14608 cat > conftest.$ac_ext <<EOF | 14626 cat > conftest.$ac_ext <<EOF |
14609 #line 14610 "configure" | 14627 #line 14628 "configure" |
14610 #include "confdefs.h" | 14628 #include "confdefs.h" |
14611 #include <ncurses/curses.h> | 14629 #include <ncurses/curses.h> |
14612 EOF | 14630 EOF |
14613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14614 { (eval echo configure:14615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14632 { (eval echo configure:14633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14616 if test -z "$ac_err"; then | 14634 if test -z "$ac_err"; then |
14617 rm -rf conftest* | 14635 rm -rf conftest* |
14618 eval "ac_cv_header_$ac_safe=yes" | 14636 eval "ac_cv_header_$ac_safe=yes" |
14619 else | 14637 else |
14631 echo "$ac_t""no" 1>&6 | 14649 echo "$ac_t""no" 1>&6 |
14632 fi | 14650 fi |
14633 | 14651 |
14634 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14652 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14635 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14653 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14636 echo "configure:14637: checking for ncurses/term.h" >&5 | 14654 echo "configure:14655: checking for ncurses/term.h" >&5 |
14637 | 14655 |
14638 cat > conftest.$ac_ext <<EOF | 14656 cat > conftest.$ac_ext <<EOF |
14639 #line 14640 "configure" | 14657 #line 14658 "configure" |
14640 #include "confdefs.h" | 14658 #include "confdefs.h" |
14641 #include <ncurses/term.h> | 14659 #include <ncurses/term.h> |
14642 EOF | 14660 EOF |
14643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14644 { (eval echo configure:14645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14662 { (eval echo configure:14663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14646 if test -z "$ac_err"; then | 14664 if test -z "$ac_err"; then |
14647 rm -rf conftest* | 14665 rm -rf conftest* |
14648 eval "ac_cv_header_$ac_safe=yes" | 14666 eval "ac_cv_header_$ac_safe=yes" |
14649 else | 14667 else |
14669 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14687 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14670 save_c_switch_site="$c_switch_site" | 14688 save_c_switch_site="$c_switch_site" |
14671 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14689 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14672 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14690 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14673 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14691 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14674 echo "configure:14675: checking for ncurses/curses.h" >&5 | 14692 echo "configure:14693: checking for ncurses/curses.h" >&5 |
14675 | 14693 |
14676 cat > conftest.$ac_ext <<EOF | 14694 cat > conftest.$ac_ext <<EOF |
14677 #line 14678 "configure" | 14695 #line 14696 "configure" |
14678 #include "confdefs.h" | 14696 #include "confdefs.h" |
14679 #include <ncurses/curses.h> | 14697 #include <ncurses/curses.h> |
14680 EOF | 14698 EOF |
14681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14682 { (eval echo configure:14683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14700 { (eval echo configure:14701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14684 if test -z "$ac_err"; then | 14702 if test -z "$ac_err"; then |
14685 rm -rf conftest* | 14703 rm -rf conftest* |
14686 eval "ac_cv_header_$ac_safe=yes" | 14704 eval "ac_cv_header_$ac_safe=yes" |
14687 else | 14705 else |
14712 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14730 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14713 else | 14731 else |
14714 for lib in curses termlib termcap; do | 14732 for lib in curses termlib termcap; do |
14715 | 14733 |
14716 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14734 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14717 echo "configure:14718: checking for tgetent in -l$lib" >&5 | 14735 echo "configure:14736: checking for tgetent in -l$lib" >&5 |
14718 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14736 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14719 | 14737 |
14720 xe_check_libs=" -l$lib " | 14738 xe_check_libs=" -l$lib " |
14721 cat > conftest.$ac_ext <<EOF | 14739 cat > conftest.$ac_ext <<EOF |
14722 #line 14723 "configure" | 14740 #line 14741 "configure" |
14723 #include "confdefs.h" | 14741 #include "confdefs.h" |
14724 /* Override any gcc2 internal prototype to avoid an error. */ | 14742 /* Override any gcc2 internal prototype to avoid an error. */ |
14725 /* We use char because int might match the return type of a gcc2 | 14743 /* We use char because int might match the return type of a gcc2 |
14726 builtin and then its argument prototype would still apply. */ | 14744 builtin and then its argument prototype would still apply. */ |
14727 char tgetent(); | 14745 char tgetent(); |
14728 | 14746 |
14729 int main() { | 14747 int main() { |
14730 tgetent() | 14748 tgetent() |
14731 ; return 0; } | 14749 ; return 0; } |
14732 EOF | 14750 EOF |
14733 if { (eval echo configure:14734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14751 if { (eval echo configure:14752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14734 rm -rf conftest* | 14752 rm -rf conftest* |
14735 eval "ac_cv_lib_$ac_lib_var=yes" | 14753 eval "ac_cv_lib_$ac_lib_var=yes" |
14736 else | 14754 else |
14737 echo "configure: failed program was:" >&5 | 14755 echo "configure: failed program was:" >&5 |
14738 cat conftest.$ac_ext >&5 | 14756 cat conftest.$ac_ext >&5 |
14759 if test -n "$libs_termcap"; then | 14777 if test -n "$libs_termcap"; then |
14760 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14778 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14761 else | 14779 else |
14762 | 14780 |
14763 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14781 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14764 echo "configure:14765: checking for tgetent in -lcurses" >&5 | 14782 echo "configure:14783: checking for tgetent in -lcurses" >&5 |
14765 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14783 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14766 | 14784 |
14767 xe_check_libs=" -lcurses " | 14785 xe_check_libs=" -lcurses " |
14768 cat > conftest.$ac_ext <<EOF | 14786 cat > conftest.$ac_ext <<EOF |
14769 #line 14770 "configure" | 14787 #line 14788 "configure" |
14770 #include "confdefs.h" | 14788 #include "confdefs.h" |
14771 /* Override any gcc2 internal prototype to avoid an error. */ | 14789 /* Override any gcc2 internal prototype to avoid an error. */ |
14772 /* We use char because int might match the return type of a gcc2 | 14790 /* We use char because int might match the return type of a gcc2 |
14773 builtin and then its argument prototype would still apply. */ | 14791 builtin and then its argument prototype would still apply. */ |
14774 char tgetent(); | 14792 char tgetent(); |
14775 | 14793 |
14776 int main() { | 14794 int main() { |
14777 tgetent() | 14795 tgetent() |
14778 ; return 0; } | 14796 ; return 0; } |
14779 EOF | 14797 EOF |
14780 if { (eval echo configure:14781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14798 if { (eval echo configure:14799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14781 rm -rf conftest* | 14799 rm -rf conftest* |
14782 eval "ac_cv_lib_$ac_lib_var=yes" | 14800 eval "ac_cv_lib_$ac_lib_var=yes" |
14783 else | 14801 else |
14784 echo "configure: failed program was:" >&5 | 14802 echo "configure: failed program was:" >&5 |
14785 cat conftest.$ac_ext >&5 | 14803 cat conftest.$ac_ext >&5 |
14793 echo "$ac_t""yes" 1>&6 | 14811 echo "$ac_t""yes" 1>&6 |
14794 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14812 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14795 else | 14813 else |
14796 echo "$ac_t""no" 1>&6 | 14814 echo "$ac_t""no" 1>&6 |
14797 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14815 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14798 echo "configure:14799: checking for tgetent in -ltermcap" >&5 | 14816 echo "configure:14817: checking for tgetent in -ltermcap" >&5 |
14799 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14817 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14800 | 14818 |
14801 xe_check_libs=" -ltermcap " | 14819 xe_check_libs=" -ltermcap " |
14802 cat > conftest.$ac_ext <<EOF | 14820 cat > conftest.$ac_ext <<EOF |
14803 #line 14804 "configure" | 14821 #line 14822 "configure" |
14804 #include "confdefs.h" | 14822 #include "confdefs.h" |
14805 /* Override any gcc2 internal prototype to avoid an error. */ | 14823 /* Override any gcc2 internal prototype to avoid an error. */ |
14806 /* We use char because int might match the return type of a gcc2 | 14824 /* We use char because int might match the return type of a gcc2 |
14807 builtin and then its argument prototype would still apply. */ | 14825 builtin and then its argument prototype would still apply. */ |
14808 char tgetent(); | 14826 char tgetent(); |
14809 | 14827 |
14810 int main() { | 14828 int main() { |
14811 tgetent() | 14829 tgetent() |
14812 ; return 0; } | 14830 ; return 0; } |
14813 EOF | 14831 EOF |
14814 if { (eval echo configure:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14832 if { (eval echo configure:14833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14815 rm -rf conftest* | 14833 rm -rf conftest* |
14816 eval "ac_cv_lib_$ac_lib_var=yes" | 14834 eval "ac_cv_lib_$ac_lib_var=yes" |
14817 else | 14835 else |
14818 echo "configure: failed program was:" >&5 | 14836 echo "configure: failed program was:" >&5 |
14819 cat conftest.$ac_ext >&5 | 14837 cat conftest.$ac_ext >&5 |
14857 } | 14875 } |
14858 | 14876 |
14859 | 14877 |
14860 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14878 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14861 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14879 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14862 echo "configure:14863: checking for gpm.h" >&5 | 14880 echo "configure:14881: checking for gpm.h" >&5 |
14863 | 14881 |
14864 cat > conftest.$ac_ext <<EOF | 14882 cat > conftest.$ac_ext <<EOF |
14865 #line 14866 "configure" | 14883 #line 14884 "configure" |
14866 #include "confdefs.h" | 14884 #include "confdefs.h" |
14867 #include <gpm.h> | 14885 #include <gpm.h> |
14868 EOF | 14886 EOF |
14869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14870 { (eval echo configure:14871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14888 { (eval echo configure:14889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14872 if test -z "$ac_err"; then | 14890 if test -z "$ac_err"; then |
14873 rm -rf conftest* | 14891 rm -rf conftest* |
14874 eval "ac_cv_header_$ac_safe=yes" | 14892 eval "ac_cv_header_$ac_safe=yes" |
14875 else | 14893 else |
14888 with_gpm=no | 14906 with_gpm=no |
14889 fi | 14907 fi |
14890 } | 14908 } |
14891 test -z "$with_gpm" && { | 14909 test -z "$with_gpm" && { |
14892 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14910 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14893 echo "configure:14894: checking for Gpm_Open in -lgpm" >&5 | 14911 echo "configure:14912: checking for Gpm_Open in -lgpm" >&5 |
14894 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14912 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14895 | 14913 |
14896 xe_check_libs=" -lgpm " | 14914 xe_check_libs=" -lgpm " |
14897 cat > conftest.$ac_ext <<EOF | 14915 cat > conftest.$ac_ext <<EOF |
14898 #line 14899 "configure" | 14916 #line 14917 "configure" |
14899 #include "confdefs.h" | 14917 #include "confdefs.h" |
14900 /* Override any gcc2 internal prototype to avoid an error. */ | 14918 /* Override any gcc2 internal prototype to avoid an error. */ |
14901 /* We use char because int might match the return type of a gcc2 | 14919 /* We use char because int might match the return type of a gcc2 |
14902 builtin and then its argument prototype would still apply. */ | 14920 builtin and then its argument prototype would still apply. */ |
14903 char Gpm_Open(); | 14921 char Gpm_Open(); |
14904 | 14922 |
14905 int main() { | 14923 int main() { |
14906 Gpm_Open() | 14924 Gpm_Open() |
14907 ; return 0; } | 14925 ; return 0; } |
14908 EOF | 14926 EOF |
14909 if { (eval echo configure:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14927 if { (eval echo configure:14928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14910 rm -rf conftest* | 14928 rm -rf conftest* |
14911 eval "ac_cv_lib_$ac_lib_var=yes" | 14929 eval "ac_cv_lib_$ac_lib_var=yes" |
14912 else | 14930 else |
14913 echo "configure: failed program was:" >&5 | 14931 echo "configure: failed program was:" >&5 |
14914 cat conftest.$ac_ext >&5 | 14932 cat conftest.$ac_ext >&5 |
14947 done | 14965 done |
14948 fi | 14966 fi |
14949 | 14967 |
14950 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14968 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14951 != "no no no" && echo "checking for database support" 1>&6 | 14969 != "no no no" && echo "checking for database support" 1>&6 |
14952 echo "configure:14953: checking for database support" >&5 | 14970 echo "configure:14971: checking for database support" >&5 |
14953 | 14971 |
14954 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14972 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14955 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14973 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14956 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14974 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14957 echo "configure:14958: checking for ndbm.h" >&5 | 14975 echo "configure:14976: checking for ndbm.h" >&5 |
14958 | 14976 |
14959 cat > conftest.$ac_ext <<EOF | 14977 cat > conftest.$ac_ext <<EOF |
14960 #line 14961 "configure" | 14978 #line 14979 "configure" |
14961 #include "confdefs.h" | 14979 #include "confdefs.h" |
14962 #include <ndbm.h> | 14980 #include <ndbm.h> |
14963 EOF | 14981 EOF |
14964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14965 { (eval echo configure:14966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14983 { (eval echo configure:14984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14967 if test -z "$ac_err"; then | 14985 if test -z "$ac_err"; then |
14968 rm -rf conftest* | 14986 rm -rf conftest* |
14969 eval "ac_cv_header_$ac_safe=yes" | 14987 eval "ac_cv_header_$ac_safe=yes" |
14970 else | 14988 else |
14990 fi | 15008 fi |
14991 | 15009 |
14992 if test "$with_database_gdbm" != "no"; then | 15010 if test "$with_database_gdbm" != "no"; then |
14993 | 15011 |
14994 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15012 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14995 echo "configure:14996: checking for dbm_open in -lgdbm" >&5 | 15013 echo "configure:15014: checking for dbm_open in -lgdbm" >&5 |
14996 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15014 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14997 | 15015 |
14998 xe_check_libs=" -lgdbm " | 15016 xe_check_libs=" -lgdbm " |
14999 cat > conftest.$ac_ext <<EOF | 15017 cat > conftest.$ac_ext <<EOF |
15000 #line 15001 "configure" | 15018 #line 15019 "configure" |
15001 #include "confdefs.h" | 15019 #include "confdefs.h" |
15002 /* Override any gcc2 internal prototype to avoid an error. */ | 15020 /* Override any gcc2 internal prototype to avoid an error. */ |
15003 /* We use char because int might match the return type of a gcc2 | 15021 /* We use char because int might match the return type of a gcc2 |
15004 builtin and then its argument prototype would still apply. */ | 15022 builtin and then its argument prototype would still apply. */ |
15005 char dbm_open(); | 15023 char dbm_open(); |
15006 | 15024 |
15007 int main() { | 15025 int main() { |
15008 dbm_open() | 15026 dbm_open() |
15009 ; return 0; } | 15027 ; return 0; } |
15010 EOF | 15028 EOF |
15011 if { (eval echo configure:15012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15029 if { (eval echo configure:15030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15012 rm -rf conftest* | 15030 rm -rf conftest* |
15013 eval "ac_cv_lib_$ac_lib_var=yes" | 15031 eval "ac_cv_lib_$ac_lib_var=yes" |
15014 else | 15032 else |
15015 echo "configure: failed program was:" >&5 | 15033 echo "configure: failed program was:" >&5 |
15016 cat conftest.$ac_ext >&5 | 15034 cat conftest.$ac_ext >&5 |
15034 | 15052 |
15035 fi | 15053 fi |
15036 | 15054 |
15037 if test "$with_database_dbm" != "no"; then | 15055 if test "$with_database_dbm" != "no"; then |
15038 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15056 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15039 echo "configure:15040: checking for dbm_open" >&5 | 15057 echo "configure:15058: checking for dbm_open" >&5 |
15040 | 15058 |
15041 cat > conftest.$ac_ext <<EOF | 15059 cat > conftest.$ac_ext <<EOF |
15042 #line 15043 "configure" | 15060 #line 15061 "configure" |
15043 #include "confdefs.h" | 15061 #include "confdefs.h" |
15044 /* System header to define __stub macros and hopefully few prototypes, | 15062 /* System header to define __stub macros and hopefully few prototypes, |
15045 which can conflict with char dbm_open(); below. */ | 15063 which can conflict with char dbm_open(); below. */ |
15046 #include <assert.h> | 15064 #include <assert.h> |
15047 /* Override any gcc2 internal prototype to avoid an error. */ | 15065 /* Override any gcc2 internal prototype to avoid an error. */ |
15060 dbm_open(); | 15078 dbm_open(); |
15061 #endif | 15079 #endif |
15062 | 15080 |
15063 ; return 0; } | 15081 ; return 0; } |
15064 EOF | 15082 EOF |
15065 if { (eval echo configure:15066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15083 if { (eval echo configure:15084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15066 rm -rf conftest* | 15084 rm -rf conftest* |
15067 eval "ac_cv_func_dbm_open=yes" | 15085 eval "ac_cv_func_dbm_open=yes" |
15068 else | 15086 else |
15069 echo "configure: failed program was:" >&5 | 15087 echo "configure: failed program was:" >&5 |
15070 cat conftest.$ac_ext >&5 | 15088 cat conftest.$ac_ext >&5 |
15079 else | 15097 else |
15080 echo "$ac_t""no" 1>&6 | 15098 echo "$ac_t""no" 1>&6 |
15081 | 15099 |
15082 | 15100 |
15083 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15101 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15084 echo "configure:15085: checking for dbm_open in -ldbm" >&5 | 15102 echo "configure:15103: checking for dbm_open in -ldbm" >&5 |
15085 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15103 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15086 | 15104 |
15087 xe_check_libs=" -ldbm " | 15105 xe_check_libs=" -ldbm " |
15088 cat > conftest.$ac_ext <<EOF | 15106 cat > conftest.$ac_ext <<EOF |
15089 #line 15090 "configure" | 15107 #line 15108 "configure" |
15090 #include "confdefs.h" | 15108 #include "confdefs.h" |
15091 /* Override any gcc2 internal prototype to avoid an error. */ | 15109 /* Override any gcc2 internal prototype to avoid an error. */ |
15092 /* We use char because int might match the return type of a gcc2 | 15110 /* We use char because int might match the return type of a gcc2 |
15093 builtin and then its argument prototype would still apply. */ | 15111 builtin and then its argument prototype would still apply. */ |
15094 char dbm_open(); | 15112 char dbm_open(); |
15095 | 15113 |
15096 int main() { | 15114 int main() { |
15097 dbm_open() | 15115 dbm_open() |
15098 ; return 0; } | 15116 ; return 0; } |
15099 EOF | 15117 EOF |
15100 if { (eval echo configure:15101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15118 if { (eval echo configure:15119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15101 rm -rf conftest* | 15119 rm -rf conftest* |
15102 eval "ac_cv_lib_$ac_lib_var=yes" | 15120 eval "ac_cv_lib_$ac_lib_var=yes" |
15103 else | 15121 else |
15104 echo "configure: failed program was:" >&5 | 15122 echo "configure: failed program was:" >&5 |
15105 cat conftest.$ac_ext >&5 | 15123 cat conftest.$ac_ext >&5 |
15136 } | 15154 } |
15137 | 15155 |
15138 | 15156 |
15139 if test "$with_database_berkdb" != "no"; then | 15157 if test "$with_database_berkdb" != "no"; then |
15140 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15158 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15141 echo "configure:15142: checking for Berkeley db.h" >&5 | 15159 echo "configure:15160: checking for Berkeley db.h" >&5 |
15142 for header in "db/db.h" "db.h"; do | 15160 for header in "db/db.h" "db.h"; do |
15143 cat > conftest.$ac_ext <<EOF | 15161 cat > conftest.$ac_ext <<EOF |
15144 #line 15145 "configure" | 15162 #line 15163 "configure" |
15145 #include "confdefs.h" | 15163 #include "confdefs.h" |
15146 | 15164 |
15147 #include <stdlib.h> | 15165 #include <stdlib.h> |
15148 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15166 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15149 #ifdef HAVE_INTTYPES_H | 15167 #ifdef HAVE_INTTYPES_H |
15161 | 15179 |
15162 int main() { | 15180 int main() { |
15163 | 15181 |
15164 ; return 0; } | 15182 ; return 0; } |
15165 EOF | 15183 EOF |
15166 if { (eval echo configure:15167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15184 if { (eval echo configure:15185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15167 rm -rf conftest* | 15185 rm -rf conftest* |
15168 db_h_file="$header"; break | 15186 db_h_file="$header"; break |
15169 else | 15187 else |
15170 echo "configure: failed program was:" >&5 | 15188 echo "configure: failed program was:" >&5 |
15171 cat conftest.$ac_ext >&5 | 15189 cat conftest.$ac_ext >&5 |
15177 else echo "$ac_t""$db_h_file" 1>&6 | 15195 else echo "$ac_t""$db_h_file" 1>&6 |
15178 fi | 15196 fi |
15179 | 15197 |
15180 if test "$with_database_berkdb" != "no"; then | 15198 if test "$with_database_berkdb" != "no"; then |
15181 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15199 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15182 echo "configure:15183: checking for Berkeley DB version" >&5 | 15200 echo "configure:15201: checking for Berkeley DB version" >&5 |
15183 cat > conftest.$ac_ext <<EOF | 15201 cat > conftest.$ac_ext <<EOF |
15184 #line 15185 "configure" | 15202 #line 15203 "configure" |
15185 #include "confdefs.h" | 15203 #include "confdefs.h" |
15186 #include <$db_h_file> | 15204 #include <$db_h_file> |
15187 #if DB_VERSION_MAJOR > 1 | 15205 #if DB_VERSION_MAJOR > 1 |
15188 yes | 15206 yes |
15189 #endif | 15207 #endif |
15191 EOF | 15209 EOF |
15192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15193 egrep "yes" >/dev/null 2>&1; then | 15211 egrep "yes" >/dev/null 2>&1; then |
15194 rm -rf conftest* | 15212 rm -rf conftest* |
15195 cat > conftest.$ac_ext <<EOF | 15213 cat > conftest.$ac_ext <<EOF |
15196 #line 15197 "configure" | 15214 #line 15215 "configure" |
15197 #include "confdefs.h" | 15215 #include "confdefs.h" |
15198 #include <$db_h_file> | 15216 #include <$db_h_file> |
15199 #if DB_VERSION_MAJOR > 2 | 15217 #if DB_VERSION_MAJOR > 2 |
15200 yes | 15218 yes |
15201 #endif | 15219 #endif |
15203 EOF | 15221 EOF |
15204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15205 egrep "yes" >/dev/null 2>&1; then | 15223 egrep "yes" >/dev/null 2>&1; then |
15206 rm -rf conftest* | 15224 rm -rf conftest* |
15207 cat > conftest.$ac_ext <<EOF | 15225 cat > conftest.$ac_ext <<EOF |
15208 #line 15209 "configure" | 15226 #line 15227 "configure" |
15209 #include "confdefs.h" | 15227 #include "confdefs.h" |
15210 #include <$db_h_file> | 15228 #include <$db_h_file> |
15211 #if DB_VERSION_MAJOR > 3 | 15229 #if DB_VERSION_MAJOR > 3 |
15212 yes | 15230 yes |
15213 #endif | 15231 #endif |
15237 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15255 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15238 fi | 15256 fi |
15239 rm -f conftest* | 15257 rm -f conftest* |
15240 | 15258 |
15241 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15259 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15242 echo "configure:15243: checking for $dbfunc" >&5 | 15260 echo "configure:15261: checking for $dbfunc" >&5 |
15243 | 15261 |
15244 cat > conftest.$ac_ext <<EOF | 15262 cat > conftest.$ac_ext <<EOF |
15245 #line 15246 "configure" | 15263 #line 15264 "configure" |
15246 #include "confdefs.h" | 15264 #include "confdefs.h" |
15247 /* System header to define __stub macros and hopefully few prototypes, | 15265 /* System header to define __stub macros and hopefully few prototypes, |
15248 which can conflict with char $dbfunc(); below. */ | 15266 which can conflict with char $dbfunc(); below. */ |
15249 #include <assert.h> | 15267 #include <assert.h> |
15250 /* Override any gcc2 internal prototype to avoid an error. */ | 15268 /* Override any gcc2 internal prototype to avoid an error. */ |
15263 $dbfunc(); | 15281 $dbfunc(); |
15264 #endif | 15282 #endif |
15265 | 15283 |
15266 ; return 0; } | 15284 ; return 0; } |
15267 EOF | 15285 EOF |
15268 if { (eval echo configure:15269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15286 if { (eval echo configure:15287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15269 rm -rf conftest* | 15287 rm -rf conftest* |
15270 eval "ac_cv_func_$dbfunc=yes" | 15288 eval "ac_cv_func_$dbfunc=yes" |
15271 else | 15289 else |
15272 echo "configure: failed program was:" >&5 | 15290 echo "configure: failed program was:" >&5 |
15273 cat conftest.$ac_ext >&5 | 15291 cat conftest.$ac_ext >&5 |
15282 else | 15300 else |
15283 echo "$ac_t""no" 1>&6 | 15301 echo "$ac_t""no" 1>&6 |
15284 | 15302 |
15285 | 15303 |
15286 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15304 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15287 echo "configure:15288: checking for $dbfunc in -ldb" >&5 | 15305 echo "configure:15306: checking for $dbfunc in -ldb" >&5 |
15288 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15306 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15289 | 15307 |
15290 xe_check_libs=" -ldb " | 15308 xe_check_libs=" -ldb " |
15291 cat > conftest.$ac_ext <<EOF | 15309 cat > conftest.$ac_ext <<EOF |
15292 #line 15293 "configure" | 15310 #line 15311 "configure" |
15293 #include "confdefs.h" | 15311 #include "confdefs.h" |
15294 /* Override any gcc2 internal prototype to avoid an error. */ | 15312 /* Override any gcc2 internal prototype to avoid an error. */ |
15295 /* We use char because int might match the return type of a gcc2 | 15313 /* We use char because int might match the return type of a gcc2 |
15296 builtin and then its argument prototype would still apply. */ | 15314 builtin and then its argument prototype would still apply. */ |
15297 char $dbfunc(); | 15315 char $dbfunc(); |
15298 | 15316 |
15299 int main() { | 15317 int main() { |
15300 $dbfunc() | 15318 $dbfunc() |
15301 ; return 0; } | 15319 ; return 0; } |
15302 EOF | 15320 EOF |
15303 if { (eval echo configure:15304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15321 if { (eval echo configure:15322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15304 rm -rf conftest* | 15322 rm -rf conftest* |
15305 eval "ac_cv_lib_$ac_lib_var=yes" | 15323 eval "ac_cv_lib_$ac_lib_var=yes" |
15306 else | 15324 else |
15307 echo "configure: failed program was:" >&5 | 15325 echo "configure: failed program was:" >&5 |
15308 cat conftest.$ac_ext >&5 | 15326 cat conftest.$ac_ext >&5 |
15332 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15350 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15333 rm -f $tempcname | 15351 rm -f $tempcname |
15334 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15352 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15335 | 15353 |
15336 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15354 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15337 echo "configure:15338: checking for $dbfunc in -ldb" >&5 | 15355 echo "configure:15356: checking for $dbfunc in -ldb" >&5 |
15338 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15356 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15339 | 15357 |
15340 xe_check_libs=" -ldb " | 15358 xe_check_libs=" -ldb " |
15341 cat > conftest.$ac_ext <<EOF | 15359 cat > conftest.$ac_ext <<EOF |
15342 #line 15343 "configure" | 15360 #line 15361 "configure" |
15343 #include "confdefs.h" | 15361 #include "confdefs.h" |
15344 /* Override any gcc2 internal prototype to avoid an error. */ | 15362 /* Override any gcc2 internal prototype to avoid an error. */ |
15345 /* We use char because int might match the return type of a gcc2 | 15363 /* We use char because int might match the return type of a gcc2 |
15346 builtin and then its argument prototype would still apply. */ | 15364 builtin and then its argument prototype would still apply. */ |
15347 char $dbfunc(); | 15365 char $dbfunc(); |
15348 | 15366 |
15349 int main() { | 15367 int main() { |
15350 $dbfunc() | 15368 $dbfunc() |
15351 ; return 0; } | 15369 ; return 0; } |
15352 EOF | 15370 EOF |
15353 if { (eval echo configure:15354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15371 if { (eval echo configure:15372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15354 rm -rf conftest* | 15372 rm -rf conftest* |
15355 eval "ac_cv_lib_$ac_lib_var=yes" | 15373 eval "ac_cv_lib_$ac_lib_var=yes" |
15356 else | 15374 else |
15357 echo "configure: failed program was:" >&5 | 15375 echo "configure: failed program was:" >&5 |
15358 cat conftest.$ac_ext >&5 | 15376 cat conftest.$ac_ext >&5 |
15407 fi | 15425 fi |
15408 | 15426 |
15409 if test "$with_socks" = "yes"; then | 15427 if test "$with_socks" = "yes"; then |
15410 | 15428 |
15411 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15429 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15412 echo "configure:15413: checking for SOCKSinit in -lsocks" >&5 | 15430 echo "configure:15431: checking for SOCKSinit in -lsocks" >&5 |
15413 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15431 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15414 | 15432 |
15415 xe_check_libs=" -lsocks " | 15433 xe_check_libs=" -lsocks " |
15416 cat > conftest.$ac_ext <<EOF | 15434 cat > conftest.$ac_ext <<EOF |
15417 #line 15418 "configure" | 15435 #line 15436 "configure" |
15418 #include "confdefs.h" | 15436 #include "confdefs.h" |
15419 /* Override any gcc2 internal prototype to avoid an error. */ | 15437 /* Override any gcc2 internal prototype to avoid an error. */ |
15420 /* We use char because int might match the return type of a gcc2 | 15438 /* We use char because int might match the return type of a gcc2 |
15421 builtin and then its argument prototype would still apply. */ | 15439 builtin and then its argument prototype would still apply. */ |
15422 char SOCKSinit(); | 15440 char SOCKSinit(); |
15423 | 15441 |
15424 int main() { | 15442 int main() { |
15425 SOCKSinit() | 15443 SOCKSinit() |
15426 ; return 0; } | 15444 ; return 0; } |
15427 EOF | 15445 EOF |
15428 if { (eval echo configure:15429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15446 if { (eval echo configure:15447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15429 rm -rf conftest* | 15447 rm -rf conftest* |
15430 eval "ac_cv_lib_$ac_lib_var=yes" | 15448 eval "ac_cv_lib_$ac_lib_var=yes" |
15431 else | 15449 else |
15432 echo "configure: failed program was:" >&5 | 15450 echo "configure: failed program was:" >&5 |
15433 cat conftest.$ac_ext >&5 | 15451 cat conftest.$ac_ext >&5 |
15477 | 15495 |
15478 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15496 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15479 fi | 15497 fi |
15480 | 15498 |
15481 cat > conftest.$ac_ext <<EOF | 15499 cat > conftest.$ac_ext <<EOF |
15482 #line 15483 "configure" | 15500 #line 15501 "configure" |
15483 #include "confdefs.h" | 15501 #include "confdefs.h" |
15484 int main(int c,char *v[]){return 0;} | 15502 int main(int c,char *v[]){return 0;} |
15485 EOF | 15503 EOF |
15486 if { (eval echo configure:15487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15504 if { (eval echo configure:15505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15487 then | 15505 then |
15488 : | 15506 : |
15489 else | 15507 else |
15490 conftest_rc="$?" | 15508 conftest_rc="$?" |
15491 echo "configure: failed program was:" >&5 | 15509 echo "configure: failed program was:" >&5 |