comparison configure @ 2315:e219f63b9c24

[xemacs-hg @ 2004-09-29 15:38:30 by james] Turn of -Wunused-parameter for g++.
author james
date Wed, 29 Sep 2004 15:38:32 +0000
parents e2fdc9035c5b
children 162083ea139d
comparison
equal deleted inserted replaced
2314:6f40f4d352b6 2315:e219f63b9c24
2929 elif test "$GCC" = "yes"; then 2929 elif test "$GCC" = "yes"; then
2930 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes" 2930 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes"
2931 2931
2932 cflags_warning="$cflags_warning -Wsign-compare" 2932 cflags_warning="$cflags_warning -Wsign-compare"
2933 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" 2933 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes"
2934 if test "$__GCC3" = "yes"; then 2934 test "$__GCC3" = "yes" && cflags_warning="$cflags_warning -Wpacked"
2935 cflags_warning="$cflags_warning -Wpacked -Wunused-parameter -Wunused-variable"
2936 fi
2937 test "$have_glibc" != "yes" && \ 2935 test "$have_glibc" != "yes" && \
2938 cflags_warning="$cflags_warning -Wpointer-arith" 2936 cflags_warning="$cflags_warning -Wpointer-arith"
2939 test "$xemacs_compiler" = "g++" && \ 2937 if test "$xemacs_compiler" = "g++"; then
2940 xe_cflags_warning="$cflags_warning -Weffc++" 2938 xe_cflags_warning="$cflags_warning -Weffc++"
2939 elif test "$__GCC3" = "yes"; then
2940 xe_cflags_warning="$cflags_warning -Wunused-parameter"
2941 fi
2941 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations" 2942 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations"
2942 elif test "$__ICC" = "yes"; then 2943 elif test "$__ICC" = "yes"; then
2943 cflags_warning="-Wall -w1 -we147" 2944 cflags_warning="-Wall -w1 -we147"
2944 fi 2945 fi
2945 fi 2946 fi
2946 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning" 2947 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning"
2947 echo "$ac_t""${xe_cflags_warning}" 1>&6 2948 echo "$ac_t""${xe_cflags_warning}" 1>&6
2948 2949
2949 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6 2950 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6
2950 echo "configure:2951: checking for preferred warning flags for CC" >&5 2951 echo "configure:2952: checking for preferred warning flags for CC" >&5
2951 echo "$ac_t""${cflags_warning}" 1>&6 2952 echo "$ac_t""${cflags_warning}" 1>&6
2952 2953
2953 XE_CFLAGS="$xe_cflags_warning $CFLAGS" 2954 XE_CFLAGS="$xe_cflags_warning $CFLAGS"
2954 CFLAGS="$cflags_warning $CFLAGS" 2955 CFLAGS="$cflags_warning $CFLAGS"
2955 2956
2956 if test "$GCC" = "yes"; then 2957 if test "$GCC" = "yes"; then
2957 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 2958 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6
2958 echo "configure:2959: checking for buggy gcc versions" >&5 2959 echo "configure:2960: checking for buggy gcc versions" >&5
2959 GCC_VERSION=`$CC --version` 2960 GCC_VERSION=`$CC --version`
2960 case `uname -s`:`uname -m`:$GCC_VERSION in 2961 case `uname -s`:`uname -m`:$GCC_VERSION in
2961 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) 2962 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*)
2962 case "$CFLAGS" in 2963 case "$CFLAGS" in
2963 *-O2*|*-O3*) 2964 *-O2*|*-O3*)
3011 echo "$ac_t""no" 1>&6 3012 echo "$ac_t""no" 1>&6
3012 fi 3013 fi
3013 3014
3014 if test "$pdump" != "yes"; then 3015 if test "$pdump" != "yes"; then
3015 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 3016 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
3016 echo "configure:3017: checking for \"-z nocombreloc\" linker flag" >&5 3017 echo "configure:3018: checking for \"-z nocombreloc\" linker flag" >&5
3017 case "`ld --help 2>&1`" in 3018 case "`ld --help 2>&1`" in
3018 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 3019 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
3019 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; 3020 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;;
3020 *) echo "$ac_t""no" 1>&6 ;; 3021 *) echo "$ac_t""no" 1>&6 ;;
3021 esac 3022 esac
3100 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then 3101 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then
3101 echo " xemacs will be linked with \"dumper.o\"" 3102 echo " xemacs will be linked with \"dumper.o\""
3102 fi 3103 fi
3103 3104
3104 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 3105 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
3105 echo "configure:3106: checking for dynodump" >&5 3106 echo "configure:3107: checking for dynodump" >&5
3106 if test "$unexec" != "unexsol2.o"; then 3107 if test "$unexec" != "unexsol2.o"; then
3107 echo "$ac_t""no" 1>&6 3108 echo "$ac_t""no" 1>&6
3108 else 3109 else
3109 echo "$ac_t""yes" 1>&6 3110 echo "$ac_t""yes" 1>&6
3110 { test "$extra_verbose" = "yes" && cat << \EOF 3111 { test "$extra_verbose" = "yes" && cat << \EOF
3137 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do 3138 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
3138 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi 3139 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
3139 done 3140 done
3140 3141
3141 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 3142 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6
3142 echo "configure:3143: checking for terminateAndUnload in -lC" >&5 3143 echo "configure:3144: checking for terminateAndUnload in -lC" >&5
3143 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 3144 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
3144 3145
3145 xe_check_libs=" -lC " 3146 xe_check_libs=" -lC "
3146 cat > conftest.$ac_ext <<EOF 3147 cat > conftest.$ac_ext <<EOF
3147 #line 3148 "configure" 3148 #line 3149 "configure"
3148 #include "confdefs.h" 3149 #include "confdefs.h"
3149 /* Override any gcc2 internal prototype to avoid an error. */ 3150 /* Override any gcc2 internal prototype to avoid an error. */
3150 /* We use char because int might match the return type of a gcc2 3151 /* We use char because int might match the return type of a gcc2
3151 builtin and then its argument prototype would still apply. */ 3152 builtin and then its argument prototype would still apply. */
3152 char terminateAndUnload(); 3153 char terminateAndUnload();
3153 3154
3154 int main() { 3155 int main() {
3155 terminateAndUnload() 3156 terminateAndUnload()
3156 ; return 0; } 3157 ; return 0; }
3157 EOF 3158 EOF
3158 if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3159 if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3159 rm -rf conftest* 3160 rm -rf conftest*
3160 eval "ac_cv_lib_$ac_lib_var=yes" 3161 eval "ac_cv_lib_$ac_lib_var=yes"
3161 else 3162 else
3162 echo "configure: failed program was:" >&5 3163 echo "configure: failed program was:" >&5
3163 cat conftest.$ac_ext >&5 3164 cat conftest.$ac_ext >&5
3195 compiler_version="" 3196 compiler_version=""
3196 gcc_compiler_specs="" 3197 gcc_compiler_specs=""
3197 libc_version="" 3198 libc_version=""
3198 3199
3199 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 3200 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6
3200 echo "configure:3201: checking for compiler version information" >&5 3201 echo "configure:3202: checking for compiler version information" >&5
3201 3202
3202 if test "$GCC" = "yes"; then 3203 if test "$GCC" = "yes"; then
3203 compiler_version=`$XEMACS_CC --version | head -1` 3204 compiler_version=`$XEMACS_CC --version | head -1`
3204 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` 3205 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1`
3205 else case "$XEMACS_CC" in 3206 else case "$XEMACS_CC" in
3246 if test -z "$compiler_version"; then 3247 if test -z "$compiler_version"; then
3247 compiler_version="detection failed (please report this)" 3248 compiler_version="detection failed (please report this)"
3248 fi 3249 fi
3249 3250
3250 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 3251 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6
3251 echo "configure:3252: checking for standard C library version information" >&5 3252 echo "configure:3253: checking for standard C library version information" >&5
3252 3253
3253 case "$canonical" in 3254 case "$canonical" in
3254 *-*-linux*) 3255 *-*-linux*)
3255 if test -f /etc/redhat-release ; then 3256 if test -f /etc/redhat-release ; then
3256 libc_version=`rpm -q glibc` 3257 libc_version=`rpm -q glibc`
3358 esac 3359 esac
3359 fi 3360 fi
3360 3361
3361 if test "$add_runtime_path" = "yes"; then 3362 if test "$add_runtime_path" = "yes"; then
3362 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 3363 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
3363 echo "configure:3364: checking "for runtime libraries flag"" >&5 3364 echo "configure:3365: checking "for runtime libraries flag"" >&5
3364 case "$opsys" in 3365 case "$opsys" in
3365 sol2 ) dash_r="-R" ;; 3366 sol2 ) dash_r="-R" ;;
3366 decosf* | linux* | irix*) dash_r="-rpath " ;; 3367 decosf* | linux* | irix*) dash_r="-rpath " ;;
3367 *) 3368 *)
3368 dash_r="" 3369 dash_r=""
3380 esac 3381 esac
3381 shift 3382 shift
3382 done 3383 done
3383 fi 3384 fi
3384 cat > conftest.$ac_ext <<EOF 3385 cat > conftest.$ac_ext <<EOF
3385 #line 3386 "configure" 3386 #line 3387 "configure"
3386 #include "confdefs.h" 3387 #include "confdefs.h"
3387 3388
3388 int main() { 3389 int main() {
3389 3390
3390 ; return 0; } 3391 ; return 0; }
3391 EOF 3392 EOF
3392 if { (eval echo configure:3393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3393 if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3393 rm -rf conftest* 3394 rm -rf conftest*
3394 dash_r="$try_dash_r" 3395 dash_r="$try_dash_r"
3395 else 3396 else
3396 echo "configure: failed program was:" >&5 3397 echo "configure: failed program was:" >&5
3397 cat conftest.$ac_ext >&5 3398 cat conftest.$ac_ext >&5
3488 else 3489 else
3489 doug_lea_malloc=no 3490 doug_lea_malloc=no
3490 fi 3491 fi
3491 after_morecore_hook_exists=yes 3492 after_morecore_hook_exists=yes
3492 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3493 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3493 echo "configure:3494: checking for malloc_set_state" >&5 3494 echo "configure:3495: checking for malloc_set_state" >&5
3494 3495
3495 cat > conftest.$ac_ext <<EOF 3496 cat > conftest.$ac_ext <<EOF
3496 #line 3497 "configure" 3497 #line 3498 "configure"
3497 #include "confdefs.h" 3498 #include "confdefs.h"
3498 /* System header to define __stub macros and hopefully few prototypes, 3499 /* System header to define __stub macros and hopefully few prototypes,
3499 which can conflict with char malloc_set_state(); below. */ 3500 which can conflict with char malloc_set_state(); below. */
3500 #include <assert.h> 3501 #include <assert.h>
3501 /* Override any gcc2 internal prototype to avoid an error. */ 3502 /* Override any gcc2 internal prototype to avoid an error. */
3514 malloc_set_state(); 3515 malloc_set_state();
3515 #endif 3516 #endif
3516 3517
3517 ; return 0; } 3518 ; return 0; }
3518 EOF 3519 EOF
3519 if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3520 if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3520 rm -rf conftest* 3521 rm -rf conftest*
3521 eval "ac_cv_func_malloc_set_state=yes" 3522 eval "ac_cv_func_malloc_set_state=yes"
3522 else 3523 else
3523 echo "configure: failed program was:" >&5 3524 echo "configure: failed program was:" >&5
3524 cat conftest.$ac_ext >&5 3525 cat conftest.$ac_ext >&5
3534 echo "$ac_t""no" 1>&6 3535 echo "$ac_t""no" 1>&6
3535 doug_lea_malloc=no 3536 doug_lea_malloc=no
3536 fi 3537 fi
3537 3538
3538 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3539 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3539 echo "configure:3540: checking whether __after_morecore_hook exists" >&5 3540 echo "configure:3541: checking whether __after_morecore_hook exists" >&5
3540 cat > conftest.$ac_ext <<EOF 3541 cat > conftest.$ac_ext <<EOF
3541 #line 3542 "configure" 3542 #line 3543 "configure"
3542 #include "confdefs.h" 3543 #include "confdefs.h"
3543 extern void (* __after_morecore_hook)(); 3544 extern void (* __after_morecore_hook)();
3544 int main() { 3545 int main() {
3545 __after_morecore_hook = 0 3546 __after_morecore_hook = 0
3546 ; return 0; } 3547 ; return 0; }
3547 EOF 3548 EOF
3548 if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3549 if { (eval echo configure:3550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3549 rm -rf conftest* 3550 rm -rf conftest*
3550 echo "$ac_t""yes" 1>&6 3551 echo "$ac_t""yes" 1>&6
3551 else 3552 else
3552 echo "configure: failed program was:" >&5 3553 echo "configure: failed program was:" >&5
3553 cat conftest.$ac_ext >&5 3554 cat conftest.$ac_ext >&5
3599 3600
3600 3601
3601 # Extract the first word of "ranlib", so it can be a program name with args. 3602 # Extract the first word of "ranlib", so it can be a program name with args.
3602 set dummy ranlib; ac_word=$2 3603 set dummy ranlib; ac_word=$2
3603 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3604 echo "configure:3605: checking for $ac_word" >&5 3605 echo "configure:3606: checking for $ac_word" >&5
3605 3606
3606 if test -n "$RANLIB"; then 3607 if test -n "$RANLIB"; then
3607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3608 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3608 else 3609 else
3609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3654 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3656 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3657 # ./install, which can be erroneously created by make from ./install.sh. 3658 # ./install, which can be erroneously created by make from ./install.sh.
3658 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 3659 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3659 echo "configure:3660: checking for a BSD compatible install" >&5 3660 echo "configure:3661: checking for a BSD compatible install" >&5
3660 if test -z "$INSTALL"; then 3661 if test -z "$INSTALL"; then
3661 3662
3662 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3663 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3663 for ac_dir in $PATH; do 3664 for ac_dir in $PATH; do
3664 # Account for people who put trailing slashes in PATH elements. 3665 # Account for people who put trailing slashes in PATH elements.
3708 for ac_prog in 'bison -y' byacc 3709 for ac_prog in 'bison -y' byacc
3709 do 3710 do
3710 # Extract the first word of "$ac_prog", so it can be a program name with args. 3711 # Extract the first word of "$ac_prog", so it can be a program name with args.
3711 set dummy $ac_prog; ac_word=$2 3712 set dummy $ac_prog; ac_word=$2
3712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3713 echo "configure:3714: checking for $ac_word" >&5 3714 echo "configure:3715: checking for $ac_word" >&5
3714 3715
3715 if test -n "$YACC"; then 3716 if test -n "$YACC"; then
3716 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3717 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3717 else 3718 else
3718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3740 3741
3741 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/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h 3742 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/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h
3742 do 3743 do
3743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3744 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3745 echo "configure:3746: checking for $ac_hdr" >&5 3746 echo "configure:3747: checking for $ac_hdr" >&5
3746 3747
3747 cat > conftest.$ac_ext <<EOF 3748 cat > conftest.$ac_ext <<EOF
3748 #line 3749 "configure" 3749 #line 3750 "configure"
3749 #include "confdefs.h" 3750 #include "confdefs.h"
3750 #include <$ac_hdr> 3751 #include <$ac_hdr>
3751 EOF 3752 EOF
3752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3753 { (eval echo configure:3754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3754 { (eval echo configure:3755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3755 if test -z "$ac_err"; then 3756 if test -z "$ac_err"; then
3756 rm -rf conftest* 3757 rm -rf conftest*
3757 eval "ac_cv_header_$ac_safe=yes" 3758 eval "ac_cv_header_$ac_safe=yes"
3758 else 3759 else
3778 echo "$ac_t""no" 1>&6 3779 echo "$ac_t""no" 1>&6
3779 fi 3780 fi
3780 done 3781 done
3781 3782
3782 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 3783 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
3783 echo "configure:3784: checking for sys/wait.h that is POSIX.1 compatible" >&5 3784 echo "configure:3785: checking for sys/wait.h that is POSIX.1 compatible" >&5
3784 3785
3785 cat > conftest.$ac_ext <<EOF 3786 cat > conftest.$ac_ext <<EOF
3786 #line 3787 "configure" 3787 #line 3788 "configure"
3787 #include "confdefs.h" 3788 #include "confdefs.h"
3788 #include <sys/types.h> 3789 #include <sys/types.h>
3789 #include <sys/wait.h> 3790 #include <sys/wait.h>
3790 #ifndef WEXITSTATUS 3791 #ifndef WEXITSTATUS
3791 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3792 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3797 int s; 3798 int s;
3798 wait (&s); 3799 wait (&s);
3799 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3800 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3800 ; return 0; } 3801 ; return 0; }
3801 EOF 3802 EOF
3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3803 rm -rf conftest* 3804 rm -rf conftest*
3804 ac_cv_header_sys_wait_h=yes 3805 ac_cv_header_sys_wait_h=yes
3805 else 3806 else
3806 echo "configure: failed program was:" >&5 3807 echo "configure: failed program was:" >&5
3807 cat conftest.$ac_ext >&5 3808 cat conftest.$ac_ext >&5
3821 } 3822 }
3822 3823
3823 fi 3824 fi
3824 3825
3825 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3826 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3826 echo "configure:3827: checking for ANSI C header files" >&5 3827 echo "configure:3828: checking for ANSI C header files" >&5
3827 3828
3828 cat > conftest.$ac_ext <<EOF 3829 cat > conftest.$ac_ext <<EOF
3829 #line 3830 "configure" 3830 #line 3831 "configure"
3830 #include "confdefs.h" 3831 #include "confdefs.h"
3831 #include <stdlib.h> 3832 #include <stdlib.h>
3832 #include <stdarg.h> 3833 #include <stdarg.h>
3833 #include <string.h> 3834 #include <string.h>
3834 #include <float.h> 3835 #include <float.h>
3835 EOF 3836 EOF
3836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3837 { (eval echo configure:3838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3838 { (eval echo configure:3839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3839 if test -z "$ac_err"; then 3840 if test -z "$ac_err"; then
3840 rm -rf conftest* 3841 rm -rf conftest*
3841 ac_cv_header_stdc=yes 3842 ac_cv_header_stdc=yes
3842 else 3843 else
3849 rm -f conftest* 3850 rm -f conftest*
3850 3851
3851 if test $ac_cv_header_stdc = yes; then 3852 if test $ac_cv_header_stdc = yes; then
3852 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3853 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3853 cat > conftest.$ac_ext <<EOF 3854 cat > conftest.$ac_ext <<EOF
3854 #line 3855 "configure" 3855 #line 3856 "configure"
3855 #include "confdefs.h" 3856 #include "confdefs.h"
3856 #include <string.h> 3857 #include <string.h>
3857 EOF 3858 EOF
3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3859 egrep "memchr" >/dev/null 2>&1; then 3860 egrep "memchr" >/dev/null 2>&1; then
3867 fi 3868 fi
3868 3869
3869 if test $ac_cv_header_stdc = yes; then 3870 if test $ac_cv_header_stdc = yes; then
3870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3871 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3871 cat > conftest.$ac_ext <<EOF 3872 cat > conftest.$ac_ext <<EOF
3872 #line 3873 "configure" 3873 #line 3874 "configure"
3873 #include "confdefs.h" 3874 #include "confdefs.h"
3874 #include <stdlib.h> 3875 #include <stdlib.h>
3875 EOF 3876 EOF
3876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3877 egrep "free" >/dev/null 2>&1; then 3878 egrep "free" >/dev/null 2>&1; then
3885 fi 3886 fi
3886 3887
3887 if test $ac_cv_header_stdc = yes; then 3888 if test $ac_cv_header_stdc = yes; then
3888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3889 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3889 cat > conftest.$ac_ext <<EOF 3890 cat > conftest.$ac_ext <<EOF
3890 #line 3891 "configure" 3891 #line 3892 "configure"
3891 #include "confdefs.h" 3892 #include "confdefs.h"
3892 #include <ctype.h> 3893 #include <ctype.h>
3893 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3894 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3894 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3895 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3896 int main () { int i; for (i = 0; i < 256; i++) 3897 int main () { int i; for (i = 0; i < 256; i++)
3897 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3898 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3898 exit (0); } 3899 exit (0); }
3899 3900
3900 EOF 3901 EOF
3901 if { (eval echo configure:3902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3902 if { (eval echo configure:3903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3902 then 3903 then
3903 : 3904 :
3904 else 3905 else
3905 conftest_rc="$?" 3906 conftest_rc="$?"
3906 echo "configure: failed program was:" >&5 3907 echo "configure: failed program was:" >&5
3922 } 3923 }
3923 3924
3924 fi 3925 fi
3925 3926
3926 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3927 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3927 echo "configure:3928: checking whether time.h and sys/time.h may both be included" >&5 3928 echo "configure:3929: checking whether time.h and sys/time.h may both be included" >&5
3928 3929
3929 cat > conftest.$ac_ext <<EOF 3930 cat > conftest.$ac_ext <<EOF
3930 #line 3931 "configure" 3931 #line 3932 "configure"
3931 #include "confdefs.h" 3932 #include "confdefs.h"
3932 #include <sys/types.h> 3933 #include <sys/types.h>
3933 #include <sys/time.h> 3934 #include <sys/time.h>
3934 #include <time.h> 3935 #include <time.h>
3935 int main() { 3936 int main() {
3936 struct tm *tp; 3937 struct tm *tp;
3937 ; return 0; } 3938 ; return 0; }
3938 EOF 3939 EOF
3939 if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3940 if { (eval echo configure:3941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3940 rm -rf conftest* 3941 rm -rf conftest*
3941 ac_cv_header_time=yes 3942 ac_cv_header_time=yes
3942 else 3943 else
3943 echo "configure: failed program was:" >&5 3944 echo "configure: failed program was:" >&5
3944 cat conftest.$ac_ext >&5 3945 cat conftest.$ac_ext >&5
3958 } 3959 }
3959 3960
3960 fi 3961 fi
3961 3962
3962 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 3963 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
3963 echo "configure:3964: checking for sys_siglist declaration in signal.h or unistd.h" >&5 3964 echo "configure:3965: checking for sys_siglist declaration in signal.h or unistd.h" >&5
3964 3965
3965 cat > conftest.$ac_ext <<EOF 3966 cat > conftest.$ac_ext <<EOF
3966 #line 3967 "configure" 3967 #line 3968 "configure"
3967 #include "confdefs.h" 3968 #include "confdefs.h"
3968 #include <sys/types.h> 3969 #include <sys/types.h>
3969 #include <signal.h> 3970 #include <signal.h>
3970 /* NetBSD declares sys_siglist in unistd.h. */ 3971 /* NetBSD declares sys_siglist in unistd.h. */
3971 #ifdef HAVE_UNISTD_H 3972 #ifdef HAVE_UNISTD_H
3973 #endif 3974 #endif
3974 int main() { 3975 int main() {
3975 char *msg = *(sys_siglist + 1); 3976 char *msg = *(sys_siglist + 1);
3976 ; return 0; } 3977 ; return 0; }
3977 EOF 3978 EOF
3978 if { (eval echo configure:3979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3979 if { (eval echo configure:3980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3979 rm -rf conftest* 3980 rm -rf conftest*
3980 ac_cv_decl_sys_siglist=yes 3981 ac_cv_decl_sys_siglist=yes
3981 else 3982 else
3982 echo "configure: failed program was:" >&5 3983 echo "configure: failed program was:" >&5
3983 cat conftest.$ac_ext >&5 3984 cat conftest.$ac_ext >&5
3999 fi 4000 fi
4000 4001
4001 4002
4002 4003
4003 echo $ac_n "checking for utime""... $ac_c" 1>&6 4004 echo $ac_n "checking for utime""... $ac_c" 1>&6
4004 echo "configure:4005: checking for utime" >&5 4005 echo "configure:4006: checking for utime" >&5
4005 cat > conftest.$ac_ext <<EOF 4006 cat > conftest.$ac_ext <<EOF
4006 #line 4007 "configure" 4007 #line 4008 "configure"
4007 #include "confdefs.h" 4008 #include "confdefs.h"
4008 #include <sys/types.h> 4009 #include <sys/types.h>
4009 #include <utime.h> 4010 #include <utime.h>
4010 int main() { 4011 int main() {
4011 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); 4012 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);
4012 ; return 0; } 4013 ; return 0; }
4013 EOF 4014 EOF
4014 if { (eval echo configure:4015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4015 if { (eval echo configure:4016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4015 rm -rf conftest* 4016 rm -rf conftest*
4016 echo "$ac_t""yes" 1>&6 4017 echo "$ac_t""yes" 1>&6
4017 { test "$extra_verbose" = "yes" && cat << \EOF 4018 { test "$extra_verbose" = "yes" && cat << \EOF
4018 Defining HAVE_UTIME 4019 Defining HAVE_UTIME
4019 EOF 4020 EOF
4028 rm -rf conftest* 4029 rm -rf conftest*
4029 echo "$ac_t""no" 1>&6 4030 echo "$ac_t""no" 1>&6
4030 for ac_func in utimes 4031 for ac_func in utimes
4031 do 4032 do
4032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4033 echo "configure:4034: checking for $ac_func" >&5 4034 echo "configure:4035: checking for $ac_func" >&5
4034 4035
4035 cat > conftest.$ac_ext <<EOF 4036 cat > conftest.$ac_ext <<EOF
4036 #line 4037 "configure" 4037 #line 4038 "configure"
4037 #include "confdefs.h" 4038 #include "confdefs.h"
4038 /* System header to define __stub macros and hopefully few prototypes, 4039 /* System header to define __stub macros and hopefully few prototypes,
4039 which can conflict with char $ac_func(); below. */ 4040 which can conflict with char $ac_func(); below. */
4040 #include <assert.h> 4041 #include <assert.h>
4041 /* Override any gcc2 internal prototype to avoid an error. */ 4042 /* Override any gcc2 internal prototype to avoid an error. */
4054 $ac_func(); 4055 $ac_func();
4055 #endif 4056 #endif
4056 4057
4057 ; return 0; } 4058 ; return 0; }
4058 EOF 4059 EOF
4059 if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4060 if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4060 rm -rf conftest* 4061 rm -rf conftest*
4061 eval "ac_cv_func_$ac_func=yes" 4062 eval "ac_cv_func_$ac_func=yes"
4062 else 4063 else
4063 echo "configure: failed program was:" >&5 4064 echo "configure: failed program was:" >&5
4064 cat conftest.$ac_ext >&5 4065 cat conftest.$ac_ext >&5
4086 fi 4087 fi
4087 rm -f conftest* 4088 rm -f conftest*
4088 4089
4089 4090
4090 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 4091 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
4091 echo "configure:4092: checking return type of signal handlers" >&5 4092 echo "configure:4093: checking return type of signal handlers" >&5
4092 4093
4093 cat > conftest.$ac_ext <<EOF 4094 cat > conftest.$ac_ext <<EOF
4094 #line 4095 "configure" 4095 #line 4096 "configure"
4095 #include "confdefs.h" 4096 #include "confdefs.h"
4096 #include <sys/types.h> 4097 #include <sys/types.h>
4097 #include <signal.h> 4098 #include <signal.h>
4098 #ifdef signal 4099 #ifdef signal
4099 #undef signal 4100 #undef signal
4106 4107
4107 int main() { 4108 int main() {
4108 int i; 4109 int i;
4109 ; return 0; } 4110 ; return 0; }
4110 EOF 4111 EOF
4111 if { (eval echo configure:4112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4112 if { (eval echo configure:4113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4112 rm -rf conftest* 4113 rm -rf conftest*
4113 ac_cv_type_signal=void 4114 ac_cv_type_signal=void
4114 else 4115 else
4115 echo "configure: failed program was:" >&5 4116 echo "configure: failed program was:" >&5
4116 cat conftest.$ac_ext >&5 4117 cat conftest.$ac_ext >&5
4128 EOF 4129 EOF
4129 } 4130 }
4130 4131
4131 4132
4132 echo $ac_n "checking for size_t""... $ac_c" 1>&6 4133 echo $ac_n "checking for size_t""... $ac_c" 1>&6
4133 echo "configure:4134: checking for size_t" >&5 4134 echo "configure:4135: checking for size_t" >&5
4134 4135
4135 cat > conftest.$ac_ext <<EOF 4136 cat > conftest.$ac_ext <<EOF
4136 #line 4137 "configure" 4137 #line 4138 "configure"
4137 #include "confdefs.h" 4138 #include "confdefs.h"
4138 #include <sys/types.h> 4139 #include <sys/types.h>
4139 #if STDC_HEADERS 4140 #if STDC_HEADERS
4140 #include <stdlib.h> 4141 #include <stdlib.h>
4141 #include <stddef.h> 4142 #include <stddef.h>
4162 } 4163 }
4163 4164
4164 fi 4165 fi
4165 4166
4166 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 4167 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
4167 echo "configure:4168: checking for pid_t" >&5 4168 echo "configure:4169: checking for pid_t" >&5
4168 4169
4169 cat > conftest.$ac_ext <<EOF 4170 cat > conftest.$ac_ext <<EOF
4170 #line 4171 "configure" 4171 #line 4172 "configure"
4171 #include "confdefs.h" 4172 #include "confdefs.h"
4172 #include <sys/types.h> 4173 #include <sys/types.h>
4173 #if STDC_HEADERS 4174 #if STDC_HEADERS
4174 #include <stdlib.h> 4175 #include <stdlib.h>
4175 #include <stddef.h> 4176 #include <stddef.h>
4196 } 4197 }
4197 4198
4198 fi 4199 fi
4199 4200
4200 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 4201 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
4201 echo "configure:4202: checking for uid_t in sys/types.h" >&5 4202 echo "configure:4203: checking for uid_t in sys/types.h" >&5
4202 4203
4203 cat > conftest.$ac_ext <<EOF 4204 cat > conftest.$ac_ext <<EOF
4204 #line 4205 "configure" 4205 #line 4206 "configure"
4205 #include "confdefs.h" 4206 #include "confdefs.h"
4206 #include <sys/types.h> 4207 #include <sys/types.h>
4207 EOF 4208 EOF
4208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4209 egrep "uid_t" >/dev/null 2>&1; then 4210 egrep "uid_t" >/dev/null 2>&1; then
4235 } 4236 }
4236 4237
4237 fi 4238 fi
4238 4239
4239 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 4240 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
4240 echo "configure:4241: checking for mode_t" >&5 4241 echo "configure:4242: checking for mode_t" >&5
4241 4242
4242 cat > conftest.$ac_ext <<EOF 4243 cat > conftest.$ac_ext <<EOF
4243 #line 4244 "configure" 4244 #line 4245 "configure"
4244 #include "confdefs.h" 4245 #include "confdefs.h"
4245 #include <sys/types.h> 4246 #include <sys/types.h>
4246 #if STDC_HEADERS 4247 #if STDC_HEADERS
4247 #include <stdlib.h> 4248 #include <stdlib.h>
4248 #include <stddef.h> 4249 #include <stddef.h>
4269 } 4270 }
4270 4271
4271 fi 4272 fi
4272 4273
4273 echo $ac_n "checking for off_t""... $ac_c" 1>&6 4274 echo $ac_n "checking for off_t""... $ac_c" 1>&6
4274 echo "configure:4275: checking for off_t" >&5 4275 echo "configure:4276: checking for off_t" >&5
4275 4276
4276 cat > conftest.$ac_ext <<EOF 4277 cat > conftest.$ac_ext <<EOF
4277 #line 4278 "configure" 4278 #line 4279 "configure"
4278 #include "confdefs.h" 4279 #include "confdefs.h"
4279 #include <sys/types.h> 4280 #include <sys/types.h>
4280 #if STDC_HEADERS 4281 #if STDC_HEADERS
4281 #include <stdlib.h> 4282 #include <stdlib.h>
4282 #include <stddef.h> 4283 #include <stddef.h>
4303 } 4304 }
4304 4305
4305 fi 4306 fi
4306 4307
4307 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 4308 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
4308 echo "configure:4309: checking for ssize_t" >&5 4309 echo "configure:4310: checking for ssize_t" >&5
4309 4310
4310 cat > conftest.$ac_ext <<EOF 4311 cat > conftest.$ac_ext <<EOF
4311 #line 4312 "configure" 4312 #line 4313 "configure"
4312 #include "confdefs.h" 4313 #include "confdefs.h"
4313 #include <sys/types.h> 4314 #include <sys/types.h>
4314 #if STDC_HEADERS 4315 #if STDC_HEADERS
4315 #include <stdlib.h> 4316 #include <stdlib.h>
4316 #include <stddef.h> 4317 #include <stddef.h>
4339 fi 4340 fi
4340 4341
4341 4342
4342 if test "$ac_cv_header_inttypes_h" != "yes"; then 4343 if test "$ac_cv_header_inttypes_h" != "yes"; then
4343 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 4344 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6
4344 echo "configure:4345: checking for intptr_t in sys/types.h" >&5 4345 echo "configure:4346: checking for intptr_t in sys/types.h" >&5
4345 cat > conftest.$ac_ext <<EOF 4346 cat > conftest.$ac_ext <<EOF
4346 #line 4347 "configure" 4347 #line 4348 "configure"
4347 #include "confdefs.h" 4348 #include "confdefs.h"
4348 #include <sys/types.h> 4349 #include <sys/types.h>
4349 intptr_t x; 4350 intptr_t x;
4350 4351
4351 int main() { 4352 int main() {
4352 4353
4353 ; return 0; } 4354 ; return 0; }
4354 EOF 4355 EOF
4355 if { (eval echo configure:4356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4356 if { (eval echo configure:4357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4356 rm -rf conftest* 4357 rm -rf conftest*
4357 echo "$ac_t""yes" 1>&6 4358 echo "$ac_t""yes" 1>&6
4358 { test "$extra_verbose" = "yes" && cat << \EOF 4359 { test "$extra_verbose" = "yes" && cat << \EOF
4359 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 4360 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1
4360 EOF 4361 EOF
4371 fi 4372 fi
4372 rm -f conftest* 4373 rm -f conftest*
4373 fi 4374 fi
4374 4375
4375 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 4376 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
4376 echo "configure:4377: checking for socklen_t" >&5 4377 echo "configure:4378: checking for socklen_t" >&5
4377 cat > conftest.$ac_ext <<EOF 4378 cat > conftest.$ac_ext <<EOF
4378 #line 4379 "configure" 4379 #line 4380 "configure"
4379 #include "confdefs.h" 4380 #include "confdefs.h"
4380 #include <sys/types.h> 4381 #include <sys/types.h>
4381 #include <sys/socket.h> 4382 #include <sys/socket.h>
4382 socklen_t x; 4383 socklen_t x;
4383 4384
4384 int main() { 4385 int main() {
4385 4386
4386 ; return 0; } 4387 ; return 0; }
4387 EOF 4388 EOF
4388 if { (eval echo configure:4389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4389 if { (eval echo configure:4390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4389 rm -rf conftest* 4390 rm -rf conftest*
4390 echo "$ac_t""yes" 1>&6 4391 echo "$ac_t""yes" 1>&6
4391 else 4392 else
4392 echo "configure: failed program was:" >&5 4393 echo "configure: failed program was:" >&5
4393 cat conftest.$ac_ext >&5 4394 cat conftest.$ac_ext >&5
4394 rm -rf conftest* 4395 rm -rf conftest*
4395 4396
4396 cat > conftest.$ac_ext <<EOF 4397 cat > conftest.$ac_ext <<EOF
4397 #line 4398 "configure" 4398 #line 4399 "configure"
4398 #include "confdefs.h" 4399 #include "confdefs.h"
4399 #include <sys/types.h> 4400 #include <sys/types.h>
4400 #include <sys/socket.h> 4401 #include <sys/socket.h>
4401 int accept (int, struct sockaddr *, size_t *); 4402 int accept (int, struct sockaddr *, size_t *);
4402 4403
4403 int main() { 4404 int main() {
4404 4405
4405 ; return 0; } 4406 ; return 0; }
4406 EOF 4407 EOF
4407 if { (eval echo configure:4408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4408 if { (eval echo configure:4409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4408 rm -rf conftest* 4409 rm -rf conftest*
4409 4410
4410 echo "$ac_t""size_t" 1>&6 4411 echo "$ac_t""size_t" 1>&6
4411 { test "$extra_verbose" = "yes" && cat << \EOF 4412 { test "$extra_verbose" = "yes" && cat << \EOF
4412 Defining socklen_t = size_t 4413 Defining socklen_t = size_t
4434 rm -f conftest* 4435 rm -f conftest*
4435 fi 4436 fi
4436 rm -f conftest* 4437 rm -f conftest*
4437 4438
4438 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 4439 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
4439 echo "configure:4440: checking for struct timeval" >&5 4440 echo "configure:4441: checking for struct timeval" >&5
4440 cat > conftest.$ac_ext <<EOF 4441 cat > conftest.$ac_ext <<EOF
4441 #line 4442 "configure" 4442 #line 4443 "configure"
4442 #include "confdefs.h" 4443 #include "confdefs.h"
4443 #ifdef TIME_WITH_SYS_TIME 4444 #ifdef TIME_WITH_SYS_TIME
4444 #include <sys/time.h> 4445 #include <sys/time.h>
4445 #include <time.h> 4446 #include <time.h>
4446 #else 4447 #else
4452 #endif 4453 #endif
4453 int main() { 4454 int main() {
4454 static struct timeval x; x.tv_sec = x.tv_usec; 4455 static struct timeval x; x.tv_sec = x.tv_usec;
4455 ; return 0; } 4456 ; return 0; }
4456 EOF 4457 EOF
4457 if { (eval echo configure:4458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4458 if { (eval echo configure:4459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4458 rm -rf conftest* 4459 rm -rf conftest*
4459 echo "$ac_t""yes" 1>&6 4460 echo "$ac_t""yes" 1>&6
4460 HAVE_TIMEVAL=yes 4461 HAVE_TIMEVAL=yes
4461 { test "$extra_verbose" = "yes" && cat << \EOF 4462 { test "$extra_verbose" = "yes" && cat << \EOF
4462 Defining HAVE_TIMEVAL 4463 Defining HAVE_TIMEVAL
4474 HAVE_TIMEVAL=no 4475 HAVE_TIMEVAL=no
4475 fi 4476 fi
4476 rm -f conftest* 4477 rm -f conftest*
4477 4478
4478 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 4479 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4479 echo "configure:4480: checking whether struct tm is in sys/time.h or time.h" >&5 4480 echo "configure:4481: checking whether struct tm is in sys/time.h or time.h" >&5
4480 4481
4481 cat > conftest.$ac_ext <<EOF 4482 cat > conftest.$ac_ext <<EOF
4482 #line 4483 "configure" 4483 #line 4484 "configure"
4483 #include "confdefs.h" 4484 #include "confdefs.h"
4484 #include <sys/types.h> 4485 #include <sys/types.h>
4485 #include <time.h> 4486 #include <time.h>
4486 int main() { 4487 int main() {
4487 struct tm *tp; tp->tm_sec; 4488 struct tm *tp; tp->tm_sec;
4488 ; return 0; } 4489 ; return 0; }
4489 EOF 4490 EOF
4490 if { (eval echo configure:4491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4491 if { (eval echo configure:4492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4491 rm -rf conftest* 4492 rm -rf conftest*
4492 ac_cv_struct_tm=time.h 4493 ac_cv_struct_tm=time.h
4493 else 4494 else
4494 echo "configure: failed program was:" >&5 4495 echo "configure: failed program was:" >&5
4495 cat conftest.$ac_ext >&5 4496 cat conftest.$ac_ext >&5
4509 } 4510 }
4510 4511
4511 fi 4512 fi
4512 4513
4513 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 4514 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
4514 echo "configure:4515: checking for tm_zone in struct tm" >&5 4515 echo "configure:4516: checking for tm_zone in struct tm" >&5
4515 4516
4516 cat > conftest.$ac_ext <<EOF 4517 cat > conftest.$ac_ext <<EOF
4517 #line 4518 "configure" 4518 #line 4519 "configure"
4518 #include "confdefs.h" 4519 #include "confdefs.h"
4519 #include <sys/types.h> 4520 #include <sys/types.h>
4520 #include <$ac_cv_struct_tm> 4521 #include <$ac_cv_struct_tm>
4521 int main() { 4522 int main() {
4522 struct tm tm; tm.tm_zone; 4523 struct tm tm; tm.tm_zone;
4523 ; return 0; } 4524 ; return 0; }
4524 EOF 4525 EOF
4525 if { (eval echo configure:4526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4526 if { (eval echo configure:4527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4526 rm -rf conftest* 4527 rm -rf conftest*
4527 ac_cv_struct_tm_zone=yes 4528 ac_cv_struct_tm_zone=yes
4528 else 4529 else
4529 echo "configure: failed program was:" >&5 4530 echo "configure: failed program was:" >&5
4530 cat conftest.$ac_ext >&5 4531 cat conftest.$ac_ext >&5
4543 EOF 4544 EOF
4544 } 4545 }
4545 4546
4546 else 4547 else
4547 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4548 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4548 echo "configure:4549: checking for tzname" >&5 4549 echo "configure:4550: checking for tzname" >&5
4549 4550
4550 cat > conftest.$ac_ext <<EOF 4551 cat > conftest.$ac_ext <<EOF
4551 #line 4552 "configure" 4552 #line 4553 "configure"
4552 #include "confdefs.h" 4553 #include "confdefs.h"
4553 #include <time.h> 4554 #include <time.h>
4554 #ifndef tzname /* For SGI. */ 4555 #ifndef tzname /* For SGI. */
4555 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4556 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4556 #endif 4557 #endif
4557 int main() { 4558 int main() {
4558 atoi(*tzname); 4559 atoi(*tzname);
4559 ; return 0; } 4560 ; return 0; }
4560 EOF 4561 EOF
4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4562 rm -rf conftest* 4563 rm -rf conftest*
4563 ac_cv_var_tzname=yes 4564 ac_cv_var_tzname=yes
4564 else 4565 else
4565 echo "configure: failed program was:" >&5 4566 echo "configure: failed program was:" >&5
4566 cat conftest.$ac_ext >&5 4567 cat conftest.$ac_ext >&5
4582 fi 4583 fi
4583 fi 4584 fi
4584 4585
4585 4586
4586 echo $ac_n "checking for working const""... $ac_c" 1>&6 4587 echo $ac_n "checking for working const""... $ac_c" 1>&6
4587 echo "configure:4588: checking for working const" >&5 4588 echo "configure:4589: checking for working const" >&5
4588 4589
4589 cat > conftest.$ac_ext <<EOF 4590 cat > conftest.$ac_ext <<EOF
4590 #line 4591 "configure" 4591 #line 4592 "configure"
4591 #include "confdefs.h" 4592 #include "confdefs.h"
4592 4593
4593 int main() { 4594 int main() {
4594 4595
4595 /* Ultrix mips cc rejects this. */ 4596 /* Ultrix mips cc rejects this. */
4634 const int foo = 10; 4635 const int foo = 10;
4635 } 4636 }
4636 4637
4637 ; return 0; } 4638 ; return 0; }
4638 EOF 4639 EOF
4639 if { (eval echo configure:4640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4640 if { (eval echo configure:4641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4640 rm -rf conftest* 4641 rm -rf conftest*
4641 ac_cv_c_const=yes 4642 ac_cv_c_const=yes
4642 else 4643 else
4643 echo "configure: failed program was:" >&5 4644 echo "configure: failed program was:" >&5
4644 cat conftest.$ac_ext >&5 4645 cat conftest.$ac_ext >&5
4659 4660
4660 fi 4661 fi
4661 4662
4662 4663
4663 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 4664 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
4664 echo "configure:4665: checking whether ${MAKE-make} sets \${MAKE}" >&5 4665 echo "configure:4666: checking whether ${MAKE-make} sets \${MAKE}" >&5
4665 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 4666 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
4666 4667
4667 cat > conftestmake <<\EOF 4668 cat > conftestmake <<\EOF
4668 all: 4669 all:
4669 @echo 'ac_maketemp="${MAKE}"' 4670 @echo 'ac_maketemp="${MAKE}"'
4684 SET_MAKE="MAKE=${MAKE-make}" 4685 SET_MAKE="MAKE=${MAKE-make}"
4685 fi 4686 fi
4686 4687
4687 4688
4688 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 4689 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
4689 echo "configure:4690: checking whether byte ordering is bigendian" >&5 4690 echo "configure:4691: checking whether byte ordering is bigendian" >&5
4690 4691
4691 ac_cv_c_bigendian=unknown 4692 ac_cv_c_bigendian=unknown
4692 # See if sys/param.h defines the BYTE_ORDER macro. 4693 # See if sys/param.h defines the BYTE_ORDER macro.
4693 cat > conftest.$ac_ext <<EOF 4694 cat > conftest.$ac_ext <<EOF
4694 #line 4695 "configure" 4695 #line 4696 "configure"
4695 #include "confdefs.h" 4696 #include "confdefs.h"
4696 #include <sys/types.h> 4697 #include <sys/types.h>
4697 #include <sys/param.h> 4698 #include <sys/param.h>
4698 int main() { 4699 int main() {
4699 4700
4700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 4701 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4701 bogus endian macros 4702 bogus endian macros
4702 #endif 4703 #endif
4703 ; return 0; } 4704 ; return 0; }
4704 EOF 4705 EOF
4705 if { (eval echo configure:4706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4706 if { (eval echo configure:4707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4706 rm -rf conftest* 4707 rm -rf conftest*
4707 # It does; now see whether it defined to BIG_ENDIAN or not. 4708 # It does; now see whether it defined to BIG_ENDIAN or not.
4708 cat > conftest.$ac_ext <<EOF 4709 cat > conftest.$ac_ext <<EOF
4709 #line 4710 "configure" 4710 #line 4711 "configure"
4710 #include "confdefs.h" 4711 #include "confdefs.h"
4711 #include <sys/types.h> 4712 #include <sys/types.h>
4712 #include <sys/param.h> 4713 #include <sys/param.h>
4713 int main() { 4714 int main() {
4714 4715
4715 #if BYTE_ORDER != BIG_ENDIAN 4716 #if BYTE_ORDER != BIG_ENDIAN
4716 not big endian 4717 not big endian
4717 #endif 4718 #endif
4718 ; return 0; } 4719 ; return 0; }
4719 EOF 4720 EOF
4720 if { (eval echo configure:4721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4721 if { (eval echo configure:4722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4721 rm -rf conftest* 4722 rm -rf conftest*
4722 ac_cv_c_bigendian=yes 4723 ac_cv_c_bigendian=yes
4723 else 4724 else
4724 echo "configure: failed program was:" >&5 4725 echo "configure: failed program was:" >&5
4725 cat conftest.$ac_ext >&5 4726 cat conftest.$ac_ext >&5
4732 cat conftest.$ac_ext >&5 4733 cat conftest.$ac_ext >&5
4733 fi 4734 fi
4734 rm -f conftest* 4735 rm -f conftest*
4735 if test $ac_cv_c_bigendian = unknown; then 4736 if test $ac_cv_c_bigendian = unknown; then
4736 cat > conftest.$ac_ext <<EOF 4737 cat > conftest.$ac_ext <<EOF
4737 #line 4738 "configure" 4738 #line 4739 "configure"
4738 #include "confdefs.h" 4739 #include "confdefs.h"
4739 main () { 4740 main () {
4740 /* Are we little or big endian? From Harbison&Steele. */ 4741 /* Are we little or big endian? From Harbison&Steele. */
4741 union 4742 union
4742 { 4743 {
4745 } u; 4746 } u;
4746 u.l = 1; 4747 u.l = 1;
4747 exit (u.c[sizeof (long) - 1] == 1); 4748 exit (u.c[sizeof (long) - 1] == 1);
4748 } 4749 }
4749 EOF 4750 EOF
4750 if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4751 if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4751 then 4752 then
4752 ac_cv_c_bigendian=no 4753 ac_cv_c_bigendian=no
4753 else 4754 else
4754 conftest_rc="$?" 4755 conftest_rc="$?"
4755 echo "configure: failed program was:" >&5 4756 echo "configure: failed program was:" >&5
4772 4773
4773 fi 4774 fi
4774 4775
4775 4776
4776 echo $ac_n "checking size of short""... $ac_c" 1>&6 4777 echo $ac_n "checking size of short""... $ac_c" 1>&6
4777 echo "configure:4778: checking size of short" >&5 4778 echo "configure:4779: checking size of short" >&5
4778 4779
4779 cat > conftest.$ac_ext <<EOF 4780 cat > conftest.$ac_ext <<EOF
4780 #line 4781 "configure" 4781 #line 4782 "configure"
4781 #include "confdefs.h" 4782 #include "confdefs.h"
4782 #include <stdio.h> 4783 #include <stdio.h>
4783 int main() 4784 int main()
4784 { 4785 {
4785 FILE *f=fopen("conftestval", "w"); 4786 FILE *f=fopen("conftestval", "w");
4786 if (!f) return(1); 4787 if (!f) return(1);
4787 fprintf(f, "%d\n", sizeof(short)); 4788 fprintf(f, "%d\n", sizeof(short));
4788 return(0); 4789 return(0);
4789 } 4790 }
4790 EOF 4791 EOF
4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4792 then 4793 then
4793 ac_cv_sizeof_short=`cat conftestval` 4794 ac_cv_sizeof_short=`cat conftestval`
4794 else 4795 else
4795 conftest_rc="$?" 4796 conftest_rc="$?"
4796 echo "configure: failed program was:" >&5 4797 echo "configure: failed program was:" >&5
4814 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4815 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4815 echo "*** PANIC *** Please examine config.log for compilation errors." 4816 echo "*** PANIC *** Please examine config.log for compilation errors."
4816 exit 1 4817 exit 1
4817 fi 4818 fi
4818 echo $ac_n "checking size of int""... $ac_c" 1>&6 4819 echo $ac_n "checking size of int""... $ac_c" 1>&6
4819 echo "configure:4820: checking size of int" >&5 4820 echo "configure:4821: checking size of int" >&5
4820 4821
4821 cat > conftest.$ac_ext <<EOF 4822 cat > conftest.$ac_ext <<EOF
4822 #line 4823 "configure" 4823 #line 4824 "configure"
4823 #include "confdefs.h" 4824 #include "confdefs.h"
4824 #include <stdio.h> 4825 #include <stdio.h>
4825 int main() 4826 int main()
4826 { 4827 {
4827 FILE *f=fopen("conftestval", "w"); 4828 FILE *f=fopen("conftestval", "w");
4828 if (!f) return(1); 4829 if (!f) return(1);
4829 fprintf(f, "%d\n", sizeof(int)); 4830 fprintf(f, "%d\n", sizeof(int));
4830 return(0); 4831 return(0);
4831 } 4832 }
4832 EOF 4833 EOF
4833 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4834 then 4835 then
4835 ac_cv_sizeof_int=`cat conftestval` 4836 ac_cv_sizeof_int=`cat conftestval`
4836 else 4837 else
4837 conftest_rc="$?" 4838 conftest_rc="$?"
4838 echo "configure: failed program was:" >&5 4839 echo "configure: failed program was:" >&5
4850 EOF 4851 EOF
4851 } 4852 }
4852 4853
4853 4854
4854 echo $ac_n "checking size of long""... $ac_c" 1>&6 4855 echo $ac_n "checking size of long""... $ac_c" 1>&6
4855 echo "configure:4856: checking size of long" >&5 4856 echo "configure:4857: checking size of long" >&5
4856 4857
4857 cat > conftest.$ac_ext <<EOF 4858 cat > conftest.$ac_ext <<EOF
4858 #line 4859 "configure" 4859 #line 4860 "configure"
4859 #include "confdefs.h" 4860 #include "confdefs.h"
4860 #include <stdio.h> 4861 #include <stdio.h>
4861 int main() 4862 int main()
4862 { 4863 {
4863 FILE *f=fopen("conftestval", "w"); 4864 FILE *f=fopen("conftestval", "w");
4864 if (!f) return(1); 4865 if (!f) return(1);
4865 fprintf(f, "%d\n", sizeof(long)); 4866 fprintf(f, "%d\n", sizeof(long));
4866 return(0); 4867 return(0);
4867 } 4868 }
4868 EOF 4869 EOF
4869 if { (eval echo configure:4870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4870 if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4870 then 4871 then
4871 ac_cv_sizeof_long=`cat conftestval` 4872 ac_cv_sizeof_long=`cat conftestval`
4872 else 4873 else
4873 conftest_rc="$?" 4874 conftest_rc="$?"
4874 echo "configure: failed program was:" >&5 4875 echo "configure: failed program was:" >&5
4886 EOF 4887 EOF
4887 } 4888 }
4888 4889
4889 4890
4890 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4891 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4891 echo "configure:4892: checking size of long long" >&5 4892 echo "configure:4893: checking size of long long" >&5
4892 4893
4893 cat > conftest.$ac_ext <<EOF 4894 cat > conftest.$ac_ext <<EOF
4894 #line 4895 "configure" 4895 #line 4896 "configure"
4895 #include "confdefs.h" 4896 #include "confdefs.h"
4896 #include <stdio.h> 4897 #include <stdio.h>
4897 int main() 4898 int main()
4898 { 4899 {
4899 FILE *f=fopen("conftestval", "w"); 4900 FILE *f=fopen("conftestval", "w");
4900 if (!f) return(1); 4901 if (!f) return(1);
4901 fprintf(f, "%d\n", sizeof(long long)); 4902 fprintf(f, "%d\n", sizeof(long long));
4902 return(0); 4903 return(0);
4903 } 4904 }
4904 EOF 4905 EOF
4905 if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4906 then 4907 then
4907 ac_cv_sizeof_long_long=`cat conftestval` 4908 ac_cv_sizeof_long_long=`cat conftestval`
4908 else 4909 else
4909 conftest_rc="$?" 4910 conftest_rc="$?"
4910 echo "configure: failed program was:" >&5 4911 echo "configure: failed program was:" >&5
4922 EOF 4923 EOF
4923 } 4924 }
4924 4925
4925 4926
4926 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4927 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4927 echo "configure:4928: checking size of void *" >&5 4928 echo "configure:4929: checking size of void *" >&5
4928 4929
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 #include <stdio.h> 4933 #include <stdio.h>
4933 int main() 4934 int main()
4934 { 4935 {
4935 FILE *f=fopen("conftestval", "w"); 4936 FILE *f=fopen("conftestval", "w");
4936 if (!f) return(1); 4937 if (!f) return(1);
4937 fprintf(f, "%d\n", sizeof(void *)); 4938 fprintf(f, "%d\n", sizeof(void *));
4938 return(0); 4939 return(0);
4939 } 4940 }
4940 EOF 4941 EOF
4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4942 then 4943 then
4943 ac_cv_sizeof_void_p=`cat conftestval` 4944 ac_cv_sizeof_void_p=`cat conftestval`
4944 else 4945 else
4945 conftest_rc="$?" 4946 conftest_rc="$?"
4946 echo "configure: failed program was:" >&5 4947 echo "configure: failed program was:" >&5
4958 EOF 4959 EOF
4959 } 4960 }
4960 4961
4961 4962
4962 echo $ac_n "checking size of double""... $ac_c" 1>&6 4963 echo $ac_n "checking size of double""... $ac_c" 1>&6
4963 echo "configure:4964: checking size of double" >&5 4964 echo "configure:4965: checking size of double" >&5
4964 4965
4965 cat > conftest.$ac_ext <<EOF 4966 cat > conftest.$ac_ext <<EOF
4966 #line 4967 "configure" 4967 #line 4968 "configure"
4967 #include "confdefs.h" 4968 #include "confdefs.h"
4968 #include <stdio.h> 4969 #include <stdio.h>
4969 int main() 4970 int main()
4970 { 4971 {
4971 FILE *f=fopen("conftestval", "w"); 4972 FILE *f=fopen("conftestval", "w");
4972 if (!f) return(1); 4973 if (!f) return(1);
4973 fprintf(f, "%d\n", sizeof(double)); 4974 fprintf(f, "%d\n", sizeof(double));
4974 return(0); 4975 return(0);
4975 } 4976 }
4976 EOF 4977 EOF
4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4978 then 4979 then
4979 ac_cv_sizeof_double=`cat conftestval` 4980 ac_cv_sizeof_double=`cat conftestval`
4980 else 4981 else
4981 conftest_rc="$?" 4982 conftest_rc="$?"
4982 echo "configure: failed program was:" >&5 4983 echo "configure: failed program was:" >&5
4995 } 4996 }
4996 4997
4997 4998
4998 4999
4999 echo $ac_n "checking for long file names""... $ac_c" 1>&6 5000 echo $ac_n "checking for long file names""... $ac_c" 1>&6
5000 echo "configure:5001: checking for long file names" >&5 5001 echo "configure:5002: checking for long file names" >&5
5001 5002
5002 ac_cv_sys_long_file_names=yes 5003 ac_cv_sys_long_file_names=yes
5003 # Test for long file names in all the places we know might matter: 5004 # Test for long file names in all the places we know might matter:
5004 # . the current directory, where building will happen 5005 # . the current directory, where building will happen
5005 # $prefix/lib where we will be installing things 5006 # $prefix/lib where we will be installing things
5041 5042
5042 fi 5043 fi
5043 5044
5044 5045
5045 echo $ac_n "checking for sin""... $ac_c" 1>&6 5046 echo $ac_n "checking for sin""... $ac_c" 1>&6
5046 echo "configure:5047: checking for sin" >&5 5047 echo "configure:5048: checking for sin" >&5
5047 5048
5048 cat > conftest.$ac_ext <<EOF 5049 cat > conftest.$ac_ext <<EOF
5049 #line 5050 "configure" 5050 #line 5051 "configure"
5050 #include "confdefs.h" 5051 #include "confdefs.h"
5051 /* System header to define __stub macros and hopefully few prototypes, 5052 /* System header to define __stub macros and hopefully few prototypes,
5052 which can conflict with char sin(); below. */ 5053 which can conflict with char sin(); below. */
5053 #include <assert.h> 5054 #include <assert.h>
5054 /* Override any gcc2 internal prototype to avoid an error. */ 5055 /* Override any gcc2 internal prototype to avoid an error. */
5067 sin(); 5068 sin();
5068 #endif 5069 #endif
5069 5070
5070 ; return 0; } 5071 ; return 0; }
5071 EOF 5072 EOF
5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5073 if { (eval echo configure:5074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5073 rm -rf conftest* 5074 rm -rf conftest*
5074 eval "ac_cv_func_sin=yes" 5075 eval "ac_cv_func_sin=yes"
5075 else 5076 else
5076 echo "configure: failed program was:" >&5 5077 echo "configure: failed program was:" >&5
5077 cat conftest.$ac_ext >&5 5078 cat conftest.$ac_ext >&5
5085 : 5086 :
5086 else 5087 else
5087 echo "$ac_t""no" 1>&6 5088 echo "$ac_t""no" 1>&6
5088 5089
5089 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 5090 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5090 echo "configure:5091: checking for sin in -lm" >&5 5091 echo "configure:5092: checking for sin in -lm" >&5
5091 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5092 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5092 5093
5093 xe_check_libs=" -lm " 5094 xe_check_libs=" -lm "
5094 cat > conftest.$ac_ext <<EOF 5095 cat > conftest.$ac_ext <<EOF
5095 #line 5096 "configure" 5096 #line 5097 "configure"
5096 #include "confdefs.h" 5097 #include "confdefs.h"
5097 /* Override any gcc2 internal prototype to avoid an error. */ 5098 /* Override any gcc2 internal prototype to avoid an error. */
5098 /* We use char because int might match the return type of a gcc2 5099 /* We use char because int might match the return type of a gcc2
5099 builtin and then its argument prototype would still apply. */ 5100 builtin and then its argument prototype would still apply. */
5100 char sin(); 5101 char sin();
5101 5102
5102 int main() { 5103 int main() {
5103 sin() 5104 sin()
5104 ; return 0; } 5105 ; return 0; }
5105 EOF 5106 EOF
5106 if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5107 if { (eval echo configure:5108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5107 rm -rf conftest* 5108 rm -rf conftest*
5108 eval "ac_cv_lib_$ac_lib_var=yes" 5109 eval "ac_cv_lib_$ac_lib_var=yes"
5109 else 5110 else
5110 echo "configure: failed program was:" >&5 5111 echo "configure: failed program was:" >&5
5111 cat conftest.$ac_ext >&5 5112 cat conftest.$ac_ext >&5
5136 5137
5137 fi 5138 fi
5138 5139
5139 5140
5140 cat > conftest.$ac_ext <<EOF 5141 cat > conftest.$ac_ext <<EOF
5141 #line 5142 "configure" 5142 #line 5143 "configure"
5142 #include "confdefs.h" 5143 #include "confdefs.h"
5143 #include <math.h> 5144 #include <math.h>
5144 int main() { 5145 int main() {
5145 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5146 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5146 ; return 0; } 5147 ; return 0; }
5147 EOF 5148 EOF
5148 if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5149 if { (eval echo configure:5150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5149 rm -rf conftest* 5150 rm -rf conftest*
5150 { test "$extra_verbose" = "yes" && cat << \EOF 5151 { test "$extra_verbose" = "yes" && cat << \EOF
5151 Defining HAVE_INVERSE_HYPERBOLIC 5152 Defining HAVE_INVERSE_HYPERBOLIC
5152 EOF 5153 EOF
5153 cat >> confdefs.h <<\EOF 5154 cat >> confdefs.h <<\EOF
5162 rm -f conftest* 5163 rm -f conftest*
5163 5164
5164 for ac_func in mkstemp 5165 for ac_func in mkstemp
5165 do 5166 do
5166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5167 echo "configure:5168: checking for $ac_func" >&5 5168 echo "configure:5169: checking for $ac_func" >&5
5168 5169
5169 cat > conftest.$ac_ext <<EOF 5170 cat > conftest.$ac_ext <<EOF
5170 #line 5171 "configure" 5171 #line 5172 "configure"
5171 #include "confdefs.h" 5172 #include "confdefs.h"
5172 /* System header to define __stub macros and hopefully few prototypes, 5173 /* System header to define __stub macros and hopefully few prototypes,
5173 which can conflict with char $ac_func(); below. */ 5174 which can conflict with char $ac_func(); below. */
5174 #include <assert.h> 5175 #include <assert.h>
5175 /* Override any gcc2 internal prototype to avoid an error. */ 5176 /* Override any gcc2 internal prototype to avoid an error. */
5188 $ac_func(); 5189 $ac_func();
5189 #endif 5190 #endif
5190 5191
5191 ; return 0; } 5192 ; return 0; }
5192 EOF 5193 EOF
5193 if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5194 if { (eval echo configure:5195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5194 rm -rf conftest* 5195 rm -rf conftest*
5195 eval "ac_cv_func_$ac_func=yes" 5196 eval "ac_cv_func_$ac_func=yes"
5196 else 5197 else
5197 echo "configure: failed program was:" >&5 5198 echo "configure: failed program was:" >&5
5198 cat conftest.$ac_ext >&5 5199 cat conftest.$ac_ext >&5
5217 fi 5218 fi
5218 done 5219 done
5219 5220
5220 5221
5221 echo "checking type of mail spool file locking" 1>&6 5222 echo "checking type of mail spool file locking" 1>&6
5222 echo "configure:5223: checking type of mail spool file locking" >&5 5223 echo "configure:5224: checking type of mail spool file locking" >&5
5223 for ac_func in lockf flock 5224 for ac_func in lockf flock
5224 do 5225 do
5225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5226 echo "configure:5227: checking for $ac_func" >&5 5227 echo "configure:5228: checking for $ac_func" >&5
5227 5228
5228 cat > conftest.$ac_ext <<EOF 5229 cat > conftest.$ac_ext <<EOF
5229 #line 5230 "configure" 5230 #line 5231 "configure"
5230 #include "confdefs.h" 5231 #include "confdefs.h"
5231 /* System header to define __stub macros and hopefully few prototypes, 5232 /* System header to define __stub macros and hopefully few prototypes,
5232 which can conflict with char $ac_func(); below. */ 5233 which can conflict with char $ac_func(); below. */
5233 #include <assert.h> 5234 #include <assert.h>
5234 /* Override any gcc2 internal prototype to avoid an error. */ 5235 /* Override any gcc2 internal prototype to avoid an error. */
5247 $ac_func(); 5248 $ac_func();
5248 #endif 5249 #endif
5249 5250
5250 ; return 0; } 5251 ; return 0; }
5251 EOF 5252 EOF
5252 if { (eval echo configure:5253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5253 rm -rf conftest* 5254 rm -rf conftest*
5254 eval "ac_cv_func_$ac_func=yes" 5255 eval "ac_cv_func_$ac_func=yes"
5255 else 5256 else
5256 echo "configure: failed program was:" >&5 5257 echo "configure: failed program was:" >&5
5257 cat conftest.$ac_ext >&5 5258 cat conftest.$ac_ext >&5
5329 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5330 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5330 5331
5331 case "$opsys" in decosf*) 5332 case "$opsys" in decosf*)
5332 5333
5333 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5334 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5334 echo "configure:5335: checking for cma_open in -lpthreads" >&5 5335 echo "configure:5336: checking for cma_open in -lpthreads" >&5
5335 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5336 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5336 5337
5337 xe_check_libs=" -lpthreads " 5338 xe_check_libs=" -lpthreads "
5338 cat > conftest.$ac_ext <<EOF 5339 cat > conftest.$ac_ext <<EOF
5339 #line 5340 "configure" 5340 #line 5341 "configure"
5340 #include "confdefs.h" 5341 #include "confdefs.h"
5341 /* Override any gcc2 internal prototype to avoid an error. */ 5342 /* Override any gcc2 internal prototype to avoid an error. */
5342 /* We use char because int might match the return type of a gcc2 5343 /* We use char because int might match the return type of a gcc2
5343 builtin and then its argument prototype would still apply. */ 5344 builtin and then its argument prototype would still apply. */
5344 char cma_open(); 5345 char cma_open();
5345 5346
5346 int main() { 5347 int main() {
5347 cma_open() 5348 cma_open()
5348 ; return 0; } 5349 ; return 0; }
5349 EOF 5350 EOF
5350 if { (eval echo configure:5351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5351 if { (eval echo configure:5352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5351 rm -rf conftest* 5352 rm -rf conftest*
5352 eval "ac_cv_lib_$ac_lib_var=yes" 5353 eval "ac_cv_lib_$ac_lib_var=yes"
5353 else 5354 else
5354 echo "configure: failed program was:" >&5 5355 echo "configure: failed program was:" >&5
5355 cat conftest.$ac_ext >&5 5356 cat conftest.$ac_ext >&5
5382 c_switch_site="$c_switch_site -threads" ;; 5383 c_switch_site="$c_switch_site -threads" ;;
5383 esac 5384 esac
5384 5385
5385 5386
5386 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5387 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5387 echo "configure:5388: checking whether the -xildoff compiler flag is required" >&5 5388 echo "configure:5389: checking whether the -xildoff compiler flag is required" >&5
5388 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5389 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5389 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5390 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5390 then echo "$ac_t""no" 1>&6; 5391 then echo "$ac_t""no" 1>&6;
5391 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 5392 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
5392 fi 5393 fi
5394 fi 5395 fi
5395 5396
5396 if test "$opsys" = "sol2"; then 5397 if test "$opsys" = "sol2"; then
5397 if test "$os_release" -ge 506; then 5398 if test "$os_release" -ge 506; then
5398 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5399 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5399 echo "configure:5400: checking for \"-z ignore\" linker flag" >&5 5400 echo "configure:5401: checking for \"-z ignore\" linker flag" >&5
5400 case "`ld -h 2>&1`" in 5401 case "`ld -h 2>&1`" in
5401 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5402 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5402 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5403 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5403 *) echo "$ac_t""no" 1>&6 ;; 5404 *) echo "$ac_t""no" 1>&6 ;;
5404 esac 5405 esac
5405 fi 5406 fi
5406 fi 5407 fi
5407 5408
5408 5409
5409 echo "checking "for specified window system"" 1>&6 5410 echo "checking "for specified window system"" 1>&6
5410 echo "configure:5411: checking "for specified window system"" >&5 5411 echo "configure:5412: checking "for specified window system"" >&5
5411 5412
5412 5413
5413 GNOME_CONFIG=no 5414 GNOME_CONFIG=no
5414 GTK_CONFIG=no 5415 GTK_CONFIG=no
5415 5416
5416 if test "$with_gnome" != "no"; then 5417 if test "$with_gnome" != "no"; then
5417 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5418 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5418 echo "configure:5419: checking for GNOME configuration script" >&5 5419 echo "configure:5420: checking for GNOME configuration script" >&5
5419 for possible in gnome-config 5420 for possible in gnome-config
5420 do 5421 do
5421 possible_version=`${possible} --version 2> /dev/null` 5422 possible_version=`${possible} --version 2> /dev/null`
5422 if test "x${possible_version}" != "x"; then 5423 if test "x${possible_version}" != "x"; then
5423 GNOME_CONFIG="${possible}" 5424 GNOME_CONFIG="${possible}"
5444 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5445 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5445 fi 5446 fi
5446 5447
5447 if test "$with_gtk" != "no";then 5448 if test "$with_gtk" != "no";then
5448 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5449 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5449 echo "configure:5450: checking for GTK configuration script" >&5 5450 echo "configure:5451: checking for GTK configuration script" >&5
5450 for possible in gtk12-config gtk14-config gtk-config 5451 for possible in gtk12-config gtk14-config gtk-config
5451 do 5452 do
5452 possible_version=`${possible} --version 2> /dev/null` 5453 possible_version=`${possible} --version 2> /dev/null`
5453 if test "x${possible_version}" != "x"; then 5454 if test "x${possible_version}" != "x"; then
5454 GTK_CONFIG="${possible}" 5455 GTK_CONFIG="${possible}"
5466 echo "$ac_t""${GTK_CONFIG}" 1>&6 5467 echo "$ac_t""${GTK_CONFIG}" 1>&6
5467 fi 5468 fi
5468 5469
5469 if test "${GTK_CONFIG}" != "no"; then 5470 if test "${GTK_CONFIG}" != "no"; then
5470 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5471 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5471 echo "configure:5472: checking gtk version" >&5 5472 echo "configure:5473: checking gtk version" >&5
5472 GTK_VERSION=`${GTK_CONFIG} --version` 5473 GTK_VERSION=`${GTK_CONFIG} --version`
5473 echo "$ac_t""${GTK_VERSION}" 1>&6 5474 echo "$ac_t""${GTK_VERSION}" 1>&6
5474 5475
5475 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5476 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5476 echo "configure:5477: checking gtk libs" >&5 5477 echo "configure:5478: checking gtk libs" >&5
5477 GTK_LIBS=`${GTK_CONFIG} --libs` 5478 GTK_LIBS=`${GTK_CONFIG} --libs`
5478 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5479 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5479 echo "$ac_t""${GTK_LIBS}" 1>&6 5480 echo "$ac_t""${GTK_LIBS}" 1>&6
5480 5481
5481 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5482 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5482 echo "configure:5483: checking gtk cflags" >&5 5483 echo "configure:5484: checking gtk cflags" >&5
5483 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5484 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5484 if test "$GCC" = "yes"; then 5485 if test "$GCC" = "yes"; then
5485 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5486 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5486 fi 5487 fi
5487 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5488 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5488 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5489 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5489 5490
5490 5491
5491 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5492 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5492 echo "configure:5493: checking for main in -lgdk_imlib" >&5 5493 echo "configure:5494: checking for main in -lgdk_imlib" >&5
5493 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5494 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5494 5495
5495 xe_check_libs=" -lgdk_imlib " 5496 xe_check_libs=" -lgdk_imlib "
5496 cat > conftest.$ac_ext <<EOF 5497 cat > conftest.$ac_ext <<EOF
5497 #line 5498 "configure" 5498 #line 5499 "configure"
5498 #include "confdefs.h" 5499 #include "confdefs.h"
5499 5500
5500 int main() { 5501 int main() {
5501 main() 5502 main()
5502 ; return 0; } 5503 ; return 0; }
5503 EOF 5504 EOF
5504 if { (eval echo configure:5505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5505 if { (eval echo configure:5506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5505 rm -rf conftest* 5506 rm -rf conftest*
5506 eval "ac_cv_lib_$ac_lib_var=yes" 5507 eval "ac_cv_lib_$ac_lib_var=yes"
5507 else 5508 else
5508 echo "configure: failed program was:" >&5 5509 echo "configure: failed program was:" >&5
5509 cat conftest.$ac_ext >&5 5510 cat conftest.$ac_ext >&5
5521 fi 5522 fi
5522 5523
5523 5524
5524 5525
5525 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5526 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5526 echo "configure:5527: checking for Imlib_init in -lImlib" >&5 5527 echo "configure:5528: checking for Imlib_init in -lImlib" >&5
5527 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5528 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5528 5529
5529 xe_check_libs=" -lImlib " 5530 xe_check_libs=" -lImlib "
5530 cat > conftest.$ac_ext <<EOF 5531 cat > conftest.$ac_ext <<EOF
5531 #line 5532 "configure" 5532 #line 5533 "configure"
5532 #include "confdefs.h" 5533 #include "confdefs.h"
5533 /* Override any gcc2 internal prototype to avoid an error. */ 5534 /* Override any gcc2 internal prototype to avoid an error. */
5534 /* We use char because int might match the return type of a gcc2 5535 /* We use char because int might match the return type of a gcc2
5535 builtin and then its argument prototype would still apply. */ 5536 builtin and then its argument prototype would still apply. */
5536 char Imlib_init(); 5537 char Imlib_init();
5537 5538
5538 int main() { 5539 int main() {
5539 Imlib_init() 5540 Imlib_init()
5540 ; return 0; } 5541 ; return 0; }
5541 EOF 5542 EOF
5542 if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5543 rm -rf conftest* 5544 rm -rf conftest*
5544 eval "ac_cv_lib_$ac_lib_var=yes" 5545 eval "ac_cv_lib_$ac_lib_var=yes"
5545 else 5546 else
5546 echo "configure: failed program was:" >&5 5547 echo "configure: failed program was:" >&5
5547 cat conftest.$ac_ext >&5 5548 cat conftest.$ac_ext >&5
5560 5561
5561 5562
5562 for ac_func in gdk_imlib_init 5563 for ac_func in gdk_imlib_init
5563 do 5564 do
5564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5565 echo "configure:5566: checking for $ac_func" >&5 5566 echo "configure:5567: checking for $ac_func" >&5
5566 5567
5567 cat > conftest.$ac_ext <<EOF 5568 cat > conftest.$ac_ext <<EOF
5568 #line 5569 "configure" 5569 #line 5570 "configure"
5569 #include "confdefs.h" 5570 #include "confdefs.h"
5570 /* System header to define __stub macros and hopefully few prototypes, 5571 /* System header to define __stub macros and hopefully few prototypes,
5571 which can conflict with char $ac_func(); below. */ 5572 which can conflict with char $ac_func(); below. */
5572 #include <assert.h> 5573 #include <assert.h>
5573 /* Override any gcc2 internal prototype to avoid an error. */ 5574 /* Override any gcc2 internal prototype to avoid an error. */
5586 $ac_func(); 5587 $ac_func();
5587 #endif 5588 #endif
5588 5589
5589 ; return 0; } 5590 ; return 0; }
5590 EOF 5591 EOF
5591 if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5592 if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5592 rm -rf conftest* 5593 rm -rf conftest*
5593 eval "ac_cv_func_$ac_func=yes" 5594 eval "ac_cv_func_$ac_func=yes"
5594 else 5595 else
5595 echo "configure: failed program was:" >&5 5596 echo "configure: failed program was:" >&5
5596 cat conftest.$ac_ext >&5 5597 cat conftest.$ac_ext >&5
5670 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5671 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5671 for ac_hdr in glade/glade.h glade.h 5672 for ac_hdr in glade/glade.h glade.h
5672 do 5673 do
5673 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5675 echo "configure:5676: checking for $ac_hdr" >&5 5676 echo "configure:5677: checking for $ac_hdr" >&5
5676 5677
5677 cat > conftest.$ac_ext <<EOF 5678 cat > conftest.$ac_ext <<EOF
5678 #line 5679 "configure" 5679 #line 5680 "configure"
5679 #include "confdefs.h" 5680 #include "confdefs.h"
5680 #include <$ac_hdr> 5681 #include <$ac_hdr>
5681 EOF 5682 EOF
5682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5683 { (eval echo configure:5684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5684 { (eval echo configure:5685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5685 if test -z "$ac_err"; then 5686 if test -z "$ac_err"; then
5686 rm -rf conftest* 5687 rm -rf conftest*
5687 eval "ac_cv_header_$ac_safe=yes" 5688 eval "ac_cv_header_$ac_safe=yes"
5688 else 5689 else
5709 fi 5710 fi
5710 done 5711 done
5711 5712
5712 5713
5713 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5714 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5714 echo "configure:5715: checking for main in -lxml" >&5 5715 echo "configure:5716: checking for main in -lxml" >&5
5715 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5716 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5716 5717
5717 xe_check_libs=" -lxml " 5718 xe_check_libs=" -lxml "
5718 cat > conftest.$ac_ext <<EOF 5719 cat > conftest.$ac_ext <<EOF
5719 #line 5720 "configure" 5720 #line 5721 "configure"
5720 #include "confdefs.h" 5721 #include "confdefs.h"
5721 5722
5722 int main() { 5723 int main() {
5723 main() 5724 main()
5724 ; return 0; } 5725 ; return 0; }
5725 EOF 5726 EOF
5726 if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5727 rm -rf conftest* 5728 rm -rf conftest*
5728 eval "ac_cv_lib_$ac_lib_var=yes" 5729 eval "ac_cv_lib_$ac_lib_var=yes"
5729 else 5730 else
5730 echo "configure: failed program was:" >&5 5731 echo "configure: failed program was:" >&5
5731 cat conftest.$ac_ext >&5 5732 cat conftest.$ac_ext >&5
5743 fi 5744 fi
5744 5745
5745 5746
5746 5747
5747 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5748 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5748 echo "configure:5749: checking for main in -lglade" >&5 5749 echo "configure:5750: checking for main in -lglade" >&5
5749 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5750 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5750 5751
5751 xe_check_libs=" -lglade " 5752 xe_check_libs=" -lglade "
5752 cat > conftest.$ac_ext <<EOF 5753 cat > conftest.$ac_ext <<EOF
5753 #line 5754 "configure" 5754 #line 5755 "configure"
5754 #include "confdefs.h" 5755 #include "confdefs.h"
5755 5756
5756 int main() { 5757 int main() {
5757 main() 5758 main()
5758 ; return 0; } 5759 ; return 0; }
5759 EOF 5760 EOF
5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5761 rm -rf conftest* 5762 rm -rf conftest*
5762 eval "ac_cv_lib_$ac_lib_var=yes" 5763 eval "ac_cv_lib_$ac_lib_var=yes"
5763 else 5764 else
5764 echo "configure: failed program was:" >&5 5765 echo "configure: failed program was:" >&5
5765 cat conftest.$ac_ext >&5 5766 cat conftest.$ac_ext >&5
5777 fi 5778 fi
5778 5779
5779 5780
5780 5781
5781 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5782 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5782 echo "configure:5783: checking for main in -lglade-gnome" >&5 5783 echo "configure:5784: checking for main in -lglade-gnome" >&5
5783 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5784 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5784 5785
5785 xe_check_libs=" -lglade-gnome " 5786 xe_check_libs=" -lglade-gnome "
5786 cat > conftest.$ac_ext <<EOF 5787 cat > conftest.$ac_ext <<EOF
5787 #line 5788 "configure" 5788 #line 5789 "configure"
5788 #include "confdefs.h" 5789 #include "confdefs.h"
5789 5790
5790 int main() { 5791 int main() {
5791 main() 5792 main()
5792 ; return 0; } 5793 ; return 0; }
5793 EOF 5794 EOF
5794 if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5795 rm -rf conftest* 5796 rm -rf conftest*
5796 eval "ac_cv_lib_$ac_lib_var=yes" 5797 eval "ac_cv_lib_$ac_lib_var=yes"
5797 else 5798 else
5798 echo "configure: failed program was:" >&5 5799 echo "configure: failed program was:" >&5
5799 cat conftest.$ac_ext >&5 5800 cat conftest.$ac_ext >&5
5810 echo "$ac_t""no" 1>&6 5811 echo "$ac_t""no" 1>&6
5811 fi 5812 fi
5812 5813
5813 5814
5814 cat > conftest.$ac_ext <<EOF 5815 cat > conftest.$ac_ext <<EOF
5815 #line 5816 "configure" 5816 #line 5817 "configure"
5816 #include "confdefs.h" 5817 #include "confdefs.h"
5817 #include <glade/glade-xml.h> 5818 #include <glade/glade-xml.h>
5818 EOF 5819 EOF
5819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5820 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5821 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5869 # If we find X, set shell vars x_includes and x_libraries to the 5870 # If we find X, set shell vars x_includes and x_libraries to the
5870 # paths, otherwise set no_x=yes. 5871 # paths, otherwise set no_x=yes.
5871 # Uses ac_ vars as temps to allow command line to override cache and checks. 5872 # Uses ac_ vars as temps to allow command line to override cache and checks.
5872 # --without-x overrides everything else, but does not touch the cache. 5873 # --without-x overrides everything else, but does not touch the cache.
5873 echo $ac_n "checking for X""... $ac_c" 1>&6 5874 echo $ac_n "checking for X""... $ac_c" 1>&6
5874 echo "configure:5875: checking for X" >&5 5875 echo "configure:5876: checking for X" >&5
5875 5876
5876 # Check whether --with-x or --without-x was given. 5877 # Check whether --with-x or --without-x was given.
5877 if test "${with_x+set}" = set; then 5878 if test "${with_x+set}" = set; then
5878 withval="$with_x" 5879 withval="$with_x"
5879 : 5880 :
5929 # Guess where to find include files, by looking for this one X11 .h file. 5930 # Guess where to find include files, by looking for this one X11 .h file.
5930 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5931 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5931 5932
5932 # First, try using that file with no special directory specified. 5933 # First, try using that file with no special directory specified.
5933 cat > conftest.$ac_ext <<EOF 5934 cat > conftest.$ac_ext <<EOF
5934 #line 5935 "configure" 5935 #line 5936 "configure"
5935 #include "confdefs.h" 5936 #include "confdefs.h"
5936 #include <$x_direct_test_include> 5937 #include <$x_direct_test_include>
5937 EOF 5938 EOF
5938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5939 { (eval echo configure:5940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5940 { (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5941 if test -z "$ac_err"; then 5942 if test -z "$ac_err"; then
5942 rm -rf conftest* 5943 rm -rf conftest*
5943 # We can compile using X headers with no special include directory. 5944 # We can compile using X headers with no special include directory.
5944 ac_x_includes= 5945 ac_x_includes=
6003 # See if we find them without any special options. 6004 # See if we find them without any special options.
6004 # Don't add to $LIBS permanently. 6005 # Don't add to $LIBS permanently.
6005 ac_save_LIBS="$LIBS" 6006 ac_save_LIBS="$LIBS"
6006 LIBS="-l$x_direct_test_library $LIBS" 6007 LIBS="-l$x_direct_test_library $LIBS"
6007 cat > conftest.$ac_ext <<EOF 6008 cat > conftest.$ac_ext <<EOF
6008 #line 6009 "configure" 6009 #line 6010 "configure"
6009 #include "confdefs.h" 6010 #include "confdefs.h"
6010 6011
6011 int main() { 6012 int main() {
6012 ${x_direct_test_function}() 6013 ${x_direct_test_function}()
6013 ; return 0; } 6014 ; return 0; }
6014 EOF 6015 EOF
6015 if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6016 rm -rf conftest* 6017 rm -rf conftest*
6017 LIBS="$ac_save_LIBS" 6018 LIBS="$ac_save_LIBS"
6018 # We can link X programs with no special library path. 6019 # We can link X programs with no special library path.
6019 ac_x_libraries= 6020 ac_x_libraries=
6020 else 6021 else
6119 # For Solaris; some versions of Sun CC require a space after -R and 6120 # For Solaris; some versions of Sun CC require a space after -R and
6120 # others require no space. Words are not sufficient . . . . 6121 # others require no space. Words are not sufficient . . . .
6121 case "`(uname -sr) 2>/dev/null`" in 6122 case "`(uname -sr) 2>/dev/null`" in
6122 "SunOS 5"*) 6123 "SunOS 5"*)
6123 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6124 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6124 echo "configure:6125: checking whether -R must be followed by a space" >&5 6125 echo "configure:6126: checking whether -R must be followed by a space" >&5
6125 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6126 cat > conftest.$ac_ext <<EOF 6127 cat > conftest.$ac_ext <<EOF
6127 #line 6128 "configure" 6128 #line 6129 "configure"
6128 #include "confdefs.h" 6129 #include "confdefs.h"
6129 6130
6130 int main() { 6131 int main() {
6131 6132
6132 ; return 0; } 6133 ; return 0; }
6133 EOF 6134 EOF
6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6135 rm -rf conftest* 6136 rm -rf conftest*
6136 ac_R_nospace=yes 6137 ac_R_nospace=yes
6137 else 6138 else
6138 echo "configure: failed program was:" >&5 6139 echo "configure: failed program was:" >&5
6139 cat conftest.$ac_ext >&5 6140 cat conftest.$ac_ext >&5
6145 echo "$ac_t""no" 1>&6 6146 echo "$ac_t""no" 1>&6
6146 X_LIBS="$X_LIBS -R$x_libraries" 6147 X_LIBS="$X_LIBS -R$x_libraries"
6147 else 6148 else
6148 LIBS="$ac_xsave_LIBS -R $x_libraries" 6149 LIBS="$ac_xsave_LIBS -R $x_libraries"
6149 cat > conftest.$ac_ext <<EOF 6150 cat > conftest.$ac_ext <<EOF
6150 #line 6151 "configure" 6151 #line 6152 "configure"
6151 #include "confdefs.h" 6152 #include "confdefs.h"
6152 6153
6153 int main() { 6154 int main() {
6154 6155
6155 ; return 0; } 6156 ; return 0; }
6156 EOF 6157 EOF
6157 if { (eval echo configure:6158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6158 rm -rf conftest* 6159 rm -rf conftest*
6159 ac_R_space=yes 6160 ac_R_space=yes
6160 else 6161 else
6161 echo "configure: failed program was:" >&5 6162 echo "configure: failed program was:" >&5
6162 cat conftest.$ac_ext >&5 6163 cat conftest.$ac_ext >&5
6188 if test "$with_dnet" = "no" ; then 6189 if test "$with_dnet" = "no" ; then
6189 ac_cv_lib_dnet_dnet_ntoa=no 6190 ac_cv_lib_dnet_dnet_ntoa=no
6190 else 6191 else
6191 6192
6192 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6193 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6193 echo "configure:6194: checking for dnet_ntoa in -ldnet" >&5 6194 echo "configure:6195: checking for dnet_ntoa in -ldnet" >&5
6194 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6195 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6195 6196
6196 xe_check_libs=" -ldnet " 6197 xe_check_libs=" -ldnet "
6197 cat > conftest.$ac_ext <<EOF 6198 cat > conftest.$ac_ext <<EOF
6198 #line 6199 "configure" 6199 #line 6200 "configure"
6199 #include "confdefs.h" 6200 #include "confdefs.h"
6200 /* Override any gcc2 internal prototype to avoid an error. */ 6201 /* Override any gcc2 internal prototype to avoid an error. */
6201 /* We use char because int might match the return type of a gcc2 6202 /* We use char because int might match the return type of a gcc2
6202 builtin and then its argument prototype would still apply. */ 6203 builtin and then its argument prototype would still apply. */
6203 char dnet_ntoa(); 6204 char dnet_ntoa();
6204 6205
6205 int main() { 6206 int main() {
6206 dnet_ntoa() 6207 dnet_ntoa()
6207 ; return 0; } 6208 ; return 0; }
6208 EOF 6209 EOF
6209 if { (eval echo configure:6210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6210 rm -rf conftest* 6211 rm -rf conftest*
6211 eval "ac_cv_lib_$ac_lib_var=yes" 6212 eval "ac_cv_lib_$ac_lib_var=yes"
6212 else 6213 else
6213 echo "configure: failed program was:" >&5 6214 echo "configure: failed program was:" >&5
6214 cat conftest.$ac_ext >&5 6215 cat conftest.$ac_ext >&5
6228 fi 6229 fi
6229 6230
6230 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6231 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6231 6232
6232 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6233 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6233 echo "configure:6234: checking for dnet_ntoa in -ldnet_stub" >&5 6234 echo "configure:6235: checking for dnet_ntoa in -ldnet_stub" >&5
6234 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6235 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6235 6236
6236 xe_check_libs=" -ldnet_stub " 6237 xe_check_libs=" -ldnet_stub "
6237 cat > conftest.$ac_ext <<EOF 6238 cat > conftest.$ac_ext <<EOF
6238 #line 6239 "configure" 6239 #line 6240 "configure"
6239 #include "confdefs.h" 6240 #include "confdefs.h"
6240 /* Override any gcc2 internal prototype to avoid an error. */ 6241 /* Override any gcc2 internal prototype to avoid an error. */
6241 /* We use char because int might match the return type of a gcc2 6242 /* We use char because int might match the return type of a gcc2
6242 builtin and then its argument prototype would still apply. */ 6243 builtin and then its argument prototype would still apply. */
6243 char dnet_ntoa(); 6244 char dnet_ntoa();
6244 6245
6245 int main() { 6246 int main() {
6246 dnet_ntoa() 6247 dnet_ntoa()
6247 ; return 0; } 6248 ; return 0; }
6248 EOF 6249 EOF
6249 if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6250 rm -rf conftest* 6251 rm -rf conftest*
6251 eval "ac_cv_lib_$ac_lib_var=yes" 6252 eval "ac_cv_lib_$ac_lib_var=yes"
6252 else 6253 else
6253 echo "configure: failed program was:" >&5 6254 echo "configure: failed program was:" >&5
6254 cat conftest.$ac_ext >&5 6255 cat conftest.$ac_ext >&5
6273 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 6274 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6274 # needs -lnsl. 6275 # needs -lnsl.
6275 # The nsl library prevents programs from opening the X display 6276 # The nsl library prevents programs from opening the X display
6276 # on Irix 5.2, according to dickey@clark.net. 6277 # on Irix 5.2, according to dickey@clark.net.
6277 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6278 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6278 echo "configure:6279: checking for gethostbyname" >&5 6279 echo "configure:6280: checking for gethostbyname" >&5
6279 6280
6280 cat > conftest.$ac_ext <<EOF 6281 cat > conftest.$ac_ext <<EOF
6281 #line 6282 "configure" 6282 #line 6283 "configure"
6282 #include "confdefs.h" 6283 #include "confdefs.h"
6283 /* System header to define __stub macros and hopefully few prototypes, 6284 /* System header to define __stub macros and hopefully few prototypes,
6284 which can conflict with char gethostbyname(); below. */ 6285 which can conflict with char gethostbyname(); below. */
6285 #include <assert.h> 6286 #include <assert.h>
6286 /* Override any gcc2 internal prototype to avoid an error. */ 6287 /* Override any gcc2 internal prototype to avoid an error. */
6299 gethostbyname(); 6300 gethostbyname();
6300 #endif 6301 #endif
6301 6302
6302 ; return 0; } 6303 ; return 0; }
6303 EOF 6304 EOF
6304 if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6305 rm -rf conftest* 6306 rm -rf conftest*
6306 eval "ac_cv_func_gethostbyname=yes" 6307 eval "ac_cv_func_gethostbyname=yes"
6307 else 6308 else
6308 echo "configure: failed program was:" >&5 6309 echo "configure: failed program was:" >&5
6309 cat conftest.$ac_ext >&5 6310 cat conftest.$ac_ext >&5
6320 fi 6321 fi
6321 6322
6322 if test $ac_cv_func_gethostbyname = no; then 6323 if test $ac_cv_func_gethostbyname = no; then
6323 6324
6324 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6325 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6325 echo "configure:6326: checking for gethostbyname in -lnsl" >&5 6326 echo "configure:6327: checking for gethostbyname in -lnsl" >&5
6326 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6327 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6327 6328
6328 xe_check_libs=" -lnsl " 6329 xe_check_libs=" -lnsl "
6329 cat > conftest.$ac_ext <<EOF 6330 cat > conftest.$ac_ext <<EOF
6330 #line 6331 "configure" 6331 #line 6332 "configure"
6331 #include "confdefs.h" 6332 #include "confdefs.h"
6332 /* Override any gcc2 internal prototype to avoid an error. */ 6333 /* Override any gcc2 internal prototype to avoid an error. */
6333 /* We use char because int might match the return type of a gcc2 6334 /* We use char because int might match the return type of a gcc2
6334 builtin and then its argument prototype would still apply. */ 6335 builtin and then its argument prototype would still apply. */
6335 char gethostbyname(); 6336 char gethostbyname();
6336 6337
6337 int main() { 6338 int main() {
6338 gethostbyname() 6339 gethostbyname()
6339 ; return 0; } 6340 ; return 0; }
6340 EOF 6341 EOF
6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6342 rm -rf conftest* 6343 rm -rf conftest*
6343 eval "ac_cv_lib_$ac_lib_var=yes" 6344 eval "ac_cv_lib_$ac_lib_var=yes"
6344 else 6345 else
6345 echo "configure: failed program was:" >&5 6346 echo "configure: failed program was:" >&5
6346 cat conftest.$ac_ext >&5 6347 cat conftest.$ac_ext >&5
6366 # on later versions), says simon@lia.di.epfl.ch: it contains 6367 # on later versions), says simon@lia.di.epfl.ch: it contains
6367 # gethostby* variants that don't use the nameserver (or something). 6368 # gethostby* variants that don't use the nameserver (or something).
6368 # -lsocket must be given before -lnsl if both are needed. 6369 # -lsocket must be given before -lnsl if both are needed.
6369 # We assume that if connect needs -lnsl, so does gethostbyname. 6370 # We assume that if connect needs -lnsl, so does gethostbyname.
6370 echo $ac_n "checking for connect""... $ac_c" 1>&6 6371 echo $ac_n "checking for connect""... $ac_c" 1>&6
6371 echo "configure:6372: checking for connect" >&5 6372 echo "configure:6373: checking for connect" >&5
6372 6373
6373 cat > conftest.$ac_ext <<EOF 6374 cat > conftest.$ac_ext <<EOF
6374 #line 6375 "configure" 6375 #line 6376 "configure"
6375 #include "confdefs.h" 6376 #include "confdefs.h"
6376 /* System header to define __stub macros and hopefully few prototypes, 6377 /* System header to define __stub macros and hopefully few prototypes,
6377 which can conflict with char connect(); below. */ 6378 which can conflict with char connect(); below. */
6378 #include <assert.h> 6379 #include <assert.h>
6379 /* Override any gcc2 internal prototype to avoid an error. */ 6380 /* Override any gcc2 internal prototype to avoid an error. */
6392 connect(); 6393 connect();
6393 #endif 6394 #endif
6394 6395
6395 ; return 0; } 6396 ; return 0; }
6396 EOF 6397 EOF
6397 if { (eval echo configure:6398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6398 rm -rf conftest* 6399 rm -rf conftest*
6399 eval "ac_cv_func_connect=yes" 6400 eval "ac_cv_func_connect=yes"
6400 else 6401 else
6401 echo "configure: failed program was:" >&5 6402 echo "configure: failed program was:" >&5
6402 cat conftest.$ac_ext >&5 6403 cat conftest.$ac_ext >&5
6415 if test $ac_cv_func_connect = no; then 6416 if test $ac_cv_func_connect = no; then
6416 6417
6417 xe_msg_checking="for connect in -lsocket" 6418 xe_msg_checking="for connect in -lsocket"
6418 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6419 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6419 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6420 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6420 echo "configure:6421: checking "$xe_msg_checking"" >&5 6421 echo "configure:6422: checking "$xe_msg_checking"" >&5
6421 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6422 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6422 6423
6423 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6424 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6424 cat > conftest.$ac_ext <<EOF 6425 cat > conftest.$ac_ext <<EOF
6425 #line 6426 "configure" 6426 #line 6427 "configure"
6426 #include "confdefs.h" 6427 #include "confdefs.h"
6427 /* Override any gcc2 internal prototype to avoid an error. */ 6428 /* Override any gcc2 internal prototype to avoid an error. */
6428 /* We use char because int might match the return type of a gcc2 6429 /* We use char because int might match the return type of a gcc2
6429 builtin and then its argument prototype would still apply. */ 6430 builtin and then its argument prototype would still apply. */
6430 char connect(); 6431 char connect();
6431 6432
6432 int main() { 6433 int main() {
6433 connect() 6434 connect()
6434 ; return 0; } 6435 ; return 0; }
6435 EOF 6436 EOF
6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6437 if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6437 rm -rf conftest* 6438 rm -rf conftest*
6438 eval "ac_cv_lib_$ac_lib_var=yes" 6439 eval "ac_cv_lib_$ac_lib_var=yes"
6439 else 6440 else
6440 echo "configure: failed program was:" >&5 6441 echo "configure: failed program was:" >&5
6441 cat conftest.$ac_ext >&5 6442 cat conftest.$ac_ext >&5
6455 6456
6456 fi 6457 fi
6457 6458
6458 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6459 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6459 echo $ac_n "checking for remove""... $ac_c" 1>&6 6460 echo $ac_n "checking for remove""... $ac_c" 1>&6
6460 echo "configure:6461: checking for remove" >&5 6461 echo "configure:6462: checking for remove" >&5
6461 6462
6462 cat > conftest.$ac_ext <<EOF 6463 cat > conftest.$ac_ext <<EOF
6463 #line 6464 "configure" 6464 #line 6465 "configure"
6464 #include "confdefs.h" 6465 #include "confdefs.h"
6465 /* System header to define __stub macros and hopefully few prototypes, 6466 /* System header to define __stub macros and hopefully few prototypes,
6466 which can conflict with char remove(); below. */ 6467 which can conflict with char remove(); below. */
6467 #include <assert.h> 6468 #include <assert.h>
6468 /* Override any gcc2 internal prototype to avoid an error. */ 6469 /* Override any gcc2 internal prototype to avoid an error. */
6481 remove(); 6482 remove();
6482 #endif 6483 #endif
6483 6484
6484 ; return 0; } 6485 ; return 0; }
6485 EOF 6486 EOF
6486 if { (eval echo configure:6487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6487 rm -rf conftest* 6488 rm -rf conftest*
6488 eval "ac_cv_func_remove=yes" 6489 eval "ac_cv_func_remove=yes"
6489 else 6490 else
6490 echo "configure: failed program was:" >&5 6491 echo "configure: failed program was:" >&5
6491 cat conftest.$ac_ext >&5 6492 cat conftest.$ac_ext >&5
6502 fi 6503 fi
6503 6504
6504 if test $ac_cv_func_remove = no; then 6505 if test $ac_cv_func_remove = no; then
6505 6506
6506 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6507 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6507 echo "configure:6508: checking for remove in -lposix" >&5 6508 echo "configure:6509: checking for remove in -lposix" >&5
6508 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6509 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6509 6510
6510 xe_check_libs=" -lposix " 6511 xe_check_libs=" -lposix "
6511 cat > conftest.$ac_ext <<EOF 6512 cat > conftest.$ac_ext <<EOF
6512 #line 6513 "configure" 6513 #line 6514 "configure"
6513 #include "confdefs.h" 6514 #include "confdefs.h"
6514 /* Override any gcc2 internal prototype to avoid an error. */ 6515 /* Override any gcc2 internal prototype to avoid an error. */
6515 /* We use char because int might match the return type of a gcc2 6516 /* We use char because int might match the return type of a gcc2
6516 builtin and then its argument prototype would still apply. */ 6517 builtin and then its argument prototype would still apply. */
6517 char remove(); 6518 char remove();
6518 6519
6519 int main() { 6520 int main() {
6520 remove() 6521 remove()
6521 ; return 0; } 6522 ; return 0; }
6522 EOF 6523 EOF
6523 if { (eval echo configure:6524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6524 rm -rf conftest* 6525 rm -rf conftest*
6525 eval "ac_cv_lib_$ac_lib_var=yes" 6526 eval "ac_cv_lib_$ac_lib_var=yes"
6526 else 6527 else
6527 echo "configure: failed program was:" >&5 6528 echo "configure: failed program was:" >&5
6528 cat conftest.$ac_ext >&5 6529 cat conftest.$ac_ext >&5
6542 6543
6543 fi 6544 fi
6544 6545
6545 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6546 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6547 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6547 echo "configure:6548: checking for shmat" >&5 6548 echo "configure:6549: checking for shmat" >&5
6548 6549
6549 cat > conftest.$ac_ext <<EOF 6550 cat > conftest.$ac_ext <<EOF
6550 #line 6551 "configure" 6551 #line 6552 "configure"
6551 #include "confdefs.h" 6552 #include "confdefs.h"
6552 /* System header to define __stub macros and hopefully few prototypes, 6553 /* System header to define __stub macros and hopefully few prototypes,
6553 which can conflict with char shmat(); below. */ 6554 which can conflict with char shmat(); below. */
6554 #include <assert.h> 6555 #include <assert.h>
6555 /* Override any gcc2 internal prototype to avoid an error. */ 6556 /* Override any gcc2 internal prototype to avoid an error. */
6568 shmat(); 6569 shmat();
6569 #endif 6570 #endif
6570 6571
6571 ; return 0; } 6572 ; return 0; }
6572 EOF 6573 EOF
6573 if { (eval echo configure:6574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6574 rm -rf conftest* 6575 rm -rf conftest*
6575 eval "ac_cv_func_shmat=yes" 6576 eval "ac_cv_func_shmat=yes"
6576 else 6577 else
6577 echo "configure: failed program was:" >&5 6578 echo "configure: failed program was:" >&5
6578 cat conftest.$ac_ext >&5 6579 cat conftest.$ac_ext >&5
6589 fi 6590 fi
6590 6591
6591 if test $ac_cv_func_shmat = no; then 6592 if test $ac_cv_func_shmat = no; then
6592 6593
6593 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6594 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6594 echo "configure:6595: checking for shmat in -lipc" >&5 6595 echo "configure:6596: checking for shmat in -lipc" >&5
6595 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6596 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6596 6597
6597 xe_check_libs=" -lipc " 6598 xe_check_libs=" -lipc "
6598 cat > conftest.$ac_ext <<EOF 6599 cat > conftest.$ac_ext <<EOF
6599 #line 6600 "configure" 6600 #line 6601 "configure"
6600 #include "confdefs.h" 6601 #include "confdefs.h"
6601 /* Override any gcc2 internal prototype to avoid an error. */ 6602 /* Override any gcc2 internal prototype to avoid an error. */
6602 /* We use char because int might match the return type of a gcc2 6603 /* We use char because int might match the return type of a gcc2
6603 builtin and then its argument prototype would still apply. */ 6604 builtin and then its argument prototype would still apply. */
6604 char shmat(); 6605 char shmat();
6605 6606
6606 int main() { 6607 int main() {
6607 shmat() 6608 shmat()
6608 ; return 0; } 6609 ; return 0; }
6609 EOF 6610 EOF
6610 if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6611 if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6611 rm -rf conftest* 6612 rm -rf conftest*
6612 eval "ac_cv_lib_$ac_lib_var=yes" 6613 eval "ac_cv_lib_$ac_lib_var=yes"
6613 else 6614 else
6614 echo "configure: failed program was:" >&5 6615 echo "configure: failed program was:" >&5
6615 cat conftest.$ac_ext >&5 6616 cat conftest.$ac_ext >&5
6641 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6642 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6642 6643
6643 xe_msg_checking="for IceConnectionNumber in -lICE" 6644 xe_msg_checking="for IceConnectionNumber in -lICE"
6644 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6645 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6645 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6646 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6646 echo "configure:6647: checking "$xe_msg_checking"" >&5 6647 echo "configure:6648: checking "$xe_msg_checking"" >&5
6647 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6648 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6648 6649
6649 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6650 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6650 cat > conftest.$ac_ext <<EOF 6651 cat > conftest.$ac_ext <<EOF
6651 #line 6652 "configure" 6652 #line 6653 "configure"
6652 #include "confdefs.h" 6653 #include "confdefs.h"
6653 /* Override any gcc2 internal prototype to avoid an error. */ 6654 /* Override any gcc2 internal prototype to avoid an error. */
6654 /* We use char because int might match the return type of a gcc2 6655 /* We use char because int might match the return type of a gcc2
6655 builtin and then its argument prototype would still apply. */ 6656 builtin and then its argument prototype would still apply. */
6656 char IceConnectionNumber(); 6657 char IceConnectionNumber();
6657 6658
6658 int main() { 6659 int main() {
6659 IceConnectionNumber() 6660 IceConnectionNumber()
6660 ; return 0; } 6661 ; return 0; }
6661 EOF 6662 EOF
6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6663 rm -rf conftest* 6664 rm -rf conftest*
6664 eval "ac_cv_lib_$ac_lib_var=yes" 6665 eval "ac_cv_lib_$ac_lib_var=yes"
6665 else 6666 else
6666 echo "configure: failed program was:" >&5 6667 echo "configure: failed program was:" >&5
6667 cat conftest.$ac_ext >&5 6668 cat conftest.$ac_ext >&5
6703 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 6704 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
6704 6705
6705 6706
6706 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6707 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6707 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6708 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6708 echo "configure:6709: checking for Xm/Xm.h" >&5 6709 echo "configure:6710: checking for Xm/Xm.h" >&5
6709 6710
6710 cat > conftest.$ac_ext <<EOF 6711 cat > conftest.$ac_ext <<EOF
6711 #line 6712 "configure" 6712 #line 6713 "configure"
6712 #include "confdefs.h" 6713 #include "confdefs.h"
6713 #include <Xm/Xm.h> 6714 #include <Xm/Xm.h>
6714 EOF 6715 EOF
6715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6716 { (eval echo configure:6717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6718 if test -z "$ac_err"; then 6719 if test -z "$ac_err"; then
6719 rm -rf conftest* 6720 rm -rf conftest*
6720 eval "ac_cv_header_$ac_safe=yes" 6721 eval "ac_cv_header_$ac_safe=yes"
6721 else 6722 else
6728 rm -f conftest* 6729 rm -f conftest*
6729 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6730 echo "$ac_t""yes" 1>&6 6731 echo "$ac_t""yes" 1>&6
6731 6732
6732 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6733 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6733 echo "configure:6734: checking for XmStringFree in -lXm" >&5 6734 echo "configure:6735: checking for XmStringFree in -lXm" >&5
6734 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6735 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6735 6736
6736 xe_check_libs=" -lXm " 6737 xe_check_libs=" -lXm "
6737 cat > conftest.$ac_ext <<EOF 6738 cat > conftest.$ac_ext <<EOF
6738 #line 6739 "configure" 6739 #line 6740 "configure"
6739 #include "confdefs.h" 6740 #include "confdefs.h"
6740 /* Override any gcc2 internal prototype to avoid an error. */ 6741 /* Override any gcc2 internal prototype to avoid an error. */
6741 /* We use char because int might match the return type of a gcc2 6742 /* We use char because int might match the return type of a gcc2
6742 builtin and then its argument prototype would still apply. */ 6743 builtin and then its argument prototype would still apply. */
6743 char XmStringFree(); 6744 char XmStringFree();
6744 6745
6745 int main() { 6746 int main() {
6746 XmStringFree() 6747 XmStringFree()
6747 ; return 0; } 6748 ; return 0; }
6748 EOF 6749 EOF
6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6750 if { (eval echo configure:6751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6750 rm -rf conftest* 6751 rm -rf conftest*
6751 eval "ac_cv_lib_$ac_lib_var=yes" 6752 eval "ac_cv_lib_$ac_lib_var=yes"
6752 else 6753 else
6753 echo "configure: failed program was:" >&5 6754 echo "configure: failed program was:" >&5
6754 cat conftest.$ac_ext >&5 6755 cat conftest.$ac_ext >&5
6896 EOF 6897 EOF
6897 } 6898 }
6898 6899
6899 6900
6900 echo "checking for X defines extracted by xmkmf" 1>&6 6901 echo "checking for X defines extracted by xmkmf" 1>&6
6901 echo "configure:6902: checking for X defines extracted by xmkmf" >&5 6902 echo "configure:6903: checking for X defines extracted by xmkmf" >&5
6902 rm -fr conftestdir 6903 rm -fr conftestdir
6903 if mkdir conftestdir; then 6904 if mkdir conftestdir; then
6904 cd conftestdir 6905 cd conftestdir
6905 cat > Imakefile <<'EOF' 6906 cat > Imakefile <<'EOF'
6906 xetest: 6907 xetest:
6945 done 6946 done
6946 fi 6947 fi
6947 6948
6948 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6949 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6949 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6950 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6950 echo "configure:6951: checking for X11/Intrinsic.h" >&5 6951 echo "configure:6952: checking for X11/Intrinsic.h" >&5
6951 6952
6952 cat > conftest.$ac_ext <<EOF 6953 cat > conftest.$ac_ext <<EOF
6953 #line 6954 "configure" 6954 #line 6955 "configure"
6954 #include "confdefs.h" 6955 #include "confdefs.h"
6955 #include <X11/Intrinsic.h> 6956 #include <X11/Intrinsic.h>
6956 EOF 6957 EOF
6957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6958 { (eval echo configure:6959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6959 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6960 if test -z "$ac_err"; then 6961 if test -z "$ac_err"; then
6961 rm -rf conftest* 6962 rm -rf conftest*
6962 eval "ac_cv_header_$ac_safe=yes" 6963 eval "ac_cv_header_$ac_safe=yes"
6963 else 6964 else
6977 fi 6978 fi
6978 6979
6979 6980
6980 6981
6981 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6982 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6982 echo "configure:6983: checking for XOpenDisplay in -lX11" >&5 6983 echo "configure:6984: checking for XOpenDisplay in -lX11" >&5
6983 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6984 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6984 6985
6985 xe_check_libs=" -lX11 " 6986 xe_check_libs=" -lX11 "
6986 cat > conftest.$ac_ext <<EOF 6987 cat > conftest.$ac_ext <<EOF
6987 #line 6988 "configure" 6988 #line 6989 "configure"
6988 #include "confdefs.h" 6989 #include "confdefs.h"
6989 /* Override any gcc2 internal prototype to avoid an error. */ 6990 /* Override any gcc2 internal prototype to avoid an error. */
6990 /* We use char because int might match the return type of a gcc2 6991 /* We use char because int might match the return type of a gcc2
6991 builtin and then its argument prototype would still apply. */ 6992 builtin and then its argument prototype would still apply. */
6992 char XOpenDisplay(); 6993 char XOpenDisplay();
6993 6994
6994 int main() { 6995 int main() {
6995 XOpenDisplay() 6996 XOpenDisplay()
6996 ; return 0; } 6997 ; return 0; }
6997 EOF 6998 EOF
6998 if { (eval echo configure:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6999 rm -rf conftest* 7000 rm -rf conftest*
7000 eval "ac_cv_lib_$ac_lib_var=yes" 7001 eval "ac_cv_lib_$ac_lib_var=yes"
7001 else 7002 else
7002 echo "configure: failed program was:" >&5 7003 echo "configure: failed program was:" >&5
7003 cat conftest.$ac_ext >&5 7004 cat conftest.$ac_ext >&5
7018 if test "$have_lib_x11" != "yes"; then 7019 if test "$have_lib_x11" != "yes"; then
7019 7020
7020 xe_msg_checking="for XGetFontProperty in -lX11" 7021 xe_msg_checking="for XGetFontProperty in -lX11"
7021 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 7022 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
7022 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7023 echo "configure:7024: checking "$xe_msg_checking"" >&5 7024 echo "configure:7025: checking "$xe_msg_checking"" >&5
7024 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7025 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
7025 7026
7026 xe_check_libs=" -lX11 -b i486-linuxaout" 7027 xe_check_libs=" -lX11 -b i486-linuxaout"
7027 cat > conftest.$ac_ext <<EOF 7028 cat > conftest.$ac_ext <<EOF
7028 #line 7029 "configure" 7029 #line 7030 "configure"
7029 #include "confdefs.h" 7030 #include "confdefs.h"
7030 /* Override any gcc2 internal prototype to avoid an error. */ 7031 /* Override any gcc2 internal prototype to avoid an error. */
7031 /* We use char because int might match the return type of a gcc2 7032 /* We use char because int might match the return type of a gcc2
7032 builtin and then its argument prototype would still apply. */ 7033 builtin and then its argument prototype would still apply. */
7033 char XGetFontProperty(); 7034 char XGetFontProperty();
7034 7035
7035 int main() { 7036 int main() {
7036 XGetFontProperty() 7037 XGetFontProperty()
7037 ; return 0; } 7038 ; return 0; }
7038 EOF 7039 EOF
7039 if { (eval echo configure:7040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7040 rm -rf conftest* 7041 rm -rf conftest*
7041 eval "ac_cv_lib_$ac_lib_var=yes" 7042 eval "ac_cv_lib_$ac_lib_var=yes"
7042 else 7043 else
7043 echo "configure: failed program was:" >&5 7044 echo "configure: failed program was:" >&5
7044 cat conftest.$ac_ext >&5 7045 cat conftest.$ac_ext >&5
7061 libs_x="-lX11" 7062 libs_x="-lX11"
7062 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7063 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7063 7064
7064 7065
7065 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 7066 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
7066 echo "configure:7067: checking for XShapeSelectInput in -lXext" >&5 7067 echo "configure:7068: checking for XShapeSelectInput in -lXext" >&5
7067 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7068 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7068 7069
7069 xe_check_libs=" -lXext " 7070 xe_check_libs=" -lXext "
7070 cat > conftest.$ac_ext <<EOF 7071 cat > conftest.$ac_ext <<EOF
7071 #line 7072 "configure" 7072 #line 7073 "configure"
7072 #include "confdefs.h" 7073 #include "confdefs.h"
7073 /* Override any gcc2 internal prototype to avoid an error. */ 7074 /* Override any gcc2 internal prototype to avoid an error. */
7074 /* We use char because int might match the return type of a gcc2 7075 /* We use char because int might match the return type of a gcc2
7075 builtin and then its argument prototype would still apply. */ 7076 builtin and then its argument prototype would still apply. */
7076 char XShapeSelectInput(); 7077 char XShapeSelectInput();
7077 7078
7078 int main() { 7079 int main() {
7079 XShapeSelectInput() 7080 XShapeSelectInput()
7080 ; return 0; } 7081 ; return 0; }
7081 EOF 7082 EOF
7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7083 rm -rf conftest* 7084 rm -rf conftest*
7084 eval "ac_cv_lib_$ac_lib_var=yes" 7085 eval "ac_cv_lib_$ac_lib_var=yes"
7085 else 7086 else
7086 echo "configure: failed program was:" >&5 7087 echo "configure: failed program was:" >&5
7087 cat conftest.$ac_ext >&5 7088 cat conftest.$ac_ext >&5
7100 7101
7101 7102
7102 7103
7103 7104
7104 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 7105 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
7105 echo "configure:7106: checking for XtOpenDisplay in -lXt" >&5 7106 echo "configure:7107: checking for XtOpenDisplay in -lXt" >&5
7106 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7107 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7107 7108
7108 xe_check_libs=" -lXt " 7109 xe_check_libs=" -lXt "
7109 cat > conftest.$ac_ext <<EOF 7110 cat > conftest.$ac_ext <<EOF
7110 #line 7111 "configure" 7111 #line 7112 "configure"
7111 #include "confdefs.h" 7112 #include "confdefs.h"
7112 /* Override any gcc2 internal prototype to avoid an error. */ 7113 /* Override any gcc2 internal prototype to avoid an error. */
7113 /* We use char because int might match the return type of a gcc2 7114 /* We use char because int might match the return type of a gcc2
7114 builtin and then its argument prototype would still apply. */ 7115 builtin and then its argument prototype would still apply. */
7115 char XtOpenDisplay(); 7116 char XtOpenDisplay();
7116 7117
7117 int main() { 7118 int main() {
7118 XtOpenDisplay() 7119 XtOpenDisplay()
7119 ; return 0; } 7120 ; return 0; }
7120 EOF 7121 EOF
7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7122 if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7122 rm -rf conftest* 7123 rm -rf conftest*
7123 eval "ac_cv_lib_$ac_lib_var=yes" 7124 eval "ac_cv_lib_$ac_lib_var=yes"
7124 else 7125 else
7125 echo "configure: failed program was:" >&5 7126 echo "configure: failed program was:" >&5
7126 cat conftest.$ac_ext >&5 7127 cat conftest.$ac_ext >&5
7139 fi 7140 fi
7140 7141
7141 7142
7142 7143
7143 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 7144 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
7144 echo "configure:7145: checking the version of X11 being used" >&5 7145 echo "configure:7146: checking the version of X11 being used" >&5
7145 cat > conftest.$ac_ext <<EOF 7146 cat > conftest.$ac_ext <<EOF
7146 #line 7147 "configure" 7147 #line 7148 "configure"
7147 #include "confdefs.h" 7148 #include "confdefs.h"
7148 #include <X11/Intrinsic.h> 7149 #include <X11/Intrinsic.h>
7149 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7150 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7150 EOF 7151 EOF
7151 if { (eval echo configure:7152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7152 if { (eval echo configure:7153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7152 then 7153 then
7153 ./conftest foobar; x11_release=$? 7154 ./conftest foobar; x11_release=$?
7154 else 7155 else
7155 conftest_rc="$?" 7156 conftest_rc="$?"
7156 echo "configure: failed program was:" >&5 7157 echo "configure: failed program was:" >&5
7177 fi 7178 fi
7178 7179
7179 for ac_func in XConvertCase 7180 for ac_func in XConvertCase
7180 do 7181 do
7181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7182 echo "configure:7183: checking for $ac_func" >&5 7183 echo "configure:7184: checking for $ac_func" >&5
7183 7184
7184 cat > conftest.$ac_ext <<EOF 7185 cat > conftest.$ac_ext <<EOF
7185 #line 7186 "configure" 7186 #line 7187 "configure"
7186 #include "confdefs.h" 7187 #include "confdefs.h"
7187 /* System header to define __stub macros and hopefully few prototypes, 7188 /* System header to define __stub macros and hopefully few prototypes,
7188 which can conflict with char $ac_func(); below. */ 7189 which can conflict with char $ac_func(); below. */
7189 #include <assert.h> 7190 #include <assert.h>
7190 /* Override any gcc2 internal prototype to avoid an error. */ 7191 /* Override any gcc2 internal prototype to avoid an error. */
7203 $ac_func(); 7204 $ac_func();
7204 #endif 7205 #endif
7205 7206
7206 ; return 0; } 7207 ; return 0; }
7207 EOF 7208 EOF
7208 if { (eval echo configure:7209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7209 if { (eval echo configure:7210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7209 rm -rf conftest* 7210 rm -rf conftest*
7210 eval "ac_cv_func_$ac_func=yes" 7211 eval "ac_cv_func_$ac_func=yes"
7211 else 7212 else
7212 echo "configure: failed program was:" >&5 7213 echo "configure: failed program was:" >&5
7213 cat conftest.$ac_ext >&5 7214 cat conftest.$ac_ext >&5
7235 7236
7236 for ac_hdr in X11/Xlocale.h 7237 for ac_hdr in X11/Xlocale.h
7237 do 7238 do
7238 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7239 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7240 echo "configure:7241: checking for $ac_hdr" >&5 7241 echo "configure:7242: checking for $ac_hdr" >&5
7241 7242
7242 cat > conftest.$ac_ext <<EOF 7243 cat > conftest.$ac_ext <<EOF
7243 #line 7244 "configure" 7244 #line 7245 "configure"
7244 #include "confdefs.h" 7245 #include "confdefs.h"
7245 #include <$ac_hdr> 7246 #include <$ac_hdr>
7246 EOF 7247 EOF
7247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7248 { (eval echo configure:7249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7249 { (eval echo configure:7250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7250 if test -z "$ac_err"; then 7251 if test -z "$ac_err"; then
7251 rm -rf conftest* 7252 rm -rf conftest*
7252 eval "ac_cv_header_$ac_safe=yes" 7253 eval "ac_cv_header_$ac_safe=yes"
7253 else 7254 else
7276 7277
7277 7278
7278 for ac_func in XRegisterIMInstantiateCallback 7279 for ac_func in XRegisterIMInstantiateCallback
7279 do 7280 do
7280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7281 echo "configure:7282: checking for $ac_func" >&5 7282 echo "configure:7283: checking for $ac_func" >&5
7282 7283
7283 cat > conftest.$ac_ext <<EOF 7284 cat > conftest.$ac_ext <<EOF
7284 #line 7285 "configure" 7285 #line 7286 "configure"
7285 #include "confdefs.h" 7286 #include "confdefs.h"
7286 /* System header to define __stub macros and hopefully few prototypes, 7287 /* System header to define __stub macros and hopefully few prototypes,
7287 which can conflict with char $ac_func(); below. */ 7288 which can conflict with char $ac_func(); below. */
7288 #include <assert.h> 7289 #include <assert.h>
7289 /* Override any gcc2 internal prototype to avoid an error. */ 7290 /* Override any gcc2 internal prototype to avoid an error. */
7302 $ac_func(); 7303 $ac_func();
7303 #endif 7304 #endif
7304 7305
7305 ; return 0; } 7306 ; return 0; }
7306 EOF 7307 EOF
7307 if { (eval echo configure:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7308 if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7308 rm -rf conftest* 7309 rm -rf conftest*
7309 eval "ac_cv_func_$ac_func=yes" 7310 eval "ac_cv_func_$ac_func=yes"
7310 else 7311 else
7311 echo "configure: failed program was:" >&5 7312 echo "configure: failed program was:" >&5
7312 cat conftest.$ac_ext >&5 7313 cat conftest.$ac_ext >&5
7330 echo "$ac_t""no" 1>&6 7331 echo "$ac_t""no" 1>&6
7331 fi 7332 fi
7332 done 7333 done
7333 7334
7334 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 7335 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
7335 echo "configure:7336: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7336 echo "configure:7337: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7336 cat > conftest.$ac_ext <<EOF 7337 cat > conftest.$ac_ext <<EOF
7337 #line 7338 "configure" 7338 #line 7339 "configure"
7338 #include "confdefs.h" 7339 #include "confdefs.h"
7339 7340
7340 #define NeedFunctionPrototypes 1 7341 #define NeedFunctionPrototypes 1
7341 #include <X11/Xlib.h> 7342 #include <X11/Xlib.h>
7342 extern Bool XRegisterIMInstantiateCallback( 7343 extern Bool XRegisterIMInstantiateCallback(
7344 7345
7345 int main() { 7346 int main() {
7346 7347
7347 ; return 0; } 7348 ; return 0; }
7348 EOF 7349 EOF
7349 if { (eval echo configure:7350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7350 if { (eval echo configure:7351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7350 rm -rf conftest* 7351 rm -rf conftest*
7351 echo "$ac_t""yes" 1>&6 7352 echo "$ac_t""yes" 1>&6
7352 else 7353 else
7353 echo "configure: failed program was:" >&5 7354 echo "configure: failed program was:" >&5
7354 cat conftest.$ac_ext >&5 7355 cat conftest.$ac_ext >&5
7365 fi 7366 fi
7366 rm -f conftest* 7367 rm -f conftest*
7367 7368
7368 test -z "$with_xmu" && { 7369 test -z "$with_xmu" && {
7369 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 7370 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
7370 echo "configure:7371: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7371 echo "configure:7372: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7371 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7372 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7372 7373
7373 xe_check_libs=" -lXmu " 7374 xe_check_libs=" -lXmu "
7374 cat > conftest.$ac_ext <<EOF 7375 cat > conftest.$ac_ext <<EOF
7375 #line 7376 "configure" 7376 #line 7377 "configure"
7376 #include "confdefs.h" 7377 #include "confdefs.h"
7377 /* Override any gcc2 internal prototype to avoid an error. */ 7378 /* Override any gcc2 internal prototype to avoid an error. */
7378 /* We use char because int might match the return type of a gcc2 7379 /* We use char because int might match the return type of a gcc2
7379 builtin and then its argument prototype would still apply. */ 7380 builtin and then its argument prototype would still apply. */
7380 char XmuReadBitmapDataFromFile(); 7381 char XmuReadBitmapDataFromFile();
7381 7382
7382 int main() { 7383 int main() {
7383 XmuReadBitmapDataFromFile() 7384 XmuReadBitmapDataFromFile()
7384 ; return 0; } 7385 ; return 0; }
7385 EOF 7386 EOF
7386 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7387 rm -rf conftest* 7388 rm -rf conftest*
7388 eval "ac_cv_lib_$ac_lib_var=yes" 7389 eval "ac_cv_lib_$ac_lib_var=yes"
7389 else 7390 else
7390 echo "configure: failed program was:" >&5 7391 echo "configure: failed program was:" >&5
7391 cat conftest.$ac_ext >&5 7392 cat conftest.$ac_ext >&5
7420 7421
7421 fi 7422 fi
7422 7423
7423 7424
7424 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7425 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7425 echo "configure:7426: checking for main in -lXbsd" >&5 7426 echo "configure:7427: checking for main in -lXbsd" >&5
7426 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7427 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7427 7428
7428 xe_check_libs=" -lXbsd " 7429 xe_check_libs=" -lXbsd "
7429 cat > conftest.$ac_ext <<EOF 7430 cat > conftest.$ac_ext <<EOF
7430 #line 7431 "configure" 7431 #line 7432 "configure"
7431 #include "confdefs.h" 7432 #include "confdefs.h"
7432 7433
7433 int main() { 7434 int main() {
7434 main() 7435 main()
7435 ; return 0; } 7436 ; return 0; }
7436 EOF 7437 EOF
7437 if { (eval echo configure:7438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7438 if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7438 rm -rf conftest* 7439 rm -rf conftest*
7439 eval "ac_cv_lib_$ac_lib_var=yes" 7440 eval "ac_cv_lib_$ac_lib_var=yes"
7440 else 7441 else
7441 echo "configure: failed program was:" >&5 7442 echo "configure: failed program was:" >&5
7442 cat conftest.$ac_ext >&5 7443 cat conftest.$ac_ext >&5
7469 fi 7470 fi
7470 7471
7471 fi 7472 fi
7472 if test "$with_msw" != "no"; then 7473 if test "$with_msw" != "no"; then
7473 echo "checking for MS-Windows" 1>&6 7474 echo "checking for MS-Windows" 1>&6
7474 echo "configure:7475: checking for MS-Windows" >&5 7475 echo "configure:7476: checking for MS-Windows" >&5
7475 7476
7476 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7477 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7477 echo "configure:7478: checking for main in -lgdi32" >&5 7478 echo "configure:7479: checking for main in -lgdi32" >&5
7478 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7479 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7479 7480
7480 xe_check_libs=" -lgdi32 " 7481 xe_check_libs=" -lgdi32 "
7481 cat > conftest.$ac_ext <<EOF 7482 cat > conftest.$ac_ext <<EOF
7482 #line 7483 "configure" 7483 #line 7484 "configure"
7483 #include "confdefs.h" 7484 #include "confdefs.h"
7484 7485
7485 int main() { 7486 int main() {
7486 main() 7487 main()
7487 ; return 0; } 7488 ; return 0; }
7488 EOF 7489 EOF
7489 if { (eval echo configure:7490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7490 rm -rf conftest* 7491 rm -rf conftest*
7491 eval "ac_cv_lib_$ac_lib_var=yes" 7492 eval "ac_cv_lib_$ac_lib_var=yes"
7492 else 7493 else
7493 echo "configure: failed program was:" >&5 7494 echo "configure: failed program was:" >&5
7494 cat conftest.$ac_ext >&5 7495 cat conftest.$ac_ext >&5
7535 test "$with_toolbars" != "no" && with_toolbars=msw 7536 test "$with_toolbars" != "no" && with_toolbars=msw
7536 test "$with_dialogs" != "no" && with_dialogs=msw 7537 test "$with_dialogs" != "no" && with_dialogs=msw
7537 test "$with_widgets" != "no" && with_widgets=msw 7538 test "$with_widgets" != "no" && with_widgets=msw
7538 fi 7539 fi
7539 cat > conftest.$ac_ext <<EOF 7540 cat > conftest.$ac_ext <<EOF
7540 #line 7541 "configure" 7541 #line 7542 "configure"
7541 #include "confdefs.h" 7542 #include "confdefs.h"
7542 #include <fcntl.h> 7543 #include <fcntl.h>
7543 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7544 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7544 EOF 7545 EOF
7545 if { (eval echo configure:7546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7546 then 7547 then
7547 { test "$extra_verbose" = "yes" && cat << \EOF 7548 { test "$extra_verbose" = "yes" && cat << \EOF
7548 Defining HAVE_MSG_SELECT 7549 Defining HAVE_MSG_SELECT
7549 EOF 7550 EOF
7550 cat >> confdefs.h <<\EOF 7551 cat >> confdefs.h <<\EOF
7601 fi 7602 fi
7602 7603
7603 if test "$with_x11" = "yes"; then 7604 if test "$with_x11" = "yes"; then
7604 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7605 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7605 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7606 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7606 echo "configure:7607: checking for X11/extensions/shape.h" >&5 7607 echo "configure:7608: checking for X11/extensions/shape.h" >&5
7607 7608
7608 cat > conftest.$ac_ext <<EOF 7609 cat > conftest.$ac_ext <<EOF
7609 #line 7610 "configure" 7610 #line 7611 "configure"
7610 #include "confdefs.h" 7611 #include "confdefs.h"
7611 #include <X11/extensions/shape.h> 7612 #include <X11/extensions/shape.h>
7612 EOF 7613 EOF
7613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7614 { (eval echo configure:7615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7616 if test -z "$ac_err"; then 7617 if test -z "$ac_err"; then
7617 rm -rf conftest* 7618 rm -rf conftest*
7618 eval "ac_cv_header_$ac_safe=yes" 7619 eval "ac_cv_header_$ac_safe=yes"
7619 else 7620 else
7659 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7660 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7660 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7661 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7661 esac 7662 esac
7662 7663
7663 echo "checking for WM_COMMAND option" 1>&6 7664 echo "checking for WM_COMMAND option" 1>&6
7664 echo "configure:7665: checking for WM_COMMAND option" >&5; 7665 echo "configure:7666: checking for WM_COMMAND option" >&5;
7665 if test "$with_wmcommand" != "no"; then 7666 if test "$with_wmcommand" != "no"; then
7666 { test "$extra_verbose" = "yes" && cat << \EOF 7667 { test "$extra_verbose" = "yes" && cat << \EOF
7667 Defining HAVE_WMCOMMAND 7668 Defining HAVE_WMCOMMAND
7668 EOF 7669 EOF
7669 cat >> confdefs.h <<\EOF 7670 cat >> confdefs.h <<\EOF
7674 fi 7675 fi
7675 7676
7676 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7677 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7677 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7678 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7678 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7679 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7679 echo "configure:7680: checking for X11/Xauth.h" >&5 7680 echo "configure:7681: checking for X11/Xauth.h" >&5
7680 7681
7681 cat > conftest.$ac_ext <<EOF 7682 cat > conftest.$ac_ext <<EOF
7682 #line 7683 "configure" 7683 #line 7684 "configure"
7683 #include "confdefs.h" 7684 #include "confdefs.h"
7684 #include <X11/Xauth.h> 7685 #include <X11/Xauth.h>
7685 EOF 7686 EOF
7686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7687 { (eval echo configure:7688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7688 { (eval echo configure:7689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7689 if test -z "$ac_err"; then 7690 if test -z "$ac_err"; then
7690 rm -rf conftest* 7691 rm -rf conftest*
7691 eval "ac_cv_header_$ac_safe=yes" 7692 eval "ac_cv_header_$ac_safe=yes"
7692 else 7693 else
7705 with_xauth=no 7706 with_xauth=no
7706 fi 7707 fi
7707 } 7708 }
7708 test -z "$with_xauth" && { 7709 test -z "$with_xauth" && {
7709 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7710 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7710 echo "configure:7711: checking for XauGetAuthByAddr in -lXau" >&5 7711 echo "configure:7712: checking for XauGetAuthByAddr in -lXau" >&5
7711 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7712 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7712 7713
7713 xe_check_libs=" -lXau " 7714 xe_check_libs=" -lXau "
7714 cat > conftest.$ac_ext <<EOF 7715 cat > conftest.$ac_ext <<EOF
7715 #line 7716 "configure" 7716 #line 7717 "configure"
7716 #include "confdefs.h" 7717 #include "confdefs.h"
7717 /* Override any gcc2 internal prototype to avoid an error. */ 7718 /* Override any gcc2 internal prototype to avoid an error. */
7718 /* We use char because int might match the return type of a gcc2 7719 /* We use char because int might match the return type of a gcc2
7719 builtin and then its argument prototype would still apply. */ 7720 builtin and then its argument prototype would still apply. */
7720 char XauGetAuthByAddr(); 7721 char XauGetAuthByAddr();
7721 7722
7722 int main() { 7723 int main() {
7723 XauGetAuthByAddr() 7724 XauGetAuthByAddr()
7724 ; return 0; } 7725 ; return 0; }
7725 EOF 7726 EOF
7726 if { (eval echo configure:7727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7727 rm -rf conftest* 7728 rm -rf conftest*
7728 eval "ac_cv_lib_$ac_lib_var=yes" 7729 eval "ac_cv_lib_$ac_lib_var=yes"
7729 else 7730 else
7730 echo "configure: failed program was:" >&5 7731 echo "configure: failed program was:" >&5
7731 cat conftest.$ac_ext >&5 7732 cat conftest.$ac_ext >&5
7772 fi 7773 fi
7773 7774
7774 7775
7775 if test "$with_modules" != "no"; then 7776 if test "$with_modules" != "no"; then
7776 echo "checking for module support" 1>&6 7777 echo "checking for module support" 1>&6
7777 echo "configure:7778: checking for module support" >&5 7778 echo "configure:7779: checking for module support" >&5
7778 7779
7779 case "$opsys" in 7780 case "$opsys" in
7780 mingw* | cygwin* ) have_dl=yes ;; 7781 mingw* | cygwin* ) have_dl=yes ;;
7781 darwin ) have_dl=yes 7782 darwin ) have_dl=yes
7782 { test "$extra_verbose" = "yes" && cat << \EOF 7783 { test "$extra_verbose" = "yes" && cat << \EOF
7789 7790
7790 ;; 7791 ;;
7791 * ) 7792 * )
7792 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7793 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7793 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7794 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7794 echo "configure:7795: checking for dlfcn.h" >&5 7795 echo "configure:7796: checking for dlfcn.h" >&5
7795 7796
7796 cat > conftest.$ac_ext <<EOF 7797 cat > conftest.$ac_ext <<EOF
7797 #line 7798 "configure" 7798 #line 7799 "configure"
7798 #include "confdefs.h" 7799 #include "confdefs.h"
7799 #include <dlfcn.h> 7800 #include <dlfcn.h>
7800 EOF 7801 EOF
7801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7802 { (eval echo configure:7803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7804 if test -z "$ac_err"; then 7805 if test -z "$ac_err"; then
7805 rm -rf conftest* 7806 rm -rf conftest*
7806 eval "ac_cv_header_$ac_safe=yes" 7807 eval "ac_cv_header_$ac_safe=yes"
7807 else 7808 else
7814 rm -f conftest* 7815 rm -f conftest*
7815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7816 echo "$ac_t""yes" 1>&6 7817 echo "$ac_t""yes" 1>&6
7817 7818
7818 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 7819 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
7819 echo "configure:7820: checking for dlopen in -lc" >&5 7820 echo "configure:7821: checking for dlopen in -lc" >&5
7820 cat > conftest.$ac_ext <<EOF 7821 cat > conftest.$ac_ext <<EOF
7821 #line 7822 "configure" 7822 #line 7823 "configure"
7822 #include "confdefs.h" 7823 #include "confdefs.h"
7823 #include <dlfcn.h> 7824 #include <dlfcn.h>
7824 int main() { 7825 int main() {
7825 dlopen ("", 0); 7826 dlopen ("", 0);
7826 ; return 0; } 7827 ; return 0; }
7827 EOF 7828 EOF
7828 if { (eval echo configure:7829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7829 rm -rf conftest* 7830 rm -rf conftest*
7830 have_dl=yes 7831 have_dl=yes
7831 else 7832 else
7832 echo "configure: failed program was:" >&5 7833 echo "configure: failed program was:" >&5
7833 cat conftest.$ac_ext >&5 7834 cat conftest.$ac_ext >&5
7834 rm -rf conftest* 7835 rm -rf conftest*
7835 7836
7836 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 7837 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7837 echo "configure:7838: checking for dlopen in -ldl" >&5 7838 echo "configure:7839: checking for dlopen in -ldl" >&5
7838 ac_save_LIBS="$LIBS" 7839 ac_save_LIBS="$LIBS"
7839 LIBS="$LIBS -ldl" 7840 LIBS="$LIBS -ldl"
7840 cat > conftest.$ac_ext <<EOF 7841 cat > conftest.$ac_ext <<EOF
7841 #line 7842 "configure" 7842 #line 7843 "configure"
7842 #include "confdefs.h" 7843 #include "confdefs.h"
7843 #include <dlfcn.h> 7844 #include <dlfcn.h>
7844 int main() { 7845 int main() {
7845 dlopen ("", 0); 7846 dlopen ("", 0);
7846 ; return 0; } 7847 ; return 0; }
7847 EOF 7848 EOF
7848 if { (eval echo configure:7849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7849 if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7849 rm -rf conftest* 7850 rm -rf conftest*
7850 have_dl=yes 7851 have_dl=yes
7851 else 7852 else
7852 echo "configure: failed program was:" >&5 7853 echo "configure: failed program was:" >&5
7853 cat conftest.$ac_ext >&5 7854 cat conftest.$ac_ext >&5
7854 rm -rf conftest* 7855 rm -rf conftest*
7855 7856
7856 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 7857 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
7857 echo "configure:7858: checking for dlopen in -lsvld" >&5 7858 echo "configure:7859: checking for dlopen in -lsvld" >&5
7858 LIBS="$ac_save_LIBS -lsvld" 7859 LIBS="$ac_save_LIBS -lsvld"
7859 cat > conftest.$ac_ext <<EOF 7860 cat > conftest.$ac_ext <<EOF
7860 #line 7861 "configure" 7861 #line 7862 "configure"
7861 #include "confdefs.h" 7862 #include "confdefs.h"
7862 #include <dlfcn.h> 7863 #include <dlfcn.h>
7863 int main() { 7864 int main() {
7864 dlopen ("", 0); 7865 dlopen ("", 0);
7865 ; return 0; } 7866 ; return 0; }
7866 EOF 7867 EOF
7867 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7868 if { (eval echo configure:7869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7868 rm -rf conftest* 7869 rm -rf conftest*
7869 have_dl=yes 7870 have_dl=yes
7870 else 7871 else
7871 echo "configure: failed program was:" >&5 7872 echo "configure: failed program was:" >&5
7872 cat conftest.$ac_ext >&5 7873 cat conftest.$ac_ext >&5
7892 } 7893 }
7893 7894
7894 else 7895 else
7895 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` 7896 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'`
7896 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 7897 echo $ac_n "checking for dl.h""... $ac_c" 1>&6
7897 echo "configure:7898: checking for dl.h" >&5 7898 echo "configure:7899: checking for dl.h" >&5
7898 7899
7899 cat > conftest.$ac_ext <<EOF 7900 cat > conftest.$ac_ext <<EOF
7900 #line 7901 "configure" 7901 #line 7902 "configure"
7901 #include "confdefs.h" 7902 #include "confdefs.h"
7902 #include <dl.h> 7903 #include <dl.h>
7903 EOF 7904 EOF
7904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7905 { (eval echo configure:7906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7906 { (eval echo configure:7907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7907 if test -z "$ac_err"; then 7908 if test -z "$ac_err"; then
7908 rm -rf conftest* 7909 rm -rf conftest*
7909 eval "ac_cv_header_$ac_safe=yes" 7910 eval "ac_cv_header_$ac_safe=yes"
7910 else 7911 else
7917 rm -f conftest* 7918 rm -f conftest*
7918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7919 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7919 echo "$ac_t""yes" 1>&6 7920 echo "$ac_t""yes" 1>&6
7920 7921
7921 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 7922 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6
7922 echo "configure:7923: checking for shl_load in -lc" >&5 7923 echo "configure:7924: checking for shl_load in -lc" >&5
7923 cat > conftest.$ac_ext <<EOF 7924 cat > conftest.$ac_ext <<EOF
7924 #line 7925 "configure" 7925 #line 7926 "configure"
7925 #include "confdefs.h" 7926 #include "confdefs.h"
7926 #include <dl.h> 7927 #include <dl.h>
7927 int main() { 7928 int main() {
7928 shl_load ("", 0, 0); 7929 shl_load ("", 0, 0);
7929 ; return 0; } 7930 ; return 0; }
7930 EOF 7931 EOF
7931 if { (eval echo configure:7932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7932 if { (eval echo configure:7933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7932 rm -rf conftest* 7933 rm -rf conftest*
7933 have_dl=yes 7934 have_dl=yes
7934 else 7935 else
7935 echo "configure: failed program was:" >&5 7936 echo "configure: failed program was:" >&5
7936 cat conftest.$ac_ext >&5 7937 cat conftest.$ac_ext >&5
7937 rm -rf conftest* 7938 rm -rf conftest*
7938 7939
7939 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 7940 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6
7940 echo "configure:7941: checking for shl_load in -ldl" >&5 7941 echo "configure:7942: checking for shl_load in -ldl" >&5
7941 ac_save_LIBS="$LIBS" 7942 ac_save_LIBS="$LIBS"
7942 LIBS="$LIBS -ldld" 7943 LIBS="$LIBS -ldld"
7943 cat > conftest.$ac_ext <<EOF 7944 cat > conftest.$ac_ext <<EOF
7944 #line 7945 "configure" 7945 #line 7946 "configure"
7945 #include "confdefs.h" 7946 #include "confdefs.h"
7946 #include <dl.h> 7947 #include <dl.h>
7947 int main() { 7948 int main() {
7948 shl_load ("", 0, 0); 7949 shl_load ("", 0, 0);
7949 ; return 0; } 7950 ; return 0; }
7950 EOF 7951 EOF
7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7952 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7952 rm -rf conftest* 7953 rm -rf conftest*
7953 have_dl=yes 7954 have_dl=yes
7954 else 7955 else
7955 echo "configure: failed program was:" >&5 7956 echo "configure: failed program was:" >&5
7956 cat conftest.$ac_ext >&5 7957 cat conftest.$ac_ext >&5
7974 } 7975 }
7975 7976
7976 else 7977 else
7977 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` 7978 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
7978 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 7979 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
7979 echo "configure:7980: checking for ltdl.h" >&5 7980 echo "configure:7981: checking for ltdl.h" >&5
7980 7981
7981 cat > conftest.$ac_ext <<EOF 7982 cat > conftest.$ac_ext <<EOF
7982 #line 7983 "configure" 7983 #line 7984 "configure"
7983 #include "confdefs.h" 7984 #include "confdefs.h"
7984 #include <ltdl.h> 7985 #include <ltdl.h>
7985 EOF 7986 EOF
7986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7987 { (eval echo configure:7988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7988 { (eval echo configure:7989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7989 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7989 if test -z "$ac_err"; then 7990 if test -z "$ac_err"; then
7990 rm -rf conftest* 7991 rm -rf conftest*
7991 eval "ac_cv_header_$ac_safe=yes" 7992 eval "ac_cv_header_$ac_safe=yes"
7992 else 7993 else
7999 rm -f conftest* 8000 rm -f conftest*
8000 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8001 echo "$ac_t""yes" 1>&6 8002 echo "$ac_t""yes" 1>&6
8002 8003
8003 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 8004 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
8004 echo "configure:8005: checking for lt_dlinit in -lltdl" >&5 8005 echo "configure:8006: checking for lt_dlinit in -lltdl" >&5
8005 ac_save_LIBS="$LIBS" 8006 ac_save_LIBS="$LIBS"
8006 LIBS="$LIBS -lltdl" 8007 LIBS="$LIBS -lltdl"
8007 cat > conftest.$ac_ext <<EOF 8008 cat > conftest.$ac_ext <<EOF
8008 #line 8009 "configure" 8009 #line 8010 "configure"
8009 #include "confdefs.h" 8010 #include "confdefs.h"
8010 #include <ltdl.h> 8011 #include <ltdl.h>
8011 int main() { 8012 int main() {
8012 lt_dlinit (); 8013 lt_dlinit ();
8013 ; return 0; } 8014 ; return 0; }
8014 EOF 8015 EOF
8015 if { (eval echo configure:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8016 if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8016 rm -rf conftest* 8017 rm -rf conftest*
8017 have_dl=yes 8018 have_dl=yes
8018 else 8019 else
8019 echo "configure: failed program was:" >&5 8020 echo "configure: failed program was:" >&5
8020 cat conftest.$ac_ext >&5 8021 cat conftest.$ac_ext >&5
8051 ld_dynamic_link_flags= 8052 ld_dynamic_link_flags=
8052 xehost=$canonical 8053 xehost=$canonical
8053 xealias=$internal_configuration 8054 xealias=$internal_configuration
8054 8055
8055 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 8056 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
8056 echo "configure:8057: checking how to build dynamic libraries for ${xehost}" >&5 8057 echo "configure:8058: checking how to build dynamic libraries for ${xehost}" >&5
8057 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 8058 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
8058 case "$xehost" in 8059 case "$xehost" in
8059 *-*-linux-gnu*) ;; 8060 *-*-linux-gnu*) ;;
8060 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 8061 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
8061 esac 8062 esac
8079 # Now see if the compiler is really GCC. 8080 # Now see if the compiler is really GCC.
8080 if test "$GCC" = "yes"; then 8081 if test "$GCC" = "yes"; then
8081 XEGCC=yes 8082 XEGCC=yes
8082 else 8083 else
8083 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 8084 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
8084 echo "configure:8085: checking checking whether we are using GNU C" >&5 8085 echo "configure:8086: checking checking whether we are using GNU C" >&5
8085 cat > conftest.$ac_ext <<EOF 8086 cat > conftest.$ac_ext <<EOF
8086 #line 8087 "configure" 8087 #line 8088 "configure"
8087 #include "confdefs.h" 8088 #include "confdefs.h"
8088 8089
8089 #ifdef __GNUC__ 8090 #ifdef __GNUC__
8090 yes; 8091 yes;
8091 #endif 8092 #endif
8103 8104
8104 echo "$ac_t""${XEGCC}" 1>&6 8105 echo "$ac_t""${XEGCC}" 1>&6
8105 fi 8106 fi
8106 8107
8107 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 8108 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
8108 echo "configure:8109: checking how to produce PIC code" >&5 8109 echo "configure:8110: checking how to produce PIC code" >&5
8109 wl= 8110 wl=
8110 8111
8111 can_build_shared=yes 8112 can_build_shared=yes
8112 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8113 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8113 wl='-Wl,' 8114 wl='-Wl,'
8207 if test -n "$dll_cflags"; then 8208 if test -n "$dll_cflags"; then
8208 echo "$ac_t""${dll_cflags}" 1>&6 8209 echo "$ac_t""${dll_cflags}" 1>&6
8209 8210
8210 # Check to make sure the dll_cflags actually works. 8211 # Check to make sure the dll_cflags actually works.
8211 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 8212 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
8212 echo "configure:8213: checking if PIC flag ${dll_cflags} really works" >&5 8213 echo "configure:8214: checking if PIC flag ${dll_cflags} really works" >&5
8213 save_CFLAGS="$CFLAGS" 8214 save_CFLAGS="$CFLAGS"
8214 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8215 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8215 cat > conftest.$ac_ext <<EOF 8216 cat > conftest.$ac_ext <<EOF
8216 #line 8217 "configure" 8217 #line 8218 "configure"
8217 #include "confdefs.h" 8218 #include "confdefs.h"
8218 8219
8219 int main() { 8220 int main() {
8220 int x=0; 8221 int x=0;
8221 ; return 0; } 8222 ; return 0; }
8222 EOF 8223 EOF
8223 if { (eval echo configure:8224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8224 if { (eval echo configure:8225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8224 rm -rf conftest* 8225 rm -rf conftest*
8225 8226
8226 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 8227 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
8227 # reports no error. So, we need to grep stderr for (Bundled). 8228 # reports no error. So, we need to grep stderr for (Bundled).
8228 if grep '(Bundled)' config.log >/dev/null; then 8229 if grep '(Bundled)' config.log >/dev/null; then
8249 if test "$can_build_shared" = "yes"; then 8250 if test "$can_build_shared" = "yes"; then
8250 cc_produces_so=no 8251 cc_produces_so=no
8251 xldf= 8252 xldf=
8252 xcldf= 8253 xcldf=
8253 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 8254 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
8254 echo "configure:8255: checking if C compiler can produce shared libraries" >&5 8255 echo "configure:8256: checking if C compiler can produce shared libraries" >&5
8255 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8256 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8256 case "$xehost_os" in 8257 case "$xehost_os" in
8257 *darwin*) 8258 *darwin*)
8258 xcldf='-bundle' 8259 xcldf='-bundle'
8259 xldf='-bundle -bundle_loader ../../src/xemacs' 8260 xldf='-bundle -bundle_loader ../../src/xemacs'
8308 LDFLAGS="$xcldf $LDFLAGS" 8309 LDFLAGS="$xcldf $LDFLAGS"
8309 LIBS= 8310 LIBS=
8310 xe_libs= 8311 xe_libs=
8311 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 8312 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
8312 cat > conftest.$ac_ext <<EOF 8313 cat > conftest.$ac_ext <<EOF
8313 #line 8314 "configure" 8314 #line 8315 "configure"
8314 #include "confdefs.h" 8315 #include "confdefs.h"
8315 8316
8316 int main() { 8317 int main() {
8317 int x=0; 8318 int x=0;
8318 ; return 0; } 8319 ; return 0; }
8319 EOF 8320 EOF
8320 if { (eval echo configure:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8321 rm -rf conftest* 8322 rm -rf conftest*
8322 cc_produces_so=yes 8323 cc_produces_so=yes
8323 else 8324 else
8324 echo "configure: failed program was:" >&5 8325 echo "configure: failed program was:" >&5
8325 cat conftest.$ac_ext >&5 8326 cat conftest.$ac_ext >&5
8340 if test -z "$LTLD"; then 8341 if test -z "$LTLD"; then
8341 ac_prog=ld 8342 ac_prog=ld
8342 if test "$XEGCC" = yes; then 8343 if test "$XEGCC" = yes; then
8343 # Check if gcc -print-prog-name=ld gives a path. 8344 # Check if gcc -print-prog-name=ld gives a path.
8344 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 8345 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
8345 echo "configure:8346: checking for ld used by GCC" >&5 8346 echo "configure:8347: checking for ld used by GCC" >&5
8346 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8347 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8347 case "$ac_prog" in 8348 case "$ac_prog" in
8348 # Accept absolute paths. 8349 # Accept absolute paths.
8349 /*) 8350 /*)
8350 if test -z "$LTLD"; then 8351 if test -z "$LTLD"; then
8366 with_gnu_ld=unknown 8367 with_gnu_ld=unknown
8367 ;; 8368 ;;
8368 esac 8369 esac
8369 else 8370 else
8370 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8371 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8371 echo "configure:8372: checking for GNU ld" >&5 8372 echo "configure:8373: checking for GNU ld" >&5
8372 fi 8373 fi
8373 8374
8374 if test -z "$LTLD"; then 8375 if test -z "$LTLD"; then
8375 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8376 for ac_dir in $PATH; do 8377 for ac_dir in $PATH; do
8404 8405
8405 ld_dynamic_link_flags= 8406 ld_dynamic_link_flags=
8406 8407
8407 # Check to see if it really is or isn't GNU ld. 8408 # Check to see if it really is or isn't GNU ld.
8408 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 8409 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
8409 echo "configure:8410: checking if the linker is GNU ld" >&5 8410 echo "configure:8411: checking if the linker is GNU ld" >&5
8410 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 8411 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8411 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 8412 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8412 xe_gnu_ld=yes 8413 xe_gnu_ld=yes
8413 else 8414 else
8414 xe_gnu_ld=no 8415 xe_gnu_ld=no
8439 ld_shlibs=yes 8440 ld_shlibs=yes
8440 else 8441 else
8441 # OK - only NOW do we futz about with ld. 8442 # OK - only NOW do we futz about with ld.
8442 # See if the linker supports building shared libraries. 8443 # See if the linker supports building shared libraries.
8443 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 8444 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
8444 echo "configure:8445: checking whether the linker supports shared libraries" >&5 8445 echo "configure:8446: checking whether the linker supports shared libraries" >&5
8445 dll_ld=$CC 8446 dll_ld=$CC
8446 dll_ldflags=$LDFLAGS 8447 dll_ldflags=$LDFLAGS
8447 ld_shlibs=yes 8448 ld_shlibs=yes
8448 can_build_shared=yes 8449 can_build_shared=yes
8449 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 8450 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
8652 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 8653 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
8653 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 8654 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
8654 for ac_func in dlerror _dlerror 8655 for ac_func in dlerror _dlerror
8655 do 8656 do
8656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8657 echo "configure:8658: checking for $ac_func" >&5 8658 echo "configure:8659: checking for $ac_func" >&5
8658 8659
8659 cat > conftest.$ac_ext <<EOF 8660 cat > conftest.$ac_ext <<EOF
8660 #line 8661 "configure" 8661 #line 8662 "configure"
8661 #include "confdefs.h" 8662 #include "confdefs.h"
8662 /* System header to define __stub macros and hopefully few prototypes, 8663 /* System header to define __stub macros and hopefully few prototypes,
8663 which can conflict with char $ac_func(); below. */ 8664 which can conflict with char $ac_func(); below. */
8664 #include <assert.h> 8665 #include <assert.h>
8665 /* Override any gcc2 internal prototype to avoid an error. */ 8666 /* Override any gcc2 internal prototype to avoid an error. */
8678 $ac_func(); 8679 $ac_func();
8679 #endif 8680 #endif
8680 8681
8681 ; return 0; } 8682 ; return 0; }
8682 EOF 8683 EOF
8683 if { (eval echo configure:8684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8684 rm -rf conftest* 8685 rm -rf conftest*
8685 eval "ac_cv_func_$ac_func=yes" 8686 eval "ac_cv_func_$ac_func=yes"
8686 else 8687 else
8687 echo "configure: failed program was:" >&5 8688 echo "configure: failed program was:" >&5
8688 cat conftest.$ac_ext >&5 8689 cat conftest.$ac_ext >&5
8742 8743
8743 if test "$with_tooltalk" != "no" ; then 8744 if test "$with_tooltalk" != "no" ; then
8744 for dir in "" "Tt/" "desktop/" ; do 8745 for dir in "" "Tt/" "desktop/" ; do
8745 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8746 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8746 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 8747 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
8747 echo "configure:8748: checking for ${dir}tt_c.h" >&5 8748 echo "configure:8749: checking for ${dir}tt_c.h" >&5
8748 8749
8749 cat > conftest.$ac_ext <<EOF 8750 cat > conftest.$ac_ext <<EOF
8750 #line 8751 "configure" 8751 #line 8752 "configure"
8751 #include "confdefs.h" 8752 #include "confdefs.h"
8752 #include <${dir}tt_c.h> 8753 #include <${dir}tt_c.h>
8753 EOF 8754 EOF
8754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8755 { (eval echo configure:8756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8756 { (eval echo configure:8757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8757 if test -z "$ac_err"; then 8758 if test -z "$ac_err"; then
8758 rm -rf conftest* 8759 rm -rf conftest*
8759 eval "ac_cv_header_$ac_safe=yes" 8760 eval "ac_cv_header_$ac_safe=yes"
8760 else 8761 else
8786 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8787 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8787 8788
8788 xe_msg_checking="for tt_message_create in -ltt" 8789 xe_msg_checking="for tt_message_create in -ltt"
8789 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 8790 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
8790 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8791 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8791 echo "configure:8792: checking "$xe_msg_checking"" >&5 8792 echo "configure:8793: checking "$xe_msg_checking"" >&5
8792 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8793 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8793 8794
8794 xe_check_libs=" -ltt $extra_libs" 8795 xe_check_libs=" -ltt $extra_libs"
8795 cat > conftest.$ac_ext <<EOF 8796 cat > conftest.$ac_ext <<EOF
8796 #line 8797 "configure" 8797 #line 8798 "configure"
8797 #include "confdefs.h" 8798 #include "confdefs.h"
8798 /* Override any gcc2 internal prototype to avoid an error. */ 8799 /* Override any gcc2 internal prototype to avoid an error. */
8799 /* We use char because int might match the return type of a gcc2 8800 /* We use char because int might match the return type of a gcc2
8800 builtin and then its argument prototype would still apply. */ 8801 builtin and then its argument prototype would still apply. */
8801 char tt_message_create(); 8802 char tt_message_create();
8802 8803
8803 int main() { 8804 int main() {
8804 tt_message_create() 8805 tt_message_create()
8805 ; return 0; } 8806 ; return 0; }
8806 EOF 8807 EOF
8807 if { (eval echo configure:8808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8808 if { (eval echo configure:8809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8808 rm -rf conftest* 8809 rm -rf conftest*
8809 eval "ac_cv_lib_$ac_lib_var=yes" 8810 eval "ac_cv_lib_$ac_lib_var=yes"
8810 else 8811 else
8811 echo "configure: failed program was:" >&5 8812 echo "configure: failed program was:" >&5
8812 cat conftest.$ac_ext >&5 8813 cat conftest.$ac_ext >&5
8856 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 8857 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
8857 fi 8858 fi
8858 8859
8859 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 8860 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
8860 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 8861 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
8861 echo "configure:8862: checking for Dt/Dt.h" >&5 8862 echo "configure:8863: checking for Dt/Dt.h" >&5
8862 8863
8863 cat > conftest.$ac_ext <<EOF 8864 cat > conftest.$ac_ext <<EOF
8864 #line 8865 "configure" 8865 #line 8866 "configure"
8865 #include "confdefs.h" 8866 #include "confdefs.h"
8866 #include <Dt/Dt.h> 8867 #include <Dt/Dt.h>
8867 EOF 8868 EOF
8868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8869 { (eval echo configure:8870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8870 { (eval echo configure:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8871 if test -z "$ac_err"; then 8872 if test -z "$ac_err"; then
8872 rm -rf conftest* 8873 rm -rf conftest*
8873 eval "ac_cv_header_$ac_safe=yes" 8874 eval "ac_cv_header_$ac_safe=yes"
8874 else 8875 else
8887 with_cde=no 8888 with_cde=no
8888 fi 8889 fi
8889 } 8890 }
8890 test -z "$with_cde" && { 8891 test -z "$with_cde" && {
8891 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 8892 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
8892 echo "configure:8893: checking for DtDndDragStart in -lDtSvc" >&5 8893 echo "configure:8894: checking for DtDndDragStart in -lDtSvc" >&5
8893 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8894 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8894 8895
8895 xe_check_libs=" -lDtSvc " 8896 xe_check_libs=" -lDtSvc "
8896 cat > conftest.$ac_ext <<EOF 8897 cat > conftest.$ac_ext <<EOF
8897 #line 8898 "configure" 8898 #line 8899 "configure"
8898 #include "confdefs.h" 8899 #include "confdefs.h"
8899 /* Override any gcc2 internal prototype to avoid an error. */ 8900 /* Override any gcc2 internal prototype to avoid an error. */
8900 /* We use char because int might match the return type of a gcc2 8901 /* We use char because int might match the return type of a gcc2
8901 builtin and then its argument prototype would still apply. */ 8902 builtin and then its argument prototype would still apply. */
8902 char DtDndDragStart(); 8903 char DtDndDragStart();
8903 8904
8904 int main() { 8905 int main() {
8905 DtDndDragStart() 8906 DtDndDragStart()
8906 ; return 0; } 8907 ; return 0; }
8907 EOF 8908 EOF
8908 if { (eval echo configure:8909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8909 if { (eval echo configure:8910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8909 rm -rf conftest* 8910 rm -rf conftest*
8910 eval "ac_cv_lib_$ac_lib_var=yes" 8911 eval "ac_cv_lib_$ac_lib_var=yes"
8911 else 8912 else
8912 echo "configure: failed program was:" >&5 8913 echo "configure: failed program was:" >&5
8913 cat conftest.$ac_ext >&5 8914 cat conftest.$ac_ext >&5
8984 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 8985 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
8985 fi 8986 fi
8986 8987
8987 if test "$with_dragndrop" != "no" ; then 8988 if test "$with_dragndrop" != "no" ; then
8988 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 8989 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
8989 echo "configure:8990: checking if drag and drop API is needed" >&5 8990 echo "configure:8991: checking if drag and drop API is needed" >&5
8990 if test -n "$dragndrop_proto" ; then 8991 if test -n "$dragndrop_proto" ; then
8991 with_dragndrop=yes 8992 with_dragndrop=yes
8992 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 8993 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
8993 { test "$extra_verbose" = "yes" && cat << \EOF 8994 { test "$extra_verbose" = "yes" && cat << \EOF
8994 Defining HAVE_DRAGNDROP 8995 Defining HAVE_DRAGNDROP
9004 echo "$ac_t""no" 1>&6 9005 echo "$ac_t""no" 1>&6
9005 fi 9006 fi
9006 fi 9007 fi
9007 9008
9008 echo "checking for LDAP" 1>&6 9009 echo "checking for LDAP" 1>&6
9009 echo "configure:9010: checking for LDAP" >&5 9010 echo "configure:9011: checking for LDAP" >&5
9010 ldap_libs= 9011 ldap_libs=
9011 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 9012 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
9012 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 9013 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
9013 echo "configure:9014: checking for ldap.h" >&5 9014 echo "configure:9015: checking for ldap.h" >&5
9014 9015
9015 cat > conftest.$ac_ext <<EOF 9016 cat > conftest.$ac_ext <<EOF
9016 #line 9017 "configure" 9017 #line 9018 "configure"
9017 #include "confdefs.h" 9018 #include "confdefs.h"
9018 #include <ldap.h> 9019 #include <ldap.h>
9019 EOF 9020 EOF
9020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9021 { (eval echo configure:9022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9022 { (eval echo configure:9023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9023 if test -z "$ac_err"; then 9024 if test -z "$ac_err"; then
9024 rm -rf conftest* 9025 rm -rf conftest*
9025 eval "ac_cv_header_$ac_safe=yes" 9026 eval "ac_cv_header_$ac_safe=yes"
9026 else 9027 else
9039 with_ldap=no 9040 with_ldap=no
9040 fi 9041 fi
9041 } 9042 }
9042 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 9043 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
9043 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 9044 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
9044 echo "configure:9045: checking for lber.h" >&5 9045 echo "configure:9046: checking for lber.h" >&5
9045 9046
9046 cat > conftest.$ac_ext <<EOF 9047 cat > conftest.$ac_ext <<EOF
9047 #line 9048 "configure" 9048 #line 9049 "configure"
9048 #include "confdefs.h" 9049 #include "confdefs.h"
9049 #include <lber.h> 9050 #include <lber.h>
9050 EOF 9051 EOF
9051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9052 { (eval echo configure:9053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9053 { (eval echo configure:9054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9054 if test -z "$ac_err"; then 9055 if test -z "$ac_err"; then
9055 rm -rf conftest* 9056 rm -rf conftest*
9056 eval "ac_cv_header_$ac_safe=yes" 9057 eval "ac_cv_header_$ac_safe=yes"
9057 else 9058 else
9071 fi 9072 fi
9072 } 9073 }
9073 if test "$with_ldap" != "no"; then 9074 if test "$with_ldap" != "no"; then
9074 9075
9075 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 9076 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
9076 echo "configure:9077: checking for ldap_search in -lldap" >&5 9077 echo "configure:9078: checking for ldap_search in -lldap" >&5
9077 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 9078 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
9078 9079
9079 xe_check_libs=" -lldap " 9080 xe_check_libs=" -lldap "
9080 cat > conftest.$ac_ext <<EOF 9081 cat > conftest.$ac_ext <<EOF
9081 #line 9082 "configure" 9082 #line 9083 "configure"
9082 #include "confdefs.h" 9083 #include "confdefs.h"
9083 /* Override any gcc2 internal prototype to avoid an error. */ 9084 /* Override any gcc2 internal prototype to avoid an error. */
9084 /* We use char because int might match the return type of a gcc2 9085 /* We use char because int might match the return type of a gcc2
9085 builtin and then its argument prototype would still apply. */ 9086 builtin and then its argument prototype would still apply. */
9086 char ldap_search(); 9087 char ldap_search();
9087 9088
9088 int main() { 9089 int main() {
9089 ldap_search() 9090 ldap_search()
9090 ; return 0; } 9091 ; return 0; }
9091 EOF 9092 EOF
9092 if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9093 rm -rf conftest* 9094 rm -rf conftest*
9094 eval "ac_cv_lib_$ac_lib_var=yes" 9095 eval "ac_cv_lib_$ac_lib_var=yes"
9095 else 9096 else
9096 echo "configure: failed program was:" >&5 9097 echo "configure: failed program was:" >&5
9097 cat conftest.$ac_ext >&5 9098 cat conftest.$ac_ext >&5
9112 9113
9113 test "$with_ldap_nolber" = "no" && { 9114 test "$with_ldap_nolber" = "no" && {
9114 xe_msg_checking="for ldap_open in -lldap" 9115 xe_msg_checking="for ldap_open in -lldap"
9115 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 9116 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
9116 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9117 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9117 echo "configure:9118: checking "$xe_msg_checking"" >&5 9118 echo "configure:9119: checking "$xe_msg_checking"" >&5
9118 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9119 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9119 9120
9120 xe_check_libs=" -lldap -llber" 9121 xe_check_libs=" -lldap -llber"
9121 cat > conftest.$ac_ext <<EOF 9122 cat > conftest.$ac_ext <<EOF
9122 #line 9123 "configure" 9123 #line 9124 "configure"
9123 #include "confdefs.h" 9124 #include "confdefs.h"
9124 /* Override any gcc2 internal prototype to avoid an error. */ 9125 /* Override any gcc2 internal prototype to avoid an error. */
9125 /* We use char because int might match the return type of a gcc2 9126 /* We use char because int might match the return type of a gcc2
9126 builtin and then its argument prototype would still apply. */ 9127 builtin and then its argument prototype would still apply. */
9127 char ldap_open(); 9128 char ldap_open();
9128 9129
9129 int main() { 9130 int main() {
9130 ldap_open() 9131 ldap_open()
9131 ; return 0; } 9132 ; return 0; }
9132 EOF 9133 EOF
9133 if { (eval echo configure:9134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9134 if { (eval echo configure:9135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9134 rm -rf conftest* 9135 rm -rf conftest*
9135 eval "ac_cv_lib_$ac_lib_var=yes" 9136 eval "ac_cv_lib_$ac_lib_var=yes"
9136 else 9137 else
9137 echo "configure: failed program was:" >&5 9138 echo "configure: failed program was:" >&5
9138 cat conftest.$ac_ext >&5 9139 cat conftest.$ac_ext >&5
9153 } 9154 }
9154 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 9155 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
9155 xe_msg_checking="for ldap_open in -lldap" 9156 xe_msg_checking="for ldap_open in -lldap"
9156 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 9157 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
9157 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9158 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9158 echo "configure:9159: checking "$xe_msg_checking"" >&5 9159 echo "configure:9160: checking "$xe_msg_checking"" >&5
9159 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9160 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9160 9161
9161 xe_check_libs=" -lldap -llber -lkrb" 9162 xe_check_libs=" -lldap -llber -lkrb"
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 /* Override any gcc2 internal prototype to avoid an error. */ 9166 /* Override any gcc2 internal prototype to avoid an error. */
9166 /* We use char because int might match the return type of a gcc2 9167 /* We use char because int might match the return type of a gcc2
9167 builtin and then its argument prototype would still apply. */ 9168 builtin and then its argument prototype would still apply. */
9168 char ldap_open(); 9169 char ldap_open();
9169 9170
9170 int main() { 9171 int main() {
9171 ldap_open() 9172 ldap_open()
9172 ; return 0; } 9173 ; return 0; }
9173 EOF 9174 EOF
9174 if { (eval echo configure:9175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9175 if { (eval echo configure:9176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9175 rm -rf conftest* 9176 rm -rf conftest*
9176 eval "ac_cv_lib_$ac_lib_var=yes" 9177 eval "ac_cv_lib_$ac_lib_var=yes"
9177 else 9178 else
9178 echo "configure: failed program was:" >&5 9179 echo "configure: failed program was:" >&5
9179 cat conftest.$ac_ext >&5 9180 cat conftest.$ac_ext >&5
9194 } 9195 }
9195 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 9196 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
9196 xe_msg_checking="for ldap_open in -lldap" 9197 xe_msg_checking="for ldap_open in -lldap"
9197 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 9198 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
9198 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9199 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9199 echo "configure:9200: checking "$xe_msg_checking"" >&5 9200 echo "configure:9201: checking "$xe_msg_checking"" >&5
9200 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9201 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9201 9202
9202 xe_check_libs=" -lldap -llber -lkrb -ldes" 9203 xe_check_libs=" -lldap -llber -lkrb -ldes"
9203 cat > conftest.$ac_ext <<EOF 9204 cat > conftest.$ac_ext <<EOF
9204 #line 9205 "configure" 9205 #line 9206 "configure"
9205 #include "confdefs.h" 9206 #include "confdefs.h"
9206 /* Override any gcc2 internal prototype to avoid an error. */ 9207 /* Override any gcc2 internal prototype to avoid an error. */
9207 /* We use char because int might match the return type of a gcc2 9208 /* We use char because int might match the return type of a gcc2
9208 builtin and then its argument prototype would still apply. */ 9209 builtin and then its argument prototype would still apply. */
9209 char ldap_open(); 9210 char ldap_open();
9210 9211
9211 int main() { 9212 int main() {
9212 ldap_open() 9213 ldap_open()
9213 ; return 0; } 9214 ; return 0; }
9214 EOF 9215 EOF
9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9216 if { (eval echo configure:9217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9216 rm -rf conftest* 9217 rm -rf conftest*
9217 eval "ac_cv_lib_$ac_lib_var=yes" 9218 eval "ac_cv_lib_$ac_lib_var=yes"
9218 else 9219 else
9219 echo "configure: failed program was:" >&5 9220 echo "configure: failed program was:" >&5
9220 cat conftest.$ac_ext >&5 9221 cat conftest.$ac_ext >&5
9259 fi 9260 fi
9260 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9261 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9261 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 9262 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
9262 do 9263 do
9263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9264 echo "configure:9265: checking for $ac_func" >&5 9265 echo "configure:9266: checking for $ac_func" >&5
9265 9266
9266 cat > conftest.$ac_ext <<EOF 9267 cat > conftest.$ac_ext <<EOF
9267 #line 9268 "configure" 9268 #line 9269 "configure"
9268 #include "confdefs.h" 9269 #include "confdefs.h"
9269 /* System header to define __stub macros and hopefully few prototypes, 9270 /* System header to define __stub macros and hopefully few prototypes,
9270 which can conflict with char $ac_func(); below. */ 9271 which can conflict with char $ac_func(); below. */
9271 #include <assert.h> 9272 #include <assert.h>
9272 /* Override any gcc2 internal prototype to avoid an error. */ 9273 /* Override any gcc2 internal prototype to avoid an error. */
9285 $ac_func(); 9286 $ac_func();
9286 #endif 9287 #endif
9287 9288
9288 ; return 0; } 9289 ; return 0; }
9289 EOF 9290 EOF
9290 if { (eval echo configure:9291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9291 if { (eval echo configure:9292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9291 rm -rf conftest* 9292 rm -rf conftest*
9292 eval "ac_cv_func_$ac_func=yes" 9293 eval "ac_cv_func_$ac_func=yes"
9293 else 9294 else
9294 echo "configure: failed program was:" >&5 9295 echo "configure: failed program was:" >&5
9295 cat conftest.$ac_ext >&5 9296 cat conftest.$ac_ext >&5
9324 9325
9325 9326
9326 postgresql_libs= 9327 postgresql_libs=
9327 if test "$with_postgresql" != "no"; then 9328 if test "$with_postgresql" != "no"; then
9328 echo "checking for PostgreSQL" 1>&6 9329 echo "checking for PostgreSQL" 1>&6
9329 echo "configure:9330: checking for PostgreSQL" >&5 9330 echo "configure:9331: checking for PostgreSQL" >&5
9330 9331
9331 for header_dir in "" "pgsql/" "postgresql/"; do 9332 for header_dir in "" "pgsql/" "postgresql/"; do
9332 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9333 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9333 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 9334 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
9334 echo "configure:9335: checking for ${header_dir}libpq-fe.h" >&5 9335 echo "configure:9336: checking for ${header_dir}libpq-fe.h" >&5
9335 9336
9336 cat > conftest.$ac_ext <<EOF 9337 cat > conftest.$ac_ext <<EOF
9337 #line 9338 "configure" 9338 #line 9339 "configure"
9338 #include "confdefs.h" 9339 #include "confdefs.h"
9339 #include <${header_dir}libpq-fe.h> 9340 #include <${header_dir}libpq-fe.h>
9340 EOF 9341 EOF
9341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9342 { (eval echo configure:9343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9343 { (eval echo configure:9344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9344 if test -z "$ac_err"; then 9345 if test -z "$ac_err"; then
9345 rm -rf conftest* 9346 rm -rf conftest*
9346 eval "ac_cv_header_$ac_safe=yes" 9347 eval "ac_cv_header_$ac_safe=yes"
9347 else 9348 else
9361 9362
9362 done 9363 done
9363 9364
9364 test -n "$libpq_fe_h_file" && { 9365 test -n "$libpq_fe_h_file" && {
9365 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 9366 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
9366 echo "configure:9367: checking for PQconnectdb in -lpq" >&5 9367 echo "configure:9368: checking for PQconnectdb in -lpq" >&5
9367 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9368 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9368 9369
9369 xe_check_libs=" -lpq " 9370 xe_check_libs=" -lpq "
9370 cat > conftest.$ac_ext <<EOF 9371 cat > conftest.$ac_ext <<EOF
9371 #line 9372 "configure" 9372 #line 9373 "configure"
9372 #include "confdefs.h" 9373 #include "confdefs.h"
9373 /* Override any gcc2 internal prototype to avoid an error. */ 9374 /* Override any gcc2 internal prototype to avoid an error. */
9374 /* We use char because int might match the return type of a gcc2 9375 /* We use char because int might match the return type of a gcc2
9375 builtin and then its argument prototype would still apply. */ 9376 builtin and then its argument prototype would still apply. */
9376 char PQconnectdb(); 9377 char PQconnectdb();
9377 9378
9378 int main() { 9379 int main() {
9379 PQconnectdb() 9380 PQconnectdb()
9380 ; return 0; } 9381 ; return 0; }
9381 EOF 9382 EOF
9382 if { (eval echo configure:9383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9383 if { (eval echo configure:9384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9383 rm -rf conftest* 9384 rm -rf conftest*
9384 eval "ac_cv_lib_$ac_lib_var=yes" 9385 eval "ac_cv_lib_$ac_lib_var=yes"
9385 else 9386 else
9386 echo "configure: failed program was:" >&5 9387 echo "configure: failed program was:" >&5
9387 cat conftest.$ac_ext >&5 9388 cat conftest.$ac_ext >&5
9410 EOF 9411 EOF
9411 } 9412 }
9412 9413
9413 9414
9414 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 9415 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
9415 echo "configure:9416: checking for PQconnectStart in -lpq" >&5 9416 echo "configure:9417: checking for PQconnectStart in -lpq" >&5
9416 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9417 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9417 9418
9418 xe_check_libs=" -lpq " 9419 xe_check_libs=" -lpq "
9419 cat > conftest.$ac_ext <<EOF 9420 cat > conftest.$ac_ext <<EOF
9420 #line 9421 "configure" 9421 #line 9422 "configure"
9421 #include "confdefs.h" 9422 #include "confdefs.h"
9422 /* Override any gcc2 internal prototype to avoid an error. */ 9423 /* Override any gcc2 internal prototype to avoid an error. */
9423 /* We use char because int might match the return type of a gcc2 9424 /* We use char because int might match the return type of a gcc2
9424 builtin and then its argument prototype would still apply. */ 9425 builtin and then its argument prototype would still apply. */
9425 char PQconnectStart(); 9426 char PQconnectStart();
9426 9427
9427 int main() { 9428 int main() {
9428 PQconnectStart() 9429 PQconnectStart()
9429 ; return 0; } 9430 ; return 0; }
9430 EOF 9431 EOF
9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9432 rm -rf conftest* 9433 rm -rf conftest*
9433 eval "ac_cv_lib_$ac_lib_var=yes" 9434 eval "ac_cv_lib_$ac_lib_var=yes"
9434 else 9435 else
9435 echo "configure: failed program was:" >&5 9436 echo "configure: failed program was:" >&5
9436 cat conftest.$ac_ext >&5 9437 cat conftest.$ac_ext >&5
9477 9478
9478 9479
9479 9480
9480 if test "$window_system" != "none"; then 9481 if test "$window_system" != "none"; then
9481 echo "checking for graphics libraries" 1>&6 9482 echo "checking for graphics libraries" 1>&6
9482 echo "configure:9483: checking for graphics libraries" >&5 9483 echo "configure:9484: checking for graphics libraries" >&5
9483 9484
9484 libpath_xpm= 9485 libpath_xpm=
9485 incpath_xpm= 9486 incpath_xpm=
9486 case "$opsys" in 9487 case "$opsys" in
9487 cygwin*) 9488 cygwin*)
9503 xpm_problem="" 9504 xpm_problem=""
9504 if test -z "$with_xpm"; then 9505 if test -z "$with_xpm"; then
9505 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9506 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9506 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9507 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9507 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 9508 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
9508 echo "configure:9509: checking for Xpm - no older than 3.4f" >&5 9509 echo "configure:9510: checking for Xpm - no older than 3.4f" >&5
9509 xe_check_libs=-lXpm 9510 xe_check_libs=-lXpm
9510 cat > conftest.$ac_ext <<EOF 9511 cat > conftest.$ac_ext <<EOF
9511 #line 9512 "configure" 9512 #line 9513 "configure"
9512 #include "confdefs.h" 9513 #include "confdefs.h"
9513 #define XPM_NUMBERS 9514 #define XPM_NUMBERS
9514 #include <X11/xpm.h> 9515 #include <X11/xpm.h>
9515 int main(int c, char **v) { 9516 int main(int c, char **v) {
9516 return c == 1 ? 0 : 9517 return c == 1 ? 0 :
9517 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9518 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9518 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9519 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9519 EOF 9520 EOF
9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9521 then 9522 then
9522 ./conftest dummy_arg; xpm_status=$?; 9523 ./conftest dummy_arg; xpm_status=$?;
9523 if test "$xpm_status" = "0"; then 9524 if test "$xpm_status" = "0"; then
9524 with_xpm=yes; 9525 with_xpm=yes;
9525 else 9526 else
9559 9560
9560 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9561 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9561 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 9562 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
9562 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9563 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9563 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 9564 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
9564 echo "configure:9565: checking for \"FOR_MSW\" xpm" >&5 9565 echo "configure:9566: checking for \"FOR_MSW\" xpm" >&5
9565 xe_check_libs=-lXpm 9566 xe_check_libs=-lXpm
9566 cat > conftest.$ac_ext <<EOF 9567 cat > conftest.$ac_ext <<EOF
9567 #line 9568 "configure" 9568 #line 9569 "configure"
9568 #include "confdefs.h" 9569 #include "confdefs.h"
9569 9570
9570 int main() { 9571 int main() {
9571 XpmCreatePixmapFromData() 9572 XpmCreatePixmapFromData()
9572 ; return 0; } 9573 ; return 0; }
9573 EOF 9574 EOF
9574 if { (eval echo configure:9575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9575 rm -rf conftest* 9576 rm -rf conftest*
9576 xpm_for_msw=no 9577 xpm_for_msw=no
9577 else 9578 else
9578 echo "configure: failed program was:" >&5 9579 echo "configure: failed program was:" >&5
9579 cat conftest.$ac_ext >&5 9580 cat conftest.$ac_ext >&5
9595 fi 9596 fi
9596 fi 9597 fi
9597 9598
9598 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9599 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9599 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9600 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9600 echo "configure:9601: checking for compface.h" >&5 9601 echo "configure:9602: checking for compface.h" >&5
9601 9602
9602 cat > conftest.$ac_ext <<EOF 9603 cat > conftest.$ac_ext <<EOF
9603 #line 9604 "configure" 9604 #line 9605 "configure"
9604 #include "confdefs.h" 9605 #include "confdefs.h"
9605 #include <compface.h> 9606 #include <compface.h>
9606 EOF 9607 EOF
9607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9608 { (eval echo configure:9609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9609 { (eval echo configure:9610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9610 if test -z "$ac_err"; then 9611 if test -z "$ac_err"; then
9611 rm -rf conftest* 9612 rm -rf conftest*
9612 eval "ac_cv_header_$ac_safe=yes" 9613 eval "ac_cv_header_$ac_safe=yes"
9613 else 9614 else
9626 with_xface=no 9627 with_xface=no
9627 fi 9628 fi
9628 } 9629 }
9629 test -z "$with_xface" && { 9630 test -z "$with_xface" && {
9630 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 9631 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9631 echo "configure:9632: checking for UnGenFace in -lcompface" >&5 9632 echo "configure:9633: checking for UnGenFace in -lcompface" >&5
9632 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9633 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9633 9634
9634 xe_check_libs=" -lcompface " 9635 xe_check_libs=" -lcompface "
9635 cat > conftest.$ac_ext <<EOF 9636 cat > conftest.$ac_ext <<EOF
9636 #line 9637 "configure" 9637 #line 9638 "configure"
9637 #include "confdefs.h" 9638 #include "confdefs.h"
9638 /* Override any gcc2 internal prototype to avoid an error. */ 9639 /* Override any gcc2 internal prototype to avoid an error. */
9639 /* We use char because int might match the return type of a gcc2 9640 /* We use char because int might match the return type of a gcc2
9640 builtin and then its argument prototype would still apply. */ 9641 builtin and then its argument prototype would still apply. */
9641 char UnGenFace(); 9642 char UnGenFace();
9642 9643
9643 int main() { 9644 int main() {
9644 UnGenFace() 9645 UnGenFace()
9645 ; return 0; } 9646 ; return 0; }
9646 EOF 9647 EOF
9647 if { (eval echo configure:9648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9648 if { (eval echo configure:9649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9648 rm -rf conftest* 9649 rm -rf conftest*
9649 eval "ac_cv_lib_$ac_lib_var=yes" 9650 eval "ac_cv_lib_$ac_lib_var=yes"
9650 else 9651 else
9651 echo "configure: failed program was:" >&5 9652 echo "configure: failed program was:" >&5
9652 cat conftest.$ac_ext >&5 9653 cat conftest.$ac_ext >&5
9691 fi 9692 fi
9692 9693
9693 if test "$with_png $with_tiff" != "no no"; then 9694 if test "$with_png $with_tiff" != "no no"; then
9694 9695
9695 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 9696 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
9696 echo "configure:9697: checking for inflate in -lc" >&5 9697 echo "configure:9698: checking for inflate in -lc" >&5
9697 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9698 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9698 9699
9699 xe_check_libs=" -lc " 9700 xe_check_libs=" -lc "
9700 cat > conftest.$ac_ext <<EOF 9701 cat > conftest.$ac_ext <<EOF
9701 #line 9702 "configure" 9702 #line 9703 "configure"
9702 #include "confdefs.h" 9703 #include "confdefs.h"
9703 /* Override any gcc2 internal prototype to avoid an error. */ 9704 /* Override any gcc2 internal prototype to avoid an error. */
9704 /* We use char because int might match the return type of a gcc2 9705 /* We use char because int might match the return type of a gcc2
9705 builtin and then its argument prototype would still apply. */ 9706 builtin and then its argument prototype would still apply. */
9706 char inflate(); 9707 char inflate();
9707 9708
9708 int main() { 9709 int main() {
9709 inflate() 9710 inflate()
9710 ; return 0; } 9711 ; return 0; }
9711 EOF 9712 EOF
9712 if { (eval echo configure:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9713 if { (eval echo configure:9714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9713 rm -rf conftest* 9714 rm -rf conftest*
9714 eval "ac_cv_lib_$ac_lib_var=yes" 9715 eval "ac_cv_lib_$ac_lib_var=yes"
9715 else 9716 else
9716 echo "configure: failed program was:" >&5 9717 echo "configure: failed program was:" >&5
9717 cat conftest.$ac_ext >&5 9718 cat conftest.$ac_ext >&5
9726 : 9727 :
9727 else 9728 else
9728 echo "$ac_t""no" 1>&6 9729 echo "$ac_t""no" 1>&6
9729 9730
9730 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 9731 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
9731 echo "configure:9732: checking for inflate in -lz" >&5 9732 echo "configure:9733: checking for inflate in -lz" >&5
9732 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9733 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9733 9734
9734 xe_check_libs=" -lz " 9735 xe_check_libs=" -lz "
9735 cat > conftest.$ac_ext <<EOF 9736 cat > conftest.$ac_ext <<EOF
9736 #line 9737 "configure" 9737 #line 9738 "configure"
9737 #include "confdefs.h" 9738 #include "confdefs.h"
9738 /* Override any gcc2 internal prototype to avoid an error. */ 9739 /* Override any gcc2 internal prototype to avoid an error. */
9739 /* We use char because int might match the return type of a gcc2 9740 /* We use char because int might match the return type of a gcc2
9740 builtin and then its argument prototype would still apply. */ 9741 builtin and then its argument prototype would still apply. */
9741 char inflate(); 9742 char inflate();
9742 9743
9743 int main() { 9744 int main() {
9744 inflate() 9745 inflate()
9745 ; return 0; } 9746 ; return 0; }
9746 EOF 9747 EOF
9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9748 if { (eval echo configure:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9748 rm -rf conftest* 9749 rm -rf conftest*
9749 eval "ac_cv_lib_$ac_lib_var=yes" 9750 eval "ac_cv_lib_$ac_lib_var=yes"
9750 else 9751 else
9751 echo "configure: failed program was:" >&5 9752 echo "configure: failed program was:" >&5
9752 cat conftest.$ac_ext >&5 9753 cat conftest.$ac_ext >&5
9761 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 9762 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
9762 else 9763 else
9763 echo "$ac_t""no" 1>&6 9764 echo "$ac_t""no" 1>&6
9764 9765
9765 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 9766 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
9766 echo "configure:9767: checking for inflate in -lgz" >&5 9767 echo "configure:9768: checking for inflate in -lgz" >&5
9767 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9768 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9768 9769
9769 xe_check_libs=" -lgz " 9770 xe_check_libs=" -lgz "
9770 cat > conftest.$ac_ext <<EOF 9771 cat > conftest.$ac_ext <<EOF
9771 #line 9772 "configure" 9772 #line 9773 "configure"
9772 #include "confdefs.h" 9773 #include "confdefs.h"
9773 /* Override any gcc2 internal prototype to avoid an error. */ 9774 /* Override any gcc2 internal prototype to avoid an error. */
9774 /* We use char because int might match the return type of a gcc2 9775 /* We use char because int might match the return type of a gcc2
9775 builtin and then its argument prototype would still apply. */ 9776 builtin and then its argument prototype would still apply. */
9776 char inflate(); 9777 char inflate();
9777 9778
9778 int main() { 9779 int main() {
9779 inflate() 9780 inflate()
9780 ; return 0; } 9781 ; return 0; }
9781 EOF 9782 EOF
9782 if { (eval echo configure:9783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9783 if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9783 rm -rf conftest* 9784 rm -rf conftest*
9784 eval "ac_cv_lib_$ac_lib_var=yes" 9785 eval "ac_cv_lib_$ac_lib_var=yes"
9785 else 9786 else
9786 echo "configure: failed program was:" >&5 9787 echo "configure: failed program was:" >&5
9787 cat conftest.$ac_ext >&5 9788 cat conftest.$ac_ext >&5
9807 9808
9808 fi 9809 fi
9809 9810
9810 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 9811 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
9811 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9812 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9812 echo "configure:9813: checking for jpeglib.h" >&5 9813 echo "configure:9814: checking for jpeglib.h" >&5
9813 9814
9814 cat > conftest.$ac_ext <<EOF 9815 cat > conftest.$ac_ext <<EOF
9815 #line 9816 "configure" 9816 #line 9817 "configure"
9816 #include "confdefs.h" 9817 #include "confdefs.h"
9817 #include <jpeglib.h> 9818 #include <jpeglib.h>
9818 EOF 9819 EOF
9819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9820 { (eval echo configure:9821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9821 { (eval echo configure:9822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9822 if test -z "$ac_err"; then 9823 if test -z "$ac_err"; then
9823 rm -rf conftest* 9824 rm -rf conftest*
9824 eval "ac_cv_header_$ac_safe=yes" 9825 eval "ac_cv_header_$ac_safe=yes"
9825 else 9826 else
9838 with_jpeg=no 9839 with_jpeg=no
9839 fi 9840 fi
9840 } 9841 }
9841 test -z "$with_jpeg" && { 9842 test -z "$with_jpeg" && {
9842 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 9843 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
9843 echo "configure:9844: checking for jpeg_destroy_decompress in -ljpeg" >&5 9844 echo "configure:9845: checking for jpeg_destroy_decompress in -ljpeg" >&5
9844 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9845 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9845 9846
9846 xe_check_libs=" -ljpeg " 9847 xe_check_libs=" -ljpeg "
9847 cat > conftest.$ac_ext <<EOF 9848 cat > conftest.$ac_ext <<EOF
9848 #line 9849 "configure" 9849 #line 9850 "configure"
9849 #include "confdefs.h" 9850 #include "confdefs.h"
9850 /* Override any gcc2 internal prototype to avoid an error. */ 9851 /* Override any gcc2 internal prototype to avoid an error. */
9851 /* We use char because int might match the return type of a gcc2 9852 /* We use char because int might match the return type of a gcc2
9852 builtin and then its argument prototype would still apply. */ 9853 builtin and then its argument prototype would still apply. */
9853 char jpeg_destroy_decompress(); 9854 char jpeg_destroy_decompress();
9854 9855
9855 int main() { 9856 int main() {
9856 jpeg_destroy_decompress() 9857 jpeg_destroy_decompress()
9857 ; return 0; } 9858 ; return 0; }
9858 EOF 9859 EOF
9859 if { (eval echo configure:9860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9860 if { (eval echo configure:9861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9860 rm -rf conftest* 9861 rm -rf conftest*
9861 eval "ac_cv_lib_$ac_lib_var=yes" 9862 eval "ac_cv_lib_$ac_lib_var=yes"
9862 else 9863 else
9863 echo "configure: failed program was:" >&5 9864 echo "configure: failed program was:" >&5
9864 cat conftest.$ac_ext >&5 9865 cat conftest.$ac_ext >&5
9890 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 9891 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
9891 fi 9892 fi
9892 9893
9893 png_problem="" 9894 png_problem=""
9894 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 9895 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
9895 echo "configure:9896: checking for pow" >&5 9896 echo "configure:9897: checking for pow" >&5
9896 9897
9897 cat > conftest.$ac_ext <<EOF 9898 cat > conftest.$ac_ext <<EOF
9898 #line 9899 "configure" 9899 #line 9900 "configure"
9899 #include "confdefs.h" 9900 #include "confdefs.h"
9900 /* System header to define __stub macros and hopefully few prototypes, 9901 /* System header to define __stub macros and hopefully few prototypes,
9901 which can conflict with char pow(); below. */ 9902 which can conflict with char pow(); below. */
9902 #include <assert.h> 9903 #include <assert.h>
9903 /* Override any gcc2 internal prototype to avoid an error. */ 9904 /* Override any gcc2 internal prototype to avoid an error. */
9916 pow(); 9917 pow();
9917 #endif 9918 #endif
9918 9919
9919 ; return 0; } 9920 ; return 0; }
9920 EOF 9921 EOF
9921 if { (eval echo configure:9922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9922 rm -rf conftest* 9923 rm -rf conftest*
9923 eval "ac_cv_func_pow=yes" 9924 eval "ac_cv_func_pow=yes"
9924 else 9925 else
9925 echo "configure: failed program was:" >&5 9926 echo "configure: failed program was:" >&5
9926 cat conftest.$ac_ext >&5 9927 cat conftest.$ac_ext >&5
9937 with_png=no 9938 with_png=no
9938 fi 9939 fi
9939 } 9940 }
9940 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 9941 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9941 echo $ac_n "checking for png.h""... $ac_c" 1>&6 9942 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9942 echo "configure:9943: checking for png.h" >&5 9943 echo "configure:9944: checking for png.h" >&5
9943 9944
9944 cat > conftest.$ac_ext <<EOF 9945 cat > conftest.$ac_ext <<EOF
9945 #line 9946 "configure" 9946 #line 9947 "configure"
9946 #include "confdefs.h" 9947 #include "confdefs.h"
9947 #include <png.h> 9948 #include <png.h>
9948 EOF 9949 EOF
9949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9950 { (eval echo configure:9951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9951 { (eval echo configure:9952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9952 if test -z "$ac_err"; then 9953 if test -z "$ac_err"; then
9953 rm -rf conftest* 9954 rm -rf conftest*
9954 eval "ac_cv_header_$ac_safe=yes" 9955 eval "ac_cv_header_$ac_safe=yes"
9955 else 9956 else
9968 with_png=no 9969 with_png=no
9969 fi 9970 fi
9970 } 9971 }
9971 test -z "$with_png" && { 9972 test -z "$with_png" && {
9972 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 9973 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
9973 echo "configure:9974: checking for png_read_image in -lpng" >&5 9974 echo "configure:9975: checking for png_read_image in -lpng" >&5
9974 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 9975 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
9975 9976
9976 xe_check_libs=" -lpng " 9977 xe_check_libs=" -lpng "
9977 cat > conftest.$ac_ext <<EOF 9978 cat > conftest.$ac_ext <<EOF
9978 #line 9979 "configure" 9979 #line 9980 "configure"
9979 #include "confdefs.h" 9980 #include "confdefs.h"
9980 /* Override any gcc2 internal prototype to avoid an error. */ 9981 /* Override any gcc2 internal prototype to avoid an error. */
9981 /* We use char because int might match the return type of a gcc2 9982 /* We use char because int might match the return type of a gcc2
9982 builtin and then its argument prototype would still apply. */ 9983 builtin and then its argument prototype would still apply. */
9983 char png_read_image(); 9984 char png_read_image();
9984 9985
9985 int main() { 9986 int main() {
9986 png_read_image() 9987 png_read_image()
9987 ; return 0; } 9988 ; return 0; }
9988 EOF 9989 EOF
9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9990 rm -rf conftest* 9991 rm -rf conftest*
9991 eval "ac_cv_lib_$ac_lib_var=yes" 9992 eval "ac_cv_lib_$ac_lib_var=yes"
9992 else 9993 else
9993 echo "configure: failed program was:" >&5 9994 echo "configure: failed program was:" >&5
9994 cat conftest.$ac_ext >&5 9995 cat conftest.$ac_ext >&5
10007 fi 10008 fi
10008 10009
10009 } 10010 }
10010 if test -z "$with_png"; then 10011 if test -z "$with_png"; then
10011 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 10012 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
10012 echo "configure:10013: checking for workable png version information" >&5 10013 echo "configure:10014: checking for workable png version information" >&5
10013 xe_check_libs="-lpng -lz" 10014 xe_check_libs="-lpng -lz"
10014 cat > conftest.$ac_ext <<EOF 10015 cat > conftest.$ac_ext <<EOF
10015 #line 10016 "configure" 10016 #line 10017 "configure"
10016 #include "confdefs.h" 10017 #include "confdefs.h"
10017 #include <png.h> 10018 #include <png.h>
10018 int main(int c, char **v) { 10019 int main(int c, char **v) {
10019 if (c == 1) return 0; 10020 if (c == 1) return 0;
10020 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 10021 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
10021 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 10022 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
10022 EOF 10023 EOF
10023 if { (eval echo configure:10024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10024 if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10024 then 10025 then
10025 ./conftest dummy_arg; png_status=$?; 10026 ./conftest dummy_arg; png_status=$?;
10026 if test "$png_status" = "0"; then 10027 if test "$png_status" = "0"; then
10027 with_png=yes; 10028 with_png=yes;
10028 else 10029 else
10061 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 10062 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
10062 fi 10063 fi
10063 10064
10064 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 10065 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10065 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 10066 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10066 echo "configure:10067: checking for tiffio.h" >&5 10067 echo "configure:10068: checking for tiffio.h" >&5
10067 10068
10068 cat > conftest.$ac_ext <<EOF 10069 cat > conftest.$ac_ext <<EOF
10069 #line 10070 "configure" 10070 #line 10071 "configure"
10070 #include "confdefs.h" 10071 #include "confdefs.h"
10071 #include <tiffio.h> 10072 #include <tiffio.h>
10072 EOF 10073 EOF
10073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10074 { (eval echo configure:10075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10075 { (eval echo configure:10076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10076 if test -z "$ac_err"; then 10077 if test -z "$ac_err"; then
10077 rm -rf conftest* 10078 rm -rf conftest*
10078 eval "ac_cv_header_$ac_safe=yes" 10079 eval "ac_cv_header_$ac_safe=yes"
10079 else 10080 else
10092 with_tiff=no 10093 with_tiff=no
10093 fi 10094 fi
10094 } 10095 }
10095 test -z "$with_tiff" && { 10096 test -z "$with_tiff" && {
10096 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 10097 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
10097 echo "configure:10098: checking for TIFFClientOpen in -ltiff" >&5 10098 echo "configure:10099: checking for TIFFClientOpen in -ltiff" >&5
10098 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 10099 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
10099 10100
10100 xe_check_libs=" -ltiff " 10101 xe_check_libs=" -ltiff "
10101 cat > conftest.$ac_ext <<EOF 10102 cat > conftest.$ac_ext <<EOF
10102 #line 10103 "configure" 10103 #line 10104 "configure"
10103 #include "confdefs.h" 10104 #include "confdefs.h"
10104 /* Override any gcc2 internal prototype to avoid an error. */ 10105 /* Override any gcc2 internal prototype to avoid an error. */
10105 /* We use char because int might match the return type of a gcc2 10106 /* We use char because int might match the return type of a gcc2
10106 builtin and then its argument prototype would still apply. */ 10107 builtin and then its argument prototype would still apply. */
10107 char TIFFClientOpen(); 10108 char TIFFClientOpen();
10108 10109
10109 int main() { 10110 int main() {
10110 TIFFClientOpen() 10111 TIFFClientOpen()
10111 ; return 0; } 10112 ; return 0; }
10112 EOF 10113 EOF
10113 if { (eval echo configure:10114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10114 if { (eval echo configure:10115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10114 rm -rf conftest* 10115 rm -rf conftest*
10115 eval "ac_cv_lib_$ac_lib_var=yes" 10116 eval "ac_cv_lib_$ac_lib_var=yes"
10116 else 10117 else
10117 echo "configure: failed program was:" >&5 10118 echo "configure: failed program was:" >&5
10118 cat conftest.$ac_ext >&5 10119 cat conftest.$ac_ext >&5
10147 10148
10148 10149
10149 if test "$with_gtk" = "yes"; then 10150 if test "$with_gtk" = "yes"; then
10150 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 10151 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
10151 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 10152 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
10152 echo "configure:10153: checking for compface.h" >&5 10153 echo "configure:10154: checking for compface.h" >&5
10153 10154
10154 cat > conftest.$ac_ext <<EOF 10155 cat > conftest.$ac_ext <<EOF
10155 #line 10156 "configure" 10156 #line 10157 "configure"
10156 #include "confdefs.h" 10157 #include "confdefs.h"
10157 #include <compface.h> 10158 #include <compface.h>
10158 EOF 10159 EOF
10159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10160 { (eval echo configure:10161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10161 { (eval echo configure:10162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10162 if test -z "$ac_err"; then 10163 if test -z "$ac_err"; then
10163 rm -rf conftest* 10164 rm -rf conftest*
10164 eval "ac_cv_header_$ac_safe=yes" 10165 eval "ac_cv_header_$ac_safe=yes"
10165 else 10166 else
10178 with_xface=no 10179 with_xface=no
10179 fi 10180 fi
10180 } 10181 }
10181 test -z "$with_xface" && { 10182 test -z "$with_xface" && {
10182 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 10183 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
10183 echo "configure:10184: checking for UnGenFace in -lcompface" >&5 10184 echo "configure:10185: checking for UnGenFace in -lcompface" >&5
10184 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10185 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
10185 10186
10186 xe_check_libs=" -lcompface " 10187 xe_check_libs=" -lcompface "
10187 cat > conftest.$ac_ext <<EOF 10188 cat > conftest.$ac_ext <<EOF
10188 #line 10189 "configure" 10189 #line 10190 "configure"
10189 #include "confdefs.h" 10190 #include "confdefs.h"
10190 /* Override any gcc2 internal prototype to avoid an error. */ 10191 /* Override any gcc2 internal prototype to avoid an error. */
10191 /* We use char because int might match the return type of a gcc2 10192 /* We use char because int might match the return type of a gcc2
10192 builtin and then its argument prototype would still apply. */ 10193 builtin and then its argument prototype would still apply. */
10193 char UnGenFace(); 10194 char UnGenFace();
10194 10195
10195 int main() { 10196 int main() {
10196 UnGenFace() 10197 UnGenFace()
10197 ; return 0; } 10198 ; return 0; }
10198 EOF 10199 EOF
10199 if { (eval echo configure:10200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10200 if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10200 rm -rf conftest* 10201 rm -rf conftest*
10201 eval "ac_cv_lib_$ac_lib_var=yes" 10202 eval "ac_cv_lib_$ac_lib_var=yes"
10202 else 10203 else
10203 echo "configure: failed program was:" >&5 10204 echo "configure: failed program was:" >&5
10204 cat conftest.$ac_ext >&5 10205 cat conftest.$ac_ext >&5
10233 10234
10234 10235
10235 10236
10236 if test "$with_x11" = "yes"; then 10237 if test "$with_x11" = "yes"; then
10237 echo "checking for X11 graphics libraries" 1>&6 10238 echo "checking for X11 graphics libraries" 1>&6
10238 echo "configure:10239: checking for X11 graphics libraries" >&5 10239 echo "configure:10240: checking for X11 graphics libraries" >&5
10239 fi 10240 fi
10240 10241
10241 case "$with_widgets" in 10242 case "$with_widgets" in
10242 "yes" | "athena") detect_athena=yes ;; 10243 "yes" | "athena") detect_athena=yes ;;
10243 *) detect_athena=no ;; 10244 *) detect_athena=no ;;
10244 esac 10245 esac
10245 10246
10246 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10247 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10247 echo "checking for the Athena widgets" 1>&6 10248 echo "checking for the Athena widgets" 1>&6
10248 echo "configure:10249: checking for the Athena widgets" >&5 10249 echo "configure:10250: checking for the Athena widgets" >&5
10249 10250
10250 case "$with_athena" in 10251 case "$with_athena" in
10251 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10252 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10252 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10253 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10253 "next") athena_variant=neXtaw athena_3d=yes ;; 10254 "next") athena_variant=neXtaw athena_3d=yes ;;
10257 esac 10258 esac
10258 10259
10259 if test "$athena_3d" = "no"; then 10260 if test "$athena_3d" = "no"; then
10260 10261
10261 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 10262 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
10262 echo "configure:10263: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10263 echo "configure:10264: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10263 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10264 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10264 10265
10265 xe_check_libs=" -l$athena_variant " 10266 xe_check_libs=" -l$athena_variant "
10266 cat > conftest.$ac_ext <<EOF 10267 cat > conftest.$ac_ext <<EOF
10267 #line 10268 "configure" 10268 #line 10269 "configure"
10268 #include "confdefs.h" 10269 #include "confdefs.h"
10269 /* Override any gcc2 internal prototype to avoid an error. */ 10270 /* Override any gcc2 internal prototype to avoid an error. */
10270 /* We use char because int might match the return type of a gcc2 10271 /* We use char because int might match the return type of a gcc2
10271 builtin and then its argument prototype would still apply. */ 10272 builtin and then its argument prototype would still apply. */
10272 char XawScrollbarSetThumb(); 10273 char XawScrollbarSetThumb();
10273 10274
10274 int main() { 10275 int main() {
10275 XawScrollbarSetThumb() 10276 XawScrollbarSetThumb()
10276 ; return 0; } 10277 ; return 0; }
10277 EOF 10278 EOF
10278 if { (eval echo configure:10279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10279 if { (eval echo configure:10280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10279 rm -rf conftest* 10280 rm -rf conftest*
10280 eval "ac_cv_lib_$ac_lib_var=yes" 10281 eval "ac_cv_lib_$ac_lib_var=yes"
10281 else 10282 else
10282 echo "configure: failed program was:" >&5 10283 echo "configure: failed program was:" >&5
10283 cat conftest.$ac_ext >&5 10284 cat conftest.$ac_ext >&5
10289 10290
10290 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 10291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
10291 echo "$ac_t""yes" 1>&6 10292 echo "$ac_t""yes" 1>&6
10292 10293
10293 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10294 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10294 echo "configure:10295: checking for threeDClassRec in -l$athena_variant" >&5 10295 echo "configure:10296: checking for threeDClassRec in -l$athena_variant" >&5
10295 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10296 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10296 10297
10297 xe_check_libs=" -l$athena_variant " 10298 xe_check_libs=" -l$athena_variant "
10298 cat > conftest.$ac_ext <<EOF 10299 cat > conftest.$ac_ext <<EOF
10299 #line 10300 "configure" 10300 #line 10301 "configure"
10300 #include "confdefs.h" 10301 #include "confdefs.h"
10301 /* Override any gcc2 internal prototype to avoid an error. */ 10302 /* Override any gcc2 internal prototype to avoid an error. */
10302 /* We use char because int might match the return type of a gcc2 10303 /* We use char because int might match the return type of a gcc2
10303 builtin and then its argument prototype would still apply. */ 10304 builtin and then its argument prototype would still apply. */
10304 char threeDClassRec(); 10305 char threeDClassRec();
10305 10306
10306 int main() { 10307 int main() {
10307 threeDClassRec() 10308 threeDClassRec()
10308 ; return 0; } 10309 ; return 0; }
10309 EOF 10310 EOF
10310 if { (eval echo configure:10311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10311 if { (eval echo configure:10312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10311 rm -rf conftest* 10312 rm -rf conftest*
10312 eval "ac_cv_lib_$ac_lib_var=yes" 10313 eval "ac_cv_lib_$ac_lib_var=yes"
10313 else 10314 else
10314 echo "configure: failed program was:" >&5 10315 echo "configure: failed program was:" >&5
10315 cat conftest.$ac_ext >&5 10316 cat conftest.$ac_ext >&5
10336 10337
10337 10338
10338 else 10339 else
10339 10340
10340 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10341 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10341 echo "configure:10342: checking for threeDClassRec in -l$athena_variant" >&5 10342 echo "configure:10343: checking for threeDClassRec in -l$athena_variant" >&5
10342 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10343 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10343 10344
10344 xe_check_libs=" -l$athena_variant " 10345 xe_check_libs=" -l$athena_variant "
10345 cat > conftest.$ac_ext <<EOF 10346 cat > conftest.$ac_ext <<EOF
10346 #line 10347 "configure" 10347 #line 10348 "configure"
10347 #include "confdefs.h" 10348 #include "confdefs.h"
10348 /* Override any gcc2 internal prototype to avoid an error. */ 10349 /* Override any gcc2 internal prototype to avoid an error. */
10349 /* We use char because int might match the return type of a gcc2 10350 /* We use char because int might match the return type of a gcc2
10350 builtin and then its argument prototype would still apply. */ 10351 builtin and then its argument prototype would still apply. */
10351 char threeDClassRec(); 10352 char threeDClassRec();
10352 10353
10353 int main() { 10354 int main() {
10354 threeDClassRec() 10355 threeDClassRec()
10355 ; return 0; } 10356 ; return 0; }
10356 EOF 10357 EOF
10357 if { (eval echo configure:10358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10358 if { (eval echo configure:10359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10358 rm -rf conftest* 10359 rm -rf conftest*
10359 eval "ac_cv_lib_$ac_lib_var=yes" 10360 eval "ac_cv_lib_$ac_lib_var=yes"
10360 else 10361 else
10361 echo "configure: failed program was:" >&5 10362 echo "configure: failed program was:" >&5
10362 cat conftest.$ac_ext >&5 10363 cat conftest.$ac_ext >&5
10370 echo "$ac_t""yes" 1>&6 10371 echo "$ac_t""yes" 1>&6
10371 athena_lib=$athena_variant 10372 athena_lib=$athena_variant
10372 else 10373 else
10373 echo "$ac_t""no" 1>&6 10374 echo "$ac_t""no" 1>&6
10374 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 10375 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
10375 echo "configure:10376: checking for threeDClassRec in -lXaw" >&5 10376 echo "configure:10377: checking for threeDClassRec in -lXaw" >&5
10376 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10377 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10377 10378
10378 xe_check_libs=" -lXaw " 10379 xe_check_libs=" -lXaw "
10379 cat > conftest.$ac_ext <<EOF 10380 cat > conftest.$ac_ext <<EOF
10380 #line 10381 "configure" 10381 #line 10382 "configure"
10381 #include "confdefs.h" 10382 #include "confdefs.h"
10382 /* Override any gcc2 internal prototype to avoid an error. */ 10383 /* Override any gcc2 internal prototype to avoid an error. */
10383 /* We use char because int might match the return type of a gcc2 10384 /* We use char because int might match the return type of a gcc2
10384 builtin and then its argument prototype would still apply. */ 10385 builtin and then its argument prototype would still apply. */
10385 char threeDClassRec(); 10386 char threeDClassRec();
10386 10387
10387 int main() { 10388 int main() {
10388 threeDClassRec() 10389 threeDClassRec()
10389 ; return 0; } 10390 ; return 0; }
10390 EOF 10391 EOF
10391 if { (eval echo configure:10392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10392 if { (eval echo configure:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10392 rm -rf conftest* 10393 rm -rf conftest*
10393 eval "ac_cv_lib_$ac_lib_var=yes" 10394 eval "ac_cv_lib_$ac_lib_var=yes"
10394 else 10395 else
10395 echo "configure: failed program was:" >&5 10396 echo "configure: failed program was:" >&5
10396 cat conftest.$ac_ext >&5 10397 cat conftest.$ac_ext >&5
10417 fi 10418 fi
10418 10419
10419 if test "$athena_3d" = "no"; then 10420 if test "$athena_3d" = "no"; then
10420 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10421 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10421 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10422 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10422 echo "configure:10423: checking for X11/Xaw/ThreeD.h" >&5 10423 echo "configure:10424: checking for X11/Xaw/ThreeD.h" >&5
10423 10424
10424 cat > conftest.$ac_ext <<EOF 10425 cat > conftest.$ac_ext <<EOF
10425 #line 10426 "configure" 10426 #line 10427 "configure"
10426 #include "confdefs.h" 10427 #include "confdefs.h"
10427 #include <X11/Xaw/ThreeD.h> 10428 #include <X11/Xaw/ThreeD.h>
10428 EOF 10429 EOF
10429 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10430 { (eval echo configure:10431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10431 { (eval echo configure:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10431 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10432 if test -z "$ac_err"; then 10433 if test -z "$ac_err"; then
10433 rm -rf conftest* 10434 rm -rf conftest*
10434 eval "ac_cv_header_$ac_safe=yes" 10435 eval "ac_cv_header_$ac_safe=yes"
10435 else 10436 else
10445 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 10446 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10446 else 10447 else
10447 echo "$ac_t""no" 1>&6 10448 echo "$ac_t""no" 1>&6
10448 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 10449 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10449 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 10450 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10450 echo "configure:10451: checking for X11/Xaw/XawInit.h" >&5 10451 echo "configure:10452: checking for X11/Xaw/XawInit.h" >&5
10451 10452
10452 cat > conftest.$ac_ext <<EOF 10453 cat > conftest.$ac_ext <<EOF
10453 #line 10454 "configure" 10454 #line 10455 "configure"
10454 #include "confdefs.h" 10455 #include "confdefs.h"
10455 #include <X11/Xaw/XawInit.h> 10456 #include <X11/Xaw/XawInit.h>
10456 EOF 10457 EOF
10457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10458 { (eval echo configure:10459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10459 { (eval echo configure:10460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10460 if test -z "$ac_err"; then 10461 if test -z "$ac_err"; then
10461 rm -rf conftest* 10462 rm -rf conftest*
10462 eval "ac_cv_header_$ac_safe=yes" 10463 eval "ac_cv_header_$ac_safe=yes"
10463 else 10464 else
10479 fi 10480 fi
10480 10481
10481 else 10482 else
10482 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10483 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10483 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 10484 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10484 echo "configure:10485: checking for X11/$athena_variant/XawInit.h" >&5 10485 echo "configure:10486: checking for X11/$athena_variant/XawInit.h" >&5
10485 10486
10486 cat > conftest.$ac_ext <<EOF 10487 cat > conftest.$ac_ext <<EOF
10487 #line 10488 "configure" 10488 #line 10489 "configure"
10488 #include "confdefs.h" 10489 #include "confdefs.h"
10489 #include <X11/$athena_variant/XawInit.h> 10490 #include <X11/$athena_variant/XawInit.h>
10490 EOF 10491 EOF
10491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10492 { (eval echo configure:10493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10494 if test -z "$ac_err"; then 10495 if test -z "$ac_err"; then
10495 rm -rf conftest* 10496 rm -rf conftest*
10496 eval "ac_cv_header_$ac_safe=yes" 10497 eval "ac_cv_header_$ac_safe=yes"
10497 else 10498 else
10504 rm -f conftest* 10505 rm -f conftest*
10505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10506 echo "$ac_t""yes" 1>&6 10507 echo "$ac_t""yes" 1>&6
10507 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10508 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10508 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 10509 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
10509 echo "configure:10510: checking for X11/$athena_variant/ThreeD.h" >&5 10510 echo "configure:10511: checking for X11/$athena_variant/ThreeD.h" >&5
10510 10511
10511 cat > conftest.$ac_ext <<EOF 10512 cat > conftest.$ac_ext <<EOF
10512 #line 10513 "configure" 10513 #line 10514 "configure"
10513 #include "confdefs.h" 10514 #include "confdefs.h"
10514 #include <X11/$athena_variant/ThreeD.h> 10515 #include <X11/$athena_variant/ThreeD.h>
10515 EOF 10516 EOF
10516 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10517 { (eval echo configure:10518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10518 { (eval echo configure:10519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10518 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10519 if test -z "$ac_err"; then 10520 if test -z "$ac_err"; then
10520 rm -rf conftest* 10521 rm -rf conftest*
10521 eval "ac_cv_header_$ac_safe=yes" 10522 eval "ac_cv_header_$ac_safe=yes"
10522 else 10523 else
10540 10541
10541 10542
10542 if test -z "$athena_h_path"; then 10543 if test -z "$athena_h_path"; then
10543 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10544 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10544 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 10545 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
10545 echo "configure:10546: checking for $athena_variant/XawInit.h" >&5 10546 echo "configure:10547: checking for $athena_variant/XawInit.h" >&5
10546 10547
10547 cat > conftest.$ac_ext <<EOF 10548 cat > conftest.$ac_ext <<EOF
10548 #line 10549 "configure" 10549 #line 10550 "configure"
10549 #include "confdefs.h" 10550 #include "confdefs.h"
10550 #include <$athena_variant/XawInit.h> 10551 #include <$athena_variant/XawInit.h>
10551 EOF 10552 EOF
10552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10553 { (eval echo configure:10554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10554 { (eval echo configure:10555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10555 if test -z "$ac_err"; then 10556 if test -z "$ac_err"; then
10556 rm -rf conftest* 10557 rm -rf conftest*
10557 eval "ac_cv_header_$ac_safe=yes" 10558 eval "ac_cv_header_$ac_safe=yes"
10558 else 10559 else
10565 rm -f conftest* 10566 rm -f conftest*
10566 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10567 echo "$ac_t""yes" 1>&6 10568 echo "$ac_t""yes" 1>&6
10568 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10569 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10569 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 10570 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10570 echo "configure:10571: checking for $athena_variant/ThreeD.h" >&5 10571 echo "configure:10572: checking for $athena_variant/ThreeD.h" >&5
10571 10572
10572 cat > conftest.$ac_ext <<EOF 10573 cat > conftest.$ac_ext <<EOF
10573 #line 10574 "configure" 10574 #line 10575 "configure"
10574 #include "confdefs.h" 10575 #include "confdefs.h"
10575 #include <$athena_variant/ThreeD.h> 10576 #include <$athena_variant/ThreeD.h>
10576 EOF 10577 EOF
10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10578 { (eval echo configure:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10579 { (eval echo configure:10580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10580 if test -z "$ac_err"; then 10581 if test -z "$ac_err"; then
10581 rm -rf conftest* 10582 rm -rf conftest*
10582 eval "ac_cv_header_$ac_safe=yes" 10583 eval "ac_cv_header_$ac_safe=yes"
10583 else 10584 else
10602 fi 10603 fi
10603 10604
10604 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10605 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10605 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10606 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10606 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 10607 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10607 echo "configure:10608: checking for X11/Xaw3d/XawInit.h" >&5 10608 echo "configure:10609: checking for X11/Xaw3d/XawInit.h" >&5
10608 10609
10609 cat > conftest.$ac_ext <<EOF 10610 cat > conftest.$ac_ext <<EOF
10610 #line 10611 "configure" 10611 #line 10612 "configure"
10611 #include "confdefs.h" 10612 #include "confdefs.h"
10612 #include <X11/Xaw3d/XawInit.h> 10613 #include <X11/Xaw3d/XawInit.h>
10613 EOF 10614 EOF
10614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10615 { (eval echo configure:10616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10616 { (eval echo configure:10617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10617 if test -z "$ac_err"; then 10618 if test -z "$ac_err"; then
10618 rm -rf conftest* 10619 rm -rf conftest*
10619 eval "ac_cv_header_$ac_safe=yes" 10620 eval "ac_cv_header_$ac_safe=yes"
10620 else 10621 else
10627 rm -f conftest* 10628 rm -f conftest*
10628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10629 echo "$ac_t""yes" 1>&6 10630 echo "$ac_t""yes" 1>&6
10630 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10631 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10631 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 10632 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
10632 echo "configure:10633: checking for X11/Xaw3d/ThreeD.h" >&5 10633 echo "configure:10634: checking for X11/Xaw3d/ThreeD.h" >&5
10633 10634
10634 cat > conftest.$ac_ext <<EOF 10635 cat > conftest.$ac_ext <<EOF
10635 #line 10636 "configure" 10636 #line 10637 "configure"
10636 #include "confdefs.h" 10637 #include "confdefs.h"
10637 #include <X11/Xaw3d/ThreeD.h> 10638 #include <X11/Xaw3d/ThreeD.h>
10638 EOF 10639 EOF
10639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10640 { (eval echo configure:10641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10641 { (eval echo configure:10642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10642 if test -z "$ac_err"; then 10643 if test -z "$ac_err"; then
10643 rm -rf conftest* 10644 rm -rf conftest*
10644 eval "ac_cv_header_$ac_safe=yes" 10645 eval "ac_cv_header_$ac_safe=yes"
10645 else 10646 else
10667 fi 10668 fi
10668 10669
10669 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10670 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10670 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10671 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10671 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 10672 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
10672 echo "configure:10673: checking for Xaw3d/XawInit.h" >&5 10673 echo "configure:10674: checking for Xaw3d/XawInit.h" >&5
10673 10674
10674 cat > conftest.$ac_ext <<EOF 10675 cat > conftest.$ac_ext <<EOF
10675 #line 10676 "configure" 10676 #line 10677 "configure"
10676 #include "confdefs.h" 10677 #include "confdefs.h"
10677 #include <Xaw3d/XawInit.h> 10678 #include <Xaw3d/XawInit.h>
10678 EOF 10679 EOF
10679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10680 { (eval echo configure:10681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10681 { (eval echo configure:10682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10682 if test -z "$ac_err"; then 10683 if test -z "$ac_err"; then
10683 rm -rf conftest* 10684 rm -rf conftest*
10684 eval "ac_cv_header_$ac_safe=yes" 10685 eval "ac_cv_header_$ac_safe=yes"
10685 else 10686 else
10692 rm -f conftest* 10693 rm -f conftest*
10693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10694 echo "$ac_t""yes" 1>&6 10695 echo "$ac_t""yes" 1>&6
10695 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10696 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10696 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 10697 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
10697 echo "configure:10698: checking for Xaw3d/ThreeD.h" >&5 10698 echo "configure:10699: checking for Xaw3d/ThreeD.h" >&5
10698 10699
10699 cat > conftest.$ac_ext <<EOF 10700 cat > conftest.$ac_ext <<EOF
10700 #line 10701 "configure" 10701 #line 10702 "configure"
10701 #include "confdefs.h" 10702 #include "confdefs.h"
10702 #include <Xaw3d/ThreeD.h> 10703 #include <Xaw3d/ThreeD.h>
10703 EOF 10704 EOF
10704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10705 { (eval echo configure:10706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10706 { (eval echo configure:10707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10707 if test -z "$ac_err"; then 10708 if test -z "$ac_err"; then
10708 rm -rf conftest* 10709 rm -rf conftest*
10709 eval "ac_cv_header_$ac_safe=yes" 10710 eval "ac_cv_header_$ac_safe=yes"
10710 else 10711 else
10732 fi 10733 fi
10733 10734
10734 if test -z "$athena_h_path"; then 10735 if test -z "$athena_h_path"; then
10735 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10736 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10736 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10737 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10737 echo "configure:10738: checking for X11/Xaw/ThreeD.h" >&5 10738 echo "configure:10739: checking for X11/Xaw/ThreeD.h" >&5
10738 10739
10739 cat > conftest.$ac_ext <<EOF 10740 cat > conftest.$ac_ext <<EOF
10740 #line 10741 "configure" 10741 #line 10742 "configure"
10741 #include "confdefs.h" 10742 #include "confdefs.h"
10742 #include <X11/Xaw/ThreeD.h> 10743 #include <X11/Xaw/ThreeD.h>
10743 EOF 10744 EOF
10744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10745 { (eval echo configure:10746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10746 { (eval echo configure:10747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10747 if test -z "$ac_err"; then 10748 if test -z "$ac_err"; then
10748 rm -rf conftest* 10749 rm -rf conftest*
10749 eval "ac_cv_header_$ac_safe=yes" 10750 eval "ac_cv_header_$ac_safe=yes"
10750 else 10751 else
10779 have_xaw=no 10780 have_xaw=no
10780 fi 10781 fi
10781 if test "$with_x11" = "yes"; then 10782 if test "$with_x11" = "yes"; then
10782 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10783 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10783 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 10784 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
10784 echo "configure:10785: checking for Xm/Xm.h" >&5 10785 echo "configure:10786: checking for Xm/Xm.h" >&5
10785 10786
10786 cat > conftest.$ac_ext <<EOF 10787 cat > conftest.$ac_ext <<EOF
10787 #line 10788 "configure" 10788 #line 10789 "configure"
10788 #include "confdefs.h" 10789 #include "confdefs.h"
10789 #include <Xm/Xm.h> 10790 #include <Xm/Xm.h>
10790 EOF 10791 EOF
10791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10792 { (eval echo configure:10793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10793 { (eval echo configure:10794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10794 if test -z "$ac_err"; then 10795 if test -z "$ac_err"; then
10795 rm -rf conftest* 10796 rm -rf conftest*
10796 eval "ac_cv_header_$ac_safe=yes" 10797 eval "ac_cv_header_$ac_safe=yes"
10797 else 10798 else
10804 rm -f conftest* 10805 rm -f conftest*
10805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10806 echo "$ac_t""yes" 1>&6 10807 echo "$ac_t""yes" 1>&6
10807 10808
10808 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 10809 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
10809 echo "configure:10810: checking for XmStringFree in -lXm" >&5 10810 echo "configure:10811: checking for XmStringFree in -lXm" >&5
10810 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10811 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10811 10812
10812 xe_check_libs=" -lXm " 10813 xe_check_libs=" -lXm "
10813 cat > conftest.$ac_ext <<EOF 10814 cat > conftest.$ac_ext <<EOF
10814 #line 10815 "configure" 10815 #line 10816 "configure"
10815 #include "confdefs.h" 10816 #include "confdefs.h"
10816 /* Override any gcc2 internal prototype to avoid an error. */ 10817 /* Override any gcc2 internal prototype to avoid an error. */
10817 /* We use char because int might match the return type of a gcc2 10818 /* We use char because int might match the return type of a gcc2
10818 builtin and then its argument prototype would still apply. */ 10819 builtin and then its argument prototype would still apply. */
10819 char XmStringFree(); 10820 char XmStringFree();
10820 10821
10821 int main() { 10822 int main() {
10822 XmStringFree() 10823 XmStringFree()
10823 ; return 0; } 10824 ; return 0; }
10824 EOF 10825 EOF
10825 if { (eval echo configure:10826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10826 if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10826 rm -rf conftest* 10827 rm -rf conftest*
10827 eval "ac_cv_lib_$ac_lib_var=yes" 10828 eval "ac_cv_lib_$ac_lib_var=yes"
10828 else 10829 else
10829 echo "configure: failed program was:" >&5 10830 echo "configure: failed program was:" >&5
10830 cat conftest.$ac_ext >&5 10831 cat conftest.$ac_ext >&5
10849 fi 10850 fi
10850 10851
10851 10852
10852 if test "$have_motif" = "yes"; then 10853 if test "$have_motif" = "yes"; then
10853 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10854 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10854 echo "configure:10855: checking for Lesstif" >&5 10855 echo "configure:10856: checking for Lesstif" >&5
10855 cat > conftest.$ac_ext <<EOF 10856 cat > conftest.$ac_ext <<EOF
10856 #line 10857 "configure" 10857 #line 10858 "configure"
10857 #include "confdefs.h" 10858 #include "confdefs.h"
10858 #include <Xm/Xm.h> 10859 #include <Xm/Xm.h>
10859 #ifdef LESSTIF_VERSION 10860 #ifdef LESSTIF_VERSION
10860 yes 10861 yes
10861 #endif 10862 #endif
11224 11225
11225 fi 11226 fi
11226 11227
11227 if test "$with_mule" = "yes" ; then 11228 if test "$with_mule" = "yes" ; then
11228 echo "checking for Mule-related features" 1>&6 11229 echo "checking for Mule-related features" 1>&6
11229 echo "configure:11230: checking for Mule-related features" >&5 11230 echo "configure:11231: checking for Mule-related features" >&5
11230 { test "$extra_verbose" = "yes" && cat << \EOF 11231 { test "$extra_verbose" = "yes" && cat << \EOF
11231 Defining MULE 11232 Defining MULE
11232 EOF 11233 EOF
11233 cat >> confdefs.h <<\EOF 11234 cat >> confdefs.h <<\EOF
11234 #define MULE 1 11235 #define MULE 1
11238 11239
11239 for ac_hdr in libintl.h 11240 for ac_hdr in libintl.h
11240 do 11241 do
11241 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11242 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11242 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11243 echo "configure:11244: checking for $ac_hdr" >&5 11244 echo "configure:11245: checking for $ac_hdr" >&5
11244 11245
11245 cat > conftest.$ac_ext <<EOF 11246 cat > conftest.$ac_ext <<EOF
11246 #line 11247 "configure" 11247 #line 11248 "configure"
11247 #include "confdefs.h" 11248 #include "confdefs.h"
11248 #include <$ac_hdr> 11249 #include <$ac_hdr>
11249 EOF 11250 EOF
11250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11251 { (eval echo configure:11252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11252 { (eval echo configure:11253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11253 if test -z "$ac_err"; then 11254 if test -z "$ac_err"; then
11254 rm -rf conftest* 11255 rm -rf conftest*
11255 eval "ac_cv_header_$ac_safe=yes" 11256 eval "ac_cv_header_$ac_safe=yes"
11256 else 11257 else
11277 fi 11278 fi
11278 done 11279 done
11279 11280
11280 11281
11281 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 11282 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
11282 echo "configure:11283: checking for strerror in -lintl" >&5 11283 echo "configure:11284: checking for strerror in -lintl" >&5
11283 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11284 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11284 11285
11285 xe_check_libs=" -lintl " 11286 xe_check_libs=" -lintl "
11286 cat > conftest.$ac_ext <<EOF 11287 cat > conftest.$ac_ext <<EOF
11287 #line 11288 "configure" 11288 #line 11289 "configure"
11288 #include "confdefs.h" 11289 #include "confdefs.h"
11289 /* Override any gcc2 internal prototype to avoid an error. */ 11290 /* Override any gcc2 internal prototype to avoid an error. */
11290 /* We use char because int might match the return type of a gcc2 11291 /* We use char because int might match the return type of a gcc2
11291 builtin and then its argument prototype would still apply. */ 11292 builtin and then its argument prototype would still apply. */
11292 char strerror(); 11293 char strerror();
11293 11294
11294 int main() { 11295 int main() {
11295 strerror() 11296 strerror()
11296 ; return 0; } 11297 ; return 0; }
11297 EOF 11298 EOF
11298 if { (eval echo configure:11299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11299 if { (eval echo configure:11300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11299 rm -rf conftest* 11300 rm -rf conftest*
11300 eval "ac_cv_lib_$ac_lib_var=yes" 11301 eval "ac_cv_lib_$ac_lib_var=yes"
11301 else 11302 else
11302 echo "configure: failed program was:" >&5 11303 echo "configure: failed program was:" >&5
11303 cat conftest.$ac_ext >&5 11304 cat conftest.$ac_ext >&5
11326 fi 11327 fi
11327 11328
11328 11329
11329 11330
11330 echo "checking for Mule input methods" 1>&6 11331 echo "checking for Mule input methods" 1>&6
11331 echo "configure:11332: checking for Mule input methods" >&5 11332 echo "configure:11333: checking for Mule input methods" >&5
11332 case "$with_xim" in "" | "yes" ) 11333 case "$with_xim" in "" | "yes" )
11333 echo "checking for XIM" 1>&6 11334 echo "checking for XIM" 1>&6
11334 echo "configure:11335: checking for XIM" >&5 11335 echo "configure:11336: checking for XIM" >&5
11335 11336
11336 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 11337 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
11337 echo "configure:11338: checking for XOpenIM in -lX11" >&5 11338 echo "configure:11339: checking for XOpenIM in -lX11" >&5
11338 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11339 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11339 11340
11340 xe_check_libs=" -lX11 " 11341 xe_check_libs=" -lX11 "
11341 cat > conftest.$ac_ext <<EOF 11342 cat > conftest.$ac_ext <<EOF
11342 #line 11343 "configure" 11343 #line 11344 "configure"
11343 #include "confdefs.h" 11344 #include "confdefs.h"
11344 /* Override any gcc2 internal prototype to avoid an error. */ 11345 /* Override any gcc2 internal prototype to avoid an error. */
11345 /* We use char because int might match the return type of a gcc2 11346 /* We use char because int might match the return type of a gcc2
11346 builtin and then its argument prototype would still apply. */ 11347 builtin and then its argument prototype would still apply. */
11347 char XOpenIM(); 11348 char XOpenIM();
11348 11349
11349 int main() { 11350 int main() {
11350 XOpenIM() 11351 XOpenIM()
11351 ; return 0; } 11352 ; return 0; }
11352 EOF 11353 EOF
11353 if { (eval echo configure:11354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11354 if { (eval echo configure:11355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11354 rm -rf conftest* 11355 rm -rf conftest*
11355 eval "ac_cv_lib_$ac_lib_var=yes" 11356 eval "ac_cv_lib_$ac_lib_var=yes"
11356 else 11357 else
11357 echo "configure: failed program was:" >&5 11358 echo "configure: failed program was:" >&5
11358 cat conftest.$ac_ext >&5 11359 cat conftest.$ac_ext >&5
11372 11373
11373 11374
11374 if test "$have_motif $have_lesstif" = "yes no"; then 11375 if test "$have_motif $have_lesstif" = "yes no"; then
11375 11376
11376 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 11377 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
11377 echo "configure:11378: checking for XmImMbLookupString in -lXm" >&5 11378 echo "configure:11379: checking for XmImMbLookupString in -lXm" >&5
11378 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11379 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11379 11380
11380 xe_check_libs=" -lXm " 11381 xe_check_libs=" -lXm "
11381 cat > conftest.$ac_ext <<EOF 11382 cat > conftest.$ac_ext <<EOF
11382 #line 11383 "configure" 11383 #line 11384 "configure"
11383 #include "confdefs.h" 11384 #include "confdefs.h"
11384 /* Override any gcc2 internal prototype to avoid an error. */ 11385 /* Override any gcc2 internal prototype to avoid an error. */
11385 /* We use char because int might match the return type of a gcc2 11386 /* We use char because int might match the return type of a gcc2
11386 builtin and then its argument prototype would still apply. */ 11387 builtin and then its argument prototype would still apply. */
11387 char XmImMbLookupString(); 11388 char XmImMbLookupString();
11388 11389
11389 int main() { 11390 int main() {
11390 XmImMbLookupString() 11391 XmImMbLookupString()
11391 ; return 0; } 11392 ; return 0; }
11392 EOF 11393 EOF
11393 if { (eval echo configure:11394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11394 if { (eval echo configure:11395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11394 rm -rf conftest* 11395 rm -rf conftest*
11395 eval "ac_cv_lib_$ac_lib_var=yes" 11396 eval "ac_cv_lib_$ac_lib_var=yes"
11396 else 11397 else
11397 echo "configure: failed program was:" >&5 11398 echo "configure: failed program was:" >&5
11398 cat conftest.$ac_ext >&5 11399 cat conftest.$ac_ext >&5
11453 fi 11454 fi
11454 fi 11455 fi
11455 11456
11456 if test "$with_xfs" = "yes" ; then 11457 if test "$with_xfs" = "yes" ; then
11457 echo "checking for XFontSet" 1>&6 11458 echo "checking for XFontSet" 1>&6
11458 echo "configure:11459: checking for XFontSet" >&5 11459 echo "configure:11460: checking for XFontSet" >&5
11459 11460
11460 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 11461 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
11461 echo "configure:11462: checking for XmbDrawString in -lX11" >&5 11462 echo "configure:11463: checking for XmbDrawString in -lX11" >&5
11462 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11463 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11463 11464
11464 xe_check_libs=" -lX11 " 11465 xe_check_libs=" -lX11 "
11465 cat > conftest.$ac_ext <<EOF 11466 cat > conftest.$ac_ext <<EOF
11466 #line 11467 "configure" 11467 #line 11468 "configure"
11467 #include "confdefs.h" 11468 #include "confdefs.h"
11468 /* Override any gcc2 internal prototype to avoid an error. */ 11469 /* Override any gcc2 internal prototype to avoid an error. */
11469 /* We use char because int might match the return type of a gcc2 11470 /* We use char because int might match the return type of a gcc2
11470 builtin and then its argument prototype would still apply. */ 11471 builtin and then its argument prototype would still apply. */
11471 char XmbDrawString(); 11472 char XmbDrawString();
11472 11473
11473 int main() { 11474 int main() {
11474 XmbDrawString() 11475 XmbDrawString()
11475 ; return 0; } 11476 ; return 0; }
11476 EOF 11477 EOF
11477 if { (eval echo configure:11478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11478 if { (eval echo configure:11479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11478 rm -rf conftest* 11479 rm -rf conftest*
11479 eval "ac_cv_lib_$ac_lib_var=yes" 11480 eval "ac_cv_lib_$ac_lib_var=yes"
11480 else 11481 else
11481 echo "configure: failed program was:" >&5 11482 echo "configure: failed program was:" >&5
11482 cat conftest.$ac_ext >&5 11483 cat conftest.$ac_ext >&5
11512 fi 11513 fi
11513 fi 11514 fi
11514 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11515 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11515 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 11516 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
11516 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 11517 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
11517 echo "configure:11518: checking for wnn/jllib.h" >&5 11518 echo "configure:11519: checking for wnn/jllib.h" >&5
11518 11519
11519 cat > conftest.$ac_ext <<EOF 11520 cat > conftest.$ac_ext <<EOF
11520 #line 11521 "configure" 11521 #line 11522 "configure"
11521 #include "confdefs.h" 11522 #include "confdefs.h"
11522 #include <wnn/jllib.h> 11523 #include <wnn/jllib.h>
11523 EOF 11524 EOF
11524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11525 { (eval echo configure:11526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11526 { (eval echo configure:11527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11527 if test -z "$ac_err"; then 11528 if test -z "$ac_err"; then
11528 rm -rf conftest* 11529 rm -rf conftest*
11529 eval "ac_cv_header_$ac_safe=yes" 11530 eval "ac_cv_header_$ac_safe=yes"
11530 else 11531 else
11543 with_wnn=no 11544 with_wnn=no
11544 fi 11545 fi
11545 } 11546 }
11546 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 11547 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
11547 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 11548 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
11548 echo "configure:11549: checking for wnn/commonhd.h" >&5 11549 echo "configure:11550: checking for wnn/commonhd.h" >&5
11549 11550
11550 cat > conftest.$ac_ext <<EOF 11551 cat > conftest.$ac_ext <<EOF
11551 #line 11552 "configure" 11552 #line 11553 "configure"
11552 #include "confdefs.h" 11553 #include "confdefs.h"
11553 #include <wnn/commonhd.h> 11554 #include <wnn/commonhd.h>
11554 EOF 11555 EOF
11555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11556 { (eval echo configure:11557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11557 { (eval echo configure:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11558 if test -z "$ac_err"; then 11559 if test -z "$ac_err"; then
11559 rm -rf conftest* 11560 rm -rf conftest*
11560 eval "ac_cv_header_$ac_safe=yes" 11561 eval "ac_cv_header_$ac_safe=yes"
11561 else 11562 else
11576 } 11577 }
11577 if test "$with_wnn" != "no"; then 11578 if test "$with_wnn" != "no"; then
11578 for ac_func in crypt 11579 for ac_func in crypt
11579 do 11580 do
11580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11581 echo "configure:11582: checking for $ac_func" >&5 11582 echo "configure:11583: checking for $ac_func" >&5
11582 11583
11583 cat > conftest.$ac_ext <<EOF 11584 cat > conftest.$ac_ext <<EOF
11584 #line 11585 "configure" 11585 #line 11586 "configure"
11585 #include "confdefs.h" 11586 #include "confdefs.h"
11586 /* System header to define __stub macros and hopefully few prototypes, 11587 /* System header to define __stub macros and hopefully few prototypes,
11587 which can conflict with char $ac_func(); below. */ 11588 which can conflict with char $ac_func(); below. */
11588 #include <assert.h> 11589 #include <assert.h>
11589 /* Override any gcc2 internal prototype to avoid an error. */ 11590 /* Override any gcc2 internal prototype to avoid an error. */
11602 $ac_func(); 11603 $ac_func();
11603 #endif 11604 #endif
11604 11605
11605 ; return 0; } 11606 ; return 0; }
11606 EOF 11607 EOF
11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11608 if { (eval echo configure:11609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11608 rm -rf conftest* 11609 rm -rf conftest*
11609 eval "ac_cv_func_$ac_func=yes" 11610 eval "ac_cv_func_$ac_func=yes"
11610 else 11611 else
11611 echo "configure: failed program was:" >&5 11612 echo "configure: failed program was:" >&5
11612 cat conftest.$ac_ext >&5 11613 cat conftest.$ac_ext >&5
11631 fi 11632 fi
11632 done 11633 done
11633 11634
11634 test "$ac_cv_func_crypt" != "yes" && { 11635 test "$ac_cv_func_crypt" != "yes" && {
11635 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 11636 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
11636 echo "configure:11637: checking for crypt in -lcrypt" >&5 11637 echo "configure:11638: checking for crypt in -lcrypt" >&5
11637 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11638 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11638 11639
11639 xe_check_libs=" -lcrypt " 11640 xe_check_libs=" -lcrypt "
11640 cat > conftest.$ac_ext <<EOF 11641 cat > conftest.$ac_ext <<EOF
11641 #line 11642 "configure" 11642 #line 11643 "configure"
11642 #include "confdefs.h" 11643 #include "confdefs.h"
11643 /* Override any gcc2 internal prototype to avoid an error. */ 11644 /* Override any gcc2 internal prototype to avoid an error. */
11644 /* We use char because int might match the return type of a gcc2 11645 /* We use char because int might match the return type of a gcc2
11645 builtin and then its argument prototype would still apply. */ 11646 builtin and then its argument prototype would still apply. */
11646 char crypt(); 11647 char crypt();
11647 11648
11648 int main() { 11649 int main() {
11649 crypt() 11650 crypt()
11650 ; return 0; } 11651 ; return 0; }
11651 EOF 11652 EOF
11652 if { (eval echo configure:11653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11653 if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11653 rm -rf conftest* 11654 rm -rf conftest*
11654 eval "ac_cv_lib_$ac_lib_var=yes" 11655 eval "ac_cv_lib_$ac_lib_var=yes"
11655 else 11656 else
11656 echo "configure: failed program was:" >&5 11657 echo "configure: failed program was:" >&5
11657 cat conftest.$ac_ext >&5 11658 cat conftest.$ac_ext >&5
11682 } 11683 }
11683 fi 11684 fi
11684 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11685 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11685 11686
11686 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 11687 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
11687 echo "configure:11688: checking for jl_dic_list_e in -lwnn" >&5 11688 echo "configure:11689: checking for jl_dic_list_e in -lwnn" >&5
11688 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11689 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11689 11690
11690 xe_check_libs=" -lwnn " 11691 xe_check_libs=" -lwnn "
11691 cat > conftest.$ac_ext <<EOF 11692 cat > conftest.$ac_ext <<EOF
11692 #line 11693 "configure" 11693 #line 11694 "configure"
11693 #include "confdefs.h" 11694 #include "confdefs.h"
11694 /* Override any gcc2 internal prototype to avoid an error. */ 11695 /* Override any gcc2 internal prototype to avoid an error. */
11695 /* We use char because int might match the return type of a gcc2 11696 /* We use char because int might match the return type of a gcc2
11696 builtin and then its argument prototype would still apply. */ 11697 builtin and then its argument prototype would still apply. */
11697 char jl_dic_list_e(); 11698 char jl_dic_list_e();
11698 11699
11699 int main() { 11700 int main() {
11700 jl_dic_list_e() 11701 jl_dic_list_e()
11701 ; return 0; } 11702 ; return 0; }
11702 EOF 11703 EOF
11703 if { (eval echo configure:11704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11704 if { (eval echo configure:11705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11704 rm -rf conftest* 11705 rm -rf conftest*
11705 eval "ac_cv_lib_$ac_lib_var=yes" 11706 eval "ac_cv_lib_$ac_lib_var=yes"
11706 else 11707 else
11707 echo "configure: failed program was:" >&5 11708 echo "configure: failed program was:" >&5
11708 cat conftest.$ac_ext >&5 11709 cat conftest.$ac_ext >&5
11716 echo "$ac_t""yes" 1>&6 11717 echo "$ac_t""yes" 1>&6
11717 libwnn=wnn 11718 libwnn=wnn
11718 else 11719 else
11719 echo "$ac_t""no" 1>&6 11720 echo "$ac_t""no" 1>&6
11720 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 11721 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
11721 echo "configure:11722: checking for jl_dic_list_e in -lwnn4" >&5 11722 echo "configure:11723: checking for jl_dic_list_e in -lwnn4" >&5
11722 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11723 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11723 11724
11724 xe_check_libs=" -lwnn4 " 11725 xe_check_libs=" -lwnn4 "
11725 cat > conftest.$ac_ext <<EOF 11726 cat > conftest.$ac_ext <<EOF
11726 #line 11727 "configure" 11727 #line 11728 "configure"
11727 #include "confdefs.h" 11728 #include "confdefs.h"
11728 /* Override any gcc2 internal prototype to avoid an error. */ 11729 /* Override any gcc2 internal prototype to avoid an error. */
11729 /* We use char because int might match the return type of a gcc2 11730 /* We use char because int might match the return type of a gcc2
11730 builtin and then its argument prototype would still apply. */ 11731 builtin and then its argument prototype would still apply. */
11731 char jl_dic_list_e(); 11732 char jl_dic_list_e();
11732 11733
11733 int main() { 11734 int main() {
11734 jl_dic_list_e() 11735 jl_dic_list_e()
11735 ; return 0; } 11736 ; return 0; }
11736 EOF 11737 EOF
11737 if { (eval echo configure:11738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11738 if { (eval echo configure:11739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11738 rm -rf conftest* 11739 rm -rf conftest*
11739 eval "ac_cv_lib_$ac_lib_var=yes" 11740 eval "ac_cv_lib_$ac_lib_var=yes"
11740 else 11741 else
11741 echo "configure: failed program was:" >&5 11742 echo "configure: failed program was:" >&5
11742 cat conftest.$ac_ext >&5 11743 cat conftest.$ac_ext >&5
11750 echo "$ac_t""yes" 1>&6 11751 echo "$ac_t""yes" 1>&6
11751 libwnn=wnn4 11752 libwnn=wnn4
11752 else 11753 else
11753 echo "$ac_t""no" 1>&6 11754 echo "$ac_t""no" 1>&6
11754 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 11755 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
11755 echo "configure:11756: checking for jl_dic_list_e in -lwnn6" >&5 11756 echo "configure:11757: checking for jl_dic_list_e in -lwnn6" >&5
11756 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11757 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11757 11758
11758 xe_check_libs=" -lwnn6 " 11759 xe_check_libs=" -lwnn6 "
11759 cat > conftest.$ac_ext <<EOF 11760 cat > conftest.$ac_ext <<EOF
11760 #line 11761 "configure" 11761 #line 11762 "configure"
11761 #include "confdefs.h" 11762 #include "confdefs.h"
11762 /* Override any gcc2 internal prototype to avoid an error. */ 11763 /* Override any gcc2 internal prototype to avoid an error. */
11763 /* We use char because int might match the return type of a gcc2 11764 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */ 11765 builtin and then its argument prototype would still apply. */
11765 char jl_dic_list_e(); 11766 char jl_dic_list_e();
11766 11767
11767 int main() { 11768 int main() {
11768 jl_dic_list_e() 11769 jl_dic_list_e()
11769 ; return 0; } 11770 ; return 0; }
11770 EOF 11771 EOF
11771 if { (eval echo configure:11772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11772 rm -rf conftest* 11773 rm -rf conftest*
11773 eval "ac_cv_lib_$ac_lib_var=yes" 11774 eval "ac_cv_lib_$ac_lib_var=yes"
11774 else 11775 else
11775 echo "configure: failed program was:" >&5 11776 echo "configure: failed program was:" >&5
11776 cat conftest.$ac_ext >&5 11777 cat conftest.$ac_ext >&5
11784 echo "$ac_t""yes" 1>&6 11785 echo "$ac_t""yes" 1>&6
11785 libwnn=wnn6 11786 libwnn=wnn6
11786 else 11787 else
11787 echo "$ac_t""no" 1>&6 11788 echo "$ac_t""no" 1>&6
11788 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 11789 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
11789 echo "configure:11790: checking for dic_list_e in -lwnn6_fromsrc" >&5 11790 echo "configure:11791: checking for dic_list_e in -lwnn6_fromsrc" >&5
11790 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 11791 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
11791 11792
11792 xe_check_libs=" -lwnn6_fromsrc " 11793 xe_check_libs=" -lwnn6_fromsrc "
11793 cat > conftest.$ac_ext <<EOF 11794 cat > conftest.$ac_ext <<EOF
11794 #line 11795 "configure" 11795 #line 11796 "configure"
11795 #include "confdefs.h" 11796 #include "confdefs.h"
11796 /* Override any gcc2 internal prototype to avoid an error. */ 11797 /* Override any gcc2 internal prototype to avoid an error. */
11797 /* We use char because int might match the return type of a gcc2 11798 /* We use char because int might match the return type of a gcc2
11798 builtin and then its argument prototype would still apply. */ 11799 builtin and then its argument prototype would still apply. */
11799 char dic_list_e(); 11800 char dic_list_e();
11800 11801
11801 int main() { 11802 int main() {
11802 dic_list_e() 11803 dic_list_e()
11803 ; return 0; } 11804 ; return 0; }
11804 EOF 11805 EOF
11805 if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11806 if { (eval echo configure:11807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11806 rm -rf conftest* 11807 rm -rf conftest*
11807 eval "ac_cv_lib_$ac_lib_var=yes" 11808 eval "ac_cv_lib_$ac_lib_var=yes"
11808 else 11809 else
11809 echo "configure: failed program was:" >&5 11810 echo "configure: failed program was:" >&5
11810 cat conftest.$ac_ext >&5 11811 cat conftest.$ac_ext >&5
11845 11846
11846 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 11847 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
11847 if test "$with_wnn6" != "no"; then 11848 if test "$with_wnn6" != "no"; then
11848 11849
11849 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 11850 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
11850 echo "configure:11851: checking for jl_fi_dic_list in -l$libwnn" >&5 11851 echo "configure:11852: checking for jl_fi_dic_list in -l$libwnn" >&5
11851 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 11852 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
11852 11853
11853 xe_check_libs=" -l$libwnn " 11854 xe_check_libs=" -l$libwnn "
11854 cat > conftest.$ac_ext <<EOF 11855 cat > conftest.$ac_ext <<EOF
11855 #line 11856 "configure" 11856 #line 11857 "configure"
11856 #include "confdefs.h" 11857 #include "confdefs.h"
11857 /* Override any gcc2 internal prototype to avoid an error. */ 11858 /* Override any gcc2 internal prototype to avoid an error. */
11858 /* We use char because int might match the return type of a gcc2 11859 /* We use char because int might match the return type of a gcc2
11859 builtin and then its argument prototype would still apply. */ 11860 builtin and then its argument prototype would still apply. */
11860 char jl_fi_dic_list(); 11861 char jl_fi_dic_list();
11861 11862
11862 int main() { 11863 int main() {
11863 jl_fi_dic_list() 11864 jl_fi_dic_list()
11864 ; return 0; } 11865 ; return 0; }
11865 EOF 11866 EOF
11866 if { (eval echo configure:11867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11867 if { (eval echo configure:11868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11867 rm -rf conftest* 11868 rm -rf conftest*
11868 eval "ac_cv_lib_$ac_lib_var=yes" 11869 eval "ac_cv_lib_$ac_lib_var=yes"
11869 else 11870 else
11870 echo "configure: failed program was:" >&5 11871 echo "configure: failed program was:" >&5
11871 cat conftest.$ac_ext >&5 11872 cat conftest.$ac_ext >&5
11896 11897
11897 canna_includes_found=no 11898 canna_includes_found=no
11898 if test "$with_canna" != "no"; then 11899 if test "$with_canna" != "no"; then
11899 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11900 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11900 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11901 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11901 echo "configure:11902: checking for canna/jrkanji.h" >&5 11902 echo "configure:11903: checking for canna/jrkanji.h" >&5
11902 11903
11903 cat > conftest.$ac_ext <<EOF 11904 cat > conftest.$ac_ext <<EOF
11904 #line 11905 "configure" 11905 #line 11906 "configure"
11905 #include "confdefs.h" 11906 #include "confdefs.h"
11906 #include <canna/jrkanji.h> 11907 #include <canna/jrkanji.h>
11907 EOF 11908 EOF
11908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11909 { (eval echo configure:11910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11910 { (eval echo configure:11911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11911 if test -z "$ac_err"; then 11912 if test -z "$ac_err"; then
11912 rm -rf conftest* 11913 rm -rf conftest*
11913 eval "ac_cv_header_$ac_safe=yes" 11914 eval "ac_cv_header_$ac_safe=yes"
11914 else 11915 else
11931 -d "/usr/local/canna/include"; then 11932 -d "/usr/local/canna/include"; then
11932 save_c_switch_site="$c_switch_site" 11933 save_c_switch_site="$c_switch_site"
11933 c_switch_site="$c_switch_site -I/usr/local/canna/include" 11934 c_switch_site="$c_switch_site -I/usr/local/canna/include"
11934 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11935 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11935 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11936 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11936 echo "configure:11937: checking for canna/jrkanji.h" >&5 11937 echo "configure:11938: checking for canna/jrkanji.h" >&5
11937 11938
11938 cat > conftest.$ac_ext <<EOF 11939 cat > conftest.$ac_ext <<EOF
11939 #line 11940 "configure" 11940 #line 11941 "configure"
11940 #include "confdefs.h" 11941 #include "confdefs.h"
11941 #include <canna/jrkanji.h> 11942 #include <canna/jrkanji.h>
11942 EOF 11943 EOF
11943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11944 { (eval echo configure:11945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11945 { (eval echo configure:11946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11946 if test -z "$ac_err"; then 11947 if test -z "$ac_err"; then
11947 rm -rf conftest* 11948 rm -rf conftest*
11948 eval "ac_cv_header_$ac_safe=yes" 11949 eval "ac_cv_header_$ac_safe=yes"
11949 else 11950 else
11967 fi 11968 fi
11968 fi 11969 fi
11969 11970
11970 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 11971 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
11971 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 11972 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
11972 echo "configure:11973: checking for canna/RK.h" >&5 11973 echo "configure:11974: checking for canna/RK.h" >&5
11973 11974
11974 cat > conftest.$ac_ext <<EOF 11975 cat > conftest.$ac_ext <<EOF
11975 #line 11976 "configure" 11976 #line 11977 "configure"
11976 #include "confdefs.h" 11977 #include "confdefs.h"
11977 #include <canna/RK.h> 11978 #include <canna/RK.h>
11978 EOF 11979 EOF
11979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11980 { (eval echo configure:11981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11981 { (eval echo configure:11982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11982 if test -z "$ac_err"; then 11983 if test -z "$ac_err"; then
11983 rm -rf conftest* 11984 rm -rf conftest*
11984 eval "ac_cv_header_$ac_safe=yes" 11985 eval "ac_cv_header_$ac_safe=yes"
11985 else 11986 else
11998 with_canna=no 11999 with_canna=no
11999 fi 12000 fi
12000 } 12001 }
12001 test -z "$with_canna" && { 12002 test -z "$with_canna" && {
12002 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 12003 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
12003 echo "configure:12004: checking for RkBgnBun in -lRKC" >&5 12004 echo "configure:12005: checking for RkBgnBun in -lRKC" >&5
12004 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 12005 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
12005 12006
12006 xe_check_libs=" -lRKC " 12007 xe_check_libs=" -lRKC "
12007 cat > conftest.$ac_ext <<EOF 12008 cat > conftest.$ac_ext <<EOF
12008 #line 12009 "configure" 12009 #line 12010 "configure"
12009 #include "confdefs.h" 12010 #include "confdefs.h"
12010 /* Override any gcc2 internal prototype to avoid an error. */ 12011 /* Override any gcc2 internal prototype to avoid an error. */
12011 /* We use char because int might match the return type of a gcc2 12012 /* We use char because int might match the return type of a gcc2
12012 builtin and then its argument prototype would still apply. */ 12013 builtin and then its argument prototype would still apply. */
12013 char RkBgnBun(); 12014 char RkBgnBun();
12014 12015
12015 int main() { 12016 int main() {
12016 RkBgnBun() 12017 RkBgnBun()
12017 ; return 0; } 12018 ; return 0; }
12018 EOF 12019 EOF
12019 if { (eval echo configure:12020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12020 if { (eval echo configure:12021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12020 rm -rf conftest* 12021 rm -rf conftest*
12021 eval "ac_cv_lib_$ac_lib_var=yes" 12022 eval "ac_cv_lib_$ac_lib_var=yes"
12022 else 12023 else
12023 echo "configure: failed program was:" >&5 12024 echo "configure: failed program was:" >&5
12024 cat conftest.$ac_ext >&5 12025 cat conftest.$ac_ext >&5
12037 fi 12038 fi
12038 12039
12039 } 12040 }
12040 test -z "$with_canna" && { 12041 test -z "$with_canna" && {
12041 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 12042 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
12042 echo "configure:12043: checking for jrKanjiControl in -lcanna" >&5 12043 echo "configure:12044: checking for jrKanjiControl in -lcanna" >&5
12043 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 12044 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
12044 12045
12045 xe_check_libs=" -lcanna " 12046 xe_check_libs=" -lcanna "
12046 cat > conftest.$ac_ext <<EOF 12047 cat > conftest.$ac_ext <<EOF
12047 #line 12048 "configure" 12048 #line 12049 "configure"
12048 #include "confdefs.h" 12049 #include "confdefs.h"
12049 /* Override any gcc2 internal prototype to avoid an error. */ 12050 /* Override any gcc2 internal prototype to avoid an error. */
12050 /* We use char because int might match the return type of a gcc2 12051 /* We use char because int might match the return type of a gcc2
12051 builtin and then its argument prototype would still apply. */ 12052 builtin and then its argument prototype would still apply. */
12052 char jrKanjiControl(); 12053 char jrKanjiControl();
12053 12054
12054 int main() { 12055 int main() {
12055 jrKanjiControl() 12056 jrKanjiControl()
12056 ; return 0; } 12057 ; return 0; }
12057 EOF 12058 EOF
12058 if { (eval echo configure:12059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12059 if { (eval echo configure:12060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12059 rm -rf conftest* 12060 rm -rf conftest*
12060 eval "ac_cv_lib_$ac_lib_var=yes" 12061 eval "ac_cv_lib_$ac_lib_var=yes"
12061 else 12062 else
12062 echo "configure: failed program was:" >&5 12063 echo "configure: failed program was:" >&5
12063 cat conftest.$ac_ext >&5 12064 cat conftest.$ac_ext >&5
12099 12100
12100 if test "$need_motif" = "yes" ; then 12101 if test "$need_motif" = "yes" ; then
12101 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 12102 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
12102 12103
12103 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 12104 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
12104 echo "configure:12105: checking for layout_object_getvalue in -li18n" >&5 12105 echo "configure:12106: checking for layout_object_getvalue in -li18n" >&5
12105 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 12106 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
12106 12107
12107 xe_check_libs=" -li18n " 12108 xe_check_libs=" -li18n "
12108 cat > conftest.$ac_ext <<EOF 12109 cat > conftest.$ac_ext <<EOF
12109 #line 12110 "configure" 12110 #line 12111 "configure"
12110 #include "confdefs.h" 12111 #include "confdefs.h"
12111 /* Override any gcc2 internal prototype to avoid an error. */ 12112 /* Override any gcc2 internal prototype to avoid an error. */
12112 /* We use char because int might match the return type of a gcc2 12113 /* We use char because int might match the return type of a gcc2
12113 builtin and then its argument prototype would still apply. */ 12114 builtin and then its argument prototype would still apply. */
12114 char layout_object_getvalue(); 12115 char layout_object_getvalue();
12115 12116
12116 int main() { 12117 int main() {
12117 layout_object_getvalue() 12118 layout_object_getvalue()
12118 ; return 0; } 12119 ; return 0; }
12119 EOF 12120 EOF
12120 if { (eval echo configure:12121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12121 if { (eval echo configure:12122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12121 rm -rf conftest* 12122 rm -rf conftest*
12122 eval "ac_cv_lib_$ac_lib_var=yes" 12123 eval "ac_cv_lib_$ac_lib_var=yes"
12123 else 12124 else
12124 echo "configure: failed program was:" >&5 12125 echo "configure: failed program was:" >&5
12125 cat conftest.$ac_ext >&5 12126 cat conftest.$ac_ext >&5
12202 12203
12203 12204
12204 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize getrlimit 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 vlimit 12205 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize getrlimit 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 vlimit
12205 do 12206 do
12206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12207 echo "configure:12208: checking for $ac_func" >&5 12208 echo "configure:12209: checking for $ac_func" >&5
12208 12209
12209 cat > conftest.$ac_ext <<EOF 12210 cat > conftest.$ac_ext <<EOF
12210 #line 12211 "configure" 12211 #line 12212 "configure"
12211 #include "confdefs.h" 12212 #include "confdefs.h"
12212 /* System header to define __stub macros and hopefully few prototypes, 12213 /* System header to define __stub macros and hopefully few prototypes,
12213 which can conflict with char $ac_func(); below. */ 12214 which can conflict with char $ac_func(); below. */
12214 #include <assert.h> 12215 #include <assert.h>
12215 /* Override any gcc2 internal prototype to avoid an error. */ 12216 /* Override any gcc2 internal prototype to avoid an error. */
12228 $ac_func(); 12229 $ac_func();
12229 #endif 12230 #endif
12230 12231
12231 ; return 0; } 12232 ; return 0; }
12232 EOF 12233 EOF
12233 if { (eval echo configure:12234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12234 rm -rf conftest* 12235 rm -rf conftest*
12235 eval "ac_cv_func_$ac_func=yes" 12236 eval "ac_cv_func_$ac_func=yes"
12236 else 12237 else
12237 echo "configure: failed program was:" >&5 12238 echo "configure: failed program was:" >&5
12238 cat conftest.$ac_ext >&5 12239 cat conftest.$ac_ext >&5
12269 12270
12270 12271
12271 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12272 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12272 do 12273 do
12273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12274 echo "configure:12275: checking for $ac_func" >&5 12275 echo "configure:12276: checking for $ac_func" >&5
12275 12276
12276 cat > conftest.$ac_ext <<EOF 12277 cat > conftest.$ac_ext <<EOF
12277 #line 12278 "configure" 12278 #line 12279 "configure"
12278 #include "confdefs.h" 12279 #include "confdefs.h"
12279 /* System header to define __stub macros and hopefully few prototypes, 12280 /* System header to define __stub macros and hopefully few prototypes,
12280 which can conflict with char $ac_func(); below. */ 12281 which can conflict with char $ac_func(); below. */
12281 #include <assert.h> 12282 #include <assert.h>
12282 /* Override any gcc2 internal prototype to avoid an error. */ 12283 /* Override any gcc2 internal prototype to avoid an error. */
12295 $ac_func(); 12296 $ac_func();
12296 #endif 12297 #endif
12297 12298
12298 ; return 0; } 12299 ; return 0; }
12299 EOF 12300 EOF
12300 if { (eval echo configure:12301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12301 if { (eval echo configure:12302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12301 rm -rf conftest* 12302 rm -rf conftest*
12302 eval "ac_cv_func_$ac_func=yes" 12303 eval "ac_cv_func_$ac_func=yes"
12303 else 12304 else
12304 echo "configure: failed program was:" >&5 12305 echo "configure: failed program was:" >&5
12305 cat conftest.$ac_ext >&5 12306 cat conftest.$ac_ext >&5
12324 fi 12325 fi
12325 done 12326 done
12326 12327
12327 12328
12328 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12329 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12329 echo "configure:12330: checking for openpty" >&5 12330 echo "configure:12331: checking for openpty" >&5
12330 12331
12331 cat > conftest.$ac_ext <<EOF 12332 cat > conftest.$ac_ext <<EOF
12332 #line 12333 "configure" 12333 #line 12334 "configure"
12333 #include "confdefs.h" 12334 #include "confdefs.h"
12334 /* System header to define __stub macros and hopefully few prototypes, 12335 /* System header to define __stub macros and hopefully few prototypes,
12335 which can conflict with char openpty(); below. */ 12336 which can conflict with char openpty(); below. */
12336 #include <assert.h> 12337 #include <assert.h>
12337 /* Override any gcc2 internal prototype to avoid an error. */ 12338 /* Override any gcc2 internal prototype to avoid an error. */
12350 openpty(); 12351 openpty();
12351 #endif 12352 #endif
12352 12353
12353 ; return 0; } 12354 ; return 0; }
12354 EOF 12355 EOF
12355 if { (eval echo configure:12356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12356 rm -rf conftest* 12357 rm -rf conftest*
12357 eval "ac_cv_func_openpty=yes" 12358 eval "ac_cv_func_openpty=yes"
12358 else 12359 else
12359 echo "configure: failed program was:" >&5 12360 echo "configure: failed program was:" >&5
12360 cat conftest.$ac_ext >&5 12361 cat conftest.$ac_ext >&5
12369 else 12370 else
12370 echo "$ac_t""no" 1>&6 12371 echo "$ac_t""no" 1>&6
12371 12372
12372 12373
12373 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 12374 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
12374 echo "configure:12375: checking for openpty in -lutil" >&5 12375 echo "configure:12376: checking for openpty in -lutil" >&5
12375 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12376 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12376 12377
12377 xe_check_libs=" -lutil " 12378 xe_check_libs=" -lutil "
12378 cat > conftest.$ac_ext <<EOF 12379 cat > conftest.$ac_ext <<EOF
12379 #line 12380 "configure" 12380 #line 12381 "configure"
12380 #include "confdefs.h" 12381 #include "confdefs.h"
12381 /* Override any gcc2 internal prototype to avoid an error. */ 12382 /* Override any gcc2 internal prototype to avoid an error. */
12382 /* We use char because int might match the return type of a gcc2 12383 /* We use char because int might match the return type of a gcc2
12383 builtin and then its argument prototype would still apply. */ 12384 builtin and then its argument prototype would still apply. */
12384 char openpty(); 12385 char openpty();
12385 12386
12386 int main() { 12387 int main() {
12387 openpty() 12388 openpty()
12388 ; return 0; } 12389 ; return 0; }
12389 EOF 12390 EOF
12390 if { (eval echo configure:12391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12391 if { (eval echo configure:12392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12391 rm -rf conftest* 12392 rm -rf conftest*
12392 eval "ac_cv_lib_$ac_lib_var=yes" 12393 eval "ac_cv_lib_$ac_lib_var=yes"
12393 else 12394 else
12394 echo "configure: failed program was:" >&5 12395 echo "configure: failed program was:" >&5
12395 cat conftest.$ac_ext >&5 12396 cat conftest.$ac_ext >&5
12420 12421
12421 for ac_hdr in libutil.h util.h 12422 for ac_hdr in libutil.h util.h
12422 do 12423 do
12423 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12424 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12425 echo "configure:12426: checking for $ac_hdr" >&5 12426 echo "configure:12427: checking for $ac_hdr" >&5
12426 12427
12427 cat > conftest.$ac_ext <<EOF 12428 cat > conftest.$ac_ext <<EOF
12428 #line 12429 "configure" 12429 #line 12430 "configure"
12429 #include "confdefs.h" 12430 #include "confdefs.h"
12430 #include <$ac_hdr> 12431 #include <$ac_hdr>
12431 EOF 12432 EOF
12432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12433 { (eval echo configure:12434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12434 { (eval echo configure:12435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12435 if test -z "$ac_err"; then 12436 if test -z "$ac_err"; then
12436 rm -rf conftest* 12437 rm -rf conftest*
12437 eval "ac_cv_header_$ac_safe=yes" 12438 eval "ac_cv_header_$ac_safe=yes"
12438 else 12439 else
12465 case "$opsys" in 12466 case "$opsys" in
12466 hpux*) for ac_hdr in sys/ptyio.h 12467 hpux*) for ac_hdr in sys/ptyio.h
12467 do 12468 do
12468 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12469 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12469 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12470 echo "configure:12471: checking for $ac_hdr" >&5 12471 echo "configure:12472: checking for $ac_hdr" >&5
12471 12472
12472 cat > conftest.$ac_ext <<EOF 12473 cat > conftest.$ac_ext <<EOF
12473 #line 12474 "configure" 12474 #line 12475 "configure"
12474 #include "confdefs.h" 12475 #include "confdefs.h"
12475 #include <$ac_hdr> 12476 #include <$ac_hdr>
12476 EOF 12477 EOF
12477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12478 { (eval echo configure:12479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12479 { (eval echo configure:12480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12480 if test -z "$ac_err"; then 12481 if test -z "$ac_err"; then
12481 rm -rf conftest* 12482 rm -rf conftest*
12482 eval "ac_cv_header_$ac_safe=yes" 12483 eval "ac_cv_header_$ac_safe=yes"
12483 else 12484 else
12506 ;; 12507 ;;
12507 *) for ac_hdr in pty.h 12508 *) for ac_hdr in pty.h
12508 do 12509 do
12509 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12510 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12511 echo "configure:12512: checking for $ac_hdr" >&5 12512 echo "configure:12513: checking for $ac_hdr" >&5
12512 12513
12513 cat > conftest.$ac_ext <<EOF 12514 cat > conftest.$ac_ext <<EOF
12514 #line 12515 "configure" 12515 #line 12516 "configure"
12515 #include "confdefs.h" 12516 #include "confdefs.h"
12516 #include <$ac_hdr> 12517 #include <$ac_hdr>
12517 EOF 12518 EOF
12518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12519 { (eval echo configure:12520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12520 { (eval echo configure:12521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12521 if test -z "$ac_err"; then 12522 if test -z "$ac_err"; then
12522 rm -rf conftest* 12523 rm -rf conftest*
12523 eval "ac_cv_header_$ac_safe=yes" 12524 eval "ac_cv_header_$ac_safe=yes"
12524 else 12525 else
12547 12548
12548 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 12549 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
12549 do 12550 do
12550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12552 echo "configure:12553: checking for $ac_hdr" >&5 12553 echo "configure:12554: checking for $ac_hdr" >&5
12553 12554
12554 cat > conftest.$ac_ext <<EOF 12555 cat > conftest.$ac_ext <<EOF
12555 #line 12556 "configure" 12556 #line 12557 "configure"
12556 #include "confdefs.h" 12557 #include "confdefs.h"
12557 #include <$ac_hdr> 12558 #include <$ac_hdr>
12558 EOF 12559 EOF
12559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12560 { (eval echo configure:12561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12561 { (eval echo configure:12562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12562 if test -z "$ac_err"; then 12563 if test -z "$ac_err"; then
12563 rm -rf conftest* 12564 rm -rf conftest*
12564 eval "ac_cv_header_$ac_safe=yes" 12565 eval "ac_cv_header_$ac_safe=yes"
12565 else 12566 else
12591 12592
12592 for ac_hdr in stropts.h 12593 for ac_hdr in stropts.h
12593 do 12594 do
12594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12596 echo "configure:12597: checking for $ac_hdr" >&5 12597 echo "configure:12598: checking for $ac_hdr" >&5
12597 12598
12598 cat > conftest.$ac_ext <<EOF 12599 cat > conftest.$ac_ext <<EOF
12599 #line 12600 "configure" 12600 #line 12601 "configure"
12600 #include "confdefs.h" 12601 #include "confdefs.h"
12601 #include <$ac_hdr> 12602 #include <$ac_hdr>
12602 EOF 12603 EOF
12603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12604 { (eval echo configure:12605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12605 { (eval echo configure:12606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12606 if test -z "$ac_err"; then 12607 if test -z "$ac_err"; then
12607 rm -rf conftest* 12608 rm -rf conftest*
12608 eval "ac_cv_header_$ac_safe=yes" 12609 eval "ac_cv_header_$ac_safe=yes"
12609 else 12610 else
12632 12633
12633 if test "$ac_cv_header_stropts_h" = "yes"; then 12634 if test "$ac_cv_header_stropts_h" = "yes"; then
12634 for ac_func in isastream 12635 for ac_func in isastream
12635 do 12636 do
12636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12637 echo "configure:12638: checking for $ac_func" >&5 12638 echo "configure:12639: checking for $ac_func" >&5
12638 12639
12639 cat > conftest.$ac_ext <<EOF 12640 cat > conftest.$ac_ext <<EOF
12640 #line 12641 "configure" 12641 #line 12642 "configure"
12641 #include "confdefs.h" 12642 #include "confdefs.h"
12642 /* System header to define __stub macros and hopefully few prototypes, 12643 /* System header to define __stub macros and hopefully few prototypes,
12643 which can conflict with char $ac_func(); below. */ 12644 which can conflict with char $ac_func(); below. */
12644 #include <assert.h> 12645 #include <assert.h>
12645 /* Override any gcc2 internal prototype to avoid an error. */ 12646 /* Override any gcc2 internal prototype to avoid an error. */
12658 $ac_func(); 12659 $ac_func();
12659 #endif 12660 #endif
12660 12661
12661 ; return 0; } 12662 ; return 0; }
12662 EOF 12663 EOF
12663 if { (eval echo configure:12664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12664 rm -rf conftest* 12665 rm -rf conftest*
12665 eval "ac_cv_func_$ac_func=yes" 12666 eval "ac_cv_func_$ac_func=yes"
12666 else 12667 else
12667 echo "configure: failed program was:" >&5 12668 echo "configure: failed program was:" >&5
12668 cat conftest.$ac_ext >&5 12669 cat conftest.$ac_ext >&5
12689 12690
12690 for ac_hdr in strtio.h 12691 for ac_hdr in strtio.h
12691 do 12692 do
12692 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12693 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12693 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12694 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12694 echo "configure:12695: checking for $ac_hdr" >&5 12695 echo "configure:12696: checking for $ac_hdr" >&5
12695 12696
12696 cat > conftest.$ac_ext <<EOF 12697 cat > conftest.$ac_ext <<EOF
12697 #line 12698 "configure" 12698 #line 12699 "configure"
12698 #include "confdefs.h" 12699 #include "confdefs.h"
12699 #include <$ac_hdr> 12700 #include <$ac_hdr>
12700 EOF 12701 EOF
12701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12702 { (eval echo configure:12703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12703 { (eval echo configure:12704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12704 if test -z "$ac_err"; then 12705 if test -z "$ac_err"; then
12705 rm -rf conftest* 12706 rm -rf conftest*
12706 eval "ac_cv_header_$ac_safe=yes" 12707 eval "ac_cv_header_$ac_safe=yes"
12707 else 12708 else
12730 fi 12731 fi
12731 12732
12732 for ac_func in getloadavg 12733 for ac_func in getloadavg
12733 do 12734 do
12734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12735 echo "configure:12736: checking for $ac_func" >&5 12736 echo "configure:12737: checking for $ac_func" >&5
12736 12737
12737 cat > conftest.$ac_ext <<EOF 12738 cat > conftest.$ac_ext <<EOF
12738 #line 12739 "configure" 12739 #line 12740 "configure"
12739 #include "confdefs.h" 12740 #include "confdefs.h"
12740 /* System header to define __stub macros and hopefully few prototypes, 12741 /* System header to define __stub macros and hopefully few prototypes,
12741 which can conflict with char $ac_func(); below. */ 12742 which can conflict with char $ac_func(); below. */
12742 #include <assert.h> 12743 #include <assert.h>
12743 /* Override any gcc2 internal prototype to avoid an error. */ 12744 /* Override any gcc2 internal prototype to avoid an error. */
12756 $ac_func(); 12757 $ac_func();
12757 #endif 12758 #endif
12758 12759
12759 ; return 0; } 12760 ; return 0; }
12760 EOF 12761 EOF
12761 if { (eval echo configure:12762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12762 if { (eval echo configure:12763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12762 rm -rf conftest* 12763 rm -rf conftest*
12763 eval "ac_cv_func_$ac_func=yes" 12764 eval "ac_cv_func_$ac_func=yes"
12764 else 12765 else
12765 echo "configure: failed program was:" >&5 12766 echo "configure: failed program was:" >&5
12766 cat conftest.$ac_ext >&5 12767 cat conftest.$ac_ext >&5
12789 if test "$ac_cv_func_getloadavg" = "yes"; then 12790 if test "$ac_cv_func_getloadavg" = "yes"; then
12790 for ac_hdr in sys/loadavg.h 12791 for ac_hdr in sys/loadavg.h
12791 do 12792 do
12792 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12793 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12793 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12794 echo "configure:12795: checking for $ac_hdr" >&5 12795 echo "configure:12796: checking for $ac_hdr" >&5
12795 12796
12796 cat > conftest.$ac_ext <<EOF 12797 cat > conftest.$ac_ext <<EOF
12797 #line 12798 "configure" 12798 #line 12799 "configure"
12798 #include "confdefs.h" 12799 #include "confdefs.h"
12799 #include <$ac_hdr> 12800 #include <$ac_hdr>
12800 EOF 12801 EOF
12801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12802 { (eval echo configure:12803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12803 { (eval echo configure:12804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12804 if test -z "$ac_err"; then 12805 if test -z "$ac_err"; then
12805 rm -rf conftest* 12806 rm -rf conftest*
12806 eval "ac_cv_header_$ac_safe=yes" 12807 eval "ac_cv_header_$ac_safe=yes"
12807 else 12808 else
12833 echo " xemacs will be linked with \"getloadavg.o\"" 12834 echo " xemacs will be linked with \"getloadavg.o\""
12834 fi 12835 fi
12835 12836
12836 12837
12837 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 12838 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
12838 echo "configure:12839: checking for kstat_open in -lkstat" >&5 12839 echo "configure:12840: checking for kstat_open in -lkstat" >&5
12839 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12840 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12840 12841
12841 xe_check_libs=" -lkstat " 12842 xe_check_libs=" -lkstat "
12842 cat > conftest.$ac_ext <<EOF 12843 cat > conftest.$ac_ext <<EOF
12843 #line 12844 "configure" 12844 #line 12845 "configure"
12844 #include "confdefs.h" 12845 #include "confdefs.h"
12845 /* Override any gcc2 internal prototype to avoid an error. */ 12846 /* Override any gcc2 internal prototype to avoid an error. */
12846 /* We use char because int might match the return type of a gcc2 12847 /* We use char because int might match the return type of a gcc2
12847 builtin and then its argument prototype would still apply. */ 12848 builtin and then its argument prototype would still apply. */
12848 char kstat_open(); 12849 char kstat_open();
12849 12850
12850 int main() { 12851 int main() {
12851 kstat_open() 12852 kstat_open()
12852 ; return 0; } 12853 ; return 0; }
12853 EOF 12854 EOF
12854 if { (eval echo configure:12855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12855 if { (eval echo configure:12856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12855 rm -rf conftest* 12856 rm -rf conftest*
12856 eval "ac_cv_lib_$ac_lib_var=yes" 12857 eval "ac_cv_lib_$ac_lib_var=yes"
12857 else 12858 else
12858 echo "configure: failed program was:" >&5 12859 echo "configure: failed program was:" >&5
12859 cat conftest.$ac_ext >&5 12860 cat conftest.$ac_ext >&5
12884 12885
12885 for ac_hdr in kstat.h 12886 for ac_hdr in kstat.h
12886 do 12887 do
12887 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12888 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12888 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12889 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12889 echo "configure:12890: checking for $ac_hdr" >&5 12890 echo "configure:12891: checking for $ac_hdr" >&5
12890 12891
12891 cat > conftest.$ac_ext <<EOF 12892 cat > conftest.$ac_ext <<EOF
12892 #line 12893 "configure" 12893 #line 12894 "configure"
12893 #include "confdefs.h" 12894 #include "confdefs.h"
12894 #include <$ac_hdr> 12895 #include <$ac_hdr>
12895 EOF 12896 EOF
12896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12897 { (eval echo configure:12898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12898 { (eval echo configure:12899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12899 if test -z "$ac_err"; then 12900 if test -z "$ac_err"; then
12900 rm -rf conftest* 12901 rm -rf conftest*
12901 eval "ac_cv_header_$ac_safe=yes" 12902 eval "ac_cv_header_$ac_safe=yes"
12902 else 12903 else
12924 done 12925 done
12925 12926
12926 12927
12927 12928
12928 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 12929 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
12929 echo "configure:12930: checking for kvm_read in -lkvm" >&5 12930 echo "configure:12931: checking for kvm_read in -lkvm" >&5
12930 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 12931 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
12931 12932
12932 xe_check_libs=" -lkvm " 12933 xe_check_libs=" -lkvm "
12933 cat > conftest.$ac_ext <<EOF 12934 cat > conftest.$ac_ext <<EOF
12934 #line 12935 "configure" 12935 #line 12936 "configure"
12935 #include "confdefs.h" 12936 #include "confdefs.h"
12936 /* Override any gcc2 internal prototype to avoid an error. */ 12937 /* Override any gcc2 internal prototype to avoid an error. */
12937 /* We use char because int might match the return type of a gcc2 12938 /* We use char because int might match the return type of a gcc2
12938 builtin and then its argument prototype would still apply. */ 12939 builtin and then its argument prototype would still apply. */
12939 char kvm_read(); 12940 char kvm_read();
12940 12941
12941 int main() { 12942 int main() {
12942 kvm_read() 12943 kvm_read()
12943 ; return 0; } 12944 ; return 0; }
12944 EOF 12945 EOF
12945 if { (eval echo configure:12946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12946 if { (eval echo configure:12947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12946 rm -rf conftest* 12947 rm -rf conftest*
12947 eval "ac_cv_lib_$ac_lib_var=yes" 12948 eval "ac_cv_lib_$ac_lib_var=yes"
12948 else 12949 else
12949 echo "configure: failed program was:" >&5 12950 echo "configure: failed program was:" >&5
12950 cat conftest.$ac_ext >&5 12951 cat conftest.$ac_ext >&5
12974 12975
12975 12976
12976 fi 12977 fi
12977 12978
12978 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 12979 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
12979 echo "configure:12980: checking whether netdb declares h_errno" >&5 12980 echo "configure:12981: checking whether netdb declares h_errno" >&5
12980 cat > conftest.$ac_ext <<EOF 12981 cat > conftest.$ac_ext <<EOF
12981 #line 12982 "configure" 12982 #line 12983 "configure"
12982 #include "confdefs.h" 12983 #include "confdefs.h"
12983 #include <netdb.h> 12984 #include <netdb.h>
12984 int main() { 12985 int main() {
12985 return h_errno; 12986 return h_errno;
12986 ; return 0; } 12987 ; return 0; }
12987 EOF 12988 EOF
12988 if { (eval echo configure:12989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12989 if { (eval echo configure:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12989 rm -rf conftest* 12990 rm -rf conftest*
12990 echo "$ac_t""yes" 1>&6 12991 echo "$ac_t""yes" 1>&6
12991 { test "$extra_verbose" = "yes" && cat << \EOF 12992 { test "$extra_verbose" = "yes" && cat << \EOF
12992 Defining HAVE_H_ERRNO 12993 Defining HAVE_H_ERRNO
12993 EOF 12994 EOF
13003 echo "$ac_t""no" 1>&6 13004 echo "$ac_t""no" 1>&6
13004 fi 13005 fi
13005 rm -f conftest* 13006 rm -f conftest*
13006 13007
13007 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 13008 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
13008 echo "configure:13009: checking for sigsetjmp" >&5 13009 echo "configure:13010: checking for sigsetjmp" >&5
13009 cat > conftest.$ac_ext <<EOF 13010 cat > conftest.$ac_ext <<EOF
13010 #line 13011 "configure" 13011 #line 13012 "configure"
13011 #include "confdefs.h" 13012 #include "confdefs.h"
13012 #include <setjmp.h> 13013 #include <setjmp.h>
13013 int main() { 13014 int main() {
13014 sigjmp_buf bar; sigsetjmp (bar, 0); 13015 sigjmp_buf bar; sigsetjmp (bar, 0);
13015 ; return 0; } 13016 ; return 0; }
13016 EOF 13017 EOF
13017 if { (eval echo configure:13018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13018 if { (eval echo configure:13019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13018 rm -rf conftest* 13019 rm -rf conftest*
13019 echo "$ac_t""yes" 1>&6 13020 echo "$ac_t""yes" 1>&6
13020 { test "$extra_verbose" = "yes" && cat << \EOF 13021 { test "$extra_verbose" = "yes" && cat << \EOF
13021 Defining HAVE_SIGSETJMP 13022 Defining HAVE_SIGSETJMP
13022 EOF 13023 EOF
13032 echo "$ac_t""no" 1>&6 13033 echo "$ac_t""no" 1>&6
13033 fi 13034 fi
13034 rm -f conftest* 13035 rm -f conftest*
13035 13036
13036 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 13037 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
13037 echo "configure:13038: checking whether localtime caches TZ" >&5 13038 echo "configure:13039: checking whether localtime caches TZ" >&5
13038 13039
13039 if test "$ac_cv_func_tzset" = "yes"; then 13040 if test "$ac_cv_func_tzset" = "yes"; then
13040 cat > conftest.$ac_ext <<EOF 13041 cat > conftest.$ac_ext <<EOF
13041 #line 13042 "configure" 13042 #line 13043 "configure"
13042 #include "confdefs.h" 13043 #include "confdefs.h"
13043 #include <time.h> 13044 #include <time.h>
13044 #if STDC_HEADERS 13045 #if STDC_HEADERS
13045 # include <stdlib.h> 13046 # include <stdlib.h>
13046 #endif 13047 #endif
13071 if (localtime (&now)->tm_hour != hour_unset) 13072 if (localtime (&now)->tm_hour != hour_unset)
13072 exit (1); 13073 exit (1);
13073 exit (0); 13074 exit (0);
13074 } 13075 }
13075 EOF 13076 EOF
13076 if { (eval echo configure:13077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13077 if { (eval echo configure:13078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13077 then 13078 then
13078 emacs_cv_localtime_cache=no 13079 emacs_cv_localtime_cache=no
13079 else 13080 else
13080 conftest_rc="$?" 13081 conftest_rc="$?"
13081 echo "configure: failed program was:" >&5 13082 echo "configure: failed program was:" >&5
13101 13102
13102 fi 13103 fi
13103 13104
13104 if test "$HAVE_TIMEVAL" = "yes"; then 13105 if test "$HAVE_TIMEVAL" = "yes"; then
13105 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 13106 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
13106 echo "configure:13107: checking whether gettimeofday accepts one or two arguments" >&5 13107 echo "configure:13108: checking whether gettimeofday accepts one or two arguments" >&5
13107 cat > conftest.$ac_ext <<EOF 13108 cat > conftest.$ac_ext <<EOF
13108 #line 13109 "configure" 13109 #line 13110 "configure"
13109 #include "confdefs.h" 13110 #include "confdefs.h"
13110 13111
13111 #ifdef TIME_WITH_SYS_TIME 13112 #ifdef TIME_WITH_SYS_TIME
13112 #include <sys/time.h> 13113 #include <sys/time.h>
13113 #include <time.h> 13114 #include <time.h>
13124 struct timeval time; 13125 struct timeval time;
13125 gettimeofday (&time, 0); 13126 gettimeofday (&time, 0);
13126 13127
13127 ; return 0; } 13128 ; return 0; }
13128 EOF 13129 EOF
13129 if { (eval echo configure:13130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13130 if { (eval echo configure:13131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13130 rm -rf conftest* 13131 rm -rf conftest*
13131 echo "$ac_t""two" 1>&6 13132 echo "$ac_t""two" 1>&6
13132 else 13133 else
13133 echo "configure: failed program was:" >&5 13134 echo "configure: failed program was:" >&5
13134 cat conftest.$ac_ext >&5 13135 cat conftest.$ac_ext >&5
13146 rm -f conftest* 13147 rm -f conftest*
13147 fi 13148 fi
13148 13149
13149 13150
13150 echo $ac_n "checking for inline""... $ac_c" 1>&6 13151 echo $ac_n "checking for inline""... $ac_c" 1>&6
13151 echo "configure:13152: checking for inline" >&5 13152 echo "configure:13153: checking for inline" >&5
13152 13153
13153 ac_cv_c_inline=no 13154 ac_cv_c_inline=no
13154 for ac_kw in inline __inline__ __inline; do 13155 for ac_kw in inline __inline__ __inline; do
13155 cat > conftest.$ac_ext <<EOF 13156 cat > conftest.$ac_ext <<EOF
13156 #line 13157 "configure" 13157 #line 13158 "configure"
13157 #include "confdefs.h" 13158 #include "confdefs.h"
13158 13159
13159 int main() { 13160 int main() {
13160 } $ac_kw foo() { 13161 } $ac_kw foo() {
13161 ; return 0; } 13162 ; return 0; }
13162 EOF 13163 EOF
13163 if { (eval echo configure:13164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13164 if { (eval echo configure:13165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13164 rm -rf conftest* 13165 rm -rf conftest*
13165 ac_cv_c_inline=$ac_kw; break 13166 ac_cv_c_inline=$ac_kw; break
13166 else 13167 else
13167 echo "configure: failed program was:" >&5 13168 echo "configure: failed program was:" >&5
13168 cat conftest.$ac_ext >&5 13169 cat conftest.$ac_ext >&5
13195 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 13196 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
13196 echo " xemacs will be linked with \"inline.o\"" 13197 echo " xemacs will be linked with \"inline.o\""
13197 fi 13198 fi
13198 13199
13199 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13200 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13200 echo "configure:13201: checking for typeof" >&5 13201 echo "configure:13202: checking for typeof" >&5
13201 cat > conftest.$ac_ext <<EOF 13202 cat > conftest.$ac_ext <<EOF
13202 #line 13203 "configure" 13203 #line 13204 "configure"
13203 #include "confdefs.h" 13204 #include "confdefs.h"
13204 13205
13205 int main() { 13206 int main() {
13206 int i; __typeof__(i) j; 13207 int i; __typeof__(i) j;
13207 ; return 0; } 13208 ; return 0; }
13208 EOF 13209 EOF
13209 if { (eval echo configure:13210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13210 if { (eval echo configure:13211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13210 rm -rf conftest* 13211 rm -rf conftest*
13211 typeofname="__typeof__" 13212 typeofname="__typeof__"
13212 else 13213 else
13213 echo "configure: failed program was:" >&5 13214 echo "configure: failed program was:" >&5
13214 cat conftest.$ac_ext >&5 13215 cat conftest.$ac_ext >&5
13215 rm -rf conftest* 13216 rm -rf conftest*
13216 cat > conftest.$ac_ext <<EOF 13217 cat > conftest.$ac_ext <<EOF
13217 #line 13218 "configure" 13218 #line 13219 "configure"
13218 #include "confdefs.h" 13219 #include "confdefs.h"
13219 13220
13220 int main() { 13221 int main() {
13221 int i; typeof(i) j; 13222 int i; typeof(i) j;
13222 ; return 0; } 13223 ; return 0; }
13223 EOF 13224 EOF
13224 if { (eval echo configure:13225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13225 if { (eval echo configure:13226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13225 rm -rf conftest* 13226 rm -rf conftest*
13226 typeofname="typeof" 13227 typeofname="typeof"
13227 else 13228 else
13228 echo "configure: failed program was:" >&5 13229 echo "configure: failed program was:" >&5
13229 cat conftest.$ac_ext >&5 13230 cat conftest.$ac_ext >&5
13248 13249
13249 if test "$__DECC" != "yes"; then 13250 if test "$__DECC" != "yes"; then
13250 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13251 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13251 # for constant arguments. Useless! 13252 # for constant arguments. Useless!
13252 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 13253 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
13253 echo "configure:13254: checking for working alloca.h" >&5 13254 echo "configure:13255: checking for working alloca.h" >&5
13254 13255
13255 cat > conftest.$ac_ext <<EOF 13256 cat > conftest.$ac_ext <<EOF
13256 #line 13257 "configure" 13257 #line 13258 "configure"
13257 #include "confdefs.h" 13258 #include "confdefs.h"
13258 #include <alloca.h> 13259 #include <alloca.h>
13259 int main() { 13260 int main() {
13260 char *p = alloca(2 * sizeof(int)); 13261 char *p = alloca(2 * sizeof(int));
13261 ; return 0; } 13262 ; return 0; }
13262 EOF 13263 EOF
13263 if { (eval echo configure:13264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13264 if { (eval echo configure:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13264 rm -rf conftest* 13265 rm -rf conftest*
13265 ac_cv_header_alloca_h=yes 13266 ac_cv_header_alloca_h=yes
13266 else 13267 else
13267 echo "configure: failed program was:" >&5 13268 echo "configure: failed program was:" >&5
13268 cat conftest.$ac_ext >&5 13269 cat conftest.$ac_ext >&5
13282 } 13283 }
13283 13284
13284 fi 13285 fi
13285 13286
13286 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13287 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13287 echo "configure:13288: checking for alloca" >&5 13288 echo "configure:13289: checking for alloca" >&5
13288 13289
13289 cat > conftest.$ac_ext <<EOF 13290 cat > conftest.$ac_ext <<EOF
13290 #line 13291 "configure" 13291 #line 13292 "configure"
13291 #include "confdefs.h" 13292 #include "confdefs.h"
13292 13293
13293 #ifdef __GNUC__ 13294 #ifdef __GNUC__
13294 # define alloca __builtin_alloca 13295 # define alloca __builtin_alloca
13295 #else 13296 #else
13313 13314
13314 int main() { 13315 int main() {
13315 char *p = (char *) alloca(1); 13316 char *p = (char *) alloca(1);
13316 ; return 0; } 13317 ; return 0; }
13317 EOF 13318 EOF
13318 if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13319 if { (eval echo configure:13320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13319 rm -rf conftest* 13320 rm -rf conftest*
13320 ac_cv_func_alloca_works=yes 13321 ac_cv_func_alloca_works=yes
13321 else 13322 else
13322 echo "configure: failed program was:" >&5 13323 echo "configure: failed program was:" >&5
13323 cat conftest.$ac_ext >&5 13324 cat conftest.$ac_ext >&5
13352 EOF 13353 EOF
13353 } 13354 }
13354 13355
13355 13356
13356 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13357 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
13357 echo "configure:13358: checking whether alloca needs Cray hooks" >&5 13358 echo "configure:13359: checking whether alloca needs Cray hooks" >&5
13358 13359
13359 cat > conftest.$ac_ext <<EOF 13360 cat > conftest.$ac_ext <<EOF
13360 #line 13361 "configure" 13361 #line 13362 "configure"
13361 #include "confdefs.h" 13362 #include "confdefs.h"
13362 #if defined(CRAY) && ! defined(CRAY2) 13363 #if defined(CRAY) && ! defined(CRAY2)
13363 webecray 13364 webecray
13364 #else 13365 #else
13365 wenotbecray 13366 wenotbecray
13379 13380
13380 echo "$ac_t""$ac_cv_os_cray" 1>&6 13381 echo "$ac_t""$ac_cv_os_cray" 1>&6
13381 if test $ac_cv_os_cray = yes; then 13382 if test $ac_cv_os_cray = yes; then
13382 for ac_func in _getb67 GETB67 getb67; do 13383 for ac_func in _getb67 GETB67 getb67; do
13383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13384 echo "configure:13385: checking for $ac_func" >&5 13385 echo "configure:13386: checking for $ac_func" >&5
13385 13386
13386 cat > conftest.$ac_ext <<EOF 13387 cat > conftest.$ac_ext <<EOF
13387 #line 13388 "configure" 13388 #line 13389 "configure"
13388 #include "confdefs.h" 13389 #include "confdefs.h"
13389 /* System header to define __stub macros and hopefully few prototypes, 13390 /* System header to define __stub macros and hopefully few prototypes,
13390 which can conflict with char $ac_func(); below. */ 13391 which can conflict with char $ac_func(); below. */
13391 #include <assert.h> 13392 #include <assert.h>
13392 /* Override any gcc2 internal prototype to avoid an error. */ 13393 /* Override any gcc2 internal prototype to avoid an error. */
13405 $ac_func(); 13406 $ac_func();
13406 #endif 13407 #endif
13407 13408
13408 ; return 0; } 13409 ; return 0; }
13409 EOF 13410 EOF
13410 if { (eval echo configure:13411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13411 if { (eval echo configure:13412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13411 rm -rf conftest* 13412 rm -rf conftest*
13412 eval "ac_cv_func_$ac_func=yes" 13413 eval "ac_cv_func_$ac_func=yes"
13413 else 13414 else
13414 echo "configure: failed program was:" >&5 13415 echo "configure: failed program was:" >&5
13415 cat conftest.$ac_ext >&5 13416 cat conftest.$ac_ext >&5
13435 13436
13436 done 13437 done
13437 fi 13438 fi
13438 13439
13439 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13440 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13440 echo "configure:13441: checking stack direction for C alloca" >&5 13441 echo "configure:13442: checking stack direction for C alloca" >&5
13441 13442
13442 cat > conftest.$ac_ext <<EOF 13443 cat > conftest.$ac_ext <<EOF
13443 #line 13444 "configure" 13444 #line 13445 "configure"
13444 #include "confdefs.h" 13445 #include "confdefs.h"
13445 find_stack_direction () 13446 find_stack_direction ()
13446 { 13447 {
13447 static char *addr = 0; 13448 static char *addr = 0;
13448 auto char dummy; 13449 auto char dummy;
13457 main () 13458 main ()
13458 { 13459 {
13459 exit (find_stack_direction() < 0); 13460 exit (find_stack_direction() < 0);
13460 } 13461 }
13461 EOF 13462 EOF
13462 if { (eval echo configure:13463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13463 if { (eval echo configure:13464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13463 then 13464 then
13464 ac_cv_c_stack_direction=1 13465 ac_cv_c_stack_direction=1
13465 else 13466 else
13466 conftest_rc="$?" 13467 conftest_rc="$?"
13467 echo "configure: failed program was:" >&5 13468 echo "configure: failed program was:" >&5
13486 echo " xemacs will be linked with \"$ALLOCA\"" 13487 echo " xemacs will be linked with \"$ALLOCA\""
13487 fi 13488 fi
13488 fi 13489 fi
13489 13490
13490 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13491 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13491 echo "configure:13492: checking for working alloca in function calls" >&5 13492 echo "configure:13493: checking for working alloca in function calls" >&5
13492 cat > conftest.$ac_ext <<EOF 13493 cat > conftest.$ac_ext <<EOF
13493 #line 13494 "configure" 13494 #line 13495 "configure"
13494 #include "confdefs.h" 13495 #include "confdefs.h"
13495 13496
13496 #if defined (__CYGWIN__) 13497 #if defined (__CYGWIN__)
13497 #include <alloca.h> 13498 #include <alloca.h>
13498 #elif defined (__GNUC__) 13499 #elif defined (__GNUC__)
13541 return 1; 13542 return 1;
13542 return 0; 13543 return 0;
13543 } 13544 }
13544 13545
13545 EOF 13546 EOF
13546 if { (eval echo configure:13547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13547 if { (eval echo configure:13548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13547 then 13548 then
13548 working_alloca_in_function_calls=yes 13549 working_alloca_in_function_calls=yes
13549 else 13550 else
13550 conftest_rc="$?" 13551 conftest_rc="$?"
13551 echo "configure: failed program was:" >&5 13552 echo "configure: failed program was:" >&5
13564 EOF 13565 EOF
13565 } 13566 }
13566 13567
13567 13568
13568 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13569 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13569 echo "configure:13570: checking for working strcoll" >&5 13570 echo "configure:13571: checking for working strcoll" >&5
13570 13571
13571 cat > conftest.$ac_ext <<EOF 13572 cat > conftest.$ac_ext <<EOF
13572 #line 13573 "configure" 13573 #line 13574 "configure"
13573 #include "confdefs.h" 13574 #include "confdefs.h"
13574 #include <string.h> 13575 #include <string.h>
13575 main () 13576 main ()
13576 { 13577 {
13577 exit (strcoll ("abc", "def") >= 0 || 13578 exit (strcoll ("abc", "def") >= 0 ||
13578 strcoll ("ABC", "DEF") >= 0 || 13579 strcoll ("ABC", "DEF") >= 0 ||
13579 strcoll ("123", "456") >= 0); 13580 strcoll ("123", "456") >= 0);
13580 } 13581 }
13581 EOF 13582 EOF
13582 if { (eval echo configure:13583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13583 if { (eval echo configure:13584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13583 then 13584 then
13584 ac_cv_func_strcoll_works=yes 13585 ac_cv_func_strcoll_works=yes
13585 else 13586 else
13586 conftest_rc="$?" 13587 conftest_rc="$?"
13587 echo "configure: failed program was:" >&5 13588 echo "configure: failed program was:" >&5
13605 13606
13606 13607
13607 for ac_func in getpgrp 13608 for ac_func in getpgrp
13608 do 13609 do
13609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13610 echo "configure:13611: checking for $ac_func" >&5 13611 echo "configure:13612: checking for $ac_func" >&5
13611 13612
13612 cat > conftest.$ac_ext <<EOF 13613 cat > conftest.$ac_ext <<EOF
13613 #line 13614 "configure" 13614 #line 13615 "configure"
13614 #include "confdefs.h" 13615 #include "confdefs.h"
13615 /* System header to define __stub macros and hopefully few prototypes, 13616 /* System header to define __stub macros and hopefully few prototypes,
13616 which can conflict with char $ac_func(); below. */ 13617 which can conflict with char $ac_func(); below. */
13617 #include <assert.h> 13618 #include <assert.h>
13618 /* Override any gcc2 internal prototype to avoid an error. */ 13619 /* Override any gcc2 internal prototype to avoid an error. */
13631 $ac_func(); 13632 $ac_func();
13632 #endif 13633 #endif
13633 13634
13634 ; return 0; } 13635 ; return 0; }
13635 EOF 13636 EOF
13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13637 if { (eval echo configure:13638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13637 rm -rf conftest* 13638 rm -rf conftest*
13638 eval "ac_cv_func_$ac_func=yes" 13639 eval "ac_cv_func_$ac_func=yes"
13639 else 13640 else
13640 echo "configure: failed program was:" >&5 13641 echo "configure: failed program was:" >&5
13641 cat conftest.$ac_ext >&5 13642 cat conftest.$ac_ext >&5
13659 echo "$ac_t""no" 1>&6 13660 echo "$ac_t""no" 1>&6
13660 fi 13661 fi
13661 done 13662 done
13662 13663
13663 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13664 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13664 echo "configure:13665: checking whether getpgrp takes no argument" >&5 13665 echo "configure:13666: checking whether getpgrp takes no argument" >&5
13665 13666
13666 cat > conftest.$ac_ext <<EOF 13667 cat > conftest.$ac_ext <<EOF
13667 #line 13668 "configure" 13668 #line 13669 "configure"
13668 #include "confdefs.h" 13669 #include "confdefs.h"
13669 13670
13670 /* 13671 /*
13671 * If this system has a BSD-style getpgrp(), 13672 * If this system has a BSD-style getpgrp(),
13672 * which takes a pid argument, exit unsuccessfully. 13673 * which takes a pid argument, exit unsuccessfully.
13717 exit(s>>8); 13718 exit(s>>8);
13718 } 13719 }
13719 } 13720 }
13720 13721
13721 EOF 13722 EOF
13722 if { (eval echo configure:13723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13723 if { (eval echo configure:13724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13723 then 13724 then
13724 ac_cv_func_getpgrp_void=yes 13725 ac_cv_func_getpgrp_void=yes
13725 else 13726 else
13726 conftest_rc="$?" 13727 conftest_rc="$?"
13727 echo "configure: failed program was:" >&5 13728 echo "configure: failed program was:" >&5
13744 13745
13745 fi 13746 fi
13746 13747
13747 13748
13748 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13749 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13749 echo "configure:13750: checking for working mmap" >&5 13750 echo "configure:13751: checking for working mmap" >&5
13750 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13751 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13751 cat > conftest.$ac_ext <<EOF 13752 cat > conftest.$ac_ext <<EOF
13752 #line 13753 "configure" 13753 #line 13754 "configure"
13753 #include "confdefs.h" 13754 #include "confdefs.h"
13754 #include <stdio.h> 13755 #include <stdio.h>
13755 #include <unistd.h> 13756 #include <unistd.h>
13756 #include <fcntl.h> 13757 #include <fcntl.h>
13757 #include <sys/mman.h> 13758 #include <sys/mman.h>
13780 return 0; 13781 return 0;
13781 perror ("conftest: mmap failed"); 13782 perror ("conftest: mmap failed");
13782 return 1; 13783 return 1;
13783 } 13784 }
13784 EOF 13785 EOF
13785 if { (eval echo configure:13786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13786 if { (eval echo configure:13787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13786 then 13787 then
13787 have_mmap=yes 13788 have_mmap=yes
13788 else 13789 else
13789 conftest_rc="$?" 13790 conftest_rc="$?"
13790 echo "configure: failed program was:" >&5 13791 echo "configure: failed program was:" >&5
13809 esac 13810 esac
13810 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13811 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13811 if test "$rel_alloc $have_mmap" = "default yes"; then 13812 if test "$rel_alloc $have_mmap" = "default yes"; then
13812 if test "$doug_lea_malloc" = "yes"; then 13813 if test "$doug_lea_malloc" = "yes"; then
13813 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13814 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13814 echo "configure:13815: checking for M_MMAP_THRESHOLD" >&5 13815 echo "configure:13816: checking for M_MMAP_THRESHOLD" >&5
13815 cat > conftest.$ac_ext <<EOF 13816 cat > conftest.$ac_ext <<EOF
13816 #line 13817 "configure" 13817 #line 13818 "configure"
13817 #include "confdefs.h" 13818 #include "confdefs.h"
13818 #include <malloc.h> 13819 #include <malloc.h>
13819 int main() { 13820 int main() {
13820 13821
13821 #ifndef M_MMAP_THRESHOLD 13822 #ifndef M_MMAP_THRESHOLD
13823 !@+$%^&*_)(_ - unlikely to compile... 13824 !@+$%^&*_)(_ - unlikely to compile...
13824 #endif 13825 #endif
13825 13826
13826 ; return 0; } 13827 ; return 0; }
13827 EOF 13828 EOF
13828 if { (eval echo configure:13829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13829 if { (eval echo configure:13830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13829 rm -rf conftest* 13830 rm -rf conftest*
13830 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13831 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13831 else 13832 else
13832 echo "configure: failed program was:" >&5 13833 echo "configure: failed program was:" >&5
13833 cat conftest.$ac_ext >&5 13834 cat conftest.$ac_ext >&5
13848 } 13849 }
13849 13850
13850 13851
13851 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 13852 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13852 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 13853 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13853 echo "configure:13854: checking for termios.h" >&5 13854 echo "configure:13855: checking for termios.h" >&5
13854 13855
13855 cat > conftest.$ac_ext <<EOF 13856 cat > conftest.$ac_ext <<EOF
13856 #line 13857 "configure" 13857 #line 13858 "configure"
13857 #include "confdefs.h" 13858 #include "confdefs.h"
13858 #include <termios.h> 13859 #include <termios.h>
13859 EOF 13860 EOF
13860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13861 { (eval echo configure:13862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13862 { (eval echo configure:13863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13863 if test -z "$ac_err"; then 13864 if test -z "$ac_err"; then
13864 rm -rf conftest* 13865 rm -rf conftest*
13865 eval "ac_cv_header_$ac_safe=yes" 13866 eval "ac_cv_header_$ac_safe=yes"
13866 else 13867 else
13899 13900
13900 else 13901 else
13901 echo "$ac_t""no" 1>&6 13902 echo "$ac_t""no" 1>&6
13902 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 13903 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13903 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 13904 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13904 echo "configure:13905: checking for termio.h" >&5 13905 echo "configure:13906: checking for termio.h" >&5
13905 13906
13906 cat > conftest.$ac_ext <<EOF 13907 cat > conftest.$ac_ext <<EOF
13907 #line 13908 "configure" 13908 #line 13909 "configure"
13908 #include "confdefs.h" 13909 #include "confdefs.h"
13909 #include <termio.h> 13910 #include <termio.h>
13910 EOF 13911 EOF
13911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13912 { (eval echo configure:13913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13913 { (eval echo configure:13914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13914 if test -z "$ac_err"; then 13915 if test -z "$ac_err"; then
13915 rm -rf conftest* 13916 rm -rf conftest*
13916 eval "ac_cv_header_$ac_safe=yes" 13917 eval "ac_cv_header_$ac_safe=yes"
13917 else 13918 else
13939 fi 13940 fi
13940 13941
13941 13942
13942 13943
13943 echo $ac_n "checking for socket""... $ac_c" 1>&6 13944 echo $ac_n "checking for socket""... $ac_c" 1>&6
13944 echo "configure:13945: checking for socket" >&5 13945 echo "configure:13946: checking for socket" >&5
13945 13946
13946 cat > conftest.$ac_ext <<EOF 13947 cat > conftest.$ac_ext <<EOF
13947 #line 13948 "configure" 13948 #line 13949 "configure"
13948 #include "confdefs.h" 13949 #include "confdefs.h"
13949 /* System header to define __stub macros and hopefully few prototypes, 13950 /* System header to define __stub macros and hopefully few prototypes,
13950 which can conflict with char socket(); below. */ 13951 which can conflict with char socket(); below. */
13951 #include <assert.h> 13952 #include <assert.h>
13952 /* Override any gcc2 internal prototype to avoid an error. */ 13953 /* Override any gcc2 internal prototype to avoid an error. */
13965 socket(); 13966 socket();
13966 #endif 13967 #endif
13967 13968
13968 ; return 0; } 13969 ; return 0; }
13969 EOF 13970 EOF
13970 if { (eval echo configure:13971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13971 rm -rf conftest* 13972 rm -rf conftest*
13972 eval "ac_cv_func_socket=yes" 13973 eval "ac_cv_func_socket=yes"
13973 else 13974 else
13974 echo "configure: failed program was:" >&5 13975 echo "configure: failed program was:" >&5
13975 cat conftest.$ac_ext >&5 13976 cat conftest.$ac_ext >&5
13980 13981
13981 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 13982 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13982 echo "$ac_t""yes" 1>&6 13983 echo "$ac_t""yes" 1>&6
13983 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 13984 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
13984 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 13985 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
13985 echo "configure:13986: checking for netinet/in.h" >&5 13986 echo "configure:13987: checking for netinet/in.h" >&5
13986 13987
13987 cat > conftest.$ac_ext <<EOF 13988 cat > conftest.$ac_ext <<EOF
13988 #line 13989 "configure" 13989 #line 13990 "configure"
13989 #include "confdefs.h" 13990 #include "confdefs.h"
13990 #include <netinet/in.h> 13991 #include <netinet/in.h>
13991 EOF 13992 EOF
13992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13993 { (eval echo configure:13994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13994 { (eval echo configure:13995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13995 if test -z "$ac_err"; then 13996 if test -z "$ac_err"; then
13996 rm -rf conftest* 13997 rm -rf conftest*
13997 eval "ac_cv_header_$ac_safe=yes" 13998 eval "ac_cv_header_$ac_safe=yes"
13998 else 13999 else
14005 rm -f conftest* 14006 rm -f conftest*
14006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14007 echo "$ac_t""yes" 1>&6 14008 echo "$ac_t""yes" 1>&6
14008 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 14009 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
14009 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 14010 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
14010 echo "configure:14011: checking for arpa/inet.h" >&5 14011 echo "configure:14012: checking for arpa/inet.h" >&5
14011 14012
14012 cat > conftest.$ac_ext <<EOF 14013 cat > conftest.$ac_ext <<EOF
14013 #line 14014 "configure" 14014 #line 14015 "configure"
14014 #include "confdefs.h" 14015 #include "confdefs.h"
14015 #include <arpa/inet.h> 14016 #include <arpa/inet.h>
14016 EOF 14017 EOF
14017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14018 { (eval echo configure:14019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14019 { (eval echo configure:14020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14020 if test -z "$ac_err"; then 14021 if test -z "$ac_err"; then
14021 rm -rf conftest* 14022 rm -rf conftest*
14022 eval "ac_cv_header_$ac_safe=yes" 14023 eval "ac_cv_header_$ac_safe=yes"
14023 else 14024 else
14038 #define HAVE_SOCKETS 1 14039 #define HAVE_SOCKETS 1
14039 EOF 14040 EOF
14040 } 14041 }
14041 14042
14042 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 14043 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
14043 echo "configure:14044: checking "for sun_len member in struct sockaddr_un"" >&5 14044 echo "configure:14045: checking "for sun_len member in struct sockaddr_un"" >&5
14044 cat > conftest.$ac_ext <<EOF 14045 cat > conftest.$ac_ext <<EOF
14045 #line 14046 "configure" 14046 #line 14047 "configure"
14046 #include "confdefs.h" 14047 #include "confdefs.h"
14047 14048
14048 #include <sys/types.h> 14049 #include <sys/types.h>
14049 #include <sys/socket.h> 14050 #include <sys/socket.h>
14050 #include <sys/un.h> 14051 #include <sys/un.h>
14051 14052
14052 int main() { 14053 int main() {
14053 static struct sockaddr_un x; x.sun_len = 1; 14054 static struct sockaddr_un x; x.sun_len = 1;
14054 ; return 0; } 14055 ; return 0; }
14055 EOF 14056 EOF
14056 if { (eval echo configure:14057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14057 if { (eval echo configure:14058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14057 rm -rf conftest* 14058 rm -rf conftest*
14058 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14059 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14059 Defining HAVE_SOCKADDR_SUN_LEN 14060 Defining HAVE_SOCKADDR_SUN_LEN
14060 EOF 14061 EOF
14061 cat >> confdefs.h <<\EOF 14062 cat >> confdefs.h <<\EOF
14069 rm -rf conftest* 14070 rm -rf conftest*
14070 echo "$ac_t""no" 1>&6 14071 echo "$ac_t""no" 1>&6
14071 fi 14072 fi
14072 rm -f conftest* 14073 rm -f conftest*
14073 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 14074 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
14074 echo "configure:14075: checking "for ip_mreq struct in netinet/in.h"" >&5 14075 echo "configure:14076: checking "for ip_mreq struct in netinet/in.h"" >&5
14075 cat > conftest.$ac_ext <<EOF 14076 cat > conftest.$ac_ext <<EOF
14076 #line 14077 "configure" 14077 #line 14078 "configure"
14077 #include "confdefs.h" 14078 #include "confdefs.h"
14078 14079
14079 #include <sys/types.h> 14080 #include <sys/types.h>
14080 #include <netinet/in.h> 14081 #include <netinet/in.h>
14081 14082
14082 int main() { 14083 int main() {
14083 static struct ip_mreq x; 14084 static struct ip_mreq x;
14084 ; return 0; } 14085 ; return 0; }
14085 EOF 14086 EOF
14086 if { (eval echo configure:14087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14087 if { (eval echo configure:14088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14087 rm -rf conftest* 14088 rm -rf conftest*
14088 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14089 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14089 Defining HAVE_MULTICAST 14090 Defining HAVE_MULTICAST
14090 EOF 14091 EOF
14091 cat >> confdefs.h <<\EOF 14092 cat >> confdefs.h <<\EOF
14112 echo "$ac_t""no" 1>&6 14113 echo "$ac_t""no" 1>&6
14113 fi 14114 fi
14114 14115
14115 14116
14116 echo $ac_n "checking for msgget""... $ac_c" 1>&6 14117 echo $ac_n "checking for msgget""... $ac_c" 1>&6
14117 echo "configure:14118: checking for msgget" >&5 14118 echo "configure:14119: checking for msgget" >&5
14118 14119
14119 cat > conftest.$ac_ext <<EOF 14120 cat > conftest.$ac_ext <<EOF
14120 #line 14121 "configure" 14121 #line 14122 "configure"
14121 #include "confdefs.h" 14122 #include "confdefs.h"
14122 /* System header to define __stub macros and hopefully few prototypes, 14123 /* System header to define __stub macros and hopefully few prototypes,
14123 which can conflict with char msgget(); below. */ 14124 which can conflict with char msgget(); below. */
14124 #include <assert.h> 14125 #include <assert.h>
14125 /* Override any gcc2 internal prototype to avoid an error. */ 14126 /* Override any gcc2 internal prototype to avoid an error. */
14138 msgget(); 14139 msgget();
14139 #endif 14140 #endif
14140 14141
14141 ; return 0; } 14142 ; return 0; }
14142 EOF 14143 EOF
14143 if { (eval echo configure:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14144 if { (eval echo configure:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14144 rm -rf conftest* 14145 rm -rf conftest*
14145 eval "ac_cv_func_msgget=yes" 14146 eval "ac_cv_func_msgget=yes"
14146 else 14147 else
14147 echo "configure: failed program was:" >&5 14148 echo "configure: failed program was:" >&5
14148 cat conftest.$ac_ext >&5 14149 cat conftest.$ac_ext >&5
14153 14154
14154 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 14155 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
14155 echo "$ac_t""yes" 1>&6 14156 echo "$ac_t""yes" 1>&6
14156 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 14157 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
14157 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 14158 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
14158 echo "configure:14159: checking for sys/ipc.h" >&5 14159 echo "configure:14160: checking for sys/ipc.h" >&5
14159 14160
14160 cat > conftest.$ac_ext <<EOF 14161 cat > conftest.$ac_ext <<EOF
14161 #line 14162 "configure" 14162 #line 14163 "configure"
14162 #include "confdefs.h" 14163 #include "confdefs.h"
14163 #include <sys/ipc.h> 14164 #include <sys/ipc.h>
14164 EOF 14165 EOF
14165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14166 { (eval echo configure:14167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14167 { (eval echo configure:14168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14168 if test -z "$ac_err"; then 14169 if test -z "$ac_err"; then
14169 rm -rf conftest* 14170 rm -rf conftest*
14170 eval "ac_cv_header_$ac_safe=yes" 14171 eval "ac_cv_header_$ac_safe=yes"
14171 else 14172 else
14178 rm -f conftest* 14179 rm -f conftest*
14179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14180 echo "$ac_t""yes" 1>&6 14181 echo "$ac_t""yes" 1>&6
14181 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14182 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
14182 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 14183 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
14183 echo "configure:14184: checking for sys/msg.h" >&5 14184 echo "configure:14185: checking for sys/msg.h" >&5
14184 14185
14185 cat > conftest.$ac_ext <<EOF 14186 cat > conftest.$ac_ext <<EOF
14186 #line 14187 "configure" 14187 #line 14188 "configure"
14187 #include "confdefs.h" 14188 #include "confdefs.h"
14188 #include <sys/msg.h> 14189 #include <sys/msg.h>
14189 EOF 14190 EOF
14190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14191 { (eval echo configure:14192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14192 { (eval echo configure:14193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14193 if test -z "$ac_err"; then 14194 if test -z "$ac_err"; then
14194 rm -rf conftest* 14195 rm -rf conftest*
14195 eval "ac_cv_header_$ac_safe=yes" 14196 eval "ac_cv_header_$ac_safe=yes"
14196 else 14197 else
14224 fi 14225 fi
14225 14226
14226 14227
14227 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14228 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14228 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14229 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14229 echo "configure:14230: checking for dirent.h" >&5 14230 echo "configure:14231: checking for dirent.h" >&5
14230 14231
14231 cat > conftest.$ac_ext <<EOF 14232 cat > conftest.$ac_ext <<EOF
14232 #line 14233 "configure" 14233 #line 14234 "configure"
14233 #include "confdefs.h" 14234 #include "confdefs.h"
14234 #include <dirent.h> 14235 #include <dirent.h>
14235 EOF 14236 EOF
14236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14237 { (eval echo configure:14238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14238 { (eval echo configure:14239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14239 if test -z "$ac_err"; then 14240 if test -z "$ac_err"; then
14240 rm -rf conftest* 14241 rm -rf conftest*
14241 eval "ac_cv_header_$ac_safe=yes" 14242 eval "ac_cv_header_$ac_safe=yes"
14242 else 14243 else
14259 14260
14260 else 14261 else
14261 echo "$ac_t""no" 1>&6 14262 echo "$ac_t""no" 1>&6
14262 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14263 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14263 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 14264 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
14264 echo "configure:14265: checking for sys/dir.h" >&5 14265 echo "configure:14266: checking for sys/dir.h" >&5
14265 14266
14266 cat > conftest.$ac_ext <<EOF 14267 cat > conftest.$ac_ext <<EOF
14267 #line 14268 "configure" 14268 #line 14269 "configure"
14268 #include "confdefs.h" 14269 #include "confdefs.h"
14269 #include <sys/dir.h> 14270 #include <sys/dir.h>
14270 EOF 14271 EOF
14271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14272 { (eval echo configure:14273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14273 { (eval echo configure:14274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14274 if test -z "$ac_err"; then 14275 if test -z "$ac_err"; then
14275 rm -rf conftest* 14276 rm -rf conftest*
14276 eval "ac_cv_header_$ac_safe=yes" 14277 eval "ac_cv_header_$ac_safe=yes"
14277 else 14278 else
14300 fi 14301 fi
14301 14302
14302 14303
14303 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14304 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14304 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14305 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14305 echo "configure:14306: checking for nlist.h" >&5 14306 echo "configure:14307: checking for nlist.h" >&5
14306 14307
14307 cat > conftest.$ac_ext <<EOF 14308 cat > conftest.$ac_ext <<EOF
14308 #line 14309 "configure" 14309 #line 14310 "configure"
14309 #include "confdefs.h" 14310 #include "confdefs.h"
14310 #include <nlist.h> 14311 #include <nlist.h>
14311 EOF 14312 EOF
14312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14313 { (eval echo configure:14314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14314 { (eval echo configure:14315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14315 if test -z "$ac_err"; then 14316 if test -z "$ac_err"; then
14316 rm -rf conftest* 14317 rm -rf conftest*
14317 eval "ac_cv_header_$ac_safe=yes" 14318 eval "ac_cv_header_$ac_safe=yes"
14318 else 14319 else
14338 fi 14339 fi
14339 14340
14340 14341
14341 14342
14342 echo "checking "for sound support"" 1>&6 14343 echo "checking "for sound support"" 1>&6
14343 echo "configure:14344: checking "for sound support"" >&5 14344 echo "configure:14345: checking "for sound support"" >&5
14344 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 14345 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
14345 14346
14346 if test "$with_native_sound" != "no"; then 14347 if test "$with_native_sound" != "no"; then
14347 if test -n "$native_sound_lib"; then 14348 if test -n "$native_sound_lib"; then
14348 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14349 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14349 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14350 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
14350 echo "configure:14351: checking for multimedia/audio_device.h" >&5 14351 echo "configure:14352: checking for multimedia/audio_device.h" >&5
14351 14352
14352 cat > conftest.$ac_ext <<EOF 14353 cat > conftest.$ac_ext <<EOF
14353 #line 14354 "configure" 14354 #line 14355 "configure"
14354 #include "confdefs.h" 14355 #include "confdefs.h"
14355 #include <multimedia/audio_device.h> 14356 #include <multimedia/audio_device.h>
14356 EOF 14357 EOF
14357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14358 { (eval echo configure:14359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14359 { (eval echo configure:14360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14360 if test -z "$ac_err"; then 14361 if test -z "$ac_err"; then
14361 rm -rf conftest* 14362 rm -rf conftest*
14362 eval "ac_cv_header_$ac_safe=yes" 14363 eval "ac_cv_header_$ac_safe=yes"
14363 else 14364 else
14409 case "$canonical" in 14410 case "$canonical" in
14410 *-sgi-* ) 14411 *-sgi-* )
14411 if test -z "$native_sound_lib"; then 14412 if test -z "$native_sound_lib"; then
14412 14413
14413 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14414 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14414 echo "configure:14415: checking for ALopenport in -laudio" >&5 14415 echo "configure:14416: checking for ALopenport in -laudio" >&5
14415 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14416 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14416 14417
14417 xe_check_libs=" -laudio " 14418 xe_check_libs=" -laudio "
14418 cat > conftest.$ac_ext <<EOF 14419 cat > conftest.$ac_ext <<EOF
14419 #line 14420 "configure" 14420 #line 14421 "configure"
14420 #include "confdefs.h" 14421 #include "confdefs.h"
14421 /* Override any gcc2 internal prototype to avoid an error. */ 14422 /* Override any gcc2 internal prototype to avoid an error. */
14422 /* We use char because int might match the return type of a gcc2 14423 /* We use char because int might match the return type of a gcc2
14423 builtin and then its argument prototype would still apply. */ 14424 builtin and then its argument prototype would still apply. */
14424 char ALopenport(); 14425 char ALopenport();
14425 14426
14426 int main() { 14427 int main() {
14427 ALopenport() 14428 ALopenport()
14428 ; return 0; } 14429 ; return 0; }
14429 EOF 14430 EOF
14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14431 if { (eval echo configure:14432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14431 rm -rf conftest* 14432 rm -rf conftest*
14432 eval "ac_cv_lib_$ac_lib_var=yes" 14433 eval "ac_cv_lib_$ac_lib_var=yes"
14433 else 14434 else
14434 echo "configure: failed program was:" >&5 14435 echo "configure: failed program was:" >&5
14435 cat conftest.$ac_ext >&5 14436 cat conftest.$ac_ext >&5
14456 fi ;; 14457 fi ;;
14457 hppa*-hp-hpux* ) 14458 hppa*-hp-hpux* )
14458 if test -z "$native_sound_lib"; then 14459 if test -z "$native_sound_lib"; then
14459 14460
14460 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14461 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14461 echo "configure:14462: checking for AOpenAudio in -lAlib" >&5 14462 echo "configure:14463: checking for AOpenAudio in -lAlib" >&5
14462 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14463 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14463 14464
14464 xe_check_libs=" -lAlib " 14465 xe_check_libs=" -lAlib "
14465 cat > conftest.$ac_ext <<EOF 14466 cat > conftest.$ac_ext <<EOF
14466 #line 14467 "configure" 14467 #line 14468 "configure"
14467 #include "confdefs.h" 14468 #include "confdefs.h"
14468 /* Override any gcc2 internal prototype to avoid an error. */ 14469 /* Override any gcc2 internal prototype to avoid an error. */
14469 /* We use char because int might match the return type of a gcc2 14470 /* We use char because int might match the return type of a gcc2
14470 builtin and then its argument prototype would still apply. */ 14471 builtin and then its argument prototype would still apply. */
14471 char AOpenAudio(); 14472 char AOpenAudio();
14472 14473
14473 int main() { 14474 int main() {
14474 AOpenAudio() 14475 AOpenAudio()
14475 ; return 0; } 14476 ; return 0; }
14476 EOF 14477 EOF
14477 if { (eval echo configure:14478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14478 if { (eval echo configure:14479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14478 rm -rf conftest* 14479 rm -rf conftest*
14479 eval "ac_cv_lib_$ac_lib_var=yes" 14480 eval "ac_cv_lib_$ac_lib_var=yes"
14480 else 14481 else
14481 echo "configure: failed program was:" >&5 14482 echo "configure: failed program was:" >&5
14482 cat conftest.$ac_ext >&5 14483 cat conftest.$ac_ext >&5
14520 14521
14521 if test -z "$sound_found"; then 14522 if test -z "$sound_found"; then
14522 for dir in "machine" "sys" "linux"; do 14523 for dir in "machine" "sys" "linux"; do
14523 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14524 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14524 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14525 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14525 echo "configure:14526: checking for ${dir}/soundcard.h" >&5 14526 echo "configure:14527: checking for ${dir}/soundcard.h" >&5
14526 14527
14527 cat > conftest.$ac_ext <<EOF 14528 cat > conftest.$ac_ext <<EOF
14528 #line 14529 "configure" 14529 #line 14530 "configure"
14529 #include "confdefs.h" 14530 #include "confdefs.h"
14530 #include <${dir}/soundcard.h> 14531 #include <${dir}/soundcard.h>
14531 EOF 14532 EOF
14532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14533 { (eval echo configure:14534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14534 { (eval echo configure:14535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14535 if test -z "$ac_err"; then 14536 if test -z "$ac_err"; then
14536 rm -rf conftest* 14537 rm -rf conftest*
14537 eval "ac_cv_header_$ac_safe=yes" 14538 eval "ac_cv_header_$ac_safe=yes"
14538 else 14539 else
14582 fi 14583 fi
14583 14584
14584 if test "$with_nas_sound" != "no"; then 14585 if test "$with_nas_sound" != "no"; then
14585 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14586 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14586 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14587 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14587 echo "configure:14588: checking for audio/audiolib.h" >&5 14588 echo "configure:14589: checking for audio/audiolib.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 <audio/audiolib.h> 14593 #include <audio/audiolib.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
14608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14609 echo "$ac_t""yes" 1>&6 14610 echo "$ac_t""yes" 1>&6
14610 14611
14611 14612
14612 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14613 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14613 echo "configure:14614: checking for AuOpenServer in -laudio" >&5 14614 echo "configure:14615: checking for AuOpenServer in -laudio" >&5
14614 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14615 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14615 14616
14616 xe_check_libs=" -laudio " 14617 xe_check_libs=" -laudio "
14617 cat > conftest.$ac_ext <<EOF 14618 cat > conftest.$ac_ext <<EOF
14618 #line 14619 "configure" 14619 #line 14620 "configure"
14619 #include "confdefs.h" 14620 #include "confdefs.h"
14620 /* Override any gcc2 internal prototype to avoid an error. */ 14621 /* Override any gcc2 internal prototype to avoid an error. */
14621 /* We use char because int might match the return type of a gcc2 14622 /* We use char because int might match the return type of a gcc2
14622 builtin and then its argument prototype would still apply. */ 14623 builtin and then its argument prototype would still apply. */
14623 char AuOpenServer(); 14624 char AuOpenServer();
14624 14625
14625 int main() { 14626 int main() {
14626 AuOpenServer() 14627 AuOpenServer()
14627 ; return 0; } 14628 ; return 0; }
14628 EOF 14629 EOF
14629 if { (eval echo configure:14630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14630 if { (eval echo configure:14631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14630 rm -rf conftest* 14631 rm -rf conftest*
14631 eval "ac_cv_lib_$ac_lib_var=yes" 14632 eval "ac_cv_lib_$ac_lib_var=yes"
14632 else 14633 else
14633 echo "configure: failed program was:" >&5 14634 echo "configure: failed program was:" >&5
14634 cat conftest.$ac_ext >&5 14635 cat conftest.$ac_ext >&5
14663 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14664 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14664 echo " xemacs will be linked with \"nas.o\"" 14665 echo " xemacs will be linked with \"nas.o\""
14665 fi 14666 fi
14666 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14667 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14667 cat > conftest.$ac_ext <<EOF 14668 cat > conftest.$ac_ext <<EOF
14668 #line 14669 "configure" 14669 #line 14670 "configure"
14669 #include "confdefs.h" 14670 #include "confdefs.h"
14670 #include <audio/Xtutil.h> 14671 #include <audio/Xtutil.h>
14671 EOF 14672 EOF
14672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14673 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14674 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14694 14695
14695 if test "$with_esd_sound" != "no"; then 14696 if test "$with_esd_sound" != "no"; then
14696 # Extract the first word of "esd-config", so it can be a program name with args. 14697 # Extract the first word of "esd-config", so it can be a program name with args.
14697 set dummy esd-config; ac_word=$2 14698 set dummy esd-config; ac_word=$2
14698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14699 echo "configure:14700: checking for $ac_word" >&5 14700 echo "configure:14701: checking for $ac_word" >&5
14700 14701
14701 if test -n "$have_esd_config"; then 14702 if test -n "$have_esd_config"; then
14702 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14703 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14703 else 14704 else
14704 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14723 if test "$have_esd_config" = "yes"; then 14724 if test "$have_esd_config" = "yes"; then
14724 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14725 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14725 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 14726 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
14726 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14727 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14727 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14728 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14728 echo "configure:14729: checking for esd_play_stream" >&5 14729 echo "configure:14730: checking for esd_play_stream" >&5
14729 14730
14730 cat > conftest.$ac_ext <<EOF 14731 cat > conftest.$ac_ext <<EOF
14731 #line 14732 "configure" 14732 #line 14733 "configure"
14732 #include "confdefs.h" 14733 #include "confdefs.h"
14733 /* System header to define __stub macros and hopefully few prototypes, 14734 /* System header to define __stub macros and hopefully few prototypes,
14734 which can conflict with char esd_play_stream(); below. */ 14735 which can conflict with char esd_play_stream(); below. */
14735 #include <assert.h> 14736 #include <assert.h>
14736 /* Override any gcc2 internal prototype to avoid an error. */ 14737 /* Override any gcc2 internal prototype to avoid an error. */
14749 esd_play_stream(); 14750 esd_play_stream();
14750 #endif 14751 #endif
14751 14752
14752 ; return 0; } 14753 ; return 0; }
14753 EOF 14754 EOF
14754 if { (eval echo configure:14755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14755 if { (eval echo configure:14756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14755 rm -rf conftest* 14756 rm -rf conftest*
14756 eval "ac_cv_func_esd_play_stream=yes" 14757 eval "ac_cv_func_esd_play_stream=yes"
14757 else 14758 else
14758 echo "configure: failed program was:" >&5 14759 echo "configure: failed program was:" >&5
14759 cat conftest.$ac_ext >&5 14760 cat conftest.$ac_ext >&5
14800 14801
14801 test -z "$with_tty" && with_tty=yes 14802 test -z "$with_tty" && with_tty=yes
14802 14803
14803 if test "$with_tty" = "yes" ; then 14804 if test "$with_tty" = "yes" ; then
14804 echo "checking for TTY-related features" 1>&6 14805 echo "checking for TTY-related features" 1>&6
14805 echo "configure:14806: checking for TTY-related features" >&5 14806 echo "configure:14807: checking for TTY-related features" >&5
14806 { test "$extra_verbose" = "yes" && cat << \EOF 14807 { test "$extra_verbose" = "yes" && cat << \EOF
14807 Defining HAVE_TTY 14808 Defining HAVE_TTY
14808 EOF 14809 EOF
14809 cat >> confdefs.h <<\EOF 14810 cat >> confdefs.h <<\EOF
14810 #define HAVE_TTY 1 14811 #define HAVE_TTY 1
14813 14814
14814 14815
14815 if test -z "$with_ncurses"; then 14816 if test -z "$with_ncurses"; then
14816 14817
14817 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 14818 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
14818 echo "configure:14819: checking for tgetent in -lncurses" >&5 14819 echo "configure:14820: checking for tgetent in -lncurses" >&5
14819 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 14820 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14820 14821
14821 xe_check_libs=" -lncurses " 14822 xe_check_libs=" -lncurses "
14822 cat > conftest.$ac_ext <<EOF 14823 cat > conftest.$ac_ext <<EOF
14823 #line 14824 "configure" 14824 #line 14825 "configure"
14824 #include "confdefs.h" 14825 #include "confdefs.h"
14825 /* Override any gcc2 internal prototype to avoid an error. */ 14826 /* Override any gcc2 internal prototype to avoid an error. */
14826 /* We use char because int might match the return type of a gcc2 14827 /* We use char because int might match the return type of a gcc2
14827 builtin and then its argument prototype would still apply. */ 14828 builtin and then its argument prototype would still apply. */
14828 char tgetent(); 14829 char tgetent();
14829 14830
14830 int main() { 14831 int main() {
14831 tgetent() 14832 tgetent()
14832 ; return 0; } 14833 ; return 0; }
14833 EOF 14834 EOF
14834 if { (eval echo configure:14835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14835 if { (eval echo configure:14836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14835 rm -rf conftest* 14836 rm -rf conftest*
14836 eval "ac_cv_lib_$ac_lib_var=yes" 14837 eval "ac_cv_lib_$ac_lib_var=yes"
14837 else 14838 else
14838 echo "configure: failed program was:" >&5 14839 echo "configure: failed program was:" >&5
14839 cat conftest.$ac_ext >&5 14840 cat conftest.$ac_ext >&5
14862 EOF 14863 EOF
14863 } 14864 }
14864 14865
14865 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14866 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14866 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14867 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14867 echo "configure:14868: checking for ncurses/curses.h" >&5 14868 echo "configure:14869: checking for ncurses/curses.h" >&5
14868 14869
14869 cat > conftest.$ac_ext <<EOF 14870 cat > conftest.$ac_ext <<EOF
14870 #line 14871 "configure" 14871 #line 14872 "configure"
14871 #include "confdefs.h" 14872 #include "confdefs.h"
14872 #include <ncurses/curses.h> 14873 #include <ncurses/curses.h>
14873 EOF 14874 EOF
14874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14875 { (eval echo configure:14876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14876 { (eval echo configure:14877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14877 if test -z "$ac_err"; then 14878 if test -z "$ac_err"; then
14878 rm -rf conftest* 14879 rm -rf conftest*
14879 eval "ac_cv_header_$ac_safe=yes" 14880 eval "ac_cv_header_$ac_safe=yes"
14880 else 14881 else
14892 echo "$ac_t""no" 1>&6 14893 echo "$ac_t""no" 1>&6
14893 fi 14894 fi
14894 14895
14895 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 14896 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
14896 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 14897 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
14897 echo "configure:14898: checking for ncurses/term.h" >&5 14898 echo "configure:14899: checking for ncurses/term.h" >&5
14898 14899
14899 cat > conftest.$ac_ext <<EOF 14900 cat > conftest.$ac_ext <<EOF
14900 #line 14901 "configure" 14901 #line 14902 "configure"
14901 #include "confdefs.h" 14902 #include "confdefs.h"
14902 #include <ncurses/term.h> 14903 #include <ncurses/term.h>
14903 EOF 14904 EOF
14904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14905 { (eval echo configure:14906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14906 { (eval echo configure:14907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14907 if test -z "$ac_err"; then 14908 if test -z "$ac_err"; then
14908 rm -rf conftest* 14909 rm -rf conftest*
14909 eval "ac_cv_header_$ac_safe=yes" 14910 eval "ac_cv_header_$ac_safe=yes"
14910 else 14911 else
14930 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 14931 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
14931 save_c_switch_site="$c_switch_site" 14932 save_c_switch_site="$c_switch_site"
14932 c_switch_site="$c_switch_site -I/usr/include/ncurses" 14933 c_switch_site="$c_switch_site -I/usr/include/ncurses"
14933 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14934 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14934 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14935 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14935 echo "configure:14936: checking for ncurses/curses.h" >&5 14936 echo "configure:14937: checking for ncurses/curses.h" >&5
14936 14937
14937 cat > conftest.$ac_ext <<EOF 14938 cat > conftest.$ac_ext <<EOF
14938 #line 14939 "configure" 14939 #line 14940 "configure"
14939 #include "confdefs.h" 14940 #include "confdefs.h"
14940 #include <ncurses/curses.h> 14941 #include <ncurses/curses.h>
14941 EOF 14942 EOF
14942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14943 { (eval echo configure:14944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14944 { (eval echo configure:14945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14945 if test -z "$ac_err"; then 14946 if test -z "$ac_err"; then
14946 rm -rf conftest* 14947 rm -rf conftest*
14947 eval "ac_cv_header_$ac_safe=yes" 14948 eval "ac_cv_header_$ac_safe=yes"
14948 else 14949 else
14973 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14974 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14974 else 14975 else
14975 for lib in curses termlib termcap; do 14976 for lib in curses termlib termcap; do
14976 14977
14977 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 14978 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
14978 echo "configure:14979: checking for tgetent in -l$lib" >&5 14979 echo "configure:14980: checking for tgetent in -l$lib" >&5
14979 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 14980 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
14980 14981
14981 xe_check_libs=" -l$lib " 14982 xe_check_libs=" -l$lib "
14982 cat > conftest.$ac_ext <<EOF 14983 cat > conftest.$ac_ext <<EOF
14983 #line 14984 "configure" 14984 #line 14985 "configure"
14984 #include "confdefs.h" 14985 #include "confdefs.h"
14985 /* Override any gcc2 internal prototype to avoid an error. */ 14986 /* Override any gcc2 internal prototype to avoid an error. */
14986 /* We use char because int might match the return type of a gcc2 14987 /* We use char because int might match the return type of a gcc2
14987 builtin and then its argument prototype would still apply. */ 14988 builtin and then its argument prototype would still apply. */
14988 char tgetent(); 14989 char tgetent();
14989 14990
14990 int main() { 14991 int main() {
14991 tgetent() 14992 tgetent()
14992 ; return 0; } 14993 ; return 0; }
14993 EOF 14994 EOF
14994 if { (eval echo configure:14995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14995 if { (eval echo configure:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14995 rm -rf conftest* 14996 rm -rf conftest*
14996 eval "ac_cv_lib_$ac_lib_var=yes" 14997 eval "ac_cv_lib_$ac_lib_var=yes"
14997 else 14998 else
14998 echo "configure: failed program was:" >&5 14999 echo "configure: failed program was:" >&5
14999 cat conftest.$ac_ext >&5 15000 cat conftest.$ac_ext >&5
15020 if test -n "$libs_termcap"; then 15021 if test -n "$libs_termcap"; then
15021 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15022 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15022 else 15023 else
15023 15024
15024 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 15025 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
15025 echo "configure:15026: checking for tgetent in -lcurses" >&5 15026 echo "configure:15027: checking for tgetent in -lcurses" >&5
15026 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 15027 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
15027 15028
15028 xe_check_libs=" -lcurses " 15029 xe_check_libs=" -lcurses "
15029 cat > conftest.$ac_ext <<EOF 15030 cat > conftest.$ac_ext <<EOF
15030 #line 15031 "configure" 15031 #line 15032 "configure"
15031 #include "confdefs.h" 15032 #include "confdefs.h"
15032 /* Override any gcc2 internal prototype to avoid an error. */ 15033 /* Override any gcc2 internal prototype to avoid an error. */
15033 /* We use char because int might match the return type of a gcc2 15034 /* We use char because int might match the return type of a gcc2
15034 builtin and then its argument prototype would still apply. */ 15035 builtin and then its argument prototype would still apply. */
15035 char tgetent(); 15036 char tgetent();
15036 15037
15037 int main() { 15038 int main() {
15038 tgetent() 15039 tgetent()
15039 ; return 0; } 15040 ; return 0; }
15040 EOF 15041 EOF
15041 if { (eval echo configure:15042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15042 if { (eval echo configure:15043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15042 rm -rf conftest* 15043 rm -rf conftest*
15043 eval "ac_cv_lib_$ac_lib_var=yes" 15044 eval "ac_cv_lib_$ac_lib_var=yes"
15044 else 15045 else
15045 echo "configure: failed program was:" >&5 15046 echo "configure: failed program was:" >&5
15046 cat conftest.$ac_ext >&5 15047 cat conftest.$ac_ext >&5
15054 echo "$ac_t""yes" 1>&6 15055 echo "$ac_t""yes" 1>&6
15055 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 15056 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
15056 else 15057 else
15057 echo "$ac_t""no" 1>&6 15058 echo "$ac_t""no" 1>&6
15058 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 15059 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
15059 echo "configure:15060: checking for tgetent in -ltermcap" >&5 15060 echo "configure:15061: checking for tgetent in -ltermcap" >&5
15060 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 15061 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
15061 15062
15062 xe_check_libs=" -ltermcap " 15063 xe_check_libs=" -ltermcap "
15063 cat > conftest.$ac_ext <<EOF 15064 cat > conftest.$ac_ext <<EOF
15064 #line 15065 "configure" 15065 #line 15066 "configure"
15065 #include "confdefs.h" 15066 #include "confdefs.h"
15066 /* Override any gcc2 internal prototype to avoid an error. */ 15067 /* Override any gcc2 internal prototype to avoid an error. */
15067 /* We use char because int might match the return type of a gcc2 15068 /* We use char because int might match the return type of a gcc2
15068 builtin and then its argument prototype would still apply. */ 15069 builtin and then its argument prototype would still apply. */
15069 char tgetent(); 15070 char tgetent();
15070 15071
15071 int main() { 15072 int main() {
15072 tgetent() 15073 tgetent()
15073 ; return 0; } 15074 ; return 0; }
15074 EOF 15075 EOF
15075 if { (eval echo configure:15076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15076 if { (eval echo configure:15077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15076 rm -rf conftest* 15077 rm -rf conftest*
15077 eval "ac_cv_lib_$ac_lib_var=yes" 15078 eval "ac_cv_lib_$ac_lib_var=yes"
15078 else 15079 else
15079 echo "configure: failed program was:" >&5 15080 echo "configure: failed program was:" >&5
15080 cat conftest.$ac_ext >&5 15081 cat conftest.$ac_ext >&5
15119 15120
15120 15121
15121 if test "$with_gpm" != "no"; then 15122 if test "$with_gpm" != "no"; then
15122 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 15123 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
15123 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 15124 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
15124 echo "configure:15125: checking for gpm.h" >&5 15125 echo "configure:15126: checking for gpm.h" >&5
15125 15126
15126 cat > conftest.$ac_ext <<EOF 15127 cat > conftest.$ac_ext <<EOF
15127 #line 15128 "configure" 15128 #line 15129 "configure"
15128 #include "confdefs.h" 15129 #include "confdefs.h"
15129 #include <gpm.h> 15130 #include <gpm.h>
15130 EOF 15131 EOF
15131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15132 { (eval echo configure:15133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15133 { (eval echo configure:15134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15134 if test -z "$ac_err"; then 15135 if test -z "$ac_err"; then
15135 rm -rf conftest* 15136 rm -rf conftest*
15136 eval "ac_cv_header_$ac_safe=yes" 15137 eval "ac_cv_header_$ac_safe=yes"
15137 else 15138 else
15145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15146 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15146 echo "$ac_t""yes" 1>&6 15147 echo "$ac_t""yes" 1>&6
15147 15148
15148 15149
15149 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 15150 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
15150 echo "configure:15151: checking for Gpm_Open in -lgpm" >&5 15151 echo "configure:15152: checking for Gpm_Open in -lgpm" >&5
15151 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 15152 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
15152 15153
15153 xe_check_libs=" -lgpm " 15154 xe_check_libs=" -lgpm "
15154 cat > conftest.$ac_ext <<EOF 15155 cat > conftest.$ac_ext <<EOF
15155 #line 15156 "configure" 15156 #line 15157 "configure"
15156 #include "confdefs.h" 15157 #include "confdefs.h"
15157 /* Override any gcc2 internal prototype to avoid an error. */ 15158 /* Override any gcc2 internal prototype to avoid an error. */
15158 /* We use char because int might match the return type of a gcc2 15159 /* We use char because int might match the return type of a gcc2
15159 builtin and then its argument prototype would still apply. */ 15160 builtin and then its argument prototype would still apply. */
15160 char Gpm_Open(); 15161 char Gpm_Open();
15161 15162
15162 int main() { 15163 int main() {
15163 Gpm_Open() 15164 Gpm_Open()
15164 ; return 0; } 15165 ; return 0; }
15165 EOF 15166 EOF
15166 if { (eval echo configure:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15167 if { (eval echo configure:15168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15167 rm -rf conftest* 15168 rm -rf conftest*
15168 eval "ac_cv_lib_$ac_lib_var=yes" 15169 eval "ac_cv_lib_$ac_lib_var=yes"
15169 else 15170 else
15170 echo "configure: failed program was:" >&5 15171 echo "configure: failed program was:" >&5
15171 cat conftest.$ac_ext >&5 15172 cat conftest.$ac_ext >&5
15213 done 15214 done
15214 fi 15215 fi
15215 15216
15216 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15217 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15217 != "no no no" && echo "checking for database support" 1>&6 15218 != "no no no" && echo "checking for database support" 1>&6
15218 echo "configure:15219: checking for database support" >&5 15219 echo "configure:15220: checking for database support" >&5
15219 15220
15220 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15221 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15221 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15222 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15222 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15223 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15223 echo "configure:15224: checking for ndbm.h" >&5 15224 echo "configure:15225: checking for ndbm.h" >&5
15224 15225
15225 cat > conftest.$ac_ext <<EOF 15226 cat > conftest.$ac_ext <<EOF
15226 #line 15227 "configure" 15227 #line 15228 "configure"
15227 #include "confdefs.h" 15228 #include "confdefs.h"
15228 #include <ndbm.h> 15229 #include <ndbm.h>
15229 EOF 15230 EOF
15230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15231 { (eval echo configure:15232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15232 { (eval echo configure:15233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15233 if test -z "$ac_err"; then 15234 if test -z "$ac_err"; then
15234 rm -rf conftest* 15235 rm -rf conftest*
15235 eval "ac_cv_header_$ac_safe=yes" 15236 eval "ac_cv_header_$ac_safe=yes"
15236 else 15237 else
15256 fi 15257 fi
15257 15258
15258 if test "$with_database_gdbm" != "no"; then 15259 if test "$with_database_gdbm" != "no"; then
15259 15260
15260 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 15261 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
15261 echo "configure:15262: checking for dbm_open in -lgdbm" >&5 15262 echo "configure:15263: checking for dbm_open in -lgdbm" >&5
15262 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15263 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15263 15264
15264 xe_check_libs=" -lgdbm " 15265 xe_check_libs=" -lgdbm "
15265 cat > conftest.$ac_ext <<EOF 15266 cat > conftest.$ac_ext <<EOF
15266 #line 15267 "configure" 15267 #line 15268 "configure"
15267 #include "confdefs.h" 15268 #include "confdefs.h"
15268 /* Override any gcc2 internal prototype to avoid an error. */ 15269 /* Override any gcc2 internal prototype to avoid an error. */
15269 /* We use char because int might match the return type of a gcc2 15270 /* We use char because int might match the return type of a gcc2
15270 builtin and then its argument prototype would still apply. */ 15271 builtin and then its argument prototype would still apply. */
15271 char dbm_open(); 15272 char dbm_open();
15272 15273
15273 int main() { 15274 int main() {
15274 dbm_open() 15275 dbm_open()
15275 ; return 0; } 15276 ; return 0; }
15276 EOF 15277 EOF
15277 if { (eval echo configure:15278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15278 if { (eval echo configure:15279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15278 rm -rf conftest* 15279 rm -rf conftest*
15279 eval "ac_cv_lib_$ac_lib_var=yes" 15280 eval "ac_cv_lib_$ac_lib_var=yes"
15280 else 15281 else
15281 echo "configure: failed program was:" >&5 15282 echo "configure: failed program was:" >&5
15282 cat conftest.$ac_ext >&5 15283 cat conftest.$ac_ext >&5
15300 15301
15301 fi 15302 fi
15302 15303
15303 if test "$with_database_dbm" != "no"; then 15304 if test "$with_database_dbm" != "no"; then
15304 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15305 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15305 echo "configure:15306: checking for dbm_open" >&5 15306 echo "configure:15307: checking for dbm_open" >&5
15306 15307
15307 cat > conftest.$ac_ext <<EOF 15308 cat > conftest.$ac_ext <<EOF
15308 #line 15309 "configure" 15309 #line 15310 "configure"
15309 #include "confdefs.h" 15310 #include "confdefs.h"
15310 /* System header to define __stub macros and hopefully few prototypes, 15311 /* System header to define __stub macros and hopefully few prototypes,
15311 which can conflict with char dbm_open(); below. */ 15312 which can conflict with char dbm_open(); below. */
15312 #include <assert.h> 15313 #include <assert.h>
15313 /* Override any gcc2 internal prototype to avoid an error. */ 15314 /* Override any gcc2 internal prototype to avoid an error. */
15326 dbm_open(); 15327 dbm_open();
15327 #endif 15328 #endif
15328 15329
15329 ; return 0; } 15330 ; return 0; }
15330 EOF 15331 EOF
15331 if { (eval echo configure:15332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15332 if { (eval echo configure:15333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15332 rm -rf conftest* 15333 rm -rf conftest*
15333 eval "ac_cv_func_dbm_open=yes" 15334 eval "ac_cv_func_dbm_open=yes"
15334 else 15335 else
15335 echo "configure: failed program was:" >&5 15336 echo "configure: failed program was:" >&5
15336 cat conftest.$ac_ext >&5 15337 cat conftest.$ac_ext >&5
15345 else 15346 else
15346 echo "$ac_t""no" 1>&6 15347 echo "$ac_t""no" 1>&6
15347 15348
15348 15349
15349 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 15350 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
15350 echo "configure:15351: checking for dbm_open in -ldbm" >&5 15351 echo "configure:15352: checking for dbm_open in -ldbm" >&5
15351 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15352 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15352 15353
15353 xe_check_libs=" -ldbm " 15354 xe_check_libs=" -ldbm "
15354 cat > conftest.$ac_ext <<EOF 15355 cat > conftest.$ac_ext <<EOF
15355 #line 15356 "configure" 15356 #line 15357 "configure"
15356 #include "confdefs.h" 15357 #include "confdefs.h"
15357 /* Override any gcc2 internal prototype to avoid an error. */ 15358 /* Override any gcc2 internal prototype to avoid an error. */
15358 /* We use char because int might match the return type of a gcc2 15359 /* We use char because int might match the return type of a gcc2
15359 builtin and then its argument prototype would still apply. */ 15360 builtin and then its argument prototype would still apply. */
15360 char dbm_open(); 15361 char dbm_open();
15361 15362
15362 int main() { 15363 int main() {
15363 dbm_open() 15364 dbm_open()
15364 ; return 0; } 15365 ; return 0; }
15365 EOF 15366 EOF
15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15367 if { (eval echo configure:15368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15367 rm -rf conftest* 15368 rm -rf conftest*
15368 eval "ac_cv_lib_$ac_lib_var=yes" 15369 eval "ac_cv_lib_$ac_lib_var=yes"
15369 else 15370 else
15370 echo "configure: failed program was:" >&5 15371 echo "configure: failed program was:" >&5
15371 cat conftest.$ac_ext >&5 15372 cat conftest.$ac_ext >&5
15402 } 15403 }
15403 15404
15404 15405
15405 if test "$with_database_berkdb" != "no"; then 15406 if test "$with_database_berkdb" != "no"; then
15406 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15407 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15407 echo "configure:15408: checking for Berkeley db.h" >&5 15408 echo "configure:15409: checking for Berkeley db.h" >&5
15408 for header in "db/db.h" "db.h"; do 15409 for header in "db/db.h" "db.h"; do
15409 cat > conftest.$ac_ext <<EOF 15410 cat > conftest.$ac_ext <<EOF
15410 #line 15411 "configure" 15411 #line 15412 "configure"
15411 #include "confdefs.h" 15412 #include "confdefs.h"
15412 15413
15413 #include <stdlib.h> 15414 #include <stdlib.h>
15414 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15415 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15415 #ifdef HAVE_INTTYPES_H 15416 #ifdef HAVE_INTTYPES_H
15427 15428
15428 int main() { 15429 int main() {
15429 15430
15430 ; return 0; } 15431 ; return 0; }
15431 EOF 15432 EOF
15432 if { (eval echo configure:15433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15433 if { (eval echo configure:15434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15433 rm -rf conftest* 15434 rm -rf conftest*
15434 db_h_file="$header"; break 15435 db_h_file="$header"; break
15435 else 15436 else
15436 echo "configure: failed program was:" >&5 15437 echo "configure: failed program was:" >&5
15437 cat conftest.$ac_ext >&5 15438 cat conftest.$ac_ext >&5
15443 else echo "$ac_t""$db_h_file" 1>&6 15444 else echo "$ac_t""$db_h_file" 1>&6
15444 fi 15445 fi
15445 15446
15446 if test "$with_database_berkdb" != "no"; then 15447 if test "$with_database_berkdb" != "no"; then
15447 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15448 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15448 echo "configure:15449: checking for Berkeley DB version" >&5 15449 echo "configure:15450: checking for Berkeley DB version" >&5
15449 cat > conftest.$ac_ext <<EOF 15450 cat > conftest.$ac_ext <<EOF
15450 #line 15451 "configure" 15451 #line 15452 "configure"
15451 #include "confdefs.h" 15452 #include "confdefs.h"
15452 #include <$db_h_file> 15453 #include <$db_h_file>
15453 #if DB_VERSION_MAJOR > 1 15454 #if DB_VERSION_MAJOR > 1
15454 yes 15455 yes
15455 #endif 15456 #endif
15457 EOF 15458 EOF
15458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15459 egrep "yes" >/dev/null 2>&1; then 15460 egrep "yes" >/dev/null 2>&1; then
15460 rm -rf conftest* 15461 rm -rf conftest*
15461 cat > conftest.$ac_ext <<EOF 15462 cat > conftest.$ac_ext <<EOF
15462 #line 15463 "configure" 15463 #line 15464 "configure"
15463 #include "confdefs.h" 15464 #include "confdefs.h"
15464 #include <$db_h_file> 15465 #include <$db_h_file>
15465 #if DB_VERSION_MAJOR > 2 15466 #if DB_VERSION_MAJOR > 2
15466 yes 15467 yes
15467 #endif 15468 #endif
15469 EOF 15470 EOF
15470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15471 egrep "yes" >/dev/null 2>&1; then 15472 egrep "yes" >/dev/null 2>&1; then
15472 rm -rf conftest* 15473 rm -rf conftest*
15473 cat > conftest.$ac_ext <<EOF 15474 cat > conftest.$ac_ext <<EOF
15474 #line 15475 "configure" 15475 #line 15476 "configure"
15475 #include "confdefs.h" 15476 #include "confdefs.h"
15476 #include <$db_h_file> 15477 #include <$db_h_file>
15477 #if DB_VERSION_MAJOR > 3 15478 #if DB_VERSION_MAJOR > 3
15478 yes 15479 yes
15479 #endif 15480 #endif
15503 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15504 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15504 fi 15505 fi
15505 rm -f conftest* 15506 rm -f conftest*
15506 15507
15507 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15508 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15508 echo "configure:15509: checking for $dbfunc" >&5 15509 echo "configure:15510: checking for $dbfunc" >&5
15509 15510
15510 cat > conftest.$ac_ext <<EOF 15511 cat > conftest.$ac_ext <<EOF
15511 #line 15512 "configure" 15512 #line 15513 "configure"
15512 #include "confdefs.h" 15513 #include "confdefs.h"
15513 /* System header to define __stub macros and hopefully few prototypes, 15514 /* System header to define __stub macros and hopefully few prototypes,
15514 which can conflict with char $dbfunc(); below. */ 15515 which can conflict with char $dbfunc(); below. */
15515 #include <assert.h> 15516 #include <assert.h>
15516 /* Override any gcc2 internal prototype to avoid an error. */ 15517 /* Override any gcc2 internal prototype to avoid an error. */
15529 $dbfunc(); 15530 $dbfunc();
15530 #endif 15531 #endif
15531 15532
15532 ; return 0; } 15533 ; return 0; }
15533 EOF 15534 EOF
15534 if { (eval echo configure:15535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15535 if { (eval echo configure:15536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15535 rm -rf conftest* 15536 rm -rf conftest*
15536 eval "ac_cv_func_$dbfunc=yes" 15537 eval "ac_cv_func_$dbfunc=yes"
15537 else 15538 else
15538 echo "configure: failed program was:" >&5 15539 echo "configure: failed program was:" >&5
15539 cat conftest.$ac_ext >&5 15540 cat conftest.$ac_ext >&5
15548 else 15549 else
15549 echo "$ac_t""no" 1>&6 15550 echo "$ac_t""no" 1>&6
15550 15551
15551 15552
15552 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15553 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15553 echo "configure:15554: checking for $dbfunc in -ldb" >&5 15554 echo "configure:15555: checking for $dbfunc in -ldb" >&5
15554 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15555 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15555 15556
15556 xe_check_libs=" -ldb " 15557 xe_check_libs=" -ldb "
15557 cat > conftest.$ac_ext <<EOF 15558 cat > conftest.$ac_ext <<EOF
15558 #line 15559 "configure" 15559 #line 15560 "configure"
15559 #include "confdefs.h" 15560 #include "confdefs.h"
15560 /* Override any gcc2 internal prototype to avoid an error. */ 15561 /* Override any gcc2 internal prototype to avoid an error. */
15561 /* We use char because int might match the return type of a gcc2 15562 /* We use char because int might match the return type of a gcc2
15562 builtin and then its argument prototype would still apply. */ 15563 builtin and then its argument prototype would still apply. */
15563 char $dbfunc(); 15564 char $dbfunc();
15564 15565
15565 int main() { 15566 int main() {
15566 $dbfunc() 15567 $dbfunc()
15567 ; return 0; } 15568 ; return 0; }
15568 EOF 15569 EOF
15569 if { (eval echo configure:15570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15570 if { (eval echo configure:15571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15570 rm -rf conftest* 15571 rm -rf conftest*
15571 eval "ac_cv_lib_$ac_lib_var=yes" 15572 eval "ac_cv_lib_$ac_lib_var=yes"
15572 else 15573 else
15573 echo "configure: failed program was:" >&5 15574 echo "configure: failed program was:" >&5
15574 cat conftest.$ac_ext >&5 15575 cat conftest.$ac_ext >&5
15598 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15599 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15599 rm -f $tempcname 15600 rm -f $tempcname
15600 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15601 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15601 15602
15602 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15603 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15603 echo "configure:15604: checking for $dbfunc in -ldb" >&5 15604 echo "configure:15605: checking for $dbfunc in -ldb" >&5
15604 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15605 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15605 15606
15606 xe_check_libs=" -ldb " 15607 xe_check_libs=" -ldb "
15607 cat > conftest.$ac_ext <<EOF 15608 cat > conftest.$ac_ext <<EOF
15608 #line 15609 "configure" 15609 #line 15610 "configure"
15609 #include "confdefs.h" 15610 #include "confdefs.h"
15610 /* Override any gcc2 internal prototype to avoid an error. */ 15611 /* Override any gcc2 internal prototype to avoid an error. */
15611 /* We use char because int might match the return type of a gcc2 15612 /* We use char because int might match the return type of a gcc2
15612 builtin and then its argument prototype would still apply. */ 15613 builtin and then its argument prototype would still apply. */
15613 char $dbfunc(); 15614 char $dbfunc();
15614 15615
15615 int main() { 15616 int main() {
15616 $dbfunc() 15617 $dbfunc()
15617 ; return 0; } 15618 ; return 0; }
15618 EOF 15619 EOF
15619 if { (eval echo configure:15620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15620 if { (eval echo configure:15621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15620 rm -rf conftest* 15621 rm -rf conftest*
15621 eval "ac_cv_lib_$ac_lib_var=yes" 15622 eval "ac_cv_lib_$ac_lib_var=yes"
15622 else 15623 else
15623 echo "configure: failed program was:" >&5 15624 echo "configure: failed program was:" >&5
15624 cat conftest.$ac_ext >&5 15625 cat conftest.$ac_ext >&5
15673 fi 15674 fi
15674 15675
15675 if test "$with_socks" = "yes"; then 15676 if test "$with_socks" = "yes"; then
15676 15677
15677 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15678 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15678 echo "configure:15679: checking for SOCKSinit in -lsocks" >&5 15679 echo "configure:15680: checking for SOCKSinit in -lsocks" >&5
15679 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15680 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15680 15681
15681 xe_check_libs=" -lsocks " 15682 xe_check_libs=" -lsocks "
15682 cat > conftest.$ac_ext <<EOF 15683 cat > conftest.$ac_ext <<EOF
15683 #line 15684 "configure" 15684 #line 15685 "configure"
15684 #include "confdefs.h" 15685 #include "confdefs.h"
15685 /* Override any gcc2 internal prototype to avoid an error. */ 15686 /* Override any gcc2 internal prototype to avoid an error. */
15686 /* We use char because int might match the return type of a gcc2 15687 /* We use char because int might match the return type of a gcc2
15687 builtin and then its argument prototype would still apply. */ 15688 builtin and then its argument prototype would still apply. */
15688 char SOCKSinit(); 15689 char SOCKSinit();
15689 15690
15690 int main() { 15691 int main() {
15691 SOCKSinit() 15692 SOCKSinit()
15692 ; return 0; } 15693 ; return 0; }
15693 EOF 15694 EOF
15694 if { (eval echo configure:15695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15695 if { (eval echo configure:15696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15695 rm -rf conftest* 15696 rm -rf conftest*
15696 eval "ac_cv_lib_$ac_lib_var=yes" 15697 eval "ac_cv_lib_$ac_lib_var=yes"
15697 else 15698 else
15698 echo "configure: failed program was:" >&5 15699 echo "configure: failed program was:" >&5
15699 cat conftest.$ac_ext >&5 15700 cat conftest.$ac_ext >&5
15745 fi 15746 fi
15746 15747
15747 if test "$use_number_lib" = "gmp"; then 15748 if test "$use_number_lib" = "gmp"; then
15748 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15749 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15749 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15750 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15750 echo "configure:15751: checking for gmp.h" >&5 15751 echo "configure:15752: checking for gmp.h" >&5
15751 15752
15752 cat > conftest.$ac_ext <<EOF 15753 cat > conftest.$ac_ext <<EOF
15753 #line 15754 "configure" 15754 #line 15755 "configure"
15754 #include "confdefs.h" 15755 #include "confdefs.h"
15755 #include <gmp.h> 15756 #include <gmp.h>
15756 EOF 15757 EOF
15757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15758 { (eval echo configure:15759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15759 { (eval echo configure:15760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15760 if test -z "$ac_err"; then 15761 if test -z "$ac_err"; then
15761 rm -rf conftest* 15762 rm -rf conftest*
15762 eval "ac_cv_header_$ac_safe=yes" 15763 eval "ac_cv_header_$ac_safe=yes"
15763 else 15764 else
15771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15772 echo "$ac_t""yes" 1>&6 15773 echo "$ac_t""yes" 1>&6
15773 15774
15774 15775
15775 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 15776 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
15776 echo "configure:15777: checking for __gmpz_init in -lgmp" >&5 15777 echo "configure:15778: checking for __gmpz_init in -lgmp" >&5
15777 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15778 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15778 15779
15779 xe_check_libs=" -lgmp " 15780 xe_check_libs=" -lgmp "
15780 cat > conftest.$ac_ext <<EOF 15781 cat > conftest.$ac_ext <<EOF
15781 #line 15782 "configure" 15782 #line 15783 "configure"
15782 #include "confdefs.h" 15783 #include "confdefs.h"
15783 /* Override any gcc2 internal prototype to avoid an error. */ 15784 /* Override any gcc2 internal prototype to avoid an error. */
15784 /* We use char because int might match the return type of a gcc2 15785 /* We use char because int might match the return type of a gcc2
15785 builtin and then its argument prototype would still apply. */ 15786 builtin and then its argument prototype would still apply. */
15786 char __gmpz_init(); 15787 char __gmpz_init();
15787 15788
15788 int main() { 15789 int main() {
15789 __gmpz_init() 15790 __gmpz_init()
15790 ; return 0; } 15791 ; return 0; }
15791 EOF 15792 EOF
15792 if { (eval echo configure:15793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15793 if { (eval echo configure:15794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15793 rm -rf conftest* 15794 rm -rf conftest*
15794 eval "ac_cv_lib_$ac_lib_var=yes" 15795 eval "ac_cv_lib_$ac_lib_var=yes"
15795 else 15796 else
15796 echo "configure: failed program was:" >&5 15797 echo "configure: failed program was:" >&5
15797 cat conftest.$ac_ext >&5 15798 cat conftest.$ac_ext >&5
15836 fi 15837 fi
15837 elif test "$use_number_lib" = "mp"; then 15838 elif test "$use_number_lib" = "mp"; then
15838 for library in "" "-lcrypto"; do 15839 for library in "" "-lcrypto"; do
15839 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 15840 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
15840 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 15841 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
15841 echo "configure:15842: checking for mp.h" >&5 15842 echo "configure:15843: checking for mp.h" >&5
15842 15843
15843 cat > conftest.$ac_ext <<EOF 15844 cat > conftest.$ac_ext <<EOF
15844 #line 15845 "configure" 15845 #line 15846 "configure"
15845 #include "confdefs.h" 15846 #include "confdefs.h"
15846 #include <mp.h> 15847 #include <mp.h>
15847 EOF 15848 EOF
15848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15849 { (eval echo configure:15850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15850 { (eval echo configure:15851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15851 if test -z "$ac_err"; then 15852 if test -z "$ac_err"; then
15852 rm -rf conftest* 15853 rm -rf conftest*
15853 eval "ac_cv_header_$ac_safe=yes" 15854 eval "ac_cv_header_$ac_safe=yes"
15854 else 15855 else
15864 15865
15865 15866
15866 xe_msg_checking="for mp_mfree in -lmp" 15867 xe_msg_checking="for mp_mfree in -lmp"
15867 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15868 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15868 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15869 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15869 echo "configure:15870: checking "$xe_msg_checking"" >&5 15870 echo "configure:15871: checking "$xe_msg_checking"" >&5
15870 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 15871 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
15871 15872
15872 xe_check_libs=" -lmp $library" 15873 xe_check_libs=" -lmp $library"
15873 cat > conftest.$ac_ext <<EOF 15874 cat > conftest.$ac_ext <<EOF
15874 #line 15875 "configure" 15875 #line 15876 "configure"
15875 #include "confdefs.h" 15876 #include "confdefs.h"
15876 /* Override any gcc2 internal prototype to avoid an error. */ 15877 /* Override any gcc2 internal prototype to avoid an error. */
15877 /* We use char because int might match the return type of a gcc2 15878 /* We use char because int might match the return type of a gcc2
15878 builtin and then its argument prototype would still apply. */ 15879 builtin and then its argument prototype would still apply. */
15879 char mp_mfree(); 15880 char mp_mfree();
15880 15881
15881 int main() { 15882 int main() {
15882 mp_mfree() 15883 mp_mfree()
15883 ; return 0; } 15884 ; return 0; }
15884 EOF 15885 EOF
15885 if { (eval echo configure:15886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15886 if { (eval echo configure:15887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15886 rm -rf conftest* 15887 rm -rf conftest*
15887 eval "ac_cv_lib_$ac_lib_var=yes" 15888 eval "ac_cv_lib_$ac_lib_var=yes"
15888 else 15889 else
15889 echo "configure: failed program was:" >&5 15890 echo "configure: failed program was:" >&5
15890 cat conftest.$ac_ext >&5 15891 cat conftest.$ac_ext >&5
15901 echo "$ac_t""no" 1>&6 15902 echo "$ac_t""no" 1>&6
15902 15903
15903 xe_msg_checking="for mfree in -lmp" 15904 xe_msg_checking="for mfree in -lmp"
15904 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15905 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15905 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15906 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15906 echo "configure:15907: checking "$xe_msg_checking"" >&5 15907 echo "configure:15908: checking "$xe_msg_checking"" >&5
15907 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 15908 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
15908 15909
15909 xe_check_libs=" -lmp $library" 15910 xe_check_libs=" -lmp $library"
15910 cat > conftest.$ac_ext <<EOF 15911 cat > conftest.$ac_ext <<EOF
15911 #line 15912 "configure" 15912 #line 15913 "configure"
15912 #include "confdefs.h" 15913 #include "confdefs.h"
15913 /* Override any gcc2 internal prototype to avoid an error. */ 15914 /* Override any gcc2 internal prototype to avoid an error. */
15914 /* We use char because int might match the return type of a gcc2 15915 /* We use char because int might match the return type of a gcc2
15915 builtin and then its argument prototype would still apply. */ 15916 builtin and then its argument prototype would still apply. */
15916 char mfree(); 15917 char mfree();
15917 15918
15918 int main() { 15919 int main() {
15919 mfree() 15920 mfree()
15920 ; return 0; } 15921 ; return 0; }
15921 EOF 15922 EOF
15922 if { (eval echo configure:15923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15923 if { (eval echo configure:15924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15923 rm -rf conftest* 15924 rm -rf conftest*
15924 eval "ac_cv_lib_$ac_lib_var=yes" 15925 eval "ac_cv_lib_$ac_lib_var=yes"
15925 else 15926 else
15926 echo "configure: failed program was:" >&5 15927 echo "configure: failed program was:" >&5
15927 cat conftest.$ac_ext >&5 15928 cat conftest.$ac_ext >&5
15959 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 15960 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
15960 if test "$library" != ""; then 15961 if test "$library" != ""; then
15961 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 15962 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
15962 fi 15963 fi
15963 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 15964 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
15964 echo "configure:15965: checking for mp_move" >&5 15965 echo "configure:15966: checking for mp_move" >&5
15965 15966
15966 cat > conftest.$ac_ext <<EOF 15967 cat > conftest.$ac_ext <<EOF
15967 #line 15968 "configure" 15968 #line 15969 "configure"
15968 #include "confdefs.h" 15969 #include "confdefs.h"
15969 /* System header to define __stub macros and hopefully few prototypes, 15970 /* System header to define __stub macros and hopefully few prototypes,
15970 which can conflict with char mp_move(); below. */ 15971 which can conflict with char mp_move(); below. */
15971 #include <assert.h> 15972 #include <assert.h>
15972 /* Override any gcc2 internal prototype to avoid an error. */ 15973 /* Override any gcc2 internal prototype to avoid an error. */
15985 mp_move(); 15986 mp_move();
15986 #endif 15987 #endif
15987 15988
15988 ; return 0; } 15989 ; return 0; }
15989 EOF 15990 EOF
15990 if { (eval echo configure:15991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15991 if { (eval echo configure:15992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15991 rm -rf conftest* 15992 rm -rf conftest*
15992 eval "ac_cv_func_mp_move=yes" 15993 eval "ac_cv_func_mp_move=yes"
15993 else 15994 else
15994 echo "configure: failed program was:" >&5 15995 echo "configure: failed program was:" >&5
15995 cat conftest.$ac_ext >&5 15996 cat conftest.$ac_ext >&5
16016 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16017 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16017 if test "$library" != ""; then 16018 if test "$library" != ""; then
16018 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16019 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16019 fi 16020 fi
16020 echo $ac_n "checking for move""... $ac_c" 1>&6 16021 echo $ac_n "checking for move""... $ac_c" 1>&6
16021 echo "configure:16022: checking for move" >&5 16022 echo "configure:16023: checking for move" >&5
16022 16023
16023 cat > conftest.$ac_ext <<EOF 16024 cat > conftest.$ac_ext <<EOF
16024 #line 16025 "configure" 16025 #line 16026 "configure"
16025 #include "confdefs.h" 16026 #include "confdefs.h"
16026 /* System header to define __stub macros and hopefully few prototypes, 16027 /* System header to define __stub macros and hopefully few prototypes,
16027 which can conflict with char move(); below. */ 16028 which can conflict with char move(); below. */
16028 #include <assert.h> 16029 #include <assert.h>
16029 /* Override any gcc2 internal prototype to avoid an error. */ 16030 /* Override any gcc2 internal prototype to avoid an error. */
16042 move(); 16043 move();
16043 #endif 16044 #endif
16044 16045
16045 ; return 0; } 16046 ; return 0; }
16046 EOF 16047 EOF
16047 if { (eval echo configure:16048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16048 if { (eval echo configure:16049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16048 rm -rf conftest* 16049 rm -rf conftest*
16049 eval "ac_cv_func_move=yes" 16050 eval "ac_cv_func_move=yes"
16050 else 16051 else
16051 echo "configure: failed program was:" >&5 16052 echo "configure: failed program was:" >&5
16052 cat conftest.$ac_ext >&5 16053 cat conftest.$ac_ext >&5
16089 } 16090 }
16090 16091
16091 fi 16092 fi
16092 16093
16093 cat > conftest.$ac_ext <<EOF 16094 cat > conftest.$ac_ext <<EOF
16094 #line 16095 "configure" 16095 #line 16096 "configure"
16095 #include "confdefs.h" 16096 #include "confdefs.h"
16096 int main(int c,char *v[]){return 0;} 16097 int main(int c,char *v[]){return 0;}
16097 EOF 16098 EOF
16098 if { (eval echo configure:16099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 16099 if { (eval echo configure:16100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
16099 then 16100 then
16100 : 16101 :
16101 else 16102 else
16102 conftest_rc="$?" 16103 conftest_rc="$?"
16103 echo "configure: failed program was:" >&5 16104 echo "configure: failed program was:" >&5