Mercurial > hg > xemacs-beta
comparison configure @ 1871:b37a2b08a901
[xemacs-hg @ 2004-01-21 16:26:02 by james]
Don't let ICC masquerade as GCC.
author | james |
---|---|
date | Wed, 21 Jan 2004 16:26:05 +0000 |
parents | 6c853dd06f0d |
children | bf8be6575eae |
comparison
equal
deleted
inserted
replaced
1870:375ec21c9374 | 1871:b37a2b08a901 |
---|---|
2587 rm -fr conftest* | 2587 rm -fr conftest* |
2588 case "$conftest_rc" in | 2588 case "$conftest_rc" in |
2589 11) echo "You appear to be using the SunPro C compiler." ; __SUNPRO_C=yes ;; | 2589 11) echo "You appear to be using the SunPro C compiler." ; __SUNPRO_C=yes ;; |
2590 12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;; | 2590 12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;; |
2591 13) echo "You appear to be using the SCO C compiler." ; __USLC__=yes ;; | 2591 13) echo "You appear to be using the SCO C compiler." ; __USLC__=yes ;; |
2592 14) echo "You appear to be using the Intel C++ compiler."; __ICC=yes ;; | 2592 14) echo "You appear to be using the Intel C++ compiler."; __ICC=yes |
2593 GCC=no ;; | |
2593 esac | 2594 esac |
2594 fi | 2595 fi |
2595 rm -fr conftest* | 2596 rm -fr conftest* |
2596 | 2597 |
2597 | 2598 |
2828 | 2829 |
2829 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2830 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2830 | 2831 |
2831 if test "$__USLC__" = yes; then | 2832 if test "$__USLC__" = yes; then |
2832 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2833 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2833 echo "configure:2834: checking for whether the -Kalloca compiler flag is needed" >&5 | 2834 echo "configure:2835: checking for whether the -Kalloca compiler flag is needed" >&5 |
2834 need_kalloca=no | 2835 need_kalloca=no |
2835 cat > conftest.$ac_ext <<EOF | 2836 cat > conftest.$ac_ext <<EOF |
2836 #line 2837 "configure" | 2837 #line 2838 "configure" |
2837 #include "confdefs.h" | 2838 #include "confdefs.h" |
2838 | 2839 |
2839 int main() { | 2840 int main() { |
2840 void *x = alloca(4); | 2841 void *x = alloca(4); |
2841 ; return 0; } | 2842 ; return 0; } |
2842 EOF | 2843 EOF |
2843 if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2844 if { (eval echo configure:2845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2844 rm -rf conftest* | 2845 rm -rf conftest* |
2845 : | 2846 : |
2846 else | 2847 else |
2847 echo "configure: failed program was:" >&5 | 2848 echo "configure: failed program was:" >&5 |
2848 cat conftest.$ac_ext >&5 | 2849 cat conftest.$ac_ext >&5 |
2849 rm -rf conftest* | 2850 rm -rf conftest* |
2850 | 2851 |
2851 xe_save_c_switch_system="$c_switch_system" | 2852 xe_save_c_switch_system="$c_switch_system" |
2852 c_switch_system="$c_switch_system -Kalloca" | 2853 c_switch_system="$c_switch_system -Kalloca" |
2853 cat > conftest.$ac_ext <<EOF | 2854 cat > conftest.$ac_ext <<EOF |
2854 #line 2855 "configure" | 2855 #line 2856 "configure" |
2855 #include "confdefs.h" | 2856 #include "confdefs.h" |
2856 | 2857 |
2857 int main() { | 2858 int main() { |
2858 void *x = alloca(4); | 2859 void *x = alloca(4); |
2859 ; return 0; } | 2860 ; return 0; } |
2860 EOF | 2861 EOF |
2861 if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2862 if { (eval echo configure:2863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2862 rm -rf conftest* | 2863 rm -rf conftest* |
2863 need_kalloca=yes | 2864 need_kalloca=yes |
2864 else | 2865 else |
2865 echo "configure: failed program was:" >&5 | 2866 echo "configure: failed program was:" >&5 |
2866 cat conftest.$ac_ext >&5 | 2867 cat conftest.$ac_ext >&5 |
2920 | 2921 |
2921 CFLAGS="$cflags_warning $CFLAGS" | 2922 CFLAGS="$cflags_warning $CFLAGS" |
2922 | 2923 |
2923 if test "$GCC" = "yes"; then | 2924 if test "$GCC" = "yes"; then |
2924 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2925 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2925 echo "configure:2926: checking for buggy gcc versions" >&5 | 2926 echo "configure:2927: checking for buggy gcc versions" >&5 |
2926 GCC_VERSION=`$CC --version` | 2927 GCC_VERSION=`$CC --version` |
2927 case `uname -s`:`uname -m`:$GCC_VERSION in | 2928 case `uname -s`:`uname -m`:$GCC_VERSION in |
2928 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2929 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2929 case "$CFLAGS" in | 2930 case "$CFLAGS" in |
2930 *-O2*|*-O3*) | 2931 *-O2*|*-O3*) |
2978 echo "$ac_t""no" 1>&6 | 2979 echo "$ac_t""no" 1>&6 |
2979 fi | 2980 fi |
2980 | 2981 |
2981 if test "$pdump" != "yes"; then | 2982 if test "$pdump" != "yes"; then |
2982 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2983 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2983 echo "configure:2984: checking for \"-z nocombreloc\" linker flag" >&5 | 2984 echo "configure:2985: checking for \"-z nocombreloc\" linker flag" >&5 |
2984 case "`ld --help 2>&1`" in | 2985 case "`ld --help 2>&1`" in |
2985 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2986 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2986 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2987 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2987 *) echo "$ac_t""no" 1>&6 ;; | 2988 *) echo "$ac_t""no" 1>&6 ;; |
2988 esac | 2989 esac |
3067 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3068 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3068 echo " xemacs will be linked with \"dumper.o\"" | 3069 echo " xemacs will be linked with \"dumper.o\"" |
3069 fi | 3070 fi |
3070 | 3071 |
3071 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3072 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3072 echo "configure:3073: checking for dynodump" >&5 | 3073 echo "configure:3074: checking for dynodump" >&5 |
3073 if test "$unexec" != "unexsol2.o"; then | 3074 if test "$unexec" != "unexsol2.o"; then |
3074 echo "$ac_t""no" 1>&6 | 3075 echo "$ac_t""no" 1>&6 |
3075 else | 3076 else |
3076 echo "$ac_t""yes" 1>&6 | 3077 echo "$ac_t""yes" 1>&6 |
3077 { test "$extra_verbose" = "yes" && cat << \EOF | 3078 { test "$extra_verbose" = "yes" && cat << \EOF |
3105 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3106 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3106 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3107 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3107 done | 3108 done |
3108 | 3109 |
3109 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3110 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3110 echo "configure:3111: checking for terminateAndUnload in -lC" >&5 | 3111 echo "configure:3112: checking for terminateAndUnload in -lC" >&5 |
3111 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3112 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3112 | 3113 |
3113 xe_check_libs=" -lC " | 3114 xe_check_libs=" -lC " |
3114 cat > conftest.$ac_ext <<EOF | 3115 cat > conftest.$ac_ext <<EOF |
3115 #line 3116 "configure" | 3116 #line 3117 "configure" |
3116 #include "confdefs.h" | 3117 #include "confdefs.h" |
3117 /* Override any gcc2 internal prototype to avoid an error. */ | 3118 /* Override any gcc2 internal prototype to avoid an error. */ |
3118 /* We use char because int might match the return type of a gcc2 | 3119 /* We use char because int might match the return type of a gcc2 |
3119 builtin and then its argument prototype would still apply. */ | 3120 builtin and then its argument prototype would still apply. */ |
3120 char terminateAndUnload(); | 3121 char terminateAndUnload(); |
3121 | 3122 |
3122 int main() { | 3123 int main() { |
3123 terminateAndUnload() | 3124 terminateAndUnload() |
3124 ; return 0; } | 3125 ; return 0; } |
3125 EOF | 3126 EOF |
3126 if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3127 if { (eval echo configure:3128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3127 rm -rf conftest* | 3128 rm -rf conftest* |
3128 eval "ac_cv_lib_$ac_lib_var=yes" | 3129 eval "ac_cv_lib_$ac_lib_var=yes" |
3129 else | 3130 else |
3130 echo "configure: failed program was:" >&5 | 3131 echo "configure: failed program was:" >&5 |
3131 cat conftest.$ac_ext >&5 | 3132 cat conftest.$ac_ext >&5 |
3229 esac | 3230 esac |
3230 fi | 3231 fi |
3231 | 3232 |
3232 if test "$add_runtime_path" = "yes"; then | 3233 if test "$add_runtime_path" = "yes"; then |
3233 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3234 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3234 echo "configure:3235: checking "for runtime libraries flag"" >&5 | 3235 echo "configure:3236: checking "for runtime libraries flag"" >&5 |
3235 case "$opsys" in | 3236 case "$opsys" in |
3236 sol2 ) dash_r="-R" ;; | 3237 sol2 ) dash_r="-R" ;; |
3237 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3238 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3238 *) | 3239 *) |
3239 dash_r="" | 3240 dash_r="" |
3251 esac | 3252 esac |
3252 shift | 3253 shift |
3253 done | 3254 done |
3254 fi | 3255 fi |
3255 cat > conftest.$ac_ext <<EOF | 3256 cat > conftest.$ac_ext <<EOF |
3256 #line 3257 "configure" | 3257 #line 3258 "configure" |
3257 #include "confdefs.h" | 3258 #include "confdefs.h" |
3258 | 3259 |
3259 int main() { | 3260 int main() { |
3260 | 3261 |
3261 ; return 0; } | 3262 ; return 0; } |
3262 EOF | 3263 EOF |
3263 if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3264 if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3264 rm -rf conftest* | 3265 rm -rf conftest* |
3265 dash_r="$try_dash_r" | 3266 dash_r="$try_dash_r" |
3266 else | 3267 else |
3267 echo "configure: failed program was:" >&5 | 3268 echo "configure: failed program was:" >&5 |
3268 cat conftest.$ac_ext >&5 | 3269 cat conftest.$ac_ext >&5 |
3359 else | 3360 else |
3360 doug_lea_malloc=no | 3361 doug_lea_malloc=no |
3361 fi | 3362 fi |
3362 after_morecore_hook_exists=yes | 3363 after_morecore_hook_exists=yes |
3363 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3364 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3364 echo "configure:3365: checking for malloc_set_state" >&5 | 3365 echo "configure:3366: checking for malloc_set_state" >&5 |
3365 | 3366 |
3366 cat > conftest.$ac_ext <<EOF | 3367 cat > conftest.$ac_ext <<EOF |
3367 #line 3368 "configure" | 3368 #line 3369 "configure" |
3368 #include "confdefs.h" | 3369 #include "confdefs.h" |
3369 /* System header to define __stub macros and hopefully few prototypes, | 3370 /* System header to define __stub macros and hopefully few prototypes, |
3370 which can conflict with char malloc_set_state(); below. */ | 3371 which can conflict with char malloc_set_state(); below. */ |
3371 #include <assert.h> | 3372 #include <assert.h> |
3372 /* Override any gcc2 internal prototype to avoid an error. */ | 3373 /* Override any gcc2 internal prototype to avoid an error. */ |
3385 malloc_set_state(); | 3386 malloc_set_state(); |
3386 #endif | 3387 #endif |
3387 | 3388 |
3388 ; return 0; } | 3389 ; return 0; } |
3389 EOF | 3390 EOF |
3390 if { (eval echo configure:3391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3391 if { (eval echo configure:3392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3391 rm -rf conftest* | 3392 rm -rf conftest* |
3392 eval "ac_cv_func_malloc_set_state=yes" | 3393 eval "ac_cv_func_malloc_set_state=yes" |
3393 else | 3394 else |
3394 echo "configure: failed program was:" >&5 | 3395 echo "configure: failed program was:" >&5 |
3395 cat conftest.$ac_ext >&5 | 3396 cat conftest.$ac_ext >&5 |
3405 echo "$ac_t""no" 1>&6 | 3406 echo "$ac_t""no" 1>&6 |
3406 doug_lea_malloc=no | 3407 doug_lea_malloc=no |
3407 fi | 3408 fi |
3408 | 3409 |
3409 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3410 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3410 echo "configure:3411: checking whether __after_morecore_hook exists" >&5 | 3411 echo "configure:3412: checking whether __after_morecore_hook exists" >&5 |
3411 cat > conftest.$ac_ext <<EOF | 3412 cat > conftest.$ac_ext <<EOF |
3412 #line 3413 "configure" | 3413 #line 3414 "configure" |
3413 #include "confdefs.h" | 3414 #include "confdefs.h" |
3414 extern void (* __after_morecore_hook)(); | 3415 extern void (* __after_morecore_hook)(); |
3415 int main() { | 3416 int main() { |
3416 __after_morecore_hook = 0 | 3417 __after_morecore_hook = 0 |
3417 ; return 0; } | 3418 ; return 0; } |
3418 EOF | 3419 EOF |
3419 if { (eval echo configure:3420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3420 if { (eval echo configure:3421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3420 rm -rf conftest* | 3421 rm -rf conftest* |
3421 echo "$ac_t""yes" 1>&6 | 3422 echo "$ac_t""yes" 1>&6 |
3422 else | 3423 else |
3423 echo "configure: failed program was:" >&5 | 3424 echo "configure: failed program was:" >&5 |
3424 cat conftest.$ac_ext >&5 | 3425 cat conftest.$ac_ext >&5 |
3470 | 3471 |
3471 | 3472 |
3472 # Extract the first word of "ranlib", so it can be a program name with args. | 3473 # Extract the first word of "ranlib", so it can be a program name with args. |
3473 set dummy ranlib; ac_word=$2 | 3474 set dummy ranlib; ac_word=$2 |
3474 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3475 echo "configure:3476: checking for $ac_word" >&5 | 3476 echo "configure:3477: checking for $ac_word" >&5 |
3476 | 3477 |
3477 if test -n "$RANLIB"; then | 3478 if test -n "$RANLIB"; then |
3478 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3479 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3479 else | 3480 else |
3480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3481 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3528 # ./install, which can be erroneously created by make from ./install.sh. | 3529 # ./install, which can be erroneously created by make from ./install.sh. |
3529 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3530 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3530 echo "configure:3531: checking for a BSD compatible install" >&5 | 3531 echo "configure:3532: checking for a BSD compatible install" >&5 |
3531 if test -z "$INSTALL"; then | 3532 if test -z "$INSTALL"; then |
3532 | 3533 |
3533 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3534 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3534 for ac_dir in $PATH; do | 3535 for ac_dir in $PATH; do |
3535 # Account for people who put trailing slashes in PATH elements. | 3536 # Account for people who put trailing slashes in PATH elements. |
3579 for ac_prog in 'bison -y' byacc | 3580 for ac_prog in 'bison -y' byacc |
3580 do | 3581 do |
3581 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3582 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3582 set dummy $ac_prog; ac_word=$2 | 3583 set dummy $ac_prog; ac_word=$2 |
3583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3584 echo "configure:3585: checking for $ac_word" >&5 | 3585 echo "configure:3586: checking for $ac_word" >&5 |
3585 | 3586 |
3586 if test -n "$YACC"; then | 3587 if test -n "$YACC"; then |
3587 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3588 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3588 else | 3589 else |
3589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3590 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3611 | 3612 |
3612 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 | 3613 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 |
3613 do | 3614 do |
3614 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3615 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3615 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3616 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3616 echo "configure:3617: checking for $ac_hdr" >&5 | 3617 echo "configure:3618: checking for $ac_hdr" >&5 |
3617 | 3618 |
3618 cat > conftest.$ac_ext <<EOF | 3619 cat > conftest.$ac_ext <<EOF |
3619 #line 3620 "configure" | 3620 #line 3621 "configure" |
3620 #include "confdefs.h" | 3621 #include "confdefs.h" |
3621 #include <$ac_hdr> | 3622 #include <$ac_hdr> |
3622 EOF | 3623 EOF |
3623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3624 { (eval echo configure:3625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3625 { (eval echo configure:3626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3626 if test -z "$ac_err"; then | 3627 if test -z "$ac_err"; then |
3627 rm -rf conftest* | 3628 rm -rf conftest* |
3628 eval "ac_cv_header_$ac_safe=yes" | 3629 eval "ac_cv_header_$ac_safe=yes" |
3629 else | 3630 else |
3649 echo "$ac_t""no" 1>&6 | 3650 echo "$ac_t""no" 1>&6 |
3650 fi | 3651 fi |
3651 done | 3652 done |
3652 | 3653 |
3653 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3654 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3654 echo "configure:3655: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3655 echo "configure:3656: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3655 | 3656 |
3656 cat > conftest.$ac_ext <<EOF | 3657 cat > conftest.$ac_ext <<EOF |
3657 #line 3658 "configure" | 3658 #line 3659 "configure" |
3658 #include "confdefs.h" | 3659 #include "confdefs.h" |
3659 #include <sys/types.h> | 3660 #include <sys/types.h> |
3660 #include <sys/wait.h> | 3661 #include <sys/wait.h> |
3661 #ifndef WEXITSTATUS | 3662 #ifndef WEXITSTATUS |
3662 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3663 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3668 int s; | 3669 int s; |
3669 wait (&s); | 3670 wait (&s); |
3670 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3671 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3671 ; return 0; } | 3672 ; return 0; } |
3672 EOF | 3673 EOF |
3673 if { (eval echo configure:3674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3674 rm -rf conftest* | 3675 rm -rf conftest* |
3675 ac_cv_header_sys_wait_h=yes | 3676 ac_cv_header_sys_wait_h=yes |
3676 else | 3677 else |
3677 echo "configure: failed program was:" >&5 | 3678 echo "configure: failed program was:" >&5 |
3678 cat conftest.$ac_ext >&5 | 3679 cat conftest.$ac_ext >&5 |
3692 } | 3693 } |
3693 | 3694 |
3694 fi | 3695 fi |
3695 | 3696 |
3696 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3697 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3697 echo "configure:3698: checking for ANSI C header files" >&5 | 3698 echo "configure:3699: checking for ANSI C header files" >&5 |
3698 | 3699 |
3699 cat > conftest.$ac_ext <<EOF | 3700 cat > conftest.$ac_ext <<EOF |
3700 #line 3701 "configure" | 3701 #line 3702 "configure" |
3701 #include "confdefs.h" | 3702 #include "confdefs.h" |
3702 #include <stdlib.h> | 3703 #include <stdlib.h> |
3703 #include <stdarg.h> | 3704 #include <stdarg.h> |
3704 #include <string.h> | 3705 #include <string.h> |
3705 #include <float.h> | 3706 #include <float.h> |
3706 EOF | 3707 EOF |
3707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3708 { (eval echo configure:3709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3709 { (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3710 if test -z "$ac_err"; then | 3711 if test -z "$ac_err"; then |
3711 rm -rf conftest* | 3712 rm -rf conftest* |
3712 ac_cv_header_stdc=yes | 3713 ac_cv_header_stdc=yes |
3713 else | 3714 else |
3720 rm -f conftest* | 3721 rm -f conftest* |
3721 | 3722 |
3722 if test $ac_cv_header_stdc = yes; then | 3723 if test $ac_cv_header_stdc = yes; then |
3723 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3724 cat > conftest.$ac_ext <<EOF | 3725 cat > conftest.$ac_ext <<EOF |
3725 #line 3726 "configure" | 3726 #line 3727 "configure" |
3726 #include "confdefs.h" | 3727 #include "confdefs.h" |
3727 #include <string.h> | 3728 #include <string.h> |
3728 EOF | 3729 EOF |
3729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3730 egrep "memchr" >/dev/null 2>&1; then | 3731 egrep "memchr" >/dev/null 2>&1; then |
3738 fi | 3739 fi |
3739 | 3740 |
3740 if test $ac_cv_header_stdc = yes; then | 3741 if test $ac_cv_header_stdc = yes; then |
3741 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3742 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3742 cat > conftest.$ac_ext <<EOF | 3743 cat > conftest.$ac_ext <<EOF |
3743 #line 3744 "configure" | 3744 #line 3745 "configure" |
3744 #include "confdefs.h" | 3745 #include "confdefs.h" |
3745 #include <stdlib.h> | 3746 #include <stdlib.h> |
3746 EOF | 3747 EOF |
3747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3748 egrep "free" >/dev/null 2>&1; then | 3749 egrep "free" >/dev/null 2>&1; then |
3756 fi | 3757 fi |
3757 | 3758 |
3758 if test $ac_cv_header_stdc = yes; then | 3759 if test $ac_cv_header_stdc = yes; then |
3759 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3760 cat > conftest.$ac_ext <<EOF | 3761 cat > conftest.$ac_ext <<EOF |
3761 #line 3762 "configure" | 3762 #line 3763 "configure" |
3762 #include "confdefs.h" | 3763 #include "confdefs.h" |
3763 #include <ctype.h> | 3764 #include <ctype.h> |
3764 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3765 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3765 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3766 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3767 int main () { int i; for (i = 0; i < 256; i++) | 3768 int main () { int i; for (i = 0; i < 256; i++) |
3768 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3769 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3769 exit (0); } | 3770 exit (0); } |
3770 | 3771 |
3771 EOF | 3772 EOF |
3772 if { (eval echo configure:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3773 if { (eval echo configure:3774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3773 then | 3774 then |
3774 : | 3775 : |
3775 else | 3776 else |
3776 conftest_rc="$?" | 3777 conftest_rc="$?" |
3777 echo "configure: failed program was:" >&5 | 3778 echo "configure: failed program was:" >&5 |
3793 } | 3794 } |
3794 | 3795 |
3795 fi | 3796 fi |
3796 | 3797 |
3797 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3798 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3798 echo "configure:3799: checking whether time.h and sys/time.h may both be included" >&5 | 3799 echo "configure:3800: checking whether time.h and sys/time.h may both be included" >&5 |
3799 | 3800 |
3800 cat > conftest.$ac_ext <<EOF | 3801 cat > conftest.$ac_ext <<EOF |
3801 #line 3802 "configure" | 3802 #line 3803 "configure" |
3802 #include "confdefs.h" | 3803 #include "confdefs.h" |
3803 #include <sys/types.h> | 3804 #include <sys/types.h> |
3804 #include <sys/time.h> | 3805 #include <sys/time.h> |
3805 #include <time.h> | 3806 #include <time.h> |
3806 int main() { | 3807 int main() { |
3807 struct tm *tp; | 3808 struct tm *tp; |
3808 ; return 0; } | 3809 ; return 0; } |
3809 EOF | 3810 EOF |
3810 if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3811 rm -rf conftest* | 3812 rm -rf conftest* |
3812 ac_cv_header_time=yes | 3813 ac_cv_header_time=yes |
3813 else | 3814 else |
3814 echo "configure: failed program was:" >&5 | 3815 echo "configure: failed program was:" >&5 |
3815 cat conftest.$ac_ext >&5 | 3816 cat conftest.$ac_ext >&5 |
3829 } | 3830 } |
3830 | 3831 |
3831 fi | 3832 fi |
3832 | 3833 |
3833 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3834 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3834 echo "configure:3835: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3835 echo "configure:3836: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3835 | 3836 |
3836 cat > conftest.$ac_ext <<EOF | 3837 cat > conftest.$ac_ext <<EOF |
3837 #line 3838 "configure" | 3838 #line 3839 "configure" |
3838 #include "confdefs.h" | 3839 #include "confdefs.h" |
3839 #include <sys/types.h> | 3840 #include <sys/types.h> |
3840 #include <signal.h> | 3841 #include <signal.h> |
3841 /* NetBSD declares sys_siglist in unistd.h. */ | 3842 /* NetBSD declares sys_siglist in unistd.h. */ |
3842 #ifdef HAVE_UNISTD_H | 3843 #ifdef HAVE_UNISTD_H |
3844 #endif | 3845 #endif |
3845 int main() { | 3846 int main() { |
3846 char *msg = *(sys_siglist + 1); | 3847 char *msg = *(sys_siglist + 1); |
3847 ; return 0; } | 3848 ; return 0; } |
3848 EOF | 3849 EOF |
3849 if { (eval echo configure:3850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3850 if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3850 rm -rf conftest* | 3851 rm -rf conftest* |
3851 ac_cv_decl_sys_siglist=yes | 3852 ac_cv_decl_sys_siglist=yes |
3852 else | 3853 else |
3853 echo "configure: failed program was:" >&5 | 3854 echo "configure: failed program was:" >&5 |
3854 cat conftest.$ac_ext >&5 | 3855 cat conftest.$ac_ext >&5 |
3870 fi | 3871 fi |
3871 | 3872 |
3872 | 3873 |
3873 | 3874 |
3874 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3875 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3875 echo "configure:3876: checking for utime" >&5 | 3876 echo "configure:3877: checking for utime" >&5 |
3876 cat > conftest.$ac_ext <<EOF | 3877 cat > conftest.$ac_ext <<EOF |
3877 #line 3878 "configure" | 3878 #line 3879 "configure" |
3878 #include "confdefs.h" | 3879 #include "confdefs.h" |
3879 #include <sys/types.h> | 3880 #include <sys/types.h> |
3880 #include <utime.h> | 3881 #include <utime.h> |
3881 int main() { | 3882 int main() { |
3882 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3883 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3883 ; return 0; } | 3884 ; return 0; } |
3884 EOF | 3885 EOF |
3885 if { (eval echo configure:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3886 if { (eval echo configure:3887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3886 rm -rf conftest* | 3887 rm -rf conftest* |
3887 echo "$ac_t""yes" 1>&6 | 3888 echo "$ac_t""yes" 1>&6 |
3888 { test "$extra_verbose" = "yes" && cat << \EOF | 3889 { test "$extra_verbose" = "yes" && cat << \EOF |
3889 Defining HAVE_UTIME | 3890 Defining HAVE_UTIME |
3890 EOF | 3891 EOF |
3899 rm -rf conftest* | 3900 rm -rf conftest* |
3900 echo "$ac_t""no" 1>&6 | 3901 echo "$ac_t""no" 1>&6 |
3901 for ac_func in utimes | 3902 for ac_func in utimes |
3902 do | 3903 do |
3903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3904 echo "configure:3905: checking for $ac_func" >&5 | 3905 echo "configure:3906: checking for $ac_func" >&5 |
3905 | 3906 |
3906 cat > conftest.$ac_ext <<EOF | 3907 cat > conftest.$ac_ext <<EOF |
3907 #line 3908 "configure" | 3908 #line 3909 "configure" |
3908 #include "confdefs.h" | 3909 #include "confdefs.h" |
3909 /* System header to define __stub macros and hopefully few prototypes, | 3910 /* System header to define __stub macros and hopefully few prototypes, |
3910 which can conflict with char $ac_func(); below. */ | 3911 which can conflict with char $ac_func(); below. */ |
3911 #include <assert.h> | 3912 #include <assert.h> |
3912 /* Override any gcc2 internal prototype to avoid an error. */ | 3913 /* Override any gcc2 internal prototype to avoid an error. */ |
3925 $ac_func(); | 3926 $ac_func(); |
3926 #endif | 3927 #endif |
3927 | 3928 |
3928 ; return 0; } | 3929 ; return 0; } |
3929 EOF | 3930 EOF |
3930 if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3931 if { (eval echo configure:3932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3931 rm -rf conftest* | 3932 rm -rf conftest* |
3932 eval "ac_cv_func_$ac_func=yes" | 3933 eval "ac_cv_func_$ac_func=yes" |
3933 else | 3934 else |
3934 echo "configure: failed program was:" >&5 | 3935 echo "configure: failed program was:" >&5 |
3935 cat conftest.$ac_ext >&5 | 3936 cat conftest.$ac_ext >&5 |
3957 fi | 3958 fi |
3958 rm -f conftest* | 3959 rm -f conftest* |
3959 | 3960 |
3960 | 3961 |
3961 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3962 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3962 echo "configure:3963: checking return type of signal handlers" >&5 | 3963 echo "configure:3964: checking return type of signal handlers" >&5 |
3963 | 3964 |
3964 cat > conftest.$ac_ext <<EOF | 3965 cat > conftest.$ac_ext <<EOF |
3965 #line 3966 "configure" | 3966 #line 3967 "configure" |
3966 #include "confdefs.h" | 3967 #include "confdefs.h" |
3967 #include <sys/types.h> | 3968 #include <sys/types.h> |
3968 #include <signal.h> | 3969 #include <signal.h> |
3969 #ifdef signal | 3970 #ifdef signal |
3970 #undef signal | 3971 #undef signal |
3977 | 3978 |
3978 int main() { | 3979 int main() { |
3979 int i; | 3980 int i; |
3980 ; return 0; } | 3981 ; return 0; } |
3981 EOF | 3982 EOF |
3982 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3983 if { (eval echo configure:3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3983 rm -rf conftest* | 3984 rm -rf conftest* |
3984 ac_cv_type_signal=void | 3985 ac_cv_type_signal=void |
3985 else | 3986 else |
3986 echo "configure: failed program was:" >&5 | 3987 echo "configure: failed program was:" >&5 |
3987 cat conftest.$ac_ext >&5 | 3988 cat conftest.$ac_ext >&5 |
3999 EOF | 4000 EOF |
4000 } | 4001 } |
4001 | 4002 |
4002 | 4003 |
4003 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4004 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4004 echo "configure:4005: checking for size_t" >&5 | 4005 echo "configure:4006: checking for size_t" >&5 |
4005 | 4006 |
4006 cat > conftest.$ac_ext <<EOF | 4007 cat > conftest.$ac_ext <<EOF |
4007 #line 4008 "configure" | 4008 #line 4009 "configure" |
4008 #include "confdefs.h" | 4009 #include "confdefs.h" |
4009 #include <sys/types.h> | 4010 #include <sys/types.h> |
4010 #if STDC_HEADERS | 4011 #if STDC_HEADERS |
4011 #include <stdlib.h> | 4012 #include <stdlib.h> |
4012 #include <stddef.h> | 4013 #include <stddef.h> |
4033 } | 4034 } |
4034 | 4035 |
4035 fi | 4036 fi |
4036 | 4037 |
4037 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4038 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4038 echo "configure:4039: checking for pid_t" >&5 | 4039 echo "configure:4040: checking for pid_t" >&5 |
4039 | 4040 |
4040 cat > conftest.$ac_ext <<EOF | 4041 cat > conftest.$ac_ext <<EOF |
4041 #line 4042 "configure" | 4042 #line 4043 "configure" |
4042 #include "confdefs.h" | 4043 #include "confdefs.h" |
4043 #include <sys/types.h> | 4044 #include <sys/types.h> |
4044 #if STDC_HEADERS | 4045 #if STDC_HEADERS |
4045 #include <stdlib.h> | 4046 #include <stdlib.h> |
4046 #include <stddef.h> | 4047 #include <stddef.h> |
4067 } | 4068 } |
4068 | 4069 |
4069 fi | 4070 fi |
4070 | 4071 |
4071 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4072 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4072 echo "configure:4073: checking for uid_t in sys/types.h" >&5 | 4073 echo "configure:4074: checking for uid_t in sys/types.h" >&5 |
4073 | 4074 |
4074 cat > conftest.$ac_ext <<EOF | 4075 cat > conftest.$ac_ext <<EOF |
4075 #line 4076 "configure" | 4076 #line 4077 "configure" |
4076 #include "confdefs.h" | 4077 #include "confdefs.h" |
4077 #include <sys/types.h> | 4078 #include <sys/types.h> |
4078 EOF | 4079 EOF |
4079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4080 egrep "uid_t" >/dev/null 2>&1; then | 4081 egrep "uid_t" >/dev/null 2>&1; then |
4106 } | 4107 } |
4107 | 4108 |
4108 fi | 4109 fi |
4109 | 4110 |
4110 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4111 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4111 echo "configure:4112: checking for mode_t" >&5 | 4112 echo "configure:4113: checking for mode_t" >&5 |
4112 | 4113 |
4113 cat > conftest.$ac_ext <<EOF | 4114 cat > conftest.$ac_ext <<EOF |
4114 #line 4115 "configure" | 4115 #line 4116 "configure" |
4115 #include "confdefs.h" | 4116 #include "confdefs.h" |
4116 #include <sys/types.h> | 4117 #include <sys/types.h> |
4117 #if STDC_HEADERS | 4118 #if STDC_HEADERS |
4118 #include <stdlib.h> | 4119 #include <stdlib.h> |
4119 #include <stddef.h> | 4120 #include <stddef.h> |
4140 } | 4141 } |
4141 | 4142 |
4142 fi | 4143 fi |
4143 | 4144 |
4144 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4145 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4145 echo "configure:4146: checking for off_t" >&5 | 4146 echo "configure:4147: checking for off_t" >&5 |
4146 | 4147 |
4147 cat > conftest.$ac_ext <<EOF | 4148 cat > conftest.$ac_ext <<EOF |
4148 #line 4149 "configure" | 4149 #line 4150 "configure" |
4149 #include "confdefs.h" | 4150 #include "confdefs.h" |
4150 #include <sys/types.h> | 4151 #include <sys/types.h> |
4151 #if STDC_HEADERS | 4152 #if STDC_HEADERS |
4152 #include <stdlib.h> | 4153 #include <stdlib.h> |
4153 #include <stddef.h> | 4154 #include <stddef.h> |
4174 } | 4175 } |
4175 | 4176 |
4176 fi | 4177 fi |
4177 | 4178 |
4178 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4179 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4179 echo "configure:4180: checking for ssize_t" >&5 | 4180 echo "configure:4181: checking for ssize_t" >&5 |
4180 | 4181 |
4181 cat > conftest.$ac_ext <<EOF | 4182 cat > conftest.$ac_ext <<EOF |
4182 #line 4183 "configure" | 4183 #line 4184 "configure" |
4183 #include "confdefs.h" | 4184 #include "confdefs.h" |
4184 #include <sys/types.h> | 4185 #include <sys/types.h> |
4185 #if STDC_HEADERS | 4186 #if STDC_HEADERS |
4186 #include <stdlib.h> | 4187 #include <stdlib.h> |
4187 #include <stddef.h> | 4188 #include <stddef.h> |
4210 fi | 4211 fi |
4211 | 4212 |
4212 | 4213 |
4213 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4214 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4214 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4215 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4215 echo "configure:4216: checking for intptr_t in sys/types.h" >&5 | 4216 echo "configure:4217: checking for intptr_t in sys/types.h" >&5 |
4216 cat > conftest.$ac_ext <<EOF | 4217 cat > conftest.$ac_ext <<EOF |
4217 #line 4218 "configure" | 4218 #line 4219 "configure" |
4218 #include "confdefs.h" | 4219 #include "confdefs.h" |
4219 #include <sys/types.h> | 4220 #include <sys/types.h> |
4220 intptr_t x; | 4221 intptr_t x; |
4221 | 4222 |
4222 int main() { | 4223 int main() { |
4223 | 4224 |
4224 ; return 0; } | 4225 ; return 0; } |
4225 EOF | 4226 EOF |
4226 if { (eval echo configure:4227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4227 if { (eval echo configure:4228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4227 rm -rf conftest* | 4228 rm -rf conftest* |
4228 echo "$ac_t""yes" 1>&6 | 4229 echo "$ac_t""yes" 1>&6 |
4229 { test "$extra_verbose" = "yes" && cat << \EOF | 4230 { test "$extra_verbose" = "yes" && cat << \EOF |
4230 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4231 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4231 EOF | 4232 EOF |
4242 fi | 4243 fi |
4243 rm -f conftest* | 4244 rm -f conftest* |
4244 fi | 4245 fi |
4245 | 4246 |
4246 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4247 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4247 echo "configure:4248: checking for socklen_t" >&5 | 4248 echo "configure:4249: checking for socklen_t" >&5 |
4248 cat > conftest.$ac_ext <<EOF | 4249 cat > conftest.$ac_ext <<EOF |
4249 #line 4250 "configure" | 4250 #line 4251 "configure" |
4250 #include "confdefs.h" | 4251 #include "confdefs.h" |
4251 #include <sys/types.h> | 4252 #include <sys/types.h> |
4252 #include <sys/socket.h> | 4253 #include <sys/socket.h> |
4253 socklen_t x; | 4254 socklen_t x; |
4254 | 4255 |
4255 int main() { | 4256 int main() { |
4256 | 4257 |
4257 ; return 0; } | 4258 ; return 0; } |
4258 EOF | 4259 EOF |
4259 if { (eval echo configure:4260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4260 if { (eval echo configure:4261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4260 rm -rf conftest* | 4261 rm -rf conftest* |
4261 echo "$ac_t""yes" 1>&6 | 4262 echo "$ac_t""yes" 1>&6 |
4262 else | 4263 else |
4263 echo "configure: failed program was:" >&5 | 4264 echo "configure: failed program was:" >&5 |
4264 cat conftest.$ac_ext >&5 | 4265 cat conftest.$ac_ext >&5 |
4265 rm -rf conftest* | 4266 rm -rf conftest* |
4266 | 4267 |
4267 cat > conftest.$ac_ext <<EOF | 4268 cat > conftest.$ac_ext <<EOF |
4268 #line 4269 "configure" | 4269 #line 4270 "configure" |
4269 #include "confdefs.h" | 4270 #include "confdefs.h" |
4270 #include <sys/types.h> | 4271 #include <sys/types.h> |
4271 #include <sys/socket.h> | 4272 #include <sys/socket.h> |
4272 int accept (int, struct sockaddr *, size_t *); | 4273 int accept (int, struct sockaddr *, size_t *); |
4273 | 4274 |
4274 int main() { | 4275 int main() { |
4275 | 4276 |
4276 ; return 0; } | 4277 ; return 0; } |
4277 EOF | 4278 EOF |
4278 if { (eval echo configure:4279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4279 if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4279 rm -rf conftest* | 4280 rm -rf conftest* |
4280 | 4281 |
4281 echo "$ac_t""size_t" 1>&6 | 4282 echo "$ac_t""size_t" 1>&6 |
4282 { test "$extra_verbose" = "yes" && cat << \EOF | 4283 { test "$extra_verbose" = "yes" && cat << \EOF |
4283 Defining socklen_t = size_t | 4284 Defining socklen_t = size_t |
4305 rm -f conftest* | 4306 rm -f conftest* |
4306 fi | 4307 fi |
4307 rm -f conftest* | 4308 rm -f conftest* |
4308 | 4309 |
4309 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4310 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4310 echo "configure:4311: checking for struct timeval" >&5 | 4311 echo "configure:4312: checking for struct timeval" >&5 |
4311 cat > conftest.$ac_ext <<EOF | 4312 cat > conftest.$ac_ext <<EOF |
4312 #line 4313 "configure" | 4313 #line 4314 "configure" |
4313 #include "confdefs.h" | 4314 #include "confdefs.h" |
4314 #ifdef TIME_WITH_SYS_TIME | 4315 #ifdef TIME_WITH_SYS_TIME |
4315 #include <sys/time.h> | 4316 #include <sys/time.h> |
4316 #include <time.h> | 4317 #include <time.h> |
4317 #else | 4318 #else |
4323 #endif | 4324 #endif |
4324 int main() { | 4325 int main() { |
4325 static struct timeval x; x.tv_sec = x.tv_usec; | 4326 static struct timeval x; x.tv_sec = x.tv_usec; |
4326 ; return 0; } | 4327 ; return 0; } |
4327 EOF | 4328 EOF |
4328 if { (eval echo configure:4329: \"$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 |
4329 rm -rf conftest* | 4330 rm -rf conftest* |
4330 echo "$ac_t""yes" 1>&6 | 4331 echo "$ac_t""yes" 1>&6 |
4331 HAVE_TIMEVAL=yes | 4332 HAVE_TIMEVAL=yes |
4332 { test "$extra_verbose" = "yes" && cat << \EOF | 4333 { test "$extra_verbose" = "yes" && cat << \EOF |
4333 Defining HAVE_TIMEVAL | 4334 Defining HAVE_TIMEVAL |
4345 HAVE_TIMEVAL=no | 4346 HAVE_TIMEVAL=no |
4346 fi | 4347 fi |
4347 rm -f conftest* | 4348 rm -f conftest* |
4348 | 4349 |
4349 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4350 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4350 echo "configure:4351: checking whether struct tm is in sys/time.h or time.h" >&5 | 4351 echo "configure:4352: checking whether struct tm is in sys/time.h or time.h" >&5 |
4351 | 4352 |
4352 cat > conftest.$ac_ext <<EOF | 4353 cat > conftest.$ac_ext <<EOF |
4353 #line 4354 "configure" | 4354 #line 4355 "configure" |
4354 #include "confdefs.h" | 4355 #include "confdefs.h" |
4355 #include <sys/types.h> | 4356 #include <sys/types.h> |
4356 #include <time.h> | 4357 #include <time.h> |
4357 int main() { | 4358 int main() { |
4358 struct tm *tp; tp->tm_sec; | 4359 struct tm *tp; tp->tm_sec; |
4359 ; return 0; } | 4360 ; return 0; } |
4360 EOF | 4361 EOF |
4361 if { (eval echo configure:4362: \"$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 |
4362 rm -rf conftest* | 4363 rm -rf conftest* |
4363 ac_cv_struct_tm=time.h | 4364 ac_cv_struct_tm=time.h |
4364 else | 4365 else |
4365 echo "configure: failed program was:" >&5 | 4366 echo "configure: failed program was:" >&5 |
4366 cat conftest.$ac_ext >&5 | 4367 cat conftest.$ac_ext >&5 |
4380 } | 4381 } |
4381 | 4382 |
4382 fi | 4383 fi |
4383 | 4384 |
4384 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4385 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4385 echo "configure:4386: checking for tm_zone in struct tm" >&5 | 4386 echo "configure:4387: checking for tm_zone in struct tm" >&5 |
4386 | 4387 |
4387 cat > conftest.$ac_ext <<EOF | 4388 cat > conftest.$ac_ext <<EOF |
4388 #line 4389 "configure" | 4389 #line 4390 "configure" |
4389 #include "confdefs.h" | 4390 #include "confdefs.h" |
4390 #include <sys/types.h> | 4391 #include <sys/types.h> |
4391 #include <$ac_cv_struct_tm> | 4392 #include <$ac_cv_struct_tm> |
4392 int main() { | 4393 int main() { |
4393 struct tm tm; tm.tm_zone; | 4394 struct tm tm; tm.tm_zone; |
4394 ; return 0; } | 4395 ; return 0; } |
4395 EOF | 4396 EOF |
4396 if { (eval echo configure:4397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4397 if { (eval echo configure:4398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4397 rm -rf conftest* | 4398 rm -rf conftest* |
4398 ac_cv_struct_tm_zone=yes | 4399 ac_cv_struct_tm_zone=yes |
4399 else | 4400 else |
4400 echo "configure: failed program was:" >&5 | 4401 echo "configure: failed program was:" >&5 |
4401 cat conftest.$ac_ext >&5 | 4402 cat conftest.$ac_ext >&5 |
4414 EOF | 4415 EOF |
4415 } | 4416 } |
4416 | 4417 |
4417 else | 4418 else |
4418 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4419 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4419 echo "configure:4420: checking for tzname" >&5 | 4420 echo "configure:4421: checking for tzname" >&5 |
4420 | 4421 |
4421 cat > conftest.$ac_ext <<EOF | 4422 cat > conftest.$ac_ext <<EOF |
4422 #line 4423 "configure" | 4423 #line 4424 "configure" |
4423 #include "confdefs.h" | 4424 #include "confdefs.h" |
4424 #include <time.h> | 4425 #include <time.h> |
4425 #ifndef tzname /* For SGI. */ | 4426 #ifndef tzname /* For SGI. */ |
4426 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4427 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4427 #endif | 4428 #endif |
4428 int main() { | 4429 int main() { |
4429 atoi(*tzname); | 4430 atoi(*tzname); |
4430 ; return 0; } | 4431 ; return 0; } |
4431 EOF | 4432 EOF |
4432 if { (eval echo configure:4433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4433 if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4433 rm -rf conftest* | 4434 rm -rf conftest* |
4434 ac_cv_var_tzname=yes | 4435 ac_cv_var_tzname=yes |
4435 else | 4436 else |
4436 echo "configure: failed program was:" >&5 | 4437 echo "configure: failed program was:" >&5 |
4437 cat conftest.$ac_ext >&5 | 4438 cat conftest.$ac_ext >&5 |
4453 fi | 4454 fi |
4454 fi | 4455 fi |
4455 | 4456 |
4456 | 4457 |
4457 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4458 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4458 echo "configure:4459: checking for working const" >&5 | 4459 echo "configure:4460: checking for working const" >&5 |
4459 | 4460 |
4460 cat > conftest.$ac_ext <<EOF | 4461 cat > conftest.$ac_ext <<EOF |
4461 #line 4462 "configure" | 4462 #line 4463 "configure" |
4462 #include "confdefs.h" | 4463 #include "confdefs.h" |
4463 | 4464 |
4464 int main() { | 4465 int main() { |
4465 | 4466 |
4466 /* Ultrix mips cc rejects this. */ | 4467 /* Ultrix mips cc rejects this. */ |
4505 const int foo = 10; | 4506 const int foo = 10; |
4506 } | 4507 } |
4507 | 4508 |
4508 ; return 0; } | 4509 ; return 0; } |
4509 EOF | 4510 EOF |
4510 if { (eval echo configure:4511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4511 if { (eval echo configure:4512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4511 rm -rf conftest* | 4512 rm -rf conftest* |
4512 ac_cv_c_const=yes | 4513 ac_cv_c_const=yes |
4513 else | 4514 else |
4514 echo "configure: failed program was:" >&5 | 4515 echo "configure: failed program was:" >&5 |
4515 cat conftest.$ac_ext >&5 | 4516 cat conftest.$ac_ext >&5 |
4530 | 4531 |
4531 fi | 4532 fi |
4532 | 4533 |
4533 | 4534 |
4534 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4535 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4535 echo "configure:4536: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4536 echo "configure:4537: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4536 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4537 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4537 | 4538 |
4538 cat > conftestmake <<\EOF | 4539 cat > conftestmake <<\EOF |
4539 all: | 4540 all: |
4540 @echo 'ac_maketemp="${MAKE}"' | 4541 @echo 'ac_maketemp="${MAKE}"' |
4555 SET_MAKE="MAKE=${MAKE-make}" | 4556 SET_MAKE="MAKE=${MAKE-make}" |
4556 fi | 4557 fi |
4557 | 4558 |
4558 | 4559 |
4559 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4560 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4560 echo "configure:4561: checking whether byte ordering is bigendian" >&5 | 4561 echo "configure:4562: checking whether byte ordering is bigendian" >&5 |
4561 | 4562 |
4562 ac_cv_c_bigendian=unknown | 4563 ac_cv_c_bigendian=unknown |
4563 # See if sys/param.h defines the BYTE_ORDER macro. | 4564 # See if sys/param.h defines the BYTE_ORDER macro. |
4564 cat > conftest.$ac_ext <<EOF | 4565 cat > conftest.$ac_ext <<EOF |
4565 #line 4566 "configure" | 4566 #line 4567 "configure" |
4566 #include "confdefs.h" | 4567 #include "confdefs.h" |
4567 #include <sys/types.h> | 4568 #include <sys/types.h> |
4568 #include <sys/param.h> | 4569 #include <sys/param.h> |
4569 int main() { | 4570 int main() { |
4570 | 4571 |
4571 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4572 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4572 bogus endian macros | 4573 bogus endian macros |
4573 #endif | 4574 #endif |
4574 ; return 0; } | 4575 ; return 0; } |
4575 EOF | 4576 EOF |
4576 if { (eval echo configure:4577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4577 if { (eval echo configure:4578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4577 rm -rf conftest* | 4578 rm -rf conftest* |
4578 # It does; now see whether it defined to BIG_ENDIAN or not. | 4579 # It does; now see whether it defined to BIG_ENDIAN or not. |
4579 cat > conftest.$ac_ext <<EOF | 4580 cat > conftest.$ac_ext <<EOF |
4580 #line 4581 "configure" | 4581 #line 4582 "configure" |
4581 #include "confdefs.h" | 4582 #include "confdefs.h" |
4582 #include <sys/types.h> | 4583 #include <sys/types.h> |
4583 #include <sys/param.h> | 4584 #include <sys/param.h> |
4584 int main() { | 4585 int main() { |
4585 | 4586 |
4586 #if BYTE_ORDER != BIG_ENDIAN | 4587 #if BYTE_ORDER != BIG_ENDIAN |
4587 not big endian | 4588 not big endian |
4588 #endif | 4589 #endif |
4589 ; return 0; } | 4590 ; return 0; } |
4590 EOF | 4591 EOF |
4591 if { (eval echo configure:4592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4592 if { (eval echo configure:4593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4592 rm -rf conftest* | 4593 rm -rf conftest* |
4593 ac_cv_c_bigendian=yes | 4594 ac_cv_c_bigendian=yes |
4594 else | 4595 else |
4595 echo "configure: failed program was:" >&5 | 4596 echo "configure: failed program was:" >&5 |
4596 cat conftest.$ac_ext >&5 | 4597 cat conftest.$ac_ext >&5 |
4603 cat conftest.$ac_ext >&5 | 4604 cat conftest.$ac_ext >&5 |
4604 fi | 4605 fi |
4605 rm -f conftest* | 4606 rm -f conftest* |
4606 if test $ac_cv_c_bigendian = unknown; then | 4607 if test $ac_cv_c_bigendian = unknown; then |
4607 cat > conftest.$ac_ext <<EOF | 4608 cat > conftest.$ac_ext <<EOF |
4608 #line 4609 "configure" | 4609 #line 4610 "configure" |
4609 #include "confdefs.h" | 4610 #include "confdefs.h" |
4610 main () { | 4611 main () { |
4611 /* Are we little or big endian? From Harbison&Steele. */ | 4612 /* Are we little or big endian? From Harbison&Steele. */ |
4612 union | 4613 union |
4613 { | 4614 { |
4616 } u; | 4617 } u; |
4617 u.l = 1; | 4618 u.l = 1; |
4618 exit (u.c[sizeof (long) - 1] == 1); | 4619 exit (u.c[sizeof (long) - 1] == 1); |
4619 } | 4620 } |
4620 EOF | 4621 EOF |
4621 if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4622 then | 4623 then |
4623 ac_cv_c_bigendian=no | 4624 ac_cv_c_bigendian=no |
4624 else | 4625 else |
4625 conftest_rc="$?" | 4626 conftest_rc="$?" |
4626 echo "configure: failed program was:" >&5 | 4627 echo "configure: failed program was:" >&5 |
4643 | 4644 |
4644 fi | 4645 fi |
4645 | 4646 |
4646 | 4647 |
4647 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4648 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4648 echo "configure:4649: checking size of short" >&5 | 4649 echo "configure:4650: checking size of short" >&5 |
4649 | 4650 |
4650 cat > conftest.$ac_ext <<EOF | 4651 cat > conftest.$ac_ext <<EOF |
4651 #line 4652 "configure" | 4652 #line 4653 "configure" |
4652 #include "confdefs.h" | 4653 #include "confdefs.h" |
4653 #include <stdio.h> | 4654 #include <stdio.h> |
4654 int main() | 4655 int main() |
4655 { | 4656 { |
4656 FILE *f=fopen("conftestval", "w"); | 4657 FILE *f=fopen("conftestval", "w"); |
4657 if (!f) return(1); | 4658 if (!f) return(1); |
4658 fprintf(f, "%d\n", sizeof(short)); | 4659 fprintf(f, "%d\n", sizeof(short)); |
4659 return(0); | 4660 return(0); |
4660 } | 4661 } |
4661 EOF | 4662 EOF |
4662 if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4663 if { (eval echo configure:4664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4663 then | 4664 then |
4664 ac_cv_sizeof_short=`cat conftestval` | 4665 ac_cv_sizeof_short=`cat conftestval` |
4665 else | 4666 else |
4666 conftest_rc="$?" | 4667 conftest_rc="$?" |
4667 echo "configure: failed program was:" >&5 | 4668 echo "configure: failed program was:" >&5 |
4685 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4686 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4686 echo "*** PANIC *** Please examine config.log for compilation errors." | 4687 echo "*** PANIC *** Please examine config.log for compilation errors." |
4687 exit 1 | 4688 exit 1 |
4688 fi | 4689 fi |
4689 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4690 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4690 echo "configure:4691: checking size of int" >&5 | 4691 echo "configure:4692: checking size of int" >&5 |
4691 | 4692 |
4692 cat > conftest.$ac_ext <<EOF | 4693 cat > conftest.$ac_ext <<EOF |
4693 #line 4694 "configure" | 4694 #line 4695 "configure" |
4694 #include "confdefs.h" | 4695 #include "confdefs.h" |
4695 #include <stdio.h> | 4696 #include <stdio.h> |
4696 int main() | 4697 int main() |
4697 { | 4698 { |
4698 FILE *f=fopen("conftestval", "w"); | 4699 FILE *f=fopen("conftestval", "w"); |
4699 if (!f) return(1); | 4700 if (!f) return(1); |
4700 fprintf(f, "%d\n", sizeof(int)); | 4701 fprintf(f, "%d\n", sizeof(int)); |
4701 return(0); | 4702 return(0); |
4702 } | 4703 } |
4703 EOF | 4704 EOF |
4704 if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4705 then | 4706 then |
4706 ac_cv_sizeof_int=`cat conftestval` | 4707 ac_cv_sizeof_int=`cat conftestval` |
4707 else | 4708 else |
4708 conftest_rc="$?" | 4709 conftest_rc="$?" |
4709 echo "configure: failed program was:" >&5 | 4710 echo "configure: failed program was:" >&5 |
4721 EOF | 4722 EOF |
4722 } | 4723 } |
4723 | 4724 |
4724 | 4725 |
4725 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4726 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4726 echo "configure:4727: checking size of long" >&5 | 4727 echo "configure:4728: checking size of long" >&5 |
4727 | 4728 |
4728 cat > conftest.$ac_ext <<EOF | 4729 cat > conftest.$ac_ext <<EOF |
4729 #line 4730 "configure" | 4730 #line 4731 "configure" |
4730 #include "confdefs.h" | 4731 #include "confdefs.h" |
4731 #include <stdio.h> | 4732 #include <stdio.h> |
4732 int main() | 4733 int main() |
4733 { | 4734 { |
4734 FILE *f=fopen("conftestval", "w"); | 4735 FILE *f=fopen("conftestval", "w"); |
4735 if (!f) return(1); | 4736 if (!f) return(1); |
4736 fprintf(f, "%d\n", sizeof(long)); | 4737 fprintf(f, "%d\n", sizeof(long)); |
4737 return(0); | 4738 return(0); |
4738 } | 4739 } |
4739 EOF | 4740 EOF |
4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4741 then | 4742 then |
4742 ac_cv_sizeof_long=`cat conftestval` | 4743 ac_cv_sizeof_long=`cat conftestval` |
4743 else | 4744 else |
4744 conftest_rc="$?" | 4745 conftest_rc="$?" |
4745 echo "configure: failed program was:" >&5 | 4746 echo "configure: failed program was:" >&5 |
4757 EOF | 4758 EOF |
4758 } | 4759 } |
4759 | 4760 |
4760 | 4761 |
4761 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4762 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4762 echo "configure:4763: checking size of long long" >&5 | 4763 echo "configure:4764: checking size of long long" >&5 |
4763 | 4764 |
4764 cat > conftest.$ac_ext <<EOF | 4765 cat > conftest.$ac_ext <<EOF |
4765 #line 4766 "configure" | 4766 #line 4767 "configure" |
4766 #include "confdefs.h" | 4767 #include "confdefs.h" |
4767 #include <stdio.h> | 4768 #include <stdio.h> |
4768 int main() | 4769 int main() |
4769 { | 4770 { |
4770 FILE *f=fopen("conftestval", "w"); | 4771 FILE *f=fopen("conftestval", "w"); |
4771 if (!f) return(1); | 4772 if (!f) return(1); |
4772 fprintf(f, "%d\n", sizeof(long long)); | 4773 fprintf(f, "%d\n", sizeof(long long)); |
4773 return(0); | 4774 return(0); |
4774 } | 4775 } |
4775 EOF | 4776 EOF |
4776 if { (eval echo configure:4777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4777 if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4777 then | 4778 then |
4778 ac_cv_sizeof_long_long=`cat conftestval` | 4779 ac_cv_sizeof_long_long=`cat conftestval` |
4779 else | 4780 else |
4780 conftest_rc="$?" | 4781 conftest_rc="$?" |
4781 echo "configure: failed program was:" >&5 | 4782 echo "configure: failed program was:" >&5 |
4793 EOF | 4794 EOF |
4794 } | 4795 } |
4795 | 4796 |
4796 | 4797 |
4797 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4798 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4798 echo "configure:4799: checking size of void *" >&5 | 4799 echo "configure:4800: checking size of void *" >&5 |
4799 | 4800 |
4800 cat > conftest.$ac_ext <<EOF | 4801 cat > conftest.$ac_ext <<EOF |
4801 #line 4802 "configure" | 4802 #line 4803 "configure" |
4802 #include "confdefs.h" | 4803 #include "confdefs.h" |
4803 #include <stdio.h> | 4804 #include <stdio.h> |
4804 int main() | 4805 int main() |
4805 { | 4806 { |
4806 FILE *f=fopen("conftestval", "w"); | 4807 FILE *f=fopen("conftestval", "w"); |
4807 if (!f) return(1); | 4808 if (!f) return(1); |
4808 fprintf(f, "%d\n", sizeof(void *)); | 4809 fprintf(f, "%d\n", sizeof(void *)); |
4809 return(0); | 4810 return(0); |
4810 } | 4811 } |
4811 EOF | 4812 EOF |
4812 if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4813 if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4813 then | 4814 then |
4814 ac_cv_sizeof_void_p=`cat conftestval` | 4815 ac_cv_sizeof_void_p=`cat conftestval` |
4815 else | 4816 else |
4816 conftest_rc="$?" | 4817 conftest_rc="$?" |
4817 echo "configure: failed program was:" >&5 | 4818 echo "configure: failed program was:" >&5 |
4830 } | 4831 } |
4831 | 4832 |
4832 | 4833 |
4833 | 4834 |
4834 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4835 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4835 echo "configure:4836: checking for long file names" >&5 | 4836 echo "configure:4837: checking for long file names" >&5 |
4836 | 4837 |
4837 ac_cv_sys_long_file_names=yes | 4838 ac_cv_sys_long_file_names=yes |
4838 # Test for long file names in all the places we know might matter: | 4839 # Test for long file names in all the places we know might matter: |
4839 # . the current directory, where building will happen | 4840 # . the current directory, where building will happen |
4840 # $prefix/lib where we will be installing things | 4841 # $prefix/lib where we will be installing things |
4876 | 4877 |
4877 fi | 4878 fi |
4878 | 4879 |
4879 | 4880 |
4880 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4881 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4881 echo "configure:4882: checking for sin" >&5 | 4882 echo "configure:4883: checking for sin" >&5 |
4882 | 4883 |
4883 cat > conftest.$ac_ext <<EOF | 4884 cat > conftest.$ac_ext <<EOF |
4884 #line 4885 "configure" | 4885 #line 4886 "configure" |
4885 #include "confdefs.h" | 4886 #include "confdefs.h" |
4886 /* System header to define __stub macros and hopefully few prototypes, | 4887 /* System header to define __stub macros and hopefully few prototypes, |
4887 which can conflict with char sin(); below. */ | 4888 which can conflict with char sin(); below. */ |
4888 #include <assert.h> | 4889 #include <assert.h> |
4889 /* Override any gcc2 internal prototype to avoid an error. */ | 4890 /* Override any gcc2 internal prototype to avoid an error. */ |
4902 sin(); | 4903 sin(); |
4903 #endif | 4904 #endif |
4904 | 4905 |
4905 ; return 0; } | 4906 ; return 0; } |
4906 EOF | 4907 EOF |
4907 if { (eval echo configure:4908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4908 rm -rf conftest* | 4909 rm -rf conftest* |
4909 eval "ac_cv_func_sin=yes" | 4910 eval "ac_cv_func_sin=yes" |
4910 else | 4911 else |
4911 echo "configure: failed program was:" >&5 | 4912 echo "configure: failed program was:" >&5 |
4912 cat conftest.$ac_ext >&5 | 4913 cat conftest.$ac_ext >&5 |
4920 : | 4921 : |
4921 else | 4922 else |
4922 echo "$ac_t""no" 1>&6 | 4923 echo "$ac_t""no" 1>&6 |
4923 | 4924 |
4924 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4925 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4925 echo "configure:4926: checking for sin in -lm" >&5 | 4926 echo "configure:4927: checking for sin in -lm" >&5 |
4926 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4927 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4927 | 4928 |
4928 xe_check_libs=" -lm " | 4929 xe_check_libs=" -lm " |
4929 cat > conftest.$ac_ext <<EOF | 4930 cat > conftest.$ac_ext <<EOF |
4930 #line 4931 "configure" | 4931 #line 4932 "configure" |
4931 #include "confdefs.h" | 4932 #include "confdefs.h" |
4932 /* Override any gcc2 internal prototype to avoid an error. */ | 4933 /* Override any gcc2 internal prototype to avoid an error. */ |
4933 /* We use char because int might match the return type of a gcc2 | 4934 /* We use char because int might match the return type of a gcc2 |
4934 builtin and then its argument prototype would still apply. */ | 4935 builtin and then its argument prototype would still apply. */ |
4935 char sin(); | 4936 char sin(); |
4936 | 4937 |
4937 int main() { | 4938 int main() { |
4938 sin() | 4939 sin() |
4939 ; return 0; } | 4940 ; return 0; } |
4940 EOF | 4941 EOF |
4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4942 rm -rf conftest* | 4943 rm -rf conftest* |
4943 eval "ac_cv_lib_$ac_lib_var=yes" | 4944 eval "ac_cv_lib_$ac_lib_var=yes" |
4944 else | 4945 else |
4945 echo "configure: failed program was:" >&5 | 4946 echo "configure: failed program was:" >&5 |
4946 cat conftest.$ac_ext >&5 | 4947 cat conftest.$ac_ext >&5 |
4971 | 4972 |
4972 fi | 4973 fi |
4973 | 4974 |
4974 | 4975 |
4975 cat > conftest.$ac_ext <<EOF | 4976 cat > conftest.$ac_ext <<EOF |
4976 #line 4977 "configure" | 4977 #line 4978 "configure" |
4977 #include "confdefs.h" | 4978 #include "confdefs.h" |
4978 #include <math.h> | 4979 #include <math.h> |
4979 int main() { | 4980 int main() { |
4980 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4981 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4981 ; return 0; } | 4982 ; return 0; } |
4982 EOF | 4983 EOF |
4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4984 rm -rf conftest* | 4985 rm -rf conftest* |
4985 { test "$extra_verbose" = "yes" && cat << \EOF | 4986 { test "$extra_verbose" = "yes" && cat << \EOF |
4986 Defining HAVE_INVERSE_HYPERBOLIC | 4987 Defining HAVE_INVERSE_HYPERBOLIC |
4987 EOF | 4988 EOF |
4988 cat >> confdefs.h <<\EOF | 4989 cat >> confdefs.h <<\EOF |
4997 rm -f conftest* | 4998 rm -f conftest* |
4998 | 4999 |
4999 for ac_func in mkstemp | 5000 for ac_func in mkstemp |
5000 do | 5001 do |
5001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5002 echo "configure:5003: checking for $ac_func" >&5 | 5003 echo "configure:5004: checking for $ac_func" >&5 |
5003 | 5004 |
5004 cat > conftest.$ac_ext <<EOF | 5005 cat > conftest.$ac_ext <<EOF |
5005 #line 5006 "configure" | 5006 #line 5007 "configure" |
5006 #include "confdefs.h" | 5007 #include "confdefs.h" |
5007 /* System header to define __stub macros and hopefully few prototypes, | 5008 /* System header to define __stub macros and hopefully few prototypes, |
5008 which can conflict with char $ac_func(); below. */ | 5009 which can conflict with char $ac_func(); below. */ |
5009 #include <assert.h> | 5010 #include <assert.h> |
5010 /* Override any gcc2 internal prototype to avoid an error. */ | 5011 /* Override any gcc2 internal prototype to avoid an error. */ |
5023 $ac_func(); | 5024 $ac_func(); |
5024 #endif | 5025 #endif |
5025 | 5026 |
5026 ; return 0; } | 5027 ; return 0; } |
5027 EOF | 5028 EOF |
5028 if { (eval echo configure:5029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5029 rm -rf conftest* | 5030 rm -rf conftest* |
5030 eval "ac_cv_func_$ac_func=yes" | 5031 eval "ac_cv_func_$ac_func=yes" |
5031 else | 5032 else |
5032 echo "configure: failed program was:" >&5 | 5033 echo "configure: failed program was:" >&5 |
5033 cat conftest.$ac_ext >&5 | 5034 cat conftest.$ac_ext >&5 |
5052 fi | 5053 fi |
5053 done | 5054 done |
5054 | 5055 |
5055 | 5056 |
5056 echo "checking type of mail spool file locking" 1>&6 | 5057 echo "checking type of mail spool file locking" 1>&6 |
5057 echo "configure:5058: checking type of mail spool file locking" >&5 | 5058 echo "configure:5059: checking type of mail spool file locking" >&5 |
5058 for ac_func in lockf flock | 5059 for ac_func in lockf flock |
5059 do | 5060 do |
5060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5061 echo "configure:5062: checking for $ac_func" >&5 | 5062 echo "configure:5063: checking for $ac_func" >&5 |
5062 | 5063 |
5063 cat > conftest.$ac_ext <<EOF | 5064 cat > conftest.$ac_ext <<EOF |
5064 #line 5065 "configure" | 5065 #line 5066 "configure" |
5065 #include "confdefs.h" | 5066 #include "confdefs.h" |
5066 /* System header to define __stub macros and hopefully few prototypes, | 5067 /* System header to define __stub macros and hopefully few prototypes, |
5067 which can conflict with char $ac_func(); below. */ | 5068 which can conflict with char $ac_func(); below. */ |
5068 #include <assert.h> | 5069 #include <assert.h> |
5069 /* Override any gcc2 internal prototype to avoid an error. */ | 5070 /* Override any gcc2 internal prototype to avoid an error. */ |
5082 $ac_func(); | 5083 $ac_func(); |
5083 #endif | 5084 #endif |
5084 | 5085 |
5085 ; return 0; } | 5086 ; return 0; } |
5086 EOF | 5087 EOF |
5087 if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5088 if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5088 rm -rf conftest* | 5089 rm -rf conftest* |
5089 eval "ac_cv_func_$ac_func=yes" | 5090 eval "ac_cv_func_$ac_func=yes" |
5090 else | 5091 else |
5091 echo "configure: failed program was:" >&5 | 5092 echo "configure: failed program was:" >&5 |
5092 cat conftest.$ac_ext >&5 | 5093 cat conftest.$ac_ext >&5 |
5164 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5165 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5165 | 5166 |
5166 case "$opsys" in decosf*) | 5167 case "$opsys" in decosf*) |
5167 | 5168 |
5168 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5169 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5169 echo "configure:5170: checking for cma_open in -lpthreads" >&5 | 5170 echo "configure:5171: checking for cma_open in -lpthreads" >&5 |
5170 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5171 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5171 | 5172 |
5172 xe_check_libs=" -lpthreads " | 5173 xe_check_libs=" -lpthreads " |
5173 cat > conftest.$ac_ext <<EOF | 5174 cat > conftest.$ac_ext <<EOF |
5174 #line 5175 "configure" | 5175 #line 5176 "configure" |
5175 #include "confdefs.h" | 5176 #include "confdefs.h" |
5176 /* Override any gcc2 internal prototype to avoid an error. */ | 5177 /* Override any gcc2 internal prototype to avoid an error. */ |
5177 /* We use char because int might match the return type of a gcc2 | 5178 /* We use char because int might match the return type of a gcc2 |
5178 builtin and then its argument prototype would still apply. */ | 5179 builtin and then its argument prototype would still apply. */ |
5179 char cma_open(); | 5180 char cma_open(); |
5180 | 5181 |
5181 int main() { | 5182 int main() { |
5182 cma_open() | 5183 cma_open() |
5183 ; return 0; } | 5184 ; return 0; } |
5184 EOF | 5185 EOF |
5185 if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5186 if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5186 rm -rf conftest* | 5187 rm -rf conftest* |
5187 eval "ac_cv_lib_$ac_lib_var=yes" | 5188 eval "ac_cv_lib_$ac_lib_var=yes" |
5188 else | 5189 else |
5189 echo "configure: failed program was:" >&5 | 5190 echo "configure: failed program was:" >&5 |
5190 cat conftest.$ac_ext >&5 | 5191 cat conftest.$ac_ext >&5 |
5217 c_switch_site="$c_switch_site -threads" ;; | 5218 c_switch_site="$c_switch_site -threads" ;; |
5218 esac | 5219 esac |
5219 | 5220 |
5220 | 5221 |
5221 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5222 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5222 echo "configure:5223: checking whether the -xildoff compiler flag is required" >&5 | 5223 echo "configure:5224: checking whether the -xildoff compiler flag is required" >&5 |
5223 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5224 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5224 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5225 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5225 then echo "$ac_t""no" 1>&6; | 5226 then echo "$ac_t""no" 1>&6; |
5226 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 | 5227 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 |
5227 fi | 5228 fi |
5229 fi | 5230 fi |
5230 | 5231 |
5231 if test "$opsys" = "sol2"; then | 5232 if test "$opsys" = "sol2"; then |
5232 if test "$os_release" -ge 506; then | 5233 if test "$os_release" -ge 506; then |
5233 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5234 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5234 echo "configure:5235: checking for \"-z ignore\" linker flag" >&5 | 5235 echo "configure:5236: checking for \"-z ignore\" linker flag" >&5 |
5235 case "`ld -h 2>&1`" in | 5236 case "`ld -h 2>&1`" in |
5236 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5237 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5237 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5238 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5238 *) echo "$ac_t""no" 1>&6 ;; | 5239 *) echo "$ac_t""no" 1>&6 ;; |
5239 esac | 5240 esac |
5240 fi | 5241 fi |
5241 fi | 5242 fi |
5242 | 5243 |
5243 | 5244 |
5244 echo "checking "for specified window system"" 1>&6 | 5245 echo "checking "for specified window system"" 1>&6 |
5245 echo "configure:5246: checking "for specified window system"" >&5 | 5246 echo "configure:5247: checking "for specified window system"" >&5 |
5246 | 5247 |
5247 | 5248 |
5248 GNOME_CONFIG=no | 5249 GNOME_CONFIG=no |
5249 GTK_CONFIG=no | 5250 GTK_CONFIG=no |
5250 | 5251 |
5251 if test "$with_gnome" != "no"; then | 5252 if test "$with_gnome" != "no"; then |
5252 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5253 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5253 echo "configure:5254: checking for GNOME configuration script" >&5 | 5254 echo "configure:5255: checking for GNOME configuration script" >&5 |
5254 for possible in gnome-config | 5255 for possible in gnome-config |
5255 do | 5256 do |
5256 possible_version=`${possible} --version 2> /dev/null` | 5257 possible_version=`${possible} --version 2> /dev/null` |
5257 if test "x${possible_version}" != "x"; then | 5258 if test "x${possible_version}" != "x"; then |
5258 GNOME_CONFIG="${possible}" | 5259 GNOME_CONFIG="${possible}" |
5279 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5280 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5280 fi | 5281 fi |
5281 | 5282 |
5282 if test "$with_gtk" != "no";then | 5283 if test "$with_gtk" != "no";then |
5283 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5284 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5284 echo "configure:5285: checking for GTK configuration script" >&5 | 5285 echo "configure:5286: checking for GTK configuration script" >&5 |
5285 for possible in gtk12-config gtk14-config gtk-config | 5286 for possible in gtk12-config gtk14-config gtk-config |
5286 do | 5287 do |
5287 possible_version=`${possible} --version 2> /dev/null` | 5288 possible_version=`${possible} --version 2> /dev/null` |
5288 if test "x${possible_version}" != "x"; then | 5289 if test "x${possible_version}" != "x"; then |
5289 GTK_CONFIG="${possible}" | 5290 GTK_CONFIG="${possible}" |
5301 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5302 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5302 fi | 5303 fi |
5303 | 5304 |
5304 if test "${GTK_CONFIG}" != "no"; then | 5305 if test "${GTK_CONFIG}" != "no"; then |
5305 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5306 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5306 echo "configure:5307: checking gtk version" >&5 | 5307 echo "configure:5308: checking gtk version" >&5 |
5307 GTK_VERSION=`${GTK_CONFIG} --version` | 5308 GTK_VERSION=`${GTK_CONFIG} --version` |
5308 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5309 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5309 | 5310 |
5310 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5311 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5311 echo "configure:5312: checking gtk libs" >&5 | 5312 echo "configure:5313: checking gtk libs" >&5 |
5312 GTK_LIBS=`${GTK_CONFIG} --libs` | 5313 GTK_LIBS=`${GTK_CONFIG} --libs` |
5313 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5314 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5314 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5315 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5315 | 5316 |
5316 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5317 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5317 echo "configure:5318: checking gtk cflags" >&5 | 5318 echo "configure:5319: checking gtk cflags" >&5 |
5318 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5319 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5319 if test "$GCC" = "yes"; then | 5320 if test "$GCC" = "yes"; then |
5320 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5321 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5321 fi | 5322 fi |
5322 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5323 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5323 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5324 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5324 | 5325 |
5325 | 5326 |
5326 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5327 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5327 echo "configure:5328: checking for main in -lgdk_imlib" >&5 | 5328 echo "configure:5329: checking for main in -lgdk_imlib" >&5 |
5328 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5329 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5329 | 5330 |
5330 xe_check_libs=" -lgdk_imlib " | 5331 xe_check_libs=" -lgdk_imlib " |
5331 cat > conftest.$ac_ext <<EOF | 5332 cat > conftest.$ac_ext <<EOF |
5332 #line 5333 "configure" | 5333 #line 5334 "configure" |
5333 #include "confdefs.h" | 5334 #include "confdefs.h" |
5334 | 5335 |
5335 int main() { | 5336 int main() { |
5336 main() | 5337 main() |
5337 ; return 0; } | 5338 ; return 0; } |
5338 EOF | 5339 EOF |
5339 if { (eval echo configure:5340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5340 rm -rf conftest* | 5341 rm -rf conftest* |
5341 eval "ac_cv_lib_$ac_lib_var=yes" | 5342 eval "ac_cv_lib_$ac_lib_var=yes" |
5342 else | 5343 else |
5343 echo "configure: failed program was:" >&5 | 5344 echo "configure: failed program was:" >&5 |
5344 cat conftest.$ac_ext >&5 | 5345 cat conftest.$ac_ext >&5 |
5356 fi | 5357 fi |
5357 | 5358 |
5358 | 5359 |
5359 | 5360 |
5360 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5361 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5361 echo "configure:5362: checking for Imlib_init in -lImlib" >&5 | 5362 echo "configure:5363: checking for Imlib_init in -lImlib" >&5 |
5362 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5363 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5363 | 5364 |
5364 xe_check_libs=" -lImlib " | 5365 xe_check_libs=" -lImlib " |
5365 cat > conftest.$ac_ext <<EOF | 5366 cat > conftest.$ac_ext <<EOF |
5366 #line 5367 "configure" | 5367 #line 5368 "configure" |
5367 #include "confdefs.h" | 5368 #include "confdefs.h" |
5368 /* Override any gcc2 internal prototype to avoid an error. */ | 5369 /* Override any gcc2 internal prototype to avoid an error. */ |
5369 /* We use char because int might match the return type of a gcc2 | 5370 /* We use char because int might match the return type of a gcc2 |
5370 builtin and then its argument prototype would still apply. */ | 5371 builtin and then its argument prototype would still apply. */ |
5371 char Imlib_init(); | 5372 char Imlib_init(); |
5372 | 5373 |
5373 int main() { | 5374 int main() { |
5374 Imlib_init() | 5375 Imlib_init() |
5375 ; return 0; } | 5376 ; return 0; } |
5376 EOF | 5377 EOF |
5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5378 if { (eval echo configure:5379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5378 rm -rf conftest* | 5379 rm -rf conftest* |
5379 eval "ac_cv_lib_$ac_lib_var=yes" | 5380 eval "ac_cv_lib_$ac_lib_var=yes" |
5380 else | 5381 else |
5381 echo "configure: failed program was:" >&5 | 5382 echo "configure: failed program was:" >&5 |
5382 cat conftest.$ac_ext >&5 | 5383 cat conftest.$ac_ext >&5 |
5395 | 5396 |
5396 | 5397 |
5397 for ac_func in gdk_imlib_init | 5398 for ac_func in gdk_imlib_init |
5398 do | 5399 do |
5399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5400 echo "configure:5401: checking for $ac_func" >&5 | 5401 echo "configure:5402: checking for $ac_func" >&5 |
5401 | 5402 |
5402 cat > conftest.$ac_ext <<EOF | 5403 cat > conftest.$ac_ext <<EOF |
5403 #line 5404 "configure" | 5404 #line 5405 "configure" |
5404 #include "confdefs.h" | 5405 #include "confdefs.h" |
5405 /* System header to define __stub macros and hopefully few prototypes, | 5406 /* System header to define __stub macros and hopefully few prototypes, |
5406 which can conflict with char $ac_func(); below. */ | 5407 which can conflict with char $ac_func(); below. */ |
5407 #include <assert.h> | 5408 #include <assert.h> |
5408 /* Override any gcc2 internal prototype to avoid an error. */ | 5409 /* Override any gcc2 internal prototype to avoid an error. */ |
5421 $ac_func(); | 5422 $ac_func(); |
5422 #endif | 5423 #endif |
5423 | 5424 |
5424 ; return 0; } | 5425 ; return 0; } |
5425 EOF | 5426 EOF |
5426 if { (eval echo configure:5427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5427 if { (eval echo configure:5428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5427 rm -rf conftest* | 5428 rm -rf conftest* |
5428 eval "ac_cv_func_$ac_func=yes" | 5429 eval "ac_cv_func_$ac_func=yes" |
5429 else | 5430 else |
5430 echo "configure: failed program was:" >&5 | 5431 echo "configure: failed program was:" >&5 |
5431 cat conftest.$ac_ext >&5 | 5432 cat conftest.$ac_ext >&5 |
5487 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5488 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5488 for ac_hdr in glade/glade.h glade.h | 5489 for ac_hdr in glade/glade.h glade.h |
5489 do | 5490 do |
5490 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5491 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5491 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5492 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5492 echo "configure:5493: checking for $ac_hdr" >&5 | 5493 echo "configure:5494: checking for $ac_hdr" >&5 |
5493 | 5494 |
5494 cat > conftest.$ac_ext <<EOF | 5495 cat > conftest.$ac_ext <<EOF |
5495 #line 5496 "configure" | 5496 #line 5497 "configure" |
5496 #include "confdefs.h" | 5497 #include "confdefs.h" |
5497 #include <$ac_hdr> | 5498 #include <$ac_hdr> |
5498 EOF | 5499 EOF |
5499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5500 { (eval echo configure:5501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5501 { (eval echo configure:5502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5502 if test -z "$ac_err"; then | 5503 if test -z "$ac_err"; then |
5503 rm -rf conftest* | 5504 rm -rf conftest* |
5504 eval "ac_cv_header_$ac_safe=yes" | 5505 eval "ac_cv_header_$ac_safe=yes" |
5505 else | 5506 else |
5526 fi | 5527 fi |
5527 done | 5528 done |
5528 | 5529 |
5529 | 5530 |
5530 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5531 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5531 echo "configure:5532: checking for main in -lxml" >&5 | 5532 echo "configure:5533: checking for main in -lxml" >&5 |
5532 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5533 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5533 | 5534 |
5534 xe_check_libs=" -lxml " | 5535 xe_check_libs=" -lxml " |
5535 cat > conftest.$ac_ext <<EOF | 5536 cat > conftest.$ac_ext <<EOF |
5536 #line 5537 "configure" | 5537 #line 5538 "configure" |
5537 #include "confdefs.h" | 5538 #include "confdefs.h" |
5538 | 5539 |
5539 int main() { | 5540 int main() { |
5540 main() | 5541 main() |
5541 ; return 0; } | 5542 ; return 0; } |
5542 EOF | 5543 EOF |
5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5544 if { (eval echo configure:5545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5544 rm -rf conftest* | 5545 rm -rf conftest* |
5545 eval "ac_cv_lib_$ac_lib_var=yes" | 5546 eval "ac_cv_lib_$ac_lib_var=yes" |
5546 else | 5547 else |
5547 echo "configure: failed program was:" >&5 | 5548 echo "configure: failed program was:" >&5 |
5548 cat conftest.$ac_ext >&5 | 5549 cat conftest.$ac_ext >&5 |
5560 fi | 5561 fi |
5561 | 5562 |
5562 | 5563 |
5563 | 5564 |
5564 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5565 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5565 echo "configure:5566: checking for main in -lglade" >&5 | 5566 echo "configure:5567: checking for main in -lglade" >&5 |
5566 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5567 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5567 | 5568 |
5568 xe_check_libs=" -lglade " | 5569 xe_check_libs=" -lglade " |
5569 cat > conftest.$ac_ext <<EOF | 5570 cat > conftest.$ac_ext <<EOF |
5570 #line 5571 "configure" | 5571 #line 5572 "configure" |
5571 #include "confdefs.h" | 5572 #include "confdefs.h" |
5572 | 5573 |
5573 int main() { | 5574 int main() { |
5574 main() | 5575 main() |
5575 ; return 0; } | 5576 ; return 0; } |
5576 EOF | 5577 EOF |
5577 if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5578 rm -rf conftest* | 5579 rm -rf conftest* |
5579 eval "ac_cv_lib_$ac_lib_var=yes" | 5580 eval "ac_cv_lib_$ac_lib_var=yes" |
5580 else | 5581 else |
5581 echo "configure: failed program was:" >&5 | 5582 echo "configure: failed program was:" >&5 |
5582 cat conftest.$ac_ext >&5 | 5583 cat conftest.$ac_ext >&5 |
5594 fi | 5595 fi |
5595 | 5596 |
5596 | 5597 |
5597 | 5598 |
5598 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5599 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5599 echo "configure:5600: checking for main in -lglade-gnome" >&5 | 5600 echo "configure:5601: checking for main in -lglade-gnome" >&5 |
5600 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5601 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5601 | 5602 |
5602 xe_check_libs=" -lglade-gnome " | 5603 xe_check_libs=" -lglade-gnome " |
5603 cat > conftest.$ac_ext <<EOF | 5604 cat > conftest.$ac_ext <<EOF |
5604 #line 5605 "configure" | 5605 #line 5606 "configure" |
5605 #include "confdefs.h" | 5606 #include "confdefs.h" |
5606 | 5607 |
5607 int main() { | 5608 int main() { |
5608 main() | 5609 main() |
5609 ; return 0; } | 5610 ; return 0; } |
5610 EOF | 5611 EOF |
5611 if { (eval echo configure:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5612 if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5612 rm -rf conftest* | 5613 rm -rf conftest* |
5613 eval "ac_cv_lib_$ac_lib_var=yes" | 5614 eval "ac_cv_lib_$ac_lib_var=yes" |
5614 else | 5615 else |
5615 echo "configure: failed program was:" >&5 | 5616 echo "configure: failed program was:" >&5 |
5616 cat conftest.$ac_ext >&5 | 5617 cat conftest.$ac_ext >&5 |
5627 echo "$ac_t""no" 1>&6 | 5628 echo "$ac_t""no" 1>&6 |
5628 fi | 5629 fi |
5629 | 5630 |
5630 | 5631 |
5631 cat > conftest.$ac_ext <<EOF | 5632 cat > conftest.$ac_ext <<EOF |
5632 #line 5633 "configure" | 5633 #line 5634 "configure" |
5633 #include "confdefs.h" | 5634 #include "confdefs.h" |
5634 #include <glade/glade-xml.h> | 5635 #include <glade/glade-xml.h> |
5635 EOF | 5636 EOF |
5636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5637 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5638 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5686 # If we find X, set shell vars x_includes and x_libraries to the | 5687 # If we find X, set shell vars x_includes and x_libraries to the |
5687 # paths, otherwise set no_x=yes. | 5688 # paths, otherwise set no_x=yes. |
5688 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5689 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5689 # --without-x overrides everything else, but does not touch the cache. | 5690 # --without-x overrides everything else, but does not touch the cache. |
5690 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5691 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5691 echo "configure:5692: checking for X" >&5 | 5692 echo "configure:5693: checking for X" >&5 |
5692 | 5693 |
5693 # Check whether --with-x or --without-x was given. | 5694 # Check whether --with-x or --without-x was given. |
5694 if test "${with_x+set}" = set; then | 5695 if test "${with_x+set}" = set; then |
5695 withval="$with_x" | 5696 withval="$with_x" |
5696 : | 5697 : |
5746 # Guess where to find include files, by looking for this one X11 .h file. | 5747 # Guess where to find include files, by looking for this one X11 .h file. |
5747 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5748 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5748 | 5749 |
5749 # First, try using that file with no special directory specified. | 5750 # First, try using that file with no special directory specified. |
5750 cat > conftest.$ac_ext <<EOF | 5751 cat > conftest.$ac_ext <<EOF |
5751 #line 5752 "configure" | 5752 #line 5753 "configure" |
5752 #include "confdefs.h" | 5753 #include "confdefs.h" |
5753 #include <$x_direct_test_include> | 5754 #include <$x_direct_test_include> |
5754 EOF | 5755 EOF |
5755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5756 { (eval echo configure:5757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5757 { (eval echo configure:5758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5758 if test -z "$ac_err"; then | 5759 if test -z "$ac_err"; then |
5759 rm -rf conftest* | 5760 rm -rf conftest* |
5760 # We can compile using X headers with no special include directory. | 5761 # We can compile using X headers with no special include directory. |
5761 ac_x_includes= | 5762 ac_x_includes= |
5820 # See if we find them without any special options. | 5821 # See if we find them without any special options. |
5821 # Don't add to $LIBS permanently. | 5822 # Don't add to $LIBS permanently. |
5822 ac_save_LIBS="$LIBS" | 5823 ac_save_LIBS="$LIBS" |
5823 LIBS="-l$x_direct_test_library $LIBS" | 5824 LIBS="-l$x_direct_test_library $LIBS" |
5824 cat > conftest.$ac_ext <<EOF | 5825 cat > conftest.$ac_ext <<EOF |
5825 #line 5826 "configure" | 5826 #line 5827 "configure" |
5826 #include "confdefs.h" | 5827 #include "confdefs.h" |
5827 | 5828 |
5828 int main() { | 5829 int main() { |
5829 ${x_direct_test_function}() | 5830 ${x_direct_test_function}() |
5830 ; return 0; } | 5831 ; return 0; } |
5831 EOF | 5832 EOF |
5832 if { (eval echo configure:5833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5833 if { (eval echo configure:5834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5833 rm -rf conftest* | 5834 rm -rf conftest* |
5834 LIBS="$ac_save_LIBS" | 5835 LIBS="$ac_save_LIBS" |
5835 # We can link X programs with no special library path. | 5836 # We can link X programs with no special library path. |
5836 ac_x_libraries= | 5837 ac_x_libraries= |
5837 else | 5838 else |
5936 # For Solaris; some versions of Sun CC require a space after -R and | 5937 # For Solaris; some versions of Sun CC require a space after -R and |
5937 # others require no space. Words are not sufficient . . . . | 5938 # others require no space. Words are not sufficient . . . . |
5938 case "`(uname -sr) 2>/dev/null`" in | 5939 case "`(uname -sr) 2>/dev/null`" in |
5939 "SunOS 5"*) | 5940 "SunOS 5"*) |
5940 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5941 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5941 echo "configure:5942: checking whether -R must be followed by a space" >&5 | 5942 echo "configure:5943: checking whether -R must be followed by a space" >&5 |
5942 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5943 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5943 cat > conftest.$ac_ext <<EOF | 5944 cat > conftest.$ac_ext <<EOF |
5944 #line 5945 "configure" | 5945 #line 5946 "configure" |
5945 #include "confdefs.h" | 5946 #include "confdefs.h" |
5946 | 5947 |
5947 int main() { | 5948 int main() { |
5948 | 5949 |
5949 ; return 0; } | 5950 ; return 0; } |
5950 EOF | 5951 EOF |
5951 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5952 rm -rf conftest* | 5953 rm -rf conftest* |
5953 ac_R_nospace=yes | 5954 ac_R_nospace=yes |
5954 else | 5955 else |
5955 echo "configure: failed program was:" >&5 | 5956 echo "configure: failed program was:" >&5 |
5956 cat conftest.$ac_ext >&5 | 5957 cat conftest.$ac_ext >&5 |
5962 echo "$ac_t""no" 1>&6 | 5963 echo "$ac_t""no" 1>&6 |
5963 X_LIBS="$X_LIBS -R$x_libraries" | 5964 X_LIBS="$X_LIBS -R$x_libraries" |
5964 else | 5965 else |
5965 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5966 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5966 cat > conftest.$ac_ext <<EOF | 5967 cat > conftest.$ac_ext <<EOF |
5967 #line 5968 "configure" | 5968 #line 5969 "configure" |
5968 #include "confdefs.h" | 5969 #include "confdefs.h" |
5969 | 5970 |
5970 int main() { | 5971 int main() { |
5971 | 5972 |
5972 ; return 0; } | 5973 ; return 0; } |
5973 EOF | 5974 EOF |
5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5975 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5975 rm -rf conftest* | 5976 rm -rf conftest* |
5976 ac_R_space=yes | 5977 ac_R_space=yes |
5977 else | 5978 else |
5978 echo "configure: failed program was:" >&5 | 5979 echo "configure: failed program was:" >&5 |
5979 cat conftest.$ac_ext >&5 | 5980 cat conftest.$ac_ext >&5 |
6005 if test "$with_dnet" = "no" ; then | 6006 if test "$with_dnet" = "no" ; then |
6006 ac_cv_lib_dnet_dnet_ntoa=no | 6007 ac_cv_lib_dnet_dnet_ntoa=no |
6007 else | 6008 else |
6008 | 6009 |
6009 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6010 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6010 echo "configure:6011: checking for dnet_ntoa in -ldnet" >&5 | 6011 echo "configure:6012: checking for dnet_ntoa in -ldnet" >&5 |
6011 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6012 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6012 | 6013 |
6013 xe_check_libs=" -ldnet " | 6014 xe_check_libs=" -ldnet " |
6014 cat > conftest.$ac_ext <<EOF | 6015 cat > conftest.$ac_ext <<EOF |
6015 #line 6016 "configure" | 6016 #line 6017 "configure" |
6016 #include "confdefs.h" | 6017 #include "confdefs.h" |
6017 /* Override any gcc2 internal prototype to avoid an error. */ | 6018 /* Override any gcc2 internal prototype to avoid an error. */ |
6018 /* We use char because int might match the return type of a gcc2 | 6019 /* We use char because int might match the return type of a gcc2 |
6019 builtin and then its argument prototype would still apply. */ | 6020 builtin and then its argument prototype would still apply. */ |
6020 char dnet_ntoa(); | 6021 char dnet_ntoa(); |
6021 | 6022 |
6022 int main() { | 6023 int main() { |
6023 dnet_ntoa() | 6024 dnet_ntoa() |
6024 ; return 0; } | 6025 ; return 0; } |
6025 EOF | 6026 EOF |
6026 if { (eval echo configure:6027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6027 if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6027 rm -rf conftest* | 6028 rm -rf conftest* |
6028 eval "ac_cv_lib_$ac_lib_var=yes" | 6029 eval "ac_cv_lib_$ac_lib_var=yes" |
6029 else | 6030 else |
6030 echo "configure: failed program was:" >&5 | 6031 echo "configure: failed program was:" >&5 |
6031 cat conftest.$ac_ext >&5 | 6032 cat conftest.$ac_ext >&5 |
6045 fi | 6046 fi |
6046 | 6047 |
6047 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6048 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6048 | 6049 |
6049 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6050 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6050 echo "configure:6051: checking for dnet_ntoa in -ldnet_stub" >&5 | 6051 echo "configure:6052: checking for dnet_ntoa in -ldnet_stub" >&5 |
6051 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6052 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6052 | 6053 |
6053 xe_check_libs=" -ldnet_stub " | 6054 xe_check_libs=" -ldnet_stub " |
6054 cat > conftest.$ac_ext <<EOF | 6055 cat > conftest.$ac_ext <<EOF |
6055 #line 6056 "configure" | 6056 #line 6057 "configure" |
6056 #include "confdefs.h" | 6057 #include "confdefs.h" |
6057 /* Override any gcc2 internal prototype to avoid an error. */ | 6058 /* Override any gcc2 internal prototype to avoid an error. */ |
6058 /* We use char because int might match the return type of a gcc2 | 6059 /* We use char because int might match the return type of a gcc2 |
6059 builtin and then its argument prototype would still apply. */ | 6060 builtin and then its argument prototype would still apply. */ |
6060 char dnet_ntoa(); | 6061 char dnet_ntoa(); |
6061 | 6062 |
6062 int main() { | 6063 int main() { |
6063 dnet_ntoa() | 6064 dnet_ntoa() |
6064 ; return 0; } | 6065 ; return 0; } |
6065 EOF | 6066 EOF |
6066 if { (eval echo configure:6067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6067 if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6067 rm -rf conftest* | 6068 rm -rf conftest* |
6068 eval "ac_cv_lib_$ac_lib_var=yes" | 6069 eval "ac_cv_lib_$ac_lib_var=yes" |
6069 else | 6070 else |
6070 echo "configure: failed program was:" >&5 | 6071 echo "configure: failed program was:" >&5 |
6071 cat conftest.$ac_ext >&5 | 6072 cat conftest.$ac_ext >&5 |
6090 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6091 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6091 # needs -lnsl. | 6092 # needs -lnsl. |
6092 # The nsl library prevents programs from opening the X display | 6093 # The nsl library prevents programs from opening the X display |
6093 # on Irix 5.2, according to dickey@clark.net. | 6094 # on Irix 5.2, according to dickey@clark.net. |
6094 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6095 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6095 echo "configure:6096: checking for gethostbyname" >&5 | 6096 echo "configure:6097: checking for gethostbyname" >&5 |
6096 | 6097 |
6097 cat > conftest.$ac_ext <<EOF | 6098 cat > conftest.$ac_ext <<EOF |
6098 #line 6099 "configure" | 6099 #line 6100 "configure" |
6099 #include "confdefs.h" | 6100 #include "confdefs.h" |
6100 /* System header to define __stub macros and hopefully few prototypes, | 6101 /* System header to define __stub macros and hopefully few prototypes, |
6101 which can conflict with char gethostbyname(); below. */ | 6102 which can conflict with char gethostbyname(); below. */ |
6102 #include <assert.h> | 6103 #include <assert.h> |
6103 /* Override any gcc2 internal prototype to avoid an error. */ | 6104 /* Override any gcc2 internal prototype to avoid an error. */ |
6116 gethostbyname(); | 6117 gethostbyname(); |
6117 #endif | 6118 #endif |
6118 | 6119 |
6119 ; return 0; } | 6120 ; return 0; } |
6120 EOF | 6121 EOF |
6121 if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6122 rm -rf conftest* | 6123 rm -rf conftest* |
6123 eval "ac_cv_func_gethostbyname=yes" | 6124 eval "ac_cv_func_gethostbyname=yes" |
6124 else | 6125 else |
6125 echo "configure: failed program was:" >&5 | 6126 echo "configure: failed program was:" >&5 |
6126 cat conftest.$ac_ext >&5 | 6127 cat conftest.$ac_ext >&5 |
6137 fi | 6138 fi |
6138 | 6139 |
6139 if test $ac_cv_func_gethostbyname = no; then | 6140 if test $ac_cv_func_gethostbyname = no; then |
6140 | 6141 |
6141 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6142 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6142 echo "configure:6143: checking for gethostbyname in -lnsl" >&5 | 6143 echo "configure:6144: checking for gethostbyname in -lnsl" >&5 |
6143 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6144 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6144 | 6145 |
6145 xe_check_libs=" -lnsl " | 6146 xe_check_libs=" -lnsl " |
6146 cat > conftest.$ac_ext <<EOF | 6147 cat > conftest.$ac_ext <<EOF |
6147 #line 6148 "configure" | 6148 #line 6149 "configure" |
6148 #include "confdefs.h" | 6149 #include "confdefs.h" |
6149 /* Override any gcc2 internal prototype to avoid an error. */ | 6150 /* Override any gcc2 internal prototype to avoid an error. */ |
6150 /* We use char because int might match the return type of a gcc2 | 6151 /* We use char because int might match the return type of a gcc2 |
6151 builtin and then its argument prototype would still apply. */ | 6152 builtin and then its argument prototype would still apply. */ |
6152 char gethostbyname(); | 6153 char gethostbyname(); |
6153 | 6154 |
6154 int main() { | 6155 int main() { |
6155 gethostbyname() | 6156 gethostbyname() |
6156 ; return 0; } | 6157 ; return 0; } |
6157 EOF | 6158 EOF |
6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6159 if { (eval echo configure:6160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6159 rm -rf conftest* | 6160 rm -rf conftest* |
6160 eval "ac_cv_lib_$ac_lib_var=yes" | 6161 eval "ac_cv_lib_$ac_lib_var=yes" |
6161 else | 6162 else |
6162 echo "configure: failed program was:" >&5 | 6163 echo "configure: failed program was:" >&5 |
6163 cat conftest.$ac_ext >&5 | 6164 cat conftest.$ac_ext >&5 |
6183 # on later versions), says simon@lia.di.epfl.ch: it contains | 6184 # on later versions), says simon@lia.di.epfl.ch: it contains |
6184 # gethostby* variants that don't use the nameserver (or something). | 6185 # gethostby* variants that don't use the nameserver (or something). |
6185 # -lsocket must be given before -lnsl if both are needed. | 6186 # -lsocket must be given before -lnsl if both are needed. |
6186 # We assume that if connect needs -lnsl, so does gethostbyname. | 6187 # We assume that if connect needs -lnsl, so does gethostbyname. |
6187 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6188 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6188 echo "configure:6189: checking for connect" >&5 | 6189 echo "configure:6190: checking for connect" >&5 |
6189 | 6190 |
6190 cat > conftest.$ac_ext <<EOF | 6191 cat > conftest.$ac_ext <<EOF |
6191 #line 6192 "configure" | 6192 #line 6193 "configure" |
6192 #include "confdefs.h" | 6193 #include "confdefs.h" |
6193 /* System header to define __stub macros and hopefully few prototypes, | 6194 /* System header to define __stub macros and hopefully few prototypes, |
6194 which can conflict with char connect(); below. */ | 6195 which can conflict with char connect(); below. */ |
6195 #include <assert.h> | 6196 #include <assert.h> |
6196 /* Override any gcc2 internal prototype to avoid an error. */ | 6197 /* Override any gcc2 internal prototype to avoid an error. */ |
6209 connect(); | 6210 connect(); |
6210 #endif | 6211 #endif |
6211 | 6212 |
6212 ; return 0; } | 6213 ; return 0; } |
6213 EOF | 6214 EOF |
6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6215 if { (eval echo configure:6216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6215 rm -rf conftest* | 6216 rm -rf conftest* |
6216 eval "ac_cv_func_connect=yes" | 6217 eval "ac_cv_func_connect=yes" |
6217 else | 6218 else |
6218 echo "configure: failed program was:" >&5 | 6219 echo "configure: failed program was:" >&5 |
6219 cat conftest.$ac_ext >&5 | 6220 cat conftest.$ac_ext >&5 |
6232 if test $ac_cv_func_connect = no; then | 6233 if test $ac_cv_func_connect = no; then |
6233 | 6234 |
6234 xe_msg_checking="for connect in -lsocket" | 6235 xe_msg_checking="for connect in -lsocket" |
6235 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6236 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6236 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6237 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6237 echo "configure:6238: checking "$xe_msg_checking"" >&5 | 6238 echo "configure:6239: checking "$xe_msg_checking"" >&5 |
6238 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6239 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6239 | 6240 |
6240 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6241 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6241 cat > conftest.$ac_ext <<EOF | 6242 cat > conftest.$ac_ext <<EOF |
6242 #line 6243 "configure" | 6243 #line 6244 "configure" |
6243 #include "confdefs.h" | 6244 #include "confdefs.h" |
6244 /* Override any gcc2 internal prototype to avoid an error. */ | 6245 /* Override any gcc2 internal prototype to avoid an error. */ |
6245 /* We use char because int might match the return type of a gcc2 | 6246 /* We use char because int might match the return type of a gcc2 |
6246 builtin and then its argument prototype would still apply. */ | 6247 builtin and then its argument prototype would still apply. */ |
6247 char connect(); | 6248 char connect(); |
6248 | 6249 |
6249 int main() { | 6250 int main() { |
6250 connect() | 6251 connect() |
6251 ; return 0; } | 6252 ; return 0; } |
6252 EOF | 6253 EOF |
6253 if { (eval echo configure:6254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6254 if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6254 rm -rf conftest* | 6255 rm -rf conftest* |
6255 eval "ac_cv_lib_$ac_lib_var=yes" | 6256 eval "ac_cv_lib_$ac_lib_var=yes" |
6256 else | 6257 else |
6257 echo "configure: failed program was:" >&5 | 6258 echo "configure: failed program was:" >&5 |
6258 cat conftest.$ac_ext >&5 | 6259 cat conftest.$ac_ext >&5 |
6272 | 6273 |
6273 fi | 6274 fi |
6274 | 6275 |
6275 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6276 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6276 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6277 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6277 echo "configure:6278: checking for remove" >&5 | 6278 echo "configure:6279: checking for remove" >&5 |
6278 | 6279 |
6279 cat > conftest.$ac_ext <<EOF | 6280 cat > conftest.$ac_ext <<EOF |
6280 #line 6281 "configure" | 6281 #line 6282 "configure" |
6281 #include "confdefs.h" | 6282 #include "confdefs.h" |
6282 /* System header to define __stub macros and hopefully few prototypes, | 6283 /* System header to define __stub macros and hopefully few prototypes, |
6283 which can conflict with char remove(); below. */ | 6284 which can conflict with char remove(); below. */ |
6284 #include <assert.h> | 6285 #include <assert.h> |
6285 /* Override any gcc2 internal prototype to avoid an error. */ | 6286 /* Override any gcc2 internal prototype to avoid an error. */ |
6298 remove(); | 6299 remove(); |
6299 #endif | 6300 #endif |
6300 | 6301 |
6301 ; return 0; } | 6302 ; return 0; } |
6302 EOF | 6303 EOF |
6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6304 if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6304 rm -rf conftest* | 6305 rm -rf conftest* |
6305 eval "ac_cv_func_remove=yes" | 6306 eval "ac_cv_func_remove=yes" |
6306 else | 6307 else |
6307 echo "configure: failed program was:" >&5 | 6308 echo "configure: failed program was:" >&5 |
6308 cat conftest.$ac_ext >&5 | 6309 cat conftest.$ac_ext >&5 |
6319 fi | 6320 fi |
6320 | 6321 |
6321 if test $ac_cv_func_remove = no; then | 6322 if test $ac_cv_func_remove = no; then |
6322 | 6323 |
6323 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6324 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6324 echo "configure:6325: checking for remove in -lposix" >&5 | 6325 echo "configure:6326: checking for remove in -lposix" >&5 |
6325 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6326 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6326 | 6327 |
6327 xe_check_libs=" -lposix " | 6328 xe_check_libs=" -lposix " |
6328 cat > conftest.$ac_ext <<EOF | 6329 cat > conftest.$ac_ext <<EOF |
6329 #line 6330 "configure" | 6330 #line 6331 "configure" |
6330 #include "confdefs.h" | 6331 #include "confdefs.h" |
6331 /* Override any gcc2 internal prototype to avoid an error. */ | 6332 /* Override any gcc2 internal prototype to avoid an error. */ |
6332 /* We use char because int might match the return type of a gcc2 | 6333 /* We use char because int might match the return type of a gcc2 |
6333 builtin and then its argument prototype would still apply. */ | 6334 builtin and then its argument prototype would still apply. */ |
6334 char remove(); | 6335 char remove(); |
6335 | 6336 |
6336 int main() { | 6337 int main() { |
6337 remove() | 6338 remove() |
6338 ; return 0; } | 6339 ; return 0; } |
6339 EOF | 6340 EOF |
6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6341 rm -rf conftest* | 6342 rm -rf conftest* |
6342 eval "ac_cv_lib_$ac_lib_var=yes" | 6343 eval "ac_cv_lib_$ac_lib_var=yes" |
6343 else | 6344 else |
6344 echo "configure: failed program was:" >&5 | 6345 echo "configure: failed program was:" >&5 |
6345 cat conftest.$ac_ext >&5 | 6346 cat conftest.$ac_ext >&5 |
6359 | 6360 |
6360 fi | 6361 fi |
6361 | 6362 |
6362 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6363 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6363 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6364 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6364 echo "configure:6365: checking for shmat" >&5 | 6365 echo "configure:6366: checking for shmat" >&5 |
6365 | 6366 |
6366 cat > conftest.$ac_ext <<EOF | 6367 cat > conftest.$ac_ext <<EOF |
6367 #line 6368 "configure" | 6368 #line 6369 "configure" |
6368 #include "confdefs.h" | 6369 #include "confdefs.h" |
6369 /* System header to define __stub macros and hopefully few prototypes, | 6370 /* System header to define __stub macros and hopefully few prototypes, |
6370 which can conflict with char shmat(); below. */ | 6371 which can conflict with char shmat(); below. */ |
6371 #include <assert.h> | 6372 #include <assert.h> |
6372 /* Override any gcc2 internal prototype to avoid an error. */ | 6373 /* Override any gcc2 internal prototype to avoid an error. */ |
6385 shmat(); | 6386 shmat(); |
6386 #endif | 6387 #endif |
6387 | 6388 |
6388 ; return 0; } | 6389 ; return 0; } |
6389 EOF | 6390 EOF |
6390 if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6391 if { (eval echo configure:6392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6391 rm -rf conftest* | 6392 rm -rf conftest* |
6392 eval "ac_cv_func_shmat=yes" | 6393 eval "ac_cv_func_shmat=yes" |
6393 else | 6394 else |
6394 echo "configure: failed program was:" >&5 | 6395 echo "configure: failed program was:" >&5 |
6395 cat conftest.$ac_ext >&5 | 6396 cat conftest.$ac_ext >&5 |
6406 fi | 6407 fi |
6407 | 6408 |
6408 if test $ac_cv_func_shmat = no; then | 6409 if test $ac_cv_func_shmat = no; then |
6409 | 6410 |
6410 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6411 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6411 echo "configure:6412: checking for shmat in -lipc" >&5 | 6412 echo "configure:6413: checking for shmat in -lipc" >&5 |
6412 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6413 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6413 | 6414 |
6414 xe_check_libs=" -lipc " | 6415 xe_check_libs=" -lipc " |
6415 cat > conftest.$ac_ext <<EOF | 6416 cat > conftest.$ac_ext <<EOF |
6416 #line 6417 "configure" | 6417 #line 6418 "configure" |
6417 #include "confdefs.h" | 6418 #include "confdefs.h" |
6418 /* Override any gcc2 internal prototype to avoid an error. */ | 6419 /* Override any gcc2 internal prototype to avoid an error. */ |
6419 /* We use char because int might match the return type of a gcc2 | 6420 /* We use char because int might match the return type of a gcc2 |
6420 builtin and then its argument prototype would still apply. */ | 6421 builtin and then its argument prototype would still apply. */ |
6421 char shmat(); | 6422 char shmat(); |
6422 | 6423 |
6423 int main() { | 6424 int main() { |
6424 shmat() | 6425 shmat() |
6425 ; return 0; } | 6426 ; return 0; } |
6426 EOF | 6427 EOF |
6427 if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6428 rm -rf conftest* | 6429 rm -rf conftest* |
6429 eval "ac_cv_lib_$ac_lib_var=yes" | 6430 eval "ac_cv_lib_$ac_lib_var=yes" |
6430 else | 6431 else |
6431 echo "configure: failed program was:" >&5 | 6432 echo "configure: failed program was:" >&5 |
6432 cat conftest.$ac_ext >&5 | 6433 cat conftest.$ac_ext >&5 |
6458 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6459 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6459 | 6460 |
6460 xe_msg_checking="for IceConnectionNumber in -lICE" | 6461 xe_msg_checking="for IceConnectionNumber in -lICE" |
6461 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6462 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6462 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6463 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6463 echo "configure:6464: checking "$xe_msg_checking"" >&5 | 6464 echo "configure:6465: checking "$xe_msg_checking"" >&5 |
6464 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6465 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6465 | 6466 |
6466 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6467 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6467 cat > conftest.$ac_ext <<EOF | 6468 cat > conftest.$ac_ext <<EOF |
6468 #line 6469 "configure" | 6469 #line 6470 "configure" |
6469 #include "confdefs.h" | 6470 #include "confdefs.h" |
6470 /* Override any gcc2 internal prototype to avoid an error. */ | 6471 /* Override any gcc2 internal prototype to avoid an error. */ |
6471 /* We use char because int might match the return type of a gcc2 | 6472 /* We use char because int might match the return type of a gcc2 |
6472 builtin and then its argument prototype would still apply. */ | 6473 builtin and then its argument prototype would still apply. */ |
6473 char IceConnectionNumber(); | 6474 char IceConnectionNumber(); |
6474 | 6475 |
6475 int main() { | 6476 int main() { |
6476 IceConnectionNumber() | 6477 IceConnectionNumber() |
6477 ; return 0; } | 6478 ; return 0; } |
6478 EOF | 6479 EOF |
6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6480 if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6480 rm -rf conftest* | 6481 rm -rf conftest* |
6481 eval "ac_cv_lib_$ac_lib_var=yes" | 6482 eval "ac_cv_lib_$ac_lib_var=yes" |
6482 else | 6483 else |
6483 echo "configure: failed program was:" >&5 | 6484 echo "configure: failed program was:" >&5 |
6484 cat conftest.$ac_ext >&5 | 6485 cat conftest.$ac_ext >&5 |
6520 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6521 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6521 | 6522 |
6522 | 6523 |
6523 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6524 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6524 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6525 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6525 echo "configure:6526: checking for Xm/Xm.h" >&5 | 6526 echo "configure:6527: checking for Xm/Xm.h" >&5 |
6526 | 6527 |
6527 cat > conftest.$ac_ext <<EOF | 6528 cat > conftest.$ac_ext <<EOF |
6528 #line 6529 "configure" | 6529 #line 6530 "configure" |
6529 #include "confdefs.h" | 6530 #include "confdefs.h" |
6530 #include <Xm/Xm.h> | 6531 #include <Xm/Xm.h> |
6531 EOF | 6532 EOF |
6532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6533 { (eval echo configure:6534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6534 { (eval echo configure:6535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6535 if test -z "$ac_err"; then | 6536 if test -z "$ac_err"; then |
6536 rm -rf conftest* | 6537 rm -rf conftest* |
6537 eval "ac_cv_header_$ac_safe=yes" | 6538 eval "ac_cv_header_$ac_safe=yes" |
6538 else | 6539 else |
6545 rm -f conftest* | 6546 rm -f conftest* |
6546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6547 echo "$ac_t""yes" 1>&6 | 6548 echo "$ac_t""yes" 1>&6 |
6548 | 6549 |
6549 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6550 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6550 echo "configure:6551: checking for XmStringFree in -lXm" >&5 | 6551 echo "configure:6552: checking for XmStringFree in -lXm" >&5 |
6551 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6552 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6552 | 6553 |
6553 xe_check_libs=" -lXm " | 6554 xe_check_libs=" -lXm " |
6554 cat > conftest.$ac_ext <<EOF | 6555 cat > conftest.$ac_ext <<EOF |
6555 #line 6556 "configure" | 6556 #line 6557 "configure" |
6556 #include "confdefs.h" | 6557 #include "confdefs.h" |
6557 /* Override any gcc2 internal prototype to avoid an error. */ | 6558 /* Override any gcc2 internal prototype to avoid an error. */ |
6558 /* We use char because int might match the return type of a gcc2 | 6559 /* We use char because int might match the return type of a gcc2 |
6559 builtin and then its argument prototype would still apply. */ | 6560 builtin and then its argument prototype would still apply. */ |
6560 char XmStringFree(); | 6561 char XmStringFree(); |
6561 | 6562 |
6562 int main() { | 6563 int main() { |
6563 XmStringFree() | 6564 XmStringFree() |
6564 ; return 0; } | 6565 ; return 0; } |
6565 EOF | 6566 EOF |
6566 if { (eval echo configure:6567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6567 if { (eval echo configure:6568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6567 rm -rf conftest* | 6568 rm -rf conftest* |
6568 eval "ac_cv_lib_$ac_lib_var=yes" | 6569 eval "ac_cv_lib_$ac_lib_var=yes" |
6569 else | 6570 else |
6570 echo "configure: failed program was:" >&5 | 6571 echo "configure: failed program was:" >&5 |
6571 cat conftest.$ac_ext >&5 | 6572 cat conftest.$ac_ext >&5 |
6713 EOF | 6714 EOF |
6714 } | 6715 } |
6715 | 6716 |
6716 | 6717 |
6717 echo "checking for X defines extracted by xmkmf" 1>&6 | 6718 echo "checking for X defines extracted by xmkmf" 1>&6 |
6718 echo "configure:6719: checking for X defines extracted by xmkmf" >&5 | 6719 echo "configure:6720: checking for X defines extracted by xmkmf" >&5 |
6719 rm -fr conftestdir | 6720 rm -fr conftestdir |
6720 if mkdir conftestdir; then | 6721 if mkdir conftestdir; then |
6721 cd conftestdir | 6722 cd conftestdir |
6722 cat > Imakefile <<'EOF' | 6723 cat > Imakefile <<'EOF' |
6723 xetest: | 6724 xetest: |
6762 done | 6763 done |
6763 fi | 6764 fi |
6764 | 6765 |
6765 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6766 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6766 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6767 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6767 echo "configure:6768: checking for X11/Intrinsic.h" >&5 | 6768 echo "configure:6769: checking for X11/Intrinsic.h" >&5 |
6768 | 6769 |
6769 cat > conftest.$ac_ext <<EOF | 6770 cat > conftest.$ac_ext <<EOF |
6770 #line 6771 "configure" | 6771 #line 6772 "configure" |
6771 #include "confdefs.h" | 6772 #include "confdefs.h" |
6772 #include <X11/Intrinsic.h> | 6773 #include <X11/Intrinsic.h> |
6773 EOF | 6774 EOF |
6774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6775 { (eval echo configure:6776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6776 { (eval echo configure:6777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6777 if test -z "$ac_err"; then | 6778 if test -z "$ac_err"; then |
6778 rm -rf conftest* | 6779 rm -rf conftest* |
6779 eval "ac_cv_header_$ac_safe=yes" | 6780 eval "ac_cv_header_$ac_safe=yes" |
6780 else | 6781 else |
6794 fi | 6795 fi |
6795 | 6796 |
6796 | 6797 |
6797 | 6798 |
6798 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6799 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6799 echo "configure:6800: checking for XOpenDisplay in -lX11" >&5 | 6800 echo "configure:6801: checking for XOpenDisplay in -lX11" >&5 |
6800 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6801 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6801 | 6802 |
6802 xe_check_libs=" -lX11 " | 6803 xe_check_libs=" -lX11 " |
6803 cat > conftest.$ac_ext <<EOF | 6804 cat > conftest.$ac_ext <<EOF |
6804 #line 6805 "configure" | 6805 #line 6806 "configure" |
6805 #include "confdefs.h" | 6806 #include "confdefs.h" |
6806 /* Override any gcc2 internal prototype to avoid an error. */ | 6807 /* Override any gcc2 internal prototype to avoid an error. */ |
6807 /* We use char because int might match the return type of a gcc2 | 6808 /* We use char because int might match the return type of a gcc2 |
6808 builtin and then its argument prototype would still apply. */ | 6809 builtin and then its argument prototype would still apply. */ |
6809 char XOpenDisplay(); | 6810 char XOpenDisplay(); |
6810 | 6811 |
6811 int main() { | 6812 int main() { |
6812 XOpenDisplay() | 6813 XOpenDisplay() |
6813 ; return 0; } | 6814 ; return 0; } |
6814 EOF | 6815 EOF |
6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6816 if { (eval echo configure:6817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6816 rm -rf conftest* | 6817 rm -rf conftest* |
6817 eval "ac_cv_lib_$ac_lib_var=yes" | 6818 eval "ac_cv_lib_$ac_lib_var=yes" |
6818 else | 6819 else |
6819 echo "configure: failed program was:" >&5 | 6820 echo "configure: failed program was:" >&5 |
6820 cat conftest.$ac_ext >&5 | 6821 cat conftest.$ac_ext >&5 |
6835 if test "$have_lib_x11" != "yes"; then | 6836 if test "$have_lib_x11" != "yes"; then |
6836 | 6837 |
6837 xe_msg_checking="for XGetFontProperty in -lX11" | 6838 xe_msg_checking="for XGetFontProperty in -lX11" |
6838 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6839 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6839 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6840 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6840 echo "configure:6841: checking "$xe_msg_checking"" >&5 | 6841 echo "configure:6842: checking "$xe_msg_checking"" >&5 |
6841 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6842 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6842 | 6843 |
6843 xe_check_libs=" -lX11 -b i486-linuxaout" | 6844 xe_check_libs=" -lX11 -b i486-linuxaout" |
6844 cat > conftest.$ac_ext <<EOF | 6845 cat > conftest.$ac_ext <<EOF |
6845 #line 6846 "configure" | 6846 #line 6847 "configure" |
6846 #include "confdefs.h" | 6847 #include "confdefs.h" |
6847 /* Override any gcc2 internal prototype to avoid an error. */ | 6848 /* Override any gcc2 internal prototype to avoid an error. */ |
6848 /* We use char because int might match the return type of a gcc2 | 6849 /* We use char because int might match the return type of a gcc2 |
6849 builtin and then its argument prototype would still apply. */ | 6850 builtin and then its argument prototype would still apply. */ |
6850 char XGetFontProperty(); | 6851 char XGetFontProperty(); |
6851 | 6852 |
6852 int main() { | 6853 int main() { |
6853 XGetFontProperty() | 6854 XGetFontProperty() |
6854 ; return 0; } | 6855 ; return 0; } |
6855 EOF | 6856 EOF |
6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6857 if { (eval echo configure:6858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6857 rm -rf conftest* | 6858 rm -rf conftest* |
6858 eval "ac_cv_lib_$ac_lib_var=yes" | 6859 eval "ac_cv_lib_$ac_lib_var=yes" |
6859 else | 6860 else |
6860 echo "configure: failed program was:" >&5 | 6861 echo "configure: failed program was:" >&5 |
6861 cat conftest.$ac_ext >&5 | 6862 cat conftest.$ac_ext >&5 |
6878 libs_x="-lX11" | 6879 libs_x="-lX11" |
6879 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6880 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6880 | 6881 |
6881 | 6882 |
6882 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6883 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6883 echo "configure:6884: checking for XShapeSelectInput in -lXext" >&5 | 6884 echo "configure:6885: checking for XShapeSelectInput in -lXext" >&5 |
6884 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6885 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6885 | 6886 |
6886 xe_check_libs=" -lXext " | 6887 xe_check_libs=" -lXext " |
6887 cat > conftest.$ac_ext <<EOF | 6888 cat > conftest.$ac_ext <<EOF |
6888 #line 6889 "configure" | 6889 #line 6890 "configure" |
6889 #include "confdefs.h" | 6890 #include "confdefs.h" |
6890 /* Override any gcc2 internal prototype to avoid an error. */ | 6891 /* Override any gcc2 internal prototype to avoid an error. */ |
6891 /* We use char because int might match the return type of a gcc2 | 6892 /* We use char because int might match the return type of a gcc2 |
6892 builtin and then its argument prototype would still apply. */ | 6893 builtin and then its argument prototype would still apply. */ |
6893 char XShapeSelectInput(); | 6894 char XShapeSelectInput(); |
6894 | 6895 |
6895 int main() { | 6896 int main() { |
6896 XShapeSelectInput() | 6897 XShapeSelectInput() |
6897 ; return 0; } | 6898 ; return 0; } |
6898 EOF | 6899 EOF |
6899 if { (eval echo configure:6900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6900 if { (eval echo configure:6901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6900 rm -rf conftest* | 6901 rm -rf conftest* |
6901 eval "ac_cv_lib_$ac_lib_var=yes" | 6902 eval "ac_cv_lib_$ac_lib_var=yes" |
6902 else | 6903 else |
6903 echo "configure: failed program was:" >&5 | 6904 echo "configure: failed program was:" >&5 |
6904 cat conftest.$ac_ext >&5 | 6905 cat conftest.$ac_ext >&5 |
6917 | 6918 |
6918 | 6919 |
6919 | 6920 |
6920 | 6921 |
6921 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6922 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6922 echo "configure:6923: checking for XtOpenDisplay in -lXt" >&5 | 6923 echo "configure:6924: checking for XtOpenDisplay in -lXt" >&5 |
6923 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6924 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6924 | 6925 |
6925 xe_check_libs=" -lXt " | 6926 xe_check_libs=" -lXt " |
6926 cat > conftest.$ac_ext <<EOF | 6927 cat > conftest.$ac_ext <<EOF |
6927 #line 6928 "configure" | 6928 #line 6929 "configure" |
6928 #include "confdefs.h" | 6929 #include "confdefs.h" |
6929 /* Override any gcc2 internal prototype to avoid an error. */ | 6930 /* Override any gcc2 internal prototype to avoid an error. */ |
6930 /* We use char because int might match the return type of a gcc2 | 6931 /* We use char because int might match the return type of a gcc2 |
6931 builtin and then its argument prototype would still apply. */ | 6932 builtin and then its argument prototype would still apply. */ |
6932 char XtOpenDisplay(); | 6933 char XtOpenDisplay(); |
6933 | 6934 |
6934 int main() { | 6935 int main() { |
6935 XtOpenDisplay() | 6936 XtOpenDisplay() |
6936 ; return 0; } | 6937 ; return 0; } |
6937 EOF | 6938 EOF |
6938 if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6939 if { (eval echo configure:6940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6939 rm -rf conftest* | 6940 rm -rf conftest* |
6940 eval "ac_cv_lib_$ac_lib_var=yes" | 6941 eval "ac_cv_lib_$ac_lib_var=yes" |
6941 else | 6942 else |
6942 echo "configure: failed program was:" >&5 | 6943 echo "configure: failed program was:" >&5 |
6943 cat conftest.$ac_ext >&5 | 6944 cat conftest.$ac_ext >&5 |
6956 fi | 6957 fi |
6957 | 6958 |
6958 | 6959 |
6959 | 6960 |
6960 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6961 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6961 echo "configure:6962: checking the version of X11 being used" >&5 | 6962 echo "configure:6963: checking the version of X11 being used" >&5 |
6962 cat > conftest.$ac_ext <<EOF | 6963 cat > conftest.$ac_ext <<EOF |
6963 #line 6964 "configure" | 6964 #line 6965 "configure" |
6964 #include "confdefs.h" | 6965 #include "confdefs.h" |
6965 #include <X11/Intrinsic.h> | 6966 #include <X11/Intrinsic.h> |
6966 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6967 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6967 EOF | 6968 EOF |
6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6969 if { (eval echo configure:6970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6969 then | 6970 then |
6970 ./conftest foobar; x11_release=$? | 6971 ./conftest foobar; x11_release=$? |
6971 else | 6972 else |
6972 conftest_rc="$?" | 6973 conftest_rc="$?" |
6973 echo "configure: failed program was:" >&5 | 6974 echo "configure: failed program was:" >&5 |
6994 fi | 6995 fi |
6995 | 6996 |
6996 for ac_func in XConvertCase | 6997 for ac_func in XConvertCase |
6997 do | 6998 do |
6998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6999 echo "configure:7000: checking for $ac_func" >&5 | 7000 echo "configure:7001: checking for $ac_func" >&5 |
7000 | 7001 |
7001 cat > conftest.$ac_ext <<EOF | 7002 cat > conftest.$ac_ext <<EOF |
7002 #line 7003 "configure" | 7003 #line 7004 "configure" |
7003 #include "confdefs.h" | 7004 #include "confdefs.h" |
7004 /* System header to define __stub macros and hopefully few prototypes, | 7005 /* System header to define __stub macros and hopefully few prototypes, |
7005 which can conflict with char $ac_func(); below. */ | 7006 which can conflict with char $ac_func(); below. */ |
7006 #include <assert.h> | 7007 #include <assert.h> |
7007 /* Override any gcc2 internal prototype to avoid an error. */ | 7008 /* Override any gcc2 internal prototype to avoid an error. */ |
7020 $ac_func(); | 7021 $ac_func(); |
7021 #endif | 7022 #endif |
7022 | 7023 |
7023 ; return 0; } | 7024 ; return 0; } |
7024 EOF | 7025 EOF |
7025 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7026 rm -rf conftest* | 7027 rm -rf conftest* |
7027 eval "ac_cv_func_$ac_func=yes" | 7028 eval "ac_cv_func_$ac_func=yes" |
7028 else | 7029 else |
7029 echo "configure: failed program was:" >&5 | 7030 echo "configure: failed program was:" >&5 |
7030 cat conftest.$ac_ext >&5 | 7031 cat conftest.$ac_ext >&5 |
7052 | 7053 |
7053 for ac_hdr in X11/Xlocale.h | 7054 for ac_hdr in X11/Xlocale.h |
7054 do | 7055 do |
7055 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7056 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7056 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7057 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7057 echo "configure:7058: checking for $ac_hdr" >&5 | 7058 echo "configure:7059: checking for $ac_hdr" >&5 |
7058 | 7059 |
7059 cat > conftest.$ac_ext <<EOF | 7060 cat > conftest.$ac_ext <<EOF |
7060 #line 7061 "configure" | 7061 #line 7062 "configure" |
7061 #include "confdefs.h" | 7062 #include "confdefs.h" |
7062 #include <$ac_hdr> | 7063 #include <$ac_hdr> |
7063 EOF | 7064 EOF |
7064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7065 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7065 { (eval echo configure:7066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7066 { (eval echo configure:7067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7067 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7067 if test -z "$ac_err"; then | 7068 if test -z "$ac_err"; then |
7068 rm -rf conftest* | 7069 rm -rf conftest* |
7069 eval "ac_cv_header_$ac_safe=yes" | 7070 eval "ac_cv_header_$ac_safe=yes" |
7070 else | 7071 else |
7093 | 7094 |
7094 | 7095 |
7095 for ac_func in XRegisterIMInstantiateCallback | 7096 for ac_func in XRegisterIMInstantiateCallback |
7096 do | 7097 do |
7097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7098 echo "configure:7099: checking for $ac_func" >&5 | 7099 echo "configure:7100: checking for $ac_func" >&5 |
7099 | 7100 |
7100 cat > conftest.$ac_ext <<EOF | 7101 cat > conftest.$ac_ext <<EOF |
7101 #line 7102 "configure" | 7102 #line 7103 "configure" |
7102 #include "confdefs.h" | 7103 #include "confdefs.h" |
7103 /* System header to define __stub macros and hopefully few prototypes, | 7104 /* System header to define __stub macros and hopefully few prototypes, |
7104 which can conflict with char $ac_func(); below. */ | 7105 which can conflict with char $ac_func(); below. */ |
7105 #include <assert.h> | 7106 #include <assert.h> |
7106 /* Override any gcc2 internal prototype to avoid an error. */ | 7107 /* Override any gcc2 internal prototype to avoid an error. */ |
7119 $ac_func(); | 7120 $ac_func(); |
7120 #endif | 7121 #endif |
7121 | 7122 |
7122 ; return 0; } | 7123 ; return 0; } |
7123 EOF | 7124 EOF |
7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7125 if { (eval echo configure:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7125 rm -rf conftest* | 7126 rm -rf conftest* |
7126 eval "ac_cv_func_$ac_func=yes" | 7127 eval "ac_cv_func_$ac_func=yes" |
7127 else | 7128 else |
7128 echo "configure: failed program was:" >&5 | 7129 echo "configure: failed program was:" >&5 |
7129 cat conftest.$ac_ext >&5 | 7130 cat conftest.$ac_ext >&5 |
7147 echo "$ac_t""no" 1>&6 | 7148 echo "$ac_t""no" 1>&6 |
7148 fi | 7149 fi |
7149 done | 7150 done |
7150 | 7151 |
7151 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7152 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7152 echo "configure:7153: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7153 echo "configure:7154: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7153 cat > conftest.$ac_ext <<EOF | 7154 cat > conftest.$ac_ext <<EOF |
7154 #line 7155 "configure" | 7155 #line 7156 "configure" |
7155 #include "confdefs.h" | 7156 #include "confdefs.h" |
7156 | 7157 |
7157 #define NeedFunctionPrototypes 1 | 7158 #define NeedFunctionPrototypes 1 |
7158 #include <X11/Xlib.h> | 7159 #include <X11/Xlib.h> |
7159 extern Bool XRegisterIMInstantiateCallback( | 7160 extern Bool XRegisterIMInstantiateCallback( |
7161 | 7162 |
7162 int main() { | 7163 int main() { |
7163 | 7164 |
7164 ; return 0; } | 7165 ; return 0; } |
7165 EOF | 7166 EOF |
7166 if { (eval echo configure:7167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7167 if { (eval echo configure:7168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7167 rm -rf conftest* | 7168 rm -rf conftest* |
7168 echo "$ac_t""yes" 1>&6 | 7169 echo "$ac_t""yes" 1>&6 |
7169 else | 7170 else |
7170 echo "configure: failed program was:" >&5 | 7171 echo "configure: failed program was:" >&5 |
7171 cat conftest.$ac_ext >&5 | 7172 cat conftest.$ac_ext >&5 |
7182 fi | 7183 fi |
7183 rm -f conftest* | 7184 rm -f conftest* |
7184 | 7185 |
7185 test -z "$with_xmu" && { | 7186 test -z "$with_xmu" && { |
7186 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7187 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7187 echo "configure:7188: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7188 echo "configure:7189: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7188 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7189 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7189 | 7190 |
7190 xe_check_libs=" -lXmu " | 7191 xe_check_libs=" -lXmu " |
7191 cat > conftest.$ac_ext <<EOF | 7192 cat > conftest.$ac_ext <<EOF |
7192 #line 7193 "configure" | 7193 #line 7194 "configure" |
7193 #include "confdefs.h" | 7194 #include "confdefs.h" |
7194 /* Override any gcc2 internal prototype to avoid an error. */ | 7195 /* Override any gcc2 internal prototype to avoid an error. */ |
7195 /* We use char because int might match the return type of a gcc2 | 7196 /* We use char because int might match the return type of a gcc2 |
7196 builtin and then its argument prototype would still apply. */ | 7197 builtin and then its argument prototype would still apply. */ |
7197 char XmuReadBitmapDataFromFile(); | 7198 char XmuReadBitmapDataFromFile(); |
7198 | 7199 |
7199 int main() { | 7200 int main() { |
7200 XmuReadBitmapDataFromFile() | 7201 XmuReadBitmapDataFromFile() |
7201 ; return 0; } | 7202 ; return 0; } |
7202 EOF | 7203 EOF |
7203 if { (eval echo configure:7204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7204 if { (eval echo configure:7205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7204 rm -rf conftest* | 7205 rm -rf conftest* |
7205 eval "ac_cv_lib_$ac_lib_var=yes" | 7206 eval "ac_cv_lib_$ac_lib_var=yes" |
7206 else | 7207 else |
7207 echo "configure: failed program was:" >&5 | 7208 echo "configure: failed program was:" >&5 |
7208 cat conftest.$ac_ext >&5 | 7209 cat conftest.$ac_ext >&5 |
7237 | 7238 |
7238 fi | 7239 fi |
7239 | 7240 |
7240 | 7241 |
7241 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7242 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7242 echo "configure:7243: checking for main in -lXbsd" >&5 | 7243 echo "configure:7244: checking for main in -lXbsd" >&5 |
7243 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7244 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7244 | 7245 |
7245 xe_check_libs=" -lXbsd " | 7246 xe_check_libs=" -lXbsd " |
7246 cat > conftest.$ac_ext <<EOF | 7247 cat > conftest.$ac_ext <<EOF |
7247 #line 7248 "configure" | 7248 #line 7249 "configure" |
7248 #include "confdefs.h" | 7249 #include "confdefs.h" |
7249 | 7250 |
7250 int main() { | 7251 int main() { |
7251 main() | 7252 main() |
7252 ; return 0; } | 7253 ; return 0; } |
7253 EOF | 7254 EOF |
7254 if { (eval echo configure:7255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7255 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7255 rm -rf conftest* | 7256 rm -rf conftest* |
7256 eval "ac_cv_lib_$ac_lib_var=yes" | 7257 eval "ac_cv_lib_$ac_lib_var=yes" |
7257 else | 7258 else |
7258 echo "configure: failed program was:" >&5 | 7259 echo "configure: failed program was:" >&5 |
7259 cat conftest.$ac_ext >&5 | 7260 cat conftest.$ac_ext >&5 |
7286 fi | 7287 fi |
7287 | 7288 |
7288 fi | 7289 fi |
7289 if test "$with_msw" != "no"; then | 7290 if test "$with_msw" != "no"; then |
7290 echo "checking for MS-Windows" 1>&6 | 7291 echo "checking for MS-Windows" 1>&6 |
7291 echo "configure:7292: checking for MS-Windows" >&5 | 7292 echo "configure:7293: checking for MS-Windows" >&5 |
7292 | 7293 |
7293 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7294 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7294 echo "configure:7295: checking for main in -lgdi32" >&5 | 7295 echo "configure:7296: checking for main in -lgdi32" >&5 |
7295 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7296 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7296 | 7297 |
7297 xe_check_libs=" -lgdi32 " | 7298 xe_check_libs=" -lgdi32 " |
7298 cat > conftest.$ac_ext <<EOF | 7299 cat > conftest.$ac_ext <<EOF |
7299 #line 7300 "configure" | 7300 #line 7301 "configure" |
7300 #include "confdefs.h" | 7301 #include "confdefs.h" |
7301 | 7302 |
7302 int main() { | 7303 int main() { |
7303 main() | 7304 main() |
7304 ; return 0; } | 7305 ; return 0; } |
7305 EOF | 7306 EOF |
7306 if { (eval echo configure:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7307 if { (eval echo configure:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7307 rm -rf conftest* | 7308 rm -rf conftest* |
7308 eval "ac_cv_lib_$ac_lib_var=yes" | 7309 eval "ac_cv_lib_$ac_lib_var=yes" |
7309 else | 7310 else |
7310 echo "configure: failed program was:" >&5 | 7311 echo "configure: failed program was:" >&5 |
7311 cat conftest.$ac_ext >&5 | 7312 cat conftest.$ac_ext >&5 |
7352 test "$with_toolbars" != "no" && with_toolbars=msw | 7353 test "$with_toolbars" != "no" && with_toolbars=msw |
7353 test "$with_dialogs" != "no" && with_dialogs=msw | 7354 test "$with_dialogs" != "no" && with_dialogs=msw |
7354 test "$with_widgets" != "no" && with_widgets=msw | 7355 test "$with_widgets" != "no" && with_widgets=msw |
7355 fi | 7356 fi |
7356 cat > conftest.$ac_ext <<EOF | 7357 cat > conftest.$ac_ext <<EOF |
7357 #line 7358 "configure" | 7358 #line 7359 "configure" |
7358 #include "confdefs.h" | 7359 #include "confdefs.h" |
7359 #include <fcntl.h> | 7360 #include <fcntl.h> |
7360 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7361 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7361 EOF | 7362 EOF |
7362 if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7363 if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7363 then | 7364 then |
7364 { test "$extra_verbose" = "yes" && cat << \EOF | 7365 { test "$extra_verbose" = "yes" && cat << \EOF |
7365 Defining HAVE_MSG_SELECT | 7366 Defining HAVE_MSG_SELECT |
7366 EOF | 7367 EOF |
7367 cat >> confdefs.h <<\EOF | 7368 cat >> confdefs.h <<\EOF |
7418 fi | 7419 fi |
7419 | 7420 |
7420 if test "$with_x11" = "yes"; then | 7421 if test "$with_x11" = "yes"; then |
7421 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7422 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7422 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7423 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7423 echo "configure:7424: checking for X11/extensions/shape.h" >&5 | 7424 echo "configure:7425: checking for X11/extensions/shape.h" >&5 |
7424 | 7425 |
7425 cat > conftest.$ac_ext <<EOF | 7426 cat > conftest.$ac_ext <<EOF |
7426 #line 7427 "configure" | 7427 #line 7428 "configure" |
7427 #include "confdefs.h" | 7428 #include "confdefs.h" |
7428 #include <X11/extensions/shape.h> | 7429 #include <X11/extensions/shape.h> |
7429 EOF | 7430 EOF |
7430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7431 { (eval echo configure:7432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7432 { (eval echo configure:7433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7433 if test -z "$ac_err"; then | 7434 if test -z "$ac_err"; then |
7434 rm -rf conftest* | 7435 rm -rf conftest* |
7435 eval "ac_cv_header_$ac_safe=yes" | 7436 eval "ac_cv_header_$ac_safe=yes" |
7436 else | 7437 else |
7476 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7477 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7477 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7478 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7478 esac | 7479 esac |
7479 | 7480 |
7480 echo "checking for WM_COMMAND option" 1>&6 | 7481 echo "checking for WM_COMMAND option" 1>&6 |
7481 echo "configure:7482: checking for WM_COMMAND option" >&5; | 7482 echo "configure:7483: checking for WM_COMMAND option" >&5; |
7482 if test "$with_wmcommand" != "no"; then | 7483 if test "$with_wmcommand" != "no"; then |
7483 { test "$extra_verbose" = "yes" && cat << \EOF | 7484 { test "$extra_verbose" = "yes" && cat << \EOF |
7484 Defining HAVE_WMCOMMAND | 7485 Defining HAVE_WMCOMMAND |
7485 EOF | 7486 EOF |
7486 cat >> confdefs.h <<\EOF | 7487 cat >> confdefs.h <<\EOF |
7491 fi | 7492 fi |
7492 | 7493 |
7493 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7494 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7494 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7495 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7495 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7496 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7496 echo "configure:7497: checking for X11/Xauth.h" >&5 | 7497 echo "configure:7498: checking for X11/Xauth.h" >&5 |
7497 | 7498 |
7498 cat > conftest.$ac_ext <<EOF | 7499 cat > conftest.$ac_ext <<EOF |
7499 #line 7500 "configure" | 7500 #line 7501 "configure" |
7500 #include "confdefs.h" | 7501 #include "confdefs.h" |
7501 #include <X11/Xauth.h> | 7502 #include <X11/Xauth.h> |
7502 EOF | 7503 EOF |
7503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7504 { (eval echo configure:7505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7505 { (eval echo configure:7506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7506 if test -z "$ac_err"; then | 7507 if test -z "$ac_err"; then |
7507 rm -rf conftest* | 7508 rm -rf conftest* |
7508 eval "ac_cv_header_$ac_safe=yes" | 7509 eval "ac_cv_header_$ac_safe=yes" |
7509 else | 7510 else |
7522 with_xauth=no | 7523 with_xauth=no |
7523 fi | 7524 fi |
7524 } | 7525 } |
7525 test -z "$with_xauth" && { | 7526 test -z "$with_xauth" && { |
7526 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7527 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7527 echo "configure:7528: checking for XauGetAuthByAddr in -lXau" >&5 | 7528 echo "configure:7529: checking for XauGetAuthByAddr in -lXau" >&5 |
7528 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7529 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7529 | 7530 |
7530 xe_check_libs=" -lXau " | 7531 xe_check_libs=" -lXau " |
7531 cat > conftest.$ac_ext <<EOF | 7532 cat > conftest.$ac_ext <<EOF |
7532 #line 7533 "configure" | 7533 #line 7534 "configure" |
7533 #include "confdefs.h" | 7534 #include "confdefs.h" |
7534 /* Override any gcc2 internal prototype to avoid an error. */ | 7535 /* Override any gcc2 internal prototype to avoid an error. */ |
7535 /* We use char because int might match the return type of a gcc2 | 7536 /* We use char because int might match the return type of a gcc2 |
7536 builtin and then its argument prototype would still apply. */ | 7537 builtin and then its argument prototype would still apply. */ |
7537 char XauGetAuthByAddr(); | 7538 char XauGetAuthByAddr(); |
7538 | 7539 |
7539 int main() { | 7540 int main() { |
7540 XauGetAuthByAddr() | 7541 XauGetAuthByAddr() |
7541 ; return 0; } | 7542 ; return 0; } |
7542 EOF | 7543 EOF |
7543 if { (eval echo configure:7544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7544 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7544 rm -rf conftest* | 7545 rm -rf conftest* |
7545 eval "ac_cv_lib_$ac_lib_var=yes" | 7546 eval "ac_cv_lib_$ac_lib_var=yes" |
7546 else | 7547 else |
7547 echo "configure: failed program was:" >&5 | 7548 echo "configure: failed program was:" >&5 |
7548 cat conftest.$ac_ext >&5 | 7549 cat conftest.$ac_ext >&5 |
7592 fi | 7593 fi |
7593 | 7594 |
7594 | 7595 |
7595 if test "$with_modules" != "no"; then | 7596 if test "$with_modules" != "no"; then |
7596 echo "checking for module support" 1>&6 | 7597 echo "checking for module support" 1>&6 |
7597 echo "configure:7598: checking for module support" >&5 | 7598 echo "configure:7599: checking for module support" >&5 |
7598 | 7599 |
7599 if test "$with_msw" = "yes"; then | 7600 if test "$with_msw" = "yes"; then |
7600 have_dl=yes; | 7601 have_dl=yes; |
7601 else | 7602 else |
7602 case "$opsys" in | 7603 case "$opsys" in |
7609 } | 7610 } |
7610 ;; | 7611 ;; |
7611 * ) | 7612 * ) |
7612 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7613 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7613 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7614 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7614 echo "configure:7615: checking for dlfcn.h" >&5 | 7615 echo "configure:7616: checking for dlfcn.h" >&5 |
7615 | 7616 |
7616 cat > conftest.$ac_ext <<EOF | 7617 cat > conftest.$ac_ext <<EOF |
7617 #line 7618 "configure" | 7618 #line 7619 "configure" |
7618 #include "confdefs.h" | 7619 #include "confdefs.h" |
7619 #include <dlfcn.h> | 7620 #include <dlfcn.h> |
7620 EOF | 7621 EOF |
7621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7622 { (eval echo configure:7623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7623 { (eval echo configure:7624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7624 if test -z "$ac_err"; then | 7625 if test -z "$ac_err"; then |
7625 rm -rf conftest* | 7626 rm -rf conftest* |
7626 eval "ac_cv_header_$ac_safe=yes" | 7627 eval "ac_cv_header_$ac_safe=yes" |
7627 else | 7628 else |
7634 rm -f conftest* | 7635 rm -f conftest* |
7635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7636 echo "$ac_t""yes" 1>&6 | 7637 echo "$ac_t""yes" 1>&6 |
7637 | 7638 |
7638 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7639 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7639 echo "configure:7640: checking for dlopen in -lc" >&5 | 7640 echo "configure:7641: checking for dlopen in -lc" >&5 |
7640 cat > conftest.$ac_ext <<EOF | 7641 cat > conftest.$ac_ext <<EOF |
7641 #line 7642 "configure" | 7642 #line 7643 "configure" |
7642 #include "confdefs.h" | 7643 #include "confdefs.h" |
7643 #include <dlfcn.h> | 7644 #include <dlfcn.h> |
7644 int main() { | 7645 int main() { |
7645 dlopen ("", 0); | 7646 dlopen ("", 0); |
7646 ; return 0; } | 7647 ; return 0; } |
7647 EOF | 7648 EOF |
7648 if { (eval echo configure:7649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7649 if { (eval echo configure:7650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7649 rm -rf conftest* | 7650 rm -rf conftest* |
7650 have_dl=yes | 7651 have_dl=yes |
7651 else | 7652 else |
7652 echo "configure: failed program was:" >&5 | 7653 echo "configure: failed program was:" >&5 |
7653 cat conftest.$ac_ext >&5 | 7654 cat conftest.$ac_ext >&5 |
7654 rm -rf conftest* | 7655 rm -rf conftest* |
7655 | 7656 |
7656 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7657 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7657 echo "configure:7658: checking for dlopen in -ldl" >&5 | 7658 echo "configure:7659: checking for dlopen in -ldl" >&5 |
7658 ac_save_LIBS="$LIBS" | 7659 ac_save_LIBS="$LIBS" |
7659 LIBS="-ldl $LIBS" | 7660 LIBS="-ldl $LIBS" |
7660 cat > conftest.$ac_ext <<EOF | 7661 cat > conftest.$ac_ext <<EOF |
7661 #line 7662 "configure" | 7662 #line 7663 "configure" |
7662 #include "confdefs.h" | 7663 #include "confdefs.h" |
7663 #include <dlfcn.h> | 7664 #include <dlfcn.h> |
7664 int main() { | 7665 int main() { |
7665 dlopen ("", 0); | 7666 dlopen ("", 0); |
7666 ; return 0; } | 7667 ; return 0; } |
7667 EOF | 7668 EOF |
7668 if { (eval echo configure:7669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7669 if { (eval echo configure:7670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7669 rm -rf conftest* | 7670 rm -rf conftest* |
7670 have_dl=yes | 7671 have_dl=yes |
7671 else | 7672 else |
7672 echo "configure: failed program was:" >&5 | 7673 echo "configure: failed program was:" >&5 |
7673 cat conftest.$ac_ext >&5 | 7674 cat conftest.$ac_ext >&5 |
7703 ld_dynamic_link_flags= | 7704 ld_dynamic_link_flags= |
7704 xehost=$canonical | 7705 xehost=$canonical |
7705 xealias=$internal_configuration | 7706 xealias=$internal_configuration |
7706 | 7707 |
7707 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7708 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7708 echo "configure:7709: checking how to build dynamic libraries for ${xehost}" >&5 | 7709 echo "configure:7710: checking how to build dynamic libraries for ${xehost}" >&5 |
7709 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7710 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7710 case "$xehost" in | 7711 case "$xehost" in |
7711 *-*-linux-gnu*) ;; | 7712 *-*-linux-gnu*) ;; |
7712 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7713 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7713 esac | 7714 esac |
7731 # Now see if the compiler is really GCC. | 7732 # Now see if the compiler is really GCC. |
7732 if test "$GCC" = "yes"; then | 7733 if test "$GCC" = "yes"; then |
7733 XEGCC=yes | 7734 XEGCC=yes |
7734 else | 7735 else |
7735 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7736 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7736 echo "configure:7737: checking checking whether we are using GNU C" >&5 | 7737 echo "configure:7738: checking checking whether we are using GNU C" >&5 |
7737 cat > conftest.$ac_ext <<EOF | 7738 cat > conftest.$ac_ext <<EOF |
7738 #line 7739 "configure" | 7739 #line 7740 "configure" |
7739 #include "confdefs.h" | 7740 #include "confdefs.h" |
7740 | 7741 |
7741 #ifdef __GNUC__ | 7742 #ifdef __GNUC__ |
7742 yes; | 7743 yes; |
7743 #endif | 7744 #endif |
7755 | 7756 |
7756 echo "$ac_t""${XEGCC}" 1>&6 | 7757 echo "$ac_t""${XEGCC}" 1>&6 |
7757 fi | 7758 fi |
7758 | 7759 |
7759 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7760 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7760 echo "configure:7761: checking how to produce PIC code" >&5 | 7761 echo "configure:7762: checking how to produce PIC code" >&5 |
7761 wl= | 7762 wl= |
7762 | 7763 |
7763 can_build_shared=yes | 7764 can_build_shared=yes |
7764 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7765 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7765 wl='-Wl,' | 7766 wl='-Wl,' |
7859 if test -n "$dll_cflags"; then | 7860 if test -n "$dll_cflags"; then |
7860 echo "$ac_t""${dll_cflags}" 1>&6 | 7861 echo "$ac_t""${dll_cflags}" 1>&6 |
7861 | 7862 |
7862 # Check to make sure the dll_cflags actually works. | 7863 # Check to make sure the dll_cflags actually works. |
7863 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7864 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7864 echo "configure:7865: checking if PIC flag ${dll_cflags} really works" >&5 | 7865 echo "configure:7866: checking if PIC flag ${dll_cflags} really works" >&5 |
7865 save_CFLAGS="$CFLAGS" | 7866 save_CFLAGS="$CFLAGS" |
7866 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7867 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7867 cat > conftest.$ac_ext <<EOF | 7868 cat > conftest.$ac_ext <<EOF |
7868 #line 7869 "configure" | 7869 #line 7870 "configure" |
7869 #include "confdefs.h" | 7870 #include "confdefs.h" |
7870 | 7871 |
7871 int main() { | 7872 int main() { |
7872 int x=0; | 7873 int x=0; |
7873 ; return 0; } | 7874 ; return 0; } |
7874 EOF | 7875 EOF |
7875 if { (eval echo configure:7876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7876 if { (eval echo configure:7877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7876 rm -rf conftest* | 7877 rm -rf conftest* |
7877 | 7878 |
7878 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7879 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7879 # reports no error. So, we need to grep stderr for (Bundled). | 7880 # reports no error. So, we need to grep stderr for (Bundled). |
7880 if grep '(Bundled)' config.log >/dev/null; then | 7881 if grep '(Bundled)' config.log >/dev/null; then |
7901 if test "$can_build_shared" = "yes"; then | 7902 if test "$can_build_shared" = "yes"; then |
7902 cc_produces_so=no | 7903 cc_produces_so=no |
7903 xldf= | 7904 xldf= |
7904 xcldf= | 7905 xcldf= |
7905 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7906 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7906 echo "configure:7907: checking if C compiler can produce shared libraries" >&5 | 7907 echo "configure:7908: checking if C compiler can produce shared libraries" >&5 |
7907 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7908 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7908 case "$xehost_os" in | 7909 case "$xehost_os" in |
7909 *darwin*) | 7910 *darwin*) |
7910 xcldf='-bundle' | 7911 xcldf='-bundle' |
7911 xldf='-bundle -bundle_loader ../../src/xemacs' | 7912 xldf='-bundle -bundle_loader ../../src/xemacs' |
7960 LDFLAGS="$xcldf $LDFLAGS" | 7961 LDFLAGS="$xcldf $LDFLAGS" |
7961 LIBS= | 7962 LIBS= |
7962 xe_libs= | 7963 xe_libs= |
7963 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7964 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
7964 cat > conftest.$ac_ext <<EOF | 7965 cat > conftest.$ac_ext <<EOF |
7965 #line 7966 "configure" | 7966 #line 7967 "configure" |
7966 #include "confdefs.h" | 7967 #include "confdefs.h" |
7967 | 7968 |
7968 int main() { | 7969 int main() { |
7969 int x=0; | 7970 int x=0; |
7970 ; return 0; } | 7971 ; return 0; } |
7971 EOF | 7972 EOF |
7972 if { (eval echo configure:7973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7973 rm -rf conftest* | 7974 rm -rf conftest* |
7974 cc_produces_so=yes | 7975 cc_produces_so=yes |
7975 else | 7976 else |
7976 echo "configure: failed program was:" >&5 | 7977 echo "configure: failed program was:" >&5 |
7977 cat conftest.$ac_ext >&5 | 7978 cat conftest.$ac_ext >&5 |
7992 if test -z "$LTLD"; then | 7993 if test -z "$LTLD"; then |
7993 ac_prog=ld | 7994 ac_prog=ld |
7994 if test "$XEGCC" = yes; then | 7995 if test "$XEGCC" = yes; then |
7995 # Check if gcc -print-prog-name=ld gives a path. | 7996 # Check if gcc -print-prog-name=ld gives a path. |
7996 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7997 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
7997 echo "configure:7998: checking for ld used by GCC" >&5 | 7998 echo "configure:7999: checking for ld used by GCC" >&5 |
7998 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7999 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
7999 case "$ac_prog" in | 8000 case "$ac_prog" in |
8000 # Accept absolute paths. | 8001 # Accept absolute paths. |
8001 /*) | 8002 /*) |
8002 if test -z "$LTLD"; then | 8003 if test -z "$LTLD"; then |
8018 with_gnu_ld=unknown | 8019 with_gnu_ld=unknown |
8019 ;; | 8020 ;; |
8020 esac | 8021 esac |
8021 else | 8022 else |
8022 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8023 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8023 echo "configure:8024: checking for GNU ld" >&5 | 8024 echo "configure:8025: checking for GNU ld" >&5 |
8024 fi | 8025 fi |
8025 | 8026 |
8026 if test -z "$LTLD"; then | 8027 if test -z "$LTLD"; then |
8027 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8028 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8028 for ac_dir in $PATH; do | 8029 for ac_dir in $PATH; do |
8056 | 8057 |
8057 ld_dynamic_link_flags= | 8058 ld_dynamic_link_flags= |
8058 | 8059 |
8059 # Check to see if it really is or isn't GNU ld. | 8060 # Check to see if it really is or isn't GNU ld. |
8060 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8061 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8061 echo "configure:8062: checking if the linker is GNU ld" >&5 | 8062 echo "configure:8063: checking if the linker is GNU ld" >&5 |
8062 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8063 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8063 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8064 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8064 xe_gnu_ld=yes | 8065 xe_gnu_ld=yes |
8065 else | 8066 else |
8066 xe_gnu_ld=no | 8067 xe_gnu_ld=no |
8091 ld_shlibs=yes | 8092 ld_shlibs=yes |
8092 else | 8093 else |
8093 # OK - only NOW do we futz about with ld. | 8094 # OK - only NOW do we futz about with ld. |
8094 # See if the linker supports building shared libraries. | 8095 # See if the linker supports building shared libraries. |
8095 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8096 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8096 echo "configure:8097: checking whether the linker supports shared libraries" >&5 | 8097 echo "configure:8098: checking whether the linker supports shared libraries" >&5 |
8097 dll_ld=$CC | 8098 dll_ld=$CC |
8098 dll_ldflags=$LDFLAGS | 8099 dll_ldflags=$LDFLAGS |
8099 ld_shlibs=yes | 8100 ld_shlibs=yes |
8100 can_build_shared=yes | 8101 can_build_shared=yes |
8101 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8102 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8304 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8305 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8305 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8306 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8306 for ac_func in dlerror _dlerror | 8307 for ac_func in dlerror _dlerror |
8307 do | 8308 do |
8308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8309 echo "configure:8310: checking for $ac_func" >&5 | 8310 echo "configure:8311: checking for $ac_func" >&5 |
8310 | 8311 |
8311 cat > conftest.$ac_ext <<EOF | 8312 cat > conftest.$ac_ext <<EOF |
8312 #line 8313 "configure" | 8313 #line 8314 "configure" |
8313 #include "confdefs.h" | 8314 #include "confdefs.h" |
8314 /* System header to define __stub macros and hopefully few prototypes, | 8315 /* System header to define __stub macros and hopefully few prototypes, |
8315 which can conflict with char $ac_func(); below. */ | 8316 which can conflict with char $ac_func(); below. */ |
8316 #include <assert.h> | 8317 #include <assert.h> |
8317 /* Override any gcc2 internal prototype to avoid an error. */ | 8318 /* Override any gcc2 internal prototype to avoid an error. */ |
8330 $ac_func(); | 8331 $ac_func(); |
8331 #endif | 8332 #endif |
8332 | 8333 |
8333 ; return 0; } | 8334 ; return 0; } |
8334 EOF | 8335 EOF |
8335 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8336 rm -rf conftest* | 8337 rm -rf conftest* |
8337 eval "ac_cv_func_$ac_func=yes" | 8338 eval "ac_cv_func_$ac_func=yes" |
8338 else | 8339 else |
8339 echo "configure: failed program was:" >&5 | 8340 echo "configure: failed program was:" >&5 |
8340 cat conftest.$ac_ext >&5 | 8341 cat conftest.$ac_ext >&5 |
8394 | 8395 |
8395 if test "$with_tooltalk" != "no" ; then | 8396 if test "$with_tooltalk" != "no" ; then |
8396 for dir in "" "Tt/" "desktop/" ; do | 8397 for dir in "" "Tt/" "desktop/" ; do |
8397 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8398 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8398 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8399 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8399 echo "configure:8400: checking for ${dir}tt_c.h" >&5 | 8400 echo "configure:8401: checking for ${dir}tt_c.h" >&5 |
8400 | 8401 |
8401 cat > conftest.$ac_ext <<EOF | 8402 cat > conftest.$ac_ext <<EOF |
8402 #line 8403 "configure" | 8403 #line 8404 "configure" |
8403 #include "confdefs.h" | 8404 #include "confdefs.h" |
8404 #include <${dir}tt_c.h> | 8405 #include <${dir}tt_c.h> |
8405 EOF | 8406 EOF |
8406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8407 { (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8408 { (eval echo configure:8409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8409 if test -z "$ac_err"; then | 8410 if test -z "$ac_err"; then |
8410 rm -rf conftest* | 8411 rm -rf conftest* |
8411 eval "ac_cv_header_$ac_safe=yes" | 8412 eval "ac_cv_header_$ac_safe=yes" |
8412 else | 8413 else |
8438 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8439 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8439 | 8440 |
8440 xe_msg_checking="for tt_message_create in -ltt" | 8441 xe_msg_checking="for tt_message_create in -ltt" |
8441 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8442 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8442 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8443 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8443 echo "configure:8444: checking "$xe_msg_checking"" >&5 | 8444 echo "configure:8445: checking "$xe_msg_checking"" >&5 |
8444 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8445 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8445 | 8446 |
8446 xe_check_libs=" -ltt $extra_libs" | 8447 xe_check_libs=" -ltt $extra_libs" |
8447 cat > conftest.$ac_ext <<EOF | 8448 cat > conftest.$ac_ext <<EOF |
8448 #line 8449 "configure" | 8449 #line 8450 "configure" |
8449 #include "confdefs.h" | 8450 #include "confdefs.h" |
8450 /* Override any gcc2 internal prototype to avoid an error. */ | 8451 /* Override any gcc2 internal prototype to avoid an error. */ |
8451 /* We use char because int might match the return type of a gcc2 | 8452 /* We use char because int might match the return type of a gcc2 |
8452 builtin and then its argument prototype would still apply. */ | 8453 builtin and then its argument prototype would still apply. */ |
8453 char tt_message_create(); | 8454 char tt_message_create(); |
8454 | 8455 |
8455 int main() { | 8456 int main() { |
8456 tt_message_create() | 8457 tt_message_create() |
8457 ; return 0; } | 8458 ; return 0; } |
8458 EOF | 8459 EOF |
8459 if { (eval echo configure:8460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8460 if { (eval echo configure:8461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8460 rm -rf conftest* | 8461 rm -rf conftest* |
8461 eval "ac_cv_lib_$ac_lib_var=yes" | 8462 eval "ac_cv_lib_$ac_lib_var=yes" |
8462 else | 8463 else |
8463 echo "configure: failed program was:" >&5 | 8464 echo "configure: failed program was:" >&5 |
8464 cat conftest.$ac_ext >&5 | 8465 cat conftest.$ac_ext >&5 |
8508 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8509 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8509 fi | 8510 fi |
8510 | 8511 |
8511 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8512 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8512 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8513 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8513 echo "configure:8514: checking for Dt/Dt.h" >&5 | 8514 echo "configure:8515: checking for Dt/Dt.h" >&5 |
8514 | 8515 |
8515 cat > conftest.$ac_ext <<EOF | 8516 cat > conftest.$ac_ext <<EOF |
8516 #line 8517 "configure" | 8517 #line 8518 "configure" |
8517 #include "confdefs.h" | 8518 #include "confdefs.h" |
8518 #include <Dt/Dt.h> | 8519 #include <Dt/Dt.h> |
8519 EOF | 8520 EOF |
8520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8521 { (eval echo configure:8522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8522 { (eval echo configure:8523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8523 if test -z "$ac_err"; then | 8524 if test -z "$ac_err"; then |
8524 rm -rf conftest* | 8525 rm -rf conftest* |
8525 eval "ac_cv_header_$ac_safe=yes" | 8526 eval "ac_cv_header_$ac_safe=yes" |
8526 else | 8527 else |
8539 with_cde=no | 8540 with_cde=no |
8540 fi | 8541 fi |
8541 } | 8542 } |
8542 test -z "$with_cde" && { | 8543 test -z "$with_cde" && { |
8543 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8544 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8544 echo "configure:8545: checking for DtDndDragStart in -lDtSvc" >&5 | 8545 echo "configure:8546: checking for DtDndDragStart in -lDtSvc" >&5 |
8545 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8546 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8546 | 8547 |
8547 xe_check_libs=" -lDtSvc " | 8548 xe_check_libs=" -lDtSvc " |
8548 cat > conftest.$ac_ext <<EOF | 8549 cat > conftest.$ac_ext <<EOF |
8549 #line 8550 "configure" | 8550 #line 8551 "configure" |
8550 #include "confdefs.h" | 8551 #include "confdefs.h" |
8551 /* Override any gcc2 internal prototype to avoid an error. */ | 8552 /* Override any gcc2 internal prototype to avoid an error. */ |
8552 /* We use char because int might match the return type of a gcc2 | 8553 /* We use char because int might match the return type of a gcc2 |
8553 builtin and then its argument prototype would still apply. */ | 8554 builtin and then its argument prototype would still apply. */ |
8554 char DtDndDragStart(); | 8555 char DtDndDragStart(); |
8555 | 8556 |
8556 int main() { | 8557 int main() { |
8557 DtDndDragStart() | 8558 DtDndDragStart() |
8558 ; return 0; } | 8559 ; return 0; } |
8559 EOF | 8560 EOF |
8560 if { (eval echo configure:8561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8561 if { (eval echo configure:8562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8561 rm -rf conftest* | 8562 rm -rf conftest* |
8562 eval "ac_cv_lib_$ac_lib_var=yes" | 8563 eval "ac_cv_lib_$ac_lib_var=yes" |
8563 else | 8564 else |
8564 echo "configure: failed program was:" >&5 | 8565 echo "configure: failed program was:" >&5 |
8565 cat conftest.$ac_ext >&5 | 8566 cat conftest.$ac_ext >&5 |
8636 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8637 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8637 fi | 8638 fi |
8638 | 8639 |
8639 if test "$with_dragndrop" != "no" ; then | 8640 if test "$with_dragndrop" != "no" ; then |
8640 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8641 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8641 echo "configure:8642: checking if drag and drop API is needed" >&5 | 8642 echo "configure:8643: checking if drag and drop API is needed" >&5 |
8642 if test -n "$dragndrop_proto" ; then | 8643 if test -n "$dragndrop_proto" ; then |
8643 with_dragndrop=yes | 8644 with_dragndrop=yes |
8644 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8645 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8645 { test "$extra_verbose" = "yes" && cat << \EOF | 8646 { test "$extra_verbose" = "yes" && cat << \EOF |
8646 Defining HAVE_DRAGNDROP | 8647 Defining HAVE_DRAGNDROP |
8656 echo "$ac_t""no" 1>&6 | 8657 echo "$ac_t""no" 1>&6 |
8657 fi | 8658 fi |
8658 fi | 8659 fi |
8659 | 8660 |
8660 echo "checking for LDAP" 1>&6 | 8661 echo "checking for LDAP" 1>&6 |
8661 echo "configure:8662: checking for LDAP" >&5 | 8662 echo "configure:8663: checking for LDAP" >&5 |
8662 ldap_libs= | 8663 ldap_libs= |
8663 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8664 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8664 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8665 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8665 echo "configure:8666: checking for ldap.h" >&5 | 8666 echo "configure:8667: checking for ldap.h" >&5 |
8666 | 8667 |
8667 cat > conftest.$ac_ext <<EOF | 8668 cat > conftest.$ac_ext <<EOF |
8668 #line 8669 "configure" | 8669 #line 8670 "configure" |
8669 #include "confdefs.h" | 8670 #include "confdefs.h" |
8670 #include <ldap.h> | 8671 #include <ldap.h> |
8671 EOF | 8672 EOF |
8672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8673 { (eval echo configure:8674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8675 if test -z "$ac_err"; then | 8676 if test -z "$ac_err"; then |
8676 rm -rf conftest* | 8677 rm -rf conftest* |
8677 eval "ac_cv_header_$ac_safe=yes" | 8678 eval "ac_cv_header_$ac_safe=yes" |
8678 else | 8679 else |
8691 with_ldap=no | 8692 with_ldap=no |
8692 fi | 8693 fi |
8693 } | 8694 } |
8694 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8695 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8695 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8696 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8696 echo "configure:8697: checking for lber.h" >&5 | 8697 echo "configure:8698: checking for lber.h" >&5 |
8697 | 8698 |
8698 cat > conftest.$ac_ext <<EOF | 8699 cat > conftest.$ac_ext <<EOF |
8699 #line 8700 "configure" | 8700 #line 8701 "configure" |
8700 #include "confdefs.h" | 8701 #include "confdefs.h" |
8701 #include <lber.h> | 8702 #include <lber.h> |
8702 EOF | 8703 EOF |
8703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8704 { (eval echo configure:8705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8705 { (eval echo configure:8706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8706 if test -z "$ac_err"; then | 8707 if test -z "$ac_err"; then |
8707 rm -rf conftest* | 8708 rm -rf conftest* |
8708 eval "ac_cv_header_$ac_safe=yes" | 8709 eval "ac_cv_header_$ac_safe=yes" |
8709 else | 8710 else |
8723 fi | 8724 fi |
8724 } | 8725 } |
8725 if test "$with_ldap" != "no"; then | 8726 if test "$with_ldap" != "no"; then |
8726 | 8727 |
8727 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8728 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8728 echo "configure:8729: checking for ldap_search in -lldap" >&5 | 8729 echo "configure:8730: checking for ldap_search in -lldap" >&5 |
8729 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8730 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8730 | 8731 |
8731 xe_check_libs=" -lldap " | 8732 xe_check_libs=" -lldap " |
8732 cat > conftest.$ac_ext <<EOF | 8733 cat > conftest.$ac_ext <<EOF |
8733 #line 8734 "configure" | 8734 #line 8735 "configure" |
8734 #include "confdefs.h" | 8735 #include "confdefs.h" |
8735 /* Override any gcc2 internal prototype to avoid an error. */ | 8736 /* Override any gcc2 internal prototype to avoid an error. */ |
8736 /* We use char because int might match the return type of a gcc2 | 8737 /* We use char because int might match the return type of a gcc2 |
8737 builtin and then its argument prototype would still apply. */ | 8738 builtin and then its argument prototype would still apply. */ |
8738 char ldap_search(); | 8739 char ldap_search(); |
8739 | 8740 |
8740 int main() { | 8741 int main() { |
8741 ldap_search() | 8742 ldap_search() |
8742 ; return 0; } | 8743 ; return 0; } |
8743 EOF | 8744 EOF |
8744 if { (eval echo configure:8745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8745 if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8745 rm -rf conftest* | 8746 rm -rf conftest* |
8746 eval "ac_cv_lib_$ac_lib_var=yes" | 8747 eval "ac_cv_lib_$ac_lib_var=yes" |
8747 else | 8748 else |
8748 echo "configure: failed program was:" >&5 | 8749 echo "configure: failed program was:" >&5 |
8749 cat conftest.$ac_ext >&5 | 8750 cat conftest.$ac_ext >&5 |
8764 | 8765 |
8765 test "$with_ldap_nolber" = "no" && { | 8766 test "$with_ldap_nolber" = "no" && { |
8766 xe_msg_checking="for ldap_open in -lldap" | 8767 xe_msg_checking="for ldap_open in -lldap" |
8767 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8768 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8768 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8769 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8769 echo "configure:8770: checking "$xe_msg_checking"" >&5 | 8770 echo "configure:8771: checking "$xe_msg_checking"" >&5 |
8770 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8771 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8771 | 8772 |
8772 xe_check_libs=" -lldap -llber" | 8773 xe_check_libs=" -lldap -llber" |
8773 cat > conftest.$ac_ext <<EOF | 8774 cat > conftest.$ac_ext <<EOF |
8774 #line 8775 "configure" | 8775 #line 8776 "configure" |
8775 #include "confdefs.h" | 8776 #include "confdefs.h" |
8776 /* Override any gcc2 internal prototype to avoid an error. */ | 8777 /* Override any gcc2 internal prototype to avoid an error. */ |
8777 /* We use char because int might match the return type of a gcc2 | 8778 /* We use char because int might match the return type of a gcc2 |
8778 builtin and then its argument prototype would still apply. */ | 8779 builtin and then its argument prototype would still apply. */ |
8779 char ldap_open(); | 8780 char ldap_open(); |
8780 | 8781 |
8781 int main() { | 8782 int main() { |
8782 ldap_open() | 8783 ldap_open() |
8783 ; return 0; } | 8784 ; return 0; } |
8784 EOF | 8785 EOF |
8785 if { (eval echo configure:8786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8786 if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8786 rm -rf conftest* | 8787 rm -rf conftest* |
8787 eval "ac_cv_lib_$ac_lib_var=yes" | 8788 eval "ac_cv_lib_$ac_lib_var=yes" |
8788 else | 8789 else |
8789 echo "configure: failed program was:" >&5 | 8790 echo "configure: failed program was:" >&5 |
8790 cat conftest.$ac_ext >&5 | 8791 cat conftest.$ac_ext >&5 |
8805 } | 8806 } |
8806 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8807 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8807 xe_msg_checking="for ldap_open in -lldap" | 8808 xe_msg_checking="for ldap_open in -lldap" |
8808 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8809 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8809 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8810 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8810 echo "configure:8811: checking "$xe_msg_checking"" >&5 | 8811 echo "configure:8812: checking "$xe_msg_checking"" >&5 |
8811 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8812 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8812 | 8813 |
8813 xe_check_libs=" -lldap -llber -lkrb" | 8814 xe_check_libs=" -lldap -llber -lkrb" |
8814 cat > conftest.$ac_ext <<EOF | 8815 cat > conftest.$ac_ext <<EOF |
8815 #line 8816 "configure" | 8816 #line 8817 "configure" |
8816 #include "confdefs.h" | 8817 #include "confdefs.h" |
8817 /* Override any gcc2 internal prototype to avoid an error. */ | 8818 /* Override any gcc2 internal prototype to avoid an error. */ |
8818 /* We use char because int might match the return type of a gcc2 | 8819 /* We use char because int might match the return type of a gcc2 |
8819 builtin and then its argument prototype would still apply. */ | 8820 builtin and then its argument prototype would still apply. */ |
8820 char ldap_open(); | 8821 char ldap_open(); |
8821 | 8822 |
8822 int main() { | 8823 int main() { |
8823 ldap_open() | 8824 ldap_open() |
8824 ; return 0; } | 8825 ; return 0; } |
8825 EOF | 8826 EOF |
8826 if { (eval echo configure:8827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8827 rm -rf conftest* | 8828 rm -rf conftest* |
8828 eval "ac_cv_lib_$ac_lib_var=yes" | 8829 eval "ac_cv_lib_$ac_lib_var=yes" |
8829 else | 8830 else |
8830 echo "configure: failed program was:" >&5 | 8831 echo "configure: failed program was:" >&5 |
8831 cat conftest.$ac_ext >&5 | 8832 cat conftest.$ac_ext >&5 |
8846 } | 8847 } |
8847 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8848 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8848 xe_msg_checking="for ldap_open in -lldap" | 8849 xe_msg_checking="for ldap_open in -lldap" |
8849 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8850 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8850 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8851 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8851 echo "configure:8852: checking "$xe_msg_checking"" >&5 | 8852 echo "configure:8853: checking "$xe_msg_checking"" >&5 |
8852 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8853 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8853 | 8854 |
8854 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8855 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8855 cat > conftest.$ac_ext <<EOF | 8856 cat > conftest.$ac_ext <<EOF |
8856 #line 8857 "configure" | 8857 #line 8858 "configure" |
8857 #include "confdefs.h" | 8858 #include "confdefs.h" |
8858 /* Override any gcc2 internal prototype to avoid an error. */ | 8859 /* Override any gcc2 internal prototype to avoid an error. */ |
8859 /* We use char because int might match the return type of a gcc2 | 8860 /* We use char because int might match the return type of a gcc2 |
8860 builtin and then its argument prototype would still apply. */ | 8861 builtin and then its argument prototype would still apply. */ |
8861 char ldap_open(); | 8862 char ldap_open(); |
8862 | 8863 |
8863 int main() { | 8864 int main() { |
8864 ldap_open() | 8865 ldap_open() |
8865 ; return 0; } | 8866 ; return 0; } |
8866 EOF | 8867 EOF |
8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8868 if { (eval echo configure:8869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8868 rm -rf conftest* | 8869 rm -rf conftest* |
8869 eval "ac_cv_lib_$ac_lib_var=yes" | 8870 eval "ac_cv_lib_$ac_lib_var=yes" |
8870 else | 8871 else |
8871 echo "configure: failed program was:" >&5 | 8872 echo "configure: failed program was:" >&5 |
8872 cat conftest.$ac_ext >&5 | 8873 cat conftest.$ac_ext >&5 |
8911 fi | 8912 fi |
8912 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8913 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8913 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8914 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8914 do | 8915 do |
8915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8916 echo "configure:8917: checking for $ac_func" >&5 | 8917 echo "configure:8918: checking for $ac_func" >&5 |
8917 | 8918 |
8918 cat > conftest.$ac_ext <<EOF | 8919 cat > conftest.$ac_ext <<EOF |
8919 #line 8920 "configure" | 8920 #line 8921 "configure" |
8920 #include "confdefs.h" | 8921 #include "confdefs.h" |
8921 /* System header to define __stub macros and hopefully few prototypes, | 8922 /* System header to define __stub macros and hopefully few prototypes, |
8922 which can conflict with char $ac_func(); below. */ | 8923 which can conflict with char $ac_func(); below. */ |
8923 #include <assert.h> | 8924 #include <assert.h> |
8924 /* Override any gcc2 internal prototype to avoid an error. */ | 8925 /* Override any gcc2 internal prototype to avoid an error. */ |
8937 $ac_func(); | 8938 $ac_func(); |
8938 #endif | 8939 #endif |
8939 | 8940 |
8940 ; return 0; } | 8941 ; return 0; } |
8941 EOF | 8942 EOF |
8942 if { (eval echo configure:8943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8943 if { (eval echo configure:8944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8943 rm -rf conftest* | 8944 rm -rf conftest* |
8944 eval "ac_cv_func_$ac_func=yes" | 8945 eval "ac_cv_func_$ac_func=yes" |
8945 else | 8946 else |
8946 echo "configure: failed program was:" >&5 | 8947 echo "configure: failed program was:" >&5 |
8947 cat conftest.$ac_ext >&5 | 8948 cat conftest.$ac_ext >&5 |
8976 | 8977 |
8977 | 8978 |
8978 postgresql_libs= | 8979 postgresql_libs= |
8979 if test "$with_postgresql" != "no"; then | 8980 if test "$with_postgresql" != "no"; then |
8980 echo "checking for PostgreSQL" 1>&6 | 8981 echo "checking for PostgreSQL" 1>&6 |
8981 echo "configure:8982: checking for PostgreSQL" >&5 | 8982 echo "configure:8983: checking for PostgreSQL" >&5 |
8982 | 8983 |
8983 for header_dir in "" "pgsql/" "postgresql/"; do | 8984 for header_dir in "" "pgsql/" "postgresql/"; do |
8984 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8985 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
8985 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8986 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
8986 echo "configure:8987: checking for ${header_dir}libpq-fe.h" >&5 | 8987 echo "configure:8988: checking for ${header_dir}libpq-fe.h" >&5 |
8987 | 8988 |
8988 cat > conftest.$ac_ext <<EOF | 8989 cat > conftest.$ac_ext <<EOF |
8989 #line 8990 "configure" | 8990 #line 8991 "configure" |
8990 #include "confdefs.h" | 8991 #include "confdefs.h" |
8991 #include <${header_dir}libpq-fe.h> | 8992 #include <${header_dir}libpq-fe.h> |
8992 EOF | 8993 EOF |
8993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8994 { (eval echo configure:8995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8995 { (eval echo configure:8996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8996 if test -z "$ac_err"; then | 8997 if test -z "$ac_err"; then |
8997 rm -rf conftest* | 8998 rm -rf conftest* |
8998 eval "ac_cv_header_$ac_safe=yes" | 8999 eval "ac_cv_header_$ac_safe=yes" |
8999 else | 9000 else |
9013 | 9014 |
9014 done | 9015 done |
9015 | 9016 |
9016 test -n "$libpq_fe_h_file" && { | 9017 test -n "$libpq_fe_h_file" && { |
9017 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9018 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9018 echo "configure:9019: checking for PQconnectdb in -lpq" >&5 | 9019 echo "configure:9020: checking for PQconnectdb in -lpq" >&5 |
9019 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9020 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9020 | 9021 |
9021 xe_check_libs=" -lpq " | 9022 xe_check_libs=" -lpq " |
9022 cat > conftest.$ac_ext <<EOF | 9023 cat > conftest.$ac_ext <<EOF |
9023 #line 9024 "configure" | 9024 #line 9025 "configure" |
9024 #include "confdefs.h" | 9025 #include "confdefs.h" |
9025 /* Override any gcc2 internal prototype to avoid an error. */ | 9026 /* Override any gcc2 internal prototype to avoid an error. */ |
9026 /* We use char because int might match the return type of a gcc2 | 9027 /* We use char because int might match the return type of a gcc2 |
9027 builtin and then its argument prototype would still apply. */ | 9028 builtin and then its argument prototype would still apply. */ |
9028 char PQconnectdb(); | 9029 char PQconnectdb(); |
9029 | 9030 |
9030 int main() { | 9031 int main() { |
9031 PQconnectdb() | 9032 PQconnectdb() |
9032 ; return 0; } | 9033 ; return 0; } |
9033 EOF | 9034 EOF |
9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9035 rm -rf conftest* | 9036 rm -rf conftest* |
9036 eval "ac_cv_lib_$ac_lib_var=yes" | 9037 eval "ac_cv_lib_$ac_lib_var=yes" |
9037 else | 9038 else |
9038 echo "configure: failed program was:" >&5 | 9039 echo "configure: failed program was:" >&5 |
9039 cat conftest.$ac_ext >&5 | 9040 cat conftest.$ac_ext >&5 |
9062 EOF | 9063 EOF |
9063 } | 9064 } |
9064 | 9065 |
9065 | 9066 |
9066 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9067 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9067 echo "configure:9068: checking for PQconnectStart in -lpq" >&5 | 9068 echo "configure:9069: checking for PQconnectStart in -lpq" >&5 |
9068 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9069 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9069 | 9070 |
9070 xe_check_libs=" -lpq " | 9071 xe_check_libs=" -lpq " |
9071 cat > conftest.$ac_ext <<EOF | 9072 cat > conftest.$ac_ext <<EOF |
9072 #line 9073 "configure" | 9073 #line 9074 "configure" |
9073 #include "confdefs.h" | 9074 #include "confdefs.h" |
9074 /* Override any gcc2 internal prototype to avoid an error. */ | 9075 /* Override any gcc2 internal prototype to avoid an error. */ |
9075 /* We use char because int might match the return type of a gcc2 | 9076 /* We use char because int might match the return type of a gcc2 |
9076 builtin and then its argument prototype would still apply. */ | 9077 builtin and then its argument prototype would still apply. */ |
9077 char PQconnectStart(); | 9078 char PQconnectStart(); |
9078 | 9079 |
9079 int main() { | 9080 int main() { |
9080 PQconnectStart() | 9081 PQconnectStart() |
9081 ; return 0; } | 9082 ; return 0; } |
9082 EOF | 9083 EOF |
9083 if { (eval echo configure:9084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9084 if { (eval echo configure:9085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9084 rm -rf conftest* | 9085 rm -rf conftest* |
9085 eval "ac_cv_lib_$ac_lib_var=yes" | 9086 eval "ac_cv_lib_$ac_lib_var=yes" |
9086 else | 9087 else |
9087 echo "configure: failed program was:" >&5 | 9088 echo "configure: failed program was:" >&5 |
9088 cat conftest.$ac_ext >&5 | 9089 cat conftest.$ac_ext >&5 |
9129 | 9130 |
9130 | 9131 |
9131 | 9132 |
9132 if test "$window_system" != "none"; then | 9133 if test "$window_system" != "none"; then |
9133 echo "checking for graphics libraries" 1>&6 | 9134 echo "checking for graphics libraries" 1>&6 |
9134 echo "configure:9135: checking for graphics libraries" >&5 | 9135 echo "configure:9136: checking for graphics libraries" >&5 |
9135 | 9136 |
9136 libpath_xpm= | 9137 libpath_xpm= |
9137 incpath_xpm= | 9138 incpath_xpm= |
9138 case "$opsys" in | 9139 case "$opsys" in |
9139 cygwin*) | 9140 cygwin*) |
9155 xpm_problem="" | 9156 xpm_problem="" |
9156 if test -z "$with_xpm"; then | 9157 if test -z "$with_xpm"; then |
9157 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9158 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9158 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9159 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9159 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9160 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9160 echo "configure:9161: checking for Xpm - no older than 3.4f" >&5 | 9161 echo "configure:9162: checking for Xpm - no older than 3.4f" >&5 |
9161 xe_check_libs=-lXpm | 9162 xe_check_libs=-lXpm |
9162 cat > conftest.$ac_ext <<EOF | 9163 cat > conftest.$ac_ext <<EOF |
9163 #line 9164 "configure" | 9164 #line 9165 "configure" |
9164 #include "confdefs.h" | 9165 #include "confdefs.h" |
9165 #define XPM_NUMBERS | 9166 #define XPM_NUMBERS |
9166 #include <X11/xpm.h> | 9167 #include <X11/xpm.h> |
9167 int main(int c, char **v) { | 9168 int main(int c, char **v) { |
9168 return c == 1 ? 0 : | 9169 return c == 1 ? 0 : |
9169 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9170 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9170 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9171 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9171 EOF | 9172 EOF |
9172 if { (eval echo configure:9173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9173 then | 9174 then |
9174 ./conftest dummy_arg; xpm_status=$?; | 9175 ./conftest dummy_arg; xpm_status=$?; |
9175 if test "$xpm_status" = "0"; then | 9176 if test "$xpm_status" = "0"; then |
9176 with_xpm=yes; | 9177 with_xpm=yes; |
9177 else | 9178 else |
9211 | 9212 |
9212 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9213 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9213 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9214 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9214 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9215 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9215 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9216 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9216 echo "configure:9217: checking for \"FOR_MSW\" xpm" >&5 | 9217 echo "configure:9218: checking for \"FOR_MSW\" xpm" >&5 |
9217 xe_check_libs=-lXpm | 9218 xe_check_libs=-lXpm |
9218 cat > conftest.$ac_ext <<EOF | 9219 cat > conftest.$ac_ext <<EOF |
9219 #line 9220 "configure" | 9220 #line 9221 "configure" |
9220 #include "confdefs.h" | 9221 #include "confdefs.h" |
9221 | 9222 |
9222 int main() { | 9223 int main() { |
9223 XpmCreatePixmapFromData() | 9224 XpmCreatePixmapFromData() |
9224 ; return 0; } | 9225 ; return 0; } |
9225 EOF | 9226 EOF |
9226 if { (eval echo configure:9227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9227 if { (eval echo configure:9228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9227 rm -rf conftest* | 9228 rm -rf conftest* |
9228 xpm_for_msw=no | 9229 xpm_for_msw=no |
9229 else | 9230 else |
9230 echo "configure: failed program was:" >&5 | 9231 echo "configure: failed program was:" >&5 |
9231 cat conftest.$ac_ext >&5 | 9232 cat conftest.$ac_ext >&5 |
9247 fi | 9248 fi |
9248 fi | 9249 fi |
9249 | 9250 |
9250 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9251 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9251 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9252 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9252 echo "configure:9253: checking for compface.h" >&5 | 9253 echo "configure:9254: checking for compface.h" >&5 |
9253 | 9254 |
9254 cat > conftest.$ac_ext <<EOF | 9255 cat > conftest.$ac_ext <<EOF |
9255 #line 9256 "configure" | 9256 #line 9257 "configure" |
9256 #include "confdefs.h" | 9257 #include "confdefs.h" |
9257 #include <compface.h> | 9258 #include <compface.h> |
9258 EOF | 9259 EOF |
9259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9260 { (eval echo configure:9261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9261 { (eval echo configure:9262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9262 if test -z "$ac_err"; then | 9263 if test -z "$ac_err"; then |
9263 rm -rf conftest* | 9264 rm -rf conftest* |
9264 eval "ac_cv_header_$ac_safe=yes" | 9265 eval "ac_cv_header_$ac_safe=yes" |
9265 else | 9266 else |
9278 with_xface=no | 9279 with_xface=no |
9279 fi | 9280 fi |
9280 } | 9281 } |
9281 test -z "$with_xface" && { | 9282 test -z "$with_xface" && { |
9282 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9283 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9283 echo "configure:9284: checking for UnGenFace in -lcompface" >&5 | 9284 echo "configure:9285: checking for UnGenFace in -lcompface" >&5 |
9284 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9285 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9285 | 9286 |
9286 xe_check_libs=" -lcompface " | 9287 xe_check_libs=" -lcompface " |
9287 cat > conftest.$ac_ext <<EOF | 9288 cat > conftest.$ac_ext <<EOF |
9288 #line 9289 "configure" | 9289 #line 9290 "configure" |
9289 #include "confdefs.h" | 9290 #include "confdefs.h" |
9290 /* Override any gcc2 internal prototype to avoid an error. */ | 9291 /* Override any gcc2 internal prototype to avoid an error. */ |
9291 /* We use char because int might match the return type of a gcc2 | 9292 /* We use char because int might match the return type of a gcc2 |
9292 builtin and then its argument prototype would still apply. */ | 9293 builtin and then its argument prototype would still apply. */ |
9293 char UnGenFace(); | 9294 char UnGenFace(); |
9294 | 9295 |
9295 int main() { | 9296 int main() { |
9296 UnGenFace() | 9297 UnGenFace() |
9297 ; return 0; } | 9298 ; return 0; } |
9298 EOF | 9299 EOF |
9299 if { (eval echo configure:9300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9300 if { (eval echo configure:9301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9300 rm -rf conftest* | 9301 rm -rf conftest* |
9301 eval "ac_cv_lib_$ac_lib_var=yes" | 9302 eval "ac_cv_lib_$ac_lib_var=yes" |
9302 else | 9303 else |
9303 echo "configure: failed program was:" >&5 | 9304 echo "configure: failed program was:" >&5 |
9304 cat conftest.$ac_ext >&5 | 9305 cat conftest.$ac_ext >&5 |
9343 fi | 9344 fi |
9344 | 9345 |
9345 if test "$with_png $with_tiff" != "no no"; then | 9346 if test "$with_png $with_tiff" != "no no"; then |
9346 | 9347 |
9347 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9348 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9348 echo "configure:9349: checking for inflate in -lc" >&5 | 9349 echo "configure:9350: checking for inflate in -lc" >&5 |
9349 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9350 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9350 | 9351 |
9351 xe_check_libs=" -lc " | 9352 xe_check_libs=" -lc " |
9352 cat > conftest.$ac_ext <<EOF | 9353 cat > conftest.$ac_ext <<EOF |
9353 #line 9354 "configure" | 9354 #line 9355 "configure" |
9354 #include "confdefs.h" | 9355 #include "confdefs.h" |
9355 /* Override any gcc2 internal prototype to avoid an error. */ | 9356 /* Override any gcc2 internal prototype to avoid an error. */ |
9356 /* We use char because int might match the return type of a gcc2 | 9357 /* We use char because int might match the return type of a gcc2 |
9357 builtin and then its argument prototype would still apply. */ | 9358 builtin and then its argument prototype would still apply. */ |
9358 char inflate(); | 9359 char inflate(); |
9359 | 9360 |
9360 int main() { | 9361 int main() { |
9361 inflate() | 9362 inflate() |
9362 ; return 0; } | 9363 ; return 0; } |
9363 EOF | 9364 EOF |
9364 if { (eval echo configure:9365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9365 if { (eval echo configure:9366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9365 rm -rf conftest* | 9366 rm -rf conftest* |
9366 eval "ac_cv_lib_$ac_lib_var=yes" | 9367 eval "ac_cv_lib_$ac_lib_var=yes" |
9367 else | 9368 else |
9368 echo "configure: failed program was:" >&5 | 9369 echo "configure: failed program was:" >&5 |
9369 cat conftest.$ac_ext >&5 | 9370 cat conftest.$ac_ext >&5 |
9378 : | 9379 : |
9379 else | 9380 else |
9380 echo "$ac_t""no" 1>&6 | 9381 echo "$ac_t""no" 1>&6 |
9381 | 9382 |
9382 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9383 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9383 echo "configure:9384: checking for inflate in -lz" >&5 | 9384 echo "configure:9385: checking for inflate in -lz" >&5 |
9384 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9385 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9385 | 9386 |
9386 xe_check_libs=" -lz " | 9387 xe_check_libs=" -lz " |
9387 cat > conftest.$ac_ext <<EOF | 9388 cat > conftest.$ac_ext <<EOF |
9388 #line 9389 "configure" | 9389 #line 9390 "configure" |
9389 #include "confdefs.h" | 9390 #include "confdefs.h" |
9390 /* Override any gcc2 internal prototype to avoid an error. */ | 9391 /* Override any gcc2 internal prototype to avoid an error. */ |
9391 /* We use char because int might match the return type of a gcc2 | 9392 /* We use char because int might match the return type of a gcc2 |
9392 builtin and then its argument prototype would still apply. */ | 9393 builtin and then its argument prototype would still apply. */ |
9393 char inflate(); | 9394 char inflate(); |
9394 | 9395 |
9395 int main() { | 9396 int main() { |
9396 inflate() | 9397 inflate() |
9397 ; return 0; } | 9398 ; return 0; } |
9398 EOF | 9399 EOF |
9399 if { (eval echo configure:9400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9400 if { (eval echo configure:9401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9400 rm -rf conftest* | 9401 rm -rf conftest* |
9401 eval "ac_cv_lib_$ac_lib_var=yes" | 9402 eval "ac_cv_lib_$ac_lib_var=yes" |
9402 else | 9403 else |
9403 echo "configure: failed program was:" >&5 | 9404 echo "configure: failed program was:" >&5 |
9404 cat conftest.$ac_ext >&5 | 9405 cat conftest.$ac_ext >&5 |
9413 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9414 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9414 else | 9415 else |
9415 echo "$ac_t""no" 1>&6 | 9416 echo "$ac_t""no" 1>&6 |
9416 | 9417 |
9417 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9418 echo "configure:9419: checking for inflate in -lgz" >&5 | 9419 echo "configure:9420: checking for inflate in -lgz" >&5 |
9419 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9420 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9420 | 9421 |
9421 xe_check_libs=" -lgz " | 9422 xe_check_libs=" -lgz " |
9422 cat > conftest.$ac_ext <<EOF | 9423 cat > conftest.$ac_ext <<EOF |
9423 #line 9424 "configure" | 9424 #line 9425 "configure" |
9424 #include "confdefs.h" | 9425 #include "confdefs.h" |
9425 /* Override any gcc2 internal prototype to avoid an error. */ | 9426 /* Override any gcc2 internal prototype to avoid an error. */ |
9426 /* We use char because int might match the return type of a gcc2 | 9427 /* We use char because int might match the return type of a gcc2 |
9427 builtin and then its argument prototype would still apply. */ | 9428 builtin and then its argument prototype would still apply. */ |
9428 char inflate(); | 9429 char inflate(); |
9429 | 9430 |
9430 int main() { | 9431 int main() { |
9431 inflate() | 9432 inflate() |
9432 ; return 0; } | 9433 ; return 0; } |
9433 EOF | 9434 EOF |
9434 if { (eval echo configure:9435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9435 rm -rf conftest* | 9436 rm -rf conftest* |
9436 eval "ac_cv_lib_$ac_lib_var=yes" | 9437 eval "ac_cv_lib_$ac_lib_var=yes" |
9437 else | 9438 else |
9438 echo "configure: failed program was:" >&5 | 9439 echo "configure: failed program was:" >&5 |
9439 cat conftest.$ac_ext >&5 | 9440 cat conftest.$ac_ext >&5 |
9459 | 9460 |
9460 fi | 9461 fi |
9461 | 9462 |
9462 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9463 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9463 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9464 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9464 echo "configure:9465: checking for jpeglib.h" >&5 | 9465 echo "configure:9466: checking for jpeglib.h" >&5 |
9465 | 9466 |
9466 cat > conftest.$ac_ext <<EOF | 9467 cat > conftest.$ac_ext <<EOF |
9467 #line 9468 "configure" | 9468 #line 9469 "configure" |
9468 #include "confdefs.h" | 9469 #include "confdefs.h" |
9469 #include <jpeglib.h> | 9470 #include <jpeglib.h> |
9470 EOF | 9471 EOF |
9471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9472 { (eval echo configure:9473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9473 { (eval echo configure:9474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9474 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9474 if test -z "$ac_err"; then | 9475 if test -z "$ac_err"; then |
9475 rm -rf conftest* | 9476 rm -rf conftest* |
9476 eval "ac_cv_header_$ac_safe=yes" | 9477 eval "ac_cv_header_$ac_safe=yes" |
9477 else | 9478 else |
9490 with_jpeg=no | 9491 with_jpeg=no |
9491 fi | 9492 fi |
9492 } | 9493 } |
9493 test -z "$with_jpeg" && { | 9494 test -z "$with_jpeg" && { |
9494 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9495 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9495 echo "configure:9496: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9496 echo "configure:9497: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9496 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9497 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9497 | 9498 |
9498 xe_check_libs=" -ljpeg " | 9499 xe_check_libs=" -ljpeg " |
9499 cat > conftest.$ac_ext <<EOF | 9500 cat > conftest.$ac_ext <<EOF |
9500 #line 9501 "configure" | 9501 #line 9502 "configure" |
9501 #include "confdefs.h" | 9502 #include "confdefs.h" |
9502 /* Override any gcc2 internal prototype to avoid an error. */ | 9503 /* Override any gcc2 internal prototype to avoid an error. */ |
9503 /* We use char because int might match the return type of a gcc2 | 9504 /* We use char because int might match the return type of a gcc2 |
9504 builtin and then its argument prototype would still apply. */ | 9505 builtin and then its argument prototype would still apply. */ |
9505 char jpeg_destroy_decompress(); | 9506 char jpeg_destroy_decompress(); |
9506 | 9507 |
9507 int main() { | 9508 int main() { |
9508 jpeg_destroy_decompress() | 9509 jpeg_destroy_decompress() |
9509 ; return 0; } | 9510 ; return 0; } |
9510 EOF | 9511 EOF |
9511 if { (eval echo configure:9512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9512 if { (eval echo configure:9513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9512 rm -rf conftest* | 9513 rm -rf conftest* |
9513 eval "ac_cv_lib_$ac_lib_var=yes" | 9514 eval "ac_cv_lib_$ac_lib_var=yes" |
9514 else | 9515 else |
9515 echo "configure: failed program was:" >&5 | 9516 echo "configure: failed program was:" >&5 |
9516 cat conftest.$ac_ext >&5 | 9517 cat conftest.$ac_ext >&5 |
9542 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9543 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9543 fi | 9544 fi |
9544 | 9545 |
9545 png_problem="" | 9546 png_problem="" |
9546 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9547 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9547 echo "configure:9548: checking for pow" >&5 | 9548 echo "configure:9549: checking for pow" >&5 |
9548 | 9549 |
9549 cat > conftest.$ac_ext <<EOF | 9550 cat > conftest.$ac_ext <<EOF |
9550 #line 9551 "configure" | 9551 #line 9552 "configure" |
9551 #include "confdefs.h" | 9552 #include "confdefs.h" |
9552 /* System header to define __stub macros and hopefully few prototypes, | 9553 /* System header to define __stub macros and hopefully few prototypes, |
9553 which can conflict with char pow(); below. */ | 9554 which can conflict with char pow(); below. */ |
9554 #include <assert.h> | 9555 #include <assert.h> |
9555 /* Override any gcc2 internal prototype to avoid an error. */ | 9556 /* Override any gcc2 internal prototype to avoid an error. */ |
9568 pow(); | 9569 pow(); |
9569 #endif | 9570 #endif |
9570 | 9571 |
9571 ; return 0; } | 9572 ; return 0; } |
9572 EOF | 9573 EOF |
9573 if { (eval echo configure:9574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9574 if { (eval echo configure:9575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9574 rm -rf conftest* | 9575 rm -rf conftest* |
9575 eval "ac_cv_func_pow=yes" | 9576 eval "ac_cv_func_pow=yes" |
9576 else | 9577 else |
9577 echo "configure: failed program was:" >&5 | 9578 echo "configure: failed program was:" >&5 |
9578 cat conftest.$ac_ext >&5 | 9579 cat conftest.$ac_ext >&5 |
9589 with_png=no | 9590 with_png=no |
9590 fi | 9591 fi |
9591 } | 9592 } |
9592 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9593 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9593 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9594 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9594 echo "configure:9595: checking for png.h" >&5 | 9595 echo "configure:9596: checking for png.h" >&5 |
9595 | 9596 |
9596 cat > conftest.$ac_ext <<EOF | 9597 cat > conftest.$ac_ext <<EOF |
9597 #line 9598 "configure" | 9598 #line 9599 "configure" |
9598 #include "confdefs.h" | 9599 #include "confdefs.h" |
9599 #include <png.h> | 9600 #include <png.h> |
9600 EOF | 9601 EOF |
9601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9602 { (eval echo configure:9603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9603 { (eval echo configure:9604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9604 if test -z "$ac_err"; then | 9605 if test -z "$ac_err"; then |
9605 rm -rf conftest* | 9606 rm -rf conftest* |
9606 eval "ac_cv_header_$ac_safe=yes" | 9607 eval "ac_cv_header_$ac_safe=yes" |
9607 else | 9608 else |
9620 with_png=no | 9621 with_png=no |
9621 fi | 9622 fi |
9622 } | 9623 } |
9623 test -z "$with_png" && { | 9624 test -z "$with_png" && { |
9624 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9625 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9625 echo "configure:9626: checking for png_read_image in -lpng" >&5 | 9626 echo "configure:9627: checking for png_read_image in -lpng" >&5 |
9626 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9627 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9627 | 9628 |
9628 xe_check_libs=" -lpng " | 9629 xe_check_libs=" -lpng " |
9629 cat > conftest.$ac_ext <<EOF | 9630 cat > conftest.$ac_ext <<EOF |
9630 #line 9631 "configure" | 9631 #line 9632 "configure" |
9631 #include "confdefs.h" | 9632 #include "confdefs.h" |
9632 /* Override any gcc2 internal prototype to avoid an error. */ | 9633 /* Override any gcc2 internal prototype to avoid an error. */ |
9633 /* We use char because int might match the return type of a gcc2 | 9634 /* We use char because int might match the return type of a gcc2 |
9634 builtin and then its argument prototype would still apply. */ | 9635 builtin and then its argument prototype would still apply. */ |
9635 char png_read_image(); | 9636 char png_read_image(); |
9636 | 9637 |
9637 int main() { | 9638 int main() { |
9638 png_read_image() | 9639 png_read_image() |
9639 ; return 0; } | 9640 ; return 0; } |
9640 EOF | 9641 EOF |
9641 if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9642 rm -rf conftest* | 9643 rm -rf conftest* |
9643 eval "ac_cv_lib_$ac_lib_var=yes" | 9644 eval "ac_cv_lib_$ac_lib_var=yes" |
9644 else | 9645 else |
9645 echo "configure: failed program was:" >&5 | 9646 echo "configure: failed program was:" >&5 |
9646 cat conftest.$ac_ext >&5 | 9647 cat conftest.$ac_ext >&5 |
9659 fi | 9660 fi |
9660 | 9661 |
9661 } | 9662 } |
9662 if test -z "$with_png"; then | 9663 if test -z "$with_png"; then |
9663 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9664 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9664 echo "configure:9665: checking for workable png version information" >&5 | 9665 echo "configure:9666: checking for workable png version information" >&5 |
9665 xe_check_libs="-lpng -lz" | 9666 xe_check_libs="-lpng -lz" |
9666 cat > conftest.$ac_ext <<EOF | 9667 cat > conftest.$ac_ext <<EOF |
9667 #line 9668 "configure" | 9668 #line 9669 "configure" |
9668 #include "confdefs.h" | 9669 #include "confdefs.h" |
9669 #include <png.h> | 9670 #include <png.h> |
9670 int main(int c, char **v) { | 9671 int main(int c, char **v) { |
9671 if (c == 1) return 0; | 9672 if (c == 1) return 0; |
9672 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9673 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9673 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9674 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9674 EOF | 9675 EOF |
9675 if { (eval echo configure:9676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9676 if { (eval echo configure:9677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9676 then | 9677 then |
9677 ./conftest dummy_arg; png_status=$?; | 9678 ./conftest dummy_arg; png_status=$?; |
9678 if test "$png_status" = "0"; then | 9679 if test "$png_status" = "0"; then |
9679 with_png=yes; | 9680 with_png=yes; |
9680 else | 9681 else |
9713 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9714 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9714 fi | 9715 fi |
9715 | 9716 |
9716 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9717 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9717 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9718 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9718 echo "configure:9719: checking for tiffio.h" >&5 | 9719 echo "configure:9720: checking for tiffio.h" >&5 |
9719 | 9720 |
9720 cat > conftest.$ac_ext <<EOF | 9721 cat > conftest.$ac_ext <<EOF |
9721 #line 9722 "configure" | 9722 #line 9723 "configure" |
9722 #include "confdefs.h" | 9723 #include "confdefs.h" |
9723 #include <tiffio.h> | 9724 #include <tiffio.h> |
9724 EOF | 9725 EOF |
9725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9726 { (eval echo configure:9727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9727 { (eval echo configure:9728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9728 if test -z "$ac_err"; then | 9729 if test -z "$ac_err"; then |
9729 rm -rf conftest* | 9730 rm -rf conftest* |
9730 eval "ac_cv_header_$ac_safe=yes" | 9731 eval "ac_cv_header_$ac_safe=yes" |
9731 else | 9732 else |
9744 with_tiff=no | 9745 with_tiff=no |
9745 fi | 9746 fi |
9746 } | 9747 } |
9747 test -z "$with_tiff" && { | 9748 test -z "$with_tiff" && { |
9748 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9749 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9749 echo "configure:9750: checking for TIFFClientOpen in -ltiff" >&5 | 9750 echo "configure:9751: checking for TIFFClientOpen in -ltiff" >&5 |
9750 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9751 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9751 | 9752 |
9752 xe_check_libs=" -ltiff " | 9753 xe_check_libs=" -ltiff " |
9753 cat > conftest.$ac_ext <<EOF | 9754 cat > conftest.$ac_ext <<EOF |
9754 #line 9755 "configure" | 9755 #line 9756 "configure" |
9755 #include "confdefs.h" | 9756 #include "confdefs.h" |
9756 /* Override any gcc2 internal prototype to avoid an error. */ | 9757 /* Override any gcc2 internal prototype to avoid an error. */ |
9757 /* We use char because int might match the return type of a gcc2 | 9758 /* We use char because int might match the return type of a gcc2 |
9758 builtin and then its argument prototype would still apply. */ | 9759 builtin and then its argument prototype would still apply. */ |
9759 char TIFFClientOpen(); | 9760 char TIFFClientOpen(); |
9760 | 9761 |
9761 int main() { | 9762 int main() { |
9762 TIFFClientOpen() | 9763 TIFFClientOpen() |
9763 ; return 0; } | 9764 ; return 0; } |
9764 EOF | 9765 EOF |
9765 if { (eval echo configure:9766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9766 rm -rf conftest* | 9767 rm -rf conftest* |
9767 eval "ac_cv_lib_$ac_lib_var=yes" | 9768 eval "ac_cv_lib_$ac_lib_var=yes" |
9768 else | 9769 else |
9769 echo "configure: failed program was:" >&5 | 9770 echo "configure: failed program was:" >&5 |
9770 cat conftest.$ac_ext >&5 | 9771 cat conftest.$ac_ext >&5 |
9799 | 9800 |
9800 | 9801 |
9801 if test "$with_gtk" = "yes"; then | 9802 if test "$with_gtk" = "yes"; then |
9802 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9803 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9803 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9804 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9804 echo "configure:9805: checking for compface.h" >&5 | 9805 echo "configure:9806: checking for compface.h" >&5 |
9805 | 9806 |
9806 cat > conftest.$ac_ext <<EOF | 9807 cat > conftest.$ac_ext <<EOF |
9807 #line 9808 "configure" | 9808 #line 9809 "configure" |
9808 #include "confdefs.h" | 9809 #include "confdefs.h" |
9809 #include <compface.h> | 9810 #include <compface.h> |
9810 EOF | 9811 EOF |
9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9813 { (eval echo configure:9814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9814 if test -z "$ac_err"; then | 9815 if test -z "$ac_err"; then |
9815 rm -rf conftest* | 9816 rm -rf conftest* |
9816 eval "ac_cv_header_$ac_safe=yes" | 9817 eval "ac_cv_header_$ac_safe=yes" |
9817 else | 9818 else |
9830 with_xface=no | 9831 with_xface=no |
9831 fi | 9832 fi |
9832 } | 9833 } |
9833 test -z "$with_xface" && { | 9834 test -z "$with_xface" && { |
9834 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9835 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9835 echo "configure:9836: checking for UnGenFace in -lcompface" >&5 | 9836 echo "configure:9837: checking for UnGenFace in -lcompface" >&5 |
9836 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9837 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9837 | 9838 |
9838 xe_check_libs=" -lcompface " | 9839 xe_check_libs=" -lcompface " |
9839 cat > conftest.$ac_ext <<EOF | 9840 cat > conftest.$ac_ext <<EOF |
9840 #line 9841 "configure" | 9841 #line 9842 "configure" |
9841 #include "confdefs.h" | 9842 #include "confdefs.h" |
9842 /* Override any gcc2 internal prototype to avoid an error. */ | 9843 /* Override any gcc2 internal prototype to avoid an error. */ |
9843 /* We use char because int might match the return type of a gcc2 | 9844 /* We use char because int might match the return type of a gcc2 |
9844 builtin and then its argument prototype would still apply. */ | 9845 builtin and then its argument prototype would still apply. */ |
9845 char UnGenFace(); | 9846 char UnGenFace(); |
9846 | 9847 |
9847 int main() { | 9848 int main() { |
9848 UnGenFace() | 9849 UnGenFace() |
9849 ; return 0; } | 9850 ; return 0; } |
9850 EOF | 9851 EOF |
9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9852 if { (eval echo configure:9853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9852 rm -rf conftest* | 9853 rm -rf conftest* |
9853 eval "ac_cv_lib_$ac_lib_var=yes" | 9854 eval "ac_cv_lib_$ac_lib_var=yes" |
9854 else | 9855 else |
9855 echo "configure: failed program was:" >&5 | 9856 echo "configure: failed program was:" >&5 |
9856 cat conftest.$ac_ext >&5 | 9857 cat conftest.$ac_ext >&5 |
9885 | 9886 |
9886 | 9887 |
9887 | 9888 |
9888 if test "$with_x11" = "yes"; then | 9889 if test "$with_x11" = "yes"; then |
9889 echo "checking for X11 graphics libraries" 1>&6 | 9890 echo "checking for X11 graphics libraries" 1>&6 |
9890 echo "configure:9891: checking for X11 graphics libraries" >&5 | 9891 echo "configure:9892: checking for X11 graphics libraries" >&5 |
9891 fi | 9892 fi |
9892 | 9893 |
9893 case "$with_widgets" in | 9894 case "$with_widgets" in |
9894 "yes" | "athena") detect_athena=yes ;; | 9895 "yes" | "athena") detect_athena=yes ;; |
9895 *) detect_athena=no ;; | 9896 *) detect_athena=no ;; |
9896 esac | 9897 esac |
9897 | 9898 |
9898 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9899 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9899 echo "checking for the Athena widgets" 1>&6 | 9900 echo "checking for the Athena widgets" 1>&6 |
9900 echo "configure:9901: checking for the Athena widgets" >&5 | 9901 echo "configure:9902: checking for the Athena widgets" >&5 |
9901 | 9902 |
9902 case "$with_athena" in | 9903 case "$with_athena" in |
9903 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9904 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9904 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9905 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9905 "next") athena_variant=neXtaw athena_3d=yes ;; | 9906 "next") athena_variant=neXtaw athena_3d=yes ;; |
9909 esac | 9910 esac |
9910 | 9911 |
9911 if test "$athena_3d" = "no"; then | 9912 if test "$athena_3d" = "no"; then |
9912 | 9913 |
9913 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9914 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9914 echo "configure:9915: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9915 echo "configure:9916: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9915 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9916 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9916 | 9917 |
9917 xe_check_libs=" -l$athena_variant " | 9918 xe_check_libs=" -l$athena_variant " |
9918 cat > conftest.$ac_ext <<EOF | 9919 cat > conftest.$ac_ext <<EOF |
9919 #line 9920 "configure" | 9920 #line 9921 "configure" |
9920 #include "confdefs.h" | 9921 #include "confdefs.h" |
9921 /* Override any gcc2 internal prototype to avoid an error. */ | 9922 /* Override any gcc2 internal prototype to avoid an error. */ |
9922 /* We use char because int might match the return type of a gcc2 | 9923 /* We use char because int might match the return type of a gcc2 |
9923 builtin and then its argument prototype would still apply. */ | 9924 builtin and then its argument prototype would still apply. */ |
9924 char XawScrollbarSetThumb(); | 9925 char XawScrollbarSetThumb(); |
9925 | 9926 |
9926 int main() { | 9927 int main() { |
9927 XawScrollbarSetThumb() | 9928 XawScrollbarSetThumb() |
9928 ; return 0; } | 9929 ; return 0; } |
9929 EOF | 9930 EOF |
9930 if { (eval echo configure:9931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9931 if { (eval echo configure:9932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9931 rm -rf conftest* | 9932 rm -rf conftest* |
9932 eval "ac_cv_lib_$ac_lib_var=yes" | 9933 eval "ac_cv_lib_$ac_lib_var=yes" |
9933 else | 9934 else |
9934 echo "configure: failed program was:" >&5 | 9935 echo "configure: failed program was:" >&5 |
9935 cat conftest.$ac_ext >&5 | 9936 cat conftest.$ac_ext >&5 |
9941 | 9942 |
9942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9943 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9943 echo "$ac_t""yes" 1>&6 | 9944 echo "$ac_t""yes" 1>&6 |
9944 | 9945 |
9945 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9946 echo "configure:9947: checking for threeDClassRec in -l$athena_variant" >&5 | 9947 echo "configure:9948: checking for threeDClassRec in -l$athena_variant" >&5 |
9947 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9948 | 9949 |
9949 xe_check_libs=" -l$athena_variant " | 9950 xe_check_libs=" -l$athena_variant " |
9950 cat > conftest.$ac_ext <<EOF | 9951 cat > conftest.$ac_ext <<EOF |
9951 #line 9952 "configure" | 9952 #line 9953 "configure" |
9952 #include "confdefs.h" | 9953 #include "confdefs.h" |
9953 /* Override any gcc2 internal prototype to avoid an error. */ | 9954 /* Override any gcc2 internal prototype to avoid an error. */ |
9954 /* We use char because int might match the return type of a gcc2 | 9955 /* We use char because int might match the return type of a gcc2 |
9955 builtin and then its argument prototype would still apply. */ | 9956 builtin and then its argument prototype would still apply. */ |
9956 char threeDClassRec(); | 9957 char threeDClassRec(); |
9957 | 9958 |
9958 int main() { | 9959 int main() { |
9959 threeDClassRec() | 9960 threeDClassRec() |
9960 ; return 0; } | 9961 ; return 0; } |
9961 EOF | 9962 EOF |
9962 if { (eval echo configure:9963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9963 if { (eval echo configure:9964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9963 rm -rf conftest* | 9964 rm -rf conftest* |
9964 eval "ac_cv_lib_$ac_lib_var=yes" | 9965 eval "ac_cv_lib_$ac_lib_var=yes" |
9965 else | 9966 else |
9966 echo "configure: failed program was:" >&5 | 9967 echo "configure: failed program was:" >&5 |
9967 cat conftest.$ac_ext >&5 | 9968 cat conftest.$ac_ext >&5 |
9988 | 9989 |
9989 | 9990 |
9990 else | 9991 else |
9991 | 9992 |
9992 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9993 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9993 echo "configure:9994: checking for threeDClassRec in -l$athena_variant" >&5 | 9994 echo "configure:9995: checking for threeDClassRec in -l$athena_variant" >&5 |
9994 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9995 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9995 | 9996 |
9996 xe_check_libs=" -l$athena_variant " | 9997 xe_check_libs=" -l$athena_variant " |
9997 cat > conftest.$ac_ext <<EOF | 9998 cat > conftest.$ac_ext <<EOF |
9998 #line 9999 "configure" | 9999 #line 10000 "configure" |
9999 #include "confdefs.h" | 10000 #include "confdefs.h" |
10000 /* Override any gcc2 internal prototype to avoid an error. */ | 10001 /* Override any gcc2 internal prototype to avoid an error. */ |
10001 /* We use char because int might match the return type of a gcc2 | 10002 /* We use char because int might match the return type of a gcc2 |
10002 builtin and then its argument prototype would still apply. */ | 10003 builtin and then its argument prototype would still apply. */ |
10003 char threeDClassRec(); | 10004 char threeDClassRec(); |
10004 | 10005 |
10005 int main() { | 10006 int main() { |
10006 threeDClassRec() | 10007 threeDClassRec() |
10007 ; return 0; } | 10008 ; return 0; } |
10008 EOF | 10009 EOF |
10009 if { (eval echo configure:10010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10010 if { (eval echo configure:10011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10010 rm -rf conftest* | 10011 rm -rf conftest* |
10011 eval "ac_cv_lib_$ac_lib_var=yes" | 10012 eval "ac_cv_lib_$ac_lib_var=yes" |
10012 else | 10013 else |
10013 echo "configure: failed program was:" >&5 | 10014 echo "configure: failed program was:" >&5 |
10014 cat conftest.$ac_ext >&5 | 10015 cat conftest.$ac_ext >&5 |
10022 echo "$ac_t""yes" 1>&6 | 10023 echo "$ac_t""yes" 1>&6 |
10023 athena_lib=$athena_variant | 10024 athena_lib=$athena_variant |
10024 else | 10025 else |
10025 echo "$ac_t""no" 1>&6 | 10026 echo "$ac_t""no" 1>&6 |
10026 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10027 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10027 echo "configure:10028: checking for threeDClassRec in -lXaw" >&5 | 10028 echo "configure:10029: checking for threeDClassRec in -lXaw" >&5 |
10028 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10029 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10029 | 10030 |
10030 xe_check_libs=" -lXaw " | 10031 xe_check_libs=" -lXaw " |
10031 cat > conftest.$ac_ext <<EOF | 10032 cat > conftest.$ac_ext <<EOF |
10032 #line 10033 "configure" | 10033 #line 10034 "configure" |
10033 #include "confdefs.h" | 10034 #include "confdefs.h" |
10034 /* Override any gcc2 internal prototype to avoid an error. */ | 10035 /* Override any gcc2 internal prototype to avoid an error. */ |
10035 /* We use char because int might match the return type of a gcc2 | 10036 /* We use char because int might match the return type of a gcc2 |
10036 builtin and then its argument prototype would still apply. */ | 10037 builtin and then its argument prototype would still apply. */ |
10037 char threeDClassRec(); | 10038 char threeDClassRec(); |
10038 | 10039 |
10039 int main() { | 10040 int main() { |
10040 threeDClassRec() | 10041 threeDClassRec() |
10041 ; return 0; } | 10042 ; return 0; } |
10042 EOF | 10043 EOF |
10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10044 if { (eval echo configure:10045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10044 rm -rf conftest* | 10045 rm -rf conftest* |
10045 eval "ac_cv_lib_$ac_lib_var=yes" | 10046 eval "ac_cv_lib_$ac_lib_var=yes" |
10046 else | 10047 else |
10047 echo "configure: failed program was:" >&5 | 10048 echo "configure: failed program was:" >&5 |
10048 cat conftest.$ac_ext >&5 | 10049 cat conftest.$ac_ext >&5 |
10069 fi | 10070 fi |
10070 | 10071 |
10071 if test "$athena_3d" = "no"; then | 10072 if test "$athena_3d" = "no"; then |
10072 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10073 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10073 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10074 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10074 echo "configure:10075: checking for X11/Xaw/ThreeD.h" >&5 | 10075 echo "configure:10076: checking for X11/Xaw/ThreeD.h" >&5 |
10075 | 10076 |
10076 cat > conftest.$ac_ext <<EOF | 10077 cat > conftest.$ac_ext <<EOF |
10077 #line 10078 "configure" | 10078 #line 10079 "configure" |
10078 #include "confdefs.h" | 10079 #include "confdefs.h" |
10079 #include <X11/Xaw/ThreeD.h> | 10080 #include <X11/Xaw/ThreeD.h> |
10080 EOF | 10081 EOF |
10081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10082 { (eval echo configure:10083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10083 { (eval echo configure:10084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10084 if test -z "$ac_err"; then | 10085 if test -z "$ac_err"; then |
10085 rm -rf conftest* | 10086 rm -rf conftest* |
10086 eval "ac_cv_header_$ac_safe=yes" | 10087 eval "ac_cv_header_$ac_safe=yes" |
10087 else | 10088 else |
10097 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10098 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10098 else | 10099 else |
10099 echo "$ac_t""no" 1>&6 | 10100 echo "$ac_t""no" 1>&6 |
10100 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10101 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10101 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10102 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10102 echo "configure:10103: checking for X11/Xaw/XawInit.h" >&5 | 10103 echo "configure:10104: checking for X11/Xaw/XawInit.h" >&5 |
10103 | 10104 |
10104 cat > conftest.$ac_ext <<EOF | 10105 cat > conftest.$ac_ext <<EOF |
10105 #line 10106 "configure" | 10106 #line 10107 "configure" |
10106 #include "confdefs.h" | 10107 #include "confdefs.h" |
10107 #include <X11/Xaw/XawInit.h> | 10108 #include <X11/Xaw/XawInit.h> |
10108 EOF | 10109 EOF |
10109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10110 { (eval echo configure:10111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10111 { (eval echo configure:10112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10112 if test -z "$ac_err"; then | 10113 if test -z "$ac_err"; then |
10113 rm -rf conftest* | 10114 rm -rf conftest* |
10114 eval "ac_cv_header_$ac_safe=yes" | 10115 eval "ac_cv_header_$ac_safe=yes" |
10115 else | 10116 else |
10131 fi | 10132 fi |
10132 | 10133 |
10133 else | 10134 else |
10134 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10135 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10135 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10136 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10136 echo "configure:10137: checking for X11/$athena_variant/XawInit.h" >&5 | 10137 echo "configure:10138: checking for X11/$athena_variant/XawInit.h" >&5 |
10137 | 10138 |
10138 cat > conftest.$ac_ext <<EOF | 10139 cat > conftest.$ac_ext <<EOF |
10139 #line 10140 "configure" | 10140 #line 10141 "configure" |
10140 #include "confdefs.h" | 10141 #include "confdefs.h" |
10141 #include <X11/$athena_variant/XawInit.h> | 10142 #include <X11/$athena_variant/XawInit.h> |
10142 EOF | 10143 EOF |
10143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10144 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10144 { (eval echo configure:10145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10145 { (eval echo configure:10146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10146 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10146 if test -z "$ac_err"; then | 10147 if test -z "$ac_err"; then |
10147 rm -rf conftest* | 10148 rm -rf conftest* |
10148 eval "ac_cv_header_$ac_safe=yes" | 10149 eval "ac_cv_header_$ac_safe=yes" |
10149 else | 10150 else |
10156 rm -f conftest* | 10157 rm -f conftest* |
10157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10158 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10158 echo "$ac_t""yes" 1>&6 | 10159 echo "$ac_t""yes" 1>&6 |
10159 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10160 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10160 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10161 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10161 echo "configure:10162: checking for X11/$athena_variant/ThreeD.h" >&5 | 10162 echo "configure:10163: checking for X11/$athena_variant/ThreeD.h" >&5 |
10162 | 10163 |
10163 cat > conftest.$ac_ext <<EOF | 10164 cat > conftest.$ac_ext <<EOF |
10164 #line 10165 "configure" | 10165 #line 10166 "configure" |
10165 #include "confdefs.h" | 10166 #include "confdefs.h" |
10166 #include <X11/$athena_variant/ThreeD.h> | 10167 #include <X11/$athena_variant/ThreeD.h> |
10167 EOF | 10168 EOF |
10168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10169 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; } | 10170 { (eval echo configure:10171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10171 if test -z "$ac_err"; then | 10172 if test -z "$ac_err"; then |
10172 rm -rf conftest* | 10173 rm -rf conftest* |
10173 eval "ac_cv_header_$ac_safe=yes" | 10174 eval "ac_cv_header_$ac_safe=yes" |
10174 else | 10175 else |
10192 | 10193 |
10193 | 10194 |
10194 if test -z "$athena_h_path"; then | 10195 if test -z "$athena_h_path"; then |
10195 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10196 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10196 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10197 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10197 echo "configure:10198: checking for $athena_variant/XawInit.h" >&5 | 10198 echo "configure:10199: checking for $athena_variant/XawInit.h" >&5 |
10198 | 10199 |
10199 cat > conftest.$ac_ext <<EOF | 10200 cat > conftest.$ac_ext <<EOF |
10200 #line 10201 "configure" | 10201 #line 10202 "configure" |
10201 #include "confdefs.h" | 10202 #include "confdefs.h" |
10202 #include <$athena_variant/XawInit.h> | 10203 #include <$athena_variant/XawInit.h> |
10203 EOF | 10204 EOF |
10204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10205 { (eval echo configure:10206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10206 { (eval echo configure:10207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10207 if test -z "$ac_err"; then | 10208 if test -z "$ac_err"; then |
10208 rm -rf conftest* | 10209 rm -rf conftest* |
10209 eval "ac_cv_header_$ac_safe=yes" | 10210 eval "ac_cv_header_$ac_safe=yes" |
10210 else | 10211 else |
10217 rm -f conftest* | 10218 rm -f conftest* |
10218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10219 echo "$ac_t""yes" 1>&6 | 10220 echo "$ac_t""yes" 1>&6 |
10220 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10221 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10221 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10222 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10222 echo "configure:10223: checking for $athena_variant/ThreeD.h" >&5 | 10223 echo "configure:10224: checking for $athena_variant/ThreeD.h" >&5 |
10223 | 10224 |
10224 cat > conftest.$ac_ext <<EOF | 10225 cat > conftest.$ac_ext <<EOF |
10225 #line 10226 "configure" | 10226 #line 10227 "configure" |
10226 #include "confdefs.h" | 10227 #include "confdefs.h" |
10227 #include <$athena_variant/ThreeD.h> | 10228 #include <$athena_variant/ThreeD.h> |
10228 EOF | 10229 EOF |
10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10231 { (eval echo configure:10232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10232 if test -z "$ac_err"; then | 10233 if test -z "$ac_err"; then |
10233 rm -rf conftest* | 10234 rm -rf conftest* |
10234 eval "ac_cv_header_$ac_safe=yes" | 10235 eval "ac_cv_header_$ac_safe=yes" |
10235 else | 10236 else |
10254 fi | 10255 fi |
10255 | 10256 |
10256 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10257 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10257 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10258 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10258 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10259 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10259 echo "configure:10260: checking for X11/Xaw3d/XawInit.h" >&5 | 10260 echo "configure:10261: checking for X11/Xaw3d/XawInit.h" >&5 |
10260 | 10261 |
10261 cat > conftest.$ac_ext <<EOF | 10262 cat > conftest.$ac_ext <<EOF |
10262 #line 10263 "configure" | 10263 #line 10264 "configure" |
10263 #include "confdefs.h" | 10264 #include "confdefs.h" |
10264 #include <X11/Xaw3d/XawInit.h> | 10265 #include <X11/Xaw3d/XawInit.h> |
10265 EOF | 10266 EOF |
10266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10267 { (eval echo configure:10268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10268 { (eval echo configure:10269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10269 if test -z "$ac_err"; then | 10270 if test -z "$ac_err"; then |
10270 rm -rf conftest* | 10271 rm -rf conftest* |
10271 eval "ac_cv_header_$ac_safe=yes" | 10272 eval "ac_cv_header_$ac_safe=yes" |
10272 else | 10273 else |
10279 rm -f conftest* | 10280 rm -f conftest* |
10280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10281 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10281 echo "$ac_t""yes" 1>&6 | 10282 echo "$ac_t""yes" 1>&6 |
10282 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10283 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10283 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10284 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10284 echo "configure:10285: checking for X11/Xaw3d/ThreeD.h" >&5 | 10285 echo "configure:10286: checking for X11/Xaw3d/ThreeD.h" >&5 |
10285 | 10286 |
10286 cat > conftest.$ac_ext <<EOF | 10287 cat > conftest.$ac_ext <<EOF |
10287 #line 10288 "configure" | 10288 #line 10289 "configure" |
10288 #include "confdefs.h" | 10289 #include "confdefs.h" |
10289 #include <X11/Xaw3d/ThreeD.h> | 10290 #include <X11/Xaw3d/ThreeD.h> |
10290 EOF | 10291 EOF |
10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10292 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; } | 10293 { (eval echo configure:10294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10294 if test -z "$ac_err"; then | 10295 if test -z "$ac_err"; then |
10295 rm -rf conftest* | 10296 rm -rf conftest* |
10296 eval "ac_cv_header_$ac_safe=yes" | 10297 eval "ac_cv_header_$ac_safe=yes" |
10297 else | 10298 else |
10319 fi | 10320 fi |
10320 | 10321 |
10321 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10322 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10322 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10323 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10323 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10324 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10324 echo "configure:10325: checking for Xaw3d/XawInit.h" >&5 | 10325 echo "configure:10326: checking for Xaw3d/XawInit.h" >&5 |
10325 | 10326 |
10326 cat > conftest.$ac_ext <<EOF | 10327 cat > conftest.$ac_ext <<EOF |
10327 #line 10328 "configure" | 10328 #line 10329 "configure" |
10328 #include "confdefs.h" | 10329 #include "confdefs.h" |
10329 #include <Xaw3d/XawInit.h> | 10330 #include <Xaw3d/XawInit.h> |
10330 EOF | 10331 EOF |
10331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10332 { (eval echo configure:10333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10333 { (eval echo configure:10334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10334 if test -z "$ac_err"; then | 10335 if test -z "$ac_err"; then |
10335 rm -rf conftest* | 10336 rm -rf conftest* |
10336 eval "ac_cv_header_$ac_safe=yes" | 10337 eval "ac_cv_header_$ac_safe=yes" |
10337 else | 10338 else |
10344 rm -f conftest* | 10345 rm -f conftest* |
10345 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10346 echo "$ac_t""yes" 1>&6 | 10347 echo "$ac_t""yes" 1>&6 |
10347 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10348 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10348 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10349 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10349 echo "configure:10350: checking for Xaw3d/ThreeD.h" >&5 | 10350 echo "configure:10351: checking for Xaw3d/ThreeD.h" >&5 |
10350 | 10351 |
10351 cat > conftest.$ac_ext <<EOF | 10352 cat > conftest.$ac_ext <<EOF |
10352 #line 10353 "configure" | 10353 #line 10354 "configure" |
10353 #include "confdefs.h" | 10354 #include "confdefs.h" |
10354 #include <Xaw3d/ThreeD.h> | 10355 #include <Xaw3d/ThreeD.h> |
10355 EOF | 10356 EOF |
10356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10357 { (eval echo configure:10358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10358 { (eval echo configure:10359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10359 if test -z "$ac_err"; then | 10360 if test -z "$ac_err"; then |
10360 rm -rf conftest* | 10361 rm -rf conftest* |
10361 eval "ac_cv_header_$ac_safe=yes" | 10362 eval "ac_cv_header_$ac_safe=yes" |
10362 else | 10363 else |
10384 fi | 10385 fi |
10385 | 10386 |
10386 if test -z "$athena_h_path"; then | 10387 if test -z "$athena_h_path"; then |
10387 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10388 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10388 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10389 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10389 echo "configure:10390: checking for X11/Xaw/ThreeD.h" >&5 | 10390 echo "configure:10391: checking for X11/Xaw/ThreeD.h" >&5 |
10390 | 10391 |
10391 cat > conftest.$ac_ext <<EOF | 10392 cat > conftest.$ac_ext <<EOF |
10392 #line 10393 "configure" | 10393 #line 10394 "configure" |
10393 #include "confdefs.h" | 10394 #include "confdefs.h" |
10394 #include <X11/Xaw/ThreeD.h> | 10395 #include <X11/Xaw/ThreeD.h> |
10395 EOF | 10396 EOF |
10396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10397 { (eval echo configure:10398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10398 { (eval echo configure:10399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10399 if test -z "$ac_err"; then | 10400 if test -z "$ac_err"; then |
10400 rm -rf conftest* | 10401 rm -rf conftest* |
10401 eval "ac_cv_header_$ac_safe=yes" | 10402 eval "ac_cv_header_$ac_safe=yes" |
10402 else | 10403 else |
10431 have_xaw=no | 10432 have_xaw=no |
10432 fi | 10433 fi |
10433 if test "$with_x11" = "yes"; then | 10434 if test "$with_x11" = "yes"; then |
10434 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10435 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10435 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10436 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10436 echo "configure:10437: checking for Xm/Xm.h" >&5 | 10437 echo "configure:10438: checking for Xm/Xm.h" >&5 |
10437 | 10438 |
10438 cat > conftest.$ac_ext <<EOF | 10439 cat > conftest.$ac_ext <<EOF |
10439 #line 10440 "configure" | 10440 #line 10441 "configure" |
10440 #include "confdefs.h" | 10441 #include "confdefs.h" |
10441 #include <Xm/Xm.h> | 10442 #include <Xm/Xm.h> |
10442 EOF | 10443 EOF |
10443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10444 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; } | 10445 { (eval echo configure:10446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10446 if test -z "$ac_err"; then | 10447 if test -z "$ac_err"; then |
10447 rm -rf conftest* | 10448 rm -rf conftest* |
10448 eval "ac_cv_header_$ac_safe=yes" | 10449 eval "ac_cv_header_$ac_safe=yes" |
10449 else | 10450 else |
10456 rm -f conftest* | 10457 rm -f conftest* |
10457 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10458 echo "$ac_t""yes" 1>&6 | 10459 echo "$ac_t""yes" 1>&6 |
10459 | 10460 |
10460 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10461 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10461 echo "configure:10462: checking for XmStringFree in -lXm" >&5 | 10462 echo "configure:10463: checking for XmStringFree in -lXm" >&5 |
10462 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10463 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10463 | 10464 |
10464 xe_check_libs=" -lXm " | 10465 xe_check_libs=" -lXm " |
10465 cat > conftest.$ac_ext <<EOF | 10466 cat > conftest.$ac_ext <<EOF |
10466 #line 10467 "configure" | 10467 #line 10468 "configure" |
10467 #include "confdefs.h" | 10468 #include "confdefs.h" |
10468 /* Override any gcc2 internal prototype to avoid an error. */ | 10469 /* Override any gcc2 internal prototype to avoid an error. */ |
10469 /* We use char because int might match the return type of a gcc2 | 10470 /* We use char because int might match the return type of a gcc2 |
10470 builtin and then its argument prototype would still apply. */ | 10471 builtin and then its argument prototype would still apply. */ |
10471 char XmStringFree(); | 10472 char XmStringFree(); |
10472 | 10473 |
10473 int main() { | 10474 int main() { |
10474 XmStringFree() | 10475 XmStringFree() |
10475 ; return 0; } | 10476 ; return 0; } |
10476 EOF | 10477 EOF |
10477 if { (eval echo configure:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10478 if { (eval echo configure:10479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10478 rm -rf conftest* | 10479 rm -rf conftest* |
10479 eval "ac_cv_lib_$ac_lib_var=yes" | 10480 eval "ac_cv_lib_$ac_lib_var=yes" |
10480 else | 10481 else |
10481 echo "configure: failed program was:" >&5 | 10482 echo "configure: failed program was:" >&5 |
10482 cat conftest.$ac_ext >&5 | 10483 cat conftest.$ac_ext >&5 |
10501 fi | 10502 fi |
10502 | 10503 |
10503 | 10504 |
10504 if test "$have_motif" = "yes"; then | 10505 if test "$have_motif" = "yes"; then |
10505 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10506 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10506 echo "configure:10507: checking for Lesstif" >&5 | 10507 echo "configure:10508: checking for Lesstif" >&5 |
10507 cat > conftest.$ac_ext <<EOF | 10508 cat > conftest.$ac_ext <<EOF |
10508 #line 10509 "configure" | 10509 #line 10510 "configure" |
10509 #include "confdefs.h" | 10510 #include "confdefs.h" |
10510 #include <Xm/Xm.h> | 10511 #include <Xm/Xm.h> |
10511 #ifdef LESSTIF_VERSION | 10512 #ifdef LESSTIF_VERSION |
10512 yes | 10513 yes |
10513 #endif | 10514 #endif |
10876 | 10877 |
10877 fi | 10878 fi |
10878 | 10879 |
10879 if test "$with_mule" = "yes" ; then | 10880 if test "$with_mule" = "yes" ; then |
10880 echo "checking for Mule-related features" 1>&6 | 10881 echo "checking for Mule-related features" 1>&6 |
10881 echo "configure:10882: checking for Mule-related features" >&5 | 10882 echo "configure:10883: checking for Mule-related features" >&5 |
10882 { test "$extra_verbose" = "yes" && cat << \EOF | 10883 { test "$extra_verbose" = "yes" && cat << \EOF |
10883 Defining MULE | 10884 Defining MULE |
10884 EOF | 10885 EOF |
10885 cat >> confdefs.h <<\EOF | 10886 cat >> confdefs.h <<\EOF |
10886 #define MULE 1 | 10887 #define MULE 1 |
10890 | 10891 |
10891 for ac_hdr in libintl.h | 10892 for ac_hdr in libintl.h |
10892 do | 10893 do |
10893 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10894 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10894 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10895 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10895 echo "configure:10896: checking for $ac_hdr" >&5 | 10896 echo "configure:10897: checking for $ac_hdr" >&5 |
10896 | 10897 |
10897 cat > conftest.$ac_ext <<EOF | 10898 cat > conftest.$ac_ext <<EOF |
10898 #line 10899 "configure" | 10899 #line 10900 "configure" |
10899 #include "confdefs.h" | 10900 #include "confdefs.h" |
10900 #include <$ac_hdr> | 10901 #include <$ac_hdr> |
10901 EOF | 10902 EOF |
10902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10903 { (eval echo configure:10904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10904 { (eval echo configure:10905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10905 if test -z "$ac_err"; then | 10906 if test -z "$ac_err"; then |
10906 rm -rf conftest* | 10907 rm -rf conftest* |
10907 eval "ac_cv_header_$ac_safe=yes" | 10908 eval "ac_cv_header_$ac_safe=yes" |
10908 else | 10909 else |
10929 fi | 10930 fi |
10930 done | 10931 done |
10931 | 10932 |
10932 | 10933 |
10933 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10934 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10934 echo "configure:10935: checking for strerror in -lintl" >&5 | 10935 echo "configure:10936: checking for strerror in -lintl" >&5 |
10935 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10936 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10936 | 10937 |
10937 xe_check_libs=" -lintl " | 10938 xe_check_libs=" -lintl " |
10938 cat > conftest.$ac_ext <<EOF | 10939 cat > conftest.$ac_ext <<EOF |
10939 #line 10940 "configure" | 10940 #line 10941 "configure" |
10940 #include "confdefs.h" | 10941 #include "confdefs.h" |
10941 /* Override any gcc2 internal prototype to avoid an error. */ | 10942 /* Override any gcc2 internal prototype to avoid an error. */ |
10942 /* We use char because int might match the return type of a gcc2 | 10943 /* We use char because int might match the return type of a gcc2 |
10943 builtin and then its argument prototype would still apply. */ | 10944 builtin and then its argument prototype would still apply. */ |
10944 char strerror(); | 10945 char strerror(); |
10945 | 10946 |
10946 int main() { | 10947 int main() { |
10947 strerror() | 10948 strerror() |
10948 ; return 0; } | 10949 ; return 0; } |
10949 EOF | 10950 EOF |
10950 if { (eval echo configure:10951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10951 rm -rf conftest* | 10952 rm -rf conftest* |
10952 eval "ac_cv_lib_$ac_lib_var=yes" | 10953 eval "ac_cv_lib_$ac_lib_var=yes" |
10953 else | 10954 else |
10954 echo "configure: failed program was:" >&5 | 10955 echo "configure: failed program was:" >&5 |
10955 cat conftest.$ac_ext >&5 | 10956 cat conftest.$ac_ext >&5 |
10978 fi | 10979 fi |
10979 | 10980 |
10980 | 10981 |
10981 | 10982 |
10982 echo "checking for Mule input methods" 1>&6 | 10983 echo "checking for Mule input methods" 1>&6 |
10983 echo "configure:10984: checking for Mule input methods" >&5 | 10984 echo "configure:10985: checking for Mule input methods" >&5 |
10984 case "$with_xim" in "" | "yes" ) | 10985 case "$with_xim" in "" | "yes" ) |
10985 echo "checking for XIM" 1>&6 | 10986 echo "checking for XIM" 1>&6 |
10986 echo "configure:10987: checking for XIM" >&5 | 10987 echo "configure:10988: checking for XIM" >&5 |
10987 | 10988 |
10988 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10989 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10989 echo "configure:10990: checking for XOpenIM in -lX11" >&5 | 10990 echo "configure:10991: checking for XOpenIM in -lX11" >&5 |
10990 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10991 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10991 | 10992 |
10992 xe_check_libs=" -lX11 " | 10993 xe_check_libs=" -lX11 " |
10993 cat > conftest.$ac_ext <<EOF | 10994 cat > conftest.$ac_ext <<EOF |
10994 #line 10995 "configure" | 10995 #line 10996 "configure" |
10995 #include "confdefs.h" | 10996 #include "confdefs.h" |
10996 /* Override any gcc2 internal prototype to avoid an error. */ | 10997 /* Override any gcc2 internal prototype to avoid an error. */ |
10997 /* We use char because int might match the return type of a gcc2 | 10998 /* We use char because int might match the return type of a gcc2 |
10998 builtin and then its argument prototype would still apply. */ | 10999 builtin and then its argument prototype would still apply. */ |
10999 char XOpenIM(); | 11000 char XOpenIM(); |
11000 | 11001 |
11001 int main() { | 11002 int main() { |
11002 XOpenIM() | 11003 XOpenIM() |
11003 ; return 0; } | 11004 ; return 0; } |
11004 EOF | 11005 EOF |
11005 if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11006 if { (eval echo configure:11007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11006 rm -rf conftest* | 11007 rm -rf conftest* |
11007 eval "ac_cv_lib_$ac_lib_var=yes" | 11008 eval "ac_cv_lib_$ac_lib_var=yes" |
11008 else | 11009 else |
11009 echo "configure: failed program was:" >&5 | 11010 echo "configure: failed program was:" >&5 |
11010 cat conftest.$ac_ext >&5 | 11011 cat conftest.$ac_ext >&5 |
11024 | 11025 |
11025 | 11026 |
11026 if test "$have_motif $have_lesstif" = "yes no"; then | 11027 if test "$have_motif $have_lesstif" = "yes no"; then |
11027 | 11028 |
11028 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11029 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11029 echo "configure:11030: checking for XmImMbLookupString in -lXm" >&5 | 11030 echo "configure:11031: checking for XmImMbLookupString in -lXm" >&5 |
11030 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11031 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11031 | 11032 |
11032 xe_check_libs=" -lXm " | 11033 xe_check_libs=" -lXm " |
11033 cat > conftest.$ac_ext <<EOF | 11034 cat > conftest.$ac_ext <<EOF |
11034 #line 11035 "configure" | 11035 #line 11036 "configure" |
11035 #include "confdefs.h" | 11036 #include "confdefs.h" |
11036 /* Override any gcc2 internal prototype to avoid an error. */ | 11037 /* Override any gcc2 internal prototype to avoid an error. */ |
11037 /* We use char because int might match the return type of a gcc2 | 11038 /* We use char because int might match the return type of a gcc2 |
11038 builtin and then its argument prototype would still apply. */ | 11039 builtin and then its argument prototype would still apply. */ |
11039 char XmImMbLookupString(); | 11040 char XmImMbLookupString(); |
11040 | 11041 |
11041 int main() { | 11042 int main() { |
11042 XmImMbLookupString() | 11043 XmImMbLookupString() |
11043 ; return 0; } | 11044 ; return 0; } |
11044 EOF | 11045 EOF |
11045 if { (eval echo configure:11046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11046 rm -rf conftest* | 11047 rm -rf conftest* |
11047 eval "ac_cv_lib_$ac_lib_var=yes" | 11048 eval "ac_cv_lib_$ac_lib_var=yes" |
11048 else | 11049 else |
11049 echo "configure: failed program was:" >&5 | 11050 echo "configure: failed program was:" >&5 |
11050 cat conftest.$ac_ext >&5 | 11051 cat conftest.$ac_ext >&5 |
11105 fi | 11106 fi |
11106 fi | 11107 fi |
11107 | 11108 |
11108 if test "$with_xfs" = "yes" ; then | 11109 if test "$with_xfs" = "yes" ; then |
11109 echo "checking for XFontSet" 1>&6 | 11110 echo "checking for XFontSet" 1>&6 |
11110 echo "configure:11111: checking for XFontSet" >&5 | 11111 echo "configure:11112: checking for XFontSet" >&5 |
11111 | 11112 |
11112 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11113 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11113 echo "configure:11114: checking for XmbDrawString in -lX11" >&5 | 11114 echo "configure:11115: checking for XmbDrawString in -lX11" >&5 |
11114 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11115 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11115 | 11116 |
11116 xe_check_libs=" -lX11 " | 11117 xe_check_libs=" -lX11 " |
11117 cat > conftest.$ac_ext <<EOF | 11118 cat > conftest.$ac_ext <<EOF |
11118 #line 11119 "configure" | 11119 #line 11120 "configure" |
11119 #include "confdefs.h" | 11120 #include "confdefs.h" |
11120 /* Override any gcc2 internal prototype to avoid an error. */ | 11121 /* Override any gcc2 internal prototype to avoid an error. */ |
11121 /* We use char because int might match the return type of a gcc2 | 11122 /* We use char because int might match the return type of a gcc2 |
11122 builtin and then its argument prototype would still apply. */ | 11123 builtin and then its argument prototype would still apply. */ |
11123 char XmbDrawString(); | 11124 char XmbDrawString(); |
11124 | 11125 |
11125 int main() { | 11126 int main() { |
11126 XmbDrawString() | 11127 XmbDrawString() |
11127 ; return 0; } | 11128 ; return 0; } |
11128 EOF | 11129 EOF |
11129 if { (eval echo configure:11130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11130 if { (eval echo configure:11131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11130 rm -rf conftest* | 11131 rm -rf conftest* |
11131 eval "ac_cv_lib_$ac_lib_var=yes" | 11132 eval "ac_cv_lib_$ac_lib_var=yes" |
11132 else | 11133 else |
11133 echo "configure: failed program was:" >&5 | 11134 echo "configure: failed program was:" >&5 |
11134 cat conftest.$ac_ext >&5 | 11135 cat conftest.$ac_ext >&5 |
11164 fi | 11165 fi |
11165 fi | 11166 fi |
11166 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11167 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11167 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11168 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11168 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11169 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11169 echo "configure:11170: checking for wnn/jllib.h" >&5 | 11170 echo "configure:11171: checking for wnn/jllib.h" >&5 |
11170 | 11171 |
11171 cat > conftest.$ac_ext <<EOF | 11172 cat > conftest.$ac_ext <<EOF |
11172 #line 11173 "configure" | 11173 #line 11174 "configure" |
11173 #include "confdefs.h" | 11174 #include "confdefs.h" |
11174 #include <wnn/jllib.h> | 11175 #include <wnn/jllib.h> |
11175 EOF | 11176 EOF |
11176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11177 { (eval echo configure:11178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11178 { (eval echo configure:11179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11179 if test -z "$ac_err"; then | 11180 if test -z "$ac_err"; then |
11180 rm -rf conftest* | 11181 rm -rf conftest* |
11181 eval "ac_cv_header_$ac_safe=yes" | 11182 eval "ac_cv_header_$ac_safe=yes" |
11182 else | 11183 else |
11195 with_wnn=no | 11196 with_wnn=no |
11196 fi | 11197 fi |
11197 } | 11198 } |
11198 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11199 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11199 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11200 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11200 echo "configure:11201: checking for wnn/commonhd.h" >&5 | 11201 echo "configure:11202: checking for wnn/commonhd.h" >&5 |
11201 | 11202 |
11202 cat > conftest.$ac_ext <<EOF | 11203 cat > conftest.$ac_ext <<EOF |
11203 #line 11204 "configure" | 11204 #line 11205 "configure" |
11204 #include "confdefs.h" | 11205 #include "confdefs.h" |
11205 #include <wnn/commonhd.h> | 11206 #include <wnn/commonhd.h> |
11206 EOF | 11207 EOF |
11207 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11208 { (eval echo configure:11209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11209 { (eval echo configure:11210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11209 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11210 if test -z "$ac_err"; then | 11211 if test -z "$ac_err"; then |
11211 rm -rf conftest* | 11212 rm -rf conftest* |
11212 eval "ac_cv_header_$ac_safe=yes" | 11213 eval "ac_cv_header_$ac_safe=yes" |
11213 else | 11214 else |
11228 } | 11229 } |
11229 if test "$with_wnn" != "no"; then | 11230 if test "$with_wnn" != "no"; then |
11230 for ac_func in crypt | 11231 for ac_func in crypt |
11231 do | 11232 do |
11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11233 echo "configure:11234: checking for $ac_func" >&5 | 11234 echo "configure:11235: checking for $ac_func" >&5 |
11234 | 11235 |
11235 cat > conftest.$ac_ext <<EOF | 11236 cat > conftest.$ac_ext <<EOF |
11236 #line 11237 "configure" | 11237 #line 11238 "configure" |
11237 #include "confdefs.h" | 11238 #include "confdefs.h" |
11238 /* System header to define __stub macros and hopefully few prototypes, | 11239 /* System header to define __stub macros and hopefully few prototypes, |
11239 which can conflict with char $ac_func(); below. */ | 11240 which can conflict with char $ac_func(); below. */ |
11240 #include <assert.h> | 11241 #include <assert.h> |
11241 /* Override any gcc2 internal prototype to avoid an error. */ | 11242 /* Override any gcc2 internal prototype to avoid an error. */ |
11254 $ac_func(); | 11255 $ac_func(); |
11255 #endif | 11256 #endif |
11256 | 11257 |
11257 ; return 0; } | 11258 ; return 0; } |
11258 EOF | 11259 EOF |
11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11260 if { (eval echo configure:11261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11260 rm -rf conftest* | 11261 rm -rf conftest* |
11261 eval "ac_cv_func_$ac_func=yes" | 11262 eval "ac_cv_func_$ac_func=yes" |
11262 else | 11263 else |
11263 echo "configure: failed program was:" >&5 | 11264 echo "configure: failed program was:" >&5 |
11264 cat conftest.$ac_ext >&5 | 11265 cat conftest.$ac_ext >&5 |
11283 fi | 11284 fi |
11284 done | 11285 done |
11285 | 11286 |
11286 test "$ac_cv_func_crypt" != "yes" && { | 11287 test "$ac_cv_func_crypt" != "yes" && { |
11287 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11288 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11288 echo "configure:11289: checking for crypt in -lcrypt" >&5 | 11289 echo "configure:11290: checking for crypt in -lcrypt" >&5 |
11289 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11290 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11290 | 11291 |
11291 xe_check_libs=" -lcrypt " | 11292 xe_check_libs=" -lcrypt " |
11292 cat > conftest.$ac_ext <<EOF | 11293 cat > conftest.$ac_ext <<EOF |
11293 #line 11294 "configure" | 11294 #line 11295 "configure" |
11294 #include "confdefs.h" | 11295 #include "confdefs.h" |
11295 /* Override any gcc2 internal prototype to avoid an error. */ | 11296 /* Override any gcc2 internal prototype to avoid an error. */ |
11296 /* We use char because int might match the return type of a gcc2 | 11297 /* We use char because int might match the return type of a gcc2 |
11297 builtin and then its argument prototype would still apply. */ | 11298 builtin and then its argument prototype would still apply. */ |
11298 char crypt(); | 11299 char crypt(); |
11299 | 11300 |
11300 int main() { | 11301 int main() { |
11301 crypt() | 11302 crypt() |
11302 ; return 0; } | 11303 ; return 0; } |
11303 EOF | 11304 EOF |
11304 if { (eval echo configure:11305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11305 if { (eval echo configure:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11305 rm -rf conftest* | 11306 rm -rf conftest* |
11306 eval "ac_cv_lib_$ac_lib_var=yes" | 11307 eval "ac_cv_lib_$ac_lib_var=yes" |
11307 else | 11308 else |
11308 echo "configure: failed program was:" >&5 | 11309 echo "configure: failed program was:" >&5 |
11309 cat conftest.$ac_ext >&5 | 11310 cat conftest.$ac_ext >&5 |
11334 } | 11335 } |
11335 fi | 11336 fi |
11336 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11337 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11337 | 11338 |
11338 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11339 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11339 echo "configure:11340: checking for jl_dic_list_e in -lwnn" >&5 | 11340 echo "configure:11341: checking for jl_dic_list_e in -lwnn" >&5 |
11340 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11341 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11341 | 11342 |
11342 xe_check_libs=" -lwnn " | 11343 xe_check_libs=" -lwnn " |
11343 cat > conftest.$ac_ext <<EOF | 11344 cat > conftest.$ac_ext <<EOF |
11344 #line 11345 "configure" | 11345 #line 11346 "configure" |
11345 #include "confdefs.h" | 11346 #include "confdefs.h" |
11346 /* Override any gcc2 internal prototype to avoid an error. */ | 11347 /* Override any gcc2 internal prototype to avoid an error. */ |
11347 /* We use char because int might match the return type of a gcc2 | 11348 /* We use char because int might match the return type of a gcc2 |
11348 builtin and then its argument prototype would still apply. */ | 11349 builtin and then its argument prototype would still apply. */ |
11349 char jl_dic_list_e(); | 11350 char jl_dic_list_e(); |
11350 | 11351 |
11351 int main() { | 11352 int main() { |
11352 jl_dic_list_e() | 11353 jl_dic_list_e() |
11353 ; return 0; } | 11354 ; return 0; } |
11354 EOF | 11355 EOF |
11355 if { (eval echo configure:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11356 if { (eval echo configure:11357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11356 rm -rf conftest* | 11357 rm -rf conftest* |
11357 eval "ac_cv_lib_$ac_lib_var=yes" | 11358 eval "ac_cv_lib_$ac_lib_var=yes" |
11358 else | 11359 else |
11359 echo "configure: failed program was:" >&5 | 11360 echo "configure: failed program was:" >&5 |
11360 cat conftest.$ac_ext >&5 | 11361 cat conftest.$ac_ext >&5 |
11368 echo "$ac_t""yes" 1>&6 | 11369 echo "$ac_t""yes" 1>&6 |
11369 libwnn=wnn | 11370 libwnn=wnn |
11370 else | 11371 else |
11371 echo "$ac_t""no" 1>&6 | 11372 echo "$ac_t""no" 1>&6 |
11372 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11373 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11373 echo "configure:11374: checking for jl_dic_list_e in -lwnn4" >&5 | 11374 echo "configure:11375: checking for jl_dic_list_e in -lwnn4" >&5 |
11374 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11375 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11375 | 11376 |
11376 xe_check_libs=" -lwnn4 " | 11377 xe_check_libs=" -lwnn4 " |
11377 cat > conftest.$ac_ext <<EOF | 11378 cat > conftest.$ac_ext <<EOF |
11378 #line 11379 "configure" | 11379 #line 11380 "configure" |
11379 #include "confdefs.h" | 11380 #include "confdefs.h" |
11380 /* Override any gcc2 internal prototype to avoid an error. */ | 11381 /* Override any gcc2 internal prototype to avoid an error. */ |
11381 /* We use char because int might match the return type of a gcc2 | 11382 /* We use char because int might match the return type of a gcc2 |
11382 builtin and then its argument prototype would still apply. */ | 11383 builtin and then its argument prototype would still apply. */ |
11383 char jl_dic_list_e(); | 11384 char jl_dic_list_e(); |
11384 | 11385 |
11385 int main() { | 11386 int main() { |
11386 jl_dic_list_e() | 11387 jl_dic_list_e() |
11387 ; return 0; } | 11388 ; return 0; } |
11388 EOF | 11389 EOF |
11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11390 if { (eval echo configure:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11390 rm -rf conftest* | 11391 rm -rf conftest* |
11391 eval "ac_cv_lib_$ac_lib_var=yes" | 11392 eval "ac_cv_lib_$ac_lib_var=yes" |
11392 else | 11393 else |
11393 echo "configure: failed program was:" >&5 | 11394 echo "configure: failed program was:" >&5 |
11394 cat conftest.$ac_ext >&5 | 11395 cat conftest.$ac_ext >&5 |
11402 echo "$ac_t""yes" 1>&6 | 11403 echo "$ac_t""yes" 1>&6 |
11403 libwnn=wnn4 | 11404 libwnn=wnn4 |
11404 else | 11405 else |
11405 echo "$ac_t""no" 1>&6 | 11406 echo "$ac_t""no" 1>&6 |
11406 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11407 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11407 echo "configure:11408: checking for jl_dic_list_e in -lwnn6" >&5 | 11408 echo "configure:11409: checking for jl_dic_list_e in -lwnn6" >&5 |
11408 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11409 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11409 | 11410 |
11410 xe_check_libs=" -lwnn6 " | 11411 xe_check_libs=" -lwnn6 " |
11411 cat > conftest.$ac_ext <<EOF | 11412 cat > conftest.$ac_ext <<EOF |
11412 #line 11413 "configure" | 11413 #line 11414 "configure" |
11413 #include "confdefs.h" | 11414 #include "confdefs.h" |
11414 /* Override any gcc2 internal prototype to avoid an error. */ | 11415 /* Override any gcc2 internal prototype to avoid an error. */ |
11415 /* We use char because int might match the return type of a gcc2 | 11416 /* We use char because int might match the return type of a gcc2 |
11416 builtin and then its argument prototype would still apply. */ | 11417 builtin and then its argument prototype would still apply. */ |
11417 char jl_dic_list_e(); | 11418 char jl_dic_list_e(); |
11418 | 11419 |
11419 int main() { | 11420 int main() { |
11420 jl_dic_list_e() | 11421 jl_dic_list_e() |
11421 ; return 0; } | 11422 ; return 0; } |
11422 EOF | 11423 EOF |
11423 if { (eval echo configure:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11424 if { (eval echo configure:11425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11424 rm -rf conftest* | 11425 rm -rf conftest* |
11425 eval "ac_cv_lib_$ac_lib_var=yes" | 11426 eval "ac_cv_lib_$ac_lib_var=yes" |
11426 else | 11427 else |
11427 echo "configure: failed program was:" >&5 | 11428 echo "configure: failed program was:" >&5 |
11428 cat conftest.$ac_ext >&5 | 11429 cat conftest.$ac_ext >&5 |
11436 echo "$ac_t""yes" 1>&6 | 11437 echo "$ac_t""yes" 1>&6 |
11437 libwnn=wnn6 | 11438 libwnn=wnn6 |
11438 else | 11439 else |
11439 echo "$ac_t""no" 1>&6 | 11440 echo "$ac_t""no" 1>&6 |
11440 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11441 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11441 echo "configure:11442: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11442 echo "configure:11443: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11442 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11443 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11443 | 11444 |
11444 xe_check_libs=" -lwnn6_fromsrc " | 11445 xe_check_libs=" -lwnn6_fromsrc " |
11445 cat > conftest.$ac_ext <<EOF | 11446 cat > conftest.$ac_ext <<EOF |
11446 #line 11447 "configure" | 11447 #line 11448 "configure" |
11447 #include "confdefs.h" | 11448 #include "confdefs.h" |
11448 /* Override any gcc2 internal prototype to avoid an error. */ | 11449 /* Override any gcc2 internal prototype to avoid an error. */ |
11449 /* We use char because int might match the return type of a gcc2 | 11450 /* We use char because int might match the return type of a gcc2 |
11450 builtin and then its argument prototype would still apply. */ | 11451 builtin and then its argument prototype would still apply. */ |
11451 char dic_list_e(); | 11452 char dic_list_e(); |
11452 | 11453 |
11453 int main() { | 11454 int main() { |
11454 dic_list_e() | 11455 dic_list_e() |
11455 ; return 0; } | 11456 ; return 0; } |
11456 EOF | 11457 EOF |
11457 if { (eval echo configure:11458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11458 rm -rf conftest* | 11459 rm -rf conftest* |
11459 eval "ac_cv_lib_$ac_lib_var=yes" | 11460 eval "ac_cv_lib_$ac_lib_var=yes" |
11460 else | 11461 else |
11461 echo "configure: failed program was:" >&5 | 11462 echo "configure: failed program was:" >&5 |
11462 cat conftest.$ac_ext >&5 | 11463 cat conftest.$ac_ext >&5 |
11497 | 11498 |
11498 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11499 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11499 if test "$with_wnn6" != "no"; then | 11500 if test "$with_wnn6" != "no"; then |
11500 | 11501 |
11501 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11502 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11502 echo "configure:11503: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11503 echo "configure:11504: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11503 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11504 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11504 | 11505 |
11505 xe_check_libs=" -l$libwnn " | 11506 xe_check_libs=" -l$libwnn " |
11506 cat > conftest.$ac_ext <<EOF | 11507 cat > conftest.$ac_ext <<EOF |
11507 #line 11508 "configure" | 11508 #line 11509 "configure" |
11508 #include "confdefs.h" | 11509 #include "confdefs.h" |
11509 /* Override any gcc2 internal prototype to avoid an error. */ | 11510 /* Override any gcc2 internal prototype to avoid an error. */ |
11510 /* We use char because int might match the return type of a gcc2 | 11511 /* We use char because int might match the return type of a gcc2 |
11511 builtin and then its argument prototype would still apply. */ | 11512 builtin and then its argument prototype would still apply. */ |
11512 char jl_fi_dic_list(); | 11513 char jl_fi_dic_list(); |
11513 | 11514 |
11514 int main() { | 11515 int main() { |
11515 jl_fi_dic_list() | 11516 jl_fi_dic_list() |
11516 ; return 0; } | 11517 ; return 0; } |
11517 EOF | 11518 EOF |
11518 if { (eval echo configure:11519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11519 if { (eval echo configure:11520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11519 rm -rf conftest* | 11520 rm -rf conftest* |
11520 eval "ac_cv_lib_$ac_lib_var=yes" | 11521 eval "ac_cv_lib_$ac_lib_var=yes" |
11521 else | 11522 else |
11522 echo "configure: failed program was:" >&5 | 11523 echo "configure: failed program was:" >&5 |
11523 cat conftest.$ac_ext >&5 | 11524 cat conftest.$ac_ext >&5 |
11548 | 11549 |
11549 canna_includes_found=no | 11550 canna_includes_found=no |
11550 if test "$with_canna" != "no"; then | 11551 if test "$with_canna" != "no"; then |
11551 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11552 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11552 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11553 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11553 echo "configure:11554: checking for canna/jrkanji.h" >&5 | 11554 echo "configure:11555: checking for canna/jrkanji.h" >&5 |
11554 | 11555 |
11555 cat > conftest.$ac_ext <<EOF | 11556 cat > conftest.$ac_ext <<EOF |
11556 #line 11557 "configure" | 11557 #line 11558 "configure" |
11557 #include "confdefs.h" | 11558 #include "confdefs.h" |
11558 #include <canna/jrkanji.h> | 11559 #include <canna/jrkanji.h> |
11559 EOF | 11560 EOF |
11560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11561 { (eval echo configure:11562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11562 { (eval echo configure:11563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11563 if test -z "$ac_err"; then | 11564 if test -z "$ac_err"; then |
11564 rm -rf conftest* | 11565 rm -rf conftest* |
11565 eval "ac_cv_header_$ac_safe=yes" | 11566 eval "ac_cv_header_$ac_safe=yes" |
11566 else | 11567 else |
11583 -d "/usr/local/canna/include"; then | 11584 -d "/usr/local/canna/include"; then |
11584 save_c_switch_site="$c_switch_site" | 11585 save_c_switch_site="$c_switch_site" |
11585 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11586 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11586 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11587 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11587 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11588 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11588 echo "configure:11589: checking for canna/jrkanji.h" >&5 | 11589 echo "configure:11590: checking for canna/jrkanji.h" >&5 |
11589 | 11590 |
11590 cat > conftest.$ac_ext <<EOF | 11591 cat > conftest.$ac_ext <<EOF |
11591 #line 11592 "configure" | 11592 #line 11593 "configure" |
11592 #include "confdefs.h" | 11593 #include "confdefs.h" |
11593 #include <canna/jrkanji.h> | 11594 #include <canna/jrkanji.h> |
11594 EOF | 11595 EOF |
11595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11596 { (eval echo configure:11597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11597 { (eval echo configure:11598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11598 if test -z "$ac_err"; then | 11599 if test -z "$ac_err"; then |
11599 rm -rf conftest* | 11600 rm -rf conftest* |
11600 eval "ac_cv_header_$ac_safe=yes" | 11601 eval "ac_cv_header_$ac_safe=yes" |
11601 else | 11602 else |
11619 fi | 11620 fi |
11620 fi | 11621 fi |
11621 | 11622 |
11622 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11623 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11623 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11624 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11624 echo "configure:11625: checking for canna/RK.h" >&5 | 11625 echo "configure:11626: checking for canna/RK.h" >&5 |
11625 | 11626 |
11626 cat > conftest.$ac_ext <<EOF | 11627 cat > conftest.$ac_ext <<EOF |
11627 #line 11628 "configure" | 11628 #line 11629 "configure" |
11628 #include "confdefs.h" | 11629 #include "confdefs.h" |
11629 #include <canna/RK.h> | 11630 #include <canna/RK.h> |
11630 EOF | 11631 EOF |
11631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11632 { (eval echo configure:11633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11633 { (eval echo configure:11634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11634 if test -z "$ac_err"; then | 11635 if test -z "$ac_err"; then |
11635 rm -rf conftest* | 11636 rm -rf conftest* |
11636 eval "ac_cv_header_$ac_safe=yes" | 11637 eval "ac_cv_header_$ac_safe=yes" |
11637 else | 11638 else |
11650 with_canna=no | 11651 with_canna=no |
11651 fi | 11652 fi |
11652 } | 11653 } |
11653 test -z "$with_canna" && { | 11654 test -z "$with_canna" && { |
11654 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11655 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11655 echo "configure:11656: checking for RkBgnBun in -lRKC" >&5 | 11656 echo "configure:11657: checking for RkBgnBun in -lRKC" >&5 |
11656 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11657 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11657 | 11658 |
11658 xe_check_libs=" -lRKC " | 11659 xe_check_libs=" -lRKC " |
11659 cat > conftest.$ac_ext <<EOF | 11660 cat > conftest.$ac_ext <<EOF |
11660 #line 11661 "configure" | 11661 #line 11662 "configure" |
11661 #include "confdefs.h" | 11662 #include "confdefs.h" |
11662 /* Override any gcc2 internal prototype to avoid an error. */ | 11663 /* Override any gcc2 internal prototype to avoid an error. */ |
11663 /* We use char because int might match the return type of a gcc2 | 11664 /* We use char because int might match the return type of a gcc2 |
11664 builtin and then its argument prototype would still apply. */ | 11665 builtin and then its argument prototype would still apply. */ |
11665 char RkBgnBun(); | 11666 char RkBgnBun(); |
11666 | 11667 |
11667 int main() { | 11668 int main() { |
11668 RkBgnBun() | 11669 RkBgnBun() |
11669 ; return 0; } | 11670 ; return 0; } |
11670 EOF | 11671 EOF |
11671 if { (eval echo configure:11672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11672 rm -rf conftest* | 11673 rm -rf conftest* |
11673 eval "ac_cv_lib_$ac_lib_var=yes" | 11674 eval "ac_cv_lib_$ac_lib_var=yes" |
11674 else | 11675 else |
11675 echo "configure: failed program was:" >&5 | 11676 echo "configure: failed program was:" >&5 |
11676 cat conftest.$ac_ext >&5 | 11677 cat conftest.$ac_ext >&5 |
11689 fi | 11690 fi |
11690 | 11691 |
11691 } | 11692 } |
11692 test -z "$with_canna" && { | 11693 test -z "$with_canna" && { |
11693 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11694 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11694 echo "configure:11695: checking for jrKanjiControl in -lcanna" >&5 | 11695 echo "configure:11696: checking for jrKanjiControl in -lcanna" >&5 |
11695 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11696 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11696 | 11697 |
11697 xe_check_libs=" -lcanna " | 11698 xe_check_libs=" -lcanna " |
11698 cat > conftest.$ac_ext <<EOF | 11699 cat > conftest.$ac_ext <<EOF |
11699 #line 11700 "configure" | 11700 #line 11701 "configure" |
11700 #include "confdefs.h" | 11701 #include "confdefs.h" |
11701 /* Override any gcc2 internal prototype to avoid an error. */ | 11702 /* Override any gcc2 internal prototype to avoid an error. */ |
11702 /* We use char because int might match the return type of a gcc2 | 11703 /* We use char because int might match the return type of a gcc2 |
11703 builtin and then its argument prototype would still apply. */ | 11704 builtin and then its argument prototype would still apply. */ |
11704 char jrKanjiControl(); | 11705 char jrKanjiControl(); |
11705 | 11706 |
11706 int main() { | 11707 int main() { |
11707 jrKanjiControl() | 11708 jrKanjiControl() |
11708 ; return 0; } | 11709 ; return 0; } |
11709 EOF | 11710 EOF |
11710 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11711 if { (eval echo configure:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11711 rm -rf conftest* | 11712 rm -rf conftest* |
11712 eval "ac_cv_lib_$ac_lib_var=yes" | 11713 eval "ac_cv_lib_$ac_lib_var=yes" |
11713 else | 11714 else |
11714 echo "configure: failed program was:" >&5 | 11715 echo "configure: failed program was:" >&5 |
11715 cat conftest.$ac_ext >&5 | 11716 cat conftest.$ac_ext >&5 |
11751 | 11752 |
11752 if test "$need_motif" = "yes" ; then | 11753 if test "$need_motif" = "yes" ; then |
11753 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11754 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11754 | 11755 |
11755 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11756 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11756 echo "configure:11757: checking for layout_object_getvalue in -li18n" >&5 | 11757 echo "configure:11758: checking for layout_object_getvalue in -li18n" >&5 |
11757 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11758 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11758 | 11759 |
11759 xe_check_libs=" -li18n " | 11760 xe_check_libs=" -li18n " |
11760 cat > conftest.$ac_ext <<EOF | 11761 cat > conftest.$ac_ext <<EOF |
11761 #line 11762 "configure" | 11762 #line 11763 "configure" |
11762 #include "confdefs.h" | 11763 #include "confdefs.h" |
11763 /* Override any gcc2 internal prototype to avoid an error. */ | 11764 /* Override any gcc2 internal prototype to avoid an error. */ |
11764 /* We use char because int might match the return type of a gcc2 | 11765 /* We use char because int might match the return type of a gcc2 |
11765 builtin and then its argument prototype would still apply. */ | 11766 builtin and then its argument prototype would still apply. */ |
11766 char layout_object_getvalue(); | 11767 char layout_object_getvalue(); |
11767 | 11768 |
11768 int main() { | 11769 int main() { |
11769 layout_object_getvalue() | 11770 layout_object_getvalue() |
11770 ; return 0; } | 11771 ; return 0; } |
11771 EOF | 11772 EOF |
11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11773 if { (eval echo configure:11774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11773 rm -rf conftest* | 11774 rm -rf conftest* |
11774 eval "ac_cv_lib_$ac_lib_var=yes" | 11775 eval "ac_cv_lib_$ac_lib_var=yes" |
11775 else | 11776 else |
11776 echo "configure: failed program was:" >&5 | 11777 echo "configure: failed program was:" >&5 |
11777 cat conftest.$ac_ext >&5 | 11778 cat conftest.$ac_ext >&5 |
11854 | 11855 |
11855 | 11856 |
11856 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 | 11857 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 |
11857 do | 11858 do |
11858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11859 echo "configure:11860: checking for $ac_func" >&5 | 11860 echo "configure:11861: checking for $ac_func" >&5 |
11860 | 11861 |
11861 cat > conftest.$ac_ext <<EOF | 11862 cat > conftest.$ac_ext <<EOF |
11862 #line 11863 "configure" | 11863 #line 11864 "configure" |
11863 #include "confdefs.h" | 11864 #include "confdefs.h" |
11864 /* System header to define __stub macros and hopefully few prototypes, | 11865 /* System header to define __stub macros and hopefully few prototypes, |
11865 which can conflict with char $ac_func(); below. */ | 11866 which can conflict with char $ac_func(); below. */ |
11866 #include <assert.h> | 11867 #include <assert.h> |
11867 /* Override any gcc2 internal prototype to avoid an error. */ | 11868 /* Override any gcc2 internal prototype to avoid an error. */ |
11880 $ac_func(); | 11881 $ac_func(); |
11881 #endif | 11882 #endif |
11882 | 11883 |
11883 ; return 0; } | 11884 ; return 0; } |
11884 EOF | 11885 EOF |
11885 if { (eval echo configure:11886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11886 if { (eval echo configure:11887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11886 rm -rf conftest* | 11887 rm -rf conftest* |
11887 eval "ac_cv_func_$ac_func=yes" | 11888 eval "ac_cv_func_$ac_func=yes" |
11888 else | 11889 else |
11889 echo "configure: failed program was:" >&5 | 11890 echo "configure: failed program was:" >&5 |
11890 cat conftest.$ac_ext >&5 | 11891 cat conftest.$ac_ext >&5 |
11921 | 11922 |
11922 | 11923 |
11923 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11924 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11924 do | 11925 do |
11925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11926 echo "configure:11927: checking for $ac_func" >&5 | 11927 echo "configure:11928: checking for $ac_func" >&5 |
11927 | 11928 |
11928 cat > conftest.$ac_ext <<EOF | 11929 cat > conftest.$ac_ext <<EOF |
11929 #line 11930 "configure" | 11930 #line 11931 "configure" |
11930 #include "confdefs.h" | 11931 #include "confdefs.h" |
11931 /* System header to define __stub macros and hopefully few prototypes, | 11932 /* System header to define __stub macros and hopefully few prototypes, |
11932 which can conflict with char $ac_func(); below. */ | 11933 which can conflict with char $ac_func(); below. */ |
11933 #include <assert.h> | 11934 #include <assert.h> |
11934 /* Override any gcc2 internal prototype to avoid an error. */ | 11935 /* Override any gcc2 internal prototype to avoid an error. */ |
11947 $ac_func(); | 11948 $ac_func(); |
11948 #endif | 11949 #endif |
11949 | 11950 |
11950 ; return 0; } | 11951 ; return 0; } |
11951 EOF | 11952 EOF |
11952 if { (eval echo configure:11953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11953 if { (eval echo configure:11954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11953 rm -rf conftest* | 11954 rm -rf conftest* |
11954 eval "ac_cv_func_$ac_func=yes" | 11955 eval "ac_cv_func_$ac_func=yes" |
11955 else | 11956 else |
11956 echo "configure: failed program was:" >&5 | 11957 echo "configure: failed program was:" >&5 |
11957 cat conftest.$ac_ext >&5 | 11958 cat conftest.$ac_ext >&5 |
11976 fi | 11977 fi |
11977 done | 11978 done |
11978 | 11979 |
11979 | 11980 |
11980 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11981 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11981 echo "configure:11982: checking for openpty" >&5 | 11982 echo "configure:11983: checking for openpty" >&5 |
11982 | 11983 |
11983 cat > conftest.$ac_ext <<EOF | 11984 cat > conftest.$ac_ext <<EOF |
11984 #line 11985 "configure" | 11985 #line 11986 "configure" |
11985 #include "confdefs.h" | 11986 #include "confdefs.h" |
11986 /* System header to define __stub macros and hopefully few prototypes, | 11987 /* System header to define __stub macros and hopefully few prototypes, |
11987 which can conflict with char openpty(); below. */ | 11988 which can conflict with char openpty(); below. */ |
11988 #include <assert.h> | 11989 #include <assert.h> |
11989 /* Override any gcc2 internal prototype to avoid an error. */ | 11990 /* Override any gcc2 internal prototype to avoid an error. */ |
12002 openpty(); | 12003 openpty(); |
12003 #endif | 12004 #endif |
12004 | 12005 |
12005 ; return 0; } | 12006 ; return 0; } |
12006 EOF | 12007 EOF |
12007 if { (eval echo configure:12008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12008 if { (eval echo configure:12009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12008 rm -rf conftest* | 12009 rm -rf conftest* |
12009 eval "ac_cv_func_openpty=yes" | 12010 eval "ac_cv_func_openpty=yes" |
12010 else | 12011 else |
12011 echo "configure: failed program was:" >&5 | 12012 echo "configure: failed program was:" >&5 |
12012 cat conftest.$ac_ext >&5 | 12013 cat conftest.$ac_ext >&5 |
12021 else | 12022 else |
12022 echo "$ac_t""no" 1>&6 | 12023 echo "$ac_t""no" 1>&6 |
12023 | 12024 |
12024 | 12025 |
12025 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12026 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12026 echo "configure:12027: checking for openpty in -lutil" >&5 | 12027 echo "configure:12028: checking for openpty in -lutil" >&5 |
12027 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12028 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12028 | 12029 |
12029 xe_check_libs=" -lutil " | 12030 xe_check_libs=" -lutil " |
12030 cat > conftest.$ac_ext <<EOF | 12031 cat > conftest.$ac_ext <<EOF |
12031 #line 12032 "configure" | 12032 #line 12033 "configure" |
12032 #include "confdefs.h" | 12033 #include "confdefs.h" |
12033 /* Override any gcc2 internal prototype to avoid an error. */ | 12034 /* Override any gcc2 internal prototype to avoid an error. */ |
12034 /* We use char because int might match the return type of a gcc2 | 12035 /* We use char because int might match the return type of a gcc2 |
12035 builtin and then its argument prototype would still apply. */ | 12036 builtin and then its argument prototype would still apply. */ |
12036 char openpty(); | 12037 char openpty(); |
12037 | 12038 |
12038 int main() { | 12039 int main() { |
12039 openpty() | 12040 openpty() |
12040 ; return 0; } | 12041 ; return 0; } |
12041 EOF | 12042 EOF |
12042 if { (eval echo configure:12043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12043 if { (eval echo configure:12044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12043 rm -rf conftest* | 12044 rm -rf conftest* |
12044 eval "ac_cv_lib_$ac_lib_var=yes" | 12045 eval "ac_cv_lib_$ac_lib_var=yes" |
12045 else | 12046 else |
12046 echo "configure: failed program was:" >&5 | 12047 echo "configure: failed program was:" >&5 |
12047 cat conftest.$ac_ext >&5 | 12048 cat conftest.$ac_ext >&5 |
12072 | 12073 |
12073 for ac_hdr in libutil.h util.h | 12074 for ac_hdr in libutil.h util.h |
12074 do | 12075 do |
12075 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12076 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12076 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12077 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12077 echo "configure:12078: checking for $ac_hdr" >&5 | 12078 echo "configure:12079: checking for $ac_hdr" >&5 |
12078 | 12079 |
12079 cat > conftest.$ac_ext <<EOF | 12080 cat > conftest.$ac_ext <<EOF |
12080 #line 12081 "configure" | 12081 #line 12082 "configure" |
12081 #include "confdefs.h" | 12082 #include "confdefs.h" |
12082 #include <$ac_hdr> | 12083 #include <$ac_hdr> |
12083 EOF | 12084 EOF |
12084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12085 { (eval echo configure:12086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12086 { (eval echo configure:12087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12087 if test -z "$ac_err"; then | 12088 if test -z "$ac_err"; then |
12088 rm -rf conftest* | 12089 rm -rf conftest* |
12089 eval "ac_cv_header_$ac_safe=yes" | 12090 eval "ac_cv_header_$ac_safe=yes" |
12090 else | 12091 else |
12117 case "$opsys" in | 12118 case "$opsys" in |
12118 hpux*) for ac_hdr in sys/ptyio.h | 12119 hpux*) for ac_hdr in sys/ptyio.h |
12119 do | 12120 do |
12120 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12121 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12121 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12122 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12122 echo "configure:12123: checking for $ac_hdr" >&5 | 12123 echo "configure:12124: checking for $ac_hdr" >&5 |
12123 | 12124 |
12124 cat > conftest.$ac_ext <<EOF | 12125 cat > conftest.$ac_ext <<EOF |
12125 #line 12126 "configure" | 12126 #line 12127 "configure" |
12126 #include "confdefs.h" | 12127 #include "confdefs.h" |
12127 #include <$ac_hdr> | 12128 #include <$ac_hdr> |
12128 EOF | 12129 EOF |
12129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12130 { (eval echo configure:12131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12131 { (eval echo configure:12132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12131 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12132 if test -z "$ac_err"; then | 12133 if test -z "$ac_err"; then |
12133 rm -rf conftest* | 12134 rm -rf conftest* |
12134 eval "ac_cv_header_$ac_safe=yes" | 12135 eval "ac_cv_header_$ac_safe=yes" |
12135 else | 12136 else |
12158 ;; | 12159 ;; |
12159 *) for ac_hdr in pty.h | 12160 *) for ac_hdr in pty.h |
12160 do | 12161 do |
12161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12162 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12163 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12163 echo "configure:12164: checking for $ac_hdr" >&5 | 12164 echo "configure:12165: checking for $ac_hdr" >&5 |
12164 | 12165 |
12165 cat > conftest.$ac_ext <<EOF | 12166 cat > conftest.$ac_ext <<EOF |
12166 #line 12167 "configure" | 12167 #line 12168 "configure" |
12167 #include "confdefs.h" | 12168 #include "confdefs.h" |
12168 #include <$ac_hdr> | 12169 #include <$ac_hdr> |
12169 EOF | 12170 EOF |
12170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12171 { (eval echo configure:12172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12172 { (eval echo configure:12173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12173 if test -z "$ac_err"; then | 12174 if test -z "$ac_err"; then |
12174 rm -rf conftest* | 12175 rm -rf conftest* |
12175 eval "ac_cv_header_$ac_safe=yes" | 12176 eval "ac_cv_header_$ac_safe=yes" |
12176 else | 12177 else |
12199 | 12200 |
12200 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12201 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12201 do | 12202 do |
12202 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12203 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12203 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12204 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12204 echo "configure:12205: checking for $ac_hdr" >&5 | 12205 echo "configure:12206: checking for $ac_hdr" >&5 |
12205 | 12206 |
12206 cat > conftest.$ac_ext <<EOF | 12207 cat > conftest.$ac_ext <<EOF |
12207 #line 12208 "configure" | 12208 #line 12209 "configure" |
12208 #include "confdefs.h" | 12209 #include "confdefs.h" |
12209 #include <$ac_hdr> | 12210 #include <$ac_hdr> |
12210 EOF | 12211 EOF |
12211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12212 { (eval echo configure:12213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12213 { (eval echo configure:12214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12214 if test -z "$ac_err"; then | 12215 if test -z "$ac_err"; then |
12215 rm -rf conftest* | 12216 rm -rf conftest* |
12216 eval "ac_cv_header_$ac_safe=yes" | 12217 eval "ac_cv_header_$ac_safe=yes" |
12217 else | 12218 else |
12243 | 12244 |
12244 for ac_hdr in stropts.h | 12245 for ac_hdr in stropts.h |
12245 do | 12246 do |
12246 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12247 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12248 echo "configure:12249: checking for $ac_hdr" >&5 | 12249 echo "configure:12250: checking for $ac_hdr" >&5 |
12249 | 12250 |
12250 cat > conftest.$ac_ext <<EOF | 12251 cat > conftest.$ac_ext <<EOF |
12251 #line 12252 "configure" | 12252 #line 12253 "configure" |
12252 #include "confdefs.h" | 12253 #include "confdefs.h" |
12253 #include <$ac_hdr> | 12254 #include <$ac_hdr> |
12254 EOF | 12255 EOF |
12255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12256 { (eval echo configure:12257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12257 { (eval echo configure:12258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12258 if test -z "$ac_err"; then | 12259 if test -z "$ac_err"; then |
12259 rm -rf conftest* | 12260 rm -rf conftest* |
12260 eval "ac_cv_header_$ac_safe=yes" | 12261 eval "ac_cv_header_$ac_safe=yes" |
12261 else | 12262 else |
12284 | 12285 |
12285 if test "$ac_cv_header_stropts_h" = "yes"; then | 12286 if test "$ac_cv_header_stropts_h" = "yes"; then |
12286 for ac_func in isastream | 12287 for ac_func in isastream |
12287 do | 12288 do |
12288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12289 echo "configure:12290: checking for $ac_func" >&5 | 12290 echo "configure:12291: checking for $ac_func" >&5 |
12290 | 12291 |
12291 cat > conftest.$ac_ext <<EOF | 12292 cat > conftest.$ac_ext <<EOF |
12292 #line 12293 "configure" | 12293 #line 12294 "configure" |
12293 #include "confdefs.h" | 12294 #include "confdefs.h" |
12294 /* System header to define __stub macros and hopefully few prototypes, | 12295 /* System header to define __stub macros and hopefully few prototypes, |
12295 which can conflict with char $ac_func(); below. */ | 12296 which can conflict with char $ac_func(); below. */ |
12296 #include <assert.h> | 12297 #include <assert.h> |
12297 /* Override any gcc2 internal prototype to avoid an error. */ | 12298 /* Override any gcc2 internal prototype to avoid an error. */ |
12310 $ac_func(); | 12311 $ac_func(); |
12311 #endif | 12312 #endif |
12312 | 12313 |
12313 ; return 0; } | 12314 ; return 0; } |
12314 EOF | 12315 EOF |
12315 if { (eval echo configure:12316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12316 if { (eval echo configure:12317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12316 rm -rf conftest* | 12317 rm -rf conftest* |
12317 eval "ac_cv_func_$ac_func=yes" | 12318 eval "ac_cv_func_$ac_func=yes" |
12318 else | 12319 else |
12319 echo "configure: failed program was:" >&5 | 12320 echo "configure: failed program was:" >&5 |
12320 cat conftest.$ac_ext >&5 | 12321 cat conftest.$ac_ext >&5 |
12341 | 12342 |
12342 for ac_hdr in strtio.h | 12343 for ac_hdr in strtio.h |
12343 do | 12344 do |
12344 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12345 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12345 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12346 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12346 echo "configure:12347: checking for $ac_hdr" >&5 | 12347 echo "configure:12348: checking for $ac_hdr" >&5 |
12347 | 12348 |
12348 cat > conftest.$ac_ext <<EOF | 12349 cat > conftest.$ac_ext <<EOF |
12349 #line 12350 "configure" | 12350 #line 12351 "configure" |
12350 #include "confdefs.h" | 12351 #include "confdefs.h" |
12351 #include <$ac_hdr> | 12352 #include <$ac_hdr> |
12352 EOF | 12353 EOF |
12353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12354 { (eval echo configure:12355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12355 { (eval echo configure:12356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12356 if test -z "$ac_err"; then | 12357 if test -z "$ac_err"; then |
12357 rm -rf conftest* | 12358 rm -rf conftest* |
12358 eval "ac_cv_header_$ac_safe=yes" | 12359 eval "ac_cv_header_$ac_safe=yes" |
12359 else | 12360 else |
12382 fi | 12383 fi |
12383 | 12384 |
12384 for ac_func in getloadavg | 12385 for ac_func in getloadavg |
12385 do | 12386 do |
12386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12387 echo "configure:12388: checking for $ac_func" >&5 | 12388 echo "configure:12389: checking for $ac_func" >&5 |
12388 | 12389 |
12389 cat > conftest.$ac_ext <<EOF | 12390 cat > conftest.$ac_ext <<EOF |
12390 #line 12391 "configure" | 12391 #line 12392 "configure" |
12391 #include "confdefs.h" | 12392 #include "confdefs.h" |
12392 /* System header to define __stub macros and hopefully few prototypes, | 12393 /* System header to define __stub macros and hopefully few prototypes, |
12393 which can conflict with char $ac_func(); below. */ | 12394 which can conflict with char $ac_func(); below. */ |
12394 #include <assert.h> | 12395 #include <assert.h> |
12395 /* Override any gcc2 internal prototype to avoid an error. */ | 12396 /* Override any gcc2 internal prototype to avoid an error. */ |
12408 $ac_func(); | 12409 $ac_func(); |
12409 #endif | 12410 #endif |
12410 | 12411 |
12411 ; return 0; } | 12412 ; return 0; } |
12412 EOF | 12413 EOF |
12413 if { (eval echo configure:12414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12414 if { (eval echo configure:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12414 rm -rf conftest* | 12415 rm -rf conftest* |
12415 eval "ac_cv_func_$ac_func=yes" | 12416 eval "ac_cv_func_$ac_func=yes" |
12416 else | 12417 else |
12417 echo "configure: failed program was:" >&5 | 12418 echo "configure: failed program was:" >&5 |
12418 cat conftest.$ac_ext >&5 | 12419 cat conftest.$ac_ext >&5 |
12441 if test "$ac_cv_func_getloadavg" = "yes"; then | 12442 if test "$ac_cv_func_getloadavg" = "yes"; then |
12442 for ac_hdr in sys/loadavg.h | 12443 for ac_hdr in sys/loadavg.h |
12443 do | 12444 do |
12444 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12446 echo "configure:12447: checking for $ac_hdr" >&5 | 12447 echo "configure:12448: checking for $ac_hdr" >&5 |
12447 | 12448 |
12448 cat > conftest.$ac_ext <<EOF | 12449 cat > conftest.$ac_ext <<EOF |
12449 #line 12450 "configure" | 12450 #line 12451 "configure" |
12450 #include "confdefs.h" | 12451 #include "confdefs.h" |
12451 #include <$ac_hdr> | 12452 #include <$ac_hdr> |
12452 EOF | 12453 EOF |
12453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12454 { (eval echo configure:12455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12455 { (eval echo configure:12456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12456 if test -z "$ac_err"; then | 12457 if test -z "$ac_err"; then |
12457 rm -rf conftest* | 12458 rm -rf conftest* |
12458 eval "ac_cv_header_$ac_safe=yes" | 12459 eval "ac_cv_header_$ac_safe=yes" |
12459 else | 12460 else |
12485 echo " xemacs will be linked with \"getloadavg.o\"" | 12486 echo " xemacs will be linked with \"getloadavg.o\"" |
12486 fi | 12487 fi |
12487 | 12488 |
12488 | 12489 |
12489 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12490 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12490 echo "configure:12491: checking for kstat_open in -lkstat" >&5 | 12491 echo "configure:12492: checking for kstat_open in -lkstat" >&5 |
12491 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12492 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12492 | 12493 |
12493 xe_check_libs=" -lkstat " | 12494 xe_check_libs=" -lkstat " |
12494 cat > conftest.$ac_ext <<EOF | 12495 cat > conftest.$ac_ext <<EOF |
12495 #line 12496 "configure" | 12496 #line 12497 "configure" |
12496 #include "confdefs.h" | 12497 #include "confdefs.h" |
12497 /* Override any gcc2 internal prototype to avoid an error. */ | 12498 /* Override any gcc2 internal prototype to avoid an error. */ |
12498 /* We use char because int might match the return type of a gcc2 | 12499 /* We use char because int might match the return type of a gcc2 |
12499 builtin and then its argument prototype would still apply. */ | 12500 builtin and then its argument prototype would still apply. */ |
12500 char kstat_open(); | 12501 char kstat_open(); |
12501 | 12502 |
12502 int main() { | 12503 int main() { |
12503 kstat_open() | 12504 kstat_open() |
12504 ; return 0; } | 12505 ; return 0; } |
12505 EOF | 12506 EOF |
12506 if { (eval echo configure:12507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12507 if { (eval echo configure:12508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12507 rm -rf conftest* | 12508 rm -rf conftest* |
12508 eval "ac_cv_lib_$ac_lib_var=yes" | 12509 eval "ac_cv_lib_$ac_lib_var=yes" |
12509 else | 12510 else |
12510 echo "configure: failed program was:" >&5 | 12511 echo "configure: failed program was:" >&5 |
12511 cat conftest.$ac_ext >&5 | 12512 cat conftest.$ac_ext >&5 |
12536 | 12537 |
12537 for ac_hdr in kstat.h | 12538 for ac_hdr in kstat.h |
12538 do | 12539 do |
12539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12540 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12541 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12541 echo "configure:12542: checking for $ac_hdr" >&5 | 12542 echo "configure:12543: checking for $ac_hdr" >&5 |
12542 | 12543 |
12543 cat > conftest.$ac_ext <<EOF | 12544 cat > conftest.$ac_ext <<EOF |
12544 #line 12545 "configure" | 12545 #line 12546 "configure" |
12545 #include "confdefs.h" | 12546 #include "confdefs.h" |
12546 #include <$ac_hdr> | 12547 #include <$ac_hdr> |
12547 EOF | 12548 EOF |
12548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12549 { (eval echo configure:12550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12550 { (eval echo configure:12551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12551 if test -z "$ac_err"; then | 12552 if test -z "$ac_err"; then |
12552 rm -rf conftest* | 12553 rm -rf conftest* |
12553 eval "ac_cv_header_$ac_safe=yes" | 12554 eval "ac_cv_header_$ac_safe=yes" |
12554 else | 12555 else |
12576 done | 12577 done |
12577 | 12578 |
12578 | 12579 |
12579 | 12580 |
12580 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12581 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12581 echo "configure:12582: checking for kvm_read in -lkvm" >&5 | 12582 echo "configure:12583: checking for kvm_read in -lkvm" >&5 |
12582 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12583 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12583 | 12584 |
12584 xe_check_libs=" -lkvm " | 12585 xe_check_libs=" -lkvm " |
12585 cat > conftest.$ac_ext <<EOF | 12586 cat > conftest.$ac_ext <<EOF |
12586 #line 12587 "configure" | 12587 #line 12588 "configure" |
12587 #include "confdefs.h" | 12588 #include "confdefs.h" |
12588 /* Override any gcc2 internal prototype to avoid an error. */ | 12589 /* Override any gcc2 internal prototype to avoid an error. */ |
12589 /* We use char because int might match the return type of a gcc2 | 12590 /* We use char because int might match the return type of a gcc2 |
12590 builtin and then its argument prototype would still apply. */ | 12591 builtin and then its argument prototype would still apply. */ |
12591 char kvm_read(); | 12592 char kvm_read(); |
12592 | 12593 |
12593 int main() { | 12594 int main() { |
12594 kvm_read() | 12595 kvm_read() |
12595 ; return 0; } | 12596 ; return 0; } |
12596 EOF | 12597 EOF |
12597 if { (eval echo configure:12598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12598 if { (eval echo configure:12599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12598 rm -rf conftest* | 12599 rm -rf conftest* |
12599 eval "ac_cv_lib_$ac_lib_var=yes" | 12600 eval "ac_cv_lib_$ac_lib_var=yes" |
12600 else | 12601 else |
12601 echo "configure: failed program was:" >&5 | 12602 echo "configure: failed program was:" >&5 |
12602 cat conftest.$ac_ext >&5 | 12603 cat conftest.$ac_ext >&5 |
12626 | 12627 |
12627 | 12628 |
12628 fi | 12629 fi |
12629 | 12630 |
12630 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12631 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12631 echo "configure:12632: checking whether netdb declares h_errno" >&5 | 12632 echo "configure:12633: checking whether netdb declares h_errno" >&5 |
12632 cat > conftest.$ac_ext <<EOF | 12633 cat > conftest.$ac_ext <<EOF |
12633 #line 12634 "configure" | 12634 #line 12635 "configure" |
12634 #include "confdefs.h" | 12635 #include "confdefs.h" |
12635 #include <netdb.h> | 12636 #include <netdb.h> |
12636 int main() { | 12637 int main() { |
12637 return h_errno; | 12638 return h_errno; |
12638 ; return 0; } | 12639 ; return 0; } |
12639 EOF | 12640 EOF |
12640 if { (eval echo configure:12641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12641 if { (eval echo configure:12642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12641 rm -rf conftest* | 12642 rm -rf conftest* |
12642 echo "$ac_t""yes" 1>&6 | 12643 echo "$ac_t""yes" 1>&6 |
12643 { test "$extra_verbose" = "yes" && cat << \EOF | 12644 { test "$extra_verbose" = "yes" && cat << \EOF |
12644 Defining HAVE_H_ERRNO | 12645 Defining HAVE_H_ERRNO |
12645 EOF | 12646 EOF |
12655 echo "$ac_t""no" 1>&6 | 12656 echo "$ac_t""no" 1>&6 |
12656 fi | 12657 fi |
12657 rm -f conftest* | 12658 rm -f conftest* |
12658 | 12659 |
12659 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12660 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12660 echo "configure:12661: checking for sigsetjmp" >&5 | 12661 echo "configure:12662: checking for sigsetjmp" >&5 |
12661 cat > conftest.$ac_ext <<EOF | 12662 cat > conftest.$ac_ext <<EOF |
12662 #line 12663 "configure" | 12663 #line 12664 "configure" |
12663 #include "confdefs.h" | 12664 #include "confdefs.h" |
12664 #include <setjmp.h> | 12665 #include <setjmp.h> |
12665 int main() { | 12666 int main() { |
12666 sigjmp_buf bar; sigsetjmp (bar, 0); | 12667 sigjmp_buf bar; sigsetjmp (bar, 0); |
12667 ; return 0; } | 12668 ; return 0; } |
12668 EOF | 12669 EOF |
12669 if { (eval echo configure:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12670 if { (eval echo configure:12671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12670 rm -rf conftest* | 12671 rm -rf conftest* |
12671 echo "$ac_t""yes" 1>&6 | 12672 echo "$ac_t""yes" 1>&6 |
12672 { test "$extra_verbose" = "yes" && cat << \EOF | 12673 { test "$extra_verbose" = "yes" && cat << \EOF |
12673 Defining HAVE_SIGSETJMP | 12674 Defining HAVE_SIGSETJMP |
12674 EOF | 12675 EOF |
12684 echo "$ac_t""no" 1>&6 | 12685 echo "$ac_t""no" 1>&6 |
12685 fi | 12686 fi |
12686 rm -f conftest* | 12687 rm -f conftest* |
12687 | 12688 |
12688 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12689 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12689 echo "configure:12690: checking whether localtime caches TZ" >&5 | 12690 echo "configure:12691: checking whether localtime caches TZ" >&5 |
12690 | 12691 |
12691 if test "$ac_cv_func_tzset" = "yes"; then | 12692 if test "$ac_cv_func_tzset" = "yes"; then |
12692 cat > conftest.$ac_ext <<EOF | 12693 cat > conftest.$ac_ext <<EOF |
12693 #line 12694 "configure" | 12694 #line 12695 "configure" |
12694 #include "confdefs.h" | 12695 #include "confdefs.h" |
12695 #include <time.h> | 12696 #include <time.h> |
12696 #if STDC_HEADERS | 12697 #if STDC_HEADERS |
12697 # include <stdlib.h> | 12698 # include <stdlib.h> |
12698 #endif | 12699 #endif |
12723 if (localtime (&now)->tm_hour != hour_unset) | 12724 if (localtime (&now)->tm_hour != hour_unset) |
12724 exit (1); | 12725 exit (1); |
12725 exit (0); | 12726 exit (0); |
12726 } | 12727 } |
12727 EOF | 12728 EOF |
12728 if { (eval echo configure:12729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12729 if { (eval echo configure:12730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12729 then | 12730 then |
12730 emacs_cv_localtime_cache=no | 12731 emacs_cv_localtime_cache=no |
12731 else | 12732 else |
12732 conftest_rc="$?" | 12733 conftest_rc="$?" |
12733 echo "configure: failed program was:" >&5 | 12734 echo "configure: failed program was:" >&5 |
12753 | 12754 |
12754 fi | 12755 fi |
12755 | 12756 |
12756 if test "$HAVE_TIMEVAL" = "yes"; then | 12757 if test "$HAVE_TIMEVAL" = "yes"; then |
12757 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12758 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12758 echo "configure:12759: checking whether gettimeofday accepts one or two arguments" >&5 | 12759 echo "configure:12760: checking whether gettimeofday accepts one or two arguments" >&5 |
12759 cat > conftest.$ac_ext <<EOF | 12760 cat > conftest.$ac_ext <<EOF |
12760 #line 12761 "configure" | 12761 #line 12762 "configure" |
12761 #include "confdefs.h" | 12762 #include "confdefs.h" |
12762 | 12763 |
12763 #ifdef TIME_WITH_SYS_TIME | 12764 #ifdef TIME_WITH_SYS_TIME |
12764 #include <sys/time.h> | 12765 #include <sys/time.h> |
12765 #include <time.h> | 12766 #include <time.h> |
12776 struct timeval time; | 12777 struct timeval time; |
12777 gettimeofday (&time, 0); | 12778 gettimeofday (&time, 0); |
12778 | 12779 |
12779 ; return 0; } | 12780 ; return 0; } |
12780 EOF | 12781 EOF |
12781 if { (eval echo configure:12782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12782 if { (eval echo configure:12783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12782 rm -rf conftest* | 12783 rm -rf conftest* |
12783 echo "$ac_t""two" 1>&6 | 12784 echo "$ac_t""two" 1>&6 |
12784 else | 12785 else |
12785 echo "configure: failed program was:" >&5 | 12786 echo "configure: failed program was:" >&5 |
12786 cat conftest.$ac_ext >&5 | 12787 cat conftest.$ac_ext >&5 |
12798 rm -f conftest* | 12799 rm -f conftest* |
12799 fi | 12800 fi |
12800 | 12801 |
12801 | 12802 |
12802 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12803 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12803 echo "configure:12804: checking for inline" >&5 | 12804 echo "configure:12805: checking for inline" >&5 |
12804 | 12805 |
12805 ac_cv_c_inline=no | 12806 ac_cv_c_inline=no |
12806 for ac_kw in inline __inline__ __inline; do | 12807 for ac_kw in inline __inline__ __inline; do |
12807 cat > conftest.$ac_ext <<EOF | 12808 cat > conftest.$ac_ext <<EOF |
12808 #line 12809 "configure" | 12809 #line 12810 "configure" |
12809 #include "confdefs.h" | 12810 #include "confdefs.h" |
12810 | 12811 |
12811 int main() { | 12812 int main() { |
12812 } $ac_kw foo() { | 12813 } $ac_kw foo() { |
12813 ; return 0; } | 12814 ; return 0; } |
12814 EOF | 12815 EOF |
12815 if { (eval echo configure:12816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12816 if { (eval echo configure:12817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12816 rm -rf conftest* | 12817 rm -rf conftest* |
12817 ac_cv_c_inline=$ac_kw; break | 12818 ac_cv_c_inline=$ac_kw; break |
12818 else | 12819 else |
12819 echo "configure: failed program was:" >&5 | 12820 echo "configure: failed program was:" >&5 |
12820 cat conftest.$ac_ext >&5 | 12821 cat conftest.$ac_ext >&5 |
12847 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 12848 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
12848 echo " xemacs will be linked with \"inline.o\"" | 12849 echo " xemacs will be linked with \"inline.o\"" |
12849 fi | 12850 fi |
12850 | 12851 |
12851 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 12852 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
12852 echo "configure:12853: checking for typeof" >&5 | 12853 echo "configure:12854: checking for typeof" >&5 |
12853 cat > conftest.$ac_ext <<EOF | 12854 cat > conftest.$ac_ext <<EOF |
12854 #line 12855 "configure" | 12855 #line 12856 "configure" |
12855 #include "confdefs.h" | 12856 #include "confdefs.h" |
12856 | 12857 |
12857 int main() { | 12858 int main() { |
12858 int i; __typeof__(i) j; | 12859 int i; __typeof__(i) j; |
12859 ; return 0; } | 12860 ; return 0; } |
12860 EOF | 12861 EOF |
12861 if { (eval echo configure:12862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12862 if { (eval echo configure:12863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12862 rm -rf conftest* | 12863 rm -rf conftest* |
12863 typeofname="__typeof__" | 12864 typeofname="__typeof__" |
12864 else | 12865 else |
12865 echo "configure: failed program was:" >&5 | 12866 echo "configure: failed program was:" >&5 |
12866 cat conftest.$ac_ext >&5 | 12867 cat conftest.$ac_ext >&5 |
12867 rm -rf conftest* | 12868 rm -rf conftest* |
12868 cat > conftest.$ac_ext <<EOF | 12869 cat > conftest.$ac_ext <<EOF |
12869 #line 12870 "configure" | 12870 #line 12871 "configure" |
12870 #include "confdefs.h" | 12871 #include "confdefs.h" |
12871 | 12872 |
12872 int main() { | 12873 int main() { |
12873 int i; typeof(i) j; | 12874 int i; typeof(i) j; |
12874 ; return 0; } | 12875 ; return 0; } |
12875 EOF | 12876 EOF |
12876 if { (eval echo configure:12877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12877 if { (eval echo configure:12878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12877 rm -rf conftest* | 12878 rm -rf conftest* |
12878 typeofname="typeof" | 12879 typeofname="typeof" |
12879 else | 12880 else |
12880 echo "configure: failed program was:" >&5 | 12881 echo "configure: failed program was:" >&5 |
12881 cat conftest.$ac_ext >&5 | 12882 cat conftest.$ac_ext >&5 |
12900 | 12901 |
12901 if test "$__DECC" != "yes"; then | 12902 if test "$__DECC" != "yes"; then |
12902 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12903 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12903 # for constant arguments. Useless! | 12904 # for constant arguments. Useless! |
12904 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12905 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12905 echo "configure:12906: checking for working alloca.h" >&5 | 12906 echo "configure:12907: checking for working alloca.h" >&5 |
12906 | 12907 |
12907 cat > conftest.$ac_ext <<EOF | 12908 cat > conftest.$ac_ext <<EOF |
12908 #line 12909 "configure" | 12909 #line 12910 "configure" |
12909 #include "confdefs.h" | 12910 #include "confdefs.h" |
12910 #include <alloca.h> | 12911 #include <alloca.h> |
12911 int main() { | 12912 int main() { |
12912 char *p = alloca(2 * sizeof(int)); | 12913 char *p = alloca(2 * sizeof(int)); |
12913 ; return 0; } | 12914 ; return 0; } |
12914 EOF | 12915 EOF |
12915 if { (eval echo configure:12916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12916 if { (eval echo configure:12917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12916 rm -rf conftest* | 12917 rm -rf conftest* |
12917 ac_cv_header_alloca_h=yes | 12918 ac_cv_header_alloca_h=yes |
12918 else | 12919 else |
12919 echo "configure: failed program was:" >&5 | 12920 echo "configure: failed program was:" >&5 |
12920 cat conftest.$ac_ext >&5 | 12921 cat conftest.$ac_ext >&5 |
12934 } | 12935 } |
12935 | 12936 |
12936 fi | 12937 fi |
12937 | 12938 |
12938 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12939 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12939 echo "configure:12940: checking for alloca" >&5 | 12940 echo "configure:12941: checking for alloca" >&5 |
12940 | 12941 |
12941 cat > conftest.$ac_ext <<EOF | 12942 cat > conftest.$ac_ext <<EOF |
12942 #line 12943 "configure" | 12943 #line 12944 "configure" |
12943 #include "confdefs.h" | 12944 #include "confdefs.h" |
12944 | 12945 |
12945 #ifdef __GNUC__ | 12946 #ifdef __GNUC__ |
12946 # define alloca __builtin_alloca | 12947 # define alloca __builtin_alloca |
12947 #else | 12948 #else |
12965 | 12966 |
12966 int main() { | 12967 int main() { |
12967 char *p = (char *) alloca(1); | 12968 char *p = (char *) alloca(1); |
12968 ; return 0; } | 12969 ; return 0; } |
12969 EOF | 12970 EOF |
12970 if { (eval echo configure:12971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12971 if { (eval echo configure:12972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12971 rm -rf conftest* | 12972 rm -rf conftest* |
12972 ac_cv_func_alloca_works=yes | 12973 ac_cv_func_alloca_works=yes |
12973 else | 12974 else |
12974 echo "configure: failed program was:" >&5 | 12975 echo "configure: failed program was:" >&5 |
12975 cat conftest.$ac_ext >&5 | 12976 cat conftest.$ac_ext >&5 |
13004 EOF | 13005 EOF |
13005 } | 13006 } |
13006 | 13007 |
13007 | 13008 |
13008 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13009 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13009 echo "configure:13010: checking whether alloca needs Cray hooks" >&5 | 13010 echo "configure:13011: checking whether alloca needs Cray hooks" >&5 |
13010 | 13011 |
13011 cat > conftest.$ac_ext <<EOF | 13012 cat > conftest.$ac_ext <<EOF |
13012 #line 13013 "configure" | 13013 #line 13014 "configure" |
13013 #include "confdefs.h" | 13014 #include "confdefs.h" |
13014 #if defined(CRAY) && ! defined(CRAY2) | 13015 #if defined(CRAY) && ! defined(CRAY2) |
13015 webecray | 13016 webecray |
13016 #else | 13017 #else |
13017 wenotbecray | 13018 wenotbecray |
13031 | 13032 |
13032 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13033 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13033 if test $ac_cv_os_cray = yes; then | 13034 if test $ac_cv_os_cray = yes; then |
13034 for ac_func in _getb67 GETB67 getb67; do | 13035 for ac_func in _getb67 GETB67 getb67; do |
13035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13036 echo "configure:13037: checking for $ac_func" >&5 | 13037 echo "configure:13038: checking for $ac_func" >&5 |
13037 | 13038 |
13038 cat > conftest.$ac_ext <<EOF | 13039 cat > conftest.$ac_ext <<EOF |
13039 #line 13040 "configure" | 13040 #line 13041 "configure" |
13040 #include "confdefs.h" | 13041 #include "confdefs.h" |
13041 /* System header to define __stub macros and hopefully few prototypes, | 13042 /* System header to define __stub macros and hopefully few prototypes, |
13042 which can conflict with char $ac_func(); below. */ | 13043 which can conflict with char $ac_func(); below. */ |
13043 #include <assert.h> | 13044 #include <assert.h> |
13044 /* Override any gcc2 internal prototype to avoid an error. */ | 13045 /* Override any gcc2 internal prototype to avoid an error. */ |
13057 $ac_func(); | 13058 $ac_func(); |
13058 #endif | 13059 #endif |
13059 | 13060 |
13060 ; return 0; } | 13061 ; return 0; } |
13061 EOF | 13062 EOF |
13062 if { (eval echo configure:13063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13063 if { (eval echo configure:13064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13063 rm -rf conftest* | 13064 rm -rf conftest* |
13064 eval "ac_cv_func_$ac_func=yes" | 13065 eval "ac_cv_func_$ac_func=yes" |
13065 else | 13066 else |
13066 echo "configure: failed program was:" >&5 | 13067 echo "configure: failed program was:" >&5 |
13067 cat conftest.$ac_ext >&5 | 13068 cat conftest.$ac_ext >&5 |
13087 | 13088 |
13088 done | 13089 done |
13089 fi | 13090 fi |
13090 | 13091 |
13091 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13092 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13092 echo "configure:13093: checking stack direction for C alloca" >&5 | 13093 echo "configure:13094: checking stack direction for C alloca" >&5 |
13093 | 13094 |
13094 cat > conftest.$ac_ext <<EOF | 13095 cat > conftest.$ac_ext <<EOF |
13095 #line 13096 "configure" | 13096 #line 13097 "configure" |
13096 #include "confdefs.h" | 13097 #include "confdefs.h" |
13097 find_stack_direction () | 13098 find_stack_direction () |
13098 { | 13099 { |
13099 static char *addr = 0; | 13100 static char *addr = 0; |
13100 auto char dummy; | 13101 auto char dummy; |
13109 main () | 13110 main () |
13110 { | 13111 { |
13111 exit (find_stack_direction() < 0); | 13112 exit (find_stack_direction() < 0); |
13112 } | 13113 } |
13113 EOF | 13114 EOF |
13114 if { (eval echo configure:13115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13115 if { (eval echo configure:13116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13115 then | 13116 then |
13116 ac_cv_c_stack_direction=1 | 13117 ac_cv_c_stack_direction=1 |
13117 else | 13118 else |
13118 conftest_rc="$?" | 13119 conftest_rc="$?" |
13119 echo "configure: failed program was:" >&5 | 13120 echo "configure: failed program was:" >&5 |
13138 echo " xemacs will be linked with \"$ALLOCA\"" | 13139 echo " xemacs will be linked with \"$ALLOCA\"" |
13139 fi | 13140 fi |
13140 fi | 13141 fi |
13141 | 13142 |
13142 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13143 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13143 echo "configure:13144: checking for working alloca in function calls" >&5 | 13144 echo "configure:13145: checking for working alloca in function calls" >&5 |
13144 cat > conftest.$ac_ext <<EOF | 13145 cat > conftest.$ac_ext <<EOF |
13145 #line 13146 "configure" | 13146 #line 13147 "configure" |
13146 #include "confdefs.h" | 13147 #include "confdefs.h" |
13147 | 13148 |
13148 #if defined (__CYGWIN__) | 13149 #if defined (__CYGWIN__) |
13149 #include <alloca.h> | 13150 #include <alloca.h> |
13150 #elif defined (__GNUC__) | 13151 #elif defined (__GNUC__) |
13193 return 1; | 13194 return 1; |
13194 return 0; | 13195 return 0; |
13195 } | 13196 } |
13196 | 13197 |
13197 EOF | 13198 EOF |
13198 if { (eval echo configure:13199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13199 if { (eval echo configure:13200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13199 then | 13200 then |
13200 working_alloca_in_function_calls=yes | 13201 working_alloca_in_function_calls=yes |
13201 else | 13202 else |
13202 conftest_rc="$?" | 13203 conftest_rc="$?" |
13203 echo "configure: failed program was:" >&5 | 13204 echo "configure: failed program was:" >&5 |
13216 EOF | 13217 EOF |
13217 } | 13218 } |
13218 | 13219 |
13219 | 13220 |
13220 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13221 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13221 echo "configure:13222: checking for working strcoll" >&5 | 13222 echo "configure:13223: checking for working strcoll" >&5 |
13222 | 13223 |
13223 cat > conftest.$ac_ext <<EOF | 13224 cat > conftest.$ac_ext <<EOF |
13224 #line 13225 "configure" | 13225 #line 13226 "configure" |
13225 #include "confdefs.h" | 13226 #include "confdefs.h" |
13226 #include <string.h> | 13227 #include <string.h> |
13227 main () | 13228 main () |
13228 { | 13229 { |
13229 exit (strcoll ("abc", "def") >= 0 || | 13230 exit (strcoll ("abc", "def") >= 0 || |
13230 strcoll ("ABC", "DEF") >= 0 || | 13231 strcoll ("ABC", "DEF") >= 0 || |
13231 strcoll ("123", "456") >= 0); | 13232 strcoll ("123", "456") >= 0); |
13232 } | 13233 } |
13233 EOF | 13234 EOF |
13234 if { (eval echo configure:13235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13235 if { (eval echo configure:13236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13235 then | 13236 then |
13236 ac_cv_func_strcoll_works=yes | 13237 ac_cv_func_strcoll_works=yes |
13237 else | 13238 else |
13238 conftest_rc="$?" | 13239 conftest_rc="$?" |
13239 echo "configure: failed program was:" >&5 | 13240 echo "configure: failed program was:" >&5 |
13257 | 13258 |
13258 | 13259 |
13259 for ac_func in getpgrp | 13260 for ac_func in getpgrp |
13260 do | 13261 do |
13261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13262 echo "configure:13263: checking for $ac_func" >&5 | 13263 echo "configure:13264: checking for $ac_func" >&5 |
13263 | 13264 |
13264 cat > conftest.$ac_ext <<EOF | 13265 cat > conftest.$ac_ext <<EOF |
13265 #line 13266 "configure" | 13266 #line 13267 "configure" |
13266 #include "confdefs.h" | 13267 #include "confdefs.h" |
13267 /* System header to define __stub macros and hopefully few prototypes, | 13268 /* System header to define __stub macros and hopefully few prototypes, |
13268 which can conflict with char $ac_func(); below. */ | 13269 which can conflict with char $ac_func(); below. */ |
13269 #include <assert.h> | 13270 #include <assert.h> |
13270 /* Override any gcc2 internal prototype to avoid an error. */ | 13271 /* Override any gcc2 internal prototype to avoid an error. */ |
13283 $ac_func(); | 13284 $ac_func(); |
13284 #endif | 13285 #endif |
13285 | 13286 |
13286 ; return 0; } | 13287 ; return 0; } |
13287 EOF | 13288 EOF |
13288 if { (eval echo configure:13289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13289 if { (eval echo configure:13290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13289 rm -rf conftest* | 13290 rm -rf conftest* |
13290 eval "ac_cv_func_$ac_func=yes" | 13291 eval "ac_cv_func_$ac_func=yes" |
13291 else | 13292 else |
13292 echo "configure: failed program was:" >&5 | 13293 echo "configure: failed program was:" >&5 |
13293 cat conftest.$ac_ext >&5 | 13294 cat conftest.$ac_ext >&5 |
13311 echo "$ac_t""no" 1>&6 | 13312 echo "$ac_t""no" 1>&6 |
13312 fi | 13313 fi |
13313 done | 13314 done |
13314 | 13315 |
13315 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13316 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13316 echo "configure:13317: checking whether getpgrp takes no argument" >&5 | 13317 echo "configure:13318: checking whether getpgrp takes no argument" >&5 |
13317 | 13318 |
13318 cat > conftest.$ac_ext <<EOF | 13319 cat > conftest.$ac_ext <<EOF |
13319 #line 13320 "configure" | 13320 #line 13321 "configure" |
13320 #include "confdefs.h" | 13321 #include "confdefs.h" |
13321 | 13322 |
13322 /* | 13323 /* |
13323 * If this system has a BSD-style getpgrp(), | 13324 * If this system has a BSD-style getpgrp(), |
13324 * which takes a pid argument, exit unsuccessfully. | 13325 * which takes a pid argument, exit unsuccessfully. |
13369 exit(s>>8); | 13370 exit(s>>8); |
13370 } | 13371 } |
13371 } | 13372 } |
13372 | 13373 |
13373 EOF | 13374 EOF |
13374 if { (eval echo configure:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13375 if { (eval echo configure:13376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13375 then | 13376 then |
13376 ac_cv_func_getpgrp_void=yes | 13377 ac_cv_func_getpgrp_void=yes |
13377 else | 13378 else |
13378 conftest_rc="$?" | 13379 conftest_rc="$?" |
13379 echo "configure: failed program was:" >&5 | 13380 echo "configure: failed program was:" >&5 |
13396 | 13397 |
13397 fi | 13398 fi |
13398 | 13399 |
13399 | 13400 |
13400 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13401 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13401 echo "configure:13402: checking for working mmap" >&5 | 13402 echo "configure:13403: checking for working mmap" >&5 |
13402 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13403 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13403 cat > conftest.$ac_ext <<EOF | 13404 cat > conftest.$ac_ext <<EOF |
13404 #line 13405 "configure" | 13405 #line 13406 "configure" |
13405 #include "confdefs.h" | 13406 #include "confdefs.h" |
13406 #include <stdio.h> | 13407 #include <stdio.h> |
13407 #include <unistd.h> | 13408 #include <unistd.h> |
13408 #include <fcntl.h> | 13409 #include <fcntl.h> |
13409 #include <sys/mman.h> | 13410 #include <sys/mman.h> |
13432 return 0; | 13433 return 0; |
13433 perror ("conftest: mmap failed"); | 13434 perror ("conftest: mmap failed"); |
13434 return 1; | 13435 return 1; |
13435 } | 13436 } |
13436 EOF | 13437 EOF |
13437 if { (eval echo configure:13438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13438 then | 13439 then |
13439 have_mmap=yes | 13440 have_mmap=yes |
13440 else | 13441 else |
13441 conftest_rc="$?" | 13442 conftest_rc="$?" |
13442 echo "configure: failed program was:" >&5 | 13443 echo "configure: failed program was:" >&5 |
13461 esac | 13462 esac |
13462 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13463 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13463 if test "$rel_alloc $have_mmap" = "default yes"; then | 13464 if test "$rel_alloc $have_mmap" = "default yes"; then |
13464 if test "$doug_lea_malloc" = "yes"; then | 13465 if test "$doug_lea_malloc" = "yes"; then |
13465 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13466 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13466 echo "configure:13467: checking for M_MMAP_THRESHOLD" >&5 | 13467 echo "configure:13468: checking for M_MMAP_THRESHOLD" >&5 |
13467 cat > conftest.$ac_ext <<EOF | 13468 cat > conftest.$ac_ext <<EOF |
13468 #line 13469 "configure" | 13469 #line 13470 "configure" |
13469 #include "confdefs.h" | 13470 #include "confdefs.h" |
13470 #include <malloc.h> | 13471 #include <malloc.h> |
13471 int main() { | 13472 int main() { |
13472 | 13473 |
13473 #ifndef M_MMAP_THRESHOLD | 13474 #ifndef M_MMAP_THRESHOLD |
13475 !@+$%^&*_)(_ - unlikely to compile... | 13476 !@+$%^&*_)(_ - unlikely to compile... |
13476 #endif | 13477 #endif |
13477 | 13478 |
13478 ; return 0; } | 13479 ; return 0; } |
13479 EOF | 13480 EOF |
13480 if { (eval echo configure:13481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13481 if { (eval echo configure:13482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13481 rm -rf conftest* | 13482 rm -rf conftest* |
13482 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13483 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13483 else | 13484 else |
13484 echo "configure: failed program was:" >&5 | 13485 echo "configure: failed program was:" >&5 |
13485 cat conftest.$ac_ext >&5 | 13486 cat conftest.$ac_ext >&5 |
13500 } | 13501 } |
13501 | 13502 |
13502 | 13503 |
13503 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13504 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13504 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13505 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13505 echo "configure:13506: checking for termios.h" >&5 | 13506 echo "configure:13507: checking for termios.h" >&5 |
13506 | 13507 |
13507 cat > conftest.$ac_ext <<EOF | 13508 cat > conftest.$ac_ext <<EOF |
13508 #line 13509 "configure" | 13509 #line 13510 "configure" |
13509 #include "confdefs.h" | 13510 #include "confdefs.h" |
13510 #include <termios.h> | 13511 #include <termios.h> |
13511 EOF | 13512 EOF |
13512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13513 { (eval echo configure:13514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13514 { (eval echo configure:13515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13515 if test -z "$ac_err"; then | 13516 if test -z "$ac_err"; then |
13516 rm -rf conftest* | 13517 rm -rf conftest* |
13517 eval "ac_cv_header_$ac_safe=yes" | 13518 eval "ac_cv_header_$ac_safe=yes" |
13518 else | 13519 else |
13551 | 13552 |
13552 else | 13553 else |
13553 echo "$ac_t""no" 1>&6 | 13554 echo "$ac_t""no" 1>&6 |
13554 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13555 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13555 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13556 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13556 echo "configure:13557: checking for termio.h" >&5 | 13557 echo "configure:13558: checking for termio.h" >&5 |
13557 | 13558 |
13558 cat > conftest.$ac_ext <<EOF | 13559 cat > conftest.$ac_ext <<EOF |
13559 #line 13560 "configure" | 13560 #line 13561 "configure" |
13560 #include "confdefs.h" | 13561 #include "confdefs.h" |
13561 #include <termio.h> | 13562 #include <termio.h> |
13562 EOF | 13563 EOF |
13563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13564 { (eval echo configure:13565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13565 { (eval echo configure:13566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13566 if test -z "$ac_err"; then | 13567 if test -z "$ac_err"; then |
13567 rm -rf conftest* | 13568 rm -rf conftest* |
13568 eval "ac_cv_header_$ac_safe=yes" | 13569 eval "ac_cv_header_$ac_safe=yes" |
13569 else | 13570 else |
13591 fi | 13592 fi |
13592 | 13593 |
13593 | 13594 |
13594 | 13595 |
13595 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13596 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13596 echo "configure:13597: checking for socket" >&5 | 13597 echo "configure:13598: checking for socket" >&5 |
13597 | 13598 |
13598 cat > conftest.$ac_ext <<EOF | 13599 cat > conftest.$ac_ext <<EOF |
13599 #line 13600 "configure" | 13600 #line 13601 "configure" |
13600 #include "confdefs.h" | 13601 #include "confdefs.h" |
13601 /* System header to define __stub macros and hopefully few prototypes, | 13602 /* System header to define __stub macros and hopefully few prototypes, |
13602 which can conflict with char socket(); below. */ | 13603 which can conflict with char socket(); below. */ |
13603 #include <assert.h> | 13604 #include <assert.h> |
13604 /* Override any gcc2 internal prototype to avoid an error. */ | 13605 /* Override any gcc2 internal prototype to avoid an error. */ |
13617 socket(); | 13618 socket(); |
13618 #endif | 13619 #endif |
13619 | 13620 |
13620 ; return 0; } | 13621 ; return 0; } |
13621 EOF | 13622 EOF |
13622 if { (eval echo configure:13623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13623 if { (eval echo configure:13624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13623 rm -rf conftest* | 13624 rm -rf conftest* |
13624 eval "ac_cv_func_socket=yes" | 13625 eval "ac_cv_func_socket=yes" |
13625 else | 13626 else |
13626 echo "configure: failed program was:" >&5 | 13627 echo "configure: failed program was:" >&5 |
13627 cat conftest.$ac_ext >&5 | 13628 cat conftest.$ac_ext >&5 |
13632 | 13633 |
13633 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13634 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13634 echo "$ac_t""yes" 1>&6 | 13635 echo "$ac_t""yes" 1>&6 |
13635 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13636 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13636 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13637 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13637 echo "configure:13638: checking for netinet/in.h" >&5 | 13638 echo "configure:13639: checking for netinet/in.h" >&5 |
13638 | 13639 |
13639 cat > conftest.$ac_ext <<EOF | 13640 cat > conftest.$ac_ext <<EOF |
13640 #line 13641 "configure" | 13641 #line 13642 "configure" |
13641 #include "confdefs.h" | 13642 #include "confdefs.h" |
13642 #include <netinet/in.h> | 13643 #include <netinet/in.h> |
13643 EOF | 13644 EOF |
13644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13645 { (eval echo configure:13646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13646 { (eval echo configure:13647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13647 if test -z "$ac_err"; then | 13648 if test -z "$ac_err"; then |
13648 rm -rf conftest* | 13649 rm -rf conftest* |
13649 eval "ac_cv_header_$ac_safe=yes" | 13650 eval "ac_cv_header_$ac_safe=yes" |
13650 else | 13651 else |
13657 rm -f conftest* | 13658 rm -f conftest* |
13658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13659 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13659 echo "$ac_t""yes" 1>&6 | 13660 echo "$ac_t""yes" 1>&6 |
13660 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13661 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13661 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13662 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13662 echo "configure:13663: checking for arpa/inet.h" >&5 | 13663 echo "configure:13664: checking for arpa/inet.h" >&5 |
13663 | 13664 |
13664 cat > conftest.$ac_ext <<EOF | 13665 cat > conftest.$ac_ext <<EOF |
13665 #line 13666 "configure" | 13666 #line 13667 "configure" |
13666 #include "confdefs.h" | 13667 #include "confdefs.h" |
13667 #include <arpa/inet.h> | 13668 #include <arpa/inet.h> |
13668 EOF | 13669 EOF |
13669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13670 { (eval echo configure:13671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13671 { (eval echo configure:13672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13672 if test -z "$ac_err"; then | 13673 if test -z "$ac_err"; then |
13673 rm -rf conftest* | 13674 rm -rf conftest* |
13674 eval "ac_cv_header_$ac_safe=yes" | 13675 eval "ac_cv_header_$ac_safe=yes" |
13675 else | 13676 else |
13690 #define HAVE_SOCKETS 1 | 13691 #define HAVE_SOCKETS 1 |
13691 EOF | 13692 EOF |
13692 } | 13693 } |
13693 | 13694 |
13694 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13695 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13695 echo "configure:13696: checking "for sun_len member in struct sockaddr_un"" >&5 | 13696 echo "configure:13697: checking "for sun_len member in struct sockaddr_un"" >&5 |
13696 cat > conftest.$ac_ext <<EOF | 13697 cat > conftest.$ac_ext <<EOF |
13697 #line 13698 "configure" | 13698 #line 13699 "configure" |
13698 #include "confdefs.h" | 13699 #include "confdefs.h" |
13699 | 13700 |
13700 #include <sys/types.h> | 13701 #include <sys/types.h> |
13701 #include <sys/socket.h> | 13702 #include <sys/socket.h> |
13702 #include <sys/un.h> | 13703 #include <sys/un.h> |
13703 | 13704 |
13704 int main() { | 13705 int main() { |
13705 static struct sockaddr_un x; x.sun_len = 1; | 13706 static struct sockaddr_un x; x.sun_len = 1; |
13706 ; return 0; } | 13707 ; return 0; } |
13707 EOF | 13708 EOF |
13708 if { (eval echo configure:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13709 if { (eval echo configure:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13709 rm -rf conftest* | 13710 rm -rf conftest* |
13710 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13711 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13711 Defining HAVE_SOCKADDR_SUN_LEN | 13712 Defining HAVE_SOCKADDR_SUN_LEN |
13712 EOF | 13713 EOF |
13713 cat >> confdefs.h <<\EOF | 13714 cat >> confdefs.h <<\EOF |
13721 rm -rf conftest* | 13722 rm -rf conftest* |
13722 echo "$ac_t""no" 1>&6 | 13723 echo "$ac_t""no" 1>&6 |
13723 fi | 13724 fi |
13724 rm -f conftest* | 13725 rm -f conftest* |
13725 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13726 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13726 echo "configure:13727: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13727 echo "configure:13728: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13727 cat > conftest.$ac_ext <<EOF | 13728 cat > conftest.$ac_ext <<EOF |
13728 #line 13729 "configure" | 13729 #line 13730 "configure" |
13729 #include "confdefs.h" | 13730 #include "confdefs.h" |
13730 | 13731 |
13731 #include <sys/types.h> | 13732 #include <sys/types.h> |
13732 #include <netinet/in.h> | 13733 #include <netinet/in.h> |
13733 | 13734 |
13734 int main() { | 13735 int main() { |
13735 static struct ip_mreq x; | 13736 static struct ip_mreq x; |
13736 ; return 0; } | 13737 ; return 0; } |
13737 EOF | 13738 EOF |
13738 if { (eval echo configure:13739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13739 if { (eval echo configure:13740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13739 rm -rf conftest* | 13740 rm -rf conftest* |
13740 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13741 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13741 Defining HAVE_MULTICAST | 13742 Defining HAVE_MULTICAST |
13742 EOF | 13743 EOF |
13743 cat >> confdefs.h <<\EOF | 13744 cat >> confdefs.h <<\EOF |
13764 echo "$ac_t""no" 1>&6 | 13765 echo "$ac_t""no" 1>&6 |
13765 fi | 13766 fi |
13766 | 13767 |
13767 | 13768 |
13768 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13769 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13769 echo "configure:13770: checking for msgget" >&5 | 13770 echo "configure:13771: checking for msgget" >&5 |
13770 | 13771 |
13771 cat > conftest.$ac_ext <<EOF | 13772 cat > conftest.$ac_ext <<EOF |
13772 #line 13773 "configure" | 13773 #line 13774 "configure" |
13773 #include "confdefs.h" | 13774 #include "confdefs.h" |
13774 /* System header to define __stub macros and hopefully few prototypes, | 13775 /* System header to define __stub macros and hopefully few prototypes, |
13775 which can conflict with char msgget(); below. */ | 13776 which can conflict with char msgget(); below. */ |
13776 #include <assert.h> | 13777 #include <assert.h> |
13777 /* Override any gcc2 internal prototype to avoid an error. */ | 13778 /* Override any gcc2 internal prototype to avoid an error. */ |
13790 msgget(); | 13791 msgget(); |
13791 #endif | 13792 #endif |
13792 | 13793 |
13793 ; return 0; } | 13794 ; return 0; } |
13794 EOF | 13795 EOF |
13795 if { (eval echo configure:13796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13796 if { (eval echo configure:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13796 rm -rf conftest* | 13797 rm -rf conftest* |
13797 eval "ac_cv_func_msgget=yes" | 13798 eval "ac_cv_func_msgget=yes" |
13798 else | 13799 else |
13799 echo "configure: failed program was:" >&5 | 13800 echo "configure: failed program was:" >&5 |
13800 cat conftest.$ac_ext >&5 | 13801 cat conftest.$ac_ext >&5 |
13805 | 13806 |
13806 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13807 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13807 echo "$ac_t""yes" 1>&6 | 13808 echo "$ac_t""yes" 1>&6 |
13808 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13809 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13809 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13810 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13810 echo "configure:13811: checking for sys/ipc.h" >&5 | 13811 echo "configure:13812: checking for sys/ipc.h" >&5 |
13811 | 13812 |
13812 cat > conftest.$ac_ext <<EOF | 13813 cat > conftest.$ac_ext <<EOF |
13813 #line 13814 "configure" | 13814 #line 13815 "configure" |
13814 #include "confdefs.h" | 13815 #include "confdefs.h" |
13815 #include <sys/ipc.h> | 13816 #include <sys/ipc.h> |
13816 EOF | 13817 EOF |
13817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13818 { (eval echo configure:13819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13819 { (eval echo configure:13820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13819 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13820 if test -z "$ac_err"; then | 13821 if test -z "$ac_err"; then |
13821 rm -rf conftest* | 13822 rm -rf conftest* |
13822 eval "ac_cv_header_$ac_safe=yes" | 13823 eval "ac_cv_header_$ac_safe=yes" |
13823 else | 13824 else |
13830 rm -f conftest* | 13831 rm -f conftest* |
13831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13832 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13832 echo "$ac_t""yes" 1>&6 | 13833 echo "$ac_t""yes" 1>&6 |
13833 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13834 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13834 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13835 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13835 echo "configure:13836: checking for sys/msg.h" >&5 | 13836 echo "configure:13837: checking for sys/msg.h" >&5 |
13836 | 13837 |
13837 cat > conftest.$ac_ext <<EOF | 13838 cat > conftest.$ac_ext <<EOF |
13838 #line 13839 "configure" | 13839 #line 13840 "configure" |
13839 #include "confdefs.h" | 13840 #include "confdefs.h" |
13840 #include <sys/msg.h> | 13841 #include <sys/msg.h> |
13841 EOF | 13842 EOF |
13842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13843 { (eval echo configure:13844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13844 { (eval echo configure:13845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13844 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13845 if test -z "$ac_err"; then | 13846 if test -z "$ac_err"; then |
13846 rm -rf conftest* | 13847 rm -rf conftest* |
13847 eval "ac_cv_header_$ac_safe=yes" | 13848 eval "ac_cv_header_$ac_safe=yes" |
13848 else | 13849 else |
13876 fi | 13877 fi |
13877 | 13878 |
13878 | 13879 |
13879 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13880 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13880 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13881 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13881 echo "configure:13882: checking for dirent.h" >&5 | 13882 echo "configure:13883: checking for dirent.h" >&5 |
13882 | 13883 |
13883 cat > conftest.$ac_ext <<EOF | 13884 cat > conftest.$ac_ext <<EOF |
13884 #line 13885 "configure" | 13885 #line 13886 "configure" |
13885 #include "confdefs.h" | 13886 #include "confdefs.h" |
13886 #include <dirent.h> | 13887 #include <dirent.h> |
13887 EOF | 13888 EOF |
13888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13889 { (eval echo configure:13890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13890 { (eval echo configure:13891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13891 if test -z "$ac_err"; then | 13892 if test -z "$ac_err"; then |
13892 rm -rf conftest* | 13893 rm -rf conftest* |
13893 eval "ac_cv_header_$ac_safe=yes" | 13894 eval "ac_cv_header_$ac_safe=yes" |
13894 else | 13895 else |
13911 | 13912 |
13912 else | 13913 else |
13913 echo "$ac_t""no" 1>&6 | 13914 echo "$ac_t""no" 1>&6 |
13914 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13915 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13915 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13916 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13916 echo "configure:13917: checking for sys/dir.h" >&5 | 13917 echo "configure:13918: checking for sys/dir.h" >&5 |
13917 | 13918 |
13918 cat > conftest.$ac_ext <<EOF | 13919 cat > conftest.$ac_ext <<EOF |
13919 #line 13920 "configure" | 13920 #line 13921 "configure" |
13920 #include "confdefs.h" | 13921 #include "confdefs.h" |
13921 #include <sys/dir.h> | 13922 #include <sys/dir.h> |
13922 EOF | 13923 EOF |
13923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13924 { (eval echo configure:13925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13925 { (eval echo configure:13926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13926 if test -z "$ac_err"; then | 13927 if test -z "$ac_err"; then |
13927 rm -rf conftest* | 13928 rm -rf conftest* |
13928 eval "ac_cv_header_$ac_safe=yes" | 13929 eval "ac_cv_header_$ac_safe=yes" |
13929 else | 13930 else |
13952 fi | 13953 fi |
13953 | 13954 |
13954 | 13955 |
13955 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13956 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13956 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13957 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13957 echo "configure:13958: checking for nlist.h" >&5 | 13958 echo "configure:13959: checking for nlist.h" >&5 |
13958 | 13959 |
13959 cat > conftest.$ac_ext <<EOF | 13960 cat > conftest.$ac_ext <<EOF |
13960 #line 13961 "configure" | 13961 #line 13962 "configure" |
13961 #include "confdefs.h" | 13962 #include "confdefs.h" |
13962 #include <nlist.h> | 13963 #include <nlist.h> |
13963 EOF | 13964 EOF |
13964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13965 { (eval echo configure:13966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13966 { (eval echo configure:13967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13967 if test -z "$ac_err"; then | 13968 if test -z "$ac_err"; then |
13968 rm -rf conftest* | 13969 rm -rf conftest* |
13969 eval "ac_cv_header_$ac_safe=yes" | 13970 eval "ac_cv_header_$ac_safe=yes" |
13970 else | 13971 else |
13990 fi | 13991 fi |
13991 | 13992 |
13992 | 13993 |
13993 | 13994 |
13994 echo "checking "for sound support"" 1>&6 | 13995 echo "checking "for sound support"" 1>&6 |
13995 echo "configure:13996: checking "for sound support"" >&5 | 13996 echo "configure:13997: checking "for sound support"" >&5 |
13996 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13997 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13997 | 13998 |
13998 if test "$with_native_sound" != "no"; then | 13999 if test "$with_native_sound" != "no"; then |
13999 if test -n "$native_sound_lib"; then | 14000 if test -n "$native_sound_lib"; then |
14000 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14001 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14001 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14002 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14002 echo "configure:14003: checking for multimedia/audio_device.h" >&5 | 14003 echo "configure:14004: checking for multimedia/audio_device.h" >&5 |
14003 | 14004 |
14004 cat > conftest.$ac_ext <<EOF | 14005 cat > conftest.$ac_ext <<EOF |
14005 #line 14006 "configure" | 14006 #line 14007 "configure" |
14006 #include "confdefs.h" | 14007 #include "confdefs.h" |
14007 #include <multimedia/audio_device.h> | 14008 #include <multimedia/audio_device.h> |
14008 EOF | 14009 EOF |
14009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14010 { (eval echo configure:14011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14011 { (eval echo configure:14012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14011 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14012 if test -z "$ac_err"; then | 14013 if test -z "$ac_err"; then |
14013 rm -rf conftest* | 14014 rm -rf conftest* |
14014 eval "ac_cv_header_$ac_safe=yes" | 14015 eval "ac_cv_header_$ac_safe=yes" |
14015 else | 14016 else |
14061 case "$canonical" in | 14062 case "$canonical" in |
14062 *-sgi-* ) | 14063 *-sgi-* ) |
14063 if test -z "$native_sound_lib"; then | 14064 if test -z "$native_sound_lib"; then |
14064 | 14065 |
14065 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14066 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14066 echo "configure:14067: checking for ALopenport in -laudio" >&5 | 14067 echo "configure:14068: checking for ALopenport in -laudio" >&5 |
14067 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14068 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14068 | 14069 |
14069 xe_check_libs=" -laudio " | 14070 xe_check_libs=" -laudio " |
14070 cat > conftest.$ac_ext <<EOF | 14071 cat > conftest.$ac_ext <<EOF |
14071 #line 14072 "configure" | 14072 #line 14073 "configure" |
14072 #include "confdefs.h" | 14073 #include "confdefs.h" |
14073 /* Override any gcc2 internal prototype to avoid an error. */ | 14074 /* Override any gcc2 internal prototype to avoid an error. */ |
14074 /* We use char because int might match the return type of a gcc2 | 14075 /* We use char because int might match the return type of a gcc2 |
14075 builtin and then its argument prototype would still apply. */ | 14076 builtin and then its argument prototype would still apply. */ |
14076 char ALopenport(); | 14077 char ALopenport(); |
14077 | 14078 |
14078 int main() { | 14079 int main() { |
14079 ALopenport() | 14080 ALopenport() |
14080 ; return 0; } | 14081 ; return 0; } |
14081 EOF | 14082 EOF |
14082 if { (eval echo configure:14083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14083 rm -rf conftest* | 14084 rm -rf conftest* |
14084 eval "ac_cv_lib_$ac_lib_var=yes" | 14085 eval "ac_cv_lib_$ac_lib_var=yes" |
14085 else | 14086 else |
14086 echo "configure: failed program was:" >&5 | 14087 echo "configure: failed program was:" >&5 |
14087 cat conftest.$ac_ext >&5 | 14088 cat conftest.$ac_ext >&5 |
14108 fi ;; | 14109 fi ;; |
14109 hppa*-hp-hpux* ) | 14110 hppa*-hp-hpux* ) |
14110 if test -z "$native_sound_lib"; then | 14111 if test -z "$native_sound_lib"; then |
14111 | 14112 |
14112 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14113 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14113 echo "configure:14114: checking for AOpenAudio in -lAlib" >&5 | 14114 echo "configure:14115: checking for AOpenAudio in -lAlib" >&5 |
14114 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14115 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14115 | 14116 |
14116 xe_check_libs=" -lAlib " | 14117 xe_check_libs=" -lAlib " |
14117 cat > conftest.$ac_ext <<EOF | 14118 cat > conftest.$ac_ext <<EOF |
14118 #line 14119 "configure" | 14119 #line 14120 "configure" |
14119 #include "confdefs.h" | 14120 #include "confdefs.h" |
14120 /* Override any gcc2 internal prototype to avoid an error. */ | 14121 /* Override any gcc2 internal prototype to avoid an error. */ |
14121 /* We use char because int might match the return type of a gcc2 | 14122 /* We use char because int might match the return type of a gcc2 |
14122 builtin and then its argument prototype would still apply. */ | 14123 builtin and then its argument prototype would still apply. */ |
14123 char AOpenAudio(); | 14124 char AOpenAudio(); |
14124 | 14125 |
14125 int main() { | 14126 int main() { |
14126 AOpenAudio() | 14127 AOpenAudio() |
14127 ; return 0; } | 14128 ; return 0; } |
14128 EOF | 14129 EOF |
14129 if { (eval echo configure:14130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14130 if { (eval echo configure:14131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14130 rm -rf conftest* | 14131 rm -rf conftest* |
14131 eval "ac_cv_lib_$ac_lib_var=yes" | 14132 eval "ac_cv_lib_$ac_lib_var=yes" |
14132 else | 14133 else |
14133 echo "configure: failed program was:" >&5 | 14134 echo "configure: failed program was:" >&5 |
14134 cat conftest.$ac_ext >&5 | 14135 cat conftest.$ac_ext >&5 |
14172 | 14173 |
14173 if test -z "$sound_found"; then | 14174 if test -z "$sound_found"; then |
14174 for dir in "machine" "sys" "linux"; do | 14175 for dir in "machine" "sys" "linux"; do |
14175 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14176 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14176 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14177 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14177 echo "configure:14178: checking for ${dir}/soundcard.h" >&5 | 14178 echo "configure:14179: checking for ${dir}/soundcard.h" >&5 |
14178 | 14179 |
14179 cat > conftest.$ac_ext <<EOF | 14180 cat > conftest.$ac_ext <<EOF |
14180 #line 14181 "configure" | 14181 #line 14182 "configure" |
14181 #include "confdefs.h" | 14182 #include "confdefs.h" |
14182 #include <${dir}/soundcard.h> | 14183 #include <${dir}/soundcard.h> |
14183 EOF | 14184 EOF |
14184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14185 { (eval echo configure:14186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14186 { (eval echo configure:14187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14187 if test -z "$ac_err"; then | 14188 if test -z "$ac_err"; then |
14188 rm -rf conftest* | 14189 rm -rf conftest* |
14189 eval "ac_cv_header_$ac_safe=yes" | 14190 eval "ac_cv_header_$ac_safe=yes" |
14190 else | 14191 else |
14234 fi | 14235 fi |
14235 | 14236 |
14236 if test "$with_nas_sound" != "no"; then | 14237 if test "$with_nas_sound" != "no"; then |
14237 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14238 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14238 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14239 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14239 echo "configure:14240: checking for audio/audiolib.h" >&5 | 14240 echo "configure:14241: checking for audio/audiolib.h" >&5 |
14240 | 14241 |
14241 cat > conftest.$ac_ext <<EOF | 14242 cat > conftest.$ac_ext <<EOF |
14242 #line 14243 "configure" | 14243 #line 14244 "configure" |
14243 #include "confdefs.h" | 14244 #include "confdefs.h" |
14244 #include <audio/audiolib.h> | 14245 #include <audio/audiolib.h> |
14245 EOF | 14246 EOF |
14246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14247 { (eval echo configure:14248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14248 { (eval echo configure:14249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14249 if test -z "$ac_err"; then | 14250 if test -z "$ac_err"; then |
14250 rm -rf conftest* | 14251 rm -rf conftest* |
14251 eval "ac_cv_header_$ac_safe=yes" | 14252 eval "ac_cv_header_$ac_safe=yes" |
14252 else | 14253 else |
14260 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14261 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14261 echo "$ac_t""yes" 1>&6 | 14262 echo "$ac_t""yes" 1>&6 |
14262 | 14263 |
14263 | 14264 |
14264 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14265 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14265 echo "configure:14266: checking for AuOpenServer in -laudio" >&5 | 14266 echo "configure:14267: checking for AuOpenServer in -laudio" >&5 |
14266 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14267 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14267 | 14268 |
14268 xe_check_libs=" -laudio " | 14269 xe_check_libs=" -laudio " |
14269 cat > conftest.$ac_ext <<EOF | 14270 cat > conftest.$ac_ext <<EOF |
14270 #line 14271 "configure" | 14271 #line 14272 "configure" |
14271 #include "confdefs.h" | 14272 #include "confdefs.h" |
14272 /* Override any gcc2 internal prototype to avoid an error. */ | 14273 /* Override any gcc2 internal prototype to avoid an error. */ |
14273 /* We use char because int might match the return type of a gcc2 | 14274 /* We use char because int might match the return type of a gcc2 |
14274 builtin and then its argument prototype would still apply. */ | 14275 builtin and then its argument prototype would still apply. */ |
14275 char AuOpenServer(); | 14276 char AuOpenServer(); |
14276 | 14277 |
14277 int main() { | 14278 int main() { |
14278 AuOpenServer() | 14279 AuOpenServer() |
14279 ; return 0; } | 14280 ; return 0; } |
14280 EOF | 14281 EOF |
14281 if { (eval echo configure:14282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14282 if { (eval echo configure:14283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14282 rm -rf conftest* | 14283 rm -rf conftest* |
14283 eval "ac_cv_lib_$ac_lib_var=yes" | 14284 eval "ac_cv_lib_$ac_lib_var=yes" |
14284 else | 14285 else |
14285 echo "configure: failed program was:" >&5 | 14286 echo "configure: failed program was:" >&5 |
14286 cat conftest.$ac_ext >&5 | 14287 cat conftest.$ac_ext >&5 |
14315 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14316 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14316 echo " xemacs will be linked with \"nas.o\"" | 14317 echo " xemacs will be linked with \"nas.o\"" |
14317 fi | 14318 fi |
14318 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14319 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14319 cat > conftest.$ac_ext <<EOF | 14320 cat > conftest.$ac_ext <<EOF |
14320 #line 14321 "configure" | 14321 #line 14322 "configure" |
14321 #include "confdefs.h" | 14322 #include "confdefs.h" |
14322 #include <audio/Xtutil.h> | 14323 #include <audio/Xtutil.h> |
14323 EOF | 14324 EOF |
14324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14325 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14326 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14346 | 14347 |
14347 if test "$with_esd_sound" != "no"; then | 14348 if test "$with_esd_sound" != "no"; then |
14348 # Extract the first word of "esd-config", so it can be a program name with args. | 14349 # Extract the first word of "esd-config", so it can be a program name with args. |
14349 set dummy esd-config; ac_word=$2 | 14350 set dummy esd-config; ac_word=$2 |
14350 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14351 echo "configure:14352: checking for $ac_word" >&5 | 14352 echo "configure:14353: checking for $ac_word" >&5 |
14352 | 14353 |
14353 if test -n "$have_esd_config"; then | 14354 if test -n "$have_esd_config"; then |
14354 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14355 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14355 else | 14356 else |
14356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14357 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14375 if test "$have_esd_config" = "yes"; then | 14376 if test "$have_esd_config" = "yes"; then |
14376 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14377 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14377 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 | 14378 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 |
14378 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14379 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14379 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14380 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14380 echo "configure:14381: checking for esd_play_stream" >&5 | 14381 echo "configure:14382: checking for esd_play_stream" >&5 |
14381 | 14382 |
14382 cat > conftest.$ac_ext <<EOF | 14383 cat > conftest.$ac_ext <<EOF |
14383 #line 14384 "configure" | 14384 #line 14385 "configure" |
14384 #include "confdefs.h" | 14385 #include "confdefs.h" |
14385 /* System header to define __stub macros and hopefully few prototypes, | 14386 /* System header to define __stub macros and hopefully few prototypes, |
14386 which can conflict with char esd_play_stream(); below. */ | 14387 which can conflict with char esd_play_stream(); below. */ |
14387 #include <assert.h> | 14388 #include <assert.h> |
14388 /* Override any gcc2 internal prototype to avoid an error. */ | 14389 /* Override any gcc2 internal prototype to avoid an error. */ |
14401 esd_play_stream(); | 14402 esd_play_stream(); |
14402 #endif | 14403 #endif |
14403 | 14404 |
14404 ; return 0; } | 14405 ; return 0; } |
14405 EOF | 14406 EOF |
14406 if { (eval echo configure:14407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14407 rm -rf conftest* | 14408 rm -rf conftest* |
14408 eval "ac_cv_func_esd_play_stream=yes" | 14409 eval "ac_cv_func_esd_play_stream=yes" |
14409 else | 14410 else |
14410 echo "configure: failed program was:" >&5 | 14411 echo "configure: failed program was:" >&5 |
14411 cat conftest.$ac_ext >&5 | 14412 cat conftest.$ac_ext >&5 |
14452 | 14453 |
14453 test -z "$with_tty" && with_tty=yes | 14454 test -z "$with_tty" && with_tty=yes |
14454 | 14455 |
14455 if test "$with_tty" = "yes" ; then | 14456 if test "$with_tty" = "yes" ; then |
14456 echo "checking for TTY-related features" 1>&6 | 14457 echo "checking for TTY-related features" 1>&6 |
14457 echo "configure:14458: checking for TTY-related features" >&5 | 14458 echo "configure:14459: checking for TTY-related features" >&5 |
14458 { test "$extra_verbose" = "yes" && cat << \EOF | 14459 { test "$extra_verbose" = "yes" && cat << \EOF |
14459 Defining HAVE_TTY | 14460 Defining HAVE_TTY |
14460 EOF | 14461 EOF |
14461 cat >> confdefs.h <<\EOF | 14462 cat >> confdefs.h <<\EOF |
14462 #define HAVE_TTY 1 | 14463 #define HAVE_TTY 1 |
14465 | 14466 |
14466 | 14467 |
14467 if test -z "$with_ncurses"; then | 14468 if test -z "$with_ncurses"; then |
14468 | 14469 |
14469 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14470 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14470 echo "configure:14471: checking for tgetent in -lncurses" >&5 | 14471 echo "configure:14472: checking for tgetent in -lncurses" >&5 |
14471 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14472 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14472 | 14473 |
14473 xe_check_libs=" -lncurses " | 14474 xe_check_libs=" -lncurses " |
14474 cat > conftest.$ac_ext <<EOF | 14475 cat > conftest.$ac_ext <<EOF |
14475 #line 14476 "configure" | 14476 #line 14477 "configure" |
14476 #include "confdefs.h" | 14477 #include "confdefs.h" |
14477 /* Override any gcc2 internal prototype to avoid an error. */ | 14478 /* Override any gcc2 internal prototype to avoid an error. */ |
14478 /* We use char because int might match the return type of a gcc2 | 14479 /* We use char because int might match the return type of a gcc2 |
14479 builtin and then its argument prototype would still apply. */ | 14480 builtin and then its argument prototype would still apply. */ |
14480 char tgetent(); | 14481 char tgetent(); |
14481 | 14482 |
14482 int main() { | 14483 int main() { |
14483 tgetent() | 14484 tgetent() |
14484 ; return 0; } | 14485 ; return 0; } |
14485 EOF | 14486 EOF |
14486 if { (eval echo configure:14487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14487 if { (eval echo configure:14488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14487 rm -rf conftest* | 14488 rm -rf conftest* |
14488 eval "ac_cv_lib_$ac_lib_var=yes" | 14489 eval "ac_cv_lib_$ac_lib_var=yes" |
14489 else | 14490 else |
14490 echo "configure: failed program was:" >&5 | 14491 echo "configure: failed program was:" >&5 |
14491 cat conftest.$ac_ext >&5 | 14492 cat conftest.$ac_ext >&5 |
14514 EOF | 14515 EOF |
14515 } | 14516 } |
14516 | 14517 |
14517 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14518 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14518 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14519 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14519 echo "configure:14520: checking for ncurses/curses.h" >&5 | 14520 echo "configure:14521: checking for ncurses/curses.h" >&5 |
14520 | 14521 |
14521 cat > conftest.$ac_ext <<EOF | 14522 cat > conftest.$ac_ext <<EOF |
14522 #line 14523 "configure" | 14523 #line 14524 "configure" |
14523 #include "confdefs.h" | 14524 #include "confdefs.h" |
14524 #include <ncurses/curses.h> | 14525 #include <ncurses/curses.h> |
14525 EOF | 14526 EOF |
14526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14527 { (eval echo configure:14528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14528 { (eval echo configure:14529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14529 if test -z "$ac_err"; then | 14530 if test -z "$ac_err"; then |
14530 rm -rf conftest* | 14531 rm -rf conftest* |
14531 eval "ac_cv_header_$ac_safe=yes" | 14532 eval "ac_cv_header_$ac_safe=yes" |
14532 else | 14533 else |
14544 echo "$ac_t""no" 1>&6 | 14545 echo "$ac_t""no" 1>&6 |
14545 fi | 14546 fi |
14546 | 14547 |
14547 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14548 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14548 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14549 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14549 echo "configure:14550: checking for ncurses/term.h" >&5 | 14550 echo "configure:14551: checking for ncurses/term.h" >&5 |
14550 | 14551 |
14551 cat > conftest.$ac_ext <<EOF | 14552 cat > conftest.$ac_ext <<EOF |
14552 #line 14553 "configure" | 14553 #line 14554 "configure" |
14553 #include "confdefs.h" | 14554 #include "confdefs.h" |
14554 #include <ncurses/term.h> | 14555 #include <ncurses/term.h> |
14555 EOF | 14556 EOF |
14556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14557 { (eval echo configure:14558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14558 { (eval echo configure:14559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14559 if test -z "$ac_err"; then | 14560 if test -z "$ac_err"; then |
14560 rm -rf conftest* | 14561 rm -rf conftest* |
14561 eval "ac_cv_header_$ac_safe=yes" | 14562 eval "ac_cv_header_$ac_safe=yes" |
14562 else | 14563 else |
14582 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14583 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14583 save_c_switch_site="$c_switch_site" | 14584 save_c_switch_site="$c_switch_site" |
14584 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14585 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14585 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14586 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14586 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14587 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14587 echo "configure:14588: checking for ncurses/curses.h" >&5 | 14588 echo "configure:14589: checking for ncurses/curses.h" >&5 |
14588 | 14589 |
14589 cat > conftest.$ac_ext <<EOF | 14590 cat > conftest.$ac_ext <<EOF |
14590 #line 14591 "configure" | 14591 #line 14592 "configure" |
14591 #include "confdefs.h" | 14592 #include "confdefs.h" |
14592 #include <ncurses/curses.h> | 14593 #include <ncurses/curses.h> |
14593 EOF | 14594 EOF |
14594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14595 { (eval echo configure:14596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14596 { (eval echo configure:14597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14597 if test -z "$ac_err"; then | 14598 if test -z "$ac_err"; then |
14598 rm -rf conftest* | 14599 rm -rf conftest* |
14599 eval "ac_cv_header_$ac_safe=yes" | 14600 eval "ac_cv_header_$ac_safe=yes" |
14600 else | 14601 else |
14625 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14626 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14626 else | 14627 else |
14627 for lib in curses termlib termcap; do | 14628 for lib in curses termlib termcap; do |
14628 | 14629 |
14629 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14630 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14630 echo "configure:14631: checking for tgetent in -l$lib" >&5 | 14631 echo "configure:14632: checking for tgetent in -l$lib" >&5 |
14631 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14632 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14632 | 14633 |
14633 xe_check_libs=" -l$lib " | 14634 xe_check_libs=" -l$lib " |
14634 cat > conftest.$ac_ext <<EOF | 14635 cat > conftest.$ac_ext <<EOF |
14635 #line 14636 "configure" | 14636 #line 14637 "configure" |
14636 #include "confdefs.h" | 14637 #include "confdefs.h" |
14637 /* Override any gcc2 internal prototype to avoid an error. */ | 14638 /* Override any gcc2 internal prototype to avoid an error. */ |
14638 /* We use char because int might match the return type of a gcc2 | 14639 /* We use char because int might match the return type of a gcc2 |
14639 builtin and then its argument prototype would still apply. */ | 14640 builtin and then its argument prototype would still apply. */ |
14640 char tgetent(); | 14641 char tgetent(); |
14641 | 14642 |
14642 int main() { | 14643 int main() { |
14643 tgetent() | 14644 tgetent() |
14644 ; return 0; } | 14645 ; return 0; } |
14645 EOF | 14646 EOF |
14646 if { (eval echo configure:14647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14647 rm -rf conftest* | 14648 rm -rf conftest* |
14648 eval "ac_cv_lib_$ac_lib_var=yes" | 14649 eval "ac_cv_lib_$ac_lib_var=yes" |
14649 else | 14650 else |
14650 echo "configure: failed program was:" >&5 | 14651 echo "configure: failed program was:" >&5 |
14651 cat conftest.$ac_ext >&5 | 14652 cat conftest.$ac_ext >&5 |
14672 if test -n "$libs_termcap"; then | 14673 if test -n "$libs_termcap"; then |
14673 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14674 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14674 else | 14675 else |
14675 | 14676 |
14676 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14677 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14677 echo "configure:14678: checking for tgetent in -lcurses" >&5 | 14678 echo "configure:14679: checking for tgetent in -lcurses" >&5 |
14678 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14679 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14679 | 14680 |
14680 xe_check_libs=" -lcurses " | 14681 xe_check_libs=" -lcurses " |
14681 cat > conftest.$ac_ext <<EOF | 14682 cat > conftest.$ac_ext <<EOF |
14682 #line 14683 "configure" | 14683 #line 14684 "configure" |
14683 #include "confdefs.h" | 14684 #include "confdefs.h" |
14684 /* Override any gcc2 internal prototype to avoid an error. */ | 14685 /* Override any gcc2 internal prototype to avoid an error. */ |
14685 /* We use char because int might match the return type of a gcc2 | 14686 /* We use char because int might match the return type of a gcc2 |
14686 builtin and then its argument prototype would still apply. */ | 14687 builtin and then its argument prototype would still apply. */ |
14687 char tgetent(); | 14688 char tgetent(); |
14688 | 14689 |
14689 int main() { | 14690 int main() { |
14690 tgetent() | 14691 tgetent() |
14691 ; return 0; } | 14692 ; return 0; } |
14692 EOF | 14693 EOF |
14693 if { (eval echo configure:14694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14694 if { (eval echo configure:14695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14694 rm -rf conftest* | 14695 rm -rf conftest* |
14695 eval "ac_cv_lib_$ac_lib_var=yes" | 14696 eval "ac_cv_lib_$ac_lib_var=yes" |
14696 else | 14697 else |
14697 echo "configure: failed program was:" >&5 | 14698 echo "configure: failed program was:" >&5 |
14698 cat conftest.$ac_ext >&5 | 14699 cat conftest.$ac_ext >&5 |
14706 echo "$ac_t""yes" 1>&6 | 14707 echo "$ac_t""yes" 1>&6 |
14707 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14708 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14708 else | 14709 else |
14709 echo "$ac_t""no" 1>&6 | 14710 echo "$ac_t""no" 1>&6 |
14710 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14711 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14711 echo "configure:14712: checking for tgetent in -ltermcap" >&5 | 14712 echo "configure:14713: checking for tgetent in -ltermcap" >&5 |
14712 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14713 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14713 | 14714 |
14714 xe_check_libs=" -ltermcap " | 14715 xe_check_libs=" -ltermcap " |
14715 cat > conftest.$ac_ext <<EOF | 14716 cat > conftest.$ac_ext <<EOF |
14716 #line 14717 "configure" | 14717 #line 14718 "configure" |
14717 #include "confdefs.h" | 14718 #include "confdefs.h" |
14718 /* Override any gcc2 internal prototype to avoid an error. */ | 14719 /* Override any gcc2 internal prototype to avoid an error. */ |
14719 /* We use char because int might match the return type of a gcc2 | 14720 /* We use char because int might match the return type of a gcc2 |
14720 builtin and then its argument prototype would still apply. */ | 14721 builtin and then its argument prototype would still apply. */ |
14721 char tgetent(); | 14722 char tgetent(); |
14722 | 14723 |
14723 int main() { | 14724 int main() { |
14724 tgetent() | 14725 tgetent() |
14725 ; return 0; } | 14726 ; return 0; } |
14726 EOF | 14727 EOF |
14727 if { (eval echo configure:14728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14728 if { (eval echo configure:14729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14728 rm -rf conftest* | 14729 rm -rf conftest* |
14729 eval "ac_cv_lib_$ac_lib_var=yes" | 14730 eval "ac_cv_lib_$ac_lib_var=yes" |
14730 else | 14731 else |
14731 echo "configure: failed program was:" >&5 | 14732 echo "configure: failed program was:" >&5 |
14732 cat conftest.$ac_ext >&5 | 14733 cat conftest.$ac_ext >&5 |
14770 } | 14771 } |
14771 | 14772 |
14772 | 14773 |
14773 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14774 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14774 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14775 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14775 echo "configure:14776: checking for gpm.h" >&5 | 14776 echo "configure:14777: checking for gpm.h" >&5 |
14776 | 14777 |
14777 cat > conftest.$ac_ext <<EOF | 14778 cat > conftest.$ac_ext <<EOF |
14778 #line 14779 "configure" | 14779 #line 14780 "configure" |
14779 #include "confdefs.h" | 14780 #include "confdefs.h" |
14780 #include <gpm.h> | 14781 #include <gpm.h> |
14781 EOF | 14782 EOF |
14782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14783 { (eval echo configure:14784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14784 { (eval echo configure:14785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14785 if test -z "$ac_err"; then | 14786 if test -z "$ac_err"; then |
14786 rm -rf conftest* | 14787 rm -rf conftest* |
14787 eval "ac_cv_header_$ac_safe=yes" | 14788 eval "ac_cv_header_$ac_safe=yes" |
14788 else | 14789 else |
14801 with_gpm=no | 14802 with_gpm=no |
14802 fi | 14803 fi |
14803 } | 14804 } |
14804 test -z "$with_gpm" && { | 14805 test -z "$with_gpm" && { |
14805 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14806 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14806 echo "configure:14807: checking for Gpm_Open in -lgpm" >&5 | 14807 echo "configure:14808: checking for Gpm_Open in -lgpm" >&5 |
14807 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14808 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14808 | 14809 |
14809 xe_check_libs=" -lgpm " | 14810 xe_check_libs=" -lgpm " |
14810 cat > conftest.$ac_ext <<EOF | 14811 cat > conftest.$ac_ext <<EOF |
14811 #line 14812 "configure" | 14812 #line 14813 "configure" |
14812 #include "confdefs.h" | 14813 #include "confdefs.h" |
14813 /* Override any gcc2 internal prototype to avoid an error. */ | 14814 /* Override any gcc2 internal prototype to avoid an error. */ |
14814 /* We use char because int might match the return type of a gcc2 | 14815 /* We use char because int might match the return type of a gcc2 |
14815 builtin and then its argument prototype would still apply. */ | 14816 builtin and then its argument prototype would still apply. */ |
14816 char Gpm_Open(); | 14817 char Gpm_Open(); |
14817 | 14818 |
14818 int main() { | 14819 int main() { |
14819 Gpm_Open() | 14820 Gpm_Open() |
14820 ; return 0; } | 14821 ; return 0; } |
14821 EOF | 14822 EOF |
14822 if { (eval echo configure:14823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14823 if { (eval echo configure:14824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14823 rm -rf conftest* | 14824 rm -rf conftest* |
14824 eval "ac_cv_lib_$ac_lib_var=yes" | 14825 eval "ac_cv_lib_$ac_lib_var=yes" |
14825 else | 14826 else |
14826 echo "configure: failed program was:" >&5 | 14827 echo "configure: failed program was:" >&5 |
14827 cat conftest.$ac_ext >&5 | 14828 cat conftest.$ac_ext >&5 |
14860 done | 14861 done |
14861 fi | 14862 fi |
14862 | 14863 |
14863 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14864 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14864 != "no no no" && echo "checking for database support" 1>&6 | 14865 != "no no no" && echo "checking for database support" 1>&6 |
14865 echo "configure:14866: checking for database support" >&5 | 14866 echo "configure:14867: checking for database support" >&5 |
14866 | 14867 |
14867 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14868 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14868 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14869 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14869 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14870 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14870 echo "configure:14871: checking for ndbm.h" >&5 | 14871 echo "configure:14872: checking for ndbm.h" >&5 |
14871 | 14872 |
14872 cat > conftest.$ac_ext <<EOF | 14873 cat > conftest.$ac_ext <<EOF |
14873 #line 14874 "configure" | 14874 #line 14875 "configure" |
14874 #include "confdefs.h" | 14875 #include "confdefs.h" |
14875 #include <ndbm.h> | 14876 #include <ndbm.h> |
14876 EOF | 14877 EOF |
14877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14878 { (eval echo configure:14879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14879 { (eval echo configure:14880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14880 if test -z "$ac_err"; then | 14881 if test -z "$ac_err"; then |
14881 rm -rf conftest* | 14882 rm -rf conftest* |
14882 eval "ac_cv_header_$ac_safe=yes" | 14883 eval "ac_cv_header_$ac_safe=yes" |
14883 else | 14884 else |
14903 fi | 14904 fi |
14904 | 14905 |
14905 if test "$with_database_gdbm" != "no"; then | 14906 if test "$with_database_gdbm" != "no"; then |
14906 | 14907 |
14907 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14908 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14908 echo "configure:14909: checking for dbm_open in -lgdbm" >&5 | 14909 echo "configure:14910: checking for dbm_open in -lgdbm" >&5 |
14909 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14910 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14910 | 14911 |
14911 xe_check_libs=" -lgdbm " | 14912 xe_check_libs=" -lgdbm " |
14912 cat > conftest.$ac_ext <<EOF | 14913 cat > conftest.$ac_ext <<EOF |
14913 #line 14914 "configure" | 14914 #line 14915 "configure" |
14914 #include "confdefs.h" | 14915 #include "confdefs.h" |
14915 /* Override any gcc2 internal prototype to avoid an error. */ | 14916 /* Override any gcc2 internal prototype to avoid an error. */ |
14916 /* We use char because int might match the return type of a gcc2 | 14917 /* We use char because int might match the return type of a gcc2 |
14917 builtin and then its argument prototype would still apply. */ | 14918 builtin and then its argument prototype would still apply. */ |
14918 char dbm_open(); | 14919 char dbm_open(); |
14919 | 14920 |
14920 int main() { | 14921 int main() { |
14921 dbm_open() | 14922 dbm_open() |
14922 ; return 0; } | 14923 ; return 0; } |
14923 EOF | 14924 EOF |
14924 if { (eval echo configure:14925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14925 if { (eval echo configure:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14925 rm -rf conftest* | 14926 rm -rf conftest* |
14926 eval "ac_cv_lib_$ac_lib_var=yes" | 14927 eval "ac_cv_lib_$ac_lib_var=yes" |
14927 else | 14928 else |
14928 echo "configure: failed program was:" >&5 | 14929 echo "configure: failed program was:" >&5 |
14929 cat conftest.$ac_ext >&5 | 14930 cat conftest.$ac_ext >&5 |
14947 | 14948 |
14948 fi | 14949 fi |
14949 | 14950 |
14950 if test "$with_database_dbm" != "no"; then | 14951 if test "$with_database_dbm" != "no"; then |
14951 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14952 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14952 echo "configure:14953: checking for dbm_open" >&5 | 14953 echo "configure:14954: checking for dbm_open" >&5 |
14953 | 14954 |
14954 cat > conftest.$ac_ext <<EOF | 14955 cat > conftest.$ac_ext <<EOF |
14955 #line 14956 "configure" | 14956 #line 14957 "configure" |
14956 #include "confdefs.h" | 14957 #include "confdefs.h" |
14957 /* System header to define __stub macros and hopefully few prototypes, | 14958 /* System header to define __stub macros and hopefully few prototypes, |
14958 which can conflict with char dbm_open(); below. */ | 14959 which can conflict with char dbm_open(); below. */ |
14959 #include <assert.h> | 14960 #include <assert.h> |
14960 /* Override any gcc2 internal prototype to avoid an error. */ | 14961 /* Override any gcc2 internal prototype to avoid an error. */ |
14973 dbm_open(); | 14974 dbm_open(); |
14974 #endif | 14975 #endif |
14975 | 14976 |
14976 ; return 0; } | 14977 ; return 0; } |
14977 EOF | 14978 EOF |
14978 if { (eval echo configure:14979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14979 rm -rf conftest* | 14980 rm -rf conftest* |
14980 eval "ac_cv_func_dbm_open=yes" | 14981 eval "ac_cv_func_dbm_open=yes" |
14981 else | 14982 else |
14982 echo "configure: failed program was:" >&5 | 14983 echo "configure: failed program was:" >&5 |
14983 cat conftest.$ac_ext >&5 | 14984 cat conftest.$ac_ext >&5 |
14992 else | 14993 else |
14993 echo "$ac_t""no" 1>&6 | 14994 echo "$ac_t""no" 1>&6 |
14994 | 14995 |
14995 | 14996 |
14996 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14997 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14997 echo "configure:14998: checking for dbm_open in -ldbm" >&5 | 14998 echo "configure:14999: checking for dbm_open in -ldbm" >&5 |
14998 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14999 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14999 | 15000 |
15000 xe_check_libs=" -ldbm " | 15001 xe_check_libs=" -ldbm " |
15001 cat > conftest.$ac_ext <<EOF | 15002 cat > conftest.$ac_ext <<EOF |
15002 #line 15003 "configure" | 15003 #line 15004 "configure" |
15003 #include "confdefs.h" | 15004 #include "confdefs.h" |
15004 /* Override any gcc2 internal prototype to avoid an error. */ | 15005 /* Override any gcc2 internal prototype to avoid an error. */ |
15005 /* We use char because int might match the return type of a gcc2 | 15006 /* We use char because int might match the return type of a gcc2 |
15006 builtin and then its argument prototype would still apply. */ | 15007 builtin and then its argument prototype would still apply. */ |
15007 char dbm_open(); | 15008 char dbm_open(); |
15008 | 15009 |
15009 int main() { | 15010 int main() { |
15010 dbm_open() | 15011 dbm_open() |
15011 ; return 0; } | 15012 ; return 0; } |
15012 EOF | 15013 EOF |
15013 if { (eval echo configure:15014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15014 if { (eval echo configure:15015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15014 rm -rf conftest* | 15015 rm -rf conftest* |
15015 eval "ac_cv_lib_$ac_lib_var=yes" | 15016 eval "ac_cv_lib_$ac_lib_var=yes" |
15016 else | 15017 else |
15017 echo "configure: failed program was:" >&5 | 15018 echo "configure: failed program was:" >&5 |
15018 cat conftest.$ac_ext >&5 | 15019 cat conftest.$ac_ext >&5 |
15049 } | 15050 } |
15050 | 15051 |
15051 | 15052 |
15052 if test "$with_database_berkdb" != "no"; then | 15053 if test "$with_database_berkdb" != "no"; then |
15053 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15054 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15054 echo "configure:15055: checking for Berkeley db.h" >&5 | 15055 echo "configure:15056: checking for Berkeley db.h" >&5 |
15055 for header in "db/db.h" "db.h"; do | 15056 for header in "db/db.h" "db.h"; do |
15056 cat > conftest.$ac_ext <<EOF | 15057 cat > conftest.$ac_ext <<EOF |
15057 #line 15058 "configure" | 15058 #line 15059 "configure" |
15058 #include "confdefs.h" | 15059 #include "confdefs.h" |
15059 | 15060 |
15060 #include <stdlib.h> | 15061 #include <stdlib.h> |
15061 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15062 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15062 #ifdef HAVE_INTTYPES_H | 15063 #ifdef HAVE_INTTYPES_H |
15074 | 15075 |
15075 int main() { | 15076 int main() { |
15076 | 15077 |
15077 ; return 0; } | 15078 ; return 0; } |
15078 EOF | 15079 EOF |
15079 if { (eval echo configure:15080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15080 if { (eval echo configure:15081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15080 rm -rf conftest* | 15081 rm -rf conftest* |
15081 db_h_file="$header"; break | 15082 db_h_file="$header"; break |
15082 else | 15083 else |
15083 echo "configure: failed program was:" >&5 | 15084 echo "configure: failed program was:" >&5 |
15084 cat conftest.$ac_ext >&5 | 15085 cat conftest.$ac_ext >&5 |
15090 else echo "$ac_t""$db_h_file" 1>&6 | 15091 else echo "$ac_t""$db_h_file" 1>&6 |
15091 fi | 15092 fi |
15092 | 15093 |
15093 if test "$with_database_berkdb" != "no"; then | 15094 if test "$with_database_berkdb" != "no"; then |
15094 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15095 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15095 echo "configure:15096: checking for Berkeley DB version" >&5 | 15096 echo "configure:15097: checking for Berkeley DB version" >&5 |
15096 cat > conftest.$ac_ext <<EOF | 15097 cat > conftest.$ac_ext <<EOF |
15097 #line 15098 "configure" | 15098 #line 15099 "configure" |
15098 #include "confdefs.h" | 15099 #include "confdefs.h" |
15099 #include <$db_h_file> | 15100 #include <$db_h_file> |
15100 #if DB_VERSION_MAJOR > 1 | 15101 #if DB_VERSION_MAJOR > 1 |
15101 yes | 15102 yes |
15102 #endif | 15103 #endif |
15104 EOF | 15105 EOF |
15105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15106 egrep "yes" >/dev/null 2>&1; then | 15107 egrep "yes" >/dev/null 2>&1; then |
15107 rm -rf conftest* | 15108 rm -rf conftest* |
15108 cat > conftest.$ac_ext <<EOF | 15109 cat > conftest.$ac_ext <<EOF |
15109 #line 15110 "configure" | 15110 #line 15111 "configure" |
15110 #include "confdefs.h" | 15111 #include "confdefs.h" |
15111 #include <$db_h_file> | 15112 #include <$db_h_file> |
15112 #if DB_VERSION_MAJOR > 2 | 15113 #if DB_VERSION_MAJOR > 2 |
15113 yes | 15114 yes |
15114 #endif | 15115 #endif |
15116 EOF | 15117 EOF |
15117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15118 egrep "yes" >/dev/null 2>&1; then | 15119 egrep "yes" >/dev/null 2>&1; then |
15119 rm -rf conftest* | 15120 rm -rf conftest* |
15120 cat > conftest.$ac_ext <<EOF | 15121 cat > conftest.$ac_ext <<EOF |
15121 #line 15122 "configure" | 15122 #line 15123 "configure" |
15122 #include "confdefs.h" | 15123 #include "confdefs.h" |
15123 #include <$db_h_file> | 15124 #include <$db_h_file> |
15124 #if DB_VERSION_MAJOR > 3 | 15125 #if DB_VERSION_MAJOR > 3 |
15125 yes | 15126 yes |
15126 #endif | 15127 #endif |
15150 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15151 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15151 fi | 15152 fi |
15152 rm -f conftest* | 15153 rm -f conftest* |
15153 | 15154 |
15154 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15155 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15155 echo "configure:15156: checking for $dbfunc" >&5 | 15156 echo "configure:15157: checking for $dbfunc" >&5 |
15156 | 15157 |
15157 cat > conftest.$ac_ext <<EOF | 15158 cat > conftest.$ac_ext <<EOF |
15158 #line 15159 "configure" | 15159 #line 15160 "configure" |
15159 #include "confdefs.h" | 15160 #include "confdefs.h" |
15160 /* System header to define __stub macros and hopefully few prototypes, | 15161 /* System header to define __stub macros and hopefully few prototypes, |
15161 which can conflict with char $dbfunc(); below. */ | 15162 which can conflict with char $dbfunc(); below. */ |
15162 #include <assert.h> | 15163 #include <assert.h> |
15163 /* Override any gcc2 internal prototype to avoid an error. */ | 15164 /* Override any gcc2 internal prototype to avoid an error. */ |
15176 $dbfunc(); | 15177 $dbfunc(); |
15177 #endif | 15178 #endif |
15178 | 15179 |
15179 ; return 0; } | 15180 ; return 0; } |
15180 EOF | 15181 EOF |
15181 if { (eval echo configure:15182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15182 if { (eval echo configure:15183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15182 rm -rf conftest* | 15183 rm -rf conftest* |
15183 eval "ac_cv_func_$dbfunc=yes" | 15184 eval "ac_cv_func_$dbfunc=yes" |
15184 else | 15185 else |
15185 echo "configure: failed program was:" >&5 | 15186 echo "configure: failed program was:" >&5 |
15186 cat conftest.$ac_ext >&5 | 15187 cat conftest.$ac_ext >&5 |
15195 else | 15196 else |
15196 echo "$ac_t""no" 1>&6 | 15197 echo "$ac_t""no" 1>&6 |
15197 | 15198 |
15198 | 15199 |
15199 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15200 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15200 echo "configure:15201: checking for $dbfunc in -ldb" >&5 | 15201 echo "configure:15202: checking for $dbfunc in -ldb" >&5 |
15201 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15202 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15202 | 15203 |
15203 xe_check_libs=" -ldb " | 15204 xe_check_libs=" -ldb " |
15204 cat > conftest.$ac_ext <<EOF | 15205 cat > conftest.$ac_ext <<EOF |
15205 #line 15206 "configure" | 15206 #line 15207 "configure" |
15206 #include "confdefs.h" | 15207 #include "confdefs.h" |
15207 /* Override any gcc2 internal prototype to avoid an error. */ | 15208 /* Override any gcc2 internal prototype to avoid an error. */ |
15208 /* We use char because int might match the return type of a gcc2 | 15209 /* We use char because int might match the return type of a gcc2 |
15209 builtin and then its argument prototype would still apply. */ | 15210 builtin and then its argument prototype would still apply. */ |
15210 char $dbfunc(); | 15211 char $dbfunc(); |
15211 | 15212 |
15212 int main() { | 15213 int main() { |
15213 $dbfunc() | 15214 $dbfunc() |
15214 ; return 0; } | 15215 ; return 0; } |
15215 EOF | 15216 EOF |
15216 if { (eval echo configure:15217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15217 if { (eval echo configure:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15217 rm -rf conftest* | 15218 rm -rf conftest* |
15218 eval "ac_cv_lib_$ac_lib_var=yes" | 15219 eval "ac_cv_lib_$ac_lib_var=yes" |
15219 else | 15220 else |
15220 echo "configure: failed program was:" >&5 | 15221 echo "configure: failed program was:" >&5 |
15221 cat conftest.$ac_ext >&5 | 15222 cat conftest.$ac_ext >&5 |
15245 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15246 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15246 rm -f $tempcname | 15247 rm -f $tempcname |
15247 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15248 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15248 | 15249 |
15249 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15250 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15250 echo "configure:15251: checking for $dbfunc in -ldb" >&5 | 15251 echo "configure:15252: checking for $dbfunc in -ldb" >&5 |
15251 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15252 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15252 | 15253 |
15253 xe_check_libs=" -ldb " | 15254 xe_check_libs=" -ldb " |
15254 cat > conftest.$ac_ext <<EOF | 15255 cat > conftest.$ac_ext <<EOF |
15255 #line 15256 "configure" | 15256 #line 15257 "configure" |
15256 #include "confdefs.h" | 15257 #include "confdefs.h" |
15257 /* Override any gcc2 internal prototype to avoid an error. */ | 15258 /* Override any gcc2 internal prototype to avoid an error. */ |
15258 /* We use char because int might match the return type of a gcc2 | 15259 /* We use char because int might match the return type of a gcc2 |
15259 builtin and then its argument prototype would still apply. */ | 15260 builtin and then its argument prototype would still apply. */ |
15260 char $dbfunc(); | 15261 char $dbfunc(); |
15261 | 15262 |
15262 int main() { | 15263 int main() { |
15263 $dbfunc() | 15264 $dbfunc() |
15264 ; return 0; } | 15265 ; return 0; } |
15265 EOF | 15266 EOF |
15266 if { (eval echo configure:15267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15267 if { (eval echo configure:15268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15267 rm -rf conftest* | 15268 rm -rf conftest* |
15268 eval "ac_cv_lib_$ac_lib_var=yes" | 15269 eval "ac_cv_lib_$ac_lib_var=yes" |
15269 else | 15270 else |
15270 echo "configure: failed program was:" >&5 | 15271 echo "configure: failed program was:" >&5 |
15271 cat conftest.$ac_ext >&5 | 15272 cat conftest.$ac_ext >&5 |
15320 fi | 15321 fi |
15321 | 15322 |
15322 if test "$with_socks" = "yes"; then | 15323 if test "$with_socks" = "yes"; then |
15323 | 15324 |
15324 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15325 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15325 echo "configure:15326: checking for SOCKSinit in -lsocks" >&5 | 15326 echo "configure:15327: checking for SOCKSinit in -lsocks" >&5 |
15326 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15327 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15327 | 15328 |
15328 xe_check_libs=" -lsocks " | 15329 xe_check_libs=" -lsocks " |
15329 cat > conftest.$ac_ext <<EOF | 15330 cat > conftest.$ac_ext <<EOF |
15330 #line 15331 "configure" | 15331 #line 15332 "configure" |
15331 #include "confdefs.h" | 15332 #include "confdefs.h" |
15332 /* Override any gcc2 internal prototype to avoid an error. */ | 15333 /* Override any gcc2 internal prototype to avoid an error. */ |
15333 /* We use char because int might match the return type of a gcc2 | 15334 /* We use char because int might match the return type of a gcc2 |
15334 builtin and then its argument prototype would still apply. */ | 15335 builtin and then its argument prototype would still apply. */ |
15335 char SOCKSinit(); | 15336 char SOCKSinit(); |
15336 | 15337 |
15337 int main() { | 15338 int main() { |
15338 SOCKSinit() | 15339 SOCKSinit() |
15339 ; return 0; } | 15340 ; return 0; } |
15340 EOF | 15341 EOF |
15341 if { (eval echo configure:15342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15342 rm -rf conftest* | 15343 rm -rf conftest* |
15343 eval "ac_cv_lib_$ac_lib_var=yes" | 15344 eval "ac_cv_lib_$ac_lib_var=yes" |
15344 else | 15345 else |
15345 echo "configure: failed program was:" >&5 | 15346 echo "configure: failed program was:" >&5 |
15346 cat conftest.$ac_ext >&5 | 15347 cat conftest.$ac_ext >&5 |
15390 | 15391 |
15391 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15392 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15392 fi | 15393 fi |
15393 | 15394 |
15394 cat > conftest.$ac_ext <<EOF | 15395 cat > conftest.$ac_ext <<EOF |
15395 #line 15396 "configure" | 15396 #line 15397 "configure" |
15396 #include "confdefs.h" | 15397 #include "confdefs.h" |
15397 int main(int c,char *v[]){return 0;} | 15398 int main(int c,char *v[]){return 0;} |
15398 EOF | 15399 EOF |
15399 if { (eval echo configure:15400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15400 if { (eval echo configure:15401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15400 then | 15401 then |
15401 : | 15402 : |
15402 else | 15403 else |
15403 conftest_rc="$?" | 15404 conftest_rc="$?" |
15404 echo "configure: failed program was:" >&5 | 15405 echo "configure: failed program was:" >&5 |