comparison configure @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents 702b5727498a
children e2fdc9035c5b
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
2926 esac 2926 esac
2927 elif test "$CC" = "xlc"; then 2927 elif test "$CC" = "xlc"; then
2928 cflags_warning="-qinfo" 2928 cflags_warning="-qinfo"
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 cflags_warning="$cflags_warning -Wunused-parameter -Wunused-variable"
2932
2931 cflags_warning="$cflags_warning -Wsign-compare" 2933 cflags_warning="$cflags_warning -Wsign-compare"
2932 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" 2934 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes"
2933 if test "$__GCC3" = "yes"; then 2935 if test "$__GCC3" = "yes"; then
2934 cflags_warning="$cflags_warning -Wpacked" 2936 cflags_warning="$cflags_warning -Wpacked"
2935 fi 2937 fi
2944 fi 2946 fi
2945 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning" 2947 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning"
2946 echo "$ac_t""${xe_cflags_warning}" 1>&6 2948 echo "$ac_t""${xe_cflags_warning}" 1>&6
2947 2949
2948 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
2949 echo "configure:2950: checking for preferred warning flags for CC" >&5 2951 echo "configure:2952: checking for preferred warning flags for CC" >&5
2950 echo "$ac_t""${cflags_warning}" 1>&6 2952 echo "$ac_t""${cflags_warning}" 1>&6
2951 2953
2952 XE_CFLAGS="$xe_cflags_warning $CFLAGS" 2954 XE_CFLAGS="$xe_cflags_warning $CFLAGS"
2953 CFLAGS="$cflags_warning $CFLAGS" 2955 CFLAGS="$cflags_warning $CFLAGS"
2954 2956
2955 if test "$GCC" = "yes"; then 2957 if test "$GCC" = "yes"; then
2956 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
2957 echo "configure:2958: checking for buggy gcc versions" >&5 2959 echo "configure:2960: checking for buggy gcc versions" >&5
2958 GCC_VERSION=`$CC --version` 2960 GCC_VERSION=`$CC --version`
2959 case `uname -s`:`uname -m`:$GCC_VERSION in 2961 case `uname -s`:`uname -m`:$GCC_VERSION in
2960 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) 2962 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*)
2961 case "$CFLAGS" in 2963 case "$CFLAGS" in
2962 *-O2*|*-O3*) 2964 *-O2*|*-O3*)
3010 echo "$ac_t""no" 1>&6 3012 echo "$ac_t""no" 1>&6
3011 fi 3013 fi
3012 3014
3013 if test "$pdump" != "yes"; then 3015 if test "$pdump" != "yes"; then
3014 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
3015 echo "configure:3016: checking for \"-z nocombreloc\" linker flag" >&5 3017 echo "configure:3018: checking for \"-z nocombreloc\" linker flag" >&5
3016 case "`ld --help 2>&1`" in 3018 case "`ld --help 2>&1`" in
3017 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 3019 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
3018 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 ;;
3019 *) echo "$ac_t""no" 1>&6 ;; 3021 *) echo "$ac_t""no" 1>&6 ;;
3020 esac 3022 esac
3099 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
3100 echo " xemacs will be linked with \"dumper.o\"" 3102 echo " xemacs will be linked with \"dumper.o\""
3101 fi 3103 fi
3102 3104
3103 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 3105 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
3104 echo "configure:3105: checking for dynodump" >&5 3106 echo "configure:3107: checking for dynodump" >&5
3105 if test "$unexec" != "unexsol2.o"; then 3107 if test "$unexec" != "unexsol2.o"; then
3106 echo "$ac_t""no" 1>&6 3108 echo "$ac_t""no" 1>&6
3107 else 3109 else
3108 echo "$ac_t""yes" 1>&6 3110 echo "$ac_t""yes" 1>&6
3109 { test "$extra_verbose" = "yes" && cat << \EOF 3111 { test "$extra_verbose" = "yes" && cat << \EOF
3136 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
3137 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
3138 done 3140 done
3139 3141
3140 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
3141 echo "configure:3142: checking for terminateAndUnload in -lC" >&5 3143 echo "configure:3144: checking for terminateAndUnload in -lC" >&5
3142 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 3144 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
3143 3145
3144 xe_check_libs=" -lC " 3146 xe_check_libs=" -lC "
3145 cat > conftest.$ac_ext <<EOF 3147 cat > conftest.$ac_ext <<EOF
3146 #line 3147 "configure" 3148 #line 3149 "configure"
3147 #include "confdefs.h" 3149 #include "confdefs.h"
3148 /* Override any gcc2 internal prototype to avoid an error. */ 3150 /* Override any gcc2 internal prototype to avoid an error. */
3149 /* 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
3150 builtin and then its argument prototype would still apply. */ 3152 builtin and then its argument prototype would still apply. */
3151 char terminateAndUnload(); 3153 char terminateAndUnload();
3152 3154
3153 int main() { 3155 int main() {
3154 terminateAndUnload() 3156 terminateAndUnload()
3155 ; return 0; } 3157 ; return 0; }
3156 EOF 3158 EOF
3157 if { (eval echo configure:3158: \"$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
3158 rm -rf conftest* 3160 rm -rf conftest*
3159 eval "ac_cv_lib_$ac_lib_var=yes" 3161 eval "ac_cv_lib_$ac_lib_var=yes"
3160 else 3162 else
3161 echo "configure: failed program was:" >&5 3163 echo "configure: failed program was:" >&5
3162 cat conftest.$ac_ext >&5 3164 cat conftest.$ac_ext >&5
3194 compiler_version="" 3196 compiler_version=""
3195 gcc_compiler_specs="" 3197 gcc_compiler_specs=""
3196 libc_version="" 3198 libc_version=""
3197 3199
3198 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
3199 echo "configure:3200: checking for compiler version information" >&5 3201 echo "configure:3202: checking for compiler version information" >&5
3200 3202
3201 if test "$GCC" = "yes"; then 3203 if test "$GCC" = "yes"; then
3202 compiler_version=`$XEMACS_CC --version | head -1` 3204 compiler_version=`$XEMACS_CC --version | head -1`
3203 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`
3204 else case "$XEMACS_CC" in 3206 else case "$XEMACS_CC" in
3245 if test -z "$compiler_version"; then 3247 if test -z "$compiler_version"; then
3246 compiler_version="detection failed (please report this)" 3248 compiler_version="detection failed (please report this)"
3247 fi 3249 fi
3248 3250
3249 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
3250 echo "configure:3251: checking for standard C library version information" >&5 3252 echo "configure:3253: checking for standard C library version information" >&5
3251 3253
3252 case "$canonical" in 3254 case "$canonical" in
3253 *-*-linux*) 3255 *-*-linux*)
3254 if test -f /etc/redhat-release ; then 3256 if test -f /etc/redhat-release ; then
3255 libc_version=`rpm -q glibc` 3257 libc_version=`rpm -q glibc`
3357 esac 3359 esac
3358 fi 3360 fi
3359 3361
3360 if test "$add_runtime_path" = "yes"; then 3362 if test "$add_runtime_path" = "yes"; then
3361 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
3362 echo "configure:3363: checking "for runtime libraries flag"" >&5 3364 echo "configure:3365: checking "for runtime libraries flag"" >&5
3363 case "$opsys" in 3365 case "$opsys" in
3364 sol2 ) dash_r="-R" ;; 3366 sol2 ) dash_r="-R" ;;
3365 decosf* | linux* | irix*) dash_r="-rpath " ;; 3367 decosf* | linux* | irix*) dash_r="-rpath " ;;
3366 *) 3368 *)
3367 dash_r="" 3369 dash_r=""
3379 esac 3381 esac
3380 shift 3382 shift
3381 done 3383 done
3382 fi 3384 fi
3383 cat > conftest.$ac_ext <<EOF 3385 cat > conftest.$ac_ext <<EOF
3384 #line 3385 "configure" 3386 #line 3387 "configure"
3385 #include "confdefs.h" 3387 #include "confdefs.h"
3386 3388
3387 int main() { 3389 int main() {
3388 3390
3389 ; return 0; } 3391 ; return 0; }
3390 EOF 3392 EOF
3391 if { (eval echo configure:3392: \"$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
3392 rm -rf conftest* 3394 rm -rf conftest*
3393 dash_r="$try_dash_r" 3395 dash_r="$try_dash_r"
3394 else 3396 else
3395 echo "configure: failed program was:" >&5 3397 echo "configure: failed program was:" >&5
3396 cat conftest.$ac_ext >&5 3398 cat conftest.$ac_ext >&5
3487 else 3489 else
3488 doug_lea_malloc=no 3490 doug_lea_malloc=no
3489 fi 3491 fi
3490 after_morecore_hook_exists=yes 3492 after_morecore_hook_exists=yes
3491 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
3492 echo "configure:3493: checking for malloc_set_state" >&5 3494 echo "configure:3495: checking for malloc_set_state" >&5
3493 3495
3494 cat > conftest.$ac_ext <<EOF 3496 cat > conftest.$ac_ext <<EOF
3495 #line 3496 "configure" 3497 #line 3498 "configure"
3496 #include "confdefs.h" 3498 #include "confdefs.h"
3497 /* System header to define __stub macros and hopefully few prototypes, 3499 /* System header to define __stub macros and hopefully few prototypes,
3498 which can conflict with char malloc_set_state(); below. */ 3500 which can conflict with char malloc_set_state(); below. */
3499 #include <assert.h> 3501 #include <assert.h>
3500 /* Override any gcc2 internal prototype to avoid an error. */ 3502 /* Override any gcc2 internal prototype to avoid an error. */
3513 malloc_set_state(); 3515 malloc_set_state();
3514 #endif 3516 #endif
3515 3517
3516 ; return 0; } 3518 ; return 0; }
3517 EOF 3519 EOF
3518 if { (eval echo configure:3519: \"$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
3519 rm -rf conftest* 3521 rm -rf conftest*
3520 eval "ac_cv_func_malloc_set_state=yes" 3522 eval "ac_cv_func_malloc_set_state=yes"
3521 else 3523 else
3522 echo "configure: failed program was:" >&5 3524 echo "configure: failed program was:" >&5
3523 cat conftest.$ac_ext >&5 3525 cat conftest.$ac_ext >&5
3533 echo "$ac_t""no" 1>&6 3535 echo "$ac_t""no" 1>&6
3534 doug_lea_malloc=no 3536 doug_lea_malloc=no
3535 fi 3537 fi
3536 3538
3537 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
3538 echo "configure:3539: checking whether __after_morecore_hook exists" >&5 3540 echo "configure:3541: checking whether __after_morecore_hook exists" >&5
3539 cat > conftest.$ac_ext <<EOF 3541 cat > conftest.$ac_ext <<EOF
3540 #line 3541 "configure" 3542 #line 3543 "configure"
3541 #include "confdefs.h" 3543 #include "confdefs.h"
3542 extern void (* __after_morecore_hook)(); 3544 extern void (* __after_morecore_hook)();
3543 int main() { 3545 int main() {
3544 __after_morecore_hook = 0 3546 __after_morecore_hook = 0
3545 ; return 0; } 3547 ; return 0; }
3546 EOF 3548 EOF
3547 if { (eval echo configure:3548: \"$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
3548 rm -rf conftest* 3550 rm -rf conftest*
3549 echo "$ac_t""yes" 1>&6 3551 echo "$ac_t""yes" 1>&6
3550 else 3552 else
3551 echo "configure: failed program was:" >&5 3553 echo "configure: failed program was:" >&5
3552 cat conftest.$ac_ext >&5 3554 cat conftest.$ac_ext >&5
3598 3600
3599 3601
3600 # 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.
3601 set dummy ranlib; ac_word=$2 3603 set dummy ranlib; ac_word=$2
3602 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3603 echo "configure:3604: checking for $ac_word" >&5 3605 echo "configure:3606: checking for $ac_word" >&5
3604 3606
3605 if test -n "$RANLIB"; then 3607 if test -n "$RANLIB"; then
3606 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3608 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3607 else 3609 else
3608 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3653 # 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
3654 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3655 # 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"
3656 # ./install, which can be erroneously created by make from ./install.sh. 3658 # ./install, which can be erroneously created by make from ./install.sh.
3657 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
3658 echo "configure:3659: checking for a BSD compatible install" >&5 3660 echo "configure:3661: checking for a BSD compatible install" >&5
3659 if test -z "$INSTALL"; then 3661 if test -z "$INSTALL"; then
3660 3662
3661 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3663 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3662 for ac_dir in $PATH; do 3664 for ac_dir in $PATH; do
3663 # Account for people who put trailing slashes in PATH elements. 3665 # Account for people who put trailing slashes in PATH elements.
3707 for ac_prog in 'bison -y' byacc 3709 for ac_prog in 'bison -y' byacc
3708 do 3710 do
3709 # 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.
3710 set dummy $ac_prog; ac_word=$2 3712 set dummy $ac_prog; ac_word=$2
3711 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3712 echo "configure:3713: checking for $ac_word" >&5 3714 echo "configure:3715: checking for $ac_word" >&5
3713 3715
3714 if test -n "$YACC"; then 3716 if test -n "$YACC"; then
3715 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3717 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3716 else 3718 else
3717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3739 3741
3740 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
3741 do 3743 do
3742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3744 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3744 echo "configure:3745: checking for $ac_hdr" >&5 3746 echo "configure:3747: checking for $ac_hdr" >&5
3745 3747
3746 cat > conftest.$ac_ext <<EOF 3748 cat > conftest.$ac_ext <<EOF
3747 #line 3748 "configure" 3749 #line 3750 "configure"
3748 #include "confdefs.h" 3750 #include "confdefs.h"
3749 #include <$ac_hdr> 3751 #include <$ac_hdr>
3750 EOF 3752 EOF
3751 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"
3752 { (eval echo configure:3753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3754 { (eval echo configure:3755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3754 if test -z "$ac_err"; then 3756 if test -z "$ac_err"; then
3755 rm -rf conftest* 3757 rm -rf conftest*
3756 eval "ac_cv_header_$ac_safe=yes" 3758 eval "ac_cv_header_$ac_safe=yes"
3757 else 3759 else
3777 echo "$ac_t""no" 1>&6 3779 echo "$ac_t""no" 1>&6
3778 fi 3780 fi
3779 done 3781 done
3780 3782
3781 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
3782 echo "configure:3783: 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
3783 3785
3784 cat > conftest.$ac_ext <<EOF 3786 cat > conftest.$ac_ext <<EOF
3785 #line 3786 "configure" 3787 #line 3788 "configure"
3786 #include "confdefs.h" 3788 #include "confdefs.h"
3787 #include <sys/types.h> 3789 #include <sys/types.h>
3788 #include <sys/wait.h> 3790 #include <sys/wait.h>
3789 #ifndef WEXITSTATUS 3791 #ifndef WEXITSTATUS
3790 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3792 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3796 int s; 3798 int s;
3797 wait (&s); 3799 wait (&s);
3798 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3800 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3799 ; return 0; } 3801 ; return 0; }
3800 EOF 3802 EOF
3801 if { (eval echo configure:3802: \"$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
3802 rm -rf conftest* 3804 rm -rf conftest*
3803 ac_cv_header_sys_wait_h=yes 3805 ac_cv_header_sys_wait_h=yes
3804 else 3806 else
3805 echo "configure: failed program was:" >&5 3807 echo "configure: failed program was:" >&5
3806 cat conftest.$ac_ext >&5 3808 cat conftest.$ac_ext >&5
3820 } 3822 }
3821 3823
3822 fi 3824 fi
3823 3825
3824 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
3825 echo "configure:3826: checking for ANSI C header files" >&5 3827 echo "configure:3828: checking for ANSI C header files" >&5
3826 3828
3827 cat > conftest.$ac_ext <<EOF 3829 cat > conftest.$ac_ext <<EOF
3828 #line 3829 "configure" 3830 #line 3831 "configure"
3829 #include "confdefs.h" 3831 #include "confdefs.h"
3830 #include <stdlib.h> 3832 #include <stdlib.h>
3831 #include <stdarg.h> 3833 #include <stdarg.h>
3832 #include <string.h> 3834 #include <string.h>
3833 #include <float.h> 3835 #include <float.h>
3834 EOF 3836 EOF
3835 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"
3836 { (eval echo configure:3837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3838 { (eval echo configure:3839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3838 if test -z "$ac_err"; then 3840 if test -z "$ac_err"; then
3839 rm -rf conftest* 3841 rm -rf conftest*
3840 ac_cv_header_stdc=yes 3842 ac_cv_header_stdc=yes
3841 else 3843 else
3848 rm -f conftest* 3850 rm -f conftest*
3849 3851
3850 if test $ac_cv_header_stdc = yes; then 3852 if test $ac_cv_header_stdc = yes; then
3851 # 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.
3852 cat > conftest.$ac_ext <<EOF 3854 cat > conftest.$ac_ext <<EOF
3853 #line 3854 "configure" 3855 #line 3856 "configure"
3854 #include "confdefs.h" 3856 #include "confdefs.h"
3855 #include <string.h> 3857 #include <string.h>
3856 EOF 3858 EOF
3857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3858 egrep "memchr" >/dev/null 2>&1; then 3860 egrep "memchr" >/dev/null 2>&1; then
3866 fi 3868 fi
3867 3869
3868 if test $ac_cv_header_stdc = yes; then 3870 if test $ac_cv_header_stdc = yes; then
3869 # 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.
3870 cat > conftest.$ac_ext <<EOF 3872 cat > conftest.$ac_ext <<EOF
3871 #line 3872 "configure" 3873 #line 3874 "configure"
3872 #include "confdefs.h" 3874 #include "confdefs.h"
3873 #include <stdlib.h> 3875 #include <stdlib.h>
3874 EOF 3876 EOF
3875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3876 egrep "free" >/dev/null 2>&1; then 3878 egrep "free" >/dev/null 2>&1; then
3884 fi 3886 fi
3885 3887
3886 if test $ac_cv_header_stdc = yes; then 3888 if test $ac_cv_header_stdc = yes; then
3887 # /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.
3888 cat > conftest.$ac_ext <<EOF 3890 cat > conftest.$ac_ext <<EOF
3889 #line 3890 "configure" 3891 #line 3892 "configure"
3890 #include "confdefs.h" 3892 #include "confdefs.h"
3891 #include <ctype.h> 3893 #include <ctype.h>
3892 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3894 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3893 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3895 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3894 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3895 int main () { int i; for (i = 0; i < 256; i++) 3897 int main () { int i; for (i = 0; i < 256; i++)
3896 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);
3897 exit (0); } 3899 exit (0); }
3898 3900
3899 EOF 3901 EOF
3900 if { (eval echo configure:3901: \"$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
3901 then 3903 then
3902 : 3904 :
3903 else 3905 else
3904 conftest_rc="$?" 3906 conftest_rc="$?"
3905 echo "configure: failed program was:" >&5 3907 echo "configure: failed program was:" >&5
3921 } 3923 }
3922 3924
3923 fi 3925 fi
3924 3926
3925 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
3926 echo "configure:3927: 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
3927 3929
3928 cat > conftest.$ac_ext <<EOF 3930 cat > conftest.$ac_ext <<EOF
3929 #line 3930 "configure" 3931 #line 3932 "configure"
3930 #include "confdefs.h" 3932 #include "confdefs.h"
3931 #include <sys/types.h> 3933 #include <sys/types.h>
3932 #include <sys/time.h> 3934 #include <sys/time.h>
3933 #include <time.h> 3935 #include <time.h>
3934 int main() { 3936 int main() {
3935 struct tm *tp; 3937 struct tm *tp;
3936 ; return 0; } 3938 ; return 0; }
3937 EOF 3939 EOF
3938 if { (eval echo configure:3939: \"$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
3939 rm -rf conftest* 3941 rm -rf conftest*
3940 ac_cv_header_time=yes 3942 ac_cv_header_time=yes
3941 else 3943 else
3942 echo "configure: failed program was:" >&5 3944 echo "configure: failed program was:" >&5
3943 cat conftest.$ac_ext >&5 3945 cat conftest.$ac_ext >&5
3957 } 3959 }
3958 3960
3959 fi 3961 fi
3960 3962
3961 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
3962 echo "configure:3963: 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
3963 3965
3964 cat > conftest.$ac_ext <<EOF 3966 cat > conftest.$ac_ext <<EOF
3965 #line 3966 "configure" 3967 #line 3968 "configure"
3966 #include "confdefs.h" 3968 #include "confdefs.h"
3967 #include <sys/types.h> 3969 #include <sys/types.h>
3968 #include <signal.h> 3970 #include <signal.h>
3969 /* NetBSD declares sys_siglist in unistd.h. */ 3971 /* NetBSD declares sys_siglist in unistd.h. */
3970 #ifdef HAVE_UNISTD_H 3972 #ifdef HAVE_UNISTD_H
3972 #endif 3974 #endif
3973 int main() { 3975 int main() {
3974 char *msg = *(sys_siglist + 1); 3976 char *msg = *(sys_siglist + 1);
3975 ; return 0; } 3977 ; return 0; }
3976 EOF 3978 EOF
3977 if { (eval echo configure:3978: \"$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
3978 rm -rf conftest* 3980 rm -rf conftest*
3979 ac_cv_decl_sys_siglist=yes 3981 ac_cv_decl_sys_siglist=yes
3980 else 3982 else
3981 echo "configure: failed program was:" >&5 3983 echo "configure: failed program was:" >&5
3982 cat conftest.$ac_ext >&5 3984 cat conftest.$ac_ext >&5
3998 fi 4000 fi
3999 4001
4000 4002
4001 4003
4002 echo $ac_n "checking for utime""... $ac_c" 1>&6 4004 echo $ac_n "checking for utime""... $ac_c" 1>&6
4003 echo "configure:4004: checking for utime" >&5 4005 echo "configure:4006: checking for utime" >&5
4004 cat > conftest.$ac_ext <<EOF 4006 cat > conftest.$ac_ext <<EOF
4005 #line 4006 "configure" 4007 #line 4008 "configure"
4006 #include "confdefs.h" 4008 #include "confdefs.h"
4007 #include <sys/types.h> 4009 #include <sys/types.h>
4008 #include <utime.h> 4010 #include <utime.h>
4009 int main() { 4011 int main() {
4010 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); 4012 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);
4011 ; return 0; } 4013 ; return 0; }
4012 EOF 4014 EOF
4013 if { (eval echo configure:4014: \"$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
4014 rm -rf conftest* 4016 rm -rf conftest*
4015 echo "$ac_t""yes" 1>&6 4017 echo "$ac_t""yes" 1>&6
4016 { test "$extra_verbose" = "yes" && cat << \EOF 4018 { test "$extra_verbose" = "yes" && cat << \EOF
4017 Defining HAVE_UTIME 4019 Defining HAVE_UTIME
4018 EOF 4020 EOF
4027 rm -rf conftest* 4029 rm -rf conftest*
4028 echo "$ac_t""no" 1>&6 4030 echo "$ac_t""no" 1>&6
4029 for ac_func in utimes 4031 for ac_func in utimes
4030 do 4032 do
4031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4032 echo "configure:4033: checking for $ac_func" >&5 4034 echo "configure:4035: checking for $ac_func" >&5
4033 4035
4034 cat > conftest.$ac_ext <<EOF 4036 cat > conftest.$ac_ext <<EOF
4035 #line 4036 "configure" 4037 #line 4038 "configure"
4036 #include "confdefs.h" 4038 #include "confdefs.h"
4037 /* System header to define __stub macros and hopefully few prototypes, 4039 /* System header to define __stub macros and hopefully few prototypes,
4038 which can conflict with char $ac_func(); below. */ 4040 which can conflict with char $ac_func(); below. */
4039 #include <assert.h> 4041 #include <assert.h>
4040 /* Override any gcc2 internal prototype to avoid an error. */ 4042 /* Override any gcc2 internal prototype to avoid an error. */
4053 $ac_func(); 4055 $ac_func();
4054 #endif 4056 #endif
4055 4057
4056 ; return 0; } 4058 ; return 0; }
4057 EOF 4059 EOF
4058 if { (eval echo configure:4059: \"$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
4059 rm -rf conftest* 4061 rm -rf conftest*
4060 eval "ac_cv_func_$ac_func=yes" 4062 eval "ac_cv_func_$ac_func=yes"
4061 else 4063 else
4062 echo "configure: failed program was:" >&5 4064 echo "configure: failed program was:" >&5
4063 cat conftest.$ac_ext >&5 4065 cat conftest.$ac_ext >&5
4085 fi 4087 fi
4086 rm -f conftest* 4088 rm -f conftest*
4087 4089
4088 4090
4089 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
4090 echo "configure:4091: checking return type of signal handlers" >&5 4092 echo "configure:4093: checking return type of signal handlers" >&5
4091 4093
4092 cat > conftest.$ac_ext <<EOF 4094 cat > conftest.$ac_ext <<EOF
4093 #line 4094 "configure" 4095 #line 4096 "configure"
4094 #include "confdefs.h" 4096 #include "confdefs.h"
4095 #include <sys/types.h> 4097 #include <sys/types.h>
4096 #include <signal.h> 4098 #include <signal.h>
4097 #ifdef signal 4099 #ifdef signal
4098 #undef signal 4100 #undef signal
4105 4107
4106 int main() { 4108 int main() {
4107 int i; 4109 int i;
4108 ; return 0; } 4110 ; return 0; }
4109 EOF 4111 EOF
4110 if { (eval echo configure:4111: \"$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
4111 rm -rf conftest* 4113 rm -rf conftest*
4112 ac_cv_type_signal=void 4114 ac_cv_type_signal=void
4113 else 4115 else
4114 echo "configure: failed program was:" >&5 4116 echo "configure: failed program was:" >&5
4115 cat conftest.$ac_ext >&5 4117 cat conftest.$ac_ext >&5
4127 EOF 4129 EOF
4128 } 4130 }
4129 4131
4130 4132
4131 echo $ac_n "checking for size_t""... $ac_c" 1>&6 4133 echo $ac_n "checking for size_t""... $ac_c" 1>&6
4132 echo "configure:4133: checking for size_t" >&5 4134 echo "configure:4135: checking for size_t" >&5
4133 4135
4134 cat > conftest.$ac_ext <<EOF 4136 cat > conftest.$ac_ext <<EOF
4135 #line 4136 "configure" 4137 #line 4138 "configure"
4136 #include "confdefs.h" 4138 #include "confdefs.h"
4137 #include <sys/types.h> 4139 #include <sys/types.h>
4138 #if STDC_HEADERS 4140 #if STDC_HEADERS
4139 #include <stdlib.h> 4141 #include <stdlib.h>
4140 #include <stddef.h> 4142 #include <stddef.h>
4161 } 4163 }
4162 4164
4163 fi 4165 fi
4164 4166
4165 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 4167 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
4166 echo "configure:4167: checking for pid_t" >&5 4168 echo "configure:4169: checking for pid_t" >&5
4167 4169
4168 cat > conftest.$ac_ext <<EOF 4170 cat > conftest.$ac_ext <<EOF
4169 #line 4170 "configure" 4171 #line 4172 "configure"
4170 #include "confdefs.h" 4172 #include "confdefs.h"
4171 #include <sys/types.h> 4173 #include <sys/types.h>
4172 #if STDC_HEADERS 4174 #if STDC_HEADERS
4173 #include <stdlib.h> 4175 #include <stdlib.h>
4174 #include <stddef.h> 4176 #include <stddef.h>
4195 } 4197 }
4196 4198
4197 fi 4199 fi
4198 4200
4199 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
4200 echo "configure:4201: checking for uid_t in sys/types.h" >&5 4202 echo "configure:4203: checking for uid_t in sys/types.h" >&5
4201 4203
4202 cat > conftest.$ac_ext <<EOF 4204 cat > conftest.$ac_ext <<EOF
4203 #line 4204 "configure" 4205 #line 4206 "configure"
4204 #include "confdefs.h" 4206 #include "confdefs.h"
4205 #include <sys/types.h> 4207 #include <sys/types.h>
4206 EOF 4208 EOF
4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4208 egrep "uid_t" >/dev/null 2>&1; then 4210 egrep "uid_t" >/dev/null 2>&1; then
4234 } 4236 }
4235 4237
4236 fi 4238 fi
4237 4239
4238 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 4240 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
4239 echo "configure:4240: checking for mode_t" >&5 4241 echo "configure:4242: checking for mode_t" >&5
4240 4242
4241 cat > conftest.$ac_ext <<EOF 4243 cat > conftest.$ac_ext <<EOF
4242 #line 4243 "configure" 4244 #line 4245 "configure"
4243 #include "confdefs.h" 4245 #include "confdefs.h"
4244 #include <sys/types.h> 4246 #include <sys/types.h>
4245 #if STDC_HEADERS 4247 #if STDC_HEADERS
4246 #include <stdlib.h> 4248 #include <stdlib.h>
4247 #include <stddef.h> 4249 #include <stddef.h>
4268 } 4270 }
4269 4271
4270 fi 4272 fi
4271 4273
4272 echo $ac_n "checking for off_t""... $ac_c" 1>&6 4274 echo $ac_n "checking for off_t""... $ac_c" 1>&6
4273 echo "configure:4274: checking for off_t" >&5 4275 echo "configure:4276: checking for off_t" >&5
4274 4276
4275 cat > conftest.$ac_ext <<EOF 4277 cat > conftest.$ac_ext <<EOF
4276 #line 4277 "configure" 4278 #line 4279 "configure"
4277 #include "confdefs.h" 4279 #include "confdefs.h"
4278 #include <sys/types.h> 4280 #include <sys/types.h>
4279 #if STDC_HEADERS 4281 #if STDC_HEADERS
4280 #include <stdlib.h> 4282 #include <stdlib.h>
4281 #include <stddef.h> 4283 #include <stddef.h>
4302 } 4304 }
4303 4305
4304 fi 4306 fi
4305 4307
4306 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 4308 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
4307 echo "configure:4308: checking for ssize_t" >&5 4309 echo "configure:4310: checking for ssize_t" >&5
4308 4310
4309 cat > conftest.$ac_ext <<EOF 4311 cat > conftest.$ac_ext <<EOF
4310 #line 4311 "configure" 4312 #line 4313 "configure"
4311 #include "confdefs.h" 4313 #include "confdefs.h"
4312 #include <sys/types.h> 4314 #include <sys/types.h>
4313 #if STDC_HEADERS 4315 #if STDC_HEADERS
4314 #include <stdlib.h> 4316 #include <stdlib.h>
4315 #include <stddef.h> 4317 #include <stddef.h>
4338 fi 4340 fi
4339 4341
4340 4342
4341 if test "$ac_cv_header_inttypes_h" != "yes"; then 4343 if test "$ac_cv_header_inttypes_h" != "yes"; then
4342 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
4343 echo "configure:4344: checking for intptr_t in sys/types.h" >&5 4345 echo "configure:4346: checking for intptr_t in sys/types.h" >&5
4344 cat > conftest.$ac_ext <<EOF 4346 cat > conftest.$ac_ext <<EOF
4345 #line 4346 "configure" 4347 #line 4348 "configure"
4346 #include "confdefs.h" 4348 #include "confdefs.h"
4347 #include <sys/types.h> 4349 #include <sys/types.h>
4348 intptr_t x; 4350 intptr_t x;
4349 4351
4350 int main() { 4352 int main() {
4351 4353
4352 ; return 0; } 4354 ; return 0; }
4353 EOF 4355 EOF
4354 if { (eval echo configure:4355: \"$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
4355 rm -rf conftest* 4357 rm -rf conftest*
4356 echo "$ac_t""yes" 1>&6 4358 echo "$ac_t""yes" 1>&6
4357 { test "$extra_verbose" = "yes" && cat << \EOF 4359 { test "$extra_verbose" = "yes" && cat << \EOF
4358 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 4360 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1
4359 EOF 4361 EOF
4370 fi 4372 fi
4371 rm -f conftest* 4373 rm -f conftest*
4372 fi 4374 fi
4373 4375
4374 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 4376 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
4375 echo "configure:4376: checking for socklen_t" >&5 4377 echo "configure:4378: checking for socklen_t" >&5
4376 cat > conftest.$ac_ext <<EOF 4378 cat > conftest.$ac_ext <<EOF
4377 #line 4378 "configure" 4379 #line 4380 "configure"
4378 #include "confdefs.h" 4380 #include "confdefs.h"
4379 #include <sys/types.h> 4381 #include <sys/types.h>
4380 #include <sys/socket.h> 4382 #include <sys/socket.h>
4381 socklen_t x; 4383 socklen_t x;
4382 4384
4383 int main() { 4385 int main() {
4384 4386
4385 ; return 0; } 4387 ; return 0; }
4386 EOF 4388 EOF
4387 if { (eval echo configure:4388: \"$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
4388 rm -rf conftest* 4390 rm -rf conftest*
4389 echo "$ac_t""yes" 1>&6 4391 echo "$ac_t""yes" 1>&6
4390 else 4392 else
4391 echo "configure: failed program was:" >&5 4393 echo "configure: failed program was:" >&5
4392 cat conftest.$ac_ext >&5 4394 cat conftest.$ac_ext >&5
4393 rm -rf conftest* 4395 rm -rf conftest*
4394 4396
4395 cat > conftest.$ac_ext <<EOF 4397 cat > conftest.$ac_ext <<EOF
4396 #line 4397 "configure" 4398 #line 4399 "configure"
4397 #include "confdefs.h" 4399 #include "confdefs.h"
4398 #include <sys/types.h> 4400 #include <sys/types.h>
4399 #include <sys/socket.h> 4401 #include <sys/socket.h>
4400 int accept (int, struct sockaddr *, size_t *); 4402 int accept (int, struct sockaddr *, size_t *);
4401 4403
4402 int main() { 4404 int main() {
4403 4405
4404 ; return 0; } 4406 ; return 0; }
4405 EOF 4407 EOF
4406 if { (eval echo configure:4407: \"$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
4407 rm -rf conftest* 4409 rm -rf conftest*
4408 4410
4409 echo "$ac_t""size_t" 1>&6 4411 echo "$ac_t""size_t" 1>&6
4410 { test "$extra_verbose" = "yes" && cat << \EOF 4412 { test "$extra_verbose" = "yes" && cat << \EOF
4411 Defining socklen_t = size_t 4413 Defining socklen_t = size_t
4433 rm -f conftest* 4435 rm -f conftest*
4434 fi 4436 fi
4435 rm -f conftest* 4437 rm -f conftest*
4436 4438
4437 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 4439 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
4438 echo "configure:4439: checking for struct timeval" >&5 4440 echo "configure:4441: checking for struct timeval" >&5
4439 cat > conftest.$ac_ext <<EOF 4441 cat > conftest.$ac_ext <<EOF
4440 #line 4441 "configure" 4442 #line 4443 "configure"
4441 #include "confdefs.h" 4443 #include "confdefs.h"
4442 #ifdef TIME_WITH_SYS_TIME 4444 #ifdef TIME_WITH_SYS_TIME
4443 #include <sys/time.h> 4445 #include <sys/time.h>
4444 #include <time.h> 4446 #include <time.h>
4445 #else 4447 #else
4451 #endif 4453 #endif
4452 int main() { 4454 int main() {
4453 static struct timeval x; x.tv_sec = x.tv_usec; 4455 static struct timeval x; x.tv_sec = x.tv_usec;
4454 ; return 0; } 4456 ; return 0; }
4455 EOF 4457 EOF
4456 if { (eval echo configure:4457: \"$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
4457 rm -rf conftest* 4459 rm -rf conftest*
4458 echo "$ac_t""yes" 1>&6 4460 echo "$ac_t""yes" 1>&6
4459 HAVE_TIMEVAL=yes 4461 HAVE_TIMEVAL=yes
4460 { test "$extra_verbose" = "yes" && cat << \EOF 4462 { test "$extra_verbose" = "yes" && cat << \EOF
4461 Defining HAVE_TIMEVAL 4463 Defining HAVE_TIMEVAL
4473 HAVE_TIMEVAL=no 4475 HAVE_TIMEVAL=no
4474 fi 4476 fi
4475 rm -f conftest* 4477 rm -f conftest*
4476 4478
4477 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
4478 echo "configure:4479: 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
4479 4481
4480 cat > conftest.$ac_ext <<EOF 4482 cat > conftest.$ac_ext <<EOF
4481 #line 4482 "configure" 4483 #line 4484 "configure"
4482 #include "confdefs.h" 4484 #include "confdefs.h"
4483 #include <sys/types.h> 4485 #include <sys/types.h>
4484 #include <time.h> 4486 #include <time.h>
4485 int main() { 4487 int main() {
4486 struct tm *tp; tp->tm_sec; 4488 struct tm *tp; tp->tm_sec;
4487 ; return 0; } 4489 ; return 0; }
4488 EOF 4490 EOF
4489 if { (eval echo configure:4490: \"$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
4490 rm -rf conftest* 4492 rm -rf conftest*
4491 ac_cv_struct_tm=time.h 4493 ac_cv_struct_tm=time.h
4492 else 4494 else
4493 echo "configure: failed program was:" >&5 4495 echo "configure: failed program was:" >&5
4494 cat conftest.$ac_ext >&5 4496 cat conftest.$ac_ext >&5
4508 } 4510 }
4509 4511
4510 fi 4512 fi
4511 4513
4512 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
4513 echo "configure:4514: checking for tm_zone in struct tm" >&5 4515 echo "configure:4516: checking for tm_zone in struct tm" >&5
4514 4516
4515 cat > conftest.$ac_ext <<EOF 4517 cat > conftest.$ac_ext <<EOF
4516 #line 4517 "configure" 4518 #line 4519 "configure"
4517 #include "confdefs.h" 4519 #include "confdefs.h"
4518 #include <sys/types.h> 4520 #include <sys/types.h>
4519 #include <$ac_cv_struct_tm> 4521 #include <$ac_cv_struct_tm>
4520 int main() { 4522 int main() {
4521 struct tm tm; tm.tm_zone; 4523 struct tm tm; tm.tm_zone;
4522 ; return 0; } 4524 ; return 0; }
4523 EOF 4525 EOF
4524 if { (eval echo configure:4525: \"$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
4525 rm -rf conftest* 4527 rm -rf conftest*
4526 ac_cv_struct_tm_zone=yes 4528 ac_cv_struct_tm_zone=yes
4527 else 4529 else
4528 echo "configure: failed program was:" >&5 4530 echo "configure: failed program was:" >&5
4529 cat conftest.$ac_ext >&5 4531 cat conftest.$ac_ext >&5
4542 EOF 4544 EOF
4543 } 4545 }
4544 4546
4545 else 4547 else
4546 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4548 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4547 echo "configure:4548: checking for tzname" >&5 4549 echo "configure:4550: checking for tzname" >&5
4548 4550
4549 cat > conftest.$ac_ext <<EOF 4551 cat > conftest.$ac_ext <<EOF
4550 #line 4551 "configure" 4552 #line 4553 "configure"
4551 #include "confdefs.h" 4553 #include "confdefs.h"
4552 #include <time.h> 4554 #include <time.h>
4553 #ifndef tzname /* For SGI. */ 4555 #ifndef tzname /* For SGI. */
4554 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4556 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4555 #endif 4557 #endif
4556 int main() { 4558 int main() {
4557 atoi(*tzname); 4559 atoi(*tzname);
4558 ; return 0; } 4560 ; return 0; }
4559 EOF 4561 EOF
4560 if { (eval echo configure:4561: \"$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
4561 rm -rf conftest* 4563 rm -rf conftest*
4562 ac_cv_var_tzname=yes 4564 ac_cv_var_tzname=yes
4563 else 4565 else
4564 echo "configure: failed program was:" >&5 4566 echo "configure: failed program was:" >&5
4565 cat conftest.$ac_ext >&5 4567 cat conftest.$ac_ext >&5
4581 fi 4583 fi
4582 fi 4584 fi
4583 4585
4584 4586
4585 echo $ac_n "checking for working const""... $ac_c" 1>&6 4587 echo $ac_n "checking for working const""... $ac_c" 1>&6
4586 echo "configure:4587: checking for working const" >&5 4588 echo "configure:4589: checking for working const" >&5
4587 4589
4588 cat > conftest.$ac_ext <<EOF 4590 cat > conftest.$ac_ext <<EOF
4589 #line 4590 "configure" 4591 #line 4592 "configure"
4590 #include "confdefs.h" 4592 #include "confdefs.h"
4591 4593
4592 int main() { 4594 int main() {
4593 4595
4594 /* Ultrix mips cc rejects this. */ 4596 /* Ultrix mips cc rejects this. */
4633 const int foo = 10; 4635 const int foo = 10;
4634 } 4636 }
4635 4637
4636 ; return 0; } 4638 ; return 0; }
4637 EOF 4639 EOF
4638 if { (eval echo configure:4639: \"$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
4639 rm -rf conftest* 4641 rm -rf conftest*
4640 ac_cv_c_const=yes 4642 ac_cv_c_const=yes
4641 else 4643 else
4642 echo "configure: failed program was:" >&5 4644 echo "configure: failed program was:" >&5
4643 cat conftest.$ac_ext >&5 4645 cat conftest.$ac_ext >&5
4658 4660
4659 fi 4661 fi
4660 4662
4661 4663
4662 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
4663 echo "configure:4664: checking whether ${MAKE-make} sets \${MAKE}" >&5 4665 echo "configure:4666: checking whether ${MAKE-make} sets \${MAKE}" >&5
4664 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 4666 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
4665 4667
4666 cat > conftestmake <<\EOF 4668 cat > conftestmake <<\EOF
4667 all: 4669 all:
4668 @echo 'ac_maketemp="${MAKE}"' 4670 @echo 'ac_maketemp="${MAKE}"'
4683 SET_MAKE="MAKE=${MAKE-make}" 4685 SET_MAKE="MAKE=${MAKE-make}"
4684 fi 4686 fi
4685 4687
4686 4688
4687 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
4688 echo "configure:4689: checking whether byte ordering is bigendian" >&5 4690 echo "configure:4691: checking whether byte ordering is bigendian" >&5
4689 4691
4690 ac_cv_c_bigendian=unknown 4692 ac_cv_c_bigendian=unknown
4691 # See if sys/param.h defines the BYTE_ORDER macro. 4693 # See if sys/param.h defines the BYTE_ORDER macro.
4692 cat > conftest.$ac_ext <<EOF 4694 cat > conftest.$ac_ext <<EOF
4693 #line 4694 "configure" 4695 #line 4696 "configure"
4694 #include "confdefs.h" 4696 #include "confdefs.h"
4695 #include <sys/types.h> 4697 #include <sys/types.h>
4696 #include <sys/param.h> 4698 #include <sys/param.h>
4697 int main() { 4699 int main() {
4698 4700
4699 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 4701 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4700 bogus endian macros 4702 bogus endian macros
4701 #endif 4703 #endif
4702 ; return 0; } 4704 ; return 0; }
4703 EOF 4705 EOF
4704 if { (eval echo configure:4705: \"$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
4705 rm -rf conftest* 4707 rm -rf conftest*
4706 # 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.
4707 cat > conftest.$ac_ext <<EOF 4709 cat > conftest.$ac_ext <<EOF
4708 #line 4709 "configure" 4710 #line 4711 "configure"
4709 #include "confdefs.h" 4711 #include "confdefs.h"
4710 #include <sys/types.h> 4712 #include <sys/types.h>
4711 #include <sys/param.h> 4713 #include <sys/param.h>
4712 int main() { 4714 int main() {
4713 4715
4714 #if BYTE_ORDER != BIG_ENDIAN 4716 #if BYTE_ORDER != BIG_ENDIAN
4715 not big endian 4717 not big endian
4716 #endif 4718 #endif
4717 ; return 0; } 4719 ; return 0; }
4718 EOF 4720 EOF
4719 if { (eval echo configure:4720: \"$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
4720 rm -rf conftest* 4722 rm -rf conftest*
4721 ac_cv_c_bigendian=yes 4723 ac_cv_c_bigendian=yes
4722 else 4724 else
4723 echo "configure: failed program was:" >&5 4725 echo "configure: failed program was:" >&5
4724 cat conftest.$ac_ext >&5 4726 cat conftest.$ac_ext >&5
4731 cat conftest.$ac_ext >&5 4733 cat conftest.$ac_ext >&5
4732 fi 4734 fi
4733 rm -f conftest* 4735 rm -f conftest*
4734 if test $ac_cv_c_bigendian = unknown; then 4736 if test $ac_cv_c_bigendian = unknown; then
4735 cat > conftest.$ac_ext <<EOF 4737 cat > conftest.$ac_ext <<EOF
4736 #line 4737 "configure" 4738 #line 4739 "configure"
4737 #include "confdefs.h" 4739 #include "confdefs.h"
4738 main () { 4740 main () {
4739 /* Are we little or big endian? From Harbison&Steele. */ 4741 /* Are we little or big endian? From Harbison&Steele. */
4740 union 4742 union
4741 { 4743 {
4744 } u; 4746 } u;
4745 u.l = 1; 4747 u.l = 1;
4746 exit (u.c[sizeof (long) - 1] == 1); 4748 exit (u.c[sizeof (long) - 1] == 1);
4747 } 4749 }
4748 EOF 4750 EOF
4749 if { (eval echo configure:4750: \"$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
4750 then 4752 then
4751 ac_cv_c_bigendian=no 4753 ac_cv_c_bigendian=no
4752 else 4754 else
4753 conftest_rc="$?" 4755 conftest_rc="$?"
4754 echo "configure: failed program was:" >&5 4756 echo "configure: failed program was:" >&5
4771 4773
4772 fi 4774 fi
4773 4775
4774 4776
4775 echo $ac_n "checking size of short""... $ac_c" 1>&6 4777 echo $ac_n "checking size of short""... $ac_c" 1>&6
4776 echo "configure:4777: checking size of short" >&5 4778 echo "configure:4779: checking size of short" >&5
4777 4779
4778 cat > conftest.$ac_ext <<EOF 4780 cat > conftest.$ac_ext <<EOF
4779 #line 4780 "configure" 4781 #line 4782 "configure"
4780 #include "confdefs.h" 4782 #include "confdefs.h"
4781 #include <stdio.h> 4783 #include <stdio.h>
4782 int main() 4784 int main()
4783 { 4785 {
4784 FILE *f=fopen("conftestval", "w"); 4786 FILE *f=fopen("conftestval", "w");
4785 if (!f) return(1); 4787 if (!f) return(1);
4786 fprintf(f, "%d\n", sizeof(short)); 4788 fprintf(f, "%d\n", sizeof(short));
4787 return(0); 4789 return(0);
4788 } 4790 }
4789 EOF 4791 EOF
4790 if { (eval echo configure:4791: \"$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
4791 then 4793 then
4792 ac_cv_sizeof_short=`cat conftestval` 4794 ac_cv_sizeof_short=`cat conftestval`
4793 else 4795 else
4794 conftest_rc="$?" 4796 conftest_rc="$?"
4795 echo "configure: failed program was:" >&5 4797 echo "configure: failed program was:" >&5
4813 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4815 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4814 echo "*** PANIC *** Please examine config.log for compilation errors." 4816 echo "*** PANIC *** Please examine config.log for compilation errors."
4815 exit 1 4817 exit 1
4816 fi 4818 fi
4817 echo $ac_n "checking size of int""... $ac_c" 1>&6 4819 echo $ac_n "checking size of int""... $ac_c" 1>&6
4818 echo "configure:4819: checking size of int" >&5 4820 echo "configure:4821: checking size of int" >&5
4819 4821
4820 cat > conftest.$ac_ext <<EOF 4822 cat > conftest.$ac_ext <<EOF
4821 #line 4822 "configure" 4823 #line 4824 "configure"
4822 #include "confdefs.h" 4824 #include "confdefs.h"
4823 #include <stdio.h> 4825 #include <stdio.h>
4824 int main() 4826 int main()
4825 { 4827 {
4826 FILE *f=fopen("conftestval", "w"); 4828 FILE *f=fopen("conftestval", "w");
4827 if (!f) return(1); 4829 if (!f) return(1);
4828 fprintf(f, "%d\n", sizeof(int)); 4830 fprintf(f, "%d\n", sizeof(int));
4829 return(0); 4831 return(0);
4830 } 4832 }
4831 EOF 4833 EOF
4832 if { (eval echo configure:4833: \"$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
4833 then 4835 then
4834 ac_cv_sizeof_int=`cat conftestval` 4836 ac_cv_sizeof_int=`cat conftestval`
4835 else 4837 else
4836 conftest_rc="$?" 4838 conftest_rc="$?"
4837 echo "configure: failed program was:" >&5 4839 echo "configure: failed program was:" >&5
4849 EOF 4851 EOF
4850 } 4852 }
4851 4853
4852 4854
4853 echo $ac_n "checking size of long""... $ac_c" 1>&6 4855 echo $ac_n "checking size of long""... $ac_c" 1>&6
4854 echo "configure:4855: checking size of long" >&5 4856 echo "configure:4857: checking size of long" >&5
4855 4857
4856 cat > conftest.$ac_ext <<EOF 4858 cat > conftest.$ac_ext <<EOF
4857 #line 4858 "configure" 4859 #line 4860 "configure"
4858 #include "confdefs.h" 4860 #include "confdefs.h"
4859 #include <stdio.h> 4861 #include <stdio.h>
4860 int main() 4862 int main()
4861 { 4863 {
4862 FILE *f=fopen("conftestval", "w"); 4864 FILE *f=fopen("conftestval", "w");
4863 if (!f) return(1); 4865 if (!f) return(1);
4864 fprintf(f, "%d\n", sizeof(long)); 4866 fprintf(f, "%d\n", sizeof(long));
4865 return(0); 4867 return(0);
4866 } 4868 }
4867 EOF 4869 EOF
4868 if { (eval echo configure:4869: \"$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
4869 then 4871 then
4870 ac_cv_sizeof_long=`cat conftestval` 4872 ac_cv_sizeof_long=`cat conftestval`
4871 else 4873 else
4872 conftest_rc="$?" 4874 conftest_rc="$?"
4873 echo "configure: failed program was:" >&5 4875 echo "configure: failed program was:" >&5
4885 EOF 4887 EOF
4886 } 4888 }
4887 4889
4888 4890
4889 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
4890 echo "configure:4891: checking size of long long" >&5 4892 echo "configure:4893: checking size of long long" >&5
4891 4893
4892 cat > conftest.$ac_ext <<EOF 4894 cat > conftest.$ac_ext <<EOF
4893 #line 4894 "configure" 4895 #line 4896 "configure"
4894 #include "confdefs.h" 4896 #include "confdefs.h"
4895 #include <stdio.h> 4897 #include <stdio.h>
4896 int main() 4898 int main()
4897 { 4899 {
4898 FILE *f=fopen("conftestval", "w"); 4900 FILE *f=fopen("conftestval", "w");
4899 if (!f) return(1); 4901 if (!f) return(1);
4900 fprintf(f, "%d\n", sizeof(long long)); 4902 fprintf(f, "%d\n", sizeof(long long));
4901 return(0); 4903 return(0);
4902 } 4904 }
4903 EOF 4905 EOF
4904 if { (eval echo configure:4905: \"$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
4905 then 4907 then
4906 ac_cv_sizeof_long_long=`cat conftestval` 4908 ac_cv_sizeof_long_long=`cat conftestval`
4907 else 4909 else
4908 conftest_rc="$?" 4910 conftest_rc="$?"
4909 echo "configure: failed program was:" >&5 4911 echo "configure: failed program was:" >&5
4921 EOF 4923 EOF
4922 } 4924 }
4923 4925
4924 4926
4925 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4927 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4926 echo "configure:4927: checking size of void *" >&5 4928 echo "configure:4929: checking size of void *" >&5
4927 4929
4928 cat > conftest.$ac_ext <<EOF 4930 cat > conftest.$ac_ext <<EOF
4929 #line 4930 "configure" 4931 #line 4932 "configure"
4930 #include "confdefs.h" 4932 #include "confdefs.h"
4931 #include <stdio.h> 4933 #include <stdio.h>
4932 int main() 4934 int main()
4933 { 4935 {
4934 FILE *f=fopen("conftestval", "w"); 4936 FILE *f=fopen("conftestval", "w");
4935 if (!f) return(1); 4937 if (!f) return(1);
4936 fprintf(f, "%d\n", sizeof(void *)); 4938 fprintf(f, "%d\n", sizeof(void *));
4937 return(0); 4939 return(0);
4938 } 4940 }
4939 EOF 4941 EOF
4940 if { (eval echo configure:4941: \"$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
4941 then 4943 then
4942 ac_cv_sizeof_void_p=`cat conftestval` 4944 ac_cv_sizeof_void_p=`cat conftestval`
4943 else 4945 else
4944 conftest_rc="$?" 4946 conftest_rc="$?"
4945 echo "configure: failed program was:" >&5 4947 echo "configure: failed program was:" >&5
4957 EOF 4959 EOF
4958 } 4960 }
4959 4961
4960 4962
4961 echo $ac_n "checking size of double""... $ac_c" 1>&6 4963 echo $ac_n "checking size of double""... $ac_c" 1>&6
4962 echo "configure:4963: checking size of double" >&5 4964 echo "configure:4965: checking size of double" >&5
4963 4965
4964 cat > conftest.$ac_ext <<EOF 4966 cat > conftest.$ac_ext <<EOF
4965 #line 4966 "configure" 4967 #line 4968 "configure"
4966 #include "confdefs.h" 4968 #include "confdefs.h"
4967 #include <stdio.h> 4969 #include <stdio.h>
4968 int main() 4970 int main()
4969 { 4971 {
4970 FILE *f=fopen("conftestval", "w"); 4972 FILE *f=fopen("conftestval", "w");
4971 if (!f) return(1); 4973 if (!f) return(1);
4972 fprintf(f, "%d\n", sizeof(double)); 4974 fprintf(f, "%d\n", sizeof(double));
4973 return(0); 4975 return(0);
4974 } 4976 }
4975 EOF 4977 EOF
4976 if { (eval echo configure:4977: \"$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
4977 then 4979 then
4978 ac_cv_sizeof_double=`cat conftestval` 4980 ac_cv_sizeof_double=`cat conftestval`
4979 else 4981 else
4980 conftest_rc="$?" 4982 conftest_rc="$?"
4981 echo "configure: failed program was:" >&5 4983 echo "configure: failed program was:" >&5
4994 } 4996 }
4995 4997
4996 4998
4997 4999
4998 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
4999 echo "configure:5000: checking for long file names" >&5 5001 echo "configure:5002: checking for long file names" >&5
5000 5002
5001 ac_cv_sys_long_file_names=yes 5003 ac_cv_sys_long_file_names=yes
5002 # 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:
5003 # . the current directory, where building will happen 5005 # . the current directory, where building will happen
5004 # $prefix/lib where we will be installing things 5006 # $prefix/lib where we will be installing things
5040 5042
5041 fi 5043 fi
5042 5044
5043 5045
5044 echo $ac_n "checking for sin""... $ac_c" 1>&6 5046 echo $ac_n "checking for sin""... $ac_c" 1>&6
5045 echo "configure:5046: checking for sin" >&5 5047 echo "configure:5048: checking for sin" >&5
5046 5048
5047 cat > conftest.$ac_ext <<EOF 5049 cat > conftest.$ac_ext <<EOF
5048 #line 5049 "configure" 5050 #line 5051 "configure"
5049 #include "confdefs.h" 5051 #include "confdefs.h"
5050 /* System header to define __stub macros and hopefully few prototypes, 5052 /* System header to define __stub macros and hopefully few prototypes,
5051 which can conflict with char sin(); below. */ 5053 which can conflict with char sin(); below. */
5052 #include <assert.h> 5054 #include <assert.h>
5053 /* Override any gcc2 internal prototype to avoid an error. */ 5055 /* Override any gcc2 internal prototype to avoid an error. */
5066 sin(); 5068 sin();
5067 #endif 5069 #endif
5068 5070
5069 ; return 0; } 5071 ; return 0; }
5070 EOF 5072 EOF
5071 if { (eval echo configure:5072: \"$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
5072 rm -rf conftest* 5074 rm -rf conftest*
5073 eval "ac_cv_func_sin=yes" 5075 eval "ac_cv_func_sin=yes"
5074 else 5076 else
5075 echo "configure: failed program was:" >&5 5077 echo "configure: failed program was:" >&5
5076 cat conftest.$ac_ext >&5 5078 cat conftest.$ac_ext >&5
5084 : 5086 :
5085 else 5087 else
5086 echo "$ac_t""no" 1>&6 5088 echo "$ac_t""no" 1>&6
5087 5089
5088 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
5089 echo "configure:5090: checking for sin in -lm" >&5 5091 echo "configure:5092: checking for sin in -lm" >&5
5090 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5092 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5091 5093
5092 xe_check_libs=" -lm " 5094 xe_check_libs=" -lm "
5093 cat > conftest.$ac_ext <<EOF 5095 cat > conftest.$ac_ext <<EOF
5094 #line 5095 "configure" 5096 #line 5097 "configure"
5095 #include "confdefs.h" 5097 #include "confdefs.h"
5096 /* Override any gcc2 internal prototype to avoid an error. */ 5098 /* Override any gcc2 internal prototype to avoid an error. */
5097 /* 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
5098 builtin and then its argument prototype would still apply. */ 5100 builtin and then its argument prototype would still apply. */
5099 char sin(); 5101 char sin();
5100 5102
5101 int main() { 5103 int main() {
5102 sin() 5104 sin()
5103 ; return 0; } 5105 ; return 0; }
5104 EOF 5106 EOF
5105 if { (eval echo configure:5106: \"$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
5106 rm -rf conftest* 5108 rm -rf conftest*
5107 eval "ac_cv_lib_$ac_lib_var=yes" 5109 eval "ac_cv_lib_$ac_lib_var=yes"
5108 else 5110 else
5109 echo "configure: failed program was:" >&5 5111 echo "configure: failed program was:" >&5
5110 cat conftest.$ac_ext >&5 5112 cat conftest.$ac_ext >&5
5135 5137
5136 fi 5138 fi
5137 5139
5138 5140
5139 cat > conftest.$ac_ext <<EOF 5141 cat > conftest.$ac_ext <<EOF
5140 #line 5141 "configure" 5142 #line 5143 "configure"
5141 #include "confdefs.h" 5143 #include "confdefs.h"
5142 #include <math.h> 5144 #include <math.h>
5143 int main() { 5145 int main() {
5144 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5146 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5145 ; return 0; } 5147 ; return 0; }
5146 EOF 5148 EOF
5147 if { (eval echo configure:5148: \"$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
5148 rm -rf conftest* 5150 rm -rf conftest*
5149 { test "$extra_verbose" = "yes" && cat << \EOF 5151 { test "$extra_verbose" = "yes" && cat << \EOF
5150 Defining HAVE_INVERSE_HYPERBOLIC 5152 Defining HAVE_INVERSE_HYPERBOLIC
5151 EOF 5153 EOF
5152 cat >> confdefs.h <<\EOF 5154 cat >> confdefs.h <<\EOF
5161 rm -f conftest* 5163 rm -f conftest*
5162 5164
5163 for ac_func in mkstemp 5165 for ac_func in mkstemp
5164 do 5166 do
5165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5166 echo "configure:5167: checking for $ac_func" >&5 5168 echo "configure:5169: checking for $ac_func" >&5
5167 5169
5168 cat > conftest.$ac_ext <<EOF 5170 cat > conftest.$ac_ext <<EOF
5169 #line 5170 "configure" 5171 #line 5172 "configure"
5170 #include "confdefs.h" 5172 #include "confdefs.h"
5171 /* System header to define __stub macros and hopefully few prototypes, 5173 /* System header to define __stub macros and hopefully few prototypes,
5172 which can conflict with char $ac_func(); below. */ 5174 which can conflict with char $ac_func(); below. */
5173 #include <assert.h> 5175 #include <assert.h>
5174 /* Override any gcc2 internal prototype to avoid an error. */ 5176 /* Override any gcc2 internal prototype to avoid an error. */
5187 $ac_func(); 5189 $ac_func();
5188 #endif 5190 #endif
5189 5191
5190 ; return 0; } 5192 ; return 0; }
5191 EOF 5193 EOF
5192 if { (eval echo configure:5193: \"$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
5193 rm -rf conftest* 5195 rm -rf conftest*
5194 eval "ac_cv_func_$ac_func=yes" 5196 eval "ac_cv_func_$ac_func=yes"
5195 else 5197 else
5196 echo "configure: failed program was:" >&5 5198 echo "configure: failed program was:" >&5
5197 cat conftest.$ac_ext >&5 5199 cat conftest.$ac_ext >&5
5216 fi 5218 fi
5217 done 5219 done
5218 5220
5219 5221
5220 echo "checking type of mail spool file locking" 1>&6 5222 echo "checking type of mail spool file locking" 1>&6
5221 echo "configure:5222: checking type of mail spool file locking" >&5 5223 echo "configure:5224: checking type of mail spool file locking" >&5
5222 for ac_func in lockf flock 5224 for ac_func in lockf flock
5223 do 5225 do
5224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5225 echo "configure:5226: checking for $ac_func" >&5 5227 echo "configure:5228: checking for $ac_func" >&5
5226 5228
5227 cat > conftest.$ac_ext <<EOF 5229 cat > conftest.$ac_ext <<EOF
5228 #line 5229 "configure" 5230 #line 5231 "configure"
5229 #include "confdefs.h" 5231 #include "confdefs.h"
5230 /* System header to define __stub macros and hopefully few prototypes, 5232 /* System header to define __stub macros and hopefully few prototypes,
5231 which can conflict with char $ac_func(); below. */ 5233 which can conflict with char $ac_func(); below. */
5232 #include <assert.h> 5234 #include <assert.h>
5233 /* Override any gcc2 internal prototype to avoid an error. */ 5235 /* Override any gcc2 internal prototype to avoid an error. */
5246 $ac_func(); 5248 $ac_func();
5247 #endif 5249 #endif
5248 5250
5249 ; return 0; } 5251 ; return 0; }
5250 EOF 5252 EOF
5251 if { (eval echo configure:5252: \"$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
5252 rm -rf conftest* 5254 rm -rf conftest*
5253 eval "ac_cv_func_$ac_func=yes" 5255 eval "ac_cv_func_$ac_func=yes"
5254 else 5256 else
5255 echo "configure: failed program was:" >&5 5257 echo "configure: failed program was:" >&5
5256 cat conftest.$ac_ext >&5 5258 cat conftest.$ac_ext >&5
5328 { 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; }
5329 5331
5330 case "$opsys" in decosf*) 5332 case "$opsys" in decosf*)
5331 5333
5332 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
5333 echo "configure:5334: checking for cma_open in -lpthreads" >&5 5335 echo "configure:5336: checking for cma_open in -lpthreads" >&5
5334 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5336 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5335 5337
5336 xe_check_libs=" -lpthreads " 5338 xe_check_libs=" -lpthreads "
5337 cat > conftest.$ac_ext <<EOF 5339 cat > conftest.$ac_ext <<EOF
5338 #line 5339 "configure" 5340 #line 5341 "configure"
5339 #include "confdefs.h" 5341 #include "confdefs.h"
5340 /* Override any gcc2 internal prototype to avoid an error. */ 5342 /* Override any gcc2 internal prototype to avoid an error. */
5341 /* 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
5342 builtin and then its argument prototype would still apply. */ 5344 builtin and then its argument prototype would still apply. */
5343 char cma_open(); 5345 char cma_open();
5344 5346
5345 int main() { 5347 int main() {
5346 cma_open() 5348 cma_open()
5347 ; return 0; } 5349 ; return 0; }
5348 EOF 5350 EOF
5349 if { (eval echo configure:5350: \"$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
5350 rm -rf conftest* 5352 rm -rf conftest*
5351 eval "ac_cv_lib_$ac_lib_var=yes" 5353 eval "ac_cv_lib_$ac_lib_var=yes"
5352 else 5354 else
5353 echo "configure: failed program was:" >&5 5355 echo "configure: failed program was:" >&5
5354 cat conftest.$ac_ext >&5 5356 cat conftest.$ac_ext >&5
5381 c_switch_site="$c_switch_site -threads" ;; 5383 c_switch_site="$c_switch_site -threads" ;;
5382 esac 5384 esac
5383 5385
5384 5386
5385 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
5386 echo "configure:5387: checking whether the -xildoff compiler flag is required" >&5 5388 echo "configure:5389: checking whether the -xildoff compiler flag is required" >&5
5387 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
5388 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 ;
5389 then echo "$ac_t""no" 1>&6; 5391 then echo "$ac_t""no" 1>&6;
5390 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
5391 fi 5393 fi
5393 fi 5395 fi
5394 5396
5395 if test "$opsys" = "sol2"; then 5397 if test "$opsys" = "sol2"; then
5396 if test "$os_release" -ge 506; then 5398 if test "$os_release" -ge 506; then
5397 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
5398 echo "configure:5399: checking for \"-z ignore\" linker flag" >&5 5400 echo "configure:5401: checking for \"-z ignore\" linker flag" >&5
5399 case "`ld -h 2>&1`" in 5401 case "`ld -h 2>&1`" in
5400 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5402 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5401 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 ;;
5402 *) echo "$ac_t""no" 1>&6 ;; 5404 *) echo "$ac_t""no" 1>&6 ;;
5403 esac 5405 esac
5404 fi 5406 fi
5405 fi 5407 fi
5406 5408
5407 5409
5408 echo "checking "for specified window system"" 1>&6 5410 echo "checking "for specified window system"" 1>&6
5409 echo "configure:5410: checking "for specified window system"" >&5 5411 echo "configure:5412: checking "for specified window system"" >&5
5410 5412
5411 5413
5412 GNOME_CONFIG=no 5414 GNOME_CONFIG=no
5413 GTK_CONFIG=no 5415 GTK_CONFIG=no
5414 5416
5415 if test "$with_gnome" != "no"; then 5417 if test "$with_gnome" != "no"; then
5416 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
5417 echo "configure:5418: checking for GNOME configuration script" >&5 5419 echo "configure:5420: checking for GNOME configuration script" >&5
5418 for possible in gnome-config 5420 for possible in gnome-config
5419 do 5421 do
5420 possible_version=`${possible} --version 2> /dev/null` 5422 possible_version=`${possible} --version 2> /dev/null`
5421 if test "x${possible_version}" != "x"; then 5423 if test "x${possible_version}" != "x"; then
5422 GNOME_CONFIG="${possible}" 5424 GNOME_CONFIG="${possible}"
5443 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
5444 fi 5446 fi
5445 5447
5446 if test "$with_gtk" != "no";then 5448 if test "$with_gtk" != "no";then
5447 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
5448 echo "configure:5449: checking for GTK configuration script" >&5 5450 echo "configure:5451: checking for GTK configuration script" >&5
5449 for possible in gtk12-config gtk14-config gtk-config 5451 for possible in gtk12-config gtk14-config gtk-config
5450 do 5452 do
5451 possible_version=`${possible} --version 2> /dev/null` 5453 possible_version=`${possible} --version 2> /dev/null`
5452 if test "x${possible_version}" != "x"; then 5454 if test "x${possible_version}" != "x"; then
5453 GTK_CONFIG="${possible}" 5455 GTK_CONFIG="${possible}"
5465 echo "$ac_t""${GTK_CONFIG}" 1>&6 5467 echo "$ac_t""${GTK_CONFIG}" 1>&6
5466 fi 5468 fi
5467 5469
5468 if test "${GTK_CONFIG}" != "no"; then 5470 if test "${GTK_CONFIG}" != "no"; then
5469 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5471 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5470 echo "configure:5471: checking gtk version" >&5 5472 echo "configure:5473: checking gtk version" >&5
5471 GTK_VERSION=`${GTK_CONFIG} --version` 5473 GTK_VERSION=`${GTK_CONFIG} --version`
5472 echo "$ac_t""${GTK_VERSION}" 1>&6 5474 echo "$ac_t""${GTK_VERSION}" 1>&6
5473 5475
5474 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5476 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5475 echo "configure:5476: checking gtk libs" >&5 5477 echo "configure:5478: checking gtk libs" >&5
5476 GTK_LIBS=`${GTK_CONFIG} --libs` 5478 GTK_LIBS=`${GTK_CONFIG} --libs`
5477 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
5478 echo "$ac_t""${GTK_LIBS}" 1>&6 5480 echo "$ac_t""${GTK_LIBS}" 1>&6
5479 5481
5480 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5482 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5481 echo "configure:5482: checking gtk cflags" >&5 5483 echo "configure:5484: checking gtk cflags" >&5
5482 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5484 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5483 if test "$GCC" = "yes"; then 5485 if test "$GCC" = "yes"; then
5484 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5486 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5485 fi 5487 fi
5486 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
5487 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5489 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5488 5490
5489 5491
5490 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
5491 echo "configure:5492: checking for main in -lgdk_imlib" >&5 5493 echo "configure:5494: checking for main in -lgdk_imlib" >&5
5492 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5494 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5493 5495
5494 xe_check_libs=" -lgdk_imlib " 5496 xe_check_libs=" -lgdk_imlib "
5495 cat > conftest.$ac_ext <<EOF 5497 cat > conftest.$ac_ext <<EOF
5496 #line 5497 "configure" 5498 #line 5499 "configure"
5497 #include "confdefs.h" 5499 #include "confdefs.h"
5498 5500
5499 int main() { 5501 int main() {
5500 main() 5502 main()
5501 ; return 0; } 5503 ; return 0; }
5502 EOF 5504 EOF
5503 if { (eval echo configure:5504: \"$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
5504 rm -rf conftest* 5506 rm -rf conftest*
5505 eval "ac_cv_lib_$ac_lib_var=yes" 5507 eval "ac_cv_lib_$ac_lib_var=yes"
5506 else 5508 else
5507 echo "configure: failed program was:" >&5 5509 echo "configure: failed program was:" >&5
5508 cat conftest.$ac_ext >&5 5510 cat conftest.$ac_ext >&5
5520 fi 5522 fi
5521 5523
5522 5524
5523 5525
5524 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
5525 echo "configure:5526: checking for Imlib_init in -lImlib" >&5 5527 echo "configure:5528: checking for Imlib_init in -lImlib" >&5
5526 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5528 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5527 5529
5528 xe_check_libs=" -lImlib " 5530 xe_check_libs=" -lImlib "
5529 cat > conftest.$ac_ext <<EOF 5531 cat > conftest.$ac_ext <<EOF
5530 #line 5531 "configure" 5532 #line 5533 "configure"
5531 #include "confdefs.h" 5533 #include "confdefs.h"
5532 /* Override any gcc2 internal prototype to avoid an error. */ 5534 /* Override any gcc2 internal prototype to avoid an error. */
5533 /* 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
5534 builtin and then its argument prototype would still apply. */ 5536 builtin and then its argument prototype would still apply. */
5535 char Imlib_init(); 5537 char Imlib_init();
5536 5538
5537 int main() { 5539 int main() {
5538 Imlib_init() 5540 Imlib_init()
5539 ; return 0; } 5541 ; return 0; }
5540 EOF 5542 EOF
5541 if { (eval echo configure:5542: \"$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
5542 rm -rf conftest* 5544 rm -rf conftest*
5543 eval "ac_cv_lib_$ac_lib_var=yes" 5545 eval "ac_cv_lib_$ac_lib_var=yes"
5544 else 5546 else
5545 echo "configure: failed program was:" >&5 5547 echo "configure: failed program was:" >&5
5546 cat conftest.$ac_ext >&5 5548 cat conftest.$ac_ext >&5
5559 5561
5560 5562
5561 for ac_func in gdk_imlib_init 5563 for ac_func in gdk_imlib_init
5562 do 5564 do
5563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5564 echo "configure:5565: checking for $ac_func" >&5 5566 echo "configure:5567: checking for $ac_func" >&5
5565 5567
5566 cat > conftest.$ac_ext <<EOF 5568 cat > conftest.$ac_ext <<EOF
5567 #line 5568 "configure" 5569 #line 5570 "configure"
5568 #include "confdefs.h" 5570 #include "confdefs.h"
5569 /* System header to define __stub macros and hopefully few prototypes, 5571 /* System header to define __stub macros and hopefully few prototypes,
5570 which can conflict with char $ac_func(); below. */ 5572 which can conflict with char $ac_func(); below. */
5571 #include <assert.h> 5573 #include <assert.h>
5572 /* Override any gcc2 internal prototype to avoid an error. */ 5574 /* Override any gcc2 internal prototype to avoid an error. */
5585 $ac_func(); 5587 $ac_func();
5586 #endif 5588 #endif
5587 5589
5588 ; return 0; } 5590 ; return 0; }
5589 EOF 5591 EOF
5590 if { (eval echo configure:5591: \"$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
5591 rm -rf conftest* 5593 rm -rf conftest*
5592 eval "ac_cv_func_$ac_func=yes" 5594 eval "ac_cv_func_$ac_func=yes"
5593 else 5595 else
5594 echo "configure: failed program was:" >&5 5596 echo "configure: failed program was:" >&5
5595 cat conftest.$ac_ext >&5 5597 cat conftest.$ac_ext >&5
5669 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5671 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5670 for ac_hdr in glade/glade.h glade.h 5672 for ac_hdr in glade/glade.h glade.h
5671 do 5673 do
5672 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5673 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5674 echo "configure:5675: checking for $ac_hdr" >&5 5676 echo "configure:5677: checking for $ac_hdr" >&5
5675 5677
5676 cat > conftest.$ac_ext <<EOF 5678 cat > conftest.$ac_ext <<EOF
5677 #line 5678 "configure" 5679 #line 5680 "configure"
5678 #include "confdefs.h" 5680 #include "confdefs.h"
5679 #include <$ac_hdr> 5681 #include <$ac_hdr>
5680 EOF 5682 EOF
5681 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"
5682 { (eval echo configure:5683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5684 { (eval echo configure:5685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5684 if test -z "$ac_err"; then 5686 if test -z "$ac_err"; then
5685 rm -rf conftest* 5687 rm -rf conftest*
5686 eval "ac_cv_header_$ac_safe=yes" 5688 eval "ac_cv_header_$ac_safe=yes"
5687 else 5689 else
5708 fi 5710 fi
5709 done 5711 done
5710 5712
5711 5713
5712 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
5713 echo "configure:5714: checking for main in -lxml" >&5 5715 echo "configure:5716: checking for main in -lxml" >&5
5714 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5716 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5715 5717
5716 xe_check_libs=" -lxml " 5718 xe_check_libs=" -lxml "
5717 cat > conftest.$ac_ext <<EOF 5719 cat > conftest.$ac_ext <<EOF
5718 #line 5719 "configure" 5720 #line 5721 "configure"
5719 #include "confdefs.h" 5721 #include "confdefs.h"
5720 5722
5721 int main() { 5723 int main() {
5722 main() 5724 main()
5723 ; return 0; } 5725 ; return 0; }
5724 EOF 5726 EOF
5725 if { (eval echo configure:5726: \"$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
5726 rm -rf conftest* 5728 rm -rf conftest*
5727 eval "ac_cv_lib_$ac_lib_var=yes" 5729 eval "ac_cv_lib_$ac_lib_var=yes"
5728 else 5730 else
5729 echo "configure: failed program was:" >&5 5731 echo "configure: failed program was:" >&5
5730 cat conftest.$ac_ext >&5 5732 cat conftest.$ac_ext >&5
5742 fi 5744 fi
5743 5745
5744 5746
5745 5747
5746 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
5747 echo "configure:5748: checking for main in -lglade" >&5 5749 echo "configure:5750: checking for main in -lglade" >&5
5748 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5750 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5749 5751
5750 xe_check_libs=" -lglade " 5752 xe_check_libs=" -lglade "
5751 cat > conftest.$ac_ext <<EOF 5753 cat > conftest.$ac_ext <<EOF
5752 #line 5753 "configure" 5754 #line 5755 "configure"
5753 #include "confdefs.h" 5755 #include "confdefs.h"
5754 5756
5755 int main() { 5757 int main() {
5756 main() 5758 main()
5757 ; return 0; } 5759 ; return 0; }
5758 EOF 5760 EOF
5759 if { (eval echo configure:5760: \"$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
5760 rm -rf conftest* 5762 rm -rf conftest*
5761 eval "ac_cv_lib_$ac_lib_var=yes" 5763 eval "ac_cv_lib_$ac_lib_var=yes"
5762 else 5764 else
5763 echo "configure: failed program was:" >&5 5765 echo "configure: failed program was:" >&5
5764 cat conftest.$ac_ext >&5 5766 cat conftest.$ac_ext >&5
5776 fi 5778 fi
5777 5779
5778 5780
5779 5781
5780 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
5781 echo "configure:5782: checking for main in -lglade-gnome" >&5 5783 echo "configure:5784: checking for main in -lglade-gnome" >&5
5782 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5784 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5783 5785
5784 xe_check_libs=" -lglade-gnome " 5786 xe_check_libs=" -lglade-gnome "
5785 cat > conftest.$ac_ext <<EOF 5787 cat > conftest.$ac_ext <<EOF
5786 #line 5787 "configure" 5788 #line 5789 "configure"
5787 #include "confdefs.h" 5789 #include "confdefs.h"
5788 5790
5789 int main() { 5791 int main() {
5790 main() 5792 main()
5791 ; return 0; } 5793 ; return 0; }
5792 EOF 5794 EOF
5793 if { (eval echo configure:5794: \"$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
5794 rm -rf conftest* 5796 rm -rf conftest*
5795 eval "ac_cv_lib_$ac_lib_var=yes" 5797 eval "ac_cv_lib_$ac_lib_var=yes"
5796 else 5798 else
5797 echo "configure: failed program was:" >&5 5799 echo "configure: failed program was:" >&5
5798 cat conftest.$ac_ext >&5 5800 cat conftest.$ac_ext >&5
5809 echo "$ac_t""no" 1>&6 5811 echo "$ac_t""no" 1>&6
5810 fi 5812 fi
5811 5813
5812 5814
5813 cat > conftest.$ac_ext <<EOF 5815 cat > conftest.$ac_ext <<EOF
5814 #line 5815 "configure" 5816 #line 5817 "configure"
5815 #include "confdefs.h" 5817 #include "confdefs.h"
5816 #include <glade/glade-xml.h> 5818 #include <glade/glade-xml.h>
5817 EOF 5819 EOF
5818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5819 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5821 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5868 # 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
5869 # paths, otherwise set no_x=yes. 5871 # paths, otherwise set no_x=yes.
5870 # 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.
5871 # --without-x overrides everything else, but does not touch the cache. 5873 # --without-x overrides everything else, but does not touch the cache.
5872 echo $ac_n "checking for X""... $ac_c" 1>&6 5874 echo $ac_n "checking for X""... $ac_c" 1>&6
5873 echo "configure:5874: checking for X" >&5 5875 echo "configure:5876: checking for X" >&5
5874 5876
5875 # Check whether --with-x or --without-x was given. 5877 # Check whether --with-x or --without-x was given.
5876 if test "${with_x+set}" = set; then 5878 if test "${with_x+set}" = set; then
5877 withval="$with_x" 5879 withval="$with_x"
5878 : 5880 :
5928 # 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.
5929 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
5930 5932
5931 # First, try using that file with no special directory specified. 5933 # First, try using that file with no special directory specified.
5932 cat > conftest.$ac_ext <<EOF 5934 cat > conftest.$ac_ext <<EOF
5933 #line 5934 "configure" 5935 #line 5936 "configure"
5934 #include "confdefs.h" 5936 #include "confdefs.h"
5935 #include <$x_direct_test_include> 5937 #include <$x_direct_test_include>
5936 EOF 5938 EOF
5937 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"
5938 { (eval echo configure:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5940 { (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5940 if test -z "$ac_err"; then 5942 if test -z "$ac_err"; then
5941 rm -rf conftest* 5943 rm -rf conftest*
5942 # We can compile using X headers with no special include directory. 5944 # We can compile using X headers with no special include directory.
5943 ac_x_includes= 5945 ac_x_includes=
6002 # See if we find them without any special options. 6004 # See if we find them without any special options.
6003 # Don't add to $LIBS permanently. 6005 # Don't add to $LIBS permanently.
6004 ac_save_LIBS="$LIBS" 6006 ac_save_LIBS="$LIBS"
6005 LIBS="-l$x_direct_test_library $LIBS" 6007 LIBS="-l$x_direct_test_library $LIBS"
6006 cat > conftest.$ac_ext <<EOF 6008 cat > conftest.$ac_ext <<EOF
6007 #line 6008 "configure" 6009 #line 6010 "configure"
6008 #include "confdefs.h" 6010 #include "confdefs.h"
6009 6011
6010 int main() { 6012 int main() {
6011 ${x_direct_test_function}() 6013 ${x_direct_test_function}()
6012 ; return 0; } 6014 ; return 0; }
6013 EOF 6015 EOF
6014 if { (eval echo configure:6015: \"$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
6015 rm -rf conftest* 6017 rm -rf conftest*
6016 LIBS="$ac_save_LIBS" 6018 LIBS="$ac_save_LIBS"
6017 # We can link X programs with no special library path. 6019 # We can link X programs with no special library path.
6018 ac_x_libraries= 6020 ac_x_libraries=
6019 else 6021 else
6118 # 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
6119 # others require no space. Words are not sufficient . . . . 6121 # others require no space. Words are not sufficient . . . .
6120 case "`(uname -sr) 2>/dev/null`" in 6122 case "`(uname -sr) 2>/dev/null`" in
6121 "SunOS 5"*) 6123 "SunOS 5"*)
6122 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
6123 echo "configure:6124: checking whether -R must be followed by a space" >&5 6125 echo "configure:6126: checking whether -R must be followed by a space" >&5
6124 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6125 cat > conftest.$ac_ext <<EOF 6127 cat > conftest.$ac_ext <<EOF
6126 #line 6127 "configure" 6128 #line 6129 "configure"
6127 #include "confdefs.h" 6129 #include "confdefs.h"
6128 6130
6129 int main() { 6131 int main() {
6130 6132
6131 ; return 0; } 6133 ; return 0; }
6132 EOF 6134 EOF
6133 if { (eval echo configure:6134: \"$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
6134 rm -rf conftest* 6136 rm -rf conftest*
6135 ac_R_nospace=yes 6137 ac_R_nospace=yes
6136 else 6138 else
6137 echo "configure: failed program was:" >&5 6139 echo "configure: failed program was:" >&5
6138 cat conftest.$ac_ext >&5 6140 cat conftest.$ac_ext >&5
6144 echo "$ac_t""no" 1>&6 6146 echo "$ac_t""no" 1>&6
6145 X_LIBS="$X_LIBS -R$x_libraries" 6147 X_LIBS="$X_LIBS -R$x_libraries"
6146 else 6148 else
6147 LIBS="$ac_xsave_LIBS -R $x_libraries" 6149 LIBS="$ac_xsave_LIBS -R $x_libraries"
6148 cat > conftest.$ac_ext <<EOF 6150 cat > conftest.$ac_ext <<EOF
6149 #line 6150 "configure" 6151 #line 6152 "configure"
6150 #include "confdefs.h" 6152 #include "confdefs.h"
6151 6153
6152 int main() { 6154 int main() {
6153 6155
6154 ; return 0; } 6156 ; return 0; }
6155 EOF 6157 EOF
6156 if { (eval echo configure:6157: \"$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
6157 rm -rf conftest* 6159 rm -rf conftest*
6158 ac_R_space=yes 6160 ac_R_space=yes
6159 else 6161 else
6160 echo "configure: failed program was:" >&5 6162 echo "configure: failed program was:" >&5
6161 cat conftest.$ac_ext >&5 6163 cat conftest.$ac_ext >&5
6187 if test "$with_dnet" = "no" ; then 6189 if test "$with_dnet" = "no" ; then
6188 ac_cv_lib_dnet_dnet_ntoa=no 6190 ac_cv_lib_dnet_dnet_ntoa=no
6189 else 6191 else
6190 6192
6191 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
6192 echo "configure:6193: checking for dnet_ntoa in -ldnet" >&5 6194 echo "configure:6195: checking for dnet_ntoa in -ldnet" >&5
6193 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6195 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6194 6196
6195 xe_check_libs=" -ldnet " 6197 xe_check_libs=" -ldnet "
6196 cat > conftest.$ac_ext <<EOF 6198 cat > conftest.$ac_ext <<EOF
6197 #line 6198 "configure" 6199 #line 6200 "configure"
6198 #include "confdefs.h" 6200 #include "confdefs.h"
6199 /* Override any gcc2 internal prototype to avoid an error. */ 6201 /* Override any gcc2 internal prototype to avoid an error. */
6200 /* 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
6201 builtin and then its argument prototype would still apply. */ 6203 builtin and then its argument prototype would still apply. */
6202 char dnet_ntoa(); 6204 char dnet_ntoa();
6203 6205
6204 int main() { 6206 int main() {
6205 dnet_ntoa() 6207 dnet_ntoa()
6206 ; return 0; } 6208 ; return 0; }
6207 EOF 6209 EOF
6208 if { (eval echo configure:6209: \"$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
6209 rm -rf conftest* 6211 rm -rf conftest*
6210 eval "ac_cv_lib_$ac_lib_var=yes" 6212 eval "ac_cv_lib_$ac_lib_var=yes"
6211 else 6213 else
6212 echo "configure: failed program was:" >&5 6214 echo "configure: failed program was:" >&5
6213 cat conftest.$ac_ext >&5 6215 cat conftest.$ac_ext >&5
6227 fi 6229 fi
6228 6230
6229 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6231 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6230 6232
6231 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
6232 echo "configure:6233: checking for dnet_ntoa in -ldnet_stub" >&5 6234 echo "configure:6235: checking for dnet_ntoa in -ldnet_stub" >&5
6233 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6235 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6234 6236
6235 xe_check_libs=" -ldnet_stub " 6237 xe_check_libs=" -ldnet_stub "
6236 cat > conftest.$ac_ext <<EOF 6238 cat > conftest.$ac_ext <<EOF
6237 #line 6238 "configure" 6239 #line 6240 "configure"
6238 #include "confdefs.h" 6240 #include "confdefs.h"
6239 /* Override any gcc2 internal prototype to avoid an error. */ 6241 /* Override any gcc2 internal prototype to avoid an error. */
6240 /* 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
6241 builtin and then its argument prototype would still apply. */ 6243 builtin and then its argument prototype would still apply. */
6242 char dnet_ntoa(); 6244 char dnet_ntoa();
6243 6245
6244 int main() { 6246 int main() {
6245 dnet_ntoa() 6247 dnet_ntoa()
6246 ; return 0; } 6248 ; return 0; }
6247 EOF 6249 EOF
6248 if { (eval echo configure:6249: \"$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
6249 rm -rf conftest* 6251 rm -rf conftest*
6250 eval "ac_cv_lib_$ac_lib_var=yes" 6252 eval "ac_cv_lib_$ac_lib_var=yes"
6251 else 6253 else
6252 echo "configure: failed program was:" >&5 6254 echo "configure: failed program was:" >&5
6253 cat conftest.$ac_ext >&5 6255 cat conftest.$ac_ext >&5
6272 # 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)
6273 # needs -lnsl. 6275 # needs -lnsl.
6274 # The nsl library prevents programs from opening the X display 6276 # The nsl library prevents programs from opening the X display
6275 # on Irix 5.2, according to dickey@clark.net. 6277 # on Irix 5.2, according to dickey@clark.net.
6276 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6278 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6277 echo "configure:6278: checking for gethostbyname" >&5 6279 echo "configure:6280: checking for gethostbyname" >&5
6278 6280
6279 cat > conftest.$ac_ext <<EOF 6281 cat > conftest.$ac_ext <<EOF
6280 #line 6281 "configure" 6282 #line 6283 "configure"
6281 #include "confdefs.h" 6283 #include "confdefs.h"
6282 /* System header to define __stub macros and hopefully few prototypes, 6284 /* System header to define __stub macros and hopefully few prototypes,
6283 which can conflict with char gethostbyname(); below. */ 6285 which can conflict with char gethostbyname(); below. */
6284 #include <assert.h> 6286 #include <assert.h>
6285 /* Override any gcc2 internal prototype to avoid an error. */ 6287 /* Override any gcc2 internal prototype to avoid an error. */
6298 gethostbyname(); 6300 gethostbyname();
6299 #endif 6301 #endif
6300 6302
6301 ; return 0; } 6303 ; return 0; }
6302 EOF 6304 EOF
6303 if { (eval echo configure:6304: \"$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
6304 rm -rf conftest* 6306 rm -rf conftest*
6305 eval "ac_cv_func_gethostbyname=yes" 6307 eval "ac_cv_func_gethostbyname=yes"
6306 else 6308 else
6307 echo "configure: failed program was:" >&5 6309 echo "configure: failed program was:" >&5
6308 cat conftest.$ac_ext >&5 6310 cat conftest.$ac_ext >&5
6319 fi 6321 fi
6320 6322
6321 if test $ac_cv_func_gethostbyname = no; then 6323 if test $ac_cv_func_gethostbyname = no; then
6322 6324
6323 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
6324 echo "configure:6325: checking for gethostbyname in -lnsl" >&5 6326 echo "configure:6327: checking for gethostbyname in -lnsl" >&5
6325 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6327 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6326 6328
6327 xe_check_libs=" -lnsl " 6329 xe_check_libs=" -lnsl "
6328 cat > conftest.$ac_ext <<EOF 6330 cat > conftest.$ac_ext <<EOF
6329 #line 6330 "configure" 6331 #line 6332 "configure"
6330 #include "confdefs.h" 6332 #include "confdefs.h"
6331 /* Override any gcc2 internal prototype to avoid an error. */ 6333 /* Override any gcc2 internal prototype to avoid an error. */
6332 /* 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
6333 builtin and then its argument prototype would still apply. */ 6335 builtin and then its argument prototype would still apply. */
6334 char gethostbyname(); 6336 char gethostbyname();
6335 6337
6336 int main() { 6338 int main() {
6337 gethostbyname() 6339 gethostbyname()
6338 ; return 0; } 6340 ; return 0; }
6339 EOF 6341 EOF
6340 if { (eval echo configure:6341: \"$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
6341 rm -rf conftest* 6343 rm -rf conftest*
6342 eval "ac_cv_lib_$ac_lib_var=yes" 6344 eval "ac_cv_lib_$ac_lib_var=yes"
6343 else 6345 else
6344 echo "configure: failed program was:" >&5 6346 echo "configure: failed program was:" >&5
6345 cat conftest.$ac_ext >&5 6347 cat conftest.$ac_ext >&5
6365 # on later versions), says simon@lia.di.epfl.ch: it contains 6367 # on later versions), says simon@lia.di.epfl.ch: it contains
6366 # gethostby* variants that don't use the nameserver (or something). 6368 # gethostby* variants that don't use the nameserver (or something).
6367 # -lsocket must be given before -lnsl if both are needed. 6369 # -lsocket must be given before -lnsl if both are needed.
6368 # We assume that if connect needs -lnsl, so does gethostbyname. 6370 # We assume that if connect needs -lnsl, so does gethostbyname.
6369 echo $ac_n "checking for connect""... $ac_c" 1>&6 6371 echo $ac_n "checking for connect""... $ac_c" 1>&6
6370 echo "configure:6371: checking for connect" >&5 6372 echo "configure:6373: checking for connect" >&5
6371 6373
6372 cat > conftest.$ac_ext <<EOF 6374 cat > conftest.$ac_ext <<EOF
6373 #line 6374 "configure" 6375 #line 6376 "configure"
6374 #include "confdefs.h" 6376 #include "confdefs.h"
6375 /* System header to define __stub macros and hopefully few prototypes, 6377 /* System header to define __stub macros and hopefully few prototypes,
6376 which can conflict with char connect(); below. */ 6378 which can conflict with char connect(); below. */
6377 #include <assert.h> 6379 #include <assert.h>
6378 /* Override any gcc2 internal prototype to avoid an error. */ 6380 /* Override any gcc2 internal prototype to avoid an error. */
6391 connect(); 6393 connect();
6392 #endif 6394 #endif
6393 6395
6394 ; return 0; } 6396 ; return 0; }
6395 EOF 6397 EOF
6396 if { (eval echo configure:6397: \"$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
6397 rm -rf conftest* 6399 rm -rf conftest*
6398 eval "ac_cv_func_connect=yes" 6400 eval "ac_cv_func_connect=yes"
6399 else 6401 else
6400 echo "configure: failed program was:" >&5 6402 echo "configure: failed program was:" >&5
6401 cat conftest.$ac_ext >&5 6403 cat conftest.$ac_ext >&5
6414 if test $ac_cv_func_connect = no; then 6416 if test $ac_cv_func_connect = no; then
6415 6417
6416 xe_msg_checking="for connect in -lsocket" 6418 xe_msg_checking="for connect in -lsocket"
6417 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"
6418 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6420 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6419 echo "configure:6420: checking "$xe_msg_checking"" >&5 6421 echo "configure:6422: checking "$xe_msg_checking"" >&5
6420 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6422 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6421 6423
6422 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6424 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6423 cat > conftest.$ac_ext <<EOF 6425 cat > conftest.$ac_ext <<EOF
6424 #line 6425 "configure" 6426 #line 6427 "configure"
6425 #include "confdefs.h" 6427 #include "confdefs.h"
6426 /* Override any gcc2 internal prototype to avoid an error. */ 6428 /* Override any gcc2 internal prototype to avoid an error. */
6427 /* 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
6428 builtin and then its argument prototype would still apply. */ 6430 builtin and then its argument prototype would still apply. */
6429 char connect(); 6431 char connect();
6430 6432
6431 int main() { 6433 int main() {
6432 connect() 6434 connect()
6433 ; return 0; } 6435 ; return 0; }
6434 EOF 6436 EOF
6435 if { (eval echo configure:6436: \"$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
6436 rm -rf conftest* 6438 rm -rf conftest*
6437 eval "ac_cv_lib_$ac_lib_var=yes" 6439 eval "ac_cv_lib_$ac_lib_var=yes"
6438 else 6440 else
6439 echo "configure: failed program was:" >&5 6441 echo "configure: failed program was:" >&5
6440 cat conftest.$ac_ext >&5 6442 cat conftest.$ac_ext >&5
6454 6456
6455 fi 6457 fi
6456 6458
6457 # 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.
6458 echo $ac_n "checking for remove""... $ac_c" 1>&6 6460 echo $ac_n "checking for remove""... $ac_c" 1>&6
6459 echo "configure:6460: checking for remove" >&5 6461 echo "configure:6462: checking for remove" >&5
6460 6462
6461 cat > conftest.$ac_ext <<EOF 6463 cat > conftest.$ac_ext <<EOF
6462 #line 6463 "configure" 6464 #line 6465 "configure"
6463 #include "confdefs.h" 6465 #include "confdefs.h"
6464 /* System header to define __stub macros and hopefully few prototypes, 6466 /* System header to define __stub macros and hopefully few prototypes,
6465 which can conflict with char remove(); below. */ 6467 which can conflict with char remove(); below. */
6466 #include <assert.h> 6468 #include <assert.h>
6467 /* Override any gcc2 internal prototype to avoid an error. */ 6469 /* Override any gcc2 internal prototype to avoid an error. */
6480 remove(); 6482 remove();
6481 #endif 6483 #endif
6482 6484
6483 ; return 0; } 6485 ; return 0; }
6484 EOF 6486 EOF
6485 if { (eval echo configure:6486: \"$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
6486 rm -rf conftest* 6488 rm -rf conftest*
6487 eval "ac_cv_func_remove=yes" 6489 eval "ac_cv_func_remove=yes"
6488 else 6490 else
6489 echo "configure: failed program was:" >&5 6491 echo "configure: failed program was:" >&5
6490 cat conftest.$ac_ext >&5 6492 cat conftest.$ac_ext >&5
6501 fi 6503 fi
6502 6504
6503 if test $ac_cv_func_remove = no; then 6505 if test $ac_cv_func_remove = no; then
6504 6506
6505 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
6506 echo "configure:6507: checking for remove in -lposix" >&5 6508 echo "configure:6509: checking for remove in -lposix" >&5
6507 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6509 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6508 6510
6509 xe_check_libs=" -lposix " 6511 xe_check_libs=" -lposix "
6510 cat > conftest.$ac_ext <<EOF 6512 cat > conftest.$ac_ext <<EOF
6511 #line 6512 "configure" 6513 #line 6514 "configure"
6512 #include "confdefs.h" 6514 #include "confdefs.h"
6513 /* Override any gcc2 internal prototype to avoid an error. */ 6515 /* Override any gcc2 internal prototype to avoid an error. */
6514 /* 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
6515 builtin and then its argument prototype would still apply. */ 6517 builtin and then its argument prototype would still apply. */
6516 char remove(); 6518 char remove();
6517 6519
6518 int main() { 6520 int main() {
6519 remove() 6521 remove()
6520 ; return 0; } 6522 ; return 0; }
6521 EOF 6523 EOF
6522 if { (eval echo configure:6523: \"$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
6523 rm -rf conftest* 6525 rm -rf conftest*
6524 eval "ac_cv_lib_$ac_lib_var=yes" 6526 eval "ac_cv_lib_$ac_lib_var=yes"
6525 else 6527 else
6526 echo "configure: failed program was:" >&5 6528 echo "configure: failed program was:" >&5
6527 cat conftest.$ac_ext >&5 6529 cat conftest.$ac_ext >&5
6541 6543
6542 fi 6544 fi
6543 6545
6544 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6545 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6547 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6546 echo "configure:6547: checking for shmat" >&5 6548 echo "configure:6549: checking for shmat" >&5
6547 6549
6548 cat > conftest.$ac_ext <<EOF 6550 cat > conftest.$ac_ext <<EOF
6549 #line 6550 "configure" 6551 #line 6552 "configure"
6550 #include "confdefs.h" 6552 #include "confdefs.h"
6551 /* System header to define __stub macros and hopefully few prototypes, 6553 /* System header to define __stub macros and hopefully few prototypes,
6552 which can conflict with char shmat(); below. */ 6554 which can conflict with char shmat(); below. */
6553 #include <assert.h> 6555 #include <assert.h>
6554 /* Override any gcc2 internal prototype to avoid an error. */ 6556 /* Override any gcc2 internal prototype to avoid an error. */
6567 shmat(); 6569 shmat();
6568 #endif 6570 #endif
6569 6571
6570 ; return 0; } 6572 ; return 0; }
6571 EOF 6573 EOF
6572 if { (eval echo configure:6573: \"$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
6573 rm -rf conftest* 6575 rm -rf conftest*
6574 eval "ac_cv_func_shmat=yes" 6576 eval "ac_cv_func_shmat=yes"
6575 else 6577 else
6576 echo "configure: failed program was:" >&5 6578 echo "configure: failed program was:" >&5
6577 cat conftest.$ac_ext >&5 6579 cat conftest.$ac_ext >&5
6588 fi 6590 fi
6589 6591
6590 if test $ac_cv_func_shmat = no; then 6592 if test $ac_cv_func_shmat = no; then
6591 6593
6592 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
6593 echo "configure:6594: checking for shmat in -lipc" >&5 6595 echo "configure:6596: checking for shmat in -lipc" >&5
6594 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6596 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6595 6597
6596 xe_check_libs=" -lipc " 6598 xe_check_libs=" -lipc "
6597 cat > conftest.$ac_ext <<EOF 6599 cat > conftest.$ac_ext <<EOF
6598 #line 6599 "configure" 6600 #line 6601 "configure"
6599 #include "confdefs.h" 6601 #include "confdefs.h"
6600 /* Override any gcc2 internal prototype to avoid an error. */ 6602 /* Override any gcc2 internal prototype to avoid an error. */
6601 /* 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
6602 builtin and then its argument prototype would still apply. */ 6604 builtin and then its argument prototype would still apply. */
6603 char shmat(); 6605 char shmat();
6604 6606
6605 int main() { 6607 int main() {
6606 shmat() 6608 shmat()
6607 ; return 0; } 6609 ; return 0; }
6608 EOF 6610 EOF
6609 if { (eval echo configure:6610: \"$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
6610 rm -rf conftest* 6612 rm -rf conftest*
6611 eval "ac_cv_lib_$ac_lib_var=yes" 6613 eval "ac_cv_lib_$ac_lib_var=yes"
6612 else 6614 else
6613 echo "configure: failed program was:" >&5 6615 echo "configure: failed program was:" >&5
6614 cat conftest.$ac_ext >&5 6616 cat conftest.$ac_ext >&5
6640 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6642 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6641 6643
6642 xe_msg_checking="for IceConnectionNumber in -lICE" 6644 xe_msg_checking="for IceConnectionNumber in -lICE"
6643 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"
6644 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6646 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6645 echo "configure:6646: checking "$xe_msg_checking"" >&5 6647 echo "configure:6648: checking "$xe_msg_checking"" >&5
6646 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6648 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6647 6649
6648 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6650 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6649 cat > conftest.$ac_ext <<EOF 6651 cat > conftest.$ac_ext <<EOF
6650 #line 6651 "configure" 6652 #line 6653 "configure"
6651 #include "confdefs.h" 6653 #include "confdefs.h"
6652 /* Override any gcc2 internal prototype to avoid an error. */ 6654 /* Override any gcc2 internal prototype to avoid an error. */
6653 /* 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
6654 builtin and then its argument prototype would still apply. */ 6656 builtin and then its argument prototype would still apply. */
6655 char IceConnectionNumber(); 6657 char IceConnectionNumber();
6656 6658
6657 int main() { 6659 int main() {
6658 IceConnectionNumber() 6660 IceConnectionNumber()
6659 ; return 0; } 6661 ; return 0; }
6660 EOF 6662 EOF
6661 if { (eval echo configure:6662: \"$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
6662 rm -rf conftest* 6664 rm -rf conftest*
6663 eval "ac_cv_lib_$ac_lib_var=yes" 6665 eval "ac_cv_lib_$ac_lib_var=yes"
6664 else 6666 else
6665 echo "configure: failed program was:" >&5 6667 echo "configure: failed program was:" >&5
6666 cat conftest.$ac_ext >&5 6668 cat conftest.$ac_ext >&5
6702 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
6703 6705
6704 6706
6705 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6707 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6706 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
6707 echo "configure:6708: checking for Xm/Xm.h" >&5 6709 echo "configure:6710: checking for Xm/Xm.h" >&5
6708 6710
6709 cat > conftest.$ac_ext <<EOF 6711 cat > conftest.$ac_ext <<EOF
6710 #line 6711 "configure" 6712 #line 6713 "configure"
6711 #include "confdefs.h" 6713 #include "confdefs.h"
6712 #include <Xm/Xm.h> 6714 #include <Xm/Xm.h>
6713 EOF 6715 EOF
6714 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"
6715 { (eval echo configure:6716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6716 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6717 if test -z "$ac_err"; then 6719 if test -z "$ac_err"; then
6718 rm -rf conftest* 6720 rm -rf conftest*
6719 eval "ac_cv_header_$ac_safe=yes" 6721 eval "ac_cv_header_$ac_safe=yes"
6720 else 6722 else
6727 rm -f conftest* 6729 rm -f conftest*
6728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6729 echo "$ac_t""yes" 1>&6 6731 echo "$ac_t""yes" 1>&6
6730 6732
6731 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
6732 echo "configure:6733: checking for XmStringFree in -lXm" >&5 6734 echo "configure:6735: checking for XmStringFree in -lXm" >&5
6733 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6735 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6734 6736
6735 xe_check_libs=" -lXm " 6737 xe_check_libs=" -lXm "
6736 cat > conftest.$ac_ext <<EOF 6738 cat > conftest.$ac_ext <<EOF
6737 #line 6738 "configure" 6739 #line 6740 "configure"
6738 #include "confdefs.h" 6740 #include "confdefs.h"
6739 /* Override any gcc2 internal prototype to avoid an error. */ 6741 /* Override any gcc2 internal prototype to avoid an error. */
6740 /* 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
6741 builtin and then its argument prototype would still apply. */ 6743 builtin and then its argument prototype would still apply. */
6742 char XmStringFree(); 6744 char XmStringFree();
6743 6745
6744 int main() { 6746 int main() {
6745 XmStringFree() 6747 XmStringFree()
6746 ; return 0; } 6748 ; return 0; }
6747 EOF 6749 EOF
6748 if { (eval echo configure:6749: \"$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
6749 rm -rf conftest* 6751 rm -rf conftest*
6750 eval "ac_cv_lib_$ac_lib_var=yes" 6752 eval "ac_cv_lib_$ac_lib_var=yes"
6751 else 6753 else
6752 echo "configure: failed program was:" >&5 6754 echo "configure: failed program was:" >&5
6753 cat conftest.$ac_ext >&5 6755 cat conftest.$ac_ext >&5
6895 EOF 6897 EOF
6896 } 6898 }
6897 6899
6898 6900
6899 echo "checking for X defines extracted by xmkmf" 1>&6 6901 echo "checking for X defines extracted by xmkmf" 1>&6
6900 echo "configure:6901: checking for X defines extracted by xmkmf" >&5 6902 echo "configure:6903: checking for X defines extracted by xmkmf" >&5
6901 rm -fr conftestdir 6903 rm -fr conftestdir
6902 if mkdir conftestdir; then 6904 if mkdir conftestdir; then
6903 cd conftestdir 6905 cd conftestdir
6904 cat > Imakefile <<'EOF' 6906 cat > Imakefile <<'EOF'
6905 xetest: 6907 xetest:
6944 done 6946 done
6945 fi 6947 fi
6946 6948
6947 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6949 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6948 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
6949 echo "configure:6950: checking for X11/Intrinsic.h" >&5 6951 echo "configure:6952: checking for X11/Intrinsic.h" >&5
6950 6952
6951 cat > conftest.$ac_ext <<EOF 6953 cat > conftest.$ac_ext <<EOF
6952 #line 6953 "configure" 6954 #line 6955 "configure"
6953 #include "confdefs.h" 6955 #include "confdefs.h"
6954 #include <X11/Intrinsic.h> 6956 #include <X11/Intrinsic.h>
6955 EOF 6957 EOF
6956 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"
6957 { (eval echo configure:6958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6959 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6959 if test -z "$ac_err"; then 6961 if test -z "$ac_err"; then
6960 rm -rf conftest* 6962 rm -rf conftest*
6961 eval "ac_cv_header_$ac_safe=yes" 6963 eval "ac_cv_header_$ac_safe=yes"
6962 else 6964 else
6976 fi 6978 fi
6977 6979
6978 6980
6979 6981
6980 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
6981 echo "configure:6982: checking for XOpenDisplay in -lX11" >&5 6983 echo "configure:6984: checking for XOpenDisplay in -lX11" >&5
6982 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6984 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6983 6985
6984 xe_check_libs=" -lX11 " 6986 xe_check_libs=" -lX11 "
6985 cat > conftest.$ac_ext <<EOF 6987 cat > conftest.$ac_ext <<EOF
6986 #line 6987 "configure" 6988 #line 6989 "configure"
6987 #include "confdefs.h" 6989 #include "confdefs.h"
6988 /* Override any gcc2 internal prototype to avoid an error. */ 6990 /* Override any gcc2 internal prototype to avoid an error. */
6989 /* 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
6990 builtin and then its argument prototype would still apply. */ 6992 builtin and then its argument prototype would still apply. */
6991 char XOpenDisplay(); 6993 char XOpenDisplay();
6992 6994
6993 int main() { 6995 int main() {
6994 XOpenDisplay() 6996 XOpenDisplay()
6995 ; return 0; } 6997 ; return 0; }
6996 EOF 6998 EOF
6997 if { (eval echo configure:6998: \"$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
6998 rm -rf conftest* 7000 rm -rf conftest*
6999 eval "ac_cv_lib_$ac_lib_var=yes" 7001 eval "ac_cv_lib_$ac_lib_var=yes"
7000 else 7002 else
7001 echo "configure: failed program was:" >&5 7003 echo "configure: failed program was:" >&5
7002 cat conftest.$ac_ext >&5 7004 cat conftest.$ac_ext >&5
7017 if test "$have_lib_x11" != "yes"; then 7019 if test "$have_lib_x11" != "yes"; then
7018 7020
7019 xe_msg_checking="for XGetFontProperty in -lX11" 7021 xe_msg_checking="for XGetFontProperty in -lX11"
7020 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"
7021 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7022 echo "configure:7023: checking "$xe_msg_checking"" >&5 7024 echo "configure:7025: checking "$xe_msg_checking"" >&5
7023 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7025 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
7024 7026
7025 xe_check_libs=" -lX11 -b i486-linuxaout" 7027 xe_check_libs=" -lX11 -b i486-linuxaout"
7026 cat > conftest.$ac_ext <<EOF 7028 cat > conftest.$ac_ext <<EOF
7027 #line 7028 "configure" 7029 #line 7030 "configure"
7028 #include "confdefs.h" 7030 #include "confdefs.h"
7029 /* Override any gcc2 internal prototype to avoid an error. */ 7031 /* Override any gcc2 internal prototype to avoid an error. */
7030 /* 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
7031 builtin and then its argument prototype would still apply. */ 7033 builtin and then its argument prototype would still apply. */
7032 char XGetFontProperty(); 7034 char XGetFontProperty();
7033 7035
7034 int main() { 7036 int main() {
7035 XGetFontProperty() 7037 XGetFontProperty()
7036 ; return 0; } 7038 ; return 0; }
7037 EOF 7039 EOF
7038 if { (eval echo configure:7039: \"$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
7039 rm -rf conftest* 7041 rm -rf conftest*
7040 eval "ac_cv_lib_$ac_lib_var=yes" 7042 eval "ac_cv_lib_$ac_lib_var=yes"
7041 else 7043 else
7042 echo "configure: failed program was:" >&5 7044 echo "configure: failed program was:" >&5
7043 cat conftest.$ac_ext >&5 7045 cat conftest.$ac_ext >&5
7060 libs_x="-lX11" 7062 libs_x="-lX11"
7061 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7063 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7062 7064
7063 7065
7064 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
7065 echo "configure:7066: checking for XShapeSelectInput in -lXext" >&5 7067 echo "configure:7068: checking for XShapeSelectInput in -lXext" >&5
7066 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7068 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7067 7069
7068 xe_check_libs=" -lXext " 7070 xe_check_libs=" -lXext "
7069 cat > conftest.$ac_ext <<EOF 7071 cat > conftest.$ac_ext <<EOF
7070 #line 7071 "configure" 7072 #line 7073 "configure"
7071 #include "confdefs.h" 7073 #include "confdefs.h"
7072 /* Override any gcc2 internal prototype to avoid an error. */ 7074 /* Override any gcc2 internal prototype to avoid an error. */
7073 /* 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
7074 builtin and then its argument prototype would still apply. */ 7076 builtin and then its argument prototype would still apply. */
7075 char XShapeSelectInput(); 7077 char XShapeSelectInput();
7076 7078
7077 int main() { 7079 int main() {
7078 XShapeSelectInput() 7080 XShapeSelectInput()
7079 ; return 0; } 7081 ; return 0; }
7080 EOF 7082 EOF
7081 if { (eval echo configure:7082: \"$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
7082 rm -rf conftest* 7084 rm -rf conftest*
7083 eval "ac_cv_lib_$ac_lib_var=yes" 7085 eval "ac_cv_lib_$ac_lib_var=yes"
7084 else 7086 else
7085 echo "configure: failed program was:" >&5 7087 echo "configure: failed program was:" >&5
7086 cat conftest.$ac_ext >&5 7088 cat conftest.$ac_ext >&5
7099 7101
7100 7102
7101 7103
7102 7104
7103 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
7104 echo "configure:7105: checking for XtOpenDisplay in -lXt" >&5 7106 echo "configure:7107: checking for XtOpenDisplay in -lXt" >&5
7105 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7107 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7106 7108
7107 xe_check_libs=" -lXt " 7109 xe_check_libs=" -lXt "
7108 cat > conftest.$ac_ext <<EOF 7110 cat > conftest.$ac_ext <<EOF
7109 #line 7110 "configure" 7111 #line 7112 "configure"
7110 #include "confdefs.h" 7112 #include "confdefs.h"
7111 /* Override any gcc2 internal prototype to avoid an error. */ 7113 /* Override any gcc2 internal prototype to avoid an error. */
7112 /* 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
7113 builtin and then its argument prototype would still apply. */ 7115 builtin and then its argument prototype would still apply. */
7114 char XtOpenDisplay(); 7116 char XtOpenDisplay();
7115 7117
7116 int main() { 7118 int main() {
7117 XtOpenDisplay() 7119 XtOpenDisplay()
7118 ; return 0; } 7120 ; return 0; }
7119 EOF 7121 EOF
7120 if { (eval echo configure:7121: \"$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
7121 rm -rf conftest* 7123 rm -rf conftest*
7122 eval "ac_cv_lib_$ac_lib_var=yes" 7124 eval "ac_cv_lib_$ac_lib_var=yes"
7123 else 7125 else
7124 echo "configure: failed program was:" >&5 7126 echo "configure: failed program was:" >&5
7125 cat conftest.$ac_ext >&5 7127 cat conftest.$ac_ext >&5
7138 fi 7140 fi
7139 7141
7140 7142
7141 7143
7142 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
7143 echo "configure:7144: checking the version of X11 being used" >&5 7145 echo "configure:7146: checking the version of X11 being used" >&5
7144 cat > conftest.$ac_ext <<EOF 7146 cat > conftest.$ac_ext <<EOF
7145 #line 7146 "configure" 7147 #line 7148 "configure"
7146 #include "confdefs.h" 7148 #include "confdefs.h"
7147 #include <X11/Intrinsic.h> 7149 #include <X11/Intrinsic.h>
7148 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7150 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7149 EOF 7151 EOF
7150 if { (eval echo configure:7151: \"$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
7151 then 7153 then
7152 ./conftest foobar; x11_release=$? 7154 ./conftest foobar; x11_release=$?
7153 else 7155 else
7154 conftest_rc="$?" 7156 conftest_rc="$?"
7155 echo "configure: failed program was:" >&5 7157 echo "configure: failed program was:" >&5
7176 fi 7178 fi
7177 7179
7178 for ac_func in XConvertCase 7180 for ac_func in XConvertCase
7179 do 7181 do
7180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7181 echo "configure:7182: checking for $ac_func" >&5 7183 echo "configure:7184: checking for $ac_func" >&5
7182 7184
7183 cat > conftest.$ac_ext <<EOF 7185 cat > conftest.$ac_ext <<EOF
7184 #line 7185 "configure" 7186 #line 7187 "configure"
7185 #include "confdefs.h" 7187 #include "confdefs.h"
7186 /* System header to define __stub macros and hopefully few prototypes, 7188 /* System header to define __stub macros and hopefully few prototypes,
7187 which can conflict with char $ac_func(); below. */ 7189 which can conflict with char $ac_func(); below. */
7188 #include <assert.h> 7190 #include <assert.h>
7189 /* Override any gcc2 internal prototype to avoid an error. */ 7191 /* Override any gcc2 internal prototype to avoid an error. */
7202 $ac_func(); 7204 $ac_func();
7203 #endif 7205 #endif
7204 7206
7205 ; return 0; } 7207 ; return 0; }
7206 EOF 7208 EOF
7207 if { (eval echo configure:7208: \"$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
7208 rm -rf conftest* 7210 rm -rf conftest*
7209 eval "ac_cv_func_$ac_func=yes" 7211 eval "ac_cv_func_$ac_func=yes"
7210 else 7212 else
7211 echo "configure: failed program was:" >&5 7213 echo "configure: failed program was:" >&5
7212 cat conftest.$ac_ext >&5 7214 cat conftest.$ac_ext >&5
7234 7236
7235 for ac_hdr in X11/Xlocale.h 7237 for ac_hdr in X11/Xlocale.h
7236 do 7238 do
7237 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7238 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7239 echo "configure:7240: checking for $ac_hdr" >&5 7241 echo "configure:7242: checking for $ac_hdr" >&5
7240 7242
7241 cat > conftest.$ac_ext <<EOF 7243 cat > conftest.$ac_ext <<EOF
7242 #line 7243 "configure" 7244 #line 7245 "configure"
7243 #include "confdefs.h" 7245 #include "confdefs.h"
7244 #include <$ac_hdr> 7246 #include <$ac_hdr>
7245 EOF 7247 EOF
7246 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"
7247 { (eval echo configure:7248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7249 { (eval echo configure:7250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7249 if test -z "$ac_err"; then 7251 if test -z "$ac_err"; then
7250 rm -rf conftest* 7252 rm -rf conftest*
7251 eval "ac_cv_header_$ac_safe=yes" 7253 eval "ac_cv_header_$ac_safe=yes"
7252 else 7254 else
7275 7277
7276 7278
7277 for ac_func in XRegisterIMInstantiateCallback 7279 for ac_func in XRegisterIMInstantiateCallback
7278 do 7280 do
7279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7280 echo "configure:7281: checking for $ac_func" >&5 7282 echo "configure:7283: checking for $ac_func" >&5
7281 7283
7282 cat > conftest.$ac_ext <<EOF 7284 cat > conftest.$ac_ext <<EOF
7283 #line 7284 "configure" 7285 #line 7286 "configure"
7284 #include "confdefs.h" 7286 #include "confdefs.h"
7285 /* System header to define __stub macros and hopefully few prototypes, 7287 /* System header to define __stub macros and hopefully few prototypes,
7286 which can conflict with char $ac_func(); below. */ 7288 which can conflict with char $ac_func(); below. */
7287 #include <assert.h> 7289 #include <assert.h>
7288 /* Override any gcc2 internal prototype to avoid an error. */ 7290 /* Override any gcc2 internal prototype to avoid an error. */
7301 $ac_func(); 7303 $ac_func();
7302 #endif 7304 #endif
7303 7305
7304 ; return 0; } 7306 ; return 0; }
7305 EOF 7307 EOF
7306 if { (eval echo configure:7307: \"$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
7307 rm -rf conftest* 7309 rm -rf conftest*
7308 eval "ac_cv_func_$ac_func=yes" 7310 eval "ac_cv_func_$ac_func=yes"
7309 else 7311 else
7310 echo "configure: failed program was:" >&5 7312 echo "configure: failed program was:" >&5
7311 cat conftest.$ac_ext >&5 7313 cat conftest.$ac_ext >&5
7329 echo "$ac_t""no" 1>&6 7331 echo "$ac_t""no" 1>&6
7330 fi 7332 fi
7331 done 7333 done
7332 7334
7333 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
7334 echo "configure:7335: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7336 echo "configure:7337: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7335 cat > conftest.$ac_ext <<EOF 7337 cat > conftest.$ac_ext <<EOF
7336 #line 7337 "configure" 7338 #line 7339 "configure"
7337 #include "confdefs.h" 7339 #include "confdefs.h"
7338 7340
7339 #define NeedFunctionPrototypes 1 7341 #define NeedFunctionPrototypes 1
7340 #include <X11/Xlib.h> 7342 #include <X11/Xlib.h>
7341 extern Bool XRegisterIMInstantiateCallback( 7343 extern Bool XRegisterIMInstantiateCallback(
7343 7345
7344 int main() { 7346 int main() {
7345 7347
7346 ; return 0; } 7348 ; return 0; }
7347 EOF 7349 EOF
7348 if { (eval echo configure:7349: \"$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
7349 rm -rf conftest* 7351 rm -rf conftest*
7350 echo "$ac_t""yes" 1>&6 7352 echo "$ac_t""yes" 1>&6
7351 else 7353 else
7352 echo "configure: failed program was:" >&5 7354 echo "configure: failed program was:" >&5
7353 cat conftest.$ac_ext >&5 7355 cat conftest.$ac_ext >&5
7364 fi 7366 fi
7365 rm -f conftest* 7367 rm -f conftest*
7366 7368
7367 test -z "$with_xmu" && { 7369 test -z "$with_xmu" && {
7368 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
7369 echo "configure:7370: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7371 echo "configure:7372: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7370 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7372 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7371 7373
7372 xe_check_libs=" -lXmu " 7374 xe_check_libs=" -lXmu "
7373 cat > conftest.$ac_ext <<EOF 7375 cat > conftest.$ac_ext <<EOF
7374 #line 7375 "configure" 7376 #line 7377 "configure"
7375 #include "confdefs.h" 7377 #include "confdefs.h"
7376 /* Override any gcc2 internal prototype to avoid an error. */ 7378 /* Override any gcc2 internal prototype to avoid an error. */
7377 /* 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
7378 builtin and then its argument prototype would still apply. */ 7380 builtin and then its argument prototype would still apply. */
7379 char XmuReadBitmapDataFromFile(); 7381 char XmuReadBitmapDataFromFile();
7380 7382
7381 int main() { 7383 int main() {
7382 XmuReadBitmapDataFromFile() 7384 XmuReadBitmapDataFromFile()
7383 ; return 0; } 7385 ; return 0; }
7384 EOF 7386 EOF
7385 if { (eval echo configure:7386: \"$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
7386 rm -rf conftest* 7388 rm -rf conftest*
7387 eval "ac_cv_lib_$ac_lib_var=yes" 7389 eval "ac_cv_lib_$ac_lib_var=yes"
7388 else 7390 else
7389 echo "configure: failed program was:" >&5 7391 echo "configure: failed program was:" >&5
7390 cat conftest.$ac_ext >&5 7392 cat conftest.$ac_ext >&5
7419 7421
7420 fi 7422 fi
7421 7423
7422 7424
7423 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
7424 echo "configure:7425: checking for main in -lXbsd" >&5 7426 echo "configure:7427: checking for main in -lXbsd" >&5
7425 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7427 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7426 7428
7427 xe_check_libs=" -lXbsd " 7429 xe_check_libs=" -lXbsd "
7428 cat > conftest.$ac_ext <<EOF 7430 cat > conftest.$ac_ext <<EOF
7429 #line 7430 "configure" 7431 #line 7432 "configure"
7430 #include "confdefs.h" 7432 #include "confdefs.h"
7431 7433
7432 int main() { 7434 int main() {
7433 main() 7435 main()
7434 ; return 0; } 7436 ; return 0; }
7435 EOF 7437 EOF
7436 if { (eval echo configure:7437: \"$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
7437 rm -rf conftest* 7439 rm -rf conftest*
7438 eval "ac_cv_lib_$ac_lib_var=yes" 7440 eval "ac_cv_lib_$ac_lib_var=yes"
7439 else 7441 else
7440 echo "configure: failed program was:" >&5 7442 echo "configure: failed program was:" >&5
7441 cat conftest.$ac_ext >&5 7443 cat conftest.$ac_ext >&5
7468 fi 7470 fi
7469 7471
7470 fi 7472 fi
7471 if test "$with_msw" != "no"; then 7473 if test "$with_msw" != "no"; then
7472 echo "checking for MS-Windows" 1>&6 7474 echo "checking for MS-Windows" 1>&6
7473 echo "configure:7474: checking for MS-Windows" >&5 7475 echo "configure:7476: checking for MS-Windows" >&5
7474 7476
7475 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
7476 echo "configure:7477: checking for main in -lgdi32" >&5 7478 echo "configure:7479: checking for main in -lgdi32" >&5
7477 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7479 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7478 7480
7479 xe_check_libs=" -lgdi32 " 7481 xe_check_libs=" -lgdi32 "
7480 cat > conftest.$ac_ext <<EOF 7482 cat > conftest.$ac_ext <<EOF
7481 #line 7482 "configure" 7483 #line 7484 "configure"
7482 #include "confdefs.h" 7484 #include "confdefs.h"
7483 7485
7484 int main() { 7486 int main() {
7485 main() 7487 main()
7486 ; return 0; } 7488 ; return 0; }
7487 EOF 7489 EOF
7488 if { (eval echo configure:7489: \"$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
7489 rm -rf conftest* 7491 rm -rf conftest*
7490 eval "ac_cv_lib_$ac_lib_var=yes" 7492 eval "ac_cv_lib_$ac_lib_var=yes"
7491 else 7493 else
7492 echo "configure: failed program was:" >&5 7494 echo "configure: failed program was:" >&5
7493 cat conftest.$ac_ext >&5 7495 cat conftest.$ac_ext >&5
7534 test "$with_toolbars" != "no" && with_toolbars=msw 7536 test "$with_toolbars" != "no" && with_toolbars=msw
7535 test "$with_dialogs" != "no" && with_dialogs=msw 7537 test "$with_dialogs" != "no" && with_dialogs=msw
7536 test "$with_widgets" != "no" && with_widgets=msw 7538 test "$with_widgets" != "no" && with_widgets=msw
7537 fi 7539 fi
7538 cat > conftest.$ac_ext <<EOF 7540 cat > conftest.$ac_ext <<EOF
7539 #line 7540 "configure" 7541 #line 7542 "configure"
7540 #include "confdefs.h" 7542 #include "confdefs.h"
7541 #include <fcntl.h> 7543 #include <fcntl.h>
7542 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; }
7543 EOF 7545 EOF
7544 if { (eval echo configure:7545: \"$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
7545 then 7547 then
7546 { test "$extra_verbose" = "yes" && cat << \EOF 7548 { test "$extra_verbose" = "yes" && cat << \EOF
7547 Defining HAVE_MSG_SELECT 7549 Defining HAVE_MSG_SELECT
7548 EOF 7550 EOF
7549 cat >> confdefs.h <<\EOF 7551 cat >> confdefs.h <<\EOF
7600 fi 7602 fi
7601 7603
7602 if test "$with_x11" = "yes"; then 7604 if test "$with_x11" = "yes"; then
7603 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7605 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7604 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
7605 echo "configure:7606: checking for X11/extensions/shape.h" >&5 7607 echo "configure:7608: checking for X11/extensions/shape.h" >&5
7606 7608
7607 cat > conftest.$ac_ext <<EOF 7609 cat > conftest.$ac_ext <<EOF
7608 #line 7609 "configure" 7610 #line 7611 "configure"
7609 #include "confdefs.h" 7611 #include "confdefs.h"
7610 #include <X11/extensions/shape.h> 7612 #include <X11/extensions/shape.h>
7611 EOF 7613 EOF
7612 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"
7613 { (eval echo configure:7614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7615 if test -z "$ac_err"; then 7617 if test -z "$ac_err"; then
7616 rm -rf conftest* 7618 rm -rf conftest*
7617 eval "ac_cv_header_$ac_safe=yes" 7619 eval "ac_cv_header_$ac_safe=yes"
7618 else 7620 else
7658 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7660 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7659 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7661 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7660 esac 7662 esac
7661 7663
7662 echo "checking for WM_COMMAND option" 1>&6 7664 echo "checking for WM_COMMAND option" 1>&6
7663 echo "configure:7664: checking for WM_COMMAND option" >&5; 7665 echo "configure:7666: checking for WM_COMMAND option" >&5;
7664 if test "$with_wmcommand" != "no"; then 7666 if test "$with_wmcommand" != "no"; then
7665 { test "$extra_verbose" = "yes" && cat << \EOF 7667 { test "$extra_verbose" = "yes" && cat << \EOF
7666 Defining HAVE_WMCOMMAND 7668 Defining HAVE_WMCOMMAND
7667 EOF 7669 EOF
7668 cat >> confdefs.h <<\EOF 7670 cat >> confdefs.h <<\EOF
7673 fi 7675 fi
7674 7676
7675 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7677 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7676 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_%'`
7677 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
7678 echo "configure:7679: checking for X11/Xauth.h" >&5 7680 echo "configure:7681: checking for X11/Xauth.h" >&5
7679 7681
7680 cat > conftest.$ac_ext <<EOF 7682 cat > conftest.$ac_ext <<EOF
7681 #line 7682 "configure" 7683 #line 7684 "configure"
7682 #include "confdefs.h" 7684 #include "confdefs.h"
7683 #include <X11/Xauth.h> 7685 #include <X11/Xauth.h>
7684 EOF 7686 EOF
7685 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"
7686 { (eval echo configure:7687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7688 { (eval echo configure:7689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7688 if test -z "$ac_err"; then 7690 if test -z "$ac_err"; then
7689 rm -rf conftest* 7691 rm -rf conftest*
7690 eval "ac_cv_header_$ac_safe=yes" 7692 eval "ac_cv_header_$ac_safe=yes"
7691 else 7693 else
7704 with_xauth=no 7706 with_xauth=no
7705 fi 7707 fi
7706 } 7708 }
7707 test -z "$with_xauth" && { 7709 test -z "$with_xauth" && {
7708 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
7709 echo "configure:7710: checking for XauGetAuthByAddr in -lXau" >&5 7711 echo "configure:7712: checking for XauGetAuthByAddr in -lXau" >&5
7710 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7712 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7711 7713
7712 xe_check_libs=" -lXau " 7714 xe_check_libs=" -lXau "
7713 cat > conftest.$ac_ext <<EOF 7715 cat > conftest.$ac_ext <<EOF
7714 #line 7715 "configure" 7716 #line 7717 "configure"
7715 #include "confdefs.h" 7717 #include "confdefs.h"
7716 /* Override any gcc2 internal prototype to avoid an error. */ 7718 /* Override any gcc2 internal prototype to avoid an error. */
7717 /* 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
7718 builtin and then its argument prototype would still apply. */ 7720 builtin and then its argument prototype would still apply. */
7719 char XauGetAuthByAddr(); 7721 char XauGetAuthByAddr();
7720 7722
7721 int main() { 7723 int main() {
7722 XauGetAuthByAddr() 7724 XauGetAuthByAddr()
7723 ; return 0; } 7725 ; return 0; }
7724 EOF 7726 EOF
7725 if { (eval echo configure:7726: \"$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
7726 rm -rf conftest* 7728 rm -rf conftest*
7727 eval "ac_cv_lib_$ac_lib_var=yes" 7729 eval "ac_cv_lib_$ac_lib_var=yes"
7728 else 7730 else
7729 echo "configure: failed program was:" >&5 7731 echo "configure: failed program was:" >&5
7730 cat conftest.$ac_ext >&5 7732 cat conftest.$ac_ext >&5
7771 fi 7773 fi
7772 7774
7773 7775
7774 if test "$with_modules" != "no"; then 7776 if test "$with_modules" != "no"; then
7775 echo "checking for module support" 1>&6 7777 echo "checking for module support" 1>&6
7776 echo "configure:7777: checking for module support" >&5 7778 echo "configure:7779: checking for module support" >&5
7777 7779
7778 case "$opsys" in 7780 case "$opsys" in
7779 mingw* | cygwin* ) have_dl=yes ;; 7781 mingw* | cygwin* ) have_dl=yes ;;
7780 darwin ) have_dl=yes 7782 darwin ) have_dl=yes
7781 { test "$extra_verbose" = "yes" && cat << \EOF 7783 { test "$extra_verbose" = "yes" && cat << \EOF
7788 7790
7789 ;; 7791 ;;
7790 * ) 7792 * )
7791 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7793 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7792 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7794 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7793 echo "configure:7794: checking for dlfcn.h" >&5 7795 echo "configure:7796: checking for dlfcn.h" >&5
7794 7796
7795 cat > conftest.$ac_ext <<EOF 7797 cat > conftest.$ac_ext <<EOF
7796 #line 7797 "configure" 7798 #line 7799 "configure"
7797 #include "confdefs.h" 7799 #include "confdefs.h"
7798 #include <dlfcn.h> 7800 #include <dlfcn.h>
7799 EOF 7801 EOF
7800 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"
7801 { (eval echo configure:7802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7803 if test -z "$ac_err"; then 7805 if test -z "$ac_err"; then
7804 rm -rf conftest* 7806 rm -rf conftest*
7805 eval "ac_cv_header_$ac_safe=yes" 7807 eval "ac_cv_header_$ac_safe=yes"
7806 else 7808 else
7813 rm -f conftest* 7815 rm -f conftest*
7814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7815 echo "$ac_t""yes" 1>&6 7817 echo "$ac_t""yes" 1>&6
7816 7818
7817 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
7818 echo "configure:7819: checking for dlopen in -lc" >&5 7820 echo "configure:7821: checking for dlopen in -lc" >&5
7819 cat > conftest.$ac_ext <<EOF 7821 cat > conftest.$ac_ext <<EOF
7820 #line 7821 "configure" 7822 #line 7823 "configure"
7821 #include "confdefs.h" 7823 #include "confdefs.h"
7822 #include <dlfcn.h> 7824 #include <dlfcn.h>
7823 int main() { 7825 int main() {
7824 dlopen ("", 0); 7826 dlopen ("", 0);
7825 ; return 0; } 7827 ; return 0; }
7826 EOF 7828 EOF
7827 if { (eval echo configure:7828: \"$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
7828 rm -rf conftest* 7830 rm -rf conftest*
7829 have_dl=yes 7831 have_dl=yes
7830 else 7832 else
7831 echo "configure: failed program was:" >&5 7833 echo "configure: failed program was:" >&5
7832 cat conftest.$ac_ext >&5 7834 cat conftest.$ac_ext >&5
7833 rm -rf conftest* 7835 rm -rf conftest*
7834 7836
7835 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
7836 echo "configure:7837: checking for dlopen in -ldl" >&5 7838 echo "configure:7839: checking for dlopen in -ldl" >&5
7837 ac_save_LIBS="$LIBS" 7839 ac_save_LIBS="$LIBS"
7838 LIBS="$LIBS -ldl" 7840 LIBS="$LIBS -ldl"
7839 cat > conftest.$ac_ext <<EOF 7841 cat > conftest.$ac_ext <<EOF
7840 #line 7841 "configure" 7842 #line 7843 "configure"
7841 #include "confdefs.h" 7843 #include "confdefs.h"
7842 #include <dlfcn.h> 7844 #include <dlfcn.h>
7843 int main() { 7845 int main() {
7844 dlopen ("", 0); 7846 dlopen ("", 0);
7845 ; return 0; } 7847 ; return 0; }
7846 EOF 7848 EOF
7847 if { (eval echo configure:7848: \"$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
7848 rm -rf conftest* 7850 rm -rf conftest*
7849 have_dl=yes 7851 have_dl=yes
7850 else 7852 else
7851 echo "configure: failed program was:" >&5 7853 echo "configure: failed program was:" >&5
7852 cat conftest.$ac_ext >&5 7854 cat conftest.$ac_ext >&5
7853 rm -rf conftest* 7855 rm -rf conftest*
7854 7856
7855 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
7856 echo "configure:7857: checking for dlopen in -lsvld" >&5 7858 echo "configure:7859: checking for dlopen in -lsvld" >&5
7857 LIBS="$ac_save_LIBS -lsvld" 7859 LIBS="$ac_save_LIBS -lsvld"
7858 cat > conftest.$ac_ext <<EOF 7860 cat > conftest.$ac_ext <<EOF
7859 #line 7860 "configure" 7861 #line 7862 "configure"
7860 #include "confdefs.h" 7862 #include "confdefs.h"
7861 #include <dlfcn.h> 7863 #include <dlfcn.h>
7862 int main() { 7864 int main() {
7863 dlopen ("", 0); 7865 dlopen ("", 0);
7864 ; return 0; } 7866 ; return 0; }
7865 EOF 7867 EOF
7866 if { (eval echo configure:7867: \"$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
7867 rm -rf conftest* 7869 rm -rf conftest*
7868 have_dl=yes 7870 have_dl=yes
7869 else 7871 else
7870 echo "configure: failed program was:" >&5 7872 echo "configure: failed program was:" >&5
7871 cat conftest.$ac_ext >&5 7873 cat conftest.$ac_ext >&5
7891 } 7893 }
7892 7894
7893 else 7895 else
7894 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` 7896 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'`
7895 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 7897 echo $ac_n "checking for dl.h""... $ac_c" 1>&6
7896 echo "configure:7897: checking for dl.h" >&5 7898 echo "configure:7899: checking for dl.h" >&5
7897 7899
7898 cat > conftest.$ac_ext <<EOF 7900 cat > conftest.$ac_ext <<EOF
7899 #line 7900 "configure" 7901 #line 7902 "configure"
7900 #include "confdefs.h" 7902 #include "confdefs.h"
7901 #include <dl.h> 7903 #include <dl.h>
7902 EOF 7904 EOF
7903 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"
7904 { (eval echo configure:7905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7906 { (eval echo configure:7907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7906 if test -z "$ac_err"; then 7908 if test -z "$ac_err"; then
7907 rm -rf conftest* 7909 rm -rf conftest*
7908 eval "ac_cv_header_$ac_safe=yes" 7910 eval "ac_cv_header_$ac_safe=yes"
7909 else 7911 else
7916 rm -f conftest* 7918 rm -f conftest*
7917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7919 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7918 echo "$ac_t""yes" 1>&6 7920 echo "$ac_t""yes" 1>&6
7919 7921
7920 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
7921 echo "configure:7922: checking for shl_load in -lc" >&5 7923 echo "configure:7924: checking for shl_load in -lc" >&5
7922 cat > conftest.$ac_ext <<EOF 7924 cat > conftest.$ac_ext <<EOF
7923 #line 7924 "configure" 7925 #line 7926 "configure"
7924 #include "confdefs.h" 7926 #include "confdefs.h"
7925 #include <dl.h> 7927 #include <dl.h>
7926 int main() { 7928 int main() {
7927 shl_load ("", 0, 0); 7929 shl_load ("", 0, 0);
7928 ; return 0; } 7930 ; return 0; }
7929 EOF 7931 EOF
7930 if { (eval echo configure:7931: \"$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
7931 rm -rf conftest* 7933 rm -rf conftest*
7932 have_dl=yes 7934 have_dl=yes
7933 else 7935 else
7934 echo "configure: failed program was:" >&5 7936 echo "configure: failed program was:" >&5
7935 cat conftest.$ac_ext >&5 7937 cat conftest.$ac_ext >&5
7936 rm -rf conftest* 7938 rm -rf conftest*
7937 7939
7938 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
7939 echo "configure:7940: checking for shl_load in -ldl" >&5 7941 echo "configure:7942: checking for shl_load in -ldl" >&5
7940 ac_save_LIBS="$LIBS" 7942 ac_save_LIBS="$LIBS"
7941 LIBS="$LIBS -ldld" 7943 LIBS="$LIBS -ldld"
7942 cat > conftest.$ac_ext <<EOF 7944 cat > conftest.$ac_ext <<EOF
7943 #line 7944 "configure" 7945 #line 7946 "configure"
7944 #include "confdefs.h" 7946 #include "confdefs.h"
7945 #include <dl.h> 7947 #include <dl.h>
7946 int main() { 7948 int main() {
7947 shl_load ("", 0, 0); 7949 shl_load ("", 0, 0);
7948 ; return 0; } 7950 ; return 0; }
7949 EOF 7951 EOF
7950 if { (eval echo configure:7951: \"$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
7951 rm -rf conftest* 7953 rm -rf conftest*
7952 have_dl=yes 7954 have_dl=yes
7953 else 7955 else
7954 echo "configure: failed program was:" >&5 7956 echo "configure: failed program was:" >&5
7955 cat conftest.$ac_ext >&5 7957 cat conftest.$ac_ext >&5
7973 } 7975 }
7974 7976
7975 else 7977 else
7976 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` 7978 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
7977 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 7979 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
7978 echo "configure:7979: checking for ltdl.h" >&5 7980 echo "configure:7981: checking for ltdl.h" >&5
7979 7981
7980 cat > conftest.$ac_ext <<EOF 7982 cat > conftest.$ac_ext <<EOF
7981 #line 7982 "configure" 7983 #line 7984 "configure"
7982 #include "confdefs.h" 7984 #include "confdefs.h"
7983 #include <ltdl.h> 7985 #include <ltdl.h>
7984 EOF 7986 EOF
7985 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"
7986 { (eval echo configure:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7988 { (eval echo configure:7989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7987 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7989 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7988 if test -z "$ac_err"; then 7990 if test -z "$ac_err"; then
7989 rm -rf conftest* 7991 rm -rf conftest*
7990 eval "ac_cv_header_$ac_safe=yes" 7992 eval "ac_cv_header_$ac_safe=yes"
7991 else 7993 else
7998 rm -f conftest* 8000 rm -f conftest*
7999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8000 echo "$ac_t""yes" 1>&6 8002 echo "$ac_t""yes" 1>&6
8001 8003
8002 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
8003 echo "configure:8004: checking for lt_dlinit in -lltdl" >&5 8005 echo "configure:8006: checking for lt_dlinit in -lltdl" >&5
8004 ac_save_LIBS="$LIBS" 8006 ac_save_LIBS="$LIBS"
8005 LIBS="$LIBS -lltdl" 8007 LIBS="$LIBS -lltdl"
8006 cat > conftest.$ac_ext <<EOF 8008 cat > conftest.$ac_ext <<EOF
8007 #line 8008 "configure" 8009 #line 8010 "configure"
8008 #include "confdefs.h" 8010 #include "confdefs.h"
8009 #include <ltdl.h> 8011 #include <ltdl.h>
8010 int main() { 8012 int main() {
8011 lt_dlinit (); 8013 lt_dlinit ();
8012 ; return 0; } 8014 ; return 0; }
8013 EOF 8015 EOF
8014 if { (eval echo configure:8015: \"$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
8015 rm -rf conftest* 8017 rm -rf conftest*
8016 have_dl=yes 8018 have_dl=yes
8017 else 8019 else
8018 echo "configure: failed program was:" >&5 8020 echo "configure: failed program was:" >&5
8019 cat conftest.$ac_ext >&5 8021 cat conftest.$ac_ext >&5
8050 ld_dynamic_link_flags= 8052 ld_dynamic_link_flags=
8051 xehost=$canonical 8053 xehost=$canonical
8052 xealias=$internal_configuration 8054 xealias=$internal_configuration
8053 8055
8054 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 8056 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
8055 echo "configure:8056: checking how to build dynamic libraries for ${xehost}" >&5 8057 echo "configure:8058: checking how to build dynamic libraries for ${xehost}" >&5
8056 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 8058 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
8057 case "$xehost" in 8059 case "$xehost" in
8058 *-*-linux-gnu*) ;; 8060 *-*-linux-gnu*) ;;
8059 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 8061 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
8060 esac 8062 esac
8078 # Now see if the compiler is really GCC. 8080 # Now see if the compiler is really GCC.
8079 if test "$GCC" = "yes"; then 8081 if test "$GCC" = "yes"; then
8080 XEGCC=yes 8082 XEGCC=yes
8081 else 8083 else
8082 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
8083 echo "configure:8084: checking checking whether we are using GNU C" >&5 8085 echo "configure:8086: checking checking whether we are using GNU C" >&5
8084 cat > conftest.$ac_ext <<EOF 8086 cat > conftest.$ac_ext <<EOF
8085 #line 8086 "configure" 8087 #line 8088 "configure"
8086 #include "confdefs.h" 8088 #include "confdefs.h"
8087 8089
8088 #ifdef __GNUC__ 8090 #ifdef __GNUC__
8089 yes; 8091 yes;
8090 #endif 8092 #endif
8102 8104
8103 echo "$ac_t""${XEGCC}" 1>&6 8105 echo "$ac_t""${XEGCC}" 1>&6
8104 fi 8106 fi
8105 8107
8106 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
8107 echo "configure:8108: checking how to produce PIC code" >&5 8109 echo "configure:8110: checking how to produce PIC code" >&5
8108 wl= 8110 wl=
8109 8111
8110 can_build_shared=yes 8112 can_build_shared=yes
8111 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8113 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8112 wl='-Wl,' 8114 wl='-Wl,'
8206 if test -n "$dll_cflags"; then 8208 if test -n "$dll_cflags"; then
8207 echo "$ac_t""${dll_cflags}" 1>&6 8209 echo "$ac_t""${dll_cflags}" 1>&6
8208 8210
8209 # Check to make sure the dll_cflags actually works. 8211 # Check to make sure the dll_cflags actually works.
8210 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
8211 echo "configure:8212: checking if PIC flag ${dll_cflags} really works" >&5 8213 echo "configure:8214: checking if PIC flag ${dll_cflags} really works" >&5
8212 save_CFLAGS="$CFLAGS" 8214 save_CFLAGS="$CFLAGS"
8213 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8215 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8214 cat > conftest.$ac_ext <<EOF 8216 cat > conftest.$ac_ext <<EOF
8215 #line 8216 "configure" 8217 #line 8218 "configure"
8216 #include "confdefs.h" 8218 #include "confdefs.h"
8217 8219
8218 int main() { 8220 int main() {
8219 int x=0; 8221 int x=0;
8220 ; return 0; } 8222 ; return 0; }
8221 EOF 8223 EOF
8222 if { (eval echo configure:8223: \"$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
8223 rm -rf conftest* 8225 rm -rf conftest*
8224 8226
8225 # 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
8226 # reports no error. So, we need to grep stderr for (Bundled). 8228 # reports no error. So, we need to grep stderr for (Bundled).
8227 if grep '(Bundled)' config.log >/dev/null; then 8229 if grep '(Bundled)' config.log >/dev/null; then
8248 if test "$can_build_shared" = "yes"; then 8250 if test "$can_build_shared" = "yes"; then
8249 cc_produces_so=no 8251 cc_produces_so=no
8250 xldf= 8252 xldf=
8251 xcldf= 8253 xcldf=
8252 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
8253 echo "configure:8254: checking if C compiler can produce shared libraries" >&5 8255 echo "configure:8256: checking if C compiler can produce shared libraries" >&5
8254 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8256 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8255 case "$xehost_os" in 8257 case "$xehost_os" in
8256 *darwin*) 8258 *darwin*)
8257 xcldf='-bundle' 8259 xcldf='-bundle'
8258 xldf='-bundle -bundle_loader ../../src/xemacs' 8260 xldf='-bundle -bundle_loader ../../src/xemacs'
8307 LDFLAGS="$xcldf $LDFLAGS" 8309 LDFLAGS="$xcldf $LDFLAGS"
8308 LIBS= 8310 LIBS=
8309 xe_libs= 8311 xe_libs=
8310 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'
8311 cat > conftest.$ac_ext <<EOF 8313 cat > conftest.$ac_ext <<EOF
8312 #line 8313 "configure" 8314 #line 8315 "configure"
8313 #include "confdefs.h" 8315 #include "confdefs.h"
8314 8316
8315 int main() { 8317 int main() {
8316 int x=0; 8318 int x=0;
8317 ; return 0; } 8319 ; return 0; }
8318 EOF 8320 EOF
8319 if { (eval echo configure:8320: \"$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
8320 rm -rf conftest* 8322 rm -rf conftest*
8321 cc_produces_so=yes 8323 cc_produces_so=yes
8322 else 8324 else
8323 echo "configure: failed program was:" >&5 8325 echo "configure: failed program was:" >&5
8324 cat conftest.$ac_ext >&5 8326 cat conftest.$ac_ext >&5
8339 if test -z "$LTLD"; then 8341 if test -z "$LTLD"; then
8340 ac_prog=ld 8342 ac_prog=ld
8341 if test "$XEGCC" = yes; then 8343 if test "$XEGCC" = yes; then
8342 # Check if gcc -print-prog-name=ld gives a path. 8344 # Check if gcc -print-prog-name=ld gives a path.
8343 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
8344 echo "configure:8345: checking for ld used by GCC" >&5 8346 echo "configure:8347: checking for ld used by GCC" >&5
8345 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8347 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8346 case "$ac_prog" in 8348 case "$ac_prog" in
8347 # Accept absolute paths. 8349 # Accept absolute paths.
8348 /*) 8350 /*)
8349 if test -z "$LTLD"; then 8351 if test -z "$LTLD"; then
8365 with_gnu_ld=unknown 8367 with_gnu_ld=unknown
8366 ;; 8368 ;;
8367 esac 8369 esac
8368 else 8370 else
8369 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8371 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8370 echo "configure:8371: checking for GNU ld" >&5 8372 echo "configure:8373: checking for GNU ld" >&5
8371 fi 8373 fi
8372 8374
8373 if test -z "$LTLD"; then 8375 if test -z "$LTLD"; then
8374 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8375 for ac_dir in $PATH; do 8377 for ac_dir in $PATH; do
8403 8405
8404 ld_dynamic_link_flags= 8406 ld_dynamic_link_flags=
8405 8407
8406 # 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.
8407 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
8408 echo "configure:8409: checking if the linker is GNU ld" >&5 8410 echo "configure:8411: checking if the linker is GNU ld" >&5
8409 # 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.
8410 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
8411 xe_gnu_ld=yes 8413 xe_gnu_ld=yes
8412 else 8414 else
8413 xe_gnu_ld=no 8415 xe_gnu_ld=no
8438 ld_shlibs=yes 8440 ld_shlibs=yes
8439 else 8441 else
8440 # OK - only NOW do we futz about with ld. 8442 # OK - only NOW do we futz about with ld.
8441 # See if the linker supports building shared libraries. 8443 # See if the linker supports building shared libraries.
8442 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
8443 echo "configure:8444: checking whether the linker supports shared libraries" >&5 8445 echo "configure:8446: checking whether the linker supports shared libraries" >&5
8444 dll_ld=$CC 8446 dll_ld=$CC
8445 dll_ldflags=$LDFLAGS 8447 dll_ldflags=$LDFLAGS
8446 ld_shlibs=yes 8448 ld_shlibs=yes
8447 can_build_shared=yes 8449 can_build_shared=yes
8448 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
8651 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
8652 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
8653 for ac_func in dlerror _dlerror 8655 for ac_func in dlerror _dlerror
8654 do 8656 do
8655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8656 echo "configure:8657: checking for $ac_func" >&5 8658 echo "configure:8659: checking for $ac_func" >&5
8657 8659
8658 cat > conftest.$ac_ext <<EOF 8660 cat > conftest.$ac_ext <<EOF
8659 #line 8660 "configure" 8661 #line 8662 "configure"
8660 #include "confdefs.h" 8662 #include "confdefs.h"
8661 /* System header to define __stub macros and hopefully few prototypes, 8663 /* System header to define __stub macros and hopefully few prototypes,
8662 which can conflict with char $ac_func(); below. */ 8664 which can conflict with char $ac_func(); below. */
8663 #include <assert.h> 8665 #include <assert.h>
8664 /* Override any gcc2 internal prototype to avoid an error. */ 8666 /* Override any gcc2 internal prototype to avoid an error. */
8677 $ac_func(); 8679 $ac_func();
8678 #endif 8680 #endif
8679 8681
8680 ; return 0; } 8682 ; return 0; }
8681 EOF 8683 EOF
8682 if { (eval echo configure:8683: \"$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
8683 rm -rf conftest* 8685 rm -rf conftest*
8684 eval "ac_cv_func_$ac_func=yes" 8686 eval "ac_cv_func_$ac_func=yes"
8685 else 8687 else
8686 echo "configure: failed program was:" >&5 8688 echo "configure: failed program was:" >&5
8687 cat conftest.$ac_ext >&5 8689 cat conftest.$ac_ext >&5
8741 8743
8742 if test "$with_tooltalk" != "no" ; then 8744 if test "$with_tooltalk" != "no" ; then
8743 for dir in "" "Tt/" "desktop/" ; do 8745 for dir in "" "Tt/" "desktop/" ; do
8744 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8746 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8745 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
8746 echo "configure:8747: checking for ${dir}tt_c.h" >&5 8748 echo "configure:8749: checking for ${dir}tt_c.h" >&5
8747 8749
8748 cat > conftest.$ac_ext <<EOF 8750 cat > conftest.$ac_ext <<EOF
8749 #line 8750 "configure" 8751 #line 8752 "configure"
8750 #include "confdefs.h" 8752 #include "confdefs.h"
8751 #include <${dir}tt_c.h> 8753 #include <${dir}tt_c.h>
8752 EOF 8754 EOF
8753 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"
8754 { (eval echo configure:8755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8756 { (eval echo configure:8757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8756 if test -z "$ac_err"; then 8758 if test -z "$ac_err"; then
8757 rm -rf conftest* 8759 rm -rf conftest*
8758 eval "ac_cv_header_$ac_safe=yes" 8760 eval "ac_cv_header_$ac_safe=yes"
8759 else 8761 else
8785 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8787 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8786 8788
8787 xe_msg_checking="for tt_message_create in -ltt" 8789 xe_msg_checking="for tt_message_create in -ltt"
8788 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"
8789 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8791 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8790 echo "configure:8791: checking "$xe_msg_checking"" >&5 8792 echo "configure:8793: checking "$xe_msg_checking"" >&5
8791 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8793 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8792 8794
8793 xe_check_libs=" -ltt $extra_libs" 8795 xe_check_libs=" -ltt $extra_libs"
8794 cat > conftest.$ac_ext <<EOF 8796 cat > conftest.$ac_ext <<EOF
8795 #line 8796 "configure" 8797 #line 8798 "configure"
8796 #include "confdefs.h" 8798 #include "confdefs.h"
8797 /* Override any gcc2 internal prototype to avoid an error. */ 8799 /* Override any gcc2 internal prototype to avoid an error. */
8798 /* 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
8799 builtin and then its argument prototype would still apply. */ 8801 builtin and then its argument prototype would still apply. */
8800 char tt_message_create(); 8802 char tt_message_create();
8801 8803
8802 int main() { 8804 int main() {
8803 tt_message_create() 8805 tt_message_create()
8804 ; return 0; } 8806 ; return 0; }
8805 EOF 8807 EOF
8806 if { (eval echo configure:8807: \"$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
8807 rm -rf conftest* 8809 rm -rf conftest*
8808 eval "ac_cv_lib_$ac_lib_var=yes" 8810 eval "ac_cv_lib_$ac_lib_var=yes"
8809 else 8811 else
8810 echo "configure: failed program was:" >&5 8812 echo "configure: failed program was:" >&5
8811 cat conftest.$ac_ext >&5 8813 cat conftest.$ac_ext >&5
8855 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
8856 fi 8858 fi
8857 8859
8858 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_%'`
8859 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
8860 echo "configure:8861: checking for Dt/Dt.h" >&5 8862 echo "configure:8863: checking for Dt/Dt.h" >&5
8861 8863
8862 cat > conftest.$ac_ext <<EOF 8864 cat > conftest.$ac_ext <<EOF
8863 #line 8864 "configure" 8865 #line 8866 "configure"
8864 #include "confdefs.h" 8866 #include "confdefs.h"
8865 #include <Dt/Dt.h> 8867 #include <Dt/Dt.h>
8866 EOF 8868 EOF
8867 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"
8868 { (eval echo configure:8869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8870 { (eval echo configure:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8870 if test -z "$ac_err"; then 8872 if test -z "$ac_err"; then
8871 rm -rf conftest* 8873 rm -rf conftest*
8872 eval "ac_cv_header_$ac_safe=yes" 8874 eval "ac_cv_header_$ac_safe=yes"
8873 else 8875 else
8886 with_cde=no 8888 with_cde=no
8887 fi 8889 fi
8888 } 8890 }
8889 test -z "$with_cde" && { 8891 test -z "$with_cde" && {
8890 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
8891 echo "configure:8892: checking for DtDndDragStart in -lDtSvc" >&5 8893 echo "configure:8894: checking for DtDndDragStart in -lDtSvc" >&5
8892 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8894 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8893 8895
8894 xe_check_libs=" -lDtSvc " 8896 xe_check_libs=" -lDtSvc "
8895 cat > conftest.$ac_ext <<EOF 8897 cat > conftest.$ac_ext <<EOF
8896 #line 8897 "configure" 8898 #line 8899 "configure"
8897 #include "confdefs.h" 8899 #include "confdefs.h"
8898 /* Override any gcc2 internal prototype to avoid an error. */ 8900 /* Override any gcc2 internal prototype to avoid an error. */
8899 /* 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
8900 builtin and then its argument prototype would still apply. */ 8902 builtin and then its argument prototype would still apply. */
8901 char DtDndDragStart(); 8903 char DtDndDragStart();
8902 8904
8903 int main() { 8905 int main() {
8904 DtDndDragStart() 8906 DtDndDragStart()
8905 ; return 0; } 8907 ; return 0; }
8906 EOF 8908 EOF
8907 if { (eval echo configure:8908: \"$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
8908 rm -rf conftest* 8910 rm -rf conftest*
8909 eval "ac_cv_lib_$ac_lib_var=yes" 8911 eval "ac_cv_lib_$ac_lib_var=yes"
8910 else 8912 else
8911 echo "configure: failed program was:" >&5 8913 echo "configure: failed program was:" >&5
8912 cat conftest.$ac_ext >&5 8914 cat conftest.$ac_ext >&5
8983 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
8984 fi 8986 fi
8985 8987
8986 if test "$with_dragndrop" != "no" ; then 8988 if test "$with_dragndrop" != "no" ; then
8987 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
8988 echo "configure:8989: checking if drag and drop API is needed" >&5 8990 echo "configure:8991: checking if drag and drop API is needed" >&5
8989 if test -n "$dragndrop_proto" ; then 8991 if test -n "$dragndrop_proto" ; then
8990 with_dragndrop=yes 8992 with_dragndrop=yes
8991 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 8993 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
8992 { test "$extra_verbose" = "yes" && cat << \EOF 8994 { test "$extra_verbose" = "yes" && cat << \EOF
8993 Defining HAVE_DRAGNDROP 8995 Defining HAVE_DRAGNDROP
9003 echo "$ac_t""no" 1>&6 9005 echo "$ac_t""no" 1>&6
9004 fi 9006 fi
9005 fi 9007 fi
9006 9008
9007 echo "checking for LDAP" 1>&6 9009 echo "checking for LDAP" 1>&6
9008 echo "configure:9009: checking for LDAP" >&5 9010 echo "configure:9011: checking for LDAP" >&5
9009 ldap_libs= 9011 ldap_libs=
9010 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_%'`
9011 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 9013 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
9012 echo "configure:9013: checking for ldap.h" >&5 9014 echo "configure:9015: checking for ldap.h" >&5
9013 9015
9014 cat > conftest.$ac_ext <<EOF 9016 cat > conftest.$ac_ext <<EOF
9015 #line 9016 "configure" 9017 #line 9018 "configure"
9016 #include "confdefs.h" 9018 #include "confdefs.h"
9017 #include <ldap.h> 9019 #include <ldap.h>
9018 EOF 9020 EOF
9019 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"
9020 { (eval echo configure:9021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9022 { (eval echo configure:9023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9022 if test -z "$ac_err"; then 9024 if test -z "$ac_err"; then
9023 rm -rf conftest* 9025 rm -rf conftest*
9024 eval "ac_cv_header_$ac_safe=yes" 9026 eval "ac_cv_header_$ac_safe=yes"
9025 else 9027 else
9038 with_ldap=no 9040 with_ldap=no
9039 fi 9041 fi
9040 } 9042 }
9041 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_%'`
9042 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 9044 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
9043 echo "configure:9044: checking for lber.h" >&5 9045 echo "configure:9046: checking for lber.h" >&5
9044 9046
9045 cat > conftest.$ac_ext <<EOF 9047 cat > conftest.$ac_ext <<EOF
9046 #line 9047 "configure" 9048 #line 9049 "configure"
9047 #include "confdefs.h" 9049 #include "confdefs.h"
9048 #include <lber.h> 9050 #include <lber.h>
9049 EOF 9051 EOF
9050 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"
9051 { (eval echo configure:9052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9053 { (eval echo configure:9054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9053 if test -z "$ac_err"; then 9055 if test -z "$ac_err"; then
9054 rm -rf conftest* 9056 rm -rf conftest*
9055 eval "ac_cv_header_$ac_safe=yes" 9057 eval "ac_cv_header_$ac_safe=yes"
9056 else 9058 else
9070 fi 9072 fi
9071 } 9073 }
9072 if test "$with_ldap" != "no"; then 9074 if test "$with_ldap" != "no"; then
9073 9075
9074 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
9075 echo "configure:9076: checking for ldap_search in -lldap" >&5 9077 echo "configure:9078: checking for ldap_search in -lldap" >&5
9076 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 9078 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
9077 9079
9078 xe_check_libs=" -lldap " 9080 xe_check_libs=" -lldap "
9079 cat > conftest.$ac_ext <<EOF 9081 cat > conftest.$ac_ext <<EOF
9080 #line 9081 "configure" 9082 #line 9083 "configure"
9081 #include "confdefs.h" 9083 #include "confdefs.h"
9082 /* Override any gcc2 internal prototype to avoid an error. */ 9084 /* Override any gcc2 internal prototype to avoid an error. */
9083 /* 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
9084 builtin and then its argument prototype would still apply. */ 9086 builtin and then its argument prototype would still apply. */
9085 char ldap_search(); 9087 char ldap_search();
9086 9088
9087 int main() { 9089 int main() {
9088 ldap_search() 9090 ldap_search()
9089 ; return 0; } 9091 ; return 0; }
9090 EOF 9092 EOF
9091 if { (eval echo configure:9092: \"$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
9092 rm -rf conftest* 9094 rm -rf conftest*
9093 eval "ac_cv_lib_$ac_lib_var=yes" 9095 eval "ac_cv_lib_$ac_lib_var=yes"
9094 else 9096 else
9095 echo "configure: failed program was:" >&5 9097 echo "configure: failed program was:" >&5
9096 cat conftest.$ac_ext >&5 9098 cat conftest.$ac_ext >&5
9111 9113
9112 test "$with_ldap_nolber" = "no" && { 9114 test "$with_ldap_nolber" = "no" && {
9113 xe_msg_checking="for ldap_open in -lldap" 9115 xe_msg_checking="for ldap_open in -lldap"
9114 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"
9115 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9117 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9116 echo "configure:9117: checking "$xe_msg_checking"" >&5 9118 echo "configure:9119: checking "$xe_msg_checking"" >&5
9117 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9119 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9118 9120
9119 xe_check_libs=" -lldap -llber" 9121 xe_check_libs=" -lldap -llber"
9120 cat > conftest.$ac_ext <<EOF 9122 cat > conftest.$ac_ext <<EOF
9121 #line 9122 "configure" 9123 #line 9124 "configure"
9122 #include "confdefs.h" 9124 #include "confdefs.h"
9123 /* Override any gcc2 internal prototype to avoid an error. */ 9125 /* Override any gcc2 internal prototype to avoid an error. */
9124 /* 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
9125 builtin and then its argument prototype would still apply. */ 9127 builtin and then its argument prototype would still apply. */
9126 char ldap_open(); 9128 char ldap_open();
9127 9129
9128 int main() { 9130 int main() {
9129 ldap_open() 9131 ldap_open()
9130 ; return 0; } 9132 ; return 0; }
9131 EOF 9133 EOF
9132 if { (eval echo configure:9133: \"$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
9133 rm -rf conftest* 9135 rm -rf conftest*
9134 eval "ac_cv_lib_$ac_lib_var=yes" 9136 eval "ac_cv_lib_$ac_lib_var=yes"
9135 else 9137 else
9136 echo "configure: failed program was:" >&5 9138 echo "configure: failed program was:" >&5
9137 cat conftest.$ac_ext >&5 9139 cat conftest.$ac_ext >&5
9152 } 9154 }
9153 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 9155 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
9154 xe_msg_checking="for ldap_open in -lldap" 9156 xe_msg_checking="for ldap_open in -lldap"
9155 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"
9156 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9158 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9157 echo "configure:9158: checking "$xe_msg_checking"" >&5 9159 echo "configure:9160: checking "$xe_msg_checking"" >&5
9158 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9160 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9159 9161
9160 xe_check_libs=" -lldap -llber -lkrb" 9162 xe_check_libs=" -lldap -llber -lkrb"
9161 cat > conftest.$ac_ext <<EOF 9163 cat > conftest.$ac_ext <<EOF
9162 #line 9163 "configure" 9164 #line 9165 "configure"
9163 #include "confdefs.h" 9165 #include "confdefs.h"
9164 /* Override any gcc2 internal prototype to avoid an error. */ 9166 /* Override any gcc2 internal prototype to avoid an error. */
9165 /* 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
9166 builtin and then its argument prototype would still apply. */ 9168 builtin and then its argument prototype would still apply. */
9167 char ldap_open(); 9169 char ldap_open();
9168 9170
9169 int main() { 9171 int main() {
9170 ldap_open() 9172 ldap_open()
9171 ; return 0; } 9173 ; return 0; }
9172 EOF 9174 EOF
9173 if { (eval echo configure:9174: \"$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
9174 rm -rf conftest* 9176 rm -rf conftest*
9175 eval "ac_cv_lib_$ac_lib_var=yes" 9177 eval "ac_cv_lib_$ac_lib_var=yes"
9176 else 9178 else
9177 echo "configure: failed program was:" >&5 9179 echo "configure: failed program was:" >&5
9178 cat conftest.$ac_ext >&5 9180 cat conftest.$ac_ext >&5
9193 } 9195 }
9194 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" && {
9195 xe_msg_checking="for ldap_open in -lldap" 9197 xe_msg_checking="for ldap_open in -lldap"
9196 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"
9197 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9199 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9198 echo "configure:9199: checking "$xe_msg_checking"" >&5 9200 echo "configure:9201: checking "$xe_msg_checking"" >&5
9199 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9201 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9200 9202
9201 xe_check_libs=" -lldap -llber -lkrb -ldes" 9203 xe_check_libs=" -lldap -llber -lkrb -ldes"
9202 cat > conftest.$ac_ext <<EOF 9204 cat > conftest.$ac_ext <<EOF
9203 #line 9204 "configure" 9205 #line 9206 "configure"
9204 #include "confdefs.h" 9206 #include "confdefs.h"
9205 /* Override any gcc2 internal prototype to avoid an error. */ 9207 /* Override any gcc2 internal prototype to avoid an error. */
9206 /* 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
9207 builtin and then its argument prototype would still apply. */ 9209 builtin and then its argument prototype would still apply. */
9208 char ldap_open(); 9210 char ldap_open();
9209 9211
9210 int main() { 9212 int main() {
9211 ldap_open() 9213 ldap_open()
9212 ; return 0; } 9214 ; return 0; }
9213 EOF 9215 EOF
9214 if { (eval echo configure:9215: \"$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
9215 rm -rf conftest* 9217 rm -rf conftest*
9216 eval "ac_cv_lib_$ac_lib_var=yes" 9218 eval "ac_cv_lib_$ac_lib_var=yes"
9217 else 9219 else
9218 echo "configure: failed program was:" >&5 9220 echo "configure: failed program was:" >&5
9219 cat conftest.$ac_ext >&5 9221 cat conftest.$ac_ext >&5
9258 fi 9260 fi
9259 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9261 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9260 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
9261 do 9263 do
9262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9263 echo "configure:9264: checking for $ac_func" >&5 9265 echo "configure:9266: checking for $ac_func" >&5
9264 9266
9265 cat > conftest.$ac_ext <<EOF 9267 cat > conftest.$ac_ext <<EOF
9266 #line 9267 "configure" 9268 #line 9269 "configure"
9267 #include "confdefs.h" 9269 #include "confdefs.h"
9268 /* System header to define __stub macros and hopefully few prototypes, 9270 /* System header to define __stub macros and hopefully few prototypes,
9269 which can conflict with char $ac_func(); below. */ 9271 which can conflict with char $ac_func(); below. */
9270 #include <assert.h> 9272 #include <assert.h>
9271 /* Override any gcc2 internal prototype to avoid an error. */ 9273 /* Override any gcc2 internal prototype to avoid an error. */
9284 $ac_func(); 9286 $ac_func();
9285 #endif 9287 #endif
9286 9288
9287 ; return 0; } 9289 ; return 0; }
9288 EOF 9290 EOF
9289 if { (eval echo configure:9290: \"$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
9290 rm -rf conftest* 9292 rm -rf conftest*
9291 eval "ac_cv_func_$ac_func=yes" 9293 eval "ac_cv_func_$ac_func=yes"
9292 else 9294 else
9293 echo "configure: failed program was:" >&5 9295 echo "configure: failed program was:" >&5
9294 cat conftest.$ac_ext >&5 9296 cat conftest.$ac_ext >&5
9323 9325
9324 9326
9325 postgresql_libs= 9327 postgresql_libs=
9326 if test "$with_postgresql" != "no"; then 9328 if test "$with_postgresql" != "no"; then
9327 echo "checking for PostgreSQL" 1>&6 9329 echo "checking for PostgreSQL" 1>&6
9328 echo "configure:9329: checking for PostgreSQL" >&5 9330 echo "configure:9331: checking for PostgreSQL" >&5
9329 9331
9330 for header_dir in "" "pgsql/" "postgresql/"; do 9332 for header_dir in "" "pgsql/" "postgresql/"; do
9331 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9333 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9332 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
9333 echo "configure:9334: checking for ${header_dir}libpq-fe.h" >&5 9335 echo "configure:9336: checking for ${header_dir}libpq-fe.h" >&5
9334 9336
9335 cat > conftest.$ac_ext <<EOF 9337 cat > conftest.$ac_ext <<EOF
9336 #line 9337 "configure" 9338 #line 9339 "configure"
9337 #include "confdefs.h" 9339 #include "confdefs.h"
9338 #include <${header_dir}libpq-fe.h> 9340 #include <${header_dir}libpq-fe.h>
9339 EOF 9341 EOF
9340 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"
9341 { (eval echo configure:9342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9343 { (eval echo configure:9344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9343 if test -z "$ac_err"; then 9345 if test -z "$ac_err"; then
9344 rm -rf conftest* 9346 rm -rf conftest*
9345 eval "ac_cv_header_$ac_safe=yes" 9347 eval "ac_cv_header_$ac_safe=yes"
9346 else 9348 else
9360 9362
9361 done 9363 done
9362 9364
9363 test -n "$libpq_fe_h_file" && { 9365 test -n "$libpq_fe_h_file" && {
9364 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
9365 echo "configure:9366: checking for PQconnectdb in -lpq" >&5 9367 echo "configure:9368: checking for PQconnectdb in -lpq" >&5
9366 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9368 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9367 9369
9368 xe_check_libs=" -lpq " 9370 xe_check_libs=" -lpq "
9369 cat > conftest.$ac_ext <<EOF 9371 cat > conftest.$ac_ext <<EOF
9370 #line 9371 "configure" 9372 #line 9373 "configure"
9371 #include "confdefs.h" 9373 #include "confdefs.h"
9372 /* Override any gcc2 internal prototype to avoid an error. */ 9374 /* Override any gcc2 internal prototype to avoid an error. */
9373 /* 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
9374 builtin and then its argument prototype would still apply. */ 9376 builtin and then its argument prototype would still apply. */
9375 char PQconnectdb(); 9377 char PQconnectdb();
9376 9378
9377 int main() { 9379 int main() {
9378 PQconnectdb() 9380 PQconnectdb()
9379 ; return 0; } 9381 ; return 0; }
9380 EOF 9382 EOF
9381 if { (eval echo configure:9382: \"$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
9382 rm -rf conftest* 9384 rm -rf conftest*
9383 eval "ac_cv_lib_$ac_lib_var=yes" 9385 eval "ac_cv_lib_$ac_lib_var=yes"
9384 else 9386 else
9385 echo "configure: failed program was:" >&5 9387 echo "configure: failed program was:" >&5
9386 cat conftest.$ac_ext >&5 9388 cat conftest.$ac_ext >&5
9409 EOF 9411 EOF
9410 } 9412 }
9411 9413
9412 9414
9413 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
9414 echo "configure:9415: checking for PQconnectStart in -lpq" >&5 9416 echo "configure:9417: checking for PQconnectStart in -lpq" >&5
9415 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9417 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9416 9418
9417 xe_check_libs=" -lpq " 9419 xe_check_libs=" -lpq "
9418 cat > conftest.$ac_ext <<EOF 9420 cat > conftest.$ac_ext <<EOF
9419 #line 9420 "configure" 9421 #line 9422 "configure"
9420 #include "confdefs.h" 9422 #include "confdefs.h"
9421 /* Override any gcc2 internal prototype to avoid an error. */ 9423 /* Override any gcc2 internal prototype to avoid an error. */
9422 /* 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
9423 builtin and then its argument prototype would still apply. */ 9425 builtin and then its argument prototype would still apply. */
9424 char PQconnectStart(); 9426 char PQconnectStart();
9425 9427
9426 int main() { 9428 int main() {
9427 PQconnectStart() 9429 PQconnectStart()
9428 ; return 0; } 9430 ; return 0; }
9429 EOF 9431 EOF
9430 if { (eval echo configure:9431: \"$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
9431 rm -rf conftest* 9433 rm -rf conftest*
9432 eval "ac_cv_lib_$ac_lib_var=yes" 9434 eval "ac_cv_lib_$ac_lib_var=yes"
9433 else 9435 else
9434 echo "configure: failed program was:" >&5 9436 echo "configure: failed program was:" >&5
9435 cat conftest.$ac_ext >&5 9437 cat conftest.$ac_ext >&5
9476 9478
9477 9479
9478 9480
9479 if test "$window_system" != "none"; then 9481 if test "$window_system" != "none"; then
9480 echo "checking for graphics libraries" 1>&6 9482 echo "checking for graphics libraries" 1>&6
9481 echo "configure:9482: checking for graphics libraries" >&5 9483 echo "configure:9484: checking for graphics libraries" >&5
9482 9484
9483 libpath_xpm= 9485 libpath_xpm=
9484 incpath_xpm= 9486 incpath_xpm=
9485 case "$opsys" in 9487 case "$opsys" in
9486 cygwin*) 9488 cygwin*)
9502 xpm_problem="" 9504 xpm_problem=""
9503 if test -z "$with_xpm"; then 9505 if test -z "$with_xpm"; then
9504 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
9505 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
9506 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
9507 echo "configure:9508: checking for Xpm - no older than 3.4f" >&5 9509 echo "configure:9510: checking for Xpm - no older than 3.4f" >&5
9508 xe_check_libs=-lXpm 9510 xe_check_libs=-lXpm
9509 cat > conftest.$ac_ext <<EOF 9511 cat > conftest.$ac_ext <<EOF
9510 #line 9511 "configure" 9512 #line 9513 "configure"
9511 #include "confdefs.h" 9513 #include "confdefs.h"
9512 #define XPM_NUMBERS 9514 #define XPM_NUMBERS
9513 #include <X11/xpm.h> 9515 #include <X11/xpm.h>
9514 int main(int c, char **v) { 9516 int main(int c, char **v) {
9515 return c == 1 ? 0 : 9517 return c == 1 ? 0 :
9516 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9518 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9517 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9519 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9518 EOF 9520 EOF
9519 if { (eval echo configure:9520: \"$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
9520 then 9522 then
9521 ./conftest dummy_arg; xpm_status=$?; 9523 ./conftest dummy_arg; xpm_status=$?;
9522 if test "$xpm_status" = "0"; then 9524 if test "$xpm_status" = "0"; then
9523 with_xpm=yes; 9525 with_xpm=yes;
9524 else 9526 else
9558 9560
9559 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
9560 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
9561 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
9562 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
9563 echo "configure:9564: checking for \"FOR_MSW\" xpm" >&5 9565 echo "configure:9566: checking for \"FOR_MSW\" xpm" >&5
9564 xe_check_libs=-lXpm 9566 xe_check_libs=-lXpm
9565 cat > conftest.$ac_ext <<EOF 9567 cat > conftest.$ac_ext <<EOF
9566 #line 9567 "configure" 9568 #line 9569 "configure"
9567 #include "confdefs.h" 9569 #include "confdefs.h"
9568 9570
9569 int main() { 9571 int main() {
9570 XpmCreatePixmapFromData() 9572 XpmCreatePixmapFromData()
9571 ; return 0; } 9573 ; return 0; }
9572 EOF 9574 EOF
9573 if { (eval echo configure:9574: \"$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
9574 rm -rf conftest* 9576 rm -rf conftest*
9575 xpm_for_msw=no 9577 xpm_for_msw=no
9576 else 9578 else
9577 echo "configure: failed program was:" >&5 9579 echo "configure: failed program was:" >&5
9578 cat conftest.$ac_ext >&5 9580 cat conftest.$ac_ext >&5
9594 fi 9596 fi
9595 fi 9597 fi
9596 9598
9597 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_%'`
9598 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9600 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9599 echo "configure:9600: checking for compface.h" >&5 9601 echo "configure:9602: checking for compface.h" >&5
9600 9602
9601 cat > conftest.$ac_ext <<EOF 9603 cat > conftest.$ac_ext <<EOF
9602 #line 9603 "configure" 9604 #line 9605 "configure"
9603 #include "confdefs.h" 9605 #include "confdefs.h"
9604 #include <compface.h> 9606 #include <compface.h>
9605 EOF 9607 EOF
9606 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"
9607 { (eval echo configure:9608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9609 { (eval echo configure:9610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9609 if test -z "$ac_err"; then 9611 if test -z "$ac_err"; then
9610 rm -rf conftest* 9612 rm -rf conftest*
9611 eval "ac_cv_header_$ac_safe=yes" 9613 eval "ac_cv_header_$ac_safe=yes"
9612 else 9614 else
9625 with_xface=no 9627 with_xface=no
9626 fi 9628 fi
9627 } 9629 }
9628 test -z "$with_xface" && { 9630 test -z "$with_xface" && {
9629 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
9630 echo "configure:9631: checking for UnGenFace in -lcompface" >&5 9632 echo "configure:9633: checking for UnGenFace in -lcompface" >&5
9631 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9633 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9632 9634
9633 xe_check_libs=" -lcompface " 9635 xe_check_libs=" -lcompface "
9634 cat > conftest.$ac_ext <<EOF 9636 cat > conftest.$ac_ext <<EOF
9635 #line 9636 "configure" 9637 #line 9638 "configure"
9636 #include "confdefs.h" 9638 #include "confdefs.h"
9637 /* Override any gcc2 internal prototype to avoid an error. */ 9639 /* Override any gcc2 internal prototype to avoid an error. */
9638 /* 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
9639 builtin and then its argument prototype would still apply. */ 9641 builtin and then its argument prototype would still apply. */
9640 char UnGenFace(); 9642 char UnGenFace();
9641 9643
9642 int main() { 9644 int main() {
9643 UnGenFace() 9645 UnGenFace()
9644 ; return 0; } 9646 ; return 0; }
9645 EOF 9647 EOF
9646 if { (eval echo configure:9647: \"$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
9647 rm -rf conftest* 9649 rm -rf conftest*
9648 eval "ac_cv_lib_$ac_lib_var=yes" 9650 eval "ac_cv_lib_$ac_lib_var=yes"
9649 else 9651 else
9650 echo "configure: failed program was:" >&5 9652 echo "configure: failed program was:" >&5
9651 cat conftest.$ac_ext >&5 9653 cat conftest.$ac_ext >&5
9690 fi 9692 fi
9691 9693
9692 if test "$with_png $with_tiff" != "no no"; then 9694 if test "$with_png $with_tiff" != "no no"; then
9693 9695
9694 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
9695 echo "configure:9696: checking for inflate in -lc" >&5 9697 echo "configure:9698: checking for inflate in -lc" >&5
9696 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9698 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9697 9699
9698 xe_check_libs=" -lc " 9700 xe_check_libs=" -lc "
9699 cat > conftest.$ac_ext <<EOF 9701 cat > conftest.$ac_ext <<EOF
9700 #line 9701 "configure" 9702 #line 9703 "configure"
9701 #include "confdefs.h" 9703 #include "confdefs.h"
9702 /* Override any gcc2 internal prototype to avoid an error. */ 9704 /* Override any gcc2 internal prototype to avoid an error. */
9703 /* 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
9704 builtin and then its argument prototype would still apply. */ 9706 builtin and then its argument prototype would still apply. */
9705 char inflate(); 9707 char inflate();
9706 9708
9707 int main() { 9709 int main() {
9708 inflate() 9710 inflate()
9709 ; return 0; } 9711 ; return 0; }
9710 EOF 9712 EOF
9711 if { (eval echo configure:9712: \"$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
9712 rm -rf conftest* 9714 rm -rf conftest*
9713 eval "ac_cv_lib_$ac_lib_var=yes" 9715 eval "ac_cv_lib_$ac_lib_var=yes"
9714 else 9716 else
9715 echo "configure: failed program was:" >&5 9717 echo "configure: failed program was:" >&5
9716 cat conftest.$ac_ext >&5 9718 cat conftest.$ac_ext >&5
9725 : 9727 :
9726 else 9728 else
9727 echo "$ac_t""no" 1>&6 9729 echo "$ac_t""no" 1>&6
9728 9730
9729 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
9730 echo "configure:9731: checking for inflate in -lz" >&5 9732 echo "configure:9733: checking for inflate in -lz" >&5
9731 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9733 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9732 9734
9733 xe_check_libs=" -lz " 9735 xe_check_libs=" -lz "
9734 cat > conftest.$ac_ext <<EOF 9736 cat > conftest.$ac_ext <<EOF
9735 #line 9736 "configure" 9737 #line 9738 "configure"
9736 #include "confdefs.h" 9738 #include "confdefs.h"
9737 /* Override any gcc2 internal prototype to avoid an error. */ 9739 /* Override any gcc2 internal prototype to avoid an error. */
9738 /* 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
9739 builtin and then its argument prototype would still apply. */ 9741 builtin and then its argument prototype would still apply. */
9740 char inflate(); 9742 char inflate();
9741 9743
9742 int main() { 9744 int main() {
9743 inflate() 9745 inflate()
9744 ; return 0; } 9746 ; return 0; }
9745 EOF 9747 EOF
9746 if { (eval echo configure:9747: \"$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
9747 rm -rf conftest* 9749 rm -rf conftest*
9748 eval "ac_cv_lib_$ac_lib_var=yes" 9750 eval "ac_cv_lib_$ac_lib_var=yes"
9749 else 9751 else
9750 echo "configure: failed program was:" >&5 9752 echo "configure: failed program was:" >&5
9751 cat conftest.$ac_ext >&5 9753 cat conftest.$ac_ext >&5
9760 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
9761 else 9763 else
9762 echo "$ac_t""no" 1>&6 9764 echo "$ac_t""no" 1>&6
9763 9765
9764 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
9765 echo "configure:9766: checking for inflate in -lgz" >&5 9767 echo "configure:9768: checking for inflate in -lgz" >&5
9766 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9768 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9767 9769
9768 xe_check_libs=" -lgz " 9770 xe_check_libs=" -lgz "
9769 cat > conftest.$ac_ext <<EOF 9771 cat > conftest.$ac_ext <<EOF
9770 #line 9771 "configure" 9772 #line 9773 "configure"
9771 #include "confdefs.h" 9773 #include "confdefs.h"
9772 /* Override any gcc2 internal prototype to avoid an error. */ 9774 /* Override any gcc2 internal prototype to avoid an error. */
9773 /* 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
9774 builtin and then its argument prototype would still apply. */ 9776 builtin and then its argument prototype would still apply. */
9775 char inflate(); 9777 char inflate();
9776 9778
9777 int main() { 9779 int main() {
9778 inflate() 9780 inflate()
9779 ; return 0; } 9781 ; return 0; }
9780 EOF 9782 EOF
9781 if { (eval echo configure:9782: \"$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
9782 rm -rf conftest* 9784 rm -rf conftest*
9783 eval "ac_cv_lib_$ac_lib_var=yes" 9785 eval "ac_cv_lib_$ac_lib_var=yes"
9784 else 9786 else
9785 echo "configure: failed program was:" >&5 9787 echo "configure: failed program was:" >&5
9786 cat conftest.$ac_ext >&5 9788 cat conftest.$ac_ext >&5
9806 9808
9807 fi 9809 fi
9808 9810
9809 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_%'`
9810 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9812 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9811 echo "configure:9812: checking for jpeglib.h" >&5 9813 echo "configure:9814: checking for jpeglib.h" >&5
9812 9814
9813 cat > conftest.$ac_ext <<EOF 9815 cat > conftest.$ac_ext <<EOF
9814 #line 9815 "configure" 9816 #line 9817 "configure"
9815 #include "confdefs.h" 9817 #include "confdefs.h"
9816 #include <jpeglib.h> 9818 #include <jpeglib.h>
9817 EOF 9819 EOF
9818 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"
9819 { (eval echo configure:9820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9821 { (eval echo configure:9822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9821 if test -z "$ac_err"; then 9823 if test -z "$ac_err"; then
9822 rm -rf conftest* 9824 rm -rf conftest*
9823 eval "ac_cv_header_$ac_safe=yes" 9825 eval "ac_cv_header_$ac_safe=yes"
9824 else 9826 else
9837 with_jpeg=no 9839 with_jpeg=no
9838 fi 9840 fi
9839 } 9841 }
9840 test -z "$with_jpeg" && { 9842 test -z "$with_jpeg" && {
9841 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
9842 echo "configure:9843: checking for jpeg_destroy_decompress in -ljpeg" >&5 9844 echo "configure:9845: checking for jpeg_destroy_decompress in -ljpeg" >&5
9843 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9845 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9844 9846
9845 xe_check_libs=" -ljpeg " 9847 xe_check_libs=" -ljpeg "
9846 cat > conftest.$ac_ext <<EOF 9848 cat > conftest.$ac_ext <<EOF
9847 #line 9848 "configure" 9849 #line 9850 "configure"
9848 #include "confdefs.h" 9850 #include "confdefs.h"
9849 /* Override any gcc2 internal prototype to avoid an error. */ 9851 /* Override any gcc2 internal prototype to avoid an error. */
9850 /* 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
9851 builtin and then its argument prototype would still apply. */ 9853 builtin and then its argument prototype would still apply. */
9852 char jpeg_destroy_decompress(); 9854 char jpeg_destroy_decompress();
9853 9855
9854 int main() { 9856 int main() {
9855 jpeg_destroy_decompress() 9857 jpeg_destroy_decompress()
9856 ; return 0; } 9858 ; return 0; }
9857 EOF 9859 EOF
9858 if { (eval echo configure:9859: \"$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
9859 rm -rf conftest* 9861 rm -rf conftest*
9860 eval "ac_cv_lib_$ac_lib_var=yes" 9862 eval "ac_cv_lib_$ac_lib_var=yes"
9861 else 9863 else
9862 echo "configure: failed program was:" >&5 9864 echo "configure: failed program was:" >&5
9863 cat conftest.$ac_ext >&5 9865 cat conftest.$ac_ext >&5
9889 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
9890 fi 9892 fi
9891 9893
9892 png_problem="" 9894 png_problem=""
9893 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
9894 echo "configure:9895: checking for pow" >&5 9896 echo "configure:9897: checking for pow" >&5
9895 9897
9896 cat > conftest.$ac_ext <<EOF 9898 cat > conftest.$ac_ext <<EOF
9897 #line 9898 "configure" 9899 #line 9900 "configure"
9898 #include "confdefs.h" 9900 #include "confdefs.h"
9899 /* System header to define __stub macros and hopefully few prototypes, 9901 /* System header to define __stub macros and hopefully few prototypes,
9900 which can conflict with char pow(); below. */ 9902 which can conflict with char pow(); below. */
9901 #include <assert.h> 9903 #include <assert.h>
9902 /* Override any gcc2 internal prototype to avoid an error. */ 9904 /* Override any gcc2 internal prototype to avoid an error. */
9915 pow(); 9917 pow();
9916 #endif 9918 #endif
9917 9919
9918 ; return 0; } 9920 ; return 0; }
9919 EOF 9921 EOF
9920 if { (eval echo configure:9921: \"$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
9921 rm -rf conftest* 9923 rm -rf conftest*
9922 eval "ac_cv_func_pow=yes" 9924 eval "ac_cv_func_pow=yes"
9923 else 9925 else
9924 echo "configure: failed program was:" >&5 9926 echo "configure: failed program was:" >&5
9925 cat conftest.$ac_ext >&5 9927 cat conftest.$ac_ext >&5
9936 with_png=no 9938 with_png=no
9937 fi 9939 fi
9938 } 9940 }
9939 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_%'`
9940 echo $ac_n "checking for png.h""... $ac_c" 1>&6 9942 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9941 echo "configure:9942: checking for png.h" >&5 9943 echo "configure:9944: checking for png.h" >&5
9942 9944
9943 cat > conftest.$ac_ext <<EOF 9945 cat > conftest.$ac_ext <<EOF
9944 #line 9945 "configure" 9946 #line 9947 "configure"
9945 #include "confdefs.h" 9947 #include "confdefs.h"
9946 #include <png.h> 9948 #include <png.h>
9947 EOF 9949 EOF
9948 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"
9949 { (eval echo configure:9950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9951 { (eval echo configure:9952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9951 if test -z "$ac_err"; then 9953 if test -z "$ac_err"; then
9952 rm -rf conftest* 9954 rm -rf conftest*
9953 eval "ac_cv_header_$ac_safe=yes" 9955 eval "ac_cv_header_$ac_safe=yes"
9954 else 9956 else
9967 with_png=no 9969 with_png=no
9968 fi 9970 fi
9969 } 9971 }
9970 test -z "$with_png" && { 9972 test -z "$with_png" && {
9971 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
9972 echo "configure:9973: checking for png_read_image in -lpng" >&5 9974 echo "configure:9975: checking for png_read_image in -lpng" >&5
9973 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 9975 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
9974 9976
9975 xe_check_libs=" -lpng " 9977 xe_check_libs=" -lpng "
9976 cat > conftest.$ac_ext <<EOF 9978 cat > conftest.$ac_ext <<EOF
9977 #line 9978 "configure" 9979 #line 9980 "configure"
9978 #include "confdefs.h" 9980 #include "confdefs.h"
9979 /* Override any gcc2 internal prototype to avoid an error. */ 9981 /* Override any gcc2 internal prototype to avoid an error. */
9980 /* 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
9981 builtin and then its argument prototype would still apply. */ 9983 builtin and then its argument prototype would still apply. */
9982 char png_read_image(); 9984 char png_read_image();
9983 9985
9984 int main() { 9986 int main() {
9985 png_read_image() 9987 png_read_image()
9986 ; return 0; } 9988 ; return 0; }
9987 EOF 9989 EOF
9988 if { (eval echo configure:9989: \"$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
9989 rm -rf conftest* 9991 rm -rf conftest*
9990 eval "ac_cv_lib_$ac_lib_var=yes" 9992 eval "ac_cv_lib_$ac_lib_var=yes"
9991 else 9993 else
9992 echo "configure: failed program was:" >&5 9994 echo "configure: failed program was:" >&5
9993 cat conftest.$ac_ext >&5 9995 cat conftest.$ac_ext >&5
10006 fi 10008 fi
10007 10009
10008 } 10010 }
10009 if test -z "$with_png"; then 10011 if test -z "$with_png"; then
10010 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
10011 echo "configure:10012: checking for workable png version information" >&5 10013 echo "configure:10014: checking for workable png version information" >&5
10012 xe_check_libs="-lpng -lz" 10014 xe_check_libs="-lpng -lz"
10013 cat > conftest.$ac_ext <<EOF 10015 cat > conftest.$ac_ext <<EOF
10014 #line 10015 "configure" 10016 #line 10017 "configure"
10015 #include "confdefs.h" 10017 #include "confdefs.h"
10016 #include <png.h> 10018 #include <png.h>
10017 int main(int c, char **v) { 10019 int main(int c, char **v) {
10018 if (c == 1) return 0; 10020 if (c == 1) return 0;
10019 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;
10020 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 10022 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
10021 EOF 10023 EOF
10022 if { (eval echo configure:10023: \"$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
10023 then 10025 then
10024 ./conftest dummy_arg; png_status=$?; 10026 ./conftest dummy_arg; png_status=$?;
10025 if test "$png_status" = "0"; then 10027 if test "$png_status" = "0"; then
10026 with_png=yes; 10028 with_png=yes;
10027 else 10029 else
10060 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
10061 fi 10063 fi
10062 10064
10063 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_%'`
10064 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 10066 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10065 echo "configure:10066: checking for tiffio.h" >&5 10067 echo "configure:10068: checking for tiffio.h" >&5
10066 10068
10067 cat > conftest.$ac_ext <<EOF 10069 cat > conftest.$ac_ext <<EOF
10068 #line 10069 "configure" 10070 #line 10071 "configure"
10069 #include "confdefs.h" 10071 #include "confdefs.h"
10070 #include <tiffio.h> 10072 #include <tiffio.h>
10071 EOF 10073 EOF
10072 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"
10073 { (eval echo configure:10074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10075 { (eval echo configure:10076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10075 if test -z "$ac_err"; then 10077 if test -z "$ac_err"; then
10076 rm -rf conftest* 10078 rm -rf conftest*
10077 eval "ac_cv_header_$ac_safe=yes" 10079 eval "ac_cv_header_$ac_safe=yes"
10078 else 10080 else
10091 with_tiff=no 10093 with_tiff=no
10092 fi 10094 fi
10093 } 10095 }
10094 test -z "$with_tiff" && { 10096 test -z "$with_tiff" && {
10095 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
10096 echo "configure:10097: checking for TIFFClientOpen in -ltiff" >&5 10098 echo "configure:10099: checking for TIFFClientOpen in -ltiff" >&5
10097 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 10099 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
10098 10100
10099 xe_check_libs=" -ltiff " 10101 xe_check_libs=" -ltiff "
10100 cat > conftest.$ac_ext <<EOF 10102 cat > conftest.$ac_ext <<EOF
10101 #line 10102 "configure" 10103 #line 10104 "configure"
10102 #include "confdefs.h" 10104 #include "confdefs.h"
10103 /* Override any gcc2 internal prototype to avoid an error. */ 10105 /* Override any gcc2 internal prototype to avoid an error. */
10104 /* 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
10105 builtin and then its argument prototype would still apply. */ 10107 builtin and then its argument prototype would still apply. */
10106 char TIFFClientOpen(); 10108 char TIFFClientOpen();
10107 10109
10108 int main() { 10110 int main() {
10109 TIFFClientOpen() 10111 TIFFClientOpen()
10110 ; return 0; } 10112 ; return 0; }
10111 EOF 10113 EOF
10112 if { (eval echo configure:10113: \"$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
10113 rm -rf conftest* 10115 rm -rf conftest*
10114 eval "ac_cv_lib_$ac_lib_var=yes" 10116 eval "ac_cv_lib_$ac_lib_var=yes"
10115 else 10117 else
10116 echo "configure: failed program was:" >&5 10118 echo "configure: failed program was:" >&5
10117 cat conftest.$ac_ext >&5 10119 cat conftest.$ac_ext >&5
10146 10148
10147 10149
10148 if test "$with_gtk" = "yes"; then 10150 if test "$with_gtk" = "yes"; then
10149 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_%'`
10150 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 10152 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
10151 echo "configure:10152: checking for compface.h" >&5 10153 echo "configure:10154: checking for compface.h" >&5
10152 10154
10153 cat > conftest.$ac_ext <<EOF 10155 cat > conftest.$ac_ext <<EOF
10154 #line 10155 "configure" 10156 #line 10157 "configure"
10155 #include "confdefs.h" 10157 #include "confdefs.h"
10156 #include <compface.h> 10158 #include <compface.h>
10157 EOF 10159 EOF
10158 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"
10159 { (eval echo configure:10160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10161 { (eval echo configure:10162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10161 if test -z "$ac_err"; then 10163 if test -z "$ac_err"; then
10162 rm -rf conftest* 10164 rm -rf conftest*
10163 eval "ac_cv_header_$ac_safe=yes" 10165 eval "ac_cv_header_$ac_safe=yes"
10164 else 10166 else
10177 with_xface=no 10179 with_xface=no
10178 fi 10180 fi
10179 } 10181 }
10180 test -z "$with_xface" && { 10182 test -z "$with_xface" && {
10181 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
10182 echo "configure:10183: checking for UnGenFace in -lcompface" >&5 10184 echo "configure:10185: checking for UnGenFace in -lcompface" >&5
10183 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10185 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
10184 10186
10185 xe_check_libs=" -lcompface " 10187 xe_check_libs=" -lcompface "
10186 cat > conftest.$ac_ext <<EOF 10188 cat > conftest.$ac_ext <<EOF
10187 #line 10188 "configure" 10189 #line 10190 "configure"
10188 #include "confdefs.h" 10190 #include "confdefs.h"
10189 /* Override any gcc2 internal prototype to avoid an error. */ 10191 /* Override any gcc2 internal prototype to avoid an error. */
10190 /* 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
10191 builtin and then its argument prototype would still apply. */ 10193 builtin and then its argument prototype would still apply. */
10192 char UnGenFace(); 10194 char UnGenFace();
10193 10195
10194 int main() { 10196 int main() {
10195 UnGenFace() 10197 UnGenFace()
10196 ; return 0; } 10198 ; return 0; }
10197 EOF 10199 EOF
10198 if { (eval echo configure:10199: \"$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
10199 rm -rf conftest* 10201 rm -rf conftest*
10200 eval "ac_cv_lib_$ac_lib_var=yes" 10202 eval "ac_cv_lib_$ac_lib_var=yes"
10201 else 10203 else
10202 echo "configure: failed program was:" >&5 10204 echo "configure: failed program was:" >&5
10203 cat conftest.$ac_ext >&5 10205 cat conftest.$ac_ext >&5
10232 10234
10233 10235
10234 10236
10235 if test "$with_x11" = "yes"; then 10237 if test "$with_x11" = "yes"; then
10236 echo "checking for X11 graphics libraries" 1>&6 10238 echo "checking for X11 graphics libraries" 1>&6
10237 echo "configure:10238: checking for X11 graphics libraries" >&5 10239 echo "configure:10240: checking for X11 graphics libraries" >&5
10238 fi 10240 fi
10239 10241
10240 case "$with_widgets" in 10242 case "$with_widgets" in
10241 "yes" | "athena") detect_athena=yes ;; 10243 "yes" | "athena") detect_athena=yes ;;
10242 *) detect_athena=no ;; 10244 *) detect_athena=no ;;
10243 esac 10245 esac
10244 10246
10245 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10247 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10246 echo "checking for the Athena widgets" 1>&6 10248 echo "checking for the Athena widgets" 1>&6
10247 echo "configure:10248: checking for the Athena widgets" >&5 10249 echo "configure:10250: checking for the Athena widgets" >&5
10248 10250
10249 case "$with_athena" in 10251 case "$with_athena" in
10250 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10252 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10251 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10253 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10252 "next") athena_variant=neXtaw athena_3d=yes ;; 10254 "next") athena_variant=neXtaw athena_3d=yes ;;
10256 esac 10258 esac
10257 10259
10258 if test "$athena_3d" = "no"; then 10260 if test "$athena_3d" = "no"; then
10259 10261
10260 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
10261 echo "configure:10262: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10263 echo "configure:10264: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10262 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10264 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10263 10265
10264 xe_check_libs=" -l$athena_variant " 10266 xe_check_libs=" -l$athena_variant "
10265 cat > conftest.$ac_ext <<EOF 10267 cat > conftest.$ac_ext <<EOF
10266 #line 10267 "configure" 10268 #line 10269 "configure"
10267 #include "confdefs.h" 10269 #include "confdefs.h"
10268 /* Override any gcc2 internal prototype to avoid an error. */ 10270 /* Override any gcc2 internal prototype to avoid an error. */
10269 /* 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
10270 builtin and then its argument prototype would still apply. */ 10272 builtin and then its argument prototype would still apply. */
10271 char XawScrollbarSetThumb(); 10273 char XawScrollbarSetThumb();
10272 10274
10273 int main() { 10275 int main() {
10274 XawScrollbarSetThumb() 10276 XawScrollbarSetThumb()
10275 ; return 0; } 10277 ; return 0; }
10276 EOF 10278 EOF
10277 if { (eval echo configure:10278: \"$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
10278 rm -rf conftest* 10280 rm -rf conftest*
10279 eval "ac_cv_lib_$ac_lib_var=yes" 10281 eval "ac_cv_lib_$ac_lib_var=yes"
10280 else 10282 else
10281 echo "configure: failed program was:" >&5 10283 echo "configure: failed program was:" >&5
10282 cat conftest.$ac_ext >&5 10284 cat conftest.$ac_ext >&5
10288 10290
10289 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
10290 echo "$ac_t""yes" 1>&6 10292 echo "$ac_t""yes" 1>&6
10291 10293
10292 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
10293 echo "configure:10294: checking for threeDClassRec in -l$athena_variant" >&5 10295 echo "configure:10296: checking for threeDClassRec in -l$athena_variant" >&5
10294 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10296 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10295 10297
10296 xe_check_libs=" -l$athena_variant " 10298 xe_check_libs=" -l$athena_variant "
10297 cat > conftest.$ac_ext <<EOF 10299 cat > conftest.$ac_ext <<EOF
10298 #line 10299 "configure" 10300 #line 10301 "configure"
10299 #include "confdefs.h" 10301 #include "confdefs.h"
10300 /* Override any gcc2 internal prototype to avoid an error. */ 10302 /* Override any gcc2 internal prototype to avoid an error. */
10301 /* 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
10302 builtin and then its argument prototype would still apply. */ 10304 builtin and then its argument prototype would still apply. */
10303 char threeDClassRec(); 10305 char threeDClassRec();
10304 10306
10305 int main() { 10307 int main() {
10306 threeDClassRec() 10308 threeDClassRec()
10307 ; return 0; } 10309 ; return 0; }
10308 EOF 10310 EOF
10309 if { (eval echo configure:10310: \"$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
10310 rm -rf conftest* 10312 rm -rf conftest*
10311 eval "ac_cv_lib_$ac_lib_var=yes" 10313 eval "ac_cv_lib_$ac_lib_var=yes"
10312 else 10314 else
10313 echo "configure: failed program was:" >&5 10315 echo "configure: failed program was:" >&5
10314 cat conftest.$ac_ext >&5 10316 cat conftest.$ac_ext >&5
10335 10337
10336 10338
10337 else 10339 else
10338 10340
10339 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
10340 echo "configure:10341: checking for threeDClassRec in -l$athena_variant" >&5 10342 echo "configure:10343: checking for threeDClassRec in -l$athena_variant" >&5
10341 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10343 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10342 10344
10343 xe_check_libs=" -l$athena_variant " 10345 xe_check_libs=" -l$athena_variant "
10344 cat > conftest.$ac_ext <<EOF 10346 cat > conftest.$ac_ext <<EOF
10345 #line 10346 "configure" 10347 #line 10348 "configure"
10346 #include "confdefs.h" 10348 #include "confdefs.h"
10347 /* Override any gcc2 internal prototype to avoid an error. */ 10349 /* Override any gcc2 internal prototype to avoid an error. */
10348 /* 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
10349 builtin and then its argument prototype would still apply. */ 10351 builtin and then its argument prototype would still apply. */
10350 char threeDClassRec(); 10352 char threeDClassRec();
10351 10353
10352 int main() { 10354 int main() {
10353 threeDClassRec() 10355 threeDClassRec()
10354 ; return 0; } 10356 ; return 0; }
10355 EOF 10357 EOF
10356 if { (eval echo configure:10357: \"$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
10357 rm -rf conftest* 10359 rm -rf conftest*
10358 eval "ac_cv_lib_$ac_lib_var=yes" 10360 eval "ac_cv_lib_$ac_lib_var=yes"
10359 else 10361 else
10360 echo "configure: failed program was:" >&5 10362 echo "configure: failed program was:" >&5
10361 cat conftest.$ac_ext >&5 10363 cat conftest.$ac_ext >&5
10369 echo "$ac_t""yes" 1>&6 10371 echo "$ac_t""yes" 1>&6
10370 athena_lib=$athena_variant 10372 athena_lib=$athena_variant
10371 else 10373 else
10372 echo "$ac_t""no" 1>&6 10374 echo "$ac_t""no" 1>&6
10373 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
10374 echo "configure:10375: checking for threeDClassRec in -lXaw" >&5 10376 echo "configure:10377: checking for threeDClassRec in -lXaw" >&5
10375 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10377 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10376 10378
10377 xe_check_libs=" -lXaw " 10379 xe_check_libs=" -lXaw "
10378 cat > conftest.$ac_ext <<EOF 10380 cat > conftest.$ac_ext <<EOF
10379 #line 10380 "configure" 10381 #line 10382 "configure"
10380 #include "confdefs.h" 10382 #include "confdefs.h"
10381 /* Override any gcc2 internal prototype to avoid an error. */ 10383 /* Override any gcc2 internal prototype to avoid an error. */
10382 /* 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
10383 builtin and then its argument prototype would still apply. */ 10385 builtin and then its argument prototype would still apply. */
10384 char threeDClassRec(); 10386 char threeDClassRec();
10385 10387
10386 int main() { 10388 int main() {
10387 threeDClassRec() 10389 threeDClassRec()
10388 ; return 0; } 10390 ; return 0; }
10389 EOF 10391 EOF
10390 if { (eval echo configure:10391: \"$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
10391 rm -rf conftest* 10393 rm -rf conftest*
10392 eval "ac_cv_lib_$ac_lib_var=yes" 10394 eval "ac_cv_lib_$ac_lib_var=yes"
10393 else 10395 else
10394 echo "configure: failed program was:" >&5 10396 echo "configure: failed program was:" >&5
10395 cat conftest.$ac_ext >&5 10397 cat conftest.$ac_ext >&5
10416 fi 10418 fi
10417 10419
10418 if test "$athena_3d" = "no"; then 10420 if test "$athena_3d" = "no"; then
10419 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10421 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10420 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
10421 echo "configure:10422: checking for X11/Xaw/ThreeD.h" >&5 10423 echo "configure:10424: checking for X11/Xaw/ThreeD.h" >&5
10422 10424
10423 cat > conftest.$ac_ext <<EOF 10425 cat > conftest.$ac_ext <<EOF
10424 #line 10425 "configure" 10426 #line 10427 "configure"
10425 #include "confdefs.h" 10427 #include "confdefs.h"
10426 #include <X11/Xaw/ThreeD.h> 10428 #include <X11/Xaw/ThreeD.h>
10427 EOF 10429 EOF
10428 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"
10429 { (eval echo configure:10430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10431 { (eval echo configure:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10431 if test -z "$ac_err"; then 10433 if test -z "$ac_err"; then
10432 rm -rf conftest* 10434 rm -rf conftest*
10433 eval "ac_cv_header_$ac_safe=yes" 10435 eval "ac_cv_header_$ac_safe=yes"
10434 else 10436 else
10444 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
10445 else 10447 else
10446 echo "$ac_t""no" 1>&6 10448 echo "$ac_t""no" 1>&6
10447 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 10449 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10448 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
10449 echo "configure:10450: checking for X11/Xaw/XawInit.h" >&5 10451 echo "configure:10452: checking for X11/Xaw/XawInit.h" >&5
10450 10452
10451 cat > conftest.$ac_ext <<EOF 10453 cat > conftest.$ac_ext <<EOF
10452 #line 10453 "configure" 10454 #line 10455 "configure"
10453 #include "confdefs.h" 10455 #include "confdefs.h"
10454 #include <X11/Xaw/XawInit.h> 10456 #include <X11/Xaw/XawInit.h>
10455 EOF 10457 EOF
10456 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"
10457 { (eval echo configure:10458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10459 { (eval echo configure:10460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10459 if test -z "$ac_err"; then 10461 if test -z "$ac_err"; then
10460 rm -rf conftest* 10462 rm -rf conftest*
10461 eval "ac_cv_header_$ac_safe=yes" 10463 eval "ac_cv_header_$ac_safe=yes"
10462 else 10464 else
10478 fi 10480 fi
10479 10481
10480 else 10482 else
10481 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10483 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10482 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
10483 echo "configure:10484: checking for X11/$athena_variant/XawInit.h" >&5 10485 echo "configure:10486: checking for X11/$athena_variant/XawInit.h" >&5
10484 10486
10485 cat > conftest.$ac_ext <<EOF 10487 cat > conftest.$ac_ext <<EOF
10486 #line 10487 "configure" 10488 #line 10489 "configure"
10487 #include "confdefs.h" 10489 #include "confdefs.h"
10488 #include <X11/$athena_variant/XawInit.h> 10490 #include <X11/$athena_variant/XawInit.h>
10489 EOF 10491 EOF
10490 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"
10491 { (eval echo configure:10492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10493 if test -z "$ac_err"; then 10495 if test -z "$ac_err"; then
10494 rm -rf conftest* 10496 rm -rf conftest*
10495 eval "ac_cv_header_$ac_safe=yes" 10497 eval "ac_cv_header_$ac_safe=yes"
10496 else 10498 else
10503 rm -f conftest* 10505 rm -f conftest*
10504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10505 echo "$ac_t""yes" 1>&6 10507 echo "$ac_t""yes" 1>&6
10506 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10508 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10507 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
10508 echo "configure:10509: checking for X11/$athena_variant/ThreeD.h" >&5 10510 echo "configure:10511: checking for X11/$athena_variant/ThreeD.h" >&5
10509 10511
10510 cat > conftest.$ac_ext <<EOF 10512 cat > conftest.$ac_ext <<EOF
10511 #line 10512 "configure" 10513 #line 10514 "configure"
10512 #include "confdefs.h" 10514 #include "confdefs.h"
10513 #include <X11/$athena_variant/ThreeD.h> 10515 #include <X11/$athena_variant/ThreeD.h>
10514 EOF 10516 EOF
10515 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"
10516 { (eval echo configure:10517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10518 { (eval echo configure:10519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10518 if test -z "$ac_err"; then 10520 if test -z "$ac_err"; then
10519 rm -rf conftest* 10521 rm -rf conftest*
10520 eval "ac_cv_header_$ac_safe=yes" 10522 eval "ac_cv_header_$ac_safe=yes"
10521 else 10523 else
10539 10541
10540 10542
10541 if test -z "$athena_h_path"; then 10543 if test -z "$athena_h_path"; then
10542 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10544 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10543 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
10544 echo "configure:10545: checking for $athena_variant/XawInit.h" >&5 10546 echo "configure:10547: checking for $athena_variant/XawInit.h" >&5
10545 10547
10546 cat > conftest.$ac_ext <<EOF 10548 cat > conftest.$ac_ext <<EOF
10547 #line 10548 "configure" 10549 #line 10550 "configure"
10548 #include "confdefs.h" 10550 #include "confdefs.h"
10549 #include <$athena_variant/XawInit.h> 10551 #include <$athena_variant/XawInit.h>
10550 EOF 10552 EOF
10551 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"
10552 { (eval echo configure:10553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10554 { (eval echo configure:10555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10554 if test -z "$ac_err"; then 10556 if test -z "$ac_err"; then
10555 rm -rf conftest* 10557 rm -rf conftest*
10556 eval "ac_cv_header_$ac_safe=yes" 10558 eval "ac_cv_header_$ac_safe=yes"
10557 else 10559 else
10564 rm -f conftest* 10566 rm -f conftest*
10565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10566 echo "$ac_t""yes" 1>&6 10568 echo "$ac_t""yes" 1>&6
10567 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10569 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10568 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
10569 echo "configure:10570: checking for $athena_variant/ThreeD.h" >&5 10571 echo "configure:10572: checking for $athena_variant/ThreeD.h" >&5
10570 10572
10571 cat > conftest.$ac_ext <<EOF 10573 cat > conftest.$ac_ext <<EOF
10572 #line 10573 "configure" 10574 #line 10575 "configure"
10573 #include "confdefs.h" 10575 #include "confdefs.h"
10574 #include <$athena_variant/ThreeD.h> 10576 #include <$athena_variant/ThreeD.h>
10575 EOF 10577 EOF
10576 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"
10577 { (eval echo configure:10578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10579 { (eval echo configure:10580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10579 if test -z "$ac_err"; then 10581 if test -z "$ac_err"; then
10580 rm -rf conftest* 10582 rm -rf conftest*
10581 eval "ac_cv_header_$ac_safe=yes" 10583 eval "ac_cv_header_$ac_safe=yes"
10582 else 10584 else
10601 fi 10603 fi
10602 10604
10603 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10605 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10604 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10606 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10605 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
10606 echo "configure:10607: checking for X11/Xaw3d/XawInit.h" >&5 10608 echo "configure:10609: checking for X11/Xaw3d/XawInit.h" >&5
10607 10609
10608 cat > conftest.$ac_ext <<EOF 10610 cat > conftest.$ac_ext <<EOF
10609 #line 10610 "configure" 10611 #line 10612 "configure"
10610 #include "confdefs.h" 10612 #include "confdefs.h"
10611 #include <X11/Xaw3d/XawInit.h> 10613 #include <X11/Xaw3d/XawInit.h>
10612 EOF 10614 EOF
10613 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"
10614 { (eval echo configure:10615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10616 { (eval echo configure:10617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10616 if test -z "$ac_err"; then 10618 if test -z "$ac_err"; then
10617 rm -rf conftest* 10619 rm -rf conftest*
10618 eval "ac_cv_header_$ac_safe=yes" 10620 eval "ac_cv_header_$ac_safe=yes"
10619 else 10621 else
10626 rm -f conftest* 10628 rm -f conftest*
10627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10628 echo "$ac_t""yes" 1>&6 10630 echo "$ac_t""yes" 1>&6
10629 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10631 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10630 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
10631 echo "configure:10632: checking for X11/Xaw3d/ThreeD.h" >&5 10633 echo "configure:10634: checking for X11/Xaw3d/ThreeD.h" >&5
10632 10634
10633 cat > conftest.$ac_ext <<EOF 10635 cat > conftest.$ac_ext <<EOF
10634 #line 10635 "configure" 10636 #line 10637 "configure"
10635 #include "confdefs.h" 10637 #include "confdefs.h"
10636 #include <X11/Xaw3d/ThreeD.h> 10638 #include <X11/Xaw3d/ThreeD.h>
10637 EOF 10639 EOF
10638 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"
10639 { (eval echo configure:10640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10641 { (eval echo configure:10642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10641 if test -z "$ac_err"; then 10643 if test -z "$ac_err"; then
10642 rm -rf conftest* 10644 rm -rf conftest*
10643 eval "ac_cv_header_$ac_safe=yes" 10645 eval "ac_cv_header_$ac_safe=yes"
10644 else 10646 else
10666 fi 10668 fi
10667 10669
10668 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10670 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10669 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10671 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10670 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
10671 echo "configure:10672: checking for Xaw3d/XawInit.h" >&5 10673 echo "configure:10674: checking for Xaw3d/XawInit.h" >&5
10672 10674
10673 cat > conftest.$ac_ext <<EOF 10675 cat > conftest.$ac_ext <<EOF
10674 #line 10675 "configure" 10676 #line 10677 "configure"
10675 #include "confdefs.h" 10677 #include "confdefs.h"
10676 #include <Xaw3d/XawInit.h> 10678 #include <Xaw3d/XawInit.h>
10677 EOF 10679 EOF
10678 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"
10679 { (eval echo configure:10680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10681 { (eval echo configure:10682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10681 if test -z "$ac_err"; then 10683 if test -z "$ac_err"; then
10682 rm -rf conftest* 10684 rm -rf conftest*
10683 eval "ac_cv_header_$ac_safe=yes" 10685 eval "ac_cv_header_$ac_safe=yes"
10684 else 10686 else
10691 rm -f conftest* 10693 rm -f conftest*
10692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10693 echo "$ac_t""yes" 1>&6 10695 echo "$ac_t""yes" 1>&6
10694 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10696 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10695 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
10696 echo "configure:10697: checking for Xaw3d/ThreeD.h" >&5 10698 echo "configure:10699: checking for Xaw3d/ThreeD.h" >&5
10697 10699
10698 cat > conftest.$ac_ext <<EOF 10700 cat > conftest.$ac_ext <<EOF
10699 #line 10700 "configure" 10701 #line 10702 "configure"
10700 #include "confdefs.h" 10702 #include "confdefs.h"
10701 #include <Xaw3d/ThreeD.h> 10703 #include <Xaw3d/ThreeD.h>
10702 EOF 10704 EOF
10703 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"
10704 { (eval echo configure:10705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10706 { (eval echo configure:10707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10706 if test -z "$ac_err"; then 10708 if test -z "$ac_err"; then
10707 rm -rf conftest* 10709 rm -rf conftest*
10708 eval "ac_cv_header_$ac_safe=yes" 10710 eval "ac_cv_header_$ac_safe=yes"
10709 else 10711 else
10731 fi 10733 fi
10732 10734
10733 if test -z "$athena_h_path"; then 10735 if test -z "$athena_h_path"; then
10734 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10736 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10735 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
10736 echo "configure:10737: checking for X11/Xaw/ThreeD.h" >&5 10738 echo "configure:10739: checking for X11/Xaw/ThreeD.h" >&5
10737 10739
10738 cat > conftest.$ac_ext <<EOF 10740 cat > conftest.$ac_ext <<EOF
10739 #line 10740 "configure" 10741 #line 10742 "configure"
10740 #include "confdefs.h" 10742 #include "confdefs.h"
10741 #include <X11/Xaw/ThreeD.h> 10743 #include <X11/Xaw/ThreeD.h>
10742 EOF 10744 EOF
10743 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"
10744 { (eval echo configure:10745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10746 { (eval echo configure:10747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10746 if test -z "$ac_err"; then 10748 if test -z "$ac_err"; then
10747 rm -rf conftest* 10749 rm -rf conftest*
10748 eval "ac_cv_header_$ac_safe=yes" 10750 eval "ac_cv_header_$ac_safe=yes"
10749 else 10751 else
10778 have_xaw=no 10780 have_xaw=no
10779 fi 10781 fi
10780 if test "$with_x11" = "yes"; then 10782 if test "$with_x11" = "yes"; then
10781 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10783 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10782 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
10783 echo "configure:10784: checking for Xm/Xm.h" >&5 10785 echo "configure:10786: checking for Xm/Xm.h" >&5
10784 10786
10785 cat > conftest.$ac_ext <<EOF 10787 cat > conftest.$ac_ext <<EOF
10786 #line 10787 "configure" 10788 #line 10789 "configure"
10787 #include "confdefs.h" 10789 #include "confdefs.h"
10788 #include <Xm/Xm.h> 10790 #include <Xm/Xm.h>
10789 EOF 10791 EOF
10790 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"
10791 { (eval echo configure:10792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10793 { (eval echo configure:10794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10793 if test -z "$ac_err"; then 10795 if test -z "$ac_err"; then
10794 rm -rf conftest* 10796 rm -rf conftest*
10795 eval "ac_cv_header_$ac_safe=yes" 10797 eval "ac_cv_header_$ac_safe=yes"
10796 else 10798 else
10803 rm -f conftest* 10805 rm -f conftest*
10804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10805 echo "$ac_t""yes" 1>&6 10807 echo "$ac_t""yes" 1>&6
10806 10808
10807 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
10808 echo "configure:10809: checking for XmStringFree in -lXm" >&5 10810 echo "configure:10811: checking for XmStringFree in -lXm" >&5
10809 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10811 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10810 10812
10811 xe_check_libs=" -lXm " 10813 xe_check_libs=" -lXm "
10812 cat > conftest.$ac_ext <<EOF 10814 cat > conftest.$ac_ext <<EOF
10813 #line 10814 "configure" 10815 #line 10816 "configure"
10814 #include "confdefs.h" 10816 #include "confdefs.h"
10815 /* Override any gcc2 internal prototype to avoid an error. */ 10817 /* Override any gcc2 internal prototype to avoid an error. */
10816 /* 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
10817 builtin and then its argument prototype would still apply. */ 10819 builtin and then its argument prototype would still apply. */
10818 char XmStringFree(); 10820 char XmStringFree();
10819 10821
10820 int main() { 10822 int main() {
10821 XmStringFree() 10823 XmStringFree()
10822 ; return 0; } 10824 ; return 0; }
10823 EOF 10825 EOF
10824 if { (eval echo configure:10825: \"$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
10825 rm -rf conftest* 10827 rm -rf conftest*
10826 eval "ac_cv_lib_$ac_lib_var=yes" 10828 eval "ac_cv_lib_$ac_lib_var=yes"
10827 else 10829 else
10828 echo "configure: failed program was:" >&5 10830 echo "configure: failed program was:" >&5
10829 cat conftest.$ac_ext >&5 10831 cat conftest.$ac_ext >&5
10848 fi 10850 fi
10849 10851
10850 10852
10851 if test "$have_motif" = "yes"; then 10853 if test "$have_motif" = "yes"; then
10852 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10854 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10853 echo "configure:10854: checking for Lesstif" >&5 10855 echo "configure:10856: checking for Lesstif" >&5
10854 cat > conftest.$ac_ext <<EOF 10856 cat > conftest.$ac_ext <<EOF
10855 #line 10856 "configure" 10857 #line 10858 "configure"
10856 #include "confdefs.h" 10858 #include "confdefs.h"
10857 #include <Xm/Xm.h> 10859 #include <Xm/Xm.h>
10858 #ifdef LESSTIF_VERSION 10860 #ifdef LESSTIF_VERSION
10859 yes 10861 yes
10860 #endif 10862 #endif
11223 11225
11224 fi 11226 fi
11225 11227
11226 if test "$with_mule" = "yes" ; then 11228 if test "$with_mule" = "yes" ; then
11227 echo "checking for Mule-related features" 1>&6 11229 echo "checking for Mule-related features" 1>&6
11228 echo "configure:11229: checking for Mule-related features" >&5 11230 echo "configure:11231: checking for Mule-related features" >&5
11229 { test "$extra_verbose" = "yes" && cat << \EOF 11231 { test "$extra_verbose" = "yes" && cat << \EOF
11230 Defining MULE 11232 Defining MULE
11231 EOF 11233 EOF
11232 cat >> confdefs.h <<\EOF 11234 cat >> confdefs.h <<\EOF
11233 #define MULE 1 11235 #define MULE 1
11237 11239
11238 for ac_hdr in libintl.h 11240 for ac_hdr in libintl.h
11239 do 11241 do
11240 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11242 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11241 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11242 echo "configure:11243: checking for $ac_hdr" >&5 11244 echo "configure:11245: checking for $ac_hdr" >&5
11243 11245
11244 cat > conftest.$ac_ext <<EOF 11246 cat > conftest.$ac_ext <<EOF
11245 #line 11246 "configure" 11247 #line 11248 "configure"
11246 #include "confdefs.h" 11248 #include "confdefs.h"
11247 #include <$ac_hdr> 11249 #include <$ac_hdr>
11248 EOF 11250 EOF
11249 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"
11250 { (eval echo configure:11251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11252 { (eval echo configure:11253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11252 if test -z "$ac_err"; then 11254 if test -z "$ac_err"; then
11253 rm -rf conftest* 11255 rm -rf conftest*
11254 eval "ac_cv_header_$ac_safe=yes" 11256 eval "ac_cv_header_$ac_safe=yes"
11255 else 11257 else
11276 fi 11278 fi
11277 done 11279 done
11278 11280
11279 11281
11280 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
11281 echo "configure:11282: checking for strerror in -lintl" >&5 11283 echo "configure:11284: checking for strerror in -lintl" >&5
11282 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11284 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11283 11285
11284 xe_check_libs=" -lintl " 11286 xe_check_libs=" -lintl "
11285 cat > conftest.$ac_ext <<EOF 11287 cat > conftest.$ac_ext <<EOF
11286 #line 11287 "configure" 11288 #line 11289 "configure"
11287 #include "confdefs.h" 11289 #include "confdefs.h"
11288 /* Override any gcc2 internal prototype to avoid an error. */ 11290 /* Override any gcc2 internal prototype to avoid an error. */
11289 /* 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
11290 builtin and then its argument prototype would still apply. */ 11292 builtin and then its argument prototype would still apply. */
11291 char strerror(); 11293 char strerror();
11292 11294
11293 int main() { 11295 int main() {
11294 strerror() 11296 strerror()
11295 ; return 0; } 11297 ; return 0; }
11296 EOF 11298 EOF
11297 if { (eval echo configure:11298: \"$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
11298 rm -rf conftest* 11300 rm -rf conftest*
11299 eval "ac_cv_lib_$ac_lib_var=yes" 11301 eval "ac_cv_lib_$ac_lib_var=yes"
11300 else 11302 else
11301 echo "configure: failed program was:" >&5 11303 echo "configure: failed program was:" >&5
11302 cat conftest.$ac_ext >&5 11304 cat conftest.$ac_ext >&5
11325 fi 11327 fi
11326 11328
11327 11329
11328 11330
11329 echo "checking for Mule input methods" 1>&6 11331 echo "checking for Mule input methods" 1>&6
11330 echo "configure:11331: checking for Mule input methods" >&5 11332 echo "configure:11333: checking for Mule input methods" >&5
11331 case "$with_xim" in "" | "yes" ) 11333 case "$with_xim" in "" | "yes" )
11332 echo "checking for XIM" 1>&6 11334 echo "checking for XIM" 1>&6
11333 echo "configure:11334: checking for XIM" >&5 11335 echo "configure:11336: checking for XIM" >&5
11334 11336
11335 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
11336 echo "configure:11337: checking for XOpenIM in -lX11" >&5 11338 echo "configure:11339: checking for XOpenIM in -lX11" >&5
11337 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11339 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11338 11340
11339 xe_check_libs=" -lX11 " 11341 xe_check_libs=" -lX11 "
11340 cat > conftest.$ac_ext <<EOF 11342 cat > conftest.$ac_ext <<EOF
11341 #line 11342 "configure" 11343 #line 11344 "configure"
11342 #include "confdefs.h" 11344 #include "confdefs.h"
11343 /* Override any gcc2 internal prototype to avoid an error. */ 11345 /* Override any gcc2 internal prototype to avoid an error. */
11344 /* 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
11345 builtin and then its argument prototype would still apply. */ 11347 builtin and then its argument prototype would still apply. */
11346 char XOpenIM(); 11348 char XOpenIM();
11347 11349
11348 int main() { 11350 int main() {
11349 XOpenIM() 11351 XOpenIM()
11350 ; return 0; } 11352 ; return 0; }
11351 EOF 11353 EOF
11352 if { (eval echo configure:11353: \"$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
11353 rm -rf conftest* 11355 rm -rf conftest*
11354 eval "ac_cv_lib_$ac_lib_var=yes" 11356 eval "ac_cv_lib_$ac_lib_var=yes"
11355 else 11357 else
11356 echo "configure: failed program was:" >&5 11358 echo "configure: failed program was:" >&5
11357 cat conftest.$ac_ext >&5 11359 cat conftest.$ac_ext >&5
11371 11373
11372 11374
11373 if test "$have_motif $have_lesstif" = "yes no"; then 11375 if test "$have_motif $have_lesstif" = "yes no"; then
11374 11376
11375 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
11376 echo "configure:11377: checking for XmImMbLookupString in -lXm" >&5 11378 echo "configure:11379: checking for XmImMbLookupString in -lXm" >&5
11377 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11379 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11378 11380
11379 xe_check_libs=" -lXm " 11381 xe_check_libs=" -lXm "
11380 cat > conftest.$ac_ext <<EOF 11382 cat > conftest.$ac_ext <<EOF
11381 #line 11382 "configure" 11383 #line 11384 "configure"
11382 #include "confdefs.h" 11384 #include "confdefs.h"
11383 /* Override any gcc2 internal prototype to avoid an error. */ 11385 /* Override any gcc2 internal prototype to avoid an error. */
11384 /* 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
11385 builtin and then its argument prototype would still apply. */ 11387 builtin and then its argument prototype would still apply. */
11386 char XmImMbLookupString(); 11388 char XmImMbLookupString();
11387 11389
11388 int main() { 11390 int main() {
11389 XmImMbLookupString() 11391 XmImMbLookupString()
11390 ; return 0; } 11392 ; return 0; }
11391 EOF 11393 EOF
11392 if { (eval echo configure:11393: \"$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
11393 rm -rf conftest* 11395 rm -rf conftest*
11394 eval "ac_cv_lib_$ac_lib_var=yes" 11396 eval "ac_cv_lib_$ac_lib_var=yes"
11395 else 11397 else
11396 echo "configure: failed program was:" >&5 11398 echo "configure: failed program was:" >&5
11397 cat conftest.$ac_ext >&5 11399 cat conftest.$ac_ext >&5
11452 fi 11454 fi
11453 fi 11455 fi
11454 11456
11455 if test "$with_xfs" = "yes" ; then 11457 if test "$with_xfs" = "yes" ; then
11456 echo "checking for XFontSet" 1>&6 11458 echo "checking for XFontSet" 1>&6
11457 echo "configure:11458: checking for XFontSet" >&5 11459 echo "configure:11460: checking for XFontSet" >&5
11458 11460
11459 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
11460 echo "configure:11461: checking for XmbDrawString in -lX11" >&5 11462 echo "configure:11463: checking for XmbDrawString in -lX11" >&5
11461 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11463 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11462 11464
11463 xe_check_libs=" -lX11 " 11465 xe_check_libs=" -lX11 "
11464 cat > conftest.$ac_ext <<EOF 11466 cat > conftest.$ac_ext <<EOF
11465 #line 11466 "configure" 11467 #line 11468 "configure"
11466 #include "confdefs.h" 11468 #include "confdefs.h"
11467 /* Override any gcc2 internal prototype to avoid an error. */ 11469 /* Override any gcc2 internal prototype to avoid an error. */
11468 /* 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
11469 builtin and then its argument prototype would still apply. */ 11471 builtin and then its argument prototype would still apply. */
11470 char XmbDrawString(); 11472 char XmbDrawString();
11471 11473
11472 int main() { 11474 int main() {
11473 XmbDrawString() 11475 XmbDrawString()
11474 ; return 0; } 11476 ; return 0; }
11475 EOF 11477 EOF
11476 if { (eval echo configure:11477: \"$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
11477 rm -rf conftest* 11479 rm -rf conftest*
11478 eval "ac_cv_lib_$ac_lib_var=yes" 11480 eval "ac_cv_lib_$ac_lib_var=yes"
11479 else 11481 else
11480 echo "configure: failed program was:" >&5 11482 echo "configure: failed program was:" >&5
11481 cat conftest.$ac_ext >&5 11483 cat conftest.$ac_ext >&5
11511 fi 11513 fi
11512 fi 11514 fi
11513 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11515 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11514 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_%'`
11515 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
11516 echo "configure:11517: checking for wnn/jllib.h" >&5 11518 echo "configure:11519: checking for wnn/jllib.h" >&5
11517 11519
11518 cat > conftest.$ac_ext <<EOF 11520 cat > conftest.$ac_ext <<EOF
11519 #line 11520 "configure" 11521 #line 11522 "configure"
11520 #include "confdefs.h" 11522 #include "confdefs.h"
11521 #include <wnn/jllib.h> 11523 #include <wnn/jllib.h>
11522 EOF 11524 EOF
11523 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"
11524 { (eval echo configure:11525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11526 { (eval echo configure:11527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11526 if test -z "$ac_err"; then 11528 if test -z "$ac_err"; then
11527 rm -rf conftest* 11529 rm -rf conftest*
11528 eval "ac_cv_header_$ac_safe=yes" 11530 eval "ac_cv_header_$ac_safe=yes"
11529 else 11531 else
11542 with_wnn=no 11544 with_wnn=no
11543 fi 11545 fi
11544 } 11546 }
11545 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_%'`
11546 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
11547 echo "configure:11548: checking for wnn/commonhd.h" >&5 11549 echo "configure:11550: checking for wnn/commonhd.h" >&5
11548 11550
11549 cat > conftest.$ac_ext <<EOF 11551 cat > conftest.$ac_ext <<EOF
11550 #line 11551 "configure" 11552 #line 11553 "configure"
11551 #include "confdefs.h" 11553 #include "confdefs.h"
11552 #include <wnn/commonhd.h> 11554 #include <wnn/commonhd.h>
11553 EOF 11555 EOF
11554 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"
11555 { (eval echo configure:11556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11557 { (eval echo configure:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11557 if test -z "$ac_err"; then 11559 if test -z "$ac_err"; then
11558 rm -rf conftest* 11560 rm -rf conftest*
11559 eval "ac_cv_header_$ac_safe=yes" 11561 eval "ac_cv_header_$ac_safe=yes"
11560 else 11562 else
11575 } 11577 }
11576 if test "$with_wnn" != "no"; then 11578 if test "$with_wnn" != "no"; then
11577 for ac_func in crypt 11579 for ac_func in crypt
11578 do 11580 do
11579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11580 echo "configure:11581: checking for $ac_func" >&5 11582 echo "configure:11583: checking for $ac_func" >&5
11581 11583
11582 cat > conftest.$ac_ext <<EOF 11584 cat > conftest.$ac_ext <<EOF
11583 #line 11584 "configure" 11585 #line 11586 "configure"
11584 #include "confdefs.h" 11586 #include "confdefs.h"
11585 /* System header to define __stub macros and hopefully few prototypes, 11587 /* System header to define __stub macros and hopefully few prototypes,
11586 which can conflict with char $ac_func(); below. */ 11588 which can conflict with char $ac_func(); below. */
11587 #include <assert.h> 11589 #include <assert.h>
11588 /* Override any gcc2 internal prototype to avoid an error. */ 11590 /* Override any gcc2 internal prototype to avoid an error. */
11601 $ac_func(); 11603 $ac_func();
11602 #endif 11604 #endif
11603 11605
11604 ; return 0; } 11606 ; return 0; }
11605 EOF 11607 EOF
11606 if { (eval echo configure:11607: \"$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
11607 rm -rf conftest* 11609 rm -rf conftest*
11608 eval "ac_cv_func_$ac_func=yes" 11610 eval "ac_cv_func_$ac_func=yes"
11609 else 11611 else
11610 echo "configure: failed program was:" >&5 11612 echo "configure: failed program was:" >&5
11611 cat conftest.$ac_ext >&5 11613 cat conftest.$ac_ext >&5
11630 fi 11632 fi
11631 done 11633 done
11632 11634
11633 test "$ac_cv_func_crypt" != "yes" && { 11635 test "$ac_cv_func_crypt" != "yes" && {
11634 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
11635 echo "configure:11636: checking for crypt in -lcrypt" >&5 11637 echo "configure:11638: checking for crypt in -lcrypt" >&5
11636 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11638 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11637 11639
11638 xe_check_libs=" -lcrypt " 11640 xe_check_libs=" -lcrypt "
11639 cat > conftest.$ac_ext <<EOF 11641 cat > conftest.$ac_ext <<EOF
11640 #line 11641 "configure" 11642 #line 11643 "configure"
11641 #include "confdefs.h" 11643 #include "confdefs.h"
11642 /* Override any gcc2 internal prototype to avoid an error. */ 11644 /* Override any gcc2 internal prototype to avoid an error. */
11643 /* 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
11644 builtin and then its argument prototype would still apply. */ 11646 builtin and then its argument prototype would still apply. */
11645 char crypt(); 11647 char crypt();
11646 11648
11647 int main() { 11649 int main() {
11648 crypt() 11650 crypt()
11649 ; return 0; } 11651 ; return 0; }
11650 EOF 11652 EOF
11651 if { (eval echo configure:11652: \"$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
11652 rm -rf conftest* 11654 rm -rf conftest*
11653 eval "ac_cv_lib_$ac_lib_var=yes" 11655 eval "ac_cv_lib_$ac_lib_var=yes"
11654 else 11656 else
11655 echo "configure: failed program was:" >&5 11657 echo "configure: failed program was:" >&5
11656 cat conftest.$ac_ext >&5 11658 cat conftest.$ac_ext >&5
11681 } 11683 }
11682 fi 11684 fi
11683 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11685 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11684 11686
11685 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
11686 echo "configure:11687: checking for jl_dic_list_e in -lwnn" >&5 11688 echo "configure:11689: checking for jl_dic_list_e in -lwnn" >&5
11687 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_%'`
11688 11690
11689 xe_check_libs=" -lwnn " 11691 xe_check_libs=" -lwnn "
11690 cat > conftest.$ac_ext <<EOF 11692 cat > conftest.$ac_ext <<EOF
11691 #line 11692 "configure" 11693 #line 11694 "configure"
11692 #include "confdefs.h" 11694 #include "confdefs.h"
11693 /* Override any gcc2 internal prototype to avoid an error. */ 11695 /* Override any gcc2 internal prototype to avoid an error. */
11694 /* 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
11695 builtin and then its argument prototype would still apply. */ 11697 builtin and then its argument prototype would still apply. */
11696 char jl_dic_list_e(); 11698 char jl_dic_list_e();
11697 11699
11698 int main() { 11700 int main() {
11699 jl_dic_list_e() 11701 jl_dic_list_e()
11700 ; return 0; } 11702 ; return 0; }
11701 EOF 11703 EOF
11702 if { (eval echo configure:11703: \"$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
11703 rm -rf conftest* 11705 rm -rf conftest*
11704 eval "ac_cv_lib_$ac_lib_var=yes" 11706 eval "ac_cv_lib_$ac_lib_var=yes"
11705 else 11707 else
11706 echo "configure: failed program was:" >&5 11708 echo "configure: failed program was:" >&5
11707 cat conftest.$ac_ext >&5 11709 cat conftest.$ac_ext >&5
11715 echo "$ac_t""yes" 1>&6 11717 echo "$ac_t""yes" 1>&6
11716 libwnn=wnn 11718 libwnn=wnn
11717 else 11719 else
11718 echo "$ac_t""no" 1>&6 11720 echo "$ac_t""no" 1>&6
11719 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
11720 echo "configure:11721: checking for jl_dic_list_e in -lwnn4" >&5 11722 echo "configure:11723: checking for jl_dic_list_e in -lwnn4" >&5
11721 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_%'`
11722 11724
11723 xe_check_libs=" -lwnn4 " 11725 xe_check_libs=" -lwnn4 "
11724 cat > conftest.$ac_ext <<EOF 11726 cat > conftest.$ac_ext <<EOF
11725 #line 11726 "configure" 11727 #line 11728 "configure"
11726 #include "confdefs.h" 11728 #include "confdefs.h"
11727 /* Override any gcc2 internal prototype to avoid an error. */ 11729 /* Override any gcc2 internal prototype to avoid an error. */
11728 /* 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
11729 builtin and then its argument prototype would still apply. */ 11731 builtin and then its argument prototype would still apply. */
11730 char jl_dic_list_e(); 11732 char jl_dic_list_e();
11731 11733
11732 int main() { 11734 int main() {
11733 jl_dic_list_e() 11735 jl_dic_list_e()
11734 ; return 0; } 11736 ; return 0; }
11735 EOF 11737 EOF
11736 if { (eval echo configure:11737: \"$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
11737 rm -rf conftest* 11739 rm -rf conftest*
11738 eval "ac_cv_lib_$ac_lib_var=yes" 11740 eval "ac_cv_lib_$ac_lib_var=yes"
11739 else 11741 else
11740 echo "configure: failed program was:" >&5 11742 echo "configure: failed program was:" >&5
11741 cat conftest.$ac_ext >&5 11743 cat conftest.$ac_ext >&5
11749 echo "$ac_t""yes" 1>&6 11751 echo "$ac_t""yes" 1>&6
11750 libwnn=wnn4 11752 libwnn=wnn4
11751 else 11753 else
11752 echo "$ac_t""no" 1>&6 11754 echo "$ac_t""no" 1>&6
11753 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
11754 echo "configure:11755: checking for jl_dic_list_e in -lwnn6" >&5 11756 echo "configure:11757: checking for jl_dic_list_e in -lwnn6" >&5
11755 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_%'`
11756 11758
11757 xe_check_libs=" -lwnn6 " 11759 xe_check_libs=" -lwnn6 "
11758 cat > conftest.$ac_ext <<EOF 11760 cat > conftest.$ac_ext <<EOF
11759 #line 11760 "configure" 11761 #line 11762 "configure"
11760 #include "confdefs.h" 11762 #include "confdefs.h"
11761 /* Override any gcc2 internal prototype to avoid an error. */ 11763 /* Override any gcc2 internal prototype to avoid an error. */
11762 /* 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
11763 builtin and then its argument prototype would still apply. */ 11765 builtin and then its argument prototype would still apply. */
11764 char jl_dic_list_e(); 11766 char jl_dic_list_e();
11765 11767
11766 int main() { 11768 int main() {
11767 jl_dic_list_e() 11769 jl_dic_list_e()
11768 ; return 0; } 11770 ; return 0; }
11769 EOF 11771 EOF
11770 if { (eval echo configure:11771: \"$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
11771 rm -rf conftest* 11773 rm -rf conftest*
11772 eval "ac_cv_lib_$ac_lib_var=yes" 11774 eval "ac_cv_lib_$ac_lib_var=yes"
11773 else 11775 else
11774 echo "configure: failed program was:" >&5 11776 echo "configure: failed program was:" >&5
11775 cat conftest.$ac_ext >&5 11777 cat conftest.$ac_ext >&5
11783 echo "$ac_t""yes" 1>&6 11785 echo "$ac_t""yes" 1>&6
11784 libwnn=wnn6 11786 libwnn=wnn6
11785 else 11787 else
11786 echo "$ac_t""no" 1>&6 11788 echo "$ac_t""no" 1>&6
11787 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
11788 echo "configure:11789: checking for dic_list_e in -lwnn6_fromsrc" >&5 11790 echo "configure:11791: checking for dic_list_e in -lwnn6_fromsrc" >&5
11789 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_%'`
11790 11792
11791 xe_check_libs=" -lwnn6_fromsrc " 11793 xe_check_libs=" -lwnn6_fromsrc "
11792 cat > conftest.$ac_ext <<EOF 11794 cat > conftest.$ac_ext <<EOF
11793 #line 11794 "configure" 11795 #line 11796 "configure"
11794 #include "confdefs.h" 11796 #include "confdefs.h"
11795 /* Override any gcc2 internal prototype to avoid an error. */ 11797 /* Override any gcc2 internal prototype to avoid an error. */
11796 /* 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
11797 builtin and then its argument prototype would still apply. */ 11799 builtin and then its argument prototype would still apply. */
11798 char dic_list_e(); 11800 char dic_list_e();
11799 11801
11800 int main() { 11802 int main() {
11801 dic_list_e() 11803 dic_list_e()
11802 ; return 0; } 11804 ; return 0; }
11803 EOF 11805 EOF
11804 if { (eval echo configure:11805: \"$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
11805 rm -rf conftest* 11807 rm -rf conftest*
11806 eval "ac_cv_lib_$ac_lib_var=yes" 11808 eval "ac_cv_lib_$ac_lib_var=yes"
11807 else 11809 else
11808 echo "configure: failed program was:" >&5 11810 echo "configure: failed program was:" >&5
11809 cat conftest.$ac_ext >&5 11811 cat conftest.$ac_ext >&5
11844 11846
11845 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
11846 if test "$with_wnn6" != "no"; then 11848 if test "$with_wnn6" != "no"; then
11847 11849
11848 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
11849 echo "configure:11850: checking for jl_fi_dic_list in -l$libwnn" >&5 11851 echo "configure:11852: checking for jl_fi_dic_list in -l$libwnn" >&5
11850 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_%'`
11851 11853
11852 xe_check_libs=" -l$libwnn " 11854 xe_check_libs=" -l$libwnn "
11853 cat > conftest.$ac_ext <<EOF 11855 cat > conftest.$ac_ext <<EOF
11854 #line 11855 "configure" 11856 #line 11857 "configure"
11855 #include "confdefs.h" 11857 #include "confdefs.h"
11856 /* Override any gcc2 internal prototype to avoid an error. */ 11858 /* Override any gcc2 internal prototype to avoid an error. */
11857 /* 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
11858 builtin and then its argument prototype would still apply. */ 11860 builtin and then its argument prototype would still apply. */
11859 char jl_fi_dic_list(); 11861 char jl_fi_dic_list();
11860 11862
11861 int main() { 11863 int main() {
11862 jl_fi_dic_list() 11864 jl_fi_dic_list()
11863 ; return 0; } 11865 ; return 0; }
11864 EOF 11866 EOF
11865 if { (eval echo configure:11866: \"$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
11866 rm -rf conftest* 11868 rm -rf conftest*
11867 eval "ac_cv_lib_$ac_lib_var=yes" 11869 eval "ac_cv_lib_$ac_lib_var=yes"
11868 else 11870 else
11869 echo "configure: failed program was:" >&5 11871 echo "configure: failed program was:" >&5
11870 cat conftest.$ac_ext >&5 11872 cat conftest.$ac_ext >&5
11895 11897
11896 canna_includes_found=no 11898 canna_includes_found=no
11897 if test "$with_canna" != "no"; then 11899 if test "$with_canna" != "no"; then
11898 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11900 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11899 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
11900 echo "configure:11901: checking for canna/jrkanji.h" >&5 11902 echo "configure:11903: checking for canna/jrkanji.h" >&5
11901 11903
11902 cat > conftest.$ac_ext <<EOF 11904 cat > conftest.$ac_ext <<EOF
11903 #line 11904 "configure" 11905 #line 11906 "configure"
11904 #include "confdefs.h" 11906 #include "confdefs.h"
11905 #include <canna/jrkanji.h> 11907 #include <canna/jrkanji.h>
11906 EOF 11908 EOF
11907 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"
11908 { (eval echo configure:11909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11910 { (eval echo configure:11911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11910 if test -z "$ac_err"; then 11912 if test -z "$ac_err"; then
11911 rm -rf conftest* 11913 rm -rf conftest*
11912 eval "ac_cv_header_$ac_safe=yes" 11914 eval "ac_cv_header_$ac_safe=yes"
11913 else 11915 else
11930 -d "/usr/local/canna/include"; then 11932 -d "/usr/local/canna/include"; then
11931 save_c_switch_site="$c_switch_site" 11933 save_c_switch_site="$c_switch_site"
11932 c_switch_site="$c_switch_site -I/usr/local/canna/include" 11934 c_switch_site="$c_switch_site -I/usr/local/canna/include"
11933 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11935 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11934 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
11935 echo "configure:11936: checking for canna/jrkanji.h" >&5 11937 echo "configure:11938: checking for canna/jrkanji.h" >&5
11936 11938
11937 cat > conftest.$ac_ext <<EOF 11939 cat > conftest.$ac_ext <<EOF
11938 #line 11939 "configure" 11940 #line 11941 "configure"
11939 #include "confdefs.h" 11941 #include "confdefs.h"
11940 #include <canna/jrkanji.h> 11942 #include <canna/jrkanji.h>
11941 EOF 11943 EOF
11942 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"
11943 { (eval echo configure:11944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11945 { (eval echo configure:11946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11945 if test -z "$ac_err"; then 11947 if test -z "$ac_err"; then
11946 rm -rf conftest* 11948 rm -rf conftest*
11947 eval "ac_cv_header_$ac_safe=yes" 11949 eval "ac_cv_header_$ac_safe=yes"
11948 else 11950 else
11966 fi 11968 fi
11967 fi 11969 fi
11968 11970
11969 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_%'`
11970 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
11971 echo "configure:11972: checking for canna/RK.h" >&5 11973 echo "configure:11974: checking for canna/RK.h" >&5
11972 11974
11973 cat > conftest.$ac_ext <<EOF 11975 cat > conftest.$ac_ext <<EOF
11974 #line 11975 "configure" 11976 #line 11977 "configure"
11975 #include "confdefs.h" 11977 #include "confdefs.h"
11976 #include <canna/RK.h> 11978 #include <canna/RK.h>
11977 EOF 11979 EOF
11978 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"
11979 { (eval echo configure:11980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11981 { (eval echo configure:11982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11981 if test -z "$ac_err"; then 11983 if test -z "$ac_err"; then
11982 rm -rf conftest* 11984 rm -rf conftest*
11983 eval "ac_cv_header_$ac_safe=yes" 11985 eval "ac_cv_header_$ac_safe=yes"
11984 else 11986 else
11997 with_canna=no 11999 with_canna=no
11998 fi 12000 fi
11999 } 12001 }
12000 test -z "$with_canna" && { 12002 test -z "$with_canna" && {
12001 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
12002 echo "configure:12003: checking for RkBgnBun in -lRKC" >&5 12004 echo "configure:12005: checking for RkBgnBun in -lRKC" >&5
12003 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 12005 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
12004 12006
12005 xe_check_libs=" -lRKC " 12007 xe_check_libs=" -lRKC "
12006 cat > conftest.$ac_ext <<EOF 12008 cat > conftest.$ac_ext <<EOF
12007 #line 12008 "configure" 12009 #line 12010 "configure"
12008 #include "confdefs.h" 12010 #include "confdefs.h"
12009 /* Override any gcc2 internal prototype to avoid an error. */ 12011 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* 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
12011 builtin and then its argument prototype would still apply. */ 12013 builtin and then its argument prototype would still apply. */
12012 char RkBgnBun(); 12014 char RkBgnBun();
12013 12015
12014 int main() { 12016 int main() {
12015 RkBgnBun() 12017 RkBgnBun()
12016 ; return 0; } 12018 ; return 0; }
12017 EOF 12019 EOF
12018 if { (eval echo configure:12019: \"$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
12019 rm -rf conftest* 12021 rm -rf conftest*
12020 eval "ac_cv_lib_$ac_lib_var=yes" 12022 eval "ac_cv_lib_$ac_lib_var=yes"
12021 else 12023 else
12022 echo "configure: failed program was:" >&5 12024 echo "configure: failed program was:" >&5
12023 cat conftest.$ac_ext >&5 12025 cat conftest.$ac_ext >&5
12036 fi 12038 fi
12037 12039
12038 } 12040 }
12039 test -z "$with_canna" && { 12041 test -z "$with_canna" && {
12040 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
12041 echo "configure:12042: checking for jrKanjiControl in -lcanna" >&5 12043 echo "configure:12044: checking for jrKanjiControl in -lcanna" >&5
12042 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 12044 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
12043 12045
12044 xe_check_libs=" -lcanna " 12046 xe_check_libs=" -lcanna "
12045 cat > conftest.$ac_ext <<EOF 12047 cat > conftest.$ac_ext <<EOF
12046 #line 12047 "configure" 12048 #line 12049 "configure"
12047 #include "confdefs.h" 12049 #include "confdefs.h"
12048 /* Override any gcc2 internal prototype to avoid an error. */ 12050 /* Override any gcc2 internal prototype to avoid an error. */
12049 /* 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
12050 builtin and then its argument prototype would still apply. */ 12052 builtin and then its argument prototype would still apply. */
12051 char jrKanjiControl(); 12053 char jrKanjiControl();
12052 12054
12053 int main() { 12055 int main() {
12054 jrKanjiControl() 12056 jrKanjiControl()
12055 ; return 0; } 12057 ; return 0; }
12056 EOF 12058 EOF
12057 if { (eval echo configure:12058: \"$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
12058 rm -rf conftest* 12060 rm -rf conftest*
12059 eval "ac_cv_lib_$ac_lib_var=yes" 12061 eval "ac_cv_lib_$ac_lib_var=yes"
12060 else 12062 else
12061 echo "configure: failed program was:" >&5 12063 echo "configure: failed program was:" >&5
12062 cat conftest.$ac_ext >&5 12064 cat conftest.$ac_ext >&5
12098 12100
12099 if test "$need_motif" = "yes" ; then 12101 if test "$need_motif" = "yes" ; then
12100 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
12101 12103
12102 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
12103 echo "configure:12104: checking for layout_object_getvalue in -li18n" >&5 12105 echo "configure:12106: checking for layout_object_getvalue in -li18n" >&5
12104 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 12106 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
12105 12107
12106 xe_check_libs=" -li18n " 12108 xe_check_libs=" -li18n "
12107 cat > conftest.$ac_ext <<EOF 12109 cat > conftest.$ac_ext <<EOF
12108 #line 12109 "configure" 12110 #line 12111 "configure"
12109 #include "confdefs.h" 12111 #include "confdefs.h"
12110 /* Override any gcc2 internal prototype to avoid an error. */ 12112 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* 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
12112 builtin and then its argument prototype would still apply. */ 12114 builtin and then its argument prototype would still apply. */
12113 char layout_object_getvalue(); 12115 char layout_object_getvalue();
12114 12116
12115 int main() { 12117 int main() {
12116 layout_object_getvalue() 12118 layout_object_getvalue()
12117 ; return 0; } 12119 ; return 0; }
12118 EOF 12120 EOF
12119 if { (eval echo configure:12120: \"$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
12120 rm -rf conftest* 12122 rm -rf conftest*
12121 eval "ac_cv_lib_$ac_lib_var=yes" 12123 eval "ac_cv_lib_$ac_lib_var=yes"
12122 else 12124 else
12123 echo "configure: failed program was:" >&5 12125 echo "configure: failed program was:" >&5
12124 cat conftest.$ac_ext >&5 12126 cat conftest.$ac_ext >&5
12201 12203
12202 12204
12203 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
12204 do 12206 do
12205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12206 echo "configure:12207: checking for $ac_func" >&5 12208 echo "configure:12209: checking for $ac_func" >&5
12207 12209
12208 cat > conftest.$ac_ext <<EOF 12210 cat > conftest.$ac_ext <<EOF
12209 #line 12210 "configure" 12211 #line 12212 "configure"
12210 #include "confdefs.h" 12212 #include "confdefs.h"
12211 /* System header to define __stub macros and hopefully few prototypes, 12213 /* System header to define __stub macros and hopefully few prototypes,
12212 which can conflict with char $ac_func(); below. */ 12214 which can conflict with char $ac_func(); below. */
12213 #include <assert.h> 12215 #include <assert.h>
12214 /* Override any gcc2 internal prototype to avoid an error. */ 12216 /* Override any gcc2 internal prototype to avoid an error. */
12227 $ac_func(); 12229 $ac_func();
12228 #endif 12230 #endif
12229 12231
12230 ; return 0; } 12232 ; return 0; }
12231 EOF 12233 EOF
12232 if { (eval echo configure:12233: \"$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
12233 rm -rf conftest* 12235 rm -rf conftest*
12234 eval "ac_cv_func_$ac_func=yes" 12236 eval "ac_cv_func_$ac_func=yes"
12235 else 12237 else
12236 echo "configure: failed program was:" >&5 12238 echo "configure: failed program was:" >&5
12237 cat conftest.$ac_ext >&5 12239 cat conftest.$ac_ext >&5
12268 12270
12269 12271
12270 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12272 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12271 do 12273 do
12272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12273 echo "configure:12274: checking for $ac_func" >&5 12275 echo "configure:12276: checking for $ac_func" >&5
12274 12276
12275 cat > conftest.$ac_ext <<EOF 12277 cat > conftest.$ac_ext <<EOF
12276 #line 12277 "configure" 12278 #line 12279 "configure"
12277 #include "confdefs.h" 12279 #include "confdefs.h"
12278 /* System header to define __stub macros and hopefully few prototypes, 12280 /* System header to define __stub macros and hopefully few prototypes,
12279 which can conflict with char $ac_func(); below. */ 12281 which can conflict with char $ac_func(); below. */
12280 #include <assert.h> 12282 #include <assert.h>
12281 /* Override any gcc2 internal prototype to avoid an error. */ 12283 /* Override any gcc2 internal prototype to avoid an error. */
12294 $ac_func(); 12296 $ac_func();
12295 #endif 12297 #endif
12296 12298
12297 ; return 0; } 12299 ; return 0; }
12298 EOF 12300 EOF
12299 if { (eval echo configure:12300: \"$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
12300 rm -rf conftest* 12302 rm -rf conftest*
12301 eval "ac_cv_func_$ac_func=yes" 12303 eval "ac_cv_func_$ac_func=yes"
12302 else 12304 else
12303 echo "configure: failed program was:" >&5 12305 echo "configure: failed program was:" >&5
12304 cat conftest.$ac_ext >&5 12306 cat conftest.$ac_ext >&5
12323 fi 12325 fi
12324 done 12326 done
12325 12327
12326 12328
12327 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12329 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12328 echo "configure:12329: checking for openpty" >&5 12330 echo "configure:12331: checking for openpty" >&5
12329 12331
12330 cat > conftest.$ac_ext <<EOF 12332 cat > conftest.$ac_ext <<EOF
12331 #line 12332 "configure" 12333 #line 12334 "configure"
12332 #include "confdefs.h" 12334 #include "confdefs.h"
12333 /* System header to define __stub macros and hopefully few prototypes, 12335 /* System header to define __stub macros and hopefully few prototypes,
12334 which can conflict with char openpty(); below. */ 12336 which can conflict with char openpty(); below. */
12335 #include <assert.h> 12337 #include <assert.h>
12336 /* Override any gcc2 internal prototype to avoid an error. */ 12338 /* Override any gcc2 internal prototype to avoid an error. */
12349 openpty(); 12351 openpty();
12350 #endif 12352 #endif
12351 12353
12352 ; return 0; } 12354 ; return 0; }
12353 EOF 12355 EOF
12354 if { (eval echo configure:12355: \"$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
12355 rm -rf conftest* 12357 rm -rf conftest*
12356 eval "ac_cv_func_openpty=yes" 12358 eval "ac_cv_func_openpty=yes"
12357 else 12359 else
12358 echo "configure: failed program was:" >&5 12360 echo "configure: failed program was:" >&5
12359 cat conftest.$ac_ext >&5 12361 cat conftest.$ac_ext >&5
12368 else 12370 else
12369 echo "$ac_t""no" 1>&6 12371 echo "$ac_t""no" 1>&6
12370 12372
12371 12373
12372 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
12373 echo "configure:12374: checking for openpty in -lutil" >&5 12375 echo "configure:12376: checking for openpty in -lutil" >&5
12374 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12376 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12375 12377
12376 xe_check_libs=" -lutil " 12378 xe_check_libs=" -lutil "
12377 cat > conftest.$ac_ext <<EOF 12379 cat > conftest.$ac_ext <<EOF
12378 #line 12379 "configure" 12380 #line 12381 "configure"
12379 #include "confdefs.h" 12381 #include "confdefs.h"
12380 /* Override any gcc2 internal prototype to avoid an error. */ 12382 /* Override any gcc2 internal prototype to avoid an error. */
12381 /* 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
12382 builtin and then its argument prototype would still apply. */ 12384 builtin and then its argument prototype would still apply. */
12383 char openpty(); 12385 char openpty();
12384 12386
12385 int main() { 12387 int main() {
12386 openpty() 12388 openpty()
12387 ; return 0; } 12389 ; return 0; }
12388 EOF 12390 EOF
12389 if { (eval echo configure:12390: \"$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
12390 rm -rf conftest* 12392 rm -rf conftest*
12391 eval "ac_cv_lib_$ac_lib_var=yes" 12393 eval "ac_cv_lib_$ac_lib_var=yes"
12392 else 12394 else
12393 echo "configure: failed program was:" >&5 12395 echo "configure: failed program was:" >&5
12394 cat conftest.$ac_ext >&5 12396 cat conftest.$ac_ext >&5
12419 12421
12420 for ac_hdr in libutil.h util.h 12422 for ac_hdr in libutil.h util.h
12421 do 12423 do
12422 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12423 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12424 echo "configure:12425: checking for $ac_hdr" >&5 12426 echo "configure:12427: checking for $ac_hdr" >&5
12425 12427
12426 cat > conftest.$ac_ext <<EOF 12428 cat > conftest.$ac_ext <<EOF
12427 #line 12428 "configure" 12429 #line 12430 "configure"
12428 #include "confdefs.h" 12430 #include "confdefs.h"
12429 #include <$ac_hdr> 12431 #include <$ac_hdr>
12430 EOF 12432 EOF
12431 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"
12432 { (eval echo configure:12433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12434 { (eval echo configure:12435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12434 if test -z "$ac_err"; then 12436 if test -z "$ac_err"; then
12435 rm -rf conftest* 12437 rm -rf conftest*
12436 eval "ac_cv_header_$ac_safe=yes" 12438 eval "ac_cv_header_$ac_safe=yes"
12437 else 12439 else
12464 case "$opsys" in 12466 case "$opsys" in
12465 hpux*) for ac_hdr in sys/ptyio.h 12467 hpux*) for ac_hdr in sys/ptyio.h
12466 do 12468 do
12467 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12469 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12468 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12469 echo "configure:12470: checking for $ac_hdr" >&5 12471 echo "configure:12472: checking for $ac_hdr" >&5
12470 12472
12471 cat > conftest.$ac_ext <<EOF 12473 cat > conftest.$ac_ext <<EOF
12472 #line 12473 "configure" 12474 #line 12475 "configure"
12473 #include "confdefs.h" 12475 #include "confdefs.h"
12474 #include <$ac_hdr> 12476 #include <$ac_hdr>
12475 EOF 12477 EOF
12476 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"
12477 { (eval echo configure:12478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12479 { (eval echo configure:12480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12479 if test -z "$ac_err"; then 12481 if test -z "$ac_err"; then
12480 rm -rf conftest* 12482 rm -rf conftest*
12481 eval "ac_cv_header_$ac_safe=yes" 12483 eval "ac_cv_header_$ac_safe=yes"
12482 else 12484 else
12505 ;; 12507 ;;
12506 *) for ac_hdr in pty.h 12508 *) for ac_hdr in pty.h
12507 do 12509 do
12508 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12509 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12510 echo "configure:12511: checking for $ac_hdr" >&5 12512 echo "configure:12513: checking for $ac_hdr" >&5
12511 12513
12512 cat > conftest.$ac_ext <<EOF 12514 cat > conftest.$ac_ext <<EOF
12513 #line 12514 "configure" 12515 #line 12516 "configure"
12514 #include "confdefs.h" 12516 #include "confdefs.h"
12515 #include <$ac_hdr> 12517 #include <$ac_hdr>
12516 EOF 12518 EOF
12517 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"
12518 { (eval echo configure:12519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12520 { (eval echo configure:12521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12520 if test -z "$ac_err"; then 12522 if test -z "$ac_err"; then
12521 rm -rf conftest* 12523 rm -rf conftest*
12522 eval "ac_cv_header_$ac_safe=yes" 12524 eval "ac_cv_header_$ac_safe=yes"
12523 else 12525 else
12546 12548
12547 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
12548 do 12550 do
12549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12551 echo "configure:12552: checking for $ac_hdr" >&5 12553 echo "configure:12554: checking for $ac_hdr" >&5
12552 12554
12553 cat > conftest.$ac_ext <<EOF 12555 cat > conftest.$ac_ext <<EOF
12554 #line 12555 "configure" 12556 #line 12557 "configure"
12555 #include "confdefs.h" 12557 #include "confdefs.h"
12556 #include <$ac_hdr> 12558 #include <$ac_hdr>
12557 EOF 12559 EOF
12558 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"
12559 { (eval echo configure:12560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12561 { (eval echo configure:12562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12561 if test -z "$ac_err"; then 12563 if test -z "$ac_err"; then
12562 rm -rf conftest* 12564 rm -rf conftest*
12563 eval "ac_cv_header_$ac_safe=yes" 12565 eval "ac_cv_header_$ac_safe=yes"
12564 else 12566 else
12590 12592
12591 for ac_hdr in stropts.h 12593 for ac_hdr in stropts.h
12592 do 12594 do
12593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12595 echo "configure:12596: checking for $ac_hdr" >&5 12597 echo "configure:12598: checking for $ac_hdr" >&5
12596 12598
12597 cat > conftest.$ac_ext <<EOF 12599 cat > conftest.$ac_ext <<EOF
12598 #line 12599 "configure" 12600 #line 12601 "configure"
12599 #include "confdefs.h" 12601 #include "confdefs.h"
12600 #include <$ac_hdr> 12602 #include <$ac_hdr>
12601 EOF 12603 EOF
12602 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"
12603 { (eval echo configure:12604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12605 { (eval echo configure:12606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12605 if test -z "$ac_err"; then 12607 if test -z "$ac_err"; then
12606 rm -rf conftest* 12608 rm -rf conftest*
12607 eval "ac_cv_header_$ac_safe=yes" 12609 eval "ac_cv_header_$ac_safe=yes"
12608 else 12610 else
12631 12633
12632 if test "$ac_cv_header_stropts_h" = "yes"; then 12634 if test "$ac_cv_header_stropts_h" = "yes"; then
12633 for ac_func in isastream 12635 for ac_func in isastream
12634 do 12636 do
12635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12636 echo "configure:12637: checking for $ac_func" >&5 12638 echo "configure:12639: checking for $ac_func" >&5
12637 12639
12638 cat > conftest.$ac_ext <<EOF 12640 cat > conftest.$ac_ext <<EOF
12639 #line 12640 "configure" 12641 #line 12642 "configure"
12640 #include "confdefs.h" 12642 #include "confdefs.h"
12641 /* System header to define __stub macros and hopefully few prototypes, 12643 /* System header to define __stub macros and hopefully few prototypes,
12642 which can conflict with char $ac_func(); below. */ 12644 which can conflict with char $ac_func(); below. */
12643 #include <assert.h> 12645 #include <assert.h>
12644 /* Override any gcc2 internal prototype to avoid an error. */ 12646 /* Override any gcc2 internal prototype to avoid an error. */
12657 $ac_func(); 12659 $ac_func();
12658 #endif 12660 #endif
12659 12661
12660 ; return 0; } 12662 ; return 0; }
12661 EOF 12663 EOF
12662 if { (eval echo configure:12663: \"$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
12663 rm -rf conftest* 12665 rm -rf conftest*
12664 eval "ac_cv_func_$ac_func=yes" 12666 eval "ac_cv_func_$ac_func=yes"
12665 else 12667 else
12666 echo "configure: failed program was:" >&5 12668 echo "configure: failed program was:" >&5
12667 cat conftest.$ac_ext >&5 12669 cat conftest.$ac_ext >&5
12688 12690
12689 for ac_hdr in strtio.h 12691 for ac_hdr in strtio.h
12690 do 12692 do
12691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12693 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12694 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12693 echo "configure:12694: checking for $ac_hdr" >&5 12695 echo "configure:12696: checking for $ac_hdr" >&5
12694 12696
12695 cat > conftest.$ac_ext <<EOF 12697 cat > conftest.$ac_ext <<EOF
12696 #line 12697 "configure" 12698 #line 12699 "configure"
12697 #include "confdefs.h" 12699 #include "confdefs.h"
12698 #include <$ac_hdr> 12700 #include <$ac_hdr>
12699 EOF 12701 EOF
12700 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"
12701 { (eval echo configure:12702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12703 { (eval echo configure:12704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12703 if test -z "$ac_err"; then 12705 if test -z "$ac_err"; then
12704 rm -rf conftest* 12706 rm -rf conftest*
12705 eval "ac_cv_header_$ac_safe=yes" 12707 eval "ac_cv_header_$ac_safe=yes"
12706 else 12708 else
12729 fi 12731 fi
12730 12732
12731 for ac_func in getloadavg 12733 for ac_func in getloadavg
12732 do 12734 do
12733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12734 echo "configure:12735: checking for $ac_func" >&5 12736 echo "configure:12737: checking for $ac_func" >&5
12735 12737
12736 cat > conftest.$ac_ext <<EOF 12738 cat > conftest.$ac_ext <<EOF
12737 #line 12738 "configure" 12739 #line 12740 "configure"
12738 #include "confdefs.h" 12740 #include "confdefs.h"
12739 /* System header to define __stub macros and hopefully few prototypes, 12741 /* System header to define __stub macros and hopefully few prototypes,
12740 which can conflict with char $ac_func(); below. */ 12742 which can conflict with char $ac_func(); below. */
12741 #include <assert.h> 12743 #include <assert.h>
12742 /* Override any gcc2 internal prototype to avoid an error. */ 12744 /* Override any gcc2 internal prototype to avoid an error. */
12755 $ac_func(); 12757 $ac_func();
12756 #endif 12758 #endif
12757 12759
12758 ; return 0; } 12760 ; return 0; }
12759 EOF 12761 EOF
12760 if { (eval echo configure:12761: \"$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
12761 rm -rf conftest* 12763 rm -rf conftest*
12762 eval "ac_cv_func_$ac_func=yes" 12764 eval "ac_cv_func_$ac_func=yes"
12763 else 12765 else
12764 echo "configure: failed program was:" >&5 12766 echo "configure: failed program was:" >&5
12765 cat conftest.$ac_ext >&5 12767 cat conftest.$ac_ext >&5
12788 if test "$ac_cv_func_getloadavg" = "yes"; then 12790 if test "$ac_cv_func_getloadavg" = "yes"; then
12789 for ac_hdr in sys/loadavg.h 12791 for ac_hdr in sys/loadavg.h
12790 do 12792 do
12791 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12793 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12792 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12793 echo "configure:12794: checking for $ac_hdr" >&5 12795 echo "configure:12796: checking for $ac_hdr" >&5
12794 12796
12795 cat > conftest.$ac_ext <<EOF 12797 cat > conftest.$ac_ext <<EOF
12796 #line 12797 "configure" 12798 #line 12799 "configure"
12797 #include "confdefs.h" 12799 #include "confdefs.h"
12798 #include <$ac_hdr> 12800 #include <$ac_hdr>
12799 EOF 12801 EOF
12800 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"
12801 { (eval echo configure:12802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12803 { (eval echo configure:12804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12803 if test -z "$ac_err"; then 12805 if test -z "$ac_err"; then
12804 rm -rf conftest* 12806 rm -rf conftest*
12805 eval "ac_cv_header_$ac_safe=yes" 12807 eval "ac_cv_header_$ac_safe=yes"
12806 else 12808 else
12832 echo " xemacs will be linked with \"getloadavg.o\"" 12834 echo " xemacs will be linked with \"getloadavg.o\""
12833 fi 12835 fi
12834 12836
12835 12837
12836 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
12837 echo "configure:12838: checking for kstat_open in -lkstat" >&5 12839 echo "configure:12840: checking for kstat_open in -lkstat" >&5
12838 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12840 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12839 12841
12840 xe_check_libs=" -lkstat " 12842 xe_check_libs=" -lkstat "
12841 cat > conftest.$ac_ext <<EOF 12843 cat > conftest.$ac_ext <<EOF
12842 #line 12843 "configure" 12844 #line 12845 "configure"
12843 #include "confdefs.h" 12845 #include "confdefs.h"
12844 /* Override any gcc2 internal prototype to avoid an error. */ 12846 /* Override any gcc2 internal prototype to avoid an error. */
12845 /* 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
12846 builtin and then its argument prototype would still apply. */ 12848 builtin and then its argument prototype would still apply. */
12847 char kstat_open(); 12849 char kstat_open();
12848 12850
12849 int main() { 12851 int main() {
12850 kstat_open() 12852 kstat_open()
12851 ; return 0; } 12853 ; return 0; }
12852 EOF 12854 EOF
12853 if { (eval echo configure:12854: \"$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
12854 rm -rf conftest* 12856 rm -rf conftest*
12855 eval "ac_cv_lib_$ac_lib_var=yes" 12857 eval "ac_cv_lib_$ac_lib_var=yes"
12856 else 12858 else
12857 echo "configure: failed program was:" >&5 12859 echo "configure: failed program was:" >&5
12858 cat conftest.$ac_ext >&5 12860 cat conftest.$ac_ext >&5
12883 12885
12884 for ac_hdr in kstat.h 12886 for ac_hdr in kstat.h
12885 do 12887 do
12886 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12888 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12887 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12889 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12888 echo "configure:12889: checking for $ac_hdr" >&5 12890 echo "configure:12891: checking for $ac_hdr" >&5
12889 12891
12890 cat > conftest.$ac_ext <<EOF 12892 cat > conftest.$ac_ext <<EOF
12891 #line 12892 "configure" 12893 #line 12894 "configure"
12892 #include "confdefs.h" 12894 #include "confdefs.h"
12893 #include <$ac_hdr> 12895 #include <$ac_hdr>
12894 EOF 12896 EOF
12895 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"
12896 { (eval echo configure:12897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12898 { (eval echo configure:12899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12898 if test -z "$ac_err"; then 12900 if test -z "$ac_err"; then
12899 rm -rf conftest* 12901 rm -rf conftest*
12900 eval "ac_cv_header_$ac_safe=yes" 12902 eval "ac_cv_header_$ac_safe=yes"
12901 else 12903 else
12923 done 12925 done
12924 12926
12925 12927
12926 12928
12927 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
12928 echo "configure:12929: checking for kvm_read in -lkvm" >&5 12930 echo "configure:12931: checking for kvm_read in -lkvm" >&5
12929 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 12931 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
12930 12932
12931 xe_check_libs=" -lkvm " 12933 xe_check_libs=" -lkvm "
12932 cat > conftest.$ac_ext <<EOF 12934 cat > conftest.$ac_ext <<EOF
12933 #line 12934 "configure" 12935 #line 12936 "configure"
12934 #include "confdefs.h" 12936 #include "confdefs.h"
12935 /* Override any gcc2 internal prototype to avoid an error. */ 12937 /* Override any gcc2 internal prototype to avoid an error. */
12936 /* 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
12937 builtin and then its argument prototype would still apply. */ 12939 builtin and then its argument prototype would still apply. */
12938 char kvm_read(); 12940 char kvm_read();
12939 12941
12940 int main() { 12942 int main() {
12941 kvm_read() 12943 kvm_read()
12942 ; return 0; } 12944 ; return 0; }
12943 EOF 12945 EOF
12944 if { (eval echo configure:12945: \"$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
12945 rm -rf conftest* 12947 rm -rf conftest*
12946 eval "ac_cv_lib_$ac_lib_var=yes" 12948 eval "ac_cv_lib_$ac_lib_var=yes"
12947 else 12949 else
12948 echo "configure: failed program was:" >&5 12950 echo "configure: failed program was:" >&5
12949 cat conftest.$ac_ext >&5 12951 cat conftest.$ac_ext >&5
12973 12975
12974 12976
12975 fi 12977 fi
12976 12978
12977 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
12978 echo "configure:12979: checking whether netdb declares h_errno" >&5 12980 echo "configure:12981: checking whether netdb declares h_errno" >&5
12979 cat > conftest.$ac_ext <<EOF 12981 cat > conftest.$ac_ext <<EOF
12980 #line 12981 "configure" 12982 #line 12983 "configure"
12981 #include "confdefs.h" 12983 #include "confdefs.h"
12982 #include <netdb.h> 12984 #include <netdb.h>
12983 int main() { 12985 int main() {
12984 return h_errno; 12986 return h_errno;
12985 ; return 0; } 12987 ; return 0; }
12986 EOF 12988 EOF
12987 if { (eval echo configure:12988: \"$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
12988 rm -rf conftest* 12990 rm -rf conftest*
12989 echo "$ac_t""yes" 1>&6 12991 echo "$ac_t""yes" 1>&6
12990 { test "$extra_verbose" = "yes" && cat << \EOF 12992 { test "$extra_verbose" = "yes" && cat << \EOF
12991 Defining HAVE_H_ERRNO 12993 Defining HAVE_H_ERRNO
12992 EOF 12994 EOF
13002 echo "$ac_t""no" 1>&6 13004 echo "$ac_t""no" 1>&6
13003 fi 13005 fi
13004 rm -f conftest* 13006 rm -f conftest*
13005 13007
13006 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 13008 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
13007 echo "configure:13008: checking for sigsetjmp" >&5 13009 echo "configure:13010: checking for sigsetjmp" >&5
13008 cat > conftest.$ac_ext <<EOF 13010 cat > conftest.$ac_ext <<EOF
13009 #line 13010 "configure" 13011 #line 13012 "configure"
13010 #include "confdefs.h" 13012 #include "confdefs.h"
13011 #include <setjmp.h> 13013 #include <setjmp.h>
13012 int main() { 13014 int main() {
13013 sigjmp_buf bar; sigsetjmp (bar, 0); 13015 sigjmp_buf bar; sigsetjmp (bar, 0);
13014 ; return 0; } 13016 ; return 0; }
13015 EOF 13017 EOF
13016 if { (eval echo configure:13017: \"$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
13017 rm -rf conftest* 13019 rm -rf conftest*
13018 echo "$ac_t""yes" 1>&6 13020 echo "$ac_t""yes" 1>&6
13019 { test "$extra_verbose" = "yes" && cat << \EOF 13021 { test "$extra_verbose" = "yes" && cat << \EOF
13020 Defining HAVE_SIGSETJMP 13022 Defining HAVE_SIGSETJMP
13021 EOF 13023 EOF
13031 echo "$ac_t""no" 1>&6 13033 echo "$ac_t""no" 1>&6
13032 fi 13034 fi
13033 rm -f conftest* 13035 rm -f conftest*
13034 13036
13035 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
13036 echo "configure:13037: checking whether localtime caches TZ" >&5 13038 echo "configure:13039: checking whether localtime caches TZ" >&5
13037 13039
13038 if test "$ac_cv_func_tzset" = "yes"; then 13040 if test "$ac_cv_func_tzset" = "yes"; then
13039 cat > conftest.$ac_ext <<EOF 13041 cat > conftest.$ac_ext <<EOF
13040 #line 13041 "configure" 13042 #line 13043 "configure"
13041 #include "confdefs.h" 13043 #include "confdefs.h"
13042 #include <time.h> 13044 #include <time.h>
13043 #if STDC_HEADERS 13045 #if STDC_HEADERS
13044 # include <stdlib.h> 13046 # include <stdlib.h>
13045 #endif 13047 #endif
13070 if (localtime (&now)->tm_hour != hour_unset) 13072 if (localtime (&now)->tm_hour != hour_unset)
13071 exit (1); 13073 exit (1);
13072 exit (0); 13074 exit (0);
13073 } 13075 }
13074 EOF 13076 EOF
13075 if { (eval echo configure:13076: \"$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
13076 then 13078 then
13077 emacs_cv_localtime_cache=no 13079 emacs_cv_localtime_cache=no
13078 else 13080 else
13079 conftest_rc="$?" 13081 conftest_rc="$?"
13080 echo "configure: failed program was:" >&5 13082 echo "configure: failed program was:" >&5
13100 13102
13101 fi 13103 fi
13102 13104
13103 if test "$HAVE_TIMEVAL" = "yes"; then 13105 if test "$HAVE_TIMEVAL" = "yes"; then
13104 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
13105 echo "configure:13106: checking whether gettimeofday accepts one or two arguments" >&5 13107 echo "configure:13108: checking whether gettimeofday accepts one or two arguments" >&5
13106 cat > conftest.$ac_ext <<EOF 13108 cat > conftest.$ac_ext <<EOF
13107 #line 13108 "configure" 13109 #line 13110 "configure"
13108 #include "confdefs.h" 13110 #include "confdefs.h"
13109 13111
13110 #ifdef TIME_WITH_SYS_TIME 13112 #ifdef TIME_WITH_SYS_TIME
13111 #include <sys/time.h> 13113 #include <sys/time.h>
13112 #include <time.h> 13114 #include <time.h>
13123 struct timeval time; 13125 struct timeval time;
13124 gettimeofday (&time, 0); 13126 gettimeofday (&time, 0);
13125 13127
13126 ; return 0; } 13128 ; return 0; }
13127 EOF 13129 EOF
13128 if { (eval echo configure:13129: \"$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
13129 rm -rf conftest* 13131 rm -rf conftest*
13130 echo "$ac_t""two" 1>&6 13132 echo "$ac_t""two" 1>&6
13131 else 13133 else
13132 echo "configure: failed program was:" >&5 13134 echo "configure: failed program was:" >&5
13133 cat conftest.$ac_ext >&5 13135 cat conftest.$ac_ext >&5
13145 rm -f conftest* 13147 rm -f conftest*
13146 fi 13148 fi
13147 13149
13148 13150
13149 echo $ac_n "checking for inline""... $ac_c" 1>&6 13151 echo $ac_n "checking for inline""... $ac_c" 1>&6
13150 echo "configure:13151: checking for inline" >&5 13152 echo "configure:13153: checking for inline" >&5
13151 13153
13152 ac_cv_c_inline=no 13154 ac_cv_c_inline=no
13153 for ac_kw in inline __inline__ __inline; do 13155 for ac_kw in inline __inline__ __inline; do
13154 cat > conftest.$ac_ext <<EOF 13156 cat > conftest.$ac_ext <<EOF
13155 #line 13156 "configure" 13157 #line 13158 "configure"
13156 #include "confdefs.h" 13158 #include "confdefs.h"
13157 13159
13158 int main() { 13160 int main() {
13159 } $ac_kw foo() { 13161 } $ac_kw foo() {
13160 ; return 0; } 13162 ; return 0; }
13161 EOF 13163 EOF
13162 if { (eval echo configure:13163: \"$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
13163 rm -rf conftest* 13165 rm -rf conftest*
13164 ac_cv_c_inline=$ac_kw; break 13166 ac_cv_c_inline=$ac_kw; break
13165 else 13167 else
13166 echo "configure: failed program was:" >&5 13168 echo "configure: failed program was:" >&5
13167 cat conftest.$ac_ext >&5 13169 cat conftest.$ac_ext >&5
13194 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
13195 echo " xemacs will be linked with \"inline.o\"" 13197 echo " xemacs will be linked with \"inline.o\""
13196 fi 13198 fi
13197 13199
13198 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13200 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13199 echo "configure:13200: checking for typeof" >&5 13201 echo "configure:13202: checking for typeof" >&5
13200 cat > conftest.$ac_ext <<EOF 13202 cat > conftest.$ac_ext <<EOF
13201 #line 13202 "configure" 13203 #line 13204 "configure"
13202 #include "confdefs.h" 13204 #include "confdefs.h"
13203 13205
13204 int main() { 13206 int main() {
13205 int i; __typeof__(i) j; 13207 int i; __typeof__(i) j;
13206 ; return 0; } 13208 ; return 0; }
13207 EOF 13209 EOF
13208 if { (eval echo configure:13209: \"$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
13209 rm -rf conftest* 13211 rm -rf conftest*
13210 typeofname="__typeof__" 13212 typeofname="__typeof__"
13211 else 13213 else
13212 echo "configure: failed program was:" >&5 13214 echo "configure: failed program was:" >&5
13213 cat conftest.$ac_ext >&5 13215 cat conftest.$ac_ext >&5
13214 rm -rf conftest* 13216 rm -rf conftest*
13215 cat > conftest.$ac_ext <<EOF 13217 cat > conftest.$ac_ext <<EOF
13216 #line 13217 "configure" 13218 #line 13219 "configure"
13217 #include "confdefs.h" 13219 #include "confdefs.h"
13218 13220
13219 int main() { 13221 int main() {
13220 int i; typeof(i) j; 13222 int i; typeof(i) j;
13221 ; return 0; } 13223 ; return 0; }
13222 EOF 13224 EOF
13223 if { (eval echo configure:13224: \"$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
13224 rm -rf conftest* 13226 rm -rf conftest*
13225 typeofname="typeof" 13227 typeofname="typeof"
13226 else 13228 else
13227 echo "configure: failed program was:" >&5 13229 echo "configure: failed program was:" >&5
13228 cat conftest.$ac_ext >&5 13230 cat conftest.$ac_ext >&5
13247 13249
13248 if test "$__DECC" != "yes"; then 13250 if test "$__DECC" != "yes"; then
13249 # 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
13250 # for constant arguments. Useless! 13252 # for constant arguments. Useless!
13251 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
13252 echo "configure:13253: checking for working alloca.h" >&5 13254 echo "configure:13255: checking for working alloca.h" >&5
13253 13255
13254 cat > conftest.$ac_ext <<EOF 13256 cat > conftest.$ac_ext <<EOF
13255 #line 13256 "configure" 13257 #line 13258 "configure"
13256 #include "confdefs.h" 13258 #include "confdefs.h"
13257 #include <alloca.h> 13259 #include <alloca.h>
13258 int main() { 13260 int main() {
13259 char *p = alloca(2 * sizeof(int)); 13261 char *p = alloca(2 * sizeof(int));
13260 ; return 0; } 13262 ; return 0; }
13261 EOF 13263 EOF
13262 if { (eval echo configure:13263: \"$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
13263 rm -rf conftest* 13265 rm -rf conftest*
13264 ac_cv_header_alloca_h=yes 13266 ac_cv_header_alloca_h=yes
13265 else 13267 else
13266 echo "configure: failed program was:" >&5 13268 echo "configure: failed program was:" >&5
13267 cat conftest.$ac_ext >&5 13269 cat conftest.$ac_ext >&5
13281 } 13283 }
13282 13284
13283 fi 13285 fi
13284 13286
13285 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13287 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13286 echo "configure:13287: checking for alloca" >&5 13288 echo "configure:13289: checking for alloca" >&5
13287 13289
13288 cat > conftest.$ac_ext <<EOF 13290 cat > conftest.$ac_ext <<EOF
13289 #line 13290 "configure" 13291 #line 13292 "configure"
13290 #include "confdefs.h" 13292 #include "confdefs.h"
13291 13293
13292 #ifdef __GNUC__ 13294 #ifdef __GNUC__
13293 # define alloca __builtin_alloca 13295 # define alloca __builtin_alloca
13294 #else 13296 #else
13312 13314
13313 int main() { 13315 int main() {
13314 char *p = (char *) alloca(1); 13316 char *p = (char *) alloca(1);
13315 ; return 0; } 13317 ; return 0; }
13316 EOF 13318 EOF
13317 if { (eval echo configure:13318: \"$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
13318 rm -rf conftest* 13320 rm -rf conftest*
13319 ac_cv_func_alloca_works=yes 13321 ac_cv_func_alloca_works=yes
13320 else 13322 else
13321 echo "configure: failed program was:" >&5 13323 echo "configure: failed program was:" >&5
13322 cat conftest.$ac_ext >&5 13324 cat conftest.$ac_ext >&5
13351 EOF 13353 EOF
13352 } 13354 }
13353 13355
13354 13356
13355 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
13356 echo "configure:13357: checking whether alloca needs Cray hooks" >&5 13358 echo "configure:13359: checking whether alloca needs Cray hooks" >&5
13357 13359
13358 cat > conftest.$ac_ext <<EOF 13360 cat > conftest.$ac_ext <<EOF
13359 #line 13360 "configure" 13361 #line 13362 "configure"
13360 #include "confdefs.h" 13362 #include "confdefs.h"
13361 #if defined(CRAY) && ! defined(CRAY2) 13363 #if defined(CRAY) && ! defined(CRAY2)
13362 webecray 13364 webecray
13363 #else 13365 #else
13364 wenotbecray 13366 wenotbecray
13378 13380
13379 echo "$ac_t""$ac_cv_os_cray" 1>&6 13381 echo "$ac_t""$ac_cv_os_cray" 1>&6
13380 if test $ac_cv_os_cray = yes; then 13382 if test $ac_cv_os_cray = yes; then
13381 for ac_func in _getb67 GETB67 getb67; do 13383 for ac_func in _getb67 GETB67 getb67; do
13382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13383 echo "configure:13384: checking for $ac_func" >&5 13385 echo "configure:13386: checking for $ac_func" >&5
13384 13386
13385 cat > conftest.$ac_ext <<EOF 13387 cat > conftest.$ac_ext <<EOF
13386 #line 13387 "configure" 13388 #line 13389 "configure"
13387 #include "confdefs.h" 13389 #include "confdefs.h"
13388 /* System header to define __stub macros and hopefully few prototypes, 13390 /* System header to define __stub macros and hopefully few prototypes,
13389 which can conflict with char $ac_func(); below. */ 13391 which can conflict with char $ac_func(); below. */
13390 #include <assert.h> 13392 #include <assert.h>
13391 /* Override any gcc2 internal prototype to avoid an error. */ 13393 /* Override any gcc2 internal prototype to avoid an error. */
13404 $ac_func(); 13406 $ac_func();
13405 #endif 13407 #endif
13406 13408
13407 ; return 0; } 13409 ; return 0; }
13408 EOF 13410 EOF
13409 if { (eval echo configure:13410: \"$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
13410 rm -rf conftest* 13412 rm -rf conftest*
13411 eval "ac_cv_func_$ac_func=yes" 13413 eval "ac_cv_func_$ac_func=yes"
13412 else 13414 else
13413 echo "configure: failed program was:" >&5 13415 echo "configure: failed program was:" >&5
13414 cat conftest.$ac_ext >&5 13416 cat conftest.$ac_ext >&5
13434 13436
13435 done 13437 done
13436 fi 13438 fi
13437 13439
13438 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
13439 echo "configure:13440: checking stack direction for C alloca" >&5 13441 echo "configure:13442: checking stack direction for C alloca" >&5
13440 13442
13441 cat > conftest.$ac_ext <<EOF 13443 cat > conftest.$ac_ext <<EOF
13442 #line 13443 "configure" 13444 #line 13445 "configure"
13443 #include "confdefs.h" 13445 #include "confdefs.h"
13444 find_stack_direction () 13446 find_stack_direction ()
13445 { 13447 {
13446 static char *addr = 0; 13448 static char *addr = 0;
13447 auto char dummy; 13449 auto char dummy;
13456 main () 13458 main ()
13457 { 13459 {
13458 exit (find_stack_direction() < 0); 13460 exit (find_stack_direction() < 0);
13459 } 13461 }
13460 EOF 13462 EOF
13461 if { (eval echo configure:13462: \"$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
13462 then 13464 then
13463 ac_cv_c_stack_direction=1 13465 ac_cv_c_stack_direction=1
13464 else 13466 else
13465 conftest_rc="$?" 13467 conftest_rc="$?"
13466 echo "configure: failed program was:" >&5 13468 echo "configure: failed program was:" >&5
13485 echo " xemacs will be linked with \"$ALLOCA\"" 13487 echo " xemacs will be linked with \"$ALLOCA\""
13486 fi 13488 fi
13487 fi 13489 fi
13488 13490
13489 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
13490 echo "configure:13491: checking for working alloca in function calls" >&5 13492 echo "configure:13493: checking for working alloca in function calls" >&5
13491 cat > conftest.$ac_ext <<EOF 13493 cat > conftest.$ac_ext <<EOF
13492 #line 13493 "configure" 13494 #line 13495 "configure"
13493 #include "confdefs.h" 13495 #include "confdefs.h"
13494 13496
13495 #if defined (__CYGWIN__) 13497 #if defined (__CYGWIN__)
13496 #include <alloca.h> 13498 #include <alloca.h>
13497 #elif defined (__GNUC__) 13499 #elif defined (__GNUC__)
13540 return 1; 13542 return 1;
13541 return 0; 13543 return 0;
13542 } 13544 }
13543 13545
13544 EOF 13546 EOF
13545 if { (eval echo configure:13546: \"$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
13546 then 13548 then
13547 working_alloca_in_function_calls=yes 13549 working_alloca_in_function_calls=yes
13548 else 13550 else
13549 conftest_rc="$?" 13551 conftest_rc="$?"
13550 echo "configure: failed program was:" >&5 13552 echo "configure: failed program was:" >&5
13563 EOF 13565 EOF
13564 } 13566 }
13565 13567
13566 13568
13567 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13569 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13568 echo "configure:13569: checking for working strcoll" >&5 13570 echo "configure:13571: checking for working strcoll" >&5
13569 13571
13570 cat > conftest.$ac_ext <<EOF 13572 cat > conftest.$ac_ext <<EOF
13571 #line 13572 "configure" 13573 #line 13574 "configure"
13572 #include "confdefs.h" 13574 #include "confdefs.h"
13573 #include <string.h> 13575 #include <string.h>
13574 main () 13576 main ()
13575 { 13577 {
13576 exit (strcoll ("abc", "def") >= 0 || 13578 exit (strcoll ("abc", "def") >= 0 ||
13577 strcoll ("ABC", "DEF") >= 0 || 13579 strcoll ("ABC", "DEF") >= 0 ||
13578 strcoll ("123", "456") >= 0); 13580 strcoll ("123", "456") >= 0);
13579 } 13581 }
13580 EOF 13582 EOF
13581 if { (eval echo configure:13582: \"$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
13582 then 13584 then
13583 ac_cv_func_strcoll_works=yes 13585 ac_cv_func_strcoll_works=yes
13584 else 13586 else
13585 conftest_rc="$?" 13587 conftest_rc="$?"
13586 echo "configure: failed program was:" >&5 13588 echo "configure: failed program was:" >&5
13604 13606
13605 13607
13606 for ac_func in getpgrp 13608 for ac_func in getpgrp
13607 do 13609 do
13608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13609 echo "configure:13610: checking for $ac_func" >&5 13611 echo "configure:13612: checking for $ac_func" >&5
13610 13612
13611 cat > conftest.$ac_ext <<EOF 13613 cat > conftest.$ac_ext <<EOF
13612 #line 13613 "configure" 13614 #line 13615 "configure"
13613 #include "confdefs.h" 13615 #include "confdefs.h"
13614 /* System header to define __stub macros and hopefully few prototypes, 13616 /* System header to define __stub macros and hopefully few prototypes,
13615 which can conflict with char $ac_func(); below. */ 13617 which can conflict with char $ac_func(); below. */
13616 #include <assert.h> 13618 #include <assert.h>
13617 /* Override any gcc2 internal prototype to avoid an error. */ 13619 /* Override any gcc2 internal prototype to avoid an error. */
13630 $ac_func(); 13632 $ac_func();
13631 #endif 13633 #endif
13632 13634
13633 ; return 0; } 13635 ; return 0; }
13634 EOF 13636 EOF
13635 if { (eval echo configure:13636: \"$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
13636 rm -rf conftest* 13638 rm -rf conftest*
13637 eval "ac_cv_func_$ac_func=yes" 13639 eval "ac_cv_func_$ac_func=yes"
13638 else 13640 else
13639 echo "configure: failed program was:" >&5 13641 echo "configure: failed program was:" >&5
13640 cat conftest.$ac_ext >&5 13642 cat conftest.$ac_ext >&5
13658 echo "$ac_t""no" 1>&6 13660 echo "$ac_t""no" 1>&6
13659 fi 13661 fi
13660 done 13662 done
13661 13663
13662 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
13663 echo "configure:13664: checking whether getpgrp takes no argument" >&5 13665 echo "configure:13666: checking whether getpgrp takes no argument" >&5
13664 13666
13665 cat > conftest.$ac_ext <<EOF 13667 cat > conftest.$ac_ext <<EOF
13666 #line 13667 "configure" 13668 #line 13669 "configure"
13667 #include "confdefs.h" 13669 #include "confdefs.h"
13668 13670
13669 /* 13671 /*
13670 * If this system has a BSD-style getpgrp(), 13672 * If this system has a BSD-style getpgrp(),
13671 * which takes a pid argument, exit unsuccessfully. 13673 * which takes a pid argument, exit unsuccessfully.
13716 exit(s>>8); 13718 exit(s>>8);
13717 } 13719 }
13718 } 13720 }
13719 13721
13720 EOF 13722 EOF
13721 if { (eval echo configure:13722: \"$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
13722 then 13724 then
13723 ac_cv_func_getpgrp_void=yes 13725 ac_cv_func_getpgrp_void=yes
13724 else 13726 else
13725 conftest_rc="$?" 13727 conftest_rc="$?"
13726 echo "configure: failed program was:" >&5 13728 echo "configure: failed program was:" >&5
13743 13745
13744 fi 13746 fi
13745 13747
13746 13748
13747 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13749 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13748 echo "configure:13749: checking for working mmap" >&5 13750 echo "configure:13751: checking for working mmap" >&5
13749 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13751 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13750 cat > conftest.$ac_ext <<EOF 13752 cat > conftest.$ac_ext <<EOF
13751 #line 13752 "configure" 13753 #line 13754 "configure"
13752 #include "confdefs.h" 13754 #include "confdefs.h"
13753 #include <stdio.h> 13755 #include <stdio.h>
13754 #include <unistd.h> 13756 #include <unistd.h>
13755 #include <fcntl.h> 13757 #include <fcntl.h>
13756 #include <sys/mman.h> 13758 #include <sys/mman.h>
13779 return 0; 13781 return 0;
13780 perror ("conftest: mmap failed"); 13782 perror ("conftest: mmap failed");
13781 return 1; 13783 return 1;
13782 } 13784 }
13783 EOF 13785 EOF
13784 if { (eval echo configure:13785: \"$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
13785 then 13787 then
13786 have_mmap=yes 13788 have_mmap=yes
13787 else 13789 else
13788 conftest_rc="$?" 13790 conftest_rc="$?"
13789 echo "configure: failed program was:" >&5 13791 echo "configure: failed program was:" >&5
13808 esac 13810 esac
13809 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13811 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13810 if test "$rel_alloc $have_mmap" = "default yes"; then 13812 if test "$rel_alloc $have_mmap" = "default yes"; then
13811 if test "$doug_lea_malloc" = "yes"; then 13813 if test "$doug_lea_malloc" = "yes"; then
13812 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
13813 echo "configure:13814: checking for M_MMAP_THRESHOLD" >&5 13815 echo "configure:13816: checking for M_MMAP_THRESHOLD" >&5
13814 cat > conftest.$ac_ext <<EOF 13816 cat > conftest.$ac_ext <<EOF
13815 #line 13816 "configure" 13817 #line 13818 "configure"
13816 #include "confdefs.h" 13818 #include "confdefs.h"
13817 #include <malloc.h> 13819 #include <malloc.h>
13818 int main() { 13820 int main() {
13819 13821
13820 #ifndef M_MMAP_THRESHOLD 13822 #ifndef M_MMAP_THRESHOLD
13822 !@+$%^&*_)(_ - unlikely to compile... 13824 !@+$%^&*_)(_ - unlikely to compile...
13823 #endif 13825 #endif
13824 13826
13825 ; return 0; } 13827 ; return 0; }
13826 EOF 13828 EOF
13827 if { (eval echo configure:13828: \"$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
13828 rm -rf conftest* 13830 rm -rf conftest*
13829 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13831 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13830 else 13832 else
13831 echo "configure: failed program was:" >&5 13833 echo "configure: failed program was:" >&5
13832 cat conftest.$ac_ext >&5 13834 cat conftest.$ac_ext >&5
13847 } 13849 }
13848 13850
13849 13851
13850 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 13852 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13851 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 13853 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13852 echo "configure:13853: checking for termios.h" >&5 13854 echo "configure:13855: checking for termios.h" >&5
13853 13855
13854 cat > conftest.$ac_ext <<EOF 13856 cat > conftest.$ac_ext <<EOF
13855 #line 13856 "configure" 13857 #line 13858 "configure"
13856 #include "confdefs.h" 13858 #include "confdefs.h"
13857 #include <termios.h> 13859 #include <termios.h>
13858 EOF 13860 EOF
13859 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"
13860 { (eval echo configure:13861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13862 { (eval echo configure:13863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13862 if test -z "$ac_err"; then 13864 if test -z "$ac_err"; then
13863 rm -rf conftest* 13865 rm -rf conftest*
13864 eval "ac_cv_header_$ac_safe=yes" 13866 eval "ac_cv_header_$ac_safe=yes"
13865 else 13867 else
13898 13900
13899 else 13901 else
13900 echo "$ac_t""no" 1>&6 13902 echo "$ac_t""no" 1>&6
13901 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 13903 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13902 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 13904 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13903 echo "configure:13904: checking for termio.h" >&5 13905 echo "configure:13906: checking for termio.h" >&5
13904 13906
13905 cat > conftest.$ac_ext <<EOF 13907 cat > conftest.$ac_ext <<EOF
13906 #line 13907 "configure" 13908 #line 13909 "configure"
13907 #include "confdefs.h" 13909 #include "confdefs.h"
13908 #include <termio.h> 13910 #include <termio.h>
13909 EOF 13911 EOF
13910 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"
13911 { (eval echo configure:13912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13913 { (eval echo configure:13914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13913 if test -z "$ac_err"; then 13915 if test -z "$ac_err"; then
13914 rm -rf conftest* 13916 rm -rf conftest*
13915 eval "ac_cv_header_$ac_safe=yes" 13917 eval "ac_cv_header_$ac_safe=yes"
13916 else 13918 else
13938 fi 13940 fi
13939 13941
13940 13942
13941 13943
13942 echo $ac_n "checking for socket""... $ac_c" 1>&6 13944 echo $ac_n "checking for socket""... $ac_c" 1>&6
13943 echo "configure:13944: checking for socket" >&5 13945 echo "configure:13946: checking for socket" >&5
13944 13946
13945 cat > conftest.$ac_ext <<EOF 13947 cat > conftest.$ac_ext <<EOF
13946 #line 13947 "configure" 13948 #line 13949 "configure"
13947 #include "confdefs.h" 13949 #include "confdefs.h"
13948 /* System header to define __stub macros and hopefully few prototypes, 13950 /* System header to define __stub macros and hopefully few prototypes,
13949 which can conflict with char socket(); below. */ 13951 which can conflict with char socket(); below. */
13950 #include <assert.h> 13952 #include <assert.h>
13951 /* Override any gcc2 internal prototype to avoid an error. */ 13953 /* Override any gcc2 internal prototype to avoid an error. */
13964 socket(); 13966 socket();
13965 #endif 13967 #endif
13966 13968
13967 ; return 0; } 13969 ; return 0; }
13968 EOF 13970 EOF
13969 if { (eval echo configure:13970: \"$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
13970 rm -rf conftest* 13972 rm -rf conftest*
13971 eval "ac_cv_func_socket=yes" 13973 eval "ac_cv_func_socket=yes"
13972 else 13974 else
13973 echo "configure: failed program was:" >&5 13975 echo "configure: failed program was:" >&5
13974 cat conftest.$ac_ext >&5 13976 cat conftest.$ac_ext >&5
13979 13981
13980 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 13982 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13981 echo "$ac_t""yes" 1>&6 13983 echo "$ac_t""yes" 1>&6
13982 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 13984 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
13983 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
13984 echo "configure:13985: checking for netinet/in.h" >&5 13986 echo "configure:13987: checking for netinet/in.h" >&5
13985 13987
13986 cat > conftest.$ac_ext <<EOF 13988 cat > conftest.$ac_ext <<EOF
13987 #line 13988 "configure" 13989 #line 13990 "configure"
13988 #include "confdefs.h" 13990 #include "confdefs.h"
13989 #include <netinet/in.h> 13991 #include <netinet/in.h>
13990 EOF 13992 EOF
13991 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"
13992 { (eval echo configure:13993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13994 { (eval echo configure:13995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13994 if test -z "$ac_err"; then 13996 if test -z "$ac_err"; then
13995 rm -rf conftest* 13997 rm -rf conftest*
13996 eval "ac_cv_header_$ac_safe=yes" 13998 eval "ac_cv_header_$ac_safe=yes"
13997 else 13999 else
14004 rm -f conftest* 14006 rm -f conftest*
14005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14006 echo "$ac_t""yes" 1>&6 14008 echo "$ac_t""yes" 1>&6
14007 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 14009 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
14008 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
14009 echo "configure:14010: checking for arpa/inet.h" >&5 14011 echo "configure:14012: checking for arpa/inet.h" >&5
14010 14012
14011 cat > conftest.$ac_ext <<EOF 14013 cat > conftest.$ac_ext <<EOF
14012 #line 14013 "configure" 14014 #line 14015 "configure"
14013 #include "confdefs.h" 14015 #include "confdefs.h"
14014 #include <arpa/inet.h> 14016 #include <arpa/inet.h>
14015 EOF 14017 EOF
14016 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"
14017 { (eval echo configure:14018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14019 { (eval echo configure:14020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14019 if test -z "$ac_err"; then 14021 if test -z "$ac_err"; then
14020 rm -rf conftest* 14022 rm -rf conftest*
14021 eval "ac_cv_header_$ac_safe=yes" 14023 eval "ac_cv_header_$ac_safe=yes"
14022 else 14024 else
14037 #define HAVE_SOCKETS 1 14039 #define HAVE_SOCKETS 1
14038 EOF 14040 EOF
14039 } 14041 }
14040 14042
14041 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
14042 echo "configure:14043: checking "for sun_len member in struct sockaddr_un"" >&5 14044 echo "configure:14045: checking "for sun_len member in struct sockaddr_un"" >&5
14043 cat > conftest.$ac_ext <<EOF 14045 cat > conftest.$ac_ext <<EOF
14044 #line 14045 "configure" 14046 #line 14047 "configure"
14045 #include "confdefs.h" 14047 #include "confdefs.h"
14046 14048
14047 #include <sys/types.h> 14049 #include <sys/types.h>
14048 #include <sys/socket.h> 14050 #include <sys/socket.h>
14049 #include <sys/un.h> 14051 #include <sys/un.h>
14050 14052
14051 int main() { 14053 int main() {
14052 static struct sockaddr_un x; x.sun_len = 1; 14054 static struct sockaddr_un x; x.sun_len = 1;
14053 ; return 0; } 14055 ; return 0; }
14054 EOF 14056 EOF
14055 if { (eval echo configure:14056: \"$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
14056 rm -rf conftest* 14058 rm -rf conftest*
14057 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
14058 Defining HAVE_SOCKADDR_SUN_LEN 14060 Defining HAVE_SOCKADDR_SUN_LEN
14059 EOF 14061 EOF
14060 cat >> confdefs.h <<\EOF 14062 cat >> confdefs.h <<\EOF
14068 rm -rf conftest* 14070 rm -rf conftest*
14069 echo "$ac_t""no" 1>&6 14071 echo "$ac_t""no" 1>&6
14070 fi 14072 fi
14071 rm -f conftest* 14073 rm -f conftest*
14072 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
14073 echo "configure:14074: checking "for ip_mreq struct in netinet/in.h"" >&5 14075 echo "configure:14076: checking "for ip_mreq struct in netinet/in.h"" >&5
14074 cat > conftest.$ac_ext <<EOF 14076 cat > conftest.$ac_ext <<EOF
14075 #line 14076 "configure" 14077 #line 14078 "configure"
14076 #include "confdefs.h" 14078 #include "confdefs.h"
14077 14079
14078 #include <sys/types.h> 14080 #include <sys/types.h>
14079 #include <netinet/in.h> 14081 #include <netinet/in.h>
14080 14082
14081 int main() { 14083 int main() {
14082 static struct ip_mreq x; 14084 static struct ip_mreq x;
14083 ; return 0; } 14085 ; return 0; }
14084 EOF 14086 EOF
14085 if { (eval echo configure:14086: \"$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
14086 rm -rf conftest* 14088 rm -rf conftest*
14087 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
14088 Defining HAVE_MULTICAST 14090 Defining HAVE_MULTICAST
14089 EOF 14091 EOF
14090 cat >> confdefs.h <<\EOF 14092 cat >> confdefs.h <<\EOF
14111 echo "$ac_t""no" 1>&6 14113 echo "$ac_t""no" 1>&6
14112 fi 14114 fi
14113 14115
14114 14116
14115 echo $ac_n "checking for msgget""... $ac_c" 1>&6 14117 echo $ac_n "checking for msgget""... $ac_c" 1>&6
14116 echo "configure:14117: checking for msgget" >&5 14118 echo "configure:14119: checking for msgget" >&5
14117 14119
14118 cat > conftest.$ac_ext <<EOF 14120 cat > conftest.$ac_ext <<EOF
14119 #line 14120 "configure" 14121 #line 14122 "configure"
14120 #include "confdefs.h" 14122 #include "confdefs.h"
14121 /* System header to define __stub macros and hopefully few prototypes, 14123 /* System header to define __stub macros and hopefully few prototypes,
14122 which can conflict with char msgget(); below. */ 14124 which can conflict with char msgget(); below. */
14123 #include <assert.h> 14125 #include <assert.h>
14124 /* Override any gcc2 internal prototype to avoid an error. */ 14126 /* Override any gcc2 internal prototype to avoid an error. */
14137 msgget(); 14139 msgget();
14138 #endif 14140 #endif
14139 14141
14140 ; return 0; } 14142 ; return 0; }
14141 EOF 14143 EOF
14142 if { (eval echo configure:14143: \"$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
14143 rm -rf conftest* 14145 rm -rf conftest*
14144 eval "ac_cv_func_msgget=yes" 14146 eval "ac_cv_func_msgget=yes"
14145 else 14147 else
14146 echo "configure: failed program was:" >&5 14148 echo "configure: failed program was:" >&5
14147 cat conftest.$ac_ext >&5 14149 cat conftest.$ac_ext >&5
14152 14154
14153 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 14155 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
14154 echo "$ac_t""yes" 1>&6 14156 echo "$ac_t""yes" 1>&6
14155 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 14157 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
14156 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
14157 echo "configure:14158: checking for sys/ipc.h" >&5 14159 echo "configure:14160: checking for sys/ipc.h" >&5
14158 14160
14159 cat > conftest.$ac_ext <<EOF 14161 cat > conftest.$ac_ext <<EOF
14160 #line 14161 "configure" 14162 #line 14163 "configure"
14161 #include "confdefs.h" 14163 #include "confdefs.h"
14162 #include <sys/ipc.h> 14164 #include <sys/ipc.h>
14163 EOF 14165 EOF
14164 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"
14165 { (eval echo configure:14166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14167 { (eval echo configure:14168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14167 if test -z "$ac_err"; then 14169 if test -z "$ac_err"; then
14168 rm -rf conftest* 14170 rm -rf conftest*
14169 eval "ac_cv_header_$ac_safe=yes" 14171 eval "ac_cv_header_$ac_safe=yes"
14170 else 14172 else
14177 rm -f conftest* 14179 rm -f conftest*
14178 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14179 echo "$ac_t""yes" 1>&6 14181 echo "$ac_t""yes" 1>&6
14180 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14182 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
14181 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
14182 echo "configure:14183: checking for sys/msg.h" >&5 14184 echo "configure:14185: checking for sys/msg.h" >&5
14183 14185
14184 cat > conftest.$ac_ext <<EOF 14186 cat > conftest.$ac_ext <<EOF
14185 #line 14186 "configure" 14187 #line 14188 "configure"
14186 #include "confdefs.h" 14188 #include "confdefs.h"
14187 #include <sys/msg.h> 14189 #include <sys/msg.h>
14188 EOF 14190 EOF
14189 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"
14190 { (eval echo configure:14191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14192 { (eval echo configure:14193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14192 if test -z "$ac_err"; then 14194 if test -z "$ac_err"; then
14193 rm -rf conftest* 14195 rm -rf conftest*
14194 eval "ac_cv_header_$ac_safe=yes" 14196 eval "ac_cv_header_$ac_safe=yes"
14195 else 14197 else
14223 fi 14225 fi
14224 14226
14225 14227
14226 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14228 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14227 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14229 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14228 echo "configure:14229: checking for dirent.h" >&5 14230 echo "configure:14231: checking for dirent.h" >&5
14229 14231
14230 cat > conftest.$ac_ext <<EOF 14232 cat > conftest.$ac_ext <<EOF
14231 #line 14232 "configure" 14233 #line 14234 "configure"
14232 #include "confdefs.h" 14234 #include "confdefs.h"
14233 #include <dirent.h> 14235 #include <dirent.h>
14234 EOF 14236 EOF
14235 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"
14236 { (eval echo configure:14237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14238 { (eval echo configure:14239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14238 if test -z "$ac_err"; then 14240 if test -z "$ac_err"; then
14239 rm -rf conftest* 14241 rm -rf conftest*
14240 eval "ac_cv_header_$ac_safe=yes" 14242 eval "ac_cv_header_$ac_safe=yes"
14241 else 14243 else
14258 14260
14259 else 14261 else
14260 echo "$ac_t""no" 1>&6 14262 echo "$ac_t""no" 1>&6
14261 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14263 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14262 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
14263 echo "configure:14264: checking for sys/dir.h" >&5 14265 echo "configure:14266: checking for sys/dir.h" >&5
14264 14266
14265 cat > conftest.$ac_ext <<EOF 14267 cat > conftest.$ac_ext <<EOF
14266 #line 14267 "configure" 14268 #line 14269 "configure"
14267 #include "confdefs.h" 14269 #include "confdefs.h"
14268 #include <sys/dir.h> 14270 #include <sys/dir.h>
14269 EOF 14271 EOF
14270 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"
14271 { (eval echo configure:14272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14273 { (eval echo configure:14274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14273 if test -z "$ac_err"; then 14275 if test -z "$ac_err"; then
14274 rm -rf conftest* 14276 rm -rf conftest*
14275 eval "ac_cv_header_$ac_safe=yes" 14277 eval "ac_cv_header_$ac_safe=yes"
14276 else 14278 else
14299 fi 14301 fi
14300 14302
14301 14303
14302 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14304 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14303 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14305 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14304 echo "configure:14305: checking for nlist.h" >&5 14306 echo "configure:14307: checking for nlist.h" >&5
14305 14307
14306 cat > conftest.$ac_ext <<EOF 14308 cat > conftest.$ac_ext <<EOF
14307 #line 14308 "configure" 14309 #line 14310 "configure"
14308 #include "confdefs.h" 14310 #include "confdefs.h"
14309 #include <nlist.h> 14311 #include <nlist.h>
14310 EOF 14312 EOF
14311 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"
14312 { (eval echo configure:14313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14314 { (eval echo configure:14315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14314 if test -z "$ac_err"; then 14316 if test -z "$ac_err"; then
14315 rm -rf conftest* 14317 rm -rf conftest*
14316 eval "ac_cv_header_$ac_safe=yes" 14318 eval "ac_cv_header_$ac_safe=yes"
14317 else 14319 else
14337 fi 14339 fi
14338 14340
14339 14341
14340 14342
14341 echo "checking "for sound support"" 1>&6 14343 echo "checking "for sound support"" 1>&6
14342 echo "configure:14343: checking "for sound support"" >&5 14344 echo "configure:14345: checking "for sound support"" >&5
14343 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
14344 14346
14345 if test "$with_native_sound" != "no"; then 14347 if test "$with_native_sound" != "no"; then
14346 if test -n "$native_sound_lib"; then 14348 if test -n "$native_sound_lib"; then
14347 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14349 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14348 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
14349 echo "configure:14350: checking for multimedia/audio_device.h" >&5 14351 echo "configure:14352: checking for multimedia/audio_device.h" >&5
14350 14352
14351 cat > conftest.$ac_ext <<EOF 14353 cat > conftest.$ac_ext <<EOF
14352 #line 14353 "configure" 14354 #line 14355 "configure"
14353 #include "confdefs.h" 14355 #include "confdefs.h"
14354 #include <multimedia/audio_device.h> 14356 #include <multimedia/audio_device.h>
14355 EOF 14357 EOF
14356 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"
14357 { (eval echo configure:14358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14359 { (eval echo configure:14360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14359 if test -z "$ac_err"; then 14361 if test -z "$ac_err"; then
14360 rm -rf conftest* 14362 rm -rf conftest*
14361 eval "ac_cv_header_$ac_safe=yes" 14363 eval "ac_cv_header_$ac_safe=yes"
14362 else 14364 else
14408 case "$canonical" in 14410 case "$canonical" in
14409 *-sgi-* ) 14411 *-sgi-* )
14410 if test -z "$native_sound_lib"; then 14412 if test -z "$native_sound_lib"; then
14411 14413
14412 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
14413 echo "configure:14414: checking for ALopenport in -laudio" >&5 14415 echo "configure:14416: checking for ALopenport in -laudio" >&5
14414 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14416 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14415 14417
14416 xe_check_libs=" -laudio " 14418 xe_check_libs=" -laudio "
14417 cat > conftest.$ac_ext <<EOF 14419 cat > conftest.$ac_ext <<EOF
14418 #line 14419 "configure" 14420 #line 14421 "configure"
14419 #include "confdefs.h" 14421 #include "confdefs.h"
14420 /* Override any gcc2 internal prototype to avoid an error. */ 14422 /* Override any gcc2 internal prototype to avoid an error. */
14421 /* 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
14422 builtin and then its argument prototype would still apply. */ 14424 builtin and then its argument prototype would still apply. */
14423 char ALopenport(); 14425 char ALopenport();
14424 14426
14425 int main() { 14427 int main() {
14426 ALopenport() 14428 ALopenport()
14427 ; return 0; } 14429 ; return 0; }
14428 EOF 14430 EOF
14429 if { (eval echo configure:14430: \"$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
14430 rm -rf conftest* 14432 rm -rf conftest*
14431 eval "ac_cv_lib_$ac_lib_var=yes" 14433 eval "ac_cv_lib_$ac_lib_var=yes"
14432 else 14434 else
14433 echo "configure: failed program was:" >&5 14435 echo "configure: failed program was:" >&5
14434 cat conftest.$ac_ext >&5 14436 cat conftest.$ac_ext >&5
14455 fi ;; 14457 fi ;;
14456 hppa*-hp-hpux* ) 14458 hppa*-hp-hpux* )
14457 if test -z "$native_sound_lib"; then 14459 if test -z "$native_sound_lib"; then
14458 14460
14459 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
14460 echo "configure:14461: checking for AOpenAudio in -lAlib" >&5 14462 echo "configure:14463: checking for AOpenAudio in -lAlib" >&5
14461 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14463 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14462 14464
14463 xe_check_libs=" -lAlib " 14465 xe_check_libs=" -lAlib "
14464 cat > conftest.$ac_ext <<EOF 14466 cat > conftest.$ac_ext <<EOF
14465 #line 14466 "configure" 14467 #line 14468 "configure"
14466 #include "confdefs.h" 14468 #include "confdefs.h"
14467 /* Override any gcc2 internal prototype to avoid an error. */ 14469 /* Override any gcc2 internal prototype to avoid an error. */
14468 /* 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
14469 builtin and then its argument prototype would still apply. */ 14471 builtin and then its argument prototype would still apply. */
14470 char AOpenAudio(); 14472 char AOpenAudio();
14471 14473
14472 int main() { 14474 int main() {
14473 AOpenAudio() 14475 AOpenAudio()
14474 ; return 0; } 14476 ; return 0; }
14475 EOF 14477 EOF
14476 if { (eval echo configure:14477: \"$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
14477 rm -rf conftest* 14479 rm -rf conftest*
14478 eval "ac_cv_lib_$ac_lib_var=yes" 14480 eval "ac_cv_lib_$ac_lib_var=yes"
14479 else 14481 else
14480 echo "configure: failed program was:" >&5 14482 echo "configure: failed program was:" >&5
14481 cat conftest.$ac_ext >&5 14483 cat conftest.$ac_ext >&5
14519 14521
14520 if test -z "$sound_found"; then 14522 if test -z "$sound_found"; then
14521 for dir in "machine" "sys" "linux"; do 14523 for dir in "machine" "sys" "linux"; do
14522 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14524 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14523 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
14524 echo "configure:14525: checking for ${dir}/soundcard.h" >&5 14526 echo "configure:14527: checking for ${dir}/soundcard.h" >&5
14525 14527
14526 cat > conftest.$ac_ext <<EOF 14528 cat > conftest.$ac_ext <<EOF
14527 #line 14528 "configure" 14529 #line 14530 "configure"
14528 #include "confdefs.h" 14530 #include "confdefs.h"
14529 #include <${dir}/soundcard.h> 14531 #include <${dir}/soundcard.h>
14530 EOF 14532 EOF
14531 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"
14532 { (eval echo configure:14533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14534 { (eval echo configure:14535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14534 if test -z "$ac_err"; then 14536 if test -z "$ac_err"; then
14535 rm -rf conftest* 14537 rm -rf conftest*
14536 eval "ac_cv_header_$ac_safe=yes" 14538 eval "ac_cv_header_$ac_safe=yes"
14537 else 14539 else
14581 fi 14583 fi
14582 14584
14583 if test "$with_nas_sound" != "no"; then 14585 if test "$with_nas_sound" != "no"; then
14584 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14586 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14585 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
14586 echo "configure:14587: checking for audio/audiolib.h" >&5 14588 echo "configure:14589: checking for audio/audiolib.h" >&5
14587 14589
14588 cat > conftest.$ac_ext <<EOF 14590 cat > conftest.$ac_ext <<EOF
14589 #line 14590 "configure" 14591 #line 14592 "configure"
14590 #include "confdefs.h" 14592 #include "confdefs.h"
14591 #include <audio/audiolib.h> 14593 #include <audio/audiolib.h>
14592 EOF 14594 EOF
14593 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"
14594 { (eval echo configure:14595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14596 { (eval echo configure:14597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14596 if test -z "$ac_err"; then 14598 if test -z "$ac_err"; then
14597 rm -rf conftest* 14599 rm -rf conftest*
14598 eval "ac_cv_header_$ac_safe=yes" 14600 eval "ac_cv_header_$ac_safe=yes"
14599 else 14601 else
14607 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14608 echo "$ac_t""yes" 1>&6 14610 echo "$ac_t""yes" 1>&6
14609 14611
14610 14612
14611 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
14612 echo "configure:14613: checking for AuOpenServer in -laudio" >&5 14614 echo "configure:14615: checking for AuOpenServer in -laudio" >&5
14613 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14615 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14614 14616
14615 xe_check_libs=" -laudio " 14617 xe_check_libs=" -laudio "
14616 cat > conftest.$ac_ext <<EOF 14618 cat > conftest.$ac_ext <<EOF
14617 #line 14618 "configure" 14619 #line 14620 "configure"
14618 #include "confdefs.h" 14620 #include "confdefs.h"
14619 /* Override any gcc2 internal prototype to avoid an error. */ 14621 /* Override any gcc2 internal prototype to avoid an error. */
14620 /* 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
14621 builtin and then its argument prototype would still apply. */ 14623 builtin and then its argument prototype would still apply. */
14622 char AuOpenServer(); 14624 char AuOpenServer();
14623 14625
14624 int main() { 14626 int main() {
14625 AuOpenServer() 14627 AuOpenServer()
14626 ; return 0; } 14628 ; return 0; }
14627 EOF 14629 EOF
14628 if { (eval echo configure:14629: \"$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
14629 rm -rf conftest* 14631 rm -rf conftest*
14630 eval "ac_cv_lib_$ac_lib_var=yes" 14632 eval "ac_cv_lib_$ac_lib_var=yes"
14631 else 14633 else
14632 echo "configure: failed program was:" >&5 14634 echo "configure: failed program was:" >&5
14633 cat conftest.$ac_ext >&5 14635 cat conftest.$ac_ext >&5
14662 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
14663 echo " xemacs will be linked with \"nas.o\"" 14665 echo " xemacs will be linked with \"nas.o\""
14664 fi 14666 fi
14665 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
14666 cat > conftest.$ac_ext <<EOF 14668 cat > conftest.$ac_ext <<EOF
14667 #line 14668 "configure" 14669 #line 14670 "configure"
14668 #include "confdefs.h" 14670 #include "confdefs.h"
14669 #include <audio/Xtutil.h> 14671 #include <audio/Xtutil.h>
14670 EOF 14672 EOF
14671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14672 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14674 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14693 14695
14694 if test "$with_esd_sound" != "no"; then 14696 if test "$with_esd_sound" != "no"; then
14695 # 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.
14696 set dummy esd-config; ac_word=$2 14698 set dummy esd-config; ac_word=$2
14697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14698 echo "configure:14699: checking for $ac_word" >&5 14700 echo "configure:14701: checking for $ac_word" >&5
14699 14701
14700 if test -n "$have_esd_config"; then 14702 if test -n "$have_esd_config"; then
14701 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.
14702 else 14704 else
14703 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14722 if test "$have_esd_config" = "yes"; then 14724 if test "$have_esd_config" = "yes"; then
14723 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14725 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14724 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
14725 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
14726 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
14727 echo "configure:14728: checking for esd_play_stream" >&5 14729 echo "configure:14730: checking for esd_play_stream" >&5
14728 14730
14729 cat > conftest.$ac_ext <<EOF 14731 cat > conftest.$ac_ext <<EOF
14730 #line 14731 "configure" 14732 #line 14733 "configure"
14731 #include "confdefs.h" 14733 #include "confdefs.h"
14732 /* System header to define __stub macros and hopefully few prototypes, 14734 /* System header to define __stub macros and hopefully few prototypes,
14733 which can conflict with char esd_play_stream(); below. */ 14735 which can conflict with char esd_play_stream(); below. */
14734 #include <assert.h> 14736 #include <assert.h>
14735 /* Override any gcc2 internal prototype to avoid an error. */ 14737 /* Override any gcc2 internal prototype to avoid an error. */
14748 esd_play_stream(); 14750 esd_play_stream();
14749 #endif 14751 #endif
14750 14752
14751 ; return 0; } 14753 ; return 0; }
14752 EOF 14754 EOF
14753 if { (eval echo configure:14754: \"$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
14754 rm -rf conftest* 14756 rm -rf conftest*
14755 eval "ac_cv_func_esd_play_stream=yes" 14757 eval "ac_cv_func_esd_play_stream=yes"
14756 else 14758 else
14757 echo "configure: failed program was:" >&5 14759 echo "configure: failed program was:" >&5
14758 cat conftest.$ac_ext >&5 14760 cat conftest.$ac_ext >&5
14799 14801
14800 test -z "$with_tty" && with_tty=yes 14802 test -z "$with_tty" && with_tty=yes
14801 14803
14802 if test "$with_tty" = "yes" ; then 14804 if test "$with_tty" = "yes" ; then
14803 echo "checking for TTY-related features" 1>&6 14805 echo "checking for TTY-related features" 1>&6
14804 echo "configure:14805: checking for TTY-related features" >&5 14806 echo "configure:14807: checking for TTY-related features" >&5
14805 { test "$extra_verbose" = "yes" && cat << \EOF 14807 { test "$extra_verbose" = "yes" && cat << \EOF
14806 Defining HAVE_TTY 14808 Defining HAVE_TTY
14807 EOF 14809 EOF
14808 cat >> confdefs.h <<\EOF 14810 cat >> confdefs.h <<\EOF
14809 #define HAVE_TTY 1 14811 #define HAVE_TTY 1
14812 14814
14813 14815
14814 if test -z "$with_ncurses"; then 14816 if test -z "$with_ncurses"; then
14815 14817
14816 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
14817 echo "configure:14818: checking for tgetent in -lncurses" >&5 14819 echo "configure:14820: checking for tgetent in -lncurses" >&5
14818 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 14820 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14819 14821
14820 xe_check_libs=" -lncurses " 14822 xe_check_libs=" -lncurses "
14821 cat > conftest.$ac_ext <<EOF 14823 cat > conftest.$ac_ext <<EOF
14822 #line 14823 "configure" 14824 #line 14825 "configure"
14823 #include "confdefs.h" 14825 #include "confdefs.h"
14824 /* Override any gcc2 internal prototype to avoid an error. */ 14826 /* Override any gcc2 internal prototype to avoid an error. */
14825 /* 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
14826 builtin and then its argument prototype would still apply. */ 14828 builtin and then its argument prototype would still apply. */
14827 char tgetent(); 14829 char tgetent();
14828 14830
14829 int main() { 14831 int main() {
14830 tgetent() 14832 tgetent()
14831 ; return 0; } 14833 ; return 0; }
14832 EOF 14834 EOF
14833 if { (eval echo configure:14834: \"$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
14834 rm -rf conftest* 14836 rm -rf conftest*
14835 eval "ac_cv_lib_$ac_lib_var=yes" 14837 eval "ac_cv_lib_$ac_lib_var=yes"
14836 else 14838 else
14837 echo "configure: failed program was:" >&5 14839 echo "configure: failed program was:" >&5
14838 cat conftest.$ac_ext >&5 14840 cat conftest.$ac_ext >&5
14861 EOF 14863 EOF
14862 } 14864 }
14863 14865
14864 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14866 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14865 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
14866 echo "configure:14867: checking for ncurses/curses.h" >&5 14868 echo "configure:14869: checking for ncurses/curses.h" >&5
14867 14869
14868 cat > conftest.$ac_ext <<EOF 14870 cat > conftest.$ac_ext <<EOF
14869 #line 14870 "configure" 14871 #line 14872 "configure"
14870 #include "confdefs.h" 14872 #include "confdefs.h"
14871 #include <ncurses/curses.h> 14873 #include <ncurses/curses.h>
14872 EOF 14874 EOF
14873 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"
14874 { (eval echo configure:14875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14876 { (eval echo configure:14877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14875 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14876 if test -z "$ac_err"; then 14878 if test -z "$ac_err"; then
14877 rm -rf conftest* 14879 rm -rf conftest*
14878 eval "ac_cv_header_$ac_safe=yes" 14880 eval "ac_cv_header_$ac_safe=yes"
14879 else 14881 else
14891 echo "$ac_t""no" 1>&6 14893 echo "$ac_t""no" 1>&6
14892 fi 14894 fi
14893 14895
14894 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 14896 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
14895 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
14896 echo "configure:14897: checking for ncurses/term.h" >&5 14898 echo "configure:14899: checking for ncurses/term.h" >&5
14897 14899
14898 cat > conftest.$ac_ext <<EOF 14900 cat > conftest.$ac_ext <<EOF
14899 #line 14900 "configure" 14901 #line 14902 "configure"
14900 #include "confdefs.h" 14902 #include "confdefs.h"
14901 #include <ncurses/term.h> 14903 #include <ncurses/term.h>
14902 EOF 14904 EOF
14903 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"
14904 { (eval echo configure:14905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14906 { (eval echo configure:14907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14906 if test -z "$ac_err"; then 14908 if test -z "$ac_err"; then
14907 rm -rf conftest* 14909 rm -rf conftest*
14908 eval "ac_cv_header_$ac_safe=yes" 14910 eval "ac_cv_header_$ac_safe=yes"
14909 else 14911 else
14929 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 14931 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
14930 save_c_switch_site="$c_switch_site" 14932 save_c_switch_site="$c_switch_site"
14931 c_switch_site="$c_switch_site -I/usr/include/ncurses" 14933 c_switch_site="$c_switch_site -I/usr/include/ncurses"
14932 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14934 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14933 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
14934 echo "configure:14935: checking for ncurses/curses.h" >&5 14936 echo "configure:14937: checking for ncurses/curses.h" >&5
14935 14937
14936 cat > conftest.$ac_ext <<EOF 14938 cat > conftest.$ac_ext <<EOF
14937 #line 14938 "configure" 14939 #line 14940 "configure"
14938 #include "confdefs.h" 14940 #include "confdefs.h"
14939 #include <ncurses/curses.h> 14941 #include <ncurses/curses.h>
14940 EOF 14942 EOF
14941 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"
14942 { (eval echo configure:14943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14944 { (eval echo configure:14945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14944 if test -z "$ac_err"; then 14946 if test -z "$ac_err"; then
14945 rm -rf conftest* 14947 rm -rf conftest*
14946 eval "ac_cv_header_$ac_safe=yes" 14948 eval "ac_cv_header_$ac_safe=yes"
14947 else 14949 else
14972 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
14973 else 14975 else
14974 for lib in curses termlib termcap; do 14976 for lib in curses termlib termcap; do
14975 14977
14976 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
14977 echo "configure:14978: checking for tgetent in -l$lib" >&5 14979 echo "configure:14980: checking for tgetent in -l$lib" >&5
14978 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 14980 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
14979 14981
14980 xe_check_libs=" -l$lib " 14982 xe_check_libs=" -l$lib "
14981 cat > conftest.$ac_ext <<EOF 14983 cat > conftest.$ac_ext <<EOF
14982 #line 14983 "configure" 14984 #line 14985 "configure"
14983 #include "confdefs.h" 14985 #include "confdefs.h"
14984 /* Override any gcc2 internal prototype to avoid an error. */ 14986 /* Override any gcc2 internal prototype to avoid an error. */
14985 /* 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
14986 builtin and then its argument prototype would still apply. */ 14988 builtin and then its argument prototype would still apply. */
14987 char tgetent(); 14989 char tgetent();
14988 14990
14989 int main() { 14991 int main() {
14990 tgetent() 14992 tgetent()
14991 ; return 0; } 14993 ; return 0; }
14992 EOF 14994 EOF
14993 if { (eval echo configure:14994: \"$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
14994 rm -rf conftest* 14996 rm -rf conftest*
14995 eval "ac_cv_lib_$ac_lib_var=yes" 14997 eval "ac_cv_lib_$ac_lib_var=yes"
14996 else 14998 else
14997 echo "configure: failed program was:" >&5 14999 echo "configure: failed program was:" >&5
14998 cat conftest.$ac_ext >&5 15000 cat conftest.$ac_ext >&5
15019 if test -n "$libs_termcap"; then 15021 if test -n "$libs_termcap"; then
15020 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
15021 else 15023 else
15022 15024
15023 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
15024 echo "configure:15025: checking for tgetent in -lcurses" >&5 15026 echo "configure:15027: checking for tgetent in -lcurses" >&5
15025 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 15027 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
15026 15028
15027 xe_check_libs=" -lcurses " 15029 xe_check_libs=" -lcurses "
15028 cat > conftest.$ac_ext <<EOF 15030 cat > conftest.$ac_ext <<EOF
15029 #line 15030 "configure" 15031 #line 15032 "configure"
15030 #include "confdefs.h" 15032 #include "confdefs.h"
15031 /* Override any gcc2 internal prototype to avoid an error. */ 15033 /* Override any gcc2 internal prototype to avoid an error. */
15032 /* 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
15033 builtin and then its argument prototype would still apply. */ 15035 builtin and then its argument prototype would still apply. */
15034 char tgetent(); 15036 char tgetent();
15035 15037
15036 int main() { 15038 int main() {
15037 tgetent() 15039 tgetent()
15038 ; return 0; } 15040 ; return 0; }
15039 EOF 15041 EOF
15040 if { (eval echo configure:15041: \"$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
15041 rm -rf conftest* 15043 rm -rf conftest*
15042 eval "ac_cv_lib_$ac_lib_var=yes" 15044 eval "ac_cv_lib_$ac_lib_var=yes"
15043 else 15045 else
15044 echo "configure: failed program was:" >&5 15046 echo "configure: failed program was:" >&5
15045 cat conftest.$ac_ext >&5 15047 cat conftest.$ac_ext >&5
15053 echo "$ac_t""yes" 1>&6 15055 echo "$ac_t""yes" 1>&6
15054 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
15055 else 15057 else
15056 echo "$ac_t""no" 1>&6 15058 echo "$ac_t""no" 1>&6
15057 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
15058 echo "configure:15059: checking for tgetent in -ltermcap" >&5 15060 echo "configure:15061: checking for tgetent in -ltermcap" >&5
15059 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 15061 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
15060 15062
15061 xe_check_libs=" -ltermcap " 15063 xe_check_libs=" -ltermcap "
15062 cat > conftest.$ac_ext <<EOF 15064 cat > conftest.$ac_ext <<EOF
15063 #line 15064 "configure" 15065 #line 15066 "configure"
15064 #include "confdefs.h" 15066 #include "confdefs.h"
15065 /* Override any gcc2 internal prototype to avoid an error. */ 15067 /* Override any gcc2 internal prototype to avoid an error. */
15066 /* 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
15067 builtin and then its argument prototype would still apply. */ 15069 builtin and then its argument prototype would still apply. */
15068 char tgetent(); 15070 char tgetent();
15069 15071
15070 int main() { 15072 int main() {
15071 tgetent() 15073 tgetent()
15072 ; return 0; } 15074 ; return 0; }
15073 EOF 15075 EOF
15074 if { (eval echo configure:15075: \"$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
15075 rm -rf conftest* 15077 rm -rf conftest*
15076 eval "ac_cv_lib_$ac_lib_var=yes" 15078 eval "ac_cv_lib_$ac_lib_var=yes"
15077 else 15079 else
15078 echo "configure: failed program was:" >&5 15080 echo "configure: failed program was:" >&5
15079 cat conftest.$ac_ext >&5 15081 cat conftest.$ac_ext >&5
15118 15120
15119 15121
15120 if test "$with_gpm" != "no"; then 15122 if test "$with_gpm" != "no"; then
15121 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 15123 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
15122 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 15124 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
15123 echo "configure:15124: checking for gpm.h" >&5 15125 echo "configure:15126: checking for gpm.h" >&5
15124 15126
15125 cat > conftest.$ac_ext <<EOF 15127 cat > conftest.$ac_ext <<EOF
15126 #line 15127 "configure" 15128 #line 15129 "configure"
15127 #include "confdefs.h" 15129 #include "confdefs.h"
15128 #include <gpm.h> 15130 #include <gpm.h>
15129 EOF 15131 EOF
15130 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"
15131 { (eval echo configure:15132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15133 { (eval echo configure:15134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15133 if test -z "$ac_err"; then 15135 if test -z "$ac_err"; then
15134 rm -rf conftest* 15136 rm -rf conftest*
15135 eval "ac_cv_header_$ac_safe=yes" 15137 eval "ac_cv_header_$ac_safe=yes"
15136 else 15138 else
15144 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15146 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15145 echo "$ac_t""yes" 1>&6 15147 echo "$ac_t""yes" 1>&6
15146 15148
15147 15149
15148 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
15149 echo "configure:15150: checking for Gpm_Open in -lgpm" >&5 15151 echo "configure:15152: checking for Gpm_Open in -lgpm" >&5
15150 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 15152 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
15151 15153
15152 xe_check_libs=" -lgpm " 15154 xe_check_libs=" -lgpm "
15153 cat > conftest.$ac_ext <<EOF 15155 cat > conftest.$ac_ext <<EOF
15154 #line 15155 "configure" 15156 #line 15157 "configure"
15155 #include "confdefs.h" 15157 #include "confdefs.h"
15156 /* Override any gcc2 internal prototype to avoid an error. */ 15158 /* Override any gcc2 internal prototype to avoid an error. */
15157 /* 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
15158 builtin and then its argument prototype would still apply. */ 15160 builtin and then its argument prototype would still apply. */
15159 char Gpm_Open(); 15161 char Gpm_Open();
15160 15162
15161 int main() { 15163 int main() {
15162 Gpm_Open() 15164 Gpm_Open()
15163 ; return 0; } 15165 ; return 0; }
15164 EOF 15166 EOF
15165 if { (eval echo configure:15166: \"$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
15166 rm -rf conftest* 15168 rm -rf conftest*
15167 eval "ac_cv_lib_$ac_lib_var=yes" 15169 eval "ac_cv_lib_$ac_lib_var=yes"
15168 else 15170 else
15169 echo "configure: failed program was:" >&5 15171 echo "configure: failed program was:" >&5
15170 cat conftest.$ac_ext >&5 15172 cat conftest.$ac_ext >&5
15212 done 15214 done
15213 fi 15215 fi
15214 15216
15215 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15217 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15216 != "no no no" && echo "checking for database support" 1>&6 15218 != "no no no" && echo "checking for database support" 1>&6
15217 echo "configure:15218: checking for database support" >&5 15219 echo "configure:15220: checking for database support" >&5
15218 15220
15219 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15221 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15220 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15222 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15221 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15223 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15222 echo "configure:15223: checking for ndbm.h" >&5 15224 echo "configure:15225: checking for ndbm.h" >&5
15223 15225
15224 cat > conftest.$ac_ext <<EOF 15226 cat > conftest.$ac_ext <<EOF
15225 #line 15226 "configure" 15227 #line 15228 "configure"
15226 #include "confdefs.h" 15228 #include "confdefs.h"
15227 #include <ndbm.h> 15229 #include <ndbm.h>
15228 EOF 15230 EOF
15229 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"
15230 { (eval echo configure:15231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15232 { (eval echo configure:15233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15232 if test -z "$ac_err"; then 15234 if test -z "$ac_err"; then
15233 rm -rf conftest* 15235 rm -rf conftest*
15234 eval "ac_cv_header_$ac_safe=yes" 15236 eval "ac_cv_header_$ac_safe=yes"
15235 else 15237 else
15255 fi 15257 fi
15256 15258
15257 if test "$with_database_gdbm" != "no"; then 15259 if test "$with_database_gdbm" != "no"; then
15258 15260
15259 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
15260 echo "configure:15261: checking for dbm_open in -lgdbm" >&5 15262 echo "configure:15263: checking for dbm_open in -lgdbm" >&5
15261 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15263 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15262 15264
15263 xe_check_libs=" -lgdbm " 15265 xe_check_libs=" -lgdbm "
15264 cat > conftest.$ac_ext <<EOF 15266 cat > conftest.$ac_ext <<EOF
15265 #line 15266 "configure" 15267 #line 15268 "configure"
15266 #include "confdefs.h" 15268 #include "confdefs.h"
15267 /* Override any gcc2 internal prototype to avoid an error. */ 15269 /* Override any gcc2 internal prototype to avoid an error. */
15268 /* 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
15269 builtin and then its argument prototype would still apply. */ 15271 builtin and then its argument prototype would still apply. */
15270 char dbm_open(); 15272 char dbm_open();
15271 15273
15272 int main() { 15274 int main() {
15273 dbm_open() 15275 dbm_open()
15274 ; return 0; } 15276 ; return 0; }
15275 EOF 15277 EOF
15276 if { (eval echo configure:15277: \"$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
15277 rm -rf conftest* 15279 rm -rf conftest*
15278 eval "ac_cv_lib_$ac_lib_var=yes" 15280 eval "ac_cv_lib_$ac_lib_var=yes"
15279 else 15281 else
15280 echo "configure: failed program was:" >&5 15282 echo "configure: failed program was:" >&5
15281 cat conftest.$ac_ext >&5 15283 cat conftest.$ac_ext >&5
15299 15301
15300 fi 15302 fi
15301 15303
15302 if test "$with_database_dbm" != "no"; then 15304 if test "$with_database_dbm" != "no"; then
15303 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15305 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15304 echo "configure:15305: checking for dbm_open" >&5 15306 echo "configure:15307: checking for dbm_open" >&5
15305 15307
15306 cat > conftest.$ac_ext <<EOF 15308 cat > conftest.$ac_ext <<EOF
15307 #line 15308 "configure" 15309 #line 15310 "configure"
15308 #include "confdefs.h" 15310 #include "confdefs.h"
15309 /* System header to define __stub macros and hopefully few prototypes, 15311 /* System header to define __stub macros and hopefully few prototypes,
15310 which can conflict with char dbm_open(); below. */ 15312 which can conflict with char dbm_open(); below. */
15311 #include <assert.h> 15313 #include <assert.h>
15312 /* Override any gcc2 internal prototype to avoid an error. */ 15314 /* Override any gcc2 internal prototype to avoid an error. */
15325 dbm_open(); 15327 dbm_open();
15326 #endif 15328 #endif
15327 15329
15328 ; return 0; } 15330 ; return 0; }
15329 EOF 15331 EOF
15330 if { (eval echo configure:15331: \"$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
15331 rm -rf conftest* 15333 rm -rf conftest*
15332 eval "ac_cv_func_dbm_open=yes" 15334 eval "ac_cv_func_dbm_open=yes"
15333 else 15335 else
15334 echo "configure: failed program was:" >&5 15336 echo "configure: failed program was:" >&5
15335 cat conftest.$ac_ext >&5 15337 cat conftest.$ac_ext >&5
15344 else 15346 else
15345 echo "$ac_t""no" 1>&6 15347 echo "$ac_t""no" 1>&6
15346 15348
15347 15349
15348 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
15349 echo "configure:15350: checking for dbm_open in -ldbm" >&5 15351 echo "configure:15352: checking for dbm_open in -ldbm" >&5
15350 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15352 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15351 15353
15352 xe_check_libs=" -ldbm " 15354 xe_check_libs=" -ldbm "
15353 cat > conftest.$ac_ext <<EOF 15355 cat > conftest.$ac_ext <<EOF
15354 #line 15355 "configure" 15356 #line 15357 "configure"
15355 #include "confdefs.h" 15357 #include "confdefs.h"
15356 /* Override any gcc2 internal prototype to avoid an error. */ 15358 /* Override any gcc2 internal prototype to avoid an error. */
15357 /* 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
15358 builtin and then its argument prototype would still apply. */ 15360 builtin and then its argument prototype would still apply. */
15359 char dbm_open(); 15361 char dbm_open();
15360 15362
15361 int main() { 15363 int main() {
15362 dbm_open() 15364 dbm_open()
15363 ; return 0; } 15365 ; return 0; }
15364 EOF 15366 EOF
15365 if { (eval echo configure:15366: \"$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
15366 rm -rf conftest* 15368 rm -rf conftest*
15367 eval "ac_cv_lib_$ac_lib_var=yes" 15369 eval "ac_cv_lib_$ac_lib_var=yes"
15368 else 15370 else
15369 echo "configure: failed program was:" >&5 15371 echo "configure: failed program was:" >&5
15370 cat conftest.$ac_ext >&5 15372 cat conftest.$ac_ext >&5
15401 } 15403 }
15402 15404
15403 15405
15404 if test "$with_database_berkdb" != "no"; then 15406 if test "$with_database_berkdb" != "no"; then
15405 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
15406 echo "configure:15407: checking for Berkeley db.h" >&5 15408 echo "configure:15409: checking for Berkeley db.h" >&5
15407 for header in "db/db.h" "db.h"; do 15409 for header in "db/db.h" "db.h"; do
15408 cat > conftest.$ac_ext <<EOF 15410 cat > conftest.$ac_ext <<EOF
15409 #line 15410 "configure" 15411 #line 15412 "configure"
15410 #include "confdefs.h" 15412 #include "confdefs.h"
15411 15413
15412 #include <stdlib.h> 15414 #include <stdlib.h>
15413 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15415 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15414 #ifdef HAVE_INTTYPES_H 15416 #ifdef HAVE_INTTYPES_H
15426 15428
15427 int main() { 15429 int main() {
15428 15430
15429 ; return 0; } 15431 ; return 0; }
15430 EOF 15432 EOF
15431 if { (eval echo configure:15432: \"$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
15432 rm -rf conftest* 15434 rm -rf conftest*
15433 db_h_file="$header"; break 15435 db_h_file="$header"; break
15434 else 15436 else
15435 echo "configure: failed program was:" >&5 15437 echo "configure: failed program was:" >&5
15436 cat conftest.$ac_ext >&5 15438 cat conftest.$ac_ext >&5
15442 else echo "$ac_t""$db_h_file" 1>&6 15444 else echo "$ac_t""$db_h_file" 1>&6
15443 fi 15445 fi
15444 15446
15445 if test "$with_database_berkdb" != "no"; then 15447 if test "$with_database_berkdb" != "no"; then
15446 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
15447 echo "configure:15448: checking for Berkeley DB version" >&5 15449 echo "configure:15450: checking for Berkeley DB version" >&5
15448 cat > conftest.$ac_ext <<EOF 15450 cat > conftest.$ac_ext <<EOF
15449 #line 15450 "configure" 15451 #line 15452 "configure"
15450 #include "confdefs.h" 15452 #include "confdefs.h"
15451 #include <$db_h_file> 15453 #include <$db_h_file>
15452 #if DB_VERSION_MAJOR > 1 15454 #if DB_VERSION_MAJOR > 1
15453 yes 15455 yes
15454 #endif 15456 #endif
15456 EOF 15458 EOF
15457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15458 egrep "yes" >/dev/null 2>&1; then 15460 egrep "yes" >/dev/null 2>&1; then
15459 rm -rf conftest* 15461 rm -rf conftest*
15460 cat > conftest.$ac_ext <<EOF 15462 cat > conftest.$ac_ext <<EOF
15461 #line 15462 "configure" 15463 #line 15464 "configure"
15462 #include "confdefs.h" 15464 #include "confdefs.h"
15463 #include <$db_h_file> 15465 #include <$db_h_file>
15464 #if DB_VERSION_MAJOR > 2 15466 #if DB_VERSION_MAJOR > 2
15465 yes 15467 yes
15466 #endif 15468 #endif
15468 EOF 15470 EOF
15469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15470 egrep "yes" >/dev/null 2>&1; then 15472 egrep "yes" >/dev/null 2>&1; then
15471 rm -rf conftest* 15473 rm -rf conftest*
15472 cat > conftest.$ac_ext <<EOF 15474 cat > conftest.$ac_ext <<EOF
15473 #line 15474 "configure" 15475 #line 15476 "configure"
15474 #include "confdefs.h" 15476 #include "confdefs.h"
15475 #include <$db_h_file> 15477 #include <$db_h_file>
15476 #if DB_VERSION_MAJOR > 3 15478 #if DB_VERSION_MAJOR > 3
15477 yes 15479 yes
15478 #endif 15480 #endif
15502 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15504 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15503 fi 15505 fi
15504 rm -f conftest* 15506 rm -f conftest*
15505 15507
15506 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15508 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15507 echo "configure:15508: checking for $dbfunc" >&5 15509 echo "configure:15510: checking for $dbfunc" >&5
15508 15510
15509 cat > conftest.$ac_ext <<EOF 15511 cat > conftest.$ac_ext <<EOF
15510 #line 15511 "configure" 15512 #line 15513 "configure"
15511 #include "confdefs.h" 15513 #include "confdefs.h"
15512 /* System header to define __stub macros and hopefully few prototypes, 15514 /* System header to define __stub macros and hopefully few prototypes,
15513 which can conflict with char $dbfunc(); below. */ 15515 which can conflict with char $dbfunc(); below. */
15514 #include <assert.h> 15516 #include <assert.h>
15515 /* Override any gcc2 internal prototype to avoid an error. */ 15517 /* Override any gcc2 internal prototype to avoid an error. */
15528 $dbfunc(); 15530 $dbfunc();
15529 #endif 15531 #endif
15530 15532
15531 ; return 0; } 15533 ; return 0; }
15532 EOF 15534 EOF
15533 if { (eval echo configure:15534: \"$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
15534 rm -rf conftest* 15536 rm -rf conftest*
15535 eval "ac_cv_func_$dbfunc=yes" 15537 eval "ac_cv_func_$dbfunc=yes"
15536 else 15538 else
15537 echo "configure: failed program was:" >&5 15539 echo "configure: failed program was:" >&5
15538 cat conftest.$ac_ext >&5 15540 cat conftest.$ac_ext >&5
15547 else 15549 else
15548 echo "$ac_t""no" 1>&6 15550 echo "$ac_t""no" 1>&6
15549 15551
15550 15552
15551 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
15552 echo "configure:15553: checking for $dbfunc in -ldb" >&5 15554 echo "configure:15555: checking for $dbfunc in -ldb" >&5
15553 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15555 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15554 15556
15555 xe_check_libs=" -ldb " 15557 xe_check_libs=" -ldb "
15556 cat > conftest.$ac_ext <<EOF 15558 cat > conftest.$ac_ext <<EOF
15557 #line 15558 "configure" 15559 #line 15560 "configure"
15558 #include "confdefs.h" 15560 #include "confdefs.h"
15559 /* Override any gcc2 internal prototype to avoid an error. */ 15561 /* Override any gcc2 internal prototype to avoid an error. */
15560 /* 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
15561 builtin and then its argument prototype would still apply. */ 15563 builtin and then its argument prototype would still apply. */
15562 char $dbfunc(); 15564 char $dbfunc();
15563 15565
15564 int main() { 15566 int main() {
15565 $dbfunc() 15567 $dbfunc()
15566 ; return 0; } 15568 ; return 0; }
15567 EOF 15569 EOF
15568 if { (eval echo configure:15569: \"$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
15569 rm -rf conftest* 15571 rm -rf conftest*
15570 eval "ac_cv_lib_$ac_lib_var=yes" 15572 eval "ac_cv_lib_$ac_lib_var=yes"
15571 else 15573 else
15572 echo "configure: failed program was:" >&5 15574 echo "configure: failed program was:" >&5
15573 cat conftest.$ac_ext >&5 15575 cat conftest.$ac_ext >&5
15597 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15599 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15598 rm -f $tempcname 15600 rm -f $tempcname
15599 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15601 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15600 15602
15601 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
15602 echo "configure:15603: checking for $dbfunc in -ldb" >&5 15604 echo "configure:15605: checking for $dbfunc in -ldb" >&5
15603 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15605 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15604 15606
15605 xe_check_libs=" -ldb " 15607 xe_check_libs=" -ldb "
15606 cat > conftest.$ac_ext <<EOF 15608 cat > conftest.$ac_ext <<EOF
15607 #line 15608 "configure" 15609 #line 15610 "configure"
15608 #include "confdefs.h" 15610 #include "confdefs.h"
15609 /* Override any gcc2 internal prototype to avoid an error. */ 15611 /* Override any gcc2 internal prototype to avoid an error. */
15610 /* 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
15611 builtin and then its argument prototype would still apply. */ 15613 builtin and then its argument prototype would still apply. */
15612 char $dbfunc(); 15614 char $dbfunc();
15613 15615
15614 int main() { 15616 int main() {
15615 $dbfunc() 15617 $dbfunc()
15616 ; return 0; } 15618 ; return 0; }
15617 EOF 15619 EOF
15618 if { (eval echo configure:15619: \"$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
15619 rm -rf conftest* 15621 rm -rf conftest*
15620 eval "ac_cv_lib_$ac_lib_var=yes" 15622 eval "ac_cv_lib_$ac_lib_var=yes"
15621 else 15623 else
15622 echo "configure: failed program was:" >&5 15624 echo "configure: failed program was:" >&5
15623 cat conftest.$ac_ext >&5 15625 cat conftest.$ac_ext >&5
15672 fi 15674 fi
15673 15675
15674 if test "$with_socks" = "yes"; then 15676 if test "$with_socks" = "yes"; then
15675 15677
15676 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
15677 echo "configure:15678: checking for SOCKSinit in -lsocks" >&5 15679 echo "configure:15680: checking for SOCKSinit in -lsocks" >&5
15678 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15680 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15679 15681
15680 xe_check_libs=" -lsocks " 15682 xe_check_libs=" -lsocks "
15681 cat > conftest.$ac_ext <<EOF 15683 cat > conftest.$ac_ext <<EOF
15682 #line 15683 "configure" 15684 #line 15685 "configure"
15683 #include "confdefs.h" 15685 #include "confdefs.h"
15684 /* Override any gcc2 internal prototype to avoid an error. */ 15686 /* Override any gcc2 internal prototype to avoid an error. */
15685 /* 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
15686 builtin and then its argument prototype would still apply. */ 15688 builtin and then its argument prototype would still apply. */
15687 char SOCKSinit(); 15689 char SOCKSinit();
15688 15690
15689 int main() { 15691 int main() {
15690 SOCKSinit() 15692 SOCKSinit()
15691 ; return 0; } 15693 ; return 0; }
15692 EOF 15694 EOF
15693 if { (eval echo configure:15694: \"$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
15694 rm -rf conftest* 15696 rm -rf conftest*
15695 eval "ac_cv_lib_$ac_lib_var=yes" 15697 eval "ac_cv_lib_$ac_lib_var=yes"
15696 else 15698 else
15697 echo "configure: failed program was:" >&5 15699 echo "configure: failed program was:" >&5
15698 cat conftest.$ac_ext >&5 15700 cat conftest.$ac_ext >&5
15744 fi 15746 fi
15745 15747
15746 if test "$use_number_lib" = "gmp"; then 15748 if test "$use_number_lib" = "gmp"; then
15747 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15749 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15748 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15750 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15749 echo "configure:15750: checking for gmp.h" >&5 15751 echo "configure:15752: checking for gmp.h" >&5
15750 15752
15751 cat > conftest.$ac_ext <<EOF 15753 cat > conftest.$ac_ext <<EOF
15752 #line 15753 "configure" 15754 #line 15755 "configure"
15753 #include "confdefs.h" 15755 #include "confdefs.h"
15754 #include <gmp.h> 15756 #include <gmp.h>
15755 EOF 15757 EOF
15756 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"
15757 { (eval echo configure:15758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15759 { (eval echo configure:15760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15759 if test -z "$ac_err"; then 15761 if test -z "$ac_err"; then
15760 rm -rf conftest* 15762 rm -rf conftest*
15761 eval "ac_cv_header_$ac_safe=yes" 15763 eval "ac_cv_header_$ac_safe=yes"
15762 else 15764 else
15770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15771 echo "$ac_t""yes" 1>&6 15773 echo "$ac_t""yes" 1>&6
15772 15774
15773 15775
15774 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
15775 echo "configure:15776: checking for __gmpz_init in -lgmp" >&5 15777 echo "configure:15778: checking for __gmpz_init in -lgmp" >&5
15776 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15778 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15777 15779
15778 xe_check_libs=" -lgmp " 15780 xe_check_libs=" -lgmp "
15779 cat > conftest.$ac_ext <<EOF 15781 cat > conftest.$ac_ext <<EOF
15780 #line 15781 "configure" 15782 #line 15783 "configure"
15781 #include "confdefs.h" 15783 #include "confdefs.h"
15782 /* Override any gcc2 internal prototype to avoid an error. */ 15784 /* Override any gcc2 internal prototype to avoid an error. */
15783 /* 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
15784 builtin and then its argument prototype would still apply. */ 15786 builtin and then its argument prototype would still apply. */
15785 char __gmpz_init(); 15787 char __gmpz_init();
15786 15788
15787 int main() { 15789 int main() {
15788 __gmpz_init() 15790 __gmpz_init()
15789 ; return 0; } 15791 ; return 0; }
15790 EOF 15792 EOF
15791 if { (eval echo configure:15792: \"$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
15792 rm -rf conftest* 15794 rm -rf conftest*
15793 eval "ac_cv_lib_$ac_lib_var=yes" 15795 eval "ac_cv_lib_$ac_lib_var=yes"
15794 else 15796 else
15795 echo "configure: failed program was:" >&5 15797 echo "configure: failed program was:" >&5
15796 cat conftest.$ac_ext >&5 15798 cat conftest.$ac_ext >&5
15835 fi 15837 fi
15836 elif test "$use_number_lib" = "mp"; then 15838 elif test "$use_number_lib" = "mp"; then
15837 for library in "" "-lcrypto"; do 15839 for library in "" "-lcrypto"; do
15838 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 15840 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
15839 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 15841 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
15840 echo "configure:15841: checking for mp.h" >&5 15842 echo "configure:15843: checking for mp.h" >&5
15841 15843
15842 cat > conftest.$ac_ext <<EOF 15844 cat > conftest.$ac_ext <<EOF
15843 #line 15844 "configure" 15845 #line 15846 "configure"
15844 #include "confdefs.h" 15846 #include "confdefs.h"
15845 #include <mp.h> 15847 #include <mp.h>
15846 EOF 15848 EOF
15847 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"
15848 { (eval echo configure:15849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15850 { (eval echo configure:15851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15850 if test -z "$ac_err"; then 15852 if test -z "$ac_err"; then
15851 rm -rf conftest* 15853 rm -rf conftest*
15852 eval "ac_cv_header_$ac_safe=yes" 15854 eval "ac_cv_header_$ac_safe=yes"
15853 else 15855 else
15863 15865
15864 15866
15865 xe_msg_checking="for mp_mfree in -lmp" 15867 xe_msg_checking="for mp_mfree in -lmp"
15866 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"
15867 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15869 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15868 echo "configure:15869: checking "$xe_msg_checking"" >&5 15870 echo "configure:15871: checking "$xe_msg_checking"" >&5
15869 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 15871 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
15870 15872
15871 xe_check_libs=" -lmp $library" 15873 xe_check_libs=" -lmp $library"
15872 cat > conftest.$ac_ext <<EOF 15874 cat > conftest.$ac_ext <<EOF
15873 #line 15874 "configure" 15875 #line 15876 "configure"
15874 #include "confdefs.h" 15876 #include "confdefs.h"
15875 /* Override any gcc2 internal prototype to avoid an error. */ 15877 /* Override any gcc2 internal prototype to avoid an error. */
15876 /* 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
15877 builtin and then its argument prototype would still apply. */ 15879 builtin and then its argument prototype would still apply. */
15878 char mp_mfree(); 15880 char mp_mfree();
15879 15881
15880 int main() { 15882 int main() {
15881 mp_mfree() 15883 mp_mfree()
15882 ; return 0; } 15884 ; return 0; }
15883 EOF 15885 EOF
15884 if { (eval echo configure:15885: \"$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
15885 rm -rf conftest* 15887 rm -rf conftest*
15886 eval "ac_cv_lib_$ac_lib_var=yes" 15888 eval "ac_cv_lib_$ac_lib_var=yes"
15887 else 15889 else
15888 echo "configure: failed program was:" >&5 15890 echo "configure: failed program was:" >&5
15889 cat conftest.$ac_ext >&5 15891 cat conftest.$ac_ext >&5
15900 echo "$ac_t""no" 1>&6 15902 echo "$ac_t""no" 1>&6
15901 15903
15902 xe_msg_checking="for mfree in -lmp" 15904 xe_msg_checking="for mfree in -lmp"
15903 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"
15904 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15906 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15905 echo "configure:15906: checking "$xe_msg_checking"" >&5 15907 echo "configure:15908: checking "$xe_msg_checking"" >&5
15906 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 15908 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
15907 15909
15908 xe_check_libs=" -lmp $library" 15910 xe_check_libs=" -lmp $library"
15909 cat > conftest.$ac_ext <<EOF 15911 cat > conftest.$ac_ext <<EOF
15910 #line 15911 "configure" 15912 #line 15913 "configure"
15911 #include "confdefs.h" 15913 #include "confdefs.h"
15912 /* Override any gcc2 internal prototype to avoid an error. */ 15914 /* Override any gcc2 internal prototype to avoid an error. */
15913 /* 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
15914 builtin and then its argument prototype would still apply. */ 15916 builtin and then its argument prototype would still apply. */
15915 char mfree(); 15917 char mfree();
15916 15918
15917 int main() { 15919 int main() {
15918 mfree() 15920 mfree()
15919 ; return 0; } 15921 ; return 0; }
15920 EOF 15922 EOF
15921 if { (eval echo configure:15922: \"$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
15922 rm -rf conftest* 15924 rm -rf conftest*
15923 eval "ac_cv_lib_$ac_lib_var=yes" 15925 eval "ac_cv_lib_$ac_lib_var=yes"
15924 else 15926 else
15925 echo "configure: failed program was:" >&5 15927 echo "configure: failed program was:" >&5
15926 cat conftest.$ac_ext >&5 15928 cat conftest.$ac_ext >&5
15958 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
15959 if test "$library" != ""; then 15961 if test "$library" != ""; then
15960 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
15961 fi 15963 fi
15962 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 15964 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
15963 echo "configure:15964: checking for mp_move" >&5 15965 echo "configure:15966: checking for mp_move" >&5
15964 15966
15965 cat > conftest.$ac_ext <<EOF 15967 cat > conftest.$ac_ext <<EOF
15966 #line 15967 "configure" 15968 #line 15969 "configure"
15967 #include "confdefs.h" 15969 #include "confdefs.h"
15968 /* System header to define __stub macros and hopefully few prototypes, 15970 /* System header to define __stub macros and hopefully few prototypes,
15969 which can conflict with char mp_move(); below. */ 15971 which can conflict with char mp_move(); below. */
15970 #include <assert.h> 15972 #include <assert.h>
15971 /* Override any gcc2 internal prototype to avoid an error. */ 15973 /* Override any gcc2 internal prototype to avoid an error. */
15984 mp_move(); 15986 mp_move();
15985 #endif 15987 #endif
15986 15988
15987 ; return 0; } 15989 ; return 0; }
15988 EOF 15990 EOF
15989 if { (eval echo configure:15990: \"$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
15990 rm -rf conftest* 15992 rm -rf conftest*
15991 eval "ac_cv_func_mp_move=yes" 15993 eval "ac_cv_func_mp_move=yes"
15992 else 15994 else
15993 echo "configure: failed program was:" >&5 15995 echo "configure: failed program was:" >&5
15994 cat conftest.$ac_ext >&5 15996 cat conftest.$ac_ext >&5
16015 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
16016 if test "$library" != ""; then 16018 if test "$library" != ""; then
16017 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
16018 fi 16020 fi
16019 echo $ac_n "checking for move""... $ac_c" 1>&6 16021 echo $ac_n "checking for move""... $ac_c" 1>&6
16020 echo "configure:16021: checking for move" >&5 16022 echo "configure:16023: checking for move" >&5
16021 16023
16022 cat > conftest.$ac_ext <<EOF 16024 cat > conftest.$ac_ext <<EOF
16023 #line 16024 "configure" 16025 #line 16026 "configure"
16024 #include "confdefs.h" 16026 #include "confdefs.h"
16025 /* System header to define __stub macros and hopefully few prototypes, 16027 /* System header to define __stub macros and hopefully few prototypes,
16026 which can conflict with char move(); below. */ 16028 which can conflict with char move(); below. */
16027 #include <assert.h> 16029 #include <assert.h>
16028 /* Override any gcc2 internal prototype to avoid an error. */ 16030 /* Override any gcc2 internal prototype to avoid an error. */
16041 move(); 16043 move();
16042 #endif 16044 #endif
16043 16045
16044 ; return 0; } 16046 ; return 0; }
16045 EOF 16047 EOF
16046 if { (eval echo configure:16047: \"$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
16047 rm -rf conftest* 16049 rm -rf conftest*
16048 eval "ac_cv_func_move=yes" 16050 eval "ac_cv_func_move=yes"
16049 else 16051 else
16050 echo "configure: failed program was:" >&5 16052 echo "configure: failed program was:" >&5
16051 cat conftest.$ac_ext >&5 16053 cat conftest.$ac_ext >&5
16088 } 16090 }
16089 16091
16090 fi 16092 fi
16091 16093
16092 cat > conftest.$ac_ext <<EOF 16094 cat > conftest.$ac_ext <<EOF
16093 #line 16094 "configure" 16095 #line 16096 "configure"
16094 #include "confdefs.h" 16096 #include "confdefs.h"
16095 int main(int c,char *v[]){return 0;} 16097 int main(int c,char *v[]){return 0;}
16096 EOF 16098 EOF
16097 if { (eval echo configure:16098: \"$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
16098 then 16100 then
16099 : 16101 :
16100 else 16102 else
16101 conftest_rc="$?" 16103 conftest_rc="$?"
16102 echo "configure: failed program was:" >&5 16104 echo "configure: failed program was:" >&5